reactos.git
10 years ago[NTOS]: Moaaar s/tabs/spaces/
Hermès Bélusca-Maïto [Mon, 14 Oct 2013 20:38:02 +0000 (20:38 +0000)]
[NTOS]: Moaaar s/tabs/spaces/

svn path=/trunk/; revision=60672

10 years ago[NTOS:HEADLESS]: Code formatting + s/tabs/spaces/
Hermès Bélusca-Maïto [Mon, 14 Oct 2013 20:17:17 +0000 (20:17 +0000)]
[NTOS:HEADLESS]: Code formatting + s/tabs/spaces/

svn path=/trunk/; revision=60671

10 years ago[REACTOS/DEBUG]
Amine Khaldi [Mon, 14 Oct 2013 16:39:18 +0000 (16:39 +0000)]
[REACTOS/DEBUG]
* Set the assert related macros in consistency with the DDK ones, for release builds.
* Improve the debug build checks here (DBG was not even considered before).

svn path=/trunk/; revision=60666

10 years ago[KMTEST_DRV]
Amine Khaldi [Mon, 14 Oct 2013 16:35:35 +0000 (16:35 +0000)]
[KMTEST_DRV]
* Move the DeviceExtension related asserts into a DBG block.

svn path=/trunk/; revision=60665

10 years ago[VFATLIB]
Amine Khaldi [Mon, 14 Oct 2013 16:28:14 +0000 (16:28 +0000)]
[VFATLIB]
* Move readsize into a DBG block.

svn path=/trunk/; revision=60664

10 years ago[EXPAT]
Amine Khaldi [Mon, 14 Oct 2013 15:59:57 +0000 (15:59 +0000)]
[EXPAT]
* Remove from the codebase (it's not used anywhere).

svn path=/trunk/; revision=60662

10 years ago- Fix build and fix gcc 4.8.x build issues.
James Tabor [Mon, 14 Oct 2013 06:28:17 +0000 (06:28 +0000)]
- Fix build and fix gcc 4.8.x build issues.

svn path=/trunk/; revision=60660

10 years ago[Win32ss]
James Tabor [Mon, 14 Oct 2013 06:19:48 +0000 (06:19 +0000)]
[Win32ss]
- Fix up hot keys. Finding out that the wine test_hotkey is brain damaged and even breaks XP.

svn path=/trunk/; revision=60659

10 years ago[HAL][PCIX]: Finish to put \r\n for Hal\InbvDisplayStrings. Part 3/3.
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 23:37:11 +0000 (23:37 +0000)]
[HAL][PCIX]: Finish to put \r\n for Hal\InbvDisplayStrings. Part 3/3.

svn path=/trunk/; revision=60657

10 years ago\r\n for strings being displayed by NtDisplayString.
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 23:22:03 +0000 (23:22 +0000)]
\r\n for strings being displayed by NtDisplayString.

[AUTOCHK]: Fix some DPRINTs

svn path=/trunk/; revision=60656

10 years ago[USETUP]: The STRING_CONSOLEFAIL1/2/3 are aimed to be printed with NtDisplayString...
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 23:18:22 +0000 (23:18 +0000)]
[USETUP]: The STRING_CONSOLEFAIL1/2/3 are aimed to be printed with NtDisplayString, which will use InbvDisplayString. Therefore add \r with \n.
Part 2/X

svn path=/trunk/; revision=60655

10 years ago[FREELDR]
Amine Khaldi [Sun, 13 Oct 2013 23:14:40 +0000 (23:14 +0000)]
[FREELDR]
* Use the FrLdr prefix with the heap functions to avoid any ambiguities.

svn path=/trunk/; revision=60654

10 years ago* Addendum to r60650.
Amine Khaldi [Sun, 13 Oct 2013 23:12:09 +0000 (23:12 +0000)]
* Addendum to r60650.
CORE-7471 #resolve

svn path=/trunk/; revision=60653

10 years ago[NTOS]: Move 'buffer' to a better place (i.e. fix build).
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 23:07:26 +0000 (23:07 +0000)]
[NTOS]: Move 'buffer' to a better place (i.e. fix build).

svn path=/trunk/; revision=60652

