#
5d3915d0 |
| 29-Jan-2022 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONCFG:FONT][CONSRV] Use a suitable font when changing console output CP; fail if none found. (#4337)
CORE-12451, CORE-17601, CORE-17803 Replaces PR #4281.
When changing the console output code pa
[CONCFG:FONT][CONSRV] Use a suitable font when changing console output CP; fail if none found. (#4337)
CORE-12451, CORE-17601, CORE-17803 Replaces PR #4281.
When changing the console output code page, check whether the current font can support it. If not, try to find a suitable font for the new code page. If none can be found:
- if we are creating a new console, forcefully switch to codepage 437 (OEM USA) and retry finding a font, falling back to "Terminal" if none could be found;
- if we were just changing the current CP, just fail and keep the old code page and font.
Rework the console font selection/creation functions for this new job (see CreateConsoleFontEx() and friends). Elements of implementation based from https://github.com/microsoft/terminal ; see code for more information.
Silence the noisy IsValidConsoleFont2() diagnostic messages.
Add Doxygen documentation.
[CONSOLE.CPL] Only add "Terminal" to the enumerated list of faces + add a TODO implementation comment.
show more ...
|
#
38f6fd9d |
| 28-Jan-2022 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONSOLE.CPL] Fix problems detected by code analysis.
colors.c(129): warning C6287: Redundant code: the left and right sub-expressions are identical.
colors.c(159): warning C6001: Using uninitializ
[CONSOLE.CPL] Fix problems detected by code analysis.
colors.c(129): warning C6287: Redundant code: the left and right sub-expressions are identical.
colors.c(159): warning C6001: Using uninitialized memory 'colorIndex'. colors.c(180): warning C6385: Reading invalid data from 'ConInfo->ColorTable': the readable size is '64' bytes, but '259696' bytes may be read. (I thank ThFabba for the suggestion fix.)
console.c(313): warning C6387: 'ConInfo->hWnd' could be '0': this does not adhere to the specification for the function 'SendMessageW'.
font.c(60): warning C6387: 'Preview->hFont' could be '0': this does not adhere to the specification for the function 'GetFontCellSize'. font.c(230): warning C6001: Using uninitialized memory 'szFontSize'. font.c(230): warning C6054: String 'szFontSize' might not be zero-terminated. font.c(671): warning C6387: 'hFont' could be '0': this does not adhere to the specification for the function 'GetFontCellSize'.
layout.c(502): warning C6387: 'FontPreview.hFont' could be '0': this does not adhere to the specification for the function 'SelectObject'.
show more ...
|
#
0e5496d0 |
| 29-Jan-2022 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONSOLE.CPL] Add missing/fix some SendMessageW result casts.
|
#
446eb609 |
| 28-Jan-2022 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONSOLE.CPL] Update faces/fonts list on Fonts page activation, when the current code page has changed.
|
Revision tags: 0.4.14-release, 0.4.15-dev, 0.4.14-RC, 0.4.13-release, 0.4.14-dev, 0.4.13-RC, 0.4.12-release |
|
#
c4e2826c |
| 19-May-2019 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONSOLE][CONCFG][CONSRV] Provide support for specified additional TrueType fonts + bugfixes. CORE-12451 CORE-13182 CORE-13196
- CONSOLE: Initialize the additional TrueType fonts cache. * Fix the
[CONSOLE][CONCFG][CONSRV] Provide support for specified additional TrueType fonts + bugfixes. CORE-12451 CORE-13182 CORE-13196
- CONSOLE: Initialize the additional TrueType fonts cache. * Fix the font preview when a TrueType font has been selected. * Refresh the available fonts and the font preview when the selected code page is changed (Work In Progress), or when the OS pool of font resources has changed (WM_FONTCHANGE message).
- CONCFG: Implement support for the additional TrueType fonts cache: the contents of the cache is enumerated under the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont
* Add helper functions and macros. * In CreateConsoleFontEx(), set the mandatory font pitch&family flags and remove those that we do not support. * In IsValidConsoleFont2(), update the validity checks and the documentation links.
- CONSRV: Load/refresh the additional TrueType fonts cache when needed.
show more ...
|
#
2ebda0e3 |
| 04-May-2019 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONSOLE.CPL] Fix the console screen preview when selecting TrueType fonts. CORE-13182 CORE-13196
- Use the correct character height & width. - Additions: use StringCch*() when initializing the dial
[CONSOLE.CPL] Fix the console screen preview when selecting TrueType fonts. CORE-13182 CORE-13196
- Use the correct character height & width. - Additions: use StringCch*() when initializing the dialog title.
[CONSRV:CONCFG] Minor fixes.
- When retrieving font characteristics in ConCfgReadUserSettings(), check for NULL/zero values that indicate that we should use default ones instead. - Rename 'dwNumSubKeys' into 'dwNumValues'.
show more ...
|
Revision tags: 0.4.12-RC, 0.4.13-dev, 0.4.11-release, 0.4.11-RC, 0.4.12-dev, 0.4.10-release, 0.4.11-dev, 0.4.10-RC, 0.4.9-release, 0.4.10-dev, 0.4.9-RC, 0.4.8-release, 0.4.8-RC, 0.4.9-dev, 0.4.7-release, v0.4.7, 0.4.8-dev, 0.4.7-rc1 |
|
#
c2c66aff |
| 03-Oct-2017 |
Colin Finck <colin@reactos.org> |
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
|
Revision tags: backups/GSoC_2017/rapps@75905, ReactOS-0.4.6, backups/ros-branch-0_4_6@75728, 0.4.7-dev, ReactOS-0.4.5, backups/ros-branch-0_4_5@74569, ReactOS-0.4.4-CLT2017, backups/ReactOS-0.4.4-CLT2017@74182, ReactOS-0.4.4, backups/ros-branch-0_4_4@74002, ReactOS-0.4.4-FOSDEM2017, backups/ReactOS-0.4.4-FOSDEM2017@73667, ReactOS-0.4.3, backups/ros-branch-0_4_3@73437, backups/sndblst@72664, ReactOS-0.4.2, backups/ros-branch-0_4_2@73087, ReactOS-0.4.1, backups/ros-branch-0_4_1@71718 |
|
#
321bcc05 |
| 24-Apr-2016 |
Pierre Schweitzer <pierre@reactos.org> |
Create the AHCI branch for Aman's work
svn path=/branches/GSoC_2016/AHCI/; revision=71203
|
Revision tags: ReactOS-0.4.0-CLT2016, backups/ReactOS-0.4.0-CLT2016@71719, ReactOS-0.4.0-FOSDEM2016, backups/ReactOS-0.4.0-FOSDEM2016@70667, ReactOS-0.4.0, backups/ros-branch-0_4_0@70757, backups/colins-printing-for-freedom@73041, ReactOS-0.3.17-CLT2015, backups/ReactOS-0.3.17-CLT2015@66843, ReactOS-0.3.17, ReactOS-0.3.17-FOSDEM2015, backups/ReactOS-0.3.17-FOSDEM2015@66122, backups/shell-experiments@75904, backups/tcpip_revolution@71025, backups/0.3.17@66124 |
|
#
9fc83960 |
| 15-Aug-2014 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONSOLE.CPL][CONSRV]: Font fix n°1: correctly use the font size (for TT fonts only, at the moment).
svn path=/branches/condrv_restructure/; revision=63896
|
#
810048d9 |
| 13-Aug-2014 |
David Quintana <gigaherz@gmail.com> |
Sync with trunk r63878.
svn path=/branches/shell-experiments/; revision=63879
|
#
23f16979 |
| 11-Aug-2014 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONSOLE.CPL][CONSRV] - Remove the unuseful UseRasterFonts member in console properties structure. - Fix my FontSize.X / FontSize.Y mixing (X is width, Y is height) that I introduced in revision 6381
[CONSOLE.CPL][CONSRV] - Remove the unuseful UseRasterFonts member in console properties structure. - Fix my FontSize.X / FontSize.Y mixing (X is width, Y is height) that I introduced in revision 63819. - We are now able to change the console font via the console props control panel applet (work in progress, but it works!)
svn path=/branches/condrv_restructure/; revision=63863
show more ...
|
Revision tags: backups/ros-branch-0_3_16-clt2014@63729 |
|
#
b819608e |
| 02-May-2014 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
Create a branch for console restructuration work.
svn path=/branches/condrv_restructure/; revision=63104
|
Revision tags: ReactOS-0.3.16-CLT2014, ReactOS-0.3.16, backups/ReactOS-0.3.16@62476 |
|
#
527f2f90 |
| 02-Feb-2014 |
Amine Khaldi <amine.khaldi@reactos.org> |
[SHELL/EXPERIMENTS] * Create a branch for some evul shell experiments.
svn path=/branches/shell-experiments/; revision=61927
|
Revision tags: backups/vs_jc@60583, backups/vs_jc@59301 |
|
#
4f0b8d3d |
| 16-Jun-2013 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
|
Revision tags: ReactOS-0.3.15-LT2013, backups/ros-branch-0_3_15-lt2013@59304, ReactOS-0.3.15, backups/ReactOS-0.3.15@59303 |
|
#
e1ef0787 |
| 28-Apr-2013 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.
The idea then woul
Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line):
/DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible. /DEBUGPORT=FOO --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...) /DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port.
svn path=/branches/kd++/; revision=58883
show more ...
|
Revision tags: backups/ros-csrss@60644 |
|
#
f6f20487 |
| 01-Apr-2013 |
Ziliang Guo <drakekaizer666@gmail.com> |
Branching for 0.3.15 release after two days of no response from a certain sphere of plasma.
svn path=/branches/ReactOS-0.3.15/; revision=58636
|
#
53eba1ba |
| 24-Mar-2013 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONSOLE.DLL-CONSRV] - Further separate properties of the GUI terminal front-end and those independent of the UI. - Fix some console initialization steps.
svn path=/branches/ros-csrss/; revision=586
[CONSOLE.DLL-CONSRV] - Further separate properties of the GUI terminal front-end and those independent of the UI. - Fix some console initialization steps.
svn path=/branches/ros-csrss/; revision=58605
show more ...
|
#
28842d99 |
| 03-Mar-2013 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
[CONSOLE.DLL-KERNEL32-CONSRV] Fix the console properties dialog, when launching and transmitting console properties. Before, the properties dialog was directly launched by the console server (consrv)
[CONSOLE.DLL-KERNEL32-CONSRV] Fix the console properties dialog, when launching and transmitting console properties. Before, the properties dialog was directly launched by the console server (consrv), running with CSRSS (System) privileges, what constituted a security hole. Now, I create a remote thread in the running process owning the console for launching the properties dialog (thus it has only user privileges, and not System ones anymore). For that purpose, I basically took the technique described in the following paper (Cesar Cerrudo, "Story of a dumb patch", http://www.argeniss.com/research/MSBugPaper.pdf or http://www.scn.rain.com/~neighorn/PDF/MSBugPaper.pdf), where basically the console server shares the console properties via a shared memory section with the console properties dialog dll. The address of the thread which launches the dialog in the context of the console app is given to the console server the same way as we do for the control handler (called e.g. when you press Ctrl-C, etc...) Of course this is quite hackish, because you have the GUI interface split between the console server and the console properties dialog dll. Something far more elegant would be to put all the GUI thingie into a dedicated dll or exe, running with the same privileges as the console program itself (a kind of console -- or terminal -- emulator).
[CONSOLE.DLL] Fix retriving / setting colors.c and other things.
[CONSRV.DLL] - Fix retrieving / setting console properties from the registry (via the HKCU\Console\* keys), via the shell shortcuts (not totally done at the moment, because somebody has to implement properly that thing : http://msdn.microsoft.com/en-us/library/windows/desktop/bb773359(v=vs.85).aspx (NT_CONSOLE_PROPS structure stored as a shortcut data block) (at application launching time), and via the console properties dialog. - Few DPRINTs removed.
svn path=/branches/ros-csrss/; revision=58415
show more ...
|
#
65ce1461 |
| 14-Oct-2012 |
Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> |
Create a branch for working on csrss and co.
svn path=/branches/ros-csrss/; revision=57561
|
Revision tags: backups/ros-csrss@57560, ReactOS-0.3.14-CLT2012, backups/ros-branch-0_3_14-clt2012@56146, backups/c++-bringup@56084, backups/c++-bringup@60583, backups/usb-bringup-trunk@60667, ReactOS-0.3.14, backups/ros-branch-0_3_14@55492 |
|
#
c2d0d784 |
| 20-Jan-2012 |
Cameron Gutman <aicommander@gmail.com> |
[USB-BRINGUP-TRUNK] - Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This lead
[USB-BRINGUP-TRUNK] - Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!
svn path=/branches/usb-bringup-trunk/; revision=55018
show more ...
|
#
60eea2d7 |
| 19-Jan-2012 |
Amine Khaldi <amine.khaldi@reactos.org> |
* Branch for the 0.3.14 release.
svn path=/branches/ros-branch-0_3_14/; revision=55011
|
Revision tags: backups/wlan-bringup@60693, backups/usb-bringup@55523 |
|
#
2b82fe44 |
| 02-Jan-2012 |
Cameron Gutman <aicommander@gmail.com> |
[WLAN-BRINGUP] - Create a branch to drop my ndisuio work
svn path=/branches/wlan-bringup/; revision=54809
|
Revision tags: backups/iut-netsh@54410, backups/icu4ros-bringup@60647, backups/shell32_new-bringup@60646, backups/reactx@60648, backups/GSoC_2011/KMTestSuite@60644, backups/GSoC_2011/TcpIpDriver@60644, backups/cmake-bringup@60644, backups/ros-amd64-bringup@60669, backups/nyadav-audio-branch@60647 |
|
#
4019caae |
| 24-May-2011 |
Ged Murphy <gedmurphy@reactos.org> |
This really needs to go in a branch. It needs heavy testing and can't coincide with the current shell32 due to PSDK interface changes
svn path=/branches/shell32_new-bringup/; revision=51893
|
Revision tags: backups/GSoC_2011/GSoC_Network@51549, backups/GSoC_2011/GSoC_TcpIpDriver@51551, backups/GSoC_Network@51547, backups/audio-bringup@61036, backups/nyadav-audio-branch@51231, ReactOS-0.3.13-CLT2011, backups/ros-branch-0_3_13-clt2011@51081, ReactOS-0.3.13, backups/ros-branch-0_3_13@51071, backups/GSoC_2011/GSoC_Themes@51550, backups/GSoC_Themes@51548, backups/ros-branch-0_3_13@51035, backups/baikalnet@57446 |
|
#
5eb25b5c |
| 05-Nov-2010 |
Timo Kreuzer <timo.kreuzer@reactos.org> |
Create a branch for audio work
svn path=/branches/audio-bringup/; revision=49478
|
Revision tags: backups/tcp-rewrite-branch@60668, backups/reactos-yarotows@57446, ReactOS-0.3.12, backups/ros-branch-0_3_12@49215, backups/reactx@49912 |
|
#
25720d75 |
| 07-Sep-2010 |
Cameron Gutman <aicommander@gmail.com> |
Create a branch for work on porting an alternate TCP library with the main focus on stability
svn path=/branches/tcp-rewrite-branch/; revision=48714
|