Commit graph

54884 commits

Author SHA1 Message Date
James Tabor 98060c28c8 [Win32k]
- Fix CORE-6945.
- Miscellaneous adds and changes.

svn path=/trunk/; revision=60622
2013-10-11 21:46:30 +00:00
Amine Khaldi 2e94a56a52 [NTOSKRNL]
* Add a sanity check to prevent a potential out-of-bounds write. CID 731662.
CORE-6681

svn path=/trunk/; revision=60619
2013-10-11 19:37:29 +00:00
Amine Khaldi 468cae26b2 [NTOSKRNL]
* Fix the owner's attributes handling when releasing the working set lock. CIDs 731438 and 731439.
CORE-6681

svn path=/trunk/; revision=60615
2013-10-11 18:12:16 +00:00
Amine Khaldi faacccfc2a [WINDOWSCODECSEXT_WINETEST]
* Import from Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60614
2013-10-11 18:10:20 +00:00
Amine Khaldi 8156be1e69 [WINDOWSCODECSEXT]
* Import from Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60613
2013-10-11 18:08:24 +00:00
Amine Khaldi 429a1c4b23 [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
2013-10-11 15:19:46 +00:00
Amine Khaldi 9f4686524d [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
2013-10-11 13:33:44 +00:00
Amine Khaldi 09b7cedebe [NTOSKRNL]
* Fix logically dead code block. CID 731331.
CORE-6681

svn path=/trunk/; revision=60609
2013-10-11 13:15:20 +00:00
Amine Khaldi 34110663e7 [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
2013-10-11 13:14:46 +00:00
Amine Khaldi 5c90d5530c [QUARTZ_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60607
2013-10-11 13:13:45 +00:00
Amine Khaldi 95e46327ba [QUARTZ]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60606
2013-10-11 13:13:18 +00:00
Amine Khaldi e007f33d9a [QEDIT]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60605
2013-10-11 13:12:40 +00:00
Amine Khaldi fa4306dffc [MSDMO]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60604
2013-10-11 13:11:30 +00:00
James Tabor ac553c63a1 [Win32k]
- Add drawing support to win32k. Needed for scrolls server side and nonclient support for icons.

svn path=/trunk/; revision=60602
2013-10-10 22:07:10 +00:00
Pierre Schweitzer 9b29c6967f [PSAPI_APITEST]
Add tests for GetDeviceDriverBaseName
Replace 0x00000000 -> NULL. Dedicated to Thomas ;-)

svn path=/trunk/; revision=60601
2013-10-10 19:18:43 +00:00
James Tabor 196ba3d618 [Win32k]
- Fix applications exit before the release of class atoms.


svn path=/trunk/; revision=60599
2013-10-10 12:40:30 +00:00
Giannis Adamopoulos 0fa39dfff7 - fix build for linux
svn path=/trunk/; revision=60598
2013-10-10 09:44:57 +00:00
Giannis Adamopoulos ba6130bb7f fix build
svn path=/trunk/; revision=60597
2013-10-10 09:39:15 +00:00
Giannis Adamopoulos c138d3ba98 [shell32_apitest]
- Add tests for shell menu classes ( so far only CShellMenu is tested)

svn path=/trunk/; revision=60596
2013-10-10 09:36:13 +00:00
Giannis Adamopoulos 1a3f9719b5 [shlwapi]
- QISearch should be exported by ordinal just like win2003
- Add OFFSETOFCLASS macro

svn path=/trunk/; revision=60595
2013-10-10 09:19:45 +00:00
Hermès Bélusca-Maïto fa9a309262 Fix a comment.
svn path=/trunk/; revision=60594
2013-10-10 01:20:07 +00:00
Hermès Bélusca-Maïto 14374b053d [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
2013-10-10 01:16:02 +00:00
James Tabor b243445cb2 [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
2013-10-09 23:04:07 +00:00
James Tabor 649f13b3f2 - Fix the remaining wine class tests. Left with more questions.
svn path=/trunk/; revision=60590
2013-10-09 20:25:25 +00:00
James Tabor 85a4547655 [Win32ss]
- Fix class icon tests. Still two more to go, investigating.

svn path=/trunk/; revision=60587
2013-10-09 01:11:44 +00:00
Jérôme Gardou 56757c308f [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
2013-10-07 18:23:53 +00:00
Jérôme Gardou f17c086e6c [MESA]
- leaner build part 14 of X
 - Flatten source tree
CORE-7499

svn path=/trunk/; revision=60580
2013-10-07 14:57:57 +00:00
Amine Khaldi 072852ede0 [MSHTML_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60579
2013-10-07 14:23:51 +00:00
Amine Khaldi d31f885436 [MSHTML]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60578
2013-10-07 14:22:37 +00:00
Amine Khaldi 12466faa47 [MESA]
* Fix MSVC build.

svn path=/trunk/; revision=60577
2013-10-07 14:03:34 +00:00
Jérôme Gardou c73334d7d3 [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
2013-10-07 13:53:08 +00:00
Amine Khaldi 41eb82dace [DMUSIC]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60575
2013-10-07 12:41:25 +00:00
Amine Khaldi 241a81c805 [PSAPI_APITEST]
* Speedup build.

svn path=/trunk/; revision=60574
2013-10-07 12:38:42 +00:00
Amine Khaldi 44ec41cd68 [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
2013-10-07 12:33:03 +00:00
Amine Khaldi 599e34cb17 [NTOSKRNL]
* Fix several null pointer dereferences. CID 731608.
CORE-6681

svn path=/trunk/; revision=60572
2013-10-07 12:08:33 +00:00
Amine Khaldi 96c8ce5d9d [NTOSKRNL]
* Fix an out-of-bounds access. CID 731663.
CORE-6681

svn path=/trunk/; revision=60571
2013-10-07 11:50:09 +00:00
Amine Khaldi b55a445031 [NTOSKRNL]
* Fix an uninitialized pointer read. CID 1102504.
CORE-6681

svn path=/trunk/; revision=60570
2013-10-07 11:44:07 +00:00
Pierre Schweitzer 8b0bbbdc07 [PSAPI_APITEST]
Complete the test (tested under w2k3)

svn path=/trunk/; revision=60569
2013-10-07 06:16:19 +00:00
Eric Kohl 22175a9d82 [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
2013-10-06 23:09:46 +00:00
Pierre Schweitzer b7674bb164 [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
2013-10-06 22:16:42 +00:00
Amine Khaldi 81708b99cd [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
2013-10-06 16:51:45 +00:00
Amine Khaldi 511ad66bae [DINPUT8]
* Speedup build.

svn path=/trunk/; revision=60564
2013-10-06 16:34:03 +00:00
Hermès Bélusca-Maïto 55edd14587 [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
2013-10-06 16:01:01 +00:00
Hermès Bélusca-Maïto eb9d268653 [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
2013-10-06 14:20:18 +00:00
Hermès Bélusca-Maïto 46e2b227f2 [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
2013-10-06 13:33:17 +00:00
Sylvain Petreolle c6ac881351 [SETUPAPI]
Add stubs for SetupVerifyInfFile, called by VMWare tools installer.

svn path=/trunk/; revision=60559
2013-10-06 12:56:48 +00:00
Sylvain Petreolle de6a0ec0d4 [SETUPAPI]
Add _SP_INF_SIGNER_INFO and _SP_ALTPLATFORM_INFO defines.

svn path=/trunk/; revision=60558
2013-10-06 12:56:01 +00:00
Thomas Faber d7e61c38c1 [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
2013-10-06 10:31:02 +00:00
Hermès Bélusca-Maïto c67aad2c5d [CSRSRV]: Fix long-time SMSS port name typo (it is SbApiPort).
svn path=/trunk/; revision=60556
2013-10-06 00:30:29 +00:00
Hermès Bélusca-Maïto f308eed7ef [CSRSRV]: Less PPORT_MESSAGE casts.
svn path=/trunk/; revision=60555
2013-10-06 00:04:18 +00:00