Commit graph

64871 commits

Author SHA1 Message Date
Timo Kreuzer 385bbababc [NTOS/KDBK]
Fix the value for EIP used by KDBG after an INT3 set by KDBG itself. The address is already fixed by KiDispatchException, but only in the context frame, not in the trap frame and KDBG insists to use the trap frame for a lot of things. Also, after a cont from such an int3, KDBG uses a single step to re-enable the breakpoint (it needs to disable it after it was hit to be able to execute the actual instruction), but it used to dismiss *any* single steps after that. So make sure, that an actual single step, as created by the debugger is not being dismissed, but the break point is still restored after the next single step entry. You might expect that a kernel debugger would at least support setting breakpoints, but this is KDBG.

svn path=/trunk/; revision=70416
2015-12-23 22:38:46 +00:00
Ged Murphy 98a34bceb7 [FLTMGR]
- Change the start type to demand. 
- Should stop free loader from throwing a tantrum because it can't load a non-existant boot driver

svn path=/trunk/; revision=70414
2015-12-23 16:29:33 +00:00
Hermès Bélusca-Maïto 07f2fe8cb5 [XDK]
Correctly fix the definition of DRIVER_FS_NOTIFICATION (done the same way as the other DRIVER_xxx "callback" functions; by the way you'll notice they are all NTAPI aka. __stdcall. This is not explicitely mentioned in the W(D)DK, because MS supposes you compile all your kernel-mode code in stdcall convention, the WDK environment coming with preset default compiler switches enabling that. But if you try changing them, you'll run into big troubles. In our headers on the contrary we explicitely mention the calling conventions).

[FLTMGR]
Fix FltpFsNotification to adhere to the correct DRIVER_FS_NOTIFICATION definition.

Addendum to r70410.

svn path=/trunk/; revision=70413
2015-12-23 16:15:08 +00:00
Timo Kreuzer 88d5b185b0 [WIN32K]
Pass cjMaxBits parameter from GreCreateDIBitmapInternal to IntCreateDIBitmap and check the image size before creating the bitmap.
Should fix crash when hitting about tab in Office2000 WinWord.
CORE-10583 #comment please retest

svn path=/trunk/; revision=70412
2015-12-23 14:55:34 +00:00
Ged Murphy 251805da99 [FLTMGR]
- Add the service key

svn path=/trunk/; revision=70411
2015-12-23 14:55:17 +00:00
Ged Murphy d75c6beffe [XDK]
- hackfix just DRIVER_FS_NOTIFICATION until we decide how we want to declare them
- Should fix build

svn path=/trunk/; revision=70410
2015-12-23 14:45:15 +00:00
Ged Murphy 9b329d580d [FLTMGR]
- Add the beginning of the fltmgr. It's called rosfltmgr for now so I can test in Windows.
- It's currently just base code  which registers for file systems appearing (or disappearing), and attaches itself to them and all other mounted devices in their chain.
- Although it builds (touch wood), don't add it to a running system. The IRPs aren't plugged in yet and it'll just bugcheck lower down the stack.

svn path=/trunk/; revision=70409
2015-12-23 14:41:05 +00:00
Ged Murphy 645acc270a [NTOSKRNL]
- Raise the IRQL when enumerating device lists so it doesn't get edited mid-listing
- Don't hardcode the pointer size when checking the buffer size

svn path=/trunk/; revision=70408
2015-12-23 11:26:28 +00:00
Timo Kreuzer cf2573f733 [FREELDR/AMD64]
Save parameter registers (rcx, rdx) before calling CallRealMode. Patch by andy-123, applied to a secondary location by me.
CORE-10511 #resolve #comment Thanks. I added the same fix to PnpBiosGet below.

svn path=/trunk/; revision=70407
2015-12-21 19:36:10 +00:00
Eric Kohl 03e066f2f1 [USERENV]
Hack, that fixes the "Volatile Environment" bug by deleting the "Volatile Environment" key before the user hive is unloaded.
CORE-10705

