Commit graph

47891 commits

Author SHA1 Message Date
Claudiu Mihail 13df60a8ec [shell32.dll]
- Fix bug 6336 of shell32_new. The bug was caused by not properly verifying the return value of ShellExecuteExW.
[FORMATTING]
- First wave of accidental formatting (sorry again about mixing code and formatting heh).

svn path=/branches/shell32_new-bringup/; revision=53650
2011-09-08 22:42:01 +00:00
Claudiu Mihail 29ca67f252 [shell32.dll]
- Make sure the ParseDisplayName functions make the ppidle parameter NULL whenever that's possible. Scores a wine test. Spotted by Victor Martinez.

svn path=/branches/shell32_new-bringup/; revision=53641
2011-09-08 14:07:02 +00:00
Claudiu Mihail 261ee4dd58 [shell32.dll]
- Initialize uninitialized variables.
- Add code to guard against potential NULL pointer dereferencing.
Thanks to Amine Khaldi for pointing out all these.

svn path=/branches/shell32_new-bringup/; revision=53633
2011-09-07 23:21:02 +00:00
Claudiu Mihail ea0da4a0a3 [shell32.dll]
- More uninitialized value fixing. Again Amine Khaldi spotting them with his magical powers.
- I took the liberty to convert tabs I found to spaces. Normally I shouldn't mix formatting with coding changes but I forgot. Sorry.