10 years agoUse \r\n instead of \n only in Hal/InbvDisplayString. This is needed because, when...
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 23:04:13 +0000 (23:04 +0000)]
Use \r\n instead of \n only in Hal/InbvDisplayString. This is needed because, when displayed by the EMS console, only \n would be displayed otherwise, leading to misaligned text.
Part 1/X

svn path=/trunk/; revision=60651

10 years ago* Remove deprecated resource file loading and memory attributes (http://msdn.microsof...
Amine Khaldi [Sun, 13 Oct 2013 22:31:17 +0000 (22:31 +0000)]
* Remove deprecated resource file loading and memory attributes (msdn.microsoft.com/en-us/library/aa380908.aspx).
CORE-7471 #resolve

svn path=/trunk/; revision=60650

10 years ago[SETUPAPI]
Sylvain Petreolle [Sun, 13 Oct 2013 22:08:24 +0000 (22:08 +0000)]
[SETUPAPI]
Remove too zealous check for OEMSourceMediaLocation.
OEMSourceMediaLocation can be NULL and means that the current path or a default URL is beeing used.

Fixes installation of VMWare Tools drivers.
The installation still aborts due to issue in configuring the vmware tools service.

svn path=/trunk/; revision=60649

10 years ago[MSV1_0]
Eric Kohl [Sun, 13 Oct 2013 20:15:01 +0000 (20:15 +0000)]
[MSV1_0]
- MsvpChangePassword: Fix-up string pointers properly.
- MsvpCheckPassword: Modify password checks.

svn path=/trunk/; revision=60643

10 years ago[SACDRV]:
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 19:40:34 +0000 (19:40 +0000)]
[SACDRV]:
- Tabs vs. spaces fix;
- Less hardcoded values;
- Consistency in members names.

No functional changes.

svn path=/trunk/; revision=60642

10 years ago[CONSRV]: Move the palette hack.
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 16:21:55 +0000 (16:21 +0000)]
[CONSRV]: Move the palette hack.

svn path=/trunk/; revision=60641

10 years agoDon't forget to add files to compilation, Arch!
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 14:15:36 +0000 (14:15 +0000)]
Don't forget to add files to compilation, Arch!

svn path=/trunk/; revision=60640

10 years ago[CONSRV]: Improve full-screen mode, still WIP.
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 14:13:06 +0000 (14:13 +0000)]
[CONSRV]: Improve full-screen mode, still WIP.
Testing and bug reporting (and fixes/patches) are welcome! :)

svn path=/trunk/; revision=60639

10 years ago[LSALIB]
Eric Kohl [Sun, 13 Oct 2013 11:26:05 +0000 (11:26 +0000)]
[LSALIB]
Fix coding style. No code changes!

svn path=/trunk/; revision=60638

10 years ago[SECUR32]
Eric Kohl [Sun, 13 Oct 2013 11:14:08 +0000 (11:14 +0000)]
[SECUR32]
Fix indentation. No code changes!

svn path=/trunk/; revision=60637

10 years ago[SAMSRV]
Eric Kohl [Sun, 13 Oct 2013 11:12:10 +0000 (11:12 +0000)]
[SAMSRV]
Fix typos.

svn path=/trunk/; revision=60636

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 13 Oct 2013 00:11:38 +0000 (00:11 +0000)]
[CONSRV]
Implement a basic full-screen mode for the console. Still Work-In-Progress. See r59099 for more details.

svn path=/trunk/; revision=60635

10 years agoUpdate for rapps database.
Daniel Reimer [Sat, 12 Oct 2013 22:24:09 +0000 (22:24 +0000)]
Update for rapps database.

svn path=/trunk/; revision=60634

