Commit graph

49221 commits

Author SHA1 Message Date
Thomas Faber 4421e839ea [PSEH2_TEST]
- Suppress unhelpful warnings
- Remove unneeded compiler flags

svn path=/trunk/; revision=54495
2011-11-24 14:07:44 +00:00
Thomas Faber cbab266b08 [CRT]
- Remove some differences to Wine. Fixes comparing a char against EOF in fgetwc.

svn path=/trunk/; revision=54494
2011-11-24 13:27:34 +00:00
Thomas Faber 251e9afb18 [EXPLORER]
- Fix incorrect virtual function override of Entry::do_context_menu. CID 1630

svn path=/trunk/; revision=54493
2011-11-24 13:12:56 +00:00
Amine Khaldi 618bd5e652 [IP]
* Remove unused value. CID 11342.

svn path=/trunk/; revision=54492
2011-11-24 12:51:27 +00:00
Amine Khaldi 4f7abdba44 [WIN32K]
* Comment out some unused but set variables.
* Check for NtDeviceIoControlFile returned status and warn on failure.

svn path=/trunk/; revision=54491
2011-11-24 12:38:26 +00:00
Amine Khaldi ebcf61a63b [KS]
* Add a missing break. CID 13502.

svn path=/trunk/; revision=54490
2011-11-24 12:36:49 +00:00
Amine Khaldi 2b29282303 [SHELL32]
* Initialize fSite in the constructor. CID 15134.

svn path=/trunk/; revision=54489
2011-11-24 11:40:43 +00:00
Amine Khaldi d72307c532 [SHLWAPI]
* Fix the syntax of some resource files (Spotted by windres).

svn path=/trunk/; revision=54488
2011-11-24 11:27:36 +00:00
Amine Khaldi 4696a40648 [HAL]
* Timo Kreuzer: Fix a NULL pointer dereference. CID 13453.

svn path=/trunk/; revision=54487
2011-11-24 11:25:40 +00:00
Amine Khaldi d96e0b80cf [NTOSKRNL]
* Timo Kreuzer: Fix some dead code. CID 14595.

svn path=/trunk/; revision=54486
2011-11-24 11:22:18 +00:00
Amine Khaldi b45deaaafd [SHELL32]
* Fix the syntax of the Japanese resource file (Spotted by windres).

svn path=/trunk/; revision=54485
2011-11-24 10:17:48 +00:00
Cameron Gutman be4fb81c94 [SCSIPORT]
- Implement ScsiPortGetLogicalUnit

svn path=/trunk/; revision=54484
2011-11-24 00:07:15 +00:00
Giannis Adamopoulos c1a19714f6 [win32k]
- Fix a typo in NtUserSetClipboardData that tried to print a struct as a pointer (cid 15051)
- Clean up clipboard.c a bit. note: this cleanup "fixes" cid 14599 and 14598, but even though they are false positives, this cleanup was needed
- Add missing break in NtUserQueryWindow (cid 13486)

svn path=/trunk/; revision=54483
2011-11-23 19:52:06 +00:00
Thomas Faber d87dae2daa [SERVICES]
- Do not use an unsigned type for a value that can become negative in ScmAssignNewTag (CID 14665)

svn path=/trunk/; revision=54482
2011-11-23 18:15:26 +00:00
Thomas Faber 494f949f52 [SERVICES]
- Fix dwServiceType and dwServiceState checks in REnumServicesStatusW (see r54373)
- Fix a memory leak in RQueryServiceConfig2A

svn path=/trunk/; revision=54481
2011-11-23 17:13:53 +00:00
Jérôme Gardou 60c812a9dc [NTOSKRNL/MM]
- Also round down offset we're given when creating a page op, so we don't miss the one that could be running at the time

svn path=/trunk/; revision=54480
2011-11-23 00:24:29 +00:00
Pierre Schweitzer 235d1c5a42 [NTOSKRNL]
Don't attempt to free random address
Don't attempt to free null address

