Commit graph

58492 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 1f1f0f9d55 [CONSOLE.CPL]: Fix french resource.
svn path=/branches/condrv_restructure/; revision=63855
2014-08-10 20:52:36 +00:00
Thomas Faber c38a96f98b [SYSSETUP]
- Avoid logging the administrator password
CORE-8019 #resolve

svn path=/trunk/; revision=63854
2014-08-10 19:25:52 +00:00
Thomas Faber 6af1d6e6c8 [BROWSEUI]
- CComObject cannot be a class member and must be allocated using new. Fixes invalid free.

svn path=/trunk/; revision=63853
2014-08-10 18:39:05 +00:00
Thomas Faber faf7e3ec94 [KERNEL32]
- Fix an invalid free in DefineDosDeviceW, found by kernel32_apitest:dosdev

svn path=/trunk/; revision=63852
2014-08-10 16:23:05 +00:00
Thomas Faber 39f3c7d584 [KERNEL32]
- Fix some style issues in DefineDosDevice

svn path=/trunk/; revision=63851
2014-08-10 16:20:43 +00:00
Hermès Bélusca-Maïto 7a5ce23147 [CONSOLE.CPL]: Add LBS_HASSTRINGS to font listboxes.
svn path=/branches/condrv_restructure/; revision=63850
2014-08-10 15:27:24 +00:00
Hermès Bélusca-Maïto cc85bc57af [KERNEL32][CONSRV]: Implement a basic RegisterConsoleVDM (see revision 62371 for more details).
svn path=/branches/condrv_restructure/; revision=63849
2014-08-09 19:47:40 +00:00
Hermès Bélusca-Maïto a56fcb9ae3 [NTVDM]: Studying ntvdm, we can find the significance of some of the parameters. Others seem unused.
svn path=/trunk/; revision=63848
2014-08-09 18:48:31 +00:00
Aleksandar Andrejevic de7b63edc1 [SHELL32]
- Greatly optimize file icon retrieval by reducing the times we try to access the disk.
- Store icons in a binary tree in the shell icon cache for faster retrieval.
Patch by Huw Campbell committed at the request of Giannis Adamopoulos.


svn path=/trunk/; revision=63845
2014-08-09 13:40:13 +00:00
Hermès Bélusca-Maïto f9a6eb7bc4 [NTVDM]: Add a compile-time-defined switch to be able to use the RegisterConsoleVDM API of ReactOS/Windows, or an emulated one.
svn path=/trunk/; revision=63844
2014-08-09 13:22:50 +00:00
Hermès Bélusca-Maïto 3a6aa828e4 Fix a typo.
svn path=/trunk/; revision=63843
2014-08-09 10:51:22 +00:00
Aleksandar Andrejevic 9065679ba7 [NTVDM]
Start implementing mouse support.


svn path=/trunk/; revision=63842
2014-08-09 01:39:28 +00:00
Hermès Bélusca-Maïto 636d4cf0ce [KERNEL32][CONSRV]
For WriteConsoleOutput API only!! Diagnosed with ApiMonitor from Rohitab.