10 years ago[WINGDI]
Hermès Bélusca-Maïto [Sat, 12 Oct 2013 21:10:53 +0000 (21:10 +0000)]
[WINGDI]
- Update the definition of DM_SPECVERSION according to the Win's PSDK.
- Add the DMDISPLAYFLAGS_TEXTMODE flag for DEVMODE::dmDisplayFlags (see Wine PSDK, Win's PSDK ...)
- Add DMDFO_DEFAULT, DMDFO_STRETCH and DMDFO_CENTER flags for DEVMODE::dmDisplayFixedOutput (see Wine PSDK, Win's PSDK, MSDN ...)

svn path=/trunk/; revision=60633

10 years ago[NTOS:MM]
Thomas Faber [Sat, 12 Oct 2013 16:49:19 +0000 (16:49 +0000)]
[NTOS:MM]
- Improve a DPRINT
CORE-7445

svn path=/trunk/; revision=60632

10 years ago[COMMENTS]
Thomas Faber [Sat, 12 Oct 2013 16:05:54 +0000 (16:05 +0000)]
[COMMENTS]
- Consistent email address is consistent.

svn path=/trunk/; revision=60631

10 years ago[CONSRV]: WINAPI -> NTAPI
Hermès Bélusca-Maïto [Sat, 12 Oct 2013 15:44:22 +0000 (15:44 +0000)]
[CONSRV]: WINAPI -> NTAPI

svn path=/trunk/; revision=60630

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sat, 12 Oct 2013 15:37:50 +0000 (15:37 +0000)]
[CONSRV]
Implement SetConsolePalette (see r59711 for more details), but it is still WIP:
- the helper function ConDrvSetConsolePalette uses a hardcoded palette for testing purposes,
- lots of DPRINT1 are displayed when using this function or when swapping active screen buffers,
- lot of code redundancy which will be put in some helper functions when this code will work correctly,
- and I get some WIN32K warnings:
WARNING:  IntGdiRealizePalette at ../../win32ss/gdi/ntgdi/palette.c:777 is UNIMPLEMENTED!
It would be great if a win32k guy can have a look at this!! And I suspect that's because of this that the changed palette is not used...

Also, deactivate the WM_NCRBUTTONDOWN/WM_NCRBUTTONUP hack I introduced in revision 58632, because James worked on this in revisions 60622 and 60626 (see CORE-7054 too).

svn path=/trunk/; revision=60629

10 years ago[RAPPS]
Aleksey Bragin [Sat, 12 Oct 2013 12:28:18 +0000 (12:28 +0000)]
[RAPPS]
- Alexander Rechitskiy: Improve "DVD write Now!" entry in rapps.

CORE-7506

svn path=/trunk/; revision=60627

10 years ago- Hacky wine patch to fix CORE-7054.
James Tabor [Sat, 12 Oct 2013 01:05:37 +0000 (01:05 +0000)]
- Hacky wine patch to fix CORE-7054.

svn path=/trunk/; revision=60626

10 years ago[NTOSKRNL]
Amine Khaldi [Fri, 11 Oct 2013 23:29:08 +0000 (23:29 +0000)]
[NTOSKRNL]
* Fix a potential null pointer dereference. CID 701145.
* Change the ASSERT to NT_ASSERT.
CORE-6681

svn path=/trunk/; revision=60624

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Fri, 11 Oct 2013 22:59:05 +0000 (22:59 +0000)]
[CONSRV]
Definitely fix "Select All" functionality (see r59811).

svn path=/trunk/; revision=60623

10 years ago[Win32k]
James Tabor [Fri, 11 Oct 2013 21:46:30 +0000 (21:46 +0000)]
[Win32k]
- Fix CORE-6945.
- Miscellaneous adds and changes.

svn path=/trunk/; revision=60622

10 years ago[NTOSKRNL]
Amine Khaldi [Fri, 11 Oct 2013 19:37:29 +0000 (19:37 +0000)]
[NTOSKRNL]
* Add a sanity check to prevent a potential out-of-bounds write. CID 731662.
CORE-6681

svn path=/trunk/; revision=60619

10 years ago[NTOSKRNL]
Amine Khaldi [Fri, 11 Oct 2013 18:12:16 +0000 (18:12 +0000)]
[NTOSKRNL]
* Fix the owner's attributes handling when releasing the working set lock. CIDs 731438 and 731439.
CORE-6681

svn path=/trunk/; revision=60615

10 years ago[WINDOWSCODECSEXT_WINETEST]
Amine Khaldi [Fri, 11 Oct 2013 18:10:20 +0000 (18:10 +0000)]
[WINDOWSCODECSEXT_WINETEST]
* Import from Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60614