svn path=/trunk/; revision=54479
2011-11-22 22:07:35 +00:00
Jérôme Gardou ef3f455441 [OOPS]
- I forgot this one

svn path=/trunk/; revision=54478
2011-11-22 22:05:02 +00:00
Jérôme Gardou 27d513df6e [NTOSKRNL/MM]
- create a page op when changing page protection attribute
- properly handle PAGE_NOACCESS protection change in NtProtectVirtualMemory
- Round down the address we're given when creating a page op, so we're sure there is o,ly one page op for running for one page
- Add a small hack
Now ReatOS boots with DPH enabled on low memory conditions

svn path=/trunk/; revision=54477
2011-11-22 22:01:06 +00:00
Rafal Harabien 397bb2c11e - Partially revert r54475 to check if it fixes KVM
svn path=/trunk/; revision=54476
2011-11-22 20:11:55 +00:00
Rafal Harabien 2e5bcdab25 [WIN32CSR]
- Fix process reference leak in case of GuiConsoleOpenUserRegistryPathPerProcessId failing to open registry key. Fixes console processes in LiveCD being ghosts.

svn path=/trunk/; revision=54475
2011-11-22 18:49:40 +00:00
Rafal Harabien c3dc125256 [EXPLORER] - Close thread handle for startup processes in Run and RunOnce keys. Fixes cmd.exe ghost on first bootcd explorer startup.
svn path=/trunk/; revision=54474
2011-11-22 15:07:27 +00:00
Dmitry Gorbachev 4ce30245de [NTOSKRNL|KDCOM]
Allow to specify the serial port address, as requested by people on the forum.

svn path=/trunk/; revision=54473
2011-11-22 02:30:16 +00:00
Jérôme Gardou 2ffaaef5e6 [HALx86]
- Fix the fix (do not truncate ULONGLONG value)

svn path=/trunk/; revision=54472
2011-11-21 12:30:01 +00:00
Jérôme Gardou f02069cdbe [HALx86]
- Hey Arch, it's an USHORT!

svn path=/trunk/; revision=54471
2011-11-21 12:17:57 +00:00
Jérôme Gardou 2a0fd0c988 [HALx86]
- fix various compiler warnings (msvc)
- fix a bug, where only the last IO map entry would be saved

svn path=/trunk/; revision=54470
2011-11-21 12:04:16 +00:00
Dmitry Gorbachev 01a74570f0 [Translation]
Changes in a registry file by Stefan Fulea (Romanian). Bug #6677.

svn path=/trunk/; revision=54469
2011-11-21 06:03:39 +00:00
Dmitry Gorbachev b7f9a4b528 [NTOSKRNL]
- Do not repeat messages into serial port even when using other debug methods.
- Allow to specify debug log file name.
- When using the "Screen" method, show blue screen when entering KDB.
- Disable the repetition of previous KDB command with long many-page output.

[USETUP]
- Add "ReactOS (Screen)" entry to boot menu.

svn path=/trunk/; revision=54468
2011-11-21 05:28:08 +00:00
Cameron Gutman 34f3db310e [NDIS]
- Remove unicode debug stuff out of the spinlock
- Add a comment

svn path=/trunk/; revision=54467
2011-11-20 22:31:26 +00:00
Cameron Gutman 4c824654d4 [NDIS]
- Fix this indentation atrocity