svn path=/branches/shell32_new-bringup/; revision=53629
2011-09-07 20:00:32 +00:00
Claudiu Mihail 34529d672c [shell32.dll]
- Attempt at fixing bug 6315 (it doesn't completely work yet). Original patch by Edijs Kolesnikovics.

svn path=/branches/shell32_new-bringup/; revision=53628
2011-09-07 19:00:26 +00:00
Claudiu Mihail aee0ef5405 [shell32.dll]
- Fix bug 6317. Patch by Edijs Kolesnikovics.

svn path=/branches/shell32_new-bringup/; revision=53624
2011-09-07 17:41:56 +00:00
Claudiu Mihail 5291d19b25 [shell32.dll]
- Fix bug 6316. Patch by Edijs Kolesnikovics.

svn path=/branches/shell32_new-bringup/; revision=53623
2011-09-07 17:10:45 +00:00
Claudiu Mihail 9f5333c3dc [shell32.dll]
- Fix bug #6301 . Patch by Edijs Kolesnikovics.

svn path=/branches/shell32_new-bringup/; revision=53622
2011-09-07 16:58:22 +00:00
Claudiu Mihail 2c7fb01198 [shell32.dll][FORMATTING]
- No code changes. Make the code more readable in preparation for investigating some failing wine tests.

svn path=/branches/shell32_new-bringup/; revision=53617
2011-09-07 13:39:13 +00:00
Claudiu Mihail 7a20b6f2bb [shell32.dll]
- Another round of fixing badly initialized variables. Again Amine Khaldi being the hero.

svn path=/branches/shell32_new-bringup/; revision=53613
2011-09-07 01:33:31 +00:00
Claudiu Mihail 270842aeb0 [shell32.dll]
- Initialize uninitialized variables in constructors.
[atl]
- Initialize uninitialized variables in constructors.
All spotted by Amine Khaldi.

svn path=/branches/shell32_new-bringup/; revision=53612
2011-09-06 23:52:38 +00:00
Giannis Adamopoulos 6cc65f4e4f [shell32]
- Add missing initialization. Fixes the problem where explorer fails to show the child window at the first attempt to open a folder

svn path=/branches/shell32_new-bringup/; revision=53610
2011-09-06 20:20:54 +00:00
Amine Khaldi 26f6b8c7f7 [FORMATTING]
* No code changes.

svn path=/branches/shell32_new-bringup/; revision=53546
2011-09-03 15:37:09 +00:00
Claudiu Mihail 8af812d602 [shell32.dll]
- Fix bug related to correct error code returning in delete_files. The value of 1026 was revealed to be returned by windows 2003 server. Score several passed winetests.
- Fix a bug in ShellLink::SetShowCmd and score one more passed winetest

svn path=/branches/shell32_new-bringup/; revision=53543
2011-09-03 14:20:03 +00:00
Claudiu Mihail 833aa3ffef [shell32.dll]
- Don't do some parameter checks, even if MSDN says they're incompatible. Winetests with windows 2003 server as reference tells us msdn lies. (Spotted by Victor Martinez)

svn path=/branches/shell32_new-bringup/; revision=53541
2011-09-03 10:55:51 +00:00
Claudiu Mihail 71fb1022d3 [shell32.dll]
[FORMATTING]
- Don't use tabs, use spaces.

svn path=/branches/shell32_new-bringup/; revision=53538
2011-09-03 00:13:22 +00:00
Claudiu Mihail b815342563 [shell32.dll]
[FORMATTING]
- Format the code to a more acceptable level. This is just for my sanity while sifting through it.

svn path=/branches/shell32_new-bringup/; revision=53537
2011-09-03 00:08:11 +00:00
Claudiu Mihail 5beaebef93 [shell32.dll]
- replace DbgPrints with TRACE.

svn path=/branches/shell32_new-bringup/; revision=53534
2011-09-02 19:56:58 +00:00
Claudiu Mihail 18d876cbf2 [shell32.dll]
- rewrite the parser to handle command line argument parsing
- include basic description of what the rules for parsing are
- some minor formatting here and there (couldn't be helped)

svn path=/branches/shell32_new-bringup/; revision=53533
2011-09-02 19:29:30 +00:00
Amine Khaldi fc902e6f58 * Sync to trunk HEAD (r53473).
svn path=/branches/shell32_new-bringup/; revision=53475
2011-08-27 19:26:31 +00:00
Eric Kohl 39a2467fca [WIDL]
Revert parts of r53171:
Remove the -Oif flag for WIDL because the NT4 stub code generated by the current WIDL is heavily broken with respect to the range attribute and others. Please enable the -Oif feature only after these bugs are fixed in WIDL!

svn path=/trunk/; revision=53469
2011-08-27 16:24:40 +00:00
Giannis Adamopoulos 65b8a5d11b [Win32k]
- remove some more unneeded functions

svn path=/trunk/; revision=53468
2011-08-27 12:55:41 +00:00
Giannis Adamopoulos 24abf1b222 [win32k]
- Clean up win32k headers even more
- remove INTERNAL_CALL and use NTAPI instead
- remove several unneeded definitions
- remove several unneeded header inclusions

svn path=/trunk/; revision=53467
2011-08-27 12:38:23 +00:00
Thomas Faber a0213bada8 [NTDLL/LDR]
- Improve DPRINTs
- Fix some MSVC warnings 
[NTOSKRNL]
- Fix missing exports

svn path=/trunk/; revision=53466
2011-08-27 10:38:30 +00:00
Thomas Faber 3f6b691d08 [CRT]
- Do not skip calling DllMain on non-GCC builds

svn path=/trunk/; revision=53465
2011-08-27 09:14:57 +00:00
Cameron Gutman 7f089310e7 [ACPI]
- Provide a fallback when _BBN isn't implemented for a PCI root bus
- Fixes PCI on QEMU with ACPI enabled

svn path=/trunk/; revision=53463
2011-08-27 01:10:29 +00:00
Cameron Gutman b0c146ed0c [ACPI]
- Skip fixed feature buttons when reporting resources
- Terminate the hardware ID list with 2 NULL characters

svn path=/trunk/; revision=53461
2011-08-26 23:46:32 +00:00
Timo Kreuzer cb83086870 [NMIDEBUG]
Fix amd64 build

svn path=/trunk/; revision=53460
2011-08-26 20:05:58 +00:00
Timo Kreuzer 57b7866842 [FREELDR]
- fix a bug in x86 PnpBiosGetDeviceNodeCount
- enable pxe for amd64 (not yet implemented though)
- store boot drive and boot partition in shared memory isnetad of relying on a register, which seems to be erased on switch to long mode
64 bit freeldr is back on track!

svn path=/trunk/; revision=53459
2011-08-26 20:00:17 +00:00
Timo Kreuzer caabd6c3e9 [HAL]
Fix amd64 build

svn path=/trunk/; revision=53458
2011-08-26 19:45:21 +00:00
Timo Kreuzer 823c30ef1f [CMAKE]
Fix compilation with VS x64

svn path=/trunk/; revision=53456
2011-08-26 17:33:33 +00:00
Timo Kreuzer 79b52fa59a [NTOSKRNL]
Fix amd64 build

svn path=/trunk/; revision=53455
2011-08-26 15:06:25 +00:00
Timo Kreuzer 41523bb55f [FREELDR]
- implement the amd64 real mode entry point and callback mechanism
- implement PnpBiosSupported, PnpBiosGetDeviceNodeCount, PnpBiosGetDeviceNode for amd64
- delete outdated amd64 files

svn path=/trunk/; revision=53453
2011-08-26 13:10:18 +00:00
Timo Kreuzer 82454038b9 [FREELDR]
- Implement switching back to real mode
- use a symbolic name for the size of the REGGS structure

svn path=/trunk/; revision=53451
2011-08-26 09:15:38 +00:00
James Tabor b9ae58dc0d [Win32k]
- Move function out of the stub file.

svn path=/trunk/; revision=53450
2011-08-26 03:02:00 +00:00
James Tabor d18d487420 - This seems to happen alot...
svn path=/trunk/; revision=53449
2011-08-26 01:54:21 +00:00
James Tabor a72f93d594 - Hax Fix rBuild.
svn path=/trunk/; revision=53448
2011-08-25 23:57:24 +00:00
Thomas Faber 4b00accabe [CMAKE]
- Remove /nologo option from RC again - WDK's version doesn't support it
- Add /nologo to MIDL's flags
- Remove redundant IDL compiler declaration for GCC build

svn path=/trunk/; revision=53447
2011-08-25 22:32:57 +00:00
Aleksey Bragin 2d9edcdec1 [NTDLL/LDR]
- Fix wrong loop condition which would often lead to heap underread.
- Fix wrong subkey string length calculation, which would result in an incorrect string being used to open an image specific key.
- Don't close the key handle in LdrQueryImageFileKeyOption() because it's used more than once and closed after it's not needed anymore.
- Use Zw* functions instead of Nt* where necessary in LdrQueryImageFileKeyOption().
- Per-image execution options work now (e.g. enabling DPH).

svn path=/trunk/; revision=53446
2011-08-25 22:25:25 +00:00
Timo Kreuzer 0834f5fa79 [FREELDR]
- Implement real mode entry point for amd64 (amd64 freeldr starts but dies later, it cannot yet switch back to real mode, which is a bit more complicated)
- delete empty folders

svn path=/trunk/; revision=53443
2011-08-25 14:43:15 +00:00
Rafal Harabien 78a0d9fb21 [RAPPS/SOLITAIRE/MSPAINT]
- Resize controls so text fits in
- Improve Polish translations
[MSPAINT]
- Use GET_X/Y_LPARAM macros instead of LOWORD/HIWORD in mouse messages because coordinates can be negative

svn path=/trunk/; revision=53441
2011-08-25 11:28:32 +00:00
Timo Kreuzer 3f288f07ea [FREELDR]
- Use EFLAGS constants from NDK instead of defining them new
- Add addresses for amd64 startup page tables

svn path=/trunk/; revision=53440
2011-08-25 09:44:21 +00:00
Timo Kreuzer e4356aa258 [CRT]
Fix build

svn path=/trunk/; revision=53439
2011-08-25 09:34:26 +00:00
Timo Kreuzer 01e8867ed1 [CRT]
Add frame pointer omission info to strcpy and wcscpy

svn path=/trunk/; revision=53438
2011-08-25 09:25:26 +00:00
Rafal Harabien 7ac15bc029 [INF]
- Add Polish translation of device names

svn path=/trunk/; revision=53437
2011-08-25 09:18:43 +00:00
Giannis Adamopoulos 1c6b9c7b25 [user32/win32k]
- cleanup internal headers
- remove unused functions and definitions
- move shared definitions to ntuser.h

svn path=/trunk/; revision=53436
2011-08-25 08:51:26 +00:00
Timo Kreuzer eec01877b4 [FRAMEBUF_ACC]
Same fix as r53434

svn path=/trunk/; revision=53435
2011-08-25 08:03:15 +00:00
Timo Kreuzer 4f3fe47484 [FRAMEBUF_NEW]
- According to MSDN IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES doesn't have an in-parameter. This code was copied from MS sample code, but it doesn't make sense, since the size field doesn't even match the in-buffer size. VBox driver also doesn't use these parameters and we don't handle the ioctl anyway.

svn path=/trunk/; revision=53434
2011-08-25 07:58:53 +00:00
Thomas Faber 371eb3f33e [CMAKE]
- Do not spam MSVC build log with RC/nmake logo

svn path=/trunk/; revision=53433
2011-08-25 07:32:01 +00:00
Timo Kreuzer 9688c90346 [EVENTVWR]
- remove some unneccessary casts
- simplyfy code
- use sizeof(PVOID) instead of sizeof(PEVENTLOGRECORD)

svn path=/trunk/; revision=53432
2011-08-25 07:20:02 +00:00