10 years ago[WINDOWSCODECSEXT]
Amine Khaldi [Fri, 11 Oct 2013 18:08:24 +0000 (18:08 +0000)]
[WINDOWSCODECSEXT]
* Import from Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60613

10 years ago[NPFS/NPFS_NEW]
Amine Khaldi [Fri, 11 Oct 2013 15:19:46 +0000 (15:19 +0000)]
[NPFS/NPFS_NEW]
* Make npfs_new the one and only npfs. One of the few foo_new modules that actually made it and I hope it won't be the last ;)
CORE-7451

svn path=/trunk/; revision=60611

10 years ago[QUARTZ_WINETEST]
Amine Khaldi [Fri, 11 Oct 2013 13:33:44 +0000 (13:33 +0000)]
[QUARTZ_WINETEST]
* Generate a local copy of the fil_data header instead of reusing the identical quartz one.
CORE-7469

svn path=/trunk/; revision=60610

10 years ago[NTOSKRNL]
Amine Khaldi [Fri, 11 Oct 2013 13:15:20 +0000 (13:15 +0000)]
[NTOSKRNL]
* Fix logically dead code block. CID 731331.
CORE-6681

svn path=/trunk/; revision=60609

10 years ago[DINPUT8]
Amine Khaldi [Fri, 11 Oct 2013 13:14:46 +0000 (13:14 +0000)]
[DINPUT8]
* Mark as synced with Wine 1.7.1 now that all the remaining DX related modules are in sync.
CORE-7469

svn path=/trunk/; revision=60608

10 years ago[QUARTZ_WINETEST]
Amine Khaldi [Fri, 11 Oct 2013 13:13:45 +0000 (13:13 +0000)]
[QUARTZ_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60607

10 years ago[QUARTZ]
Amine Khaldi [Fri, 11 Oct 2013 13:13:18 +0000 (13:13 +0000)]
[QUARTZ]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60606

10 years ago[QEDIT]
Amine Khaldi [Fri, 11 Oct 2013 13:12:40 +0000 (13:12 +0000)]
[QEDIT]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60605

10 years ago[MSDMO]
Amine Khaldi [Fri, 11 Oct 2013 13:11:30 +0000 (13:11 +0000)]
[MSDMO]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60604

10 years ago[Win32k]
James Tabor [Thu, 10 Oct 2013 22:07:10 +0000 (22:07 +0000)]
[Win32k]
- Add drawing support to win32k. Needed for scrolls server side and nonclient support for icons.

svn path=/trunk/; revision=60602

10 years ago[PSAPI_APITEST]
Pierre Schweitzer [Thu, 10 Oct 2013 19:18:43 +0000 (19:18 +0000)]
[PSAPI_APITEST]
Add tests for GetDeviceDriverBaseName
Replace 0x00000000 -> NULL. Dedicated to Thomas ;-)

svn path=/trunk/; revision=60601

10 years ago[Win32k]
James Tabor [Thu, 10 Oct 2013 12:40:30 +0000 (12:40 +0000)]
[Win32k]
- Fix applications exit before the release of class atoms.

svn path=/trunk/; revision=60599

10 years ago- fix build for linux
Giannis Adamopoulos [Thu, 10 Oct 2013 09:44:57 +0000 (09:44 +0000)]
- fix build for linux

svn path=/trunk/; revision=60598

10 years agofix build
Giannis Adamopoulos [Thu, 10 Oct 2013 09:39:15 +0000 (09:39 +0000)]
fix build

svn path=/trunk/; revision=60597

10 years ago[shell32_apitest]
Giannis Adamopoulos [Thu, 10 Oct 2013 09:36:13 +0000 (09:36 +0000)]
[shell32_apitest]
- Add tests for shell menu classes ( so far only CShellMenu is tested)

svn path=/trunk/; revision=60596

10 years ago[shlwapi]
Giannis Adamopoulos [Thu, 10 Oct 2013 09:19:45 +0000 (09:19 +0000)]
[shlwapi]
- QISearch should be exported by ordinal just like win2003
- Add OFFSETOFCLASS macro

svn path=/trunk/; revision=60595

10 years agoFix a comment.
Hermès Bélusca-Maïto [Thu, 10 Oct 2013 01:20:07 +0000 (01:20 +0000)]
Fix a comment.