svn path=/trunk/; revision=54466
2011-11-20 22:25:09 +00:00
Rafal Harabien a600f07982 [SHELL32] - Fix running batch files from patch containing spaces in ShellExecute API
svn path=/trunk/; revision=54465
2011-11-20 22:22:42 +00:00
Cameron Gutman c2a5965d39 [NDIS]
- Print debugging information if a mismatch occurs between requested and returned parameter types
- Print debugging information if a registry read returns a type that NDIS doesn't handle
- Ensure that all digits are less than the base during conversion from string to integer (otherwise it's a string)

svn path=/trunk/; revision=54464
2011-11-20 21:37:16 +00:00
Pierre Schweitzer 7393500ce7 [ADVAPI32_APITEST]
Add missing test to CD

svn path=/trunk/; revision=54463
2011-11-20 20:03:46 +00:00
Jérôme Gardou 659fcbe394 [RTL]
- explicitly truncate some values, so it doesn't count as an error for compiler/MSVC runtime checker

svn path=/trunk/; revision=54462
2011-11-20 19:45:06 +00:00
Jérôme Gardou 3808ea2f30 [HAL]
- truncate PCI vendor id instead of casting it.
MSVC chokes on it with /RTCc

svn path=/trunk/; revision=54461
2011-11-20 17:54:52 +00:00
Jérôme Gardou 99282b754f [FREELDR]
- fix potential integer overflow : casting ULONGLONG to ULONG_PTR is not a good idea.

svn path=/trunk/; revision=54460
2011-11-20 17:37:20 +00:00
Pierre Schweitzer 37bc0a5a08 [KERNEL32]
Properly fix GetEnvironmentVariableW and set error in case of RtlInitUnicodeStringEx failure

svn path=/trunk/; revision=54459
2011-11-20 17:00:39 +00:00
Pierre Schweitzer c1f9c89d62 [NTOSKNRL]
Properly check for string

svn path=/trunk/; revision=54458
2011-11-20 16:39:31 +00:00
Aleksey Bragin ee0296db7d [RBUILD]
- Convert SPACEs to TABs in .rbuild.

svn path=/trunk/; revision=54457
2011-11-20 16:34:16 +00:00
Rafal Harabien 21ac81fe72 [KERNEL32/WIN32CSR] - Use ShowCmd from STARTUPINFO when creating console window
svn path=/trunk/; revision=54456
2011-11-20 14:35:41 +00:00
Jérôme Gardou 17abc7b17d [CRT]
- implement _chkesp

svn path=/trunk/; revision=54455
2011-11-20 14:04:40 +00:00
Rafal Harabien 1f402857de [SHELL32] - Load iCmdShow value from .lnk files
svn path=/trunk/; revision=54454
2011-11-20 14:02:48 +00:00
Sylvain Petreolle 23e3ab342d [USETUP]
Use Reactos_Debug for unattended MSVC installs.

svn path=/trunk/; revision=54453
2011-11-19 22:50:04 +00:00
Pierre Schweitzer 4e74b02cd3 [CRT]
Break ReactOS CRT:
- Add back crash on NULL pointer arg. This is the behaviour on w2k3.
- Don't skip \\?\ prefix any longer. This is the behaviour on w2k3.

svn path=/trunk/; revision=54452
2011-11-19 22:29:03 +00:00
Pierre Schweitzer df03d3cc8b [CRT]
Fix MSVC build.

svn path=/trunk/; revision=54451
2011-11-19 22:08:39 +00:00
Pierre Schweitzer a9e9b29ff5 [MSVCRT_APITEST]
Force linking to msvcrt instead of ntdll. Purpose is to test crt from msvcrt not ntdll.
Patch by Sylvain Petreolle.

svn path=/trunk/; revision=54450
2011-11-19 22:06:18 +00:00
Pierre Schweitzer 363b460431 [MSVCRT_APITEST]
Fix tests according to the platform they are run on.
This fixes msvcrt_apitest crash on w2k3.

svn path=/trunk/; revision=54449
2011-11-19 21:59:12 +00:00
Eric Kohl 042f97270e [SYSDM]
- Display all hardware profiles
- Add the hardware profile copy dialog to most languages.
- Disable the Up, Down, Property, Copy, Rename and Delete buttons in the Hardware Profiles dialog. 

svn path=/trunk/; revision=54448
2011-11-19 19:10:18 +00:00
Pierre Schweitzer 7d1620fa34 [CRT]
Check for NaN and set error accordingly

svn path=/trunk/; revision=54447
2011-11-19 19:01:58 +00:00
Jérôme Gardou ada492283a [NTOSKRNL]
- Add comment regarding r54445

svn path=/trunk/; revision=54446
2011-11-19 17:54:33 +00:00