svn path=/trunk/; revision=70406
2015-12-20 22:30:51 +00:00
Hermès Bélusca-Maïto 716992c8c7 [KDCOM]
Do not use the "LoaderBlock->u.I386.CommonDataArea;" hack to use FreeLdr's DbgPrint function inside KDCOM, for the simple reason that while it works when KDCOM just initializes, the memory area where FreeLdr's DbgPrint function is, gets erased when ReactOS is running. As a result, all attempts to call the DbgPrint function when tracing something in KDCOM at the end of life of ReactOS, just fails lamentably (it hangs).
We therefore cannot rely on external code to provide us with DbgPrint. Instead, implement a very simple DbgPrint function inside KDCOM, as done by KDGDB.
The KD serial port serving for debugging KDCOM is chosen dynamically amongst the other free COM ports.

This needs to be also fixed in KDVM.

[KDGDB]
Instead of hardcoding the KD serial port number serving for debugging KDGDB, determine it dynamically amongst the other free COM ports.

svn path=/trunk/; revision=70405
2015-12-20 16:21:59 +00:00
Hermès Bélusca-Maïto 38814b24c9 [NTOS:KDBG]: Sync back the code that I copied in FreeLdr (r70403) for COM port selection.
svn path=/trunk/; revision=70404
2015-12-20 02:53:30 +00:00
Hermès Bélusca-Maïto 7642306ded [FREELDR]
- Allow to specify in freeldr.ini the debugging port parameters, similarly to what NTLDR allows to do: http://naesten.blogspot.fr/2010/07/undocumented-debug-section-in-bootini.html
- Update the FREELDR.INI example file to reflect these changes.
- Because some FreeLdr components, that need to be initialized before the debugging port parameters can be read from freeldr.ini, use debugging features, we still need to choose some default parameters. For serial ports, we select the possible port starting from COM4 down to COM1.

CORE-9023 #comment Revision 70403: Allow to specify a debugging port in freeldr.ini .

svn path=/trunk/; revision=70403
2015-12-20 02:06:40 +00:00
Eric Kohl 46c7cd186e [REGEDIT]
When the root item in the treeview is selected, remove all items from the listview and wipe the address bar and status bar.

svn path=/trunk/; revision=70402
2015-12-19 19:18:21 +00:00
Eric Kohl c6356f2a1a [BOOTDATA]
Remove obsolete default user locale values. They are now set by the 2nd stage installer.
#CORE-5989 #resolve

svn path=/trunk/; revision=70400
2015-12-19 08:57:56 +00:00
Hermès Bélusca-Maïto f58cb5b81c [SHELL32]: Tray ToolTips: use the correct buffer size for when calling MultiByteToWideChar. Addendum to r70360. CORE-10497
svn path=/trunk/; revision=70399
2015-12-19 01:08:11 +00:00
Eric Kohl 13fbf3250a [USETUP]
Set the default user locale after registry setup.
#CORE-5989 #comment Please retest!

svn path=/trunk/; revision=70398
2015-12-18 21:36:16 +00:00
Aleksey Bragin 5570ee8746 [RTL]
- Improve implementation of RtlActivateActivationContextUnsafeFast / RtlDeactivateActivationContextUnsafeFast by replace magic numbers by flag values, which are already defined in rtltypes.h, and adding various debugging checks. Two of them are triggered for yet unknown reason:
 * Assert in RtlActivateActivationContextUnsafeFast
 * "Trying to activate already activated activation context"
They are commented out in trunk not to annoy everyone.

svn path=/trunk/; revision=70396
2015-12-18 14:58:32 +00:00
Robert Naumann 4a491c30ab [MSPAINT] Fix some English strings, to match Windows behaviour. Patch by Henry Tang Ih CORE-10716
svn path=/trunk/; revision=70395
2015-12-18 12:31:57 +00:00
Robert Naumann d50e0e8b5d [LOGON.SCR] - improve the bitmaps
- remove the enterprise part (we are ReactOS and only ReactOS)
- Add an Application icon

svn path=/trunk/; revision=70394
2015-12-18 12:29:01 +00:00
Hermès Bélusca-Maïto 7e607b9fb8 [DBGHELP][RTL]
Fix usage of VirtualSize wrt. SizeOfRawData.
CORE-10523
CORE-9548 #comment Please retest with revision >= 70390