svn path=/trunk/; revision=60594

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Thu, 10 Oct 2013 01:16:02 +0000 (01:16 +0000)]
[CONSRV]
- Macros renaming.
- When switching active screen buffers, do it a bit more properly, i.e. announce it to the terminal emulator (aka. frontend) so that it will be able to change the associated console palette, be able to support displaying multi screen buffers or displaying another screen buffer than the active one (for debugging purposes or whatever), etc...

There are still some hacks and commented code, which whill be cleaned when I'll be sure that everything works and is not broken somewhere.

svn path=/trunk/; revision=60593

10 years ago[Win32ss]
James Tabor [Wed, 9 Oct 2013 23:04:07 +0000 (23:04 +0000)]
[Win32ss]
- Setup small icon support from create window not in register class.
- Remove flags if not inside the current version control. Version control is still FIXME.

svn path=/trunk/; revision=60592

10 years ago- Fix the remaining wine class tests. Left with more questions.
James Tabor [Wed, 9 Oct 2013 20:25:25 +0000 (20:25 +0000)]
- Fix the remaining wine class tests. Left with more questions.

svn path=/trunk/; revision=60590

10 years ago[Win32ss]
James Tabor [Wed, 9 Oct 2013 01:11:44 +0000 (01:11 +0000)]
[Win32ss]
- Fix class icon tests. Still two more to go, investigating.

svn path=/trunk/; revision=60587

10 years ago[MESA]
Jérôme Gardou [Mon, 7 Oct 2013 18:23:53 +0000 (18:23 +0000)]
[MESA]
 - leaner build part 15 of X
 - Get rid of ARB_pixel_buffer_object, ARB_robustness, ARB_texture_border_clamp, EXT_multi_draw_arrays, EXT_pixel_buffer_object, EXT_stencil_two_side, ARB_texture_edge_clamp, EXT_texture_mirror_clamp, ATI_separate_stencil, ATI_texture_mirror_once, SGIS_texture_border_clamp, SGIS_texture_edge_clamp, SUN_multi_draw_arrays
CORE-7499

svn path=/trunk/; revision=60581

10 years ago[MESA]
Jérôme Gardou [Mon, 7 Oct 2013 14:57:57 +0000 (14:57 +0000)]
[MESA]
 - leaner build part 14 of X
 - Flatten source tree
CORE-7499

svn path=/trunk/; revision=60580