If one tries to write a too large buffer (>= 80*198 CHAR_INFO cells), the CsrAllocateCaptureBuffer API helper fails, because it uses the non-growable CSR port heap of fixed size 64kB.
Since many applications use the API with large buffers (for example, Far Manager <= 1.70, the Windows XTree app http://textmode.netne.net/Extreme.html , ...) and maybe NTVDM,
Windows (and hence ReactOS for compatibility reasons) allocates a buffer in the process' heap (and not in the CSR port heap via the CSR capture API), so that the big buffer allocation
should work. Then, to be able to access it, CSR needs to call NtReadVirtualMemory for capturing the buffer.

CORE-5006 CORE-6397 CORE-8424 #resolve

svn path=/branches/condrv_restructure/; revision=63841
2014-08-08 17:06:28 +00:00
Sylvain Petreolle 8a230af1a7 [WIN32SS]
Fix new cursoricon implementation build.
Dedicated to Jim and Jérome.


svn path=/trunk/; revision=63840
2014-08-08 16:14:38 +00:00
Sylvain Petreolle 2a1a26424e [WIN32SS]
Fix trace.

svn path=/trunk/; revision=63839
2014-08-08 16:12:23 +00:00
Sylvain Petreolle 5db0452e0a [WIN32K]
Formatting only.

svn path=/trunk/; revision=63838
2014-08-08 16:04:08 +00:00
Jérôme Gardou b51defb8ad [CMAKE]
- separate the custom target and the custom command generating reactos.cab, so that it isn't regenerated each time a bootcd is built
Note to make user: I tried a hack so that the sequence 'make module/fast reactos_cab/fast bootcd/fast' still works, but this is untested. Please use ninja if you really want fast dependency resolution.

svn path=/trunk/; revision=63837
2014-08-07 18:20:46 +00:00
Jérôme Gardou 16623e02fa [CHARMAP]
- Correctly include local header

svn path=/trunk/; revision=63835
2014-08-07 15:19:32 +00:00
Hermès Bélusca-Maïto fe54ef7132 Second partial merge of the condrv_restructure branch, including additions from revisions 63818, 63819, 63820 and 63831.
CORE-7931 #comment Second partial merge of the condrv_restructure branch in revision 63834.

svn path=/trunk/; revision=63834
2014-08-07 13:16:49 +00:00
Thomas Faber 9665943699 [NTOS:OB]
- Mark object types as not having ObjectCreateInfo on creation. Otherwise ObpObjectType's TypeList gets corrupted when a handle to an object type is created (as kmtest:ObTypes does) and ObpIncrementHandleCount tries to insert the list entry a second time.
CORE-8423 #resolve

svn path=/trunk/; revision=63833
2014-08-07 13:02:59 +00:00
Hermès Bélusca-Maïto 277e3473c4 Sync with trunk r63831.
svn path=/branches/condrv_restructure/; revision=63832
2014-08-07 12:54:03 +00:00
Hermès Bélusca-Maïto 18897fd933 [CONSRV]: Add a DPRINT for diagnostics purposes...
svn path=/branches/condrv_restructure/; revision=63831
2014-08-07 12:36:40 +00:00
Jérôme Gardou f401f23683 [WIN32K]
- Among a thousand ways to screw a commit, choose dysxelia

svn path=/trunk/; revision=63830
2014-08-07 11:08:06 +00:00
Jérôme Gardou 807552142f [WIN32K]
- Among a thousand ways to loop over a list, choose the simple one.

svn path=/trunk/; revision=63829
2014-08-07 10:59:54 +00:00
Jérôme Gardou ca61361ff8 [NDK]
- Correct definition of SECTION_OBJECT

svn path=/trunk/; revision=63828
2014-08-07 10:59:48 +00:00
Thomas Faber 9ae009c260 [NPFS]
- Avoid magic values, remove a few casts and don't name an IO_STATUS_BLOCK Status. No code changes.

svn path=/trunk/; revision=63827
2014-08-07 10:24:07 +00:00
Thomas Faber beb99d9992 [NPFS]
- Base data queue entry on the right struct member in NpCompleteStalledWrites. Fixes list entry corruption found in CORE-8419.

svn path=/trunk/; revision=63826
2014-08-07 10:10:02 +00:00
Thomas Faber 6d3abb68c2 [NTOS:OB]
- Use ObpTypeObjectType's lock when modifying object type global properties, not the new object type's
- Correctly free string returned by RtlUnicodeStringToAnsiString

svn path=/trunk/; revision=63825
2014-08-07 00:16:21 +00:00
Dmitry Gorbachev 1f60ce121c [EXPLORER]
Use -Wno-error option when building with link-time optimization.

[BROWSEUI]
"Fix" multiple definition of (non-virtual thunk to) QueryInterface errors. 
Binutils linker bug.

svn path=/trunk/; revision=63824
2014-08-06 23:10:17 +00:00
Dmitry Gorbachev ddf5ed131e [NTOSKRNL][PSEH3]
- Add inline asm dependencies to fix undefined reference errors when 
building with link-time optimization.
- Improve formatting.
- No functional changes.

svn path=/trunk/; revision=63823
2014-08-06 23:10:08 +00:00
Jérôme Gardou 9b201b7180 [NTOS/MM]
- Call the right delete routine for ARM3 section object
 - Properly free the pages of pagefile-backed segments when those are deleted
 - Put the right assert at the right place in MmUnlinkPageFromList
 - Remove DPRINT from previous commit which is interesting but noisy

svn path=/trunk/; revision=63822
2014-08-06 21:53:57 +00:00
Jérôme Gardou 9aec0d47eb [NTOS/MM]
- Implement MiResolvePageFileFault
 - Add a debug print showing how many ARM3 pages could be used by the balancer

svn path=/trunk/; revision=63821
2014-08-06 21:53:09 +00:00
Hermès Bélusca-Maïto 7a1f204af1 [KERNEL32][CONSRV]
- Fix FreeConsole API.
- Implement undocumented GetConsoleKeyboardLayoutNameA/W API (same usage as GetKeyboardLayoutName), needed for ConEmu.
  See some examples here: http://www.opensource.apple.com/source/vim/vim-44/src/os_win32.c , and there: 700bab23f2/lswitch.c

CORE-7931 #comment ConsolepFree fixed in revision 63820.

svn path=/branches/condrv_restructure/; revision=63820
2014-08-06 21:01:23 +00:00
Hermès Bélusca-Maïto e4f44047b6 [CONSOLE][CONSRV]
- Implement the undocumented WM_SETCONSOLEINFO window message (the equivalent of our PM_APPLY_CONSOLE_INFO), sent
  by the Windows' console control panel applet console.dll, when applying new console settings to the current opened console
  (and its associated data structure CONSOLE_STATE_INFO).
  This is used by the FAR plugin MinCE by Andrew Grechkin (see http://code.google.com/p/andrew-grechkin/source/browse/trunk/MinCE/src/setconsoleinfo.cpp for example)
- Convert GUI_CONSOLE_INFO::FontSize to COORD, as it should be.

See: http://www.catch22.net/sites/default/source/files/setconsoleinfo.c and http://www.scn.rain.com/~neighorn/PDF/MSBugPaper.pdf for more information.

svn path=/branches/condrv_restructure/; revision=63819
2014-08-06 20:49:10 +00:00
Hermès Bélusca-Maïto 04934ee092 [KENREL32]: Silent few DPRINTs.
svn path=/branches/condrv_restructure/; revision=63818
2014-08-06 20:30:24 +00:00
Daniel Reimer 3cfcb20668 [SPIDER]
CORE-8409 #resolve #comment Solution in the middle makes Spider look nice in ROS and not like a stamp AND it fits on 800x600. 640x480 won't be fixed, because having overlapped cards is NO fix, it's plain ugly.

svn path=/trunk/; revision=63817
2014-08-06 12:13:45 +00:00
Daniel Reimer c0824cc55a [SPIDER]
Optimize borders and space to the window frame even more. Hopefully fixes spider being too big for 800x600 problem.
CORE-8409 #comment Committed a "fix", please retest.

svn path=/trunk/; revision=63816
2014-08-06 11:24:31 +00:00
Daniel Reimer ef62eee2fb [WINED3DCFG]
PATCH: dialog resource correction for wined3dcfg by Stefan Fuela
CORE-8386 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63815
2014-08-06 10:09:46 +00:00
Daniel Reimer 5f620cc135 [RAPPS]
(for database) Many Improvements and Many Fixes by Erdem Ersoy
+ USETUP translation from Bug 7861.
CORE-7710 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63814
2014-08-06 10:05:38 +00:00
Daniel Reimer 37e845d0dd [TRANSLATION]
Turkish Translation Update by Erdem Ersoy
CORE-7861 #resolve #comment You are crazy fast in translating... Commited, thx ^^

svn path=/trunk/; revision=63813
2014-08-06 09:54:57 +00:00
Thomas Faber bd99a30a5c [NTOS:IO]
- Fail with the correct status code if MDL allocation fails
CORE-8410

svn path=/trunk/; revision=63812
2014-08-05 18:47:25 +00:00
Hermès Bélusca-Maïto d772498800 Partial merge of the condrv_restructure branch, including:
- some consrv/condrv code refactoring for a better code separation,
- make kernel32 / winsrv console CSR structures Win2k3-compliant (see CORE-7931); only Alloc/Attach/FreeConsole APIs are still not Win2k3-compliant.
- fixes for CsrCaptureMessageString and implementation of CsrCaptureMessageMultiUnicodeStringsInPlace .

CORE-7931 #comment Partial merge of the condrv_restructure branch in revision 63810.

svn path=/trunk/; revision=63810
2014-08-04 21:33:20 +00:00
Hermès Bélusca-Maïto 58f976d27f [CONDRV]: Quick fix for ASCII strings for ConDrvWriteConsoleOutputString.
[CONSRV]: Commit something forgotten from previous revision.

svn path=/branches/condrv_restructure/; revision=63808
2014-08-04 21:09:46 +00:00
Hermès Bélusca-Maïto 549abbaf91 [KERNEL32]: Remove some FASTCALL.
svn path=/branches/condrv_restructure/; revision=63807
2014-08-04 20:25:34 +00:00
Hermès Bélusca-Maïto 2c404d180a [CONSRV]
- Few code reshuffling before more restructuration.
- Some type fixes.

svn path=/branches/condrv_restructure/; revision=63806
2014-08-04 20:23:33 +00:00
Hermès Bélusca-Maïto d3043d040d [CONSRV]: Cosmetic changes only.
svn path=/branches/condrv_restructure/; revision=63805
2014-08-04 17:53:00 +00:00
Hermès Bélusca-Maïto e3a5ed0e2b [KERNEL32][CONSRV]
Fix few MSVC dword -> short warnings (basically). Thanks GCC for not having noticed them...

svn path=/branches/condrv_restructure/; revision=63804
2014-08-04 17:13:43 +00:00
Hermès Bélusca-Maïto 9fd5cfb5f8 [KERNEL32]
Add a bunch of missing _SEH_YIELD in 'return' clues in _SEH_TRY clauses.

[KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsoleOutput functions.
The last missing ones are Alloc/Attach/FreeConsole APIs!!

Part 9/10

CORE-7931

svn path=/branches/condrv_restructure/; revision=63803
2014-08-04 16:25:12 +00:00
Jérôme Gardou 86bb7a74ca [WIN32K]
- Properly mark the DC as containing direty region when copying a new clip region

svn path=/trunk/; revision=63802
2014-08-04 15:58:53 +00:00
Hermès Bélusca-Maïto e9c6ccbd0f [CONSRV]
Fix memory section protection flag, that made console settings application fail since some recent work on virtual memory...

svn path=/branches/condrv_restructure/; revision=63801
2014-08-04 14:36:26 +00:00