svn path=/trunk/; revision=70390
2015-12-17 23:10:56 +00:00
Eric Kohl 382ea14238 [SYSSETUP]
Initialize the defauls users locale settings based on the selected locale Id from first stage setup.
#CORE-5989 #resolve

svn path=/trunk/; revision=70389
2015-12-17 22:22:16 +00:00
Timo Kreuzer fd01add9cf [WIN32K]
Fix bugs in pen implementation:
- Do not use the x coordinate to adjust styles, instead they start where the lines start
- Don't leak allocated styles
- Make sure the PEN fields are initialized correctly, even for BRUSHES, so that the destructor can do it's cleanup work
- Fix numerous parameter checks
gdi32_apitest:pen now shows 0 failures!

svn path=/trunk/; revision=70388
2015-12-17 22:05:06 +00:00
Timo Kreuzer 0f8f2f51ce [WIN32K]
Implement support for styled lines.
CORE-9984 #resolve

svn path=/trunk/; revision=70387
2015-12-17 17:44:42 +00:00
Robert Naumann d91023fb28 [HIVECLS] Add bmp images to the shell "new" menu. Patch by Jared Smudde CORE-10668
svn path=/trunk/; revision=70385
2015-12-17 14:23:21 +00:00
Robert Naumann 647ded523c [RUNDLL32] Add an icon. Patch by Jared Smudde. CORE-10669
svn path=/trunk/; revision=70384
2015-12-17 14:10:18 +00:00
Amine Khaldi d8fcc9875c [TRANSLATIONS] Traditional Chinese translation update by Henry Tang Ih. CORE-10655
svn path=/trunk/; revision=70381
2015-12-17 11:10:00 +00:00
Eric Kohl 93d31d0934 [NETCFGX]
Implement INetCfgPnpReconfigCallback stub.

svn path=/trunk/; revision=70379
2015-12-17 09:32:10 +00:00
Hermès Bélusca-Maïto 01f08ca699 Forgot this one...
svn path=/trunk/; revision=70378
2015-12-17 02:37:34 +00:00
Hermès Bélusca-Maïto 733b02b4ea [SYSDM]: Fix translations.
svn path=/trunk/; revision=70377
2015-12-17 02:36:38 +00:00
Hermès Bélusca-Maïto 5357781bfe [BROWSEUI]
- Add french translation (not complete, but enough for now: only what can be currently displayed is translated).
- Don't hardcode the "History" item in the travel-log, but use the localized string. Use the hardcoded string *only* if loading the translation failed.

svn path=/trunk/; revision=70376
2015-12-17 02:02:16 +00:00
Hermès Bélusca-Maïto ab2976569f Update few french translations.
svn path=/trunk/; revision=70375
2015-12-17 00:24:28 +00:00
Hermès Bélusca-Maïto b34568e9f6 [NTOS]: Fix comments only, no code changes.
svn path=/trunk/; revision=70374
2015-12-16 23:53:51 +00:00
Hermès Bélusca-Maïto b555d0cffe [REGEDIT]
Fix hebrew "registry editor" translation.

[SHORTCUTS.INF]
Fix regedit shortcut name (localize it instead of using "regedit")

svn path=/trunk/; revision=70373
2015-12-16 23:50:56 +00:00
Amine Khaldi 90093639de [BOOTDATA] Default to wallpaper expanding. By Hermès BÉLUSCA - MAÏTO. CORE-10709
svn path=/trunk/; revision=70369
2015-12-16 21:54:11 +00:00
Pierre Schweitzer df6860337a [IPHLPAPI_APITEST]
Rewrite the two existing tests for ICMP and add a third one (for IPv6).
Patch by Tim Crawford.

ROSTESTS-212 #resolve #comment Commited in r70367. Thanks!

svn path=/trunk/; revision=70367
2015-12-16 21:11:22 +00:00
Thomas Faber 42f54fdc45 [NTOS:IO]
- Add some missing OBJ_KERNEL_HANDLE.
CORE-10207