10 years ago[MSHTML_WINETEST]
Amine Khaldi [Mon, 7 Oct 2013 14:23:51 +0000 (14:23 +0000)]
[MSHTML_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60579

10 years ago[MSHTML]
Amine Khaldi [Mon, 7 Oct 2013 14:22:37 +0000 (14:22 +0000)]
[MSHTML]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60578

10 years ago[MESA]
Amine Khaldi [Mon, 7 Oct 2013 14:03:34 +0000 (14:03 +0000)]
[MESA]
* Fix MSVC build.

svn path=/trunk/; revision=60577

10 years ago[MESA]
Jérôme Gardou [Mon, 7 Oct 2013 13:53:08 +0000 (13:53 +0000)]
[MESA]
 - leaner build part 13 of X
 - Get rid of shaders and programs support (with assorted extensions), ARB_multitexture and ATI_envmap_bumpmap extensions.
CORE-7499

svn path=/trunk/; revision=60576

10 years ago[DMUSIC]
Amine Khaldi [Mon, 7 Oct 2013 12:41:25 +0000 (12:41 +0000)]
[DMUSIC]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60575

10 years ago[PSAPI_APITEST]
Amine Khaldi [Mon, 7 Oct 2013 12:38:42 +0000 (12:38 +0000)]
[PSAPI_APITEST]
* Speedup build.

svn path=/trunk/; revision=60574

10 years ago[NTOSKRNL]
Amine Khaldi [Mon, 7 Oct 2013 12:33:03 +0000 (12:33 +0000)]
[NTOSKRNL]
* Fix several logically dead code blocks. CIDs 731580, 731581 and 731582.
* Add a compile time assert to perform a preventive check as suggested by Thomas Faber.
CORE-6681

svn path=/trunk/; revision=60573

10 years ago[NTOSKRNL]
Amine Khaldi [Mon, 7 Oct 2013 12:08:33 +0000 (12:08 +0000)]
[NTOSKRNL]
* Fix several null pointer dereferences. CID 731608.
CORE-6681

svn path=/trunk/; revision=60572

10 years ago[NTOSKRNL]
Amine Khaldi [Mon, 7 Oct 2013 11:50:09 +0000 (11:50 +0000)]
[NTOSKRNL]
* Fix an out-of-bounds access. CID 731663.
CORE-6681

svn path=/trunk/; revision=60571

10 years ago[NTOSKRNL]
Amine Khaldi [Mon, 7 Oct 2013 11:44:07 +0000 (11:44 +0000)]
[NTOSKRNL]
* Fix an uninitialized pointer read. CID 1102504.
CORE-6681

svn path=/trunk/; revision=60570

10 years ago[PSAPI_APITEST]
Pierre Schweitzer [Mon, 7 Oct 2013 06:16:19 +0000 (06:16 +0000)]
[PSAPI_APITEST]
Complete the test (tested under w2k3)

svn path=/trunk/; revision=60569

10 years ago[SAMSRV]
Eric Kohl [Sun, 6 Oct 2013 23:09:46 +0000 (23:09 +0000)]
[SAMSRV]
A password is present only if the passwords value has been set and the password is not the empty password.

svn path=/trunk/; revision=60567

10 years ago[PSAPI_APITEST]
Pierre Schweitzer [Sun, 6 Oct 2013 22:16:42 +0000 (22:16 +0000)]
[PSAPI_APITEST]
Add an apitest for psapi GetDeviceDriverFileName.

I'm looking for help to bring it even farther. Ideally, it would be interesting
to be able to GetDeviceDriverFileName on ntoskrnl base address. The whole point is
about getting it dynamically.

The day we can do it properly, I can predict that it will fail on ReactOS, we're not having
correct paths for KDCOM, HAL, and NTOSKRNL modules in the kernel (thank you FreeLdr? - Where are you
starting '\'?)

svn path=/trunk/; revision=60566

10 years ago[MSHTML/GECKO]
Amine Khaldi [Sun, 6 Oct 2013 16:51:45 +0000 (16:51 +0000)]
[MSHTML/GECKO]
* Move the gecko prompt from the mshtml registration to the second stage installer itself. This allows mshtml to register properly regardless of the availability of the gecko package.

svn path=/trunk/; revision=60565

10 years ago[DINPUT8]
Amine Khaldi [Sun, 6 Oct 2013 16:34:03 +0000 (16:34 +0000)]
[DINPUT8]
* Speedup build.

svn path=/trunk/; revision=60564

10 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Sun, 6 Oct 2013 16:01:01 +0000 (16:01 +0000)]
[BOOTDATA]
- Add some descriptions.
- Add HKLM\Software\Microsoft\Windows NT\CurrentVersion\IniFileMapping needed for win2k3 basesrv (otherwise it fails to initialize) (and ours when the INI File Mappings functionality will be fully implemented). INI File Mappings allows redirections from e.g. system.ini --> Adequate Registry Key, when you use APIs such that WritePrivateProfileString to write settings in those INI files (for 16-bit compat).

svn path=/trunk/; revision=60563

10 years ago[CSRSRV]: In CsrCaptureArguments, be sure that the number of captured pointers is...
Hermès Bélusca-Maïto [Sun, 6 Oct 2013 14:20:18 +0000 (14:20 +0000)]
[CSRSRV]: In CsrCaptureArguments, be sure that the number of captured pointers is at most equal to MAXUSHORT (and not the total length of the captured buffer).

svn path=/trunk/; revision=60561

10 years ago[CSR]
Hermès Bélusca-Maïto [Sun, 6 Oct 2013 13:33:17 +0000 (13:33 +0000)]
[CSR]
During my investigations for making working Win2k3 csrsrv.dll (or other CSR servers) into ROS (to compare our behaviour with our own csrsrv.dll and Win2k3 one), I hit a problem: if I test a checked-build version of csrsrv (or other CSR servers), everything was fine when they were loaded, but if I use a release-build version (i.e. without any debug information), I systematically hit a memory access violation which was traced back to the moment when a CSR server's CsrInitialization entry point was called.
So I did the experiment, where I used our (debug-build) csrsrv with a free-build win2k3 CSR server dll (it was winsrv.dll, and I retested with basesrv.dll after). I hit the access violation. But if I took a debug-build version of winsrv.dll, everything was OK.
I then added in our csrsrv' server.c file the following line (around line 212 of the current file version):
DPRINT1("%s ; ServerDll->ValidTable = 0x%p ; ServerDll->NameTable = 0x%p ; ServerDll->SizeOfProcessData = %d ; ServerDll->ConnectCallback = 0x%p\n", DllString, ServerDll->ValidTable, ServerDll->NameTable, ServerDll->SizeOfProcessData, ServerDll->ConnectCallback);
and I saw that, when using a debug-build win2k3 CSR server, everything was fine (in particular the ServerDll->SizeOfProcessData member contained a reasonable value, e.g. a size of 88 bytes), whereas if I used a free-build version, I got an off-by-one problem, with the ServerDll->ValidTable pointer valid but the ServerDll->NameTable member being equal to 88 (i.e. invalid pointer) and the ServerDll->SizeOfProcessData member being equal to a very large value, which looked like a pointer value.
After more investigations, I saw that in debug-build CSR servers the list of API names were stored, whereas it was not the case in free-build versions. Therefore I concluded that the API names table was included *ONLY* in debug builds and not in release builds.

Hence, to be able to test in ROS either debug-builds or release-builds versions of Windows CSR servers in ROS (and vice-versa), I introduced a #define called CSR_DBG, which is defined only if the DBG macro is != 0, and which is not defined otherwise. When the CSR_DBG flag is defined, API names tables are added in CSR servers and otherwise, they are not.

Therefore, we are now able to test debug-build Windows CSR servers in ROS (the default possibility) or free-build versions of these CSR servers (but first, we have to build the other ones without the CSR_DBG flag, to avoid the off-by-one problem described above).

svn path=/trunk/; revision=60560

10 years ago[SETUPAPI]
Sylvain Petreolle [Sun, 6 Oct 2013 12:56:48 +0000 (12:56 +0000)]
[SETUPAPI]
Add stubs for SetupVerifyInfFile, called by VMWare tools installer.

svn path=/trunk/; revision=60559

10 years ago[SETUPAPI]
Sylvain Petreolle [Sun, 6 Oct 2013 12:56:01 +0000 (12:56 +0000)]
[SETUPAPI]
Add _SP_INF_SIGNER_INFO and _SP_ALTPLATFORM_INFO defines.

svn path=/trunk/; revision=60558

10 years ago[POWERCFG.CPL]
Thomas Faber [Sun, 6 Oct 2013 10:31:02 +0000 (10:31 +0000)]
[POWERCFG.CPL]
- Use Yes/No instead of Ok/Cancel for "Are you sure you want to delete the power scheme?" Patch by Lee Schroeder.
- Remove some unnecessary casts
CORE-7503 #resolve

svn path=/trunk/; revision=60557

10 years ago[CSRSRV]: Fix long-time SMSS port name typo (it is SbApiPort).
Hermès Bélusca-Maïto [Sun, 6 Oct 2013 00:30:29 +0000 (00:30 +0000)]
[CSRSRV]: Fix long-time SMSS port name typo (it is SbApiPort).

svn path=/trunk/; revision=60556

10 years ago[CSRSRV]: Less PPORT_MESSAGE casts.
Hermès Bélusca-Maïto [Sun, 6 Oct 2013 00:04:18 +0000 (00:04 +0000)]
[CSRSRV]: Less PPORT_MESSAGE casts.

svn path=/trunk/; revision=60555

10 years ago[CSRSRV]: Add the 0x prefix when we display some hex output.
Hermès Bélusca-Maïto [Sat, 5 Oct 2013 23:56:12 +0000 (23:56 +0000)]
[CSRSRV]: Add the 0x prefix when we display some hex output.

svn path=/trunk/; revision=60554

10 years ago[CSRSRV][CONSRV]
Hermès Bélusca-Maïto [Sat, 5 Oct 2013 23:34:25 +0000 (23:34 +0000)]
[CSRSRV][CONSRV]
CSR_WAIT_FUNCTION functions are callbacks and therefore are __stdcall aka. NTAPI. Fix this.
Now, using either our csrsrv or win2k3' csrsrv works without problems; there is no console key-press problems anymore (aka. stack corruption when calling multiple times CsrNotifyWait, which called those CSR_WAIT_FUNCTION functions).

svn path=/trunk/; revision=60553

10 years ago[GDI32_WINETEST]
Sylvain Petreolle [Sat, 5 Oct 2013 22:20:32 +0000 (22:20 +0000)]
[GDI32_WINETEST]
[USER32_WINETEST]
Use Jira bug ids.

svn path=/trunk/; revision=60552

10 years ago[CSRSRV][CONSRV]
Hermès Bélusca-Maïto [Sat, 5 Oct 2013 22:17:34 +0000 (22:17 +0000)]
[CSRSRV][CONSRV]
- Fix the second parameter WaitType (aka. NotifyAll) of CsrNotifyWait. Indeed, we used before the constants WaitAll == 0 / WaitAny == 1 (see the WAIT_TYPE enum); however, it appeared that Win2k3's CsrNotifyWait wanted a WaitType parameter == 1 when waiting for all the waits in a given wait-list. Therefore we would have to use WaitAll for waiting for any of the wait blocks, and WaitAny for waiting for all the wait blocks... looks illogical. Therefore I use instead a BOOLEAN variable (that I call NotifyAll) which is TRUE when I want to wait for all the wait blocks, and FALSE otherwise (as done e.g. for the WaitForMultipleObjects API).
- Fix its usage in CONSRV.

Magically fix key presses problems in console, when using Win2k3 csrsrv.dll ...

svn path=/trunk/; revision=60551

10 years ago[RPCSS]
Amine Khaldi [Sat, 5 Oct 2013 21:05:04 +0000 (21:05 +0000)]
[RPCSS]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60550

10 years ago[WINE]
Amine Khaldi [Sat, 5 Oct 2013 21:00:36 +0000 (21:00 +0000)]
[WINE]
* Mark localspl as in sync.
* Hide evidence re. the existence of my time machine.
CORE-7469

svn path=/trunk/; revision=60549

10 years ago[STRMBASE]
Amine Khaldi [Sat, 5 Oct 2013 20:55:09 +0000 (20:55 +0000)]
[STRMBASE]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60548

10 years ago[MSVCRTD_WINETEST]
Amine Khaldi [Sat, 5 Oct 2013 20:50:11 +0000 (20:50 +0000)]
[MSVCRTD_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60547

10 years ago[COMDLG32_WINETEST]
Amine Khaldi [Sat, 5 Oct 2013 20:44:20 +0000 (20:44 +0000)]
[COMDLG32_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60546

10 years ago[COMDLG32]
Amine Khaldi [Sat, 5 Oct 2013 20:43:34 +0000 (20:43 +0000)]
[COMDLG32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60545

10 years ago[UUID]
Amine Khaldi [Sat, 5 Oct 2013 20:39:50 +0000 (20:39 +0000)]
[UUID]
* Add IID_IPrintDialogCallback.

svn path=/trunk/; revision=60544

10 years agoForgot this one.
Hermès Bélusca-Maïto [Sat, 5 Oct 2013 20:10:06 +0000 (20:10 +0000)]
Forgot this one.

svn path=/trunk/; revision=60542

10 years ago[CSRSRV]
Hermès Bélusca-Maïto [Sat, 5 Oct 2013 20:06:47 +0000 (20:06 +0000)]
[CSRSRV]
- Do not associate the newly created wait block to the waiting thread (in CsrInitializeWait) in case this one is going to terminate, but do it instead in CsrCreateWait, where the check actually takes place.
- Avoid PPORT_MESSAGE casts.
- Fix a list insertion problem in CsrMoveSatisfiedWait.
- Fix some descriptions / comments.

svn path=/trunk/; revision=60541

10 years ago[Win32ss]
James Tabor [Sat, 5 Oct 2013 19:57:22 +0000 (19:57 +0000)]
[Win32ss]
- Add support for loading hook modules.

svn path=/trunk/; revision=60539