svn path=/trunk/; revision=70366
2015-12-16 18:08:38 +00:00
Hermès Bélusca-Maïto 7b6be00fcc [COMMAND.COM]
Surround welcome & debugging messages in #ifndef NDEBUG blocks, that should be compiled in trunk but will be disabled in the release.
This is to "cure" the bad-looking problem described in http://www.reactos.org/forum/viewtopic.php?f=25&t=14620 .

svn path=/trunk/; revision=70365
2015-12-16 17:28:59 +00:00
Amine Khaldi 0a97bf2ccf [ICONS] Fix some blurry icons by Henry Tang Ih. CORE-10640
svn path=/trunk/; revision=70363
2015-12-16 14:57:14 +00:00
Eric Kohl 1f72389128 [WINLOGON]
Get rid of setup.h.

svn path=/trunk/; revision=70361
2015-12-16 14:45:19 +00:00
David Quintana a979e767d8 [SHELL32]
Apply patch by Mark Jansen (learn_more) with a few tweaks. Fixes calls to Shell_NotifyIconA such as those from VBoxTray.
CORE-10497 #resolve

svn path=/trunk/; revision=70360
2015-12-16 12:36:33 +00:00
Amine Khaldi 1017691f59 [CLIPBRD] Translate ERROR_INVALID_FILE_FORMAT to Romanian. By Ștefan Fulea.
svn path=/trunk/; revision=70358
2015-12-16 10:26:31 +00:00
Amine Khaldi 71b6bf7814 [TRANSLATIONS] Romanian translation update by Ștefan Fulea. CORE-10676
svn path=/trunk/; revision=70357
2015-12-16 10:22:00 +00:00
Thomas Faber a6a9039032 [NTOS:PNP]
- Don't free NULL buffers returned from IopCaptureUnicodeString.
CORE-10706 #resolve

svn path=/trunk/; revision=70356
2015-12-16 10:05:15 +00:00
Hermès Bélusca-Maïto 67e52a6862 [WIN32K:CLIPBOARD]
- When cleaning the clipboard, cancel any pending delayed rendering and increment all the sequence&serial numbers.
- Fix the clipboard access check when performing a delay rendering. This fixes VBox host <-> guest copy/paste amongst others...
CORE-5512 CORE-9620
CORE-8367 CORE-8627 #comment Please retest with revision >= 70355.

svn path=/trunk/; revision=70355
2015-12-16 00:26:27 +00:00
Hermès Bélusca-Maïto 4e929985de [WIN32SS:CLIPBOARD]
- Reduce indentation level of some code.
- No need to initialize pWinStaObj when it is reinitialized just after.
- Fix some comments.

svn path=/trunk/; revision=70354
2015-12-16 00:10:58 +00:00
Eric Kohl 875158be3e [WINSRV]
Do not kill system processes when a user is logging off. Fixes user logoff.
#CORE-2391 #resolve

svn path=/trunk/; revision=70350
2015-12-15 21:38:36 +00:00
Hermès Bélusca-Maïto e0b85f16d3 [CLIPBRD]
Fix the computation of where bitmap pixels start, depending on whether we are dealing with DIBs or DIBs version 5+ (depending on the header BITMAPINFOHEADER or BITMAPV5HEADER etc...).
I also noticed a bug in Windows that few other people already discovered, related to the automatic conversion of CF_DIBV5/CF_BITMAP to CF_DIB clipboard format. See the comment in the code.
CORE-10679

svn path=/trunk/; revision=70349
2015-12-15 02:54:24 +00:00
Aleksey Bragin 830c4ee4a0 [NTOS]
- Fix copypasta in the comments

svn path=/trunk/; revision=70348
2015-12-14 23:20:10 +00:00
Hermès Bélusca-Maïto a62f0ac81c [CLIPBRD]
- Add support for scrolling with the mouse wheel, by Ricardo Hanke.
- No need to check for CloseClipboard failure & display an error message if the clipboard was successfully opened just before.
- Use ARRAYSIZE macro instead of hardcoding the length of available clipboard format list.
CORE-10679

svn path=/trunk/; revision=70347
2015-12-14 22:55:55 +00:00