Commit graph

28328 commits

Author SHA1 Message Date
Hervé Poussineau fe87541e38 After plug&play at 3rd boot since r18448, after plug&play in 2nd stage setup since r22607, here is plug&play in 1st stage setup!
svn path=/trunk/; revision=31044
2007-12-06 16:25:57 +00:00
Aleksey Bragin 96fcea9b72 - Fix Greatlordisms:
* Don't try to link *user*mode program to static *kernelmode* libcntpr. msvcrt.dll exists for this.
* Fix main()'s declaration and definition.
* The above changes fix compiling of rostest module.

svn path=/trunk/; revision=31043
2007-12-06 15:44:23 +00:00
Hervé Poussineau 766f1a8a1b Fix indentation
svn path=/trunk/; revision=31042
2007-12-06 14:51:53 +00:00
Christoph von Wittich c73bd8cb3f zero DEVMODE and setting the correct size before calling ChangeDisplaySettings
svn path=/trunk/; revision=31041
2007-12-06 14:46:56 +00:00
Hervé Poussineau 3e7681fbee Fix small typo
svn path=/trunk/; revision=31040
2007-12-06 13:43:47 +00:00
Hervé Poussineau 82efa9c6a0 Define serial port bases only once
Formatting, cleanup, code factorization

svn path=/trunk/; revision=31039
2007-12-06 13:11:21 +00:00
Christoph von Wittich 8b186a16b8 really fix the bug now - count from CM_KCBS_PER_PAGE -1 to 0 instead of CM_KCBS_PER_PAGE -1 to 1
svn path=/trunk/; revision=31037
2007-12-06 07:11:20 +00:00
James Tabor 86e1b5605d Restore to default behavior for now.
svn path=/trunk/; revision=31035
2007-12-06 04:00:51 +00:00
James Tabor 3f26c051e8 Sorry Fix bug.
svn path=/trunk/; revision=31034
2007-12-06 02:20:37 +00:00
James Tabor 5c4628595b Fixed one more test, now from 23 to 22 fail. Reordered NtGdiDeleteObjectApp and created a separate function so that applications can not delete DCs belonging to DCEs. Add a check for Wnd = NULL for UserGetDCEx, this did not help the test results. Test Qemu Linux, Xp and hardware. Install and run AbiWord and FF as tests.
svn path=/trunk/; revision=31033
2007-12-06 02:09:56 +00:00
Colin Finck 107d3b15e1 - Changes by Martin Grogan (groganm AT gmail DOT com, IRC nick _Lazybones_):
* Make the appearance and layout more like the MS version
    * Added functionality for resetting scores
    * Auto-complete the board, when the player is guaranteed to win

- Changes by myself:
    * Add a new define WINEMINE_REGKEY to define the registry path of the WineMine settings only one time
    * Store the settings in HKCU instead of HKLM and use REG_DWORD, when it makes sense
    * Get WineMine to compile warning-free under MSVC
    * Make the new "seconds" string translateable
    * Make all WineMine resource files consistent and ensure that all visual elements are visible

See issue #2060 for more details.

svn path=/trunk/; revision=31032
2007-12-05 23:17:15 +00:00
James Tabor 291c2b99ef Fix one wine test, from 75 to 23 no.
svn path=/trunk/; revision=31031
2007-12-05 22:30:44 +00:00
Aleksey Bragin 6dea234022 - Save hive flags instead of ignoring them (but ignore no lazy flush for now).
- Get rid of CmiKeyObjectListHead and code that was adding/removing entries into it, it wasn't used for anything.
- Change the stupid subkey array (which caused pool fragmentation and slow-downs) with a linked-list version, since we never used the array for random indexing (the point of an array vs a linked list).
- Link key object children to parent key control blocks so that KCBs now own PKEY_OBJECTs (will help with parsing later).
- Get rid of CmiAddKeyToList since this is just an InsertTailList now.
- Remove ReactOS hacks in flush code.
- Do full parallel hive loading code in normal boot too, not just in cd-rom boot: CmpSetFileSize was causing the problem to happen so it's been disabled for now; this allowed removal of multiple ReactOS hacks.
- Use the "Allocate" flag during linking instead of hard-coding FALSE, since this also works now.
- Set HIVE_NOLAZYFLUSH to newly create hives since this is required for later.
- Remove CmiConnectedHiveList since it's not used for anything.

svn path=/trunk/; revision=31030
2007-12-05 22:30:33 +00:00
Timo Kreuzer 60b1915ae7 fix compilation with GDI_DEBUG
svn path=/trunk/; revision=31028
2007-12-05 21:54:05 +00:00
Dmitry Chapyshev 08cae5540c - Fix small bug
svn path=/trunk/; revision=31024
2007-12-05 20:30:54 +00:00
Aleksey Bragin 99d3788d8b - Fix a bug.
svn path=/trunk/; revision=31019
2007-12-05 19:07:23 +00:00
Hervé Poussineau 79e182b387 Add missing include file
svn path=/trunk/; revision=31018
2007-12-05 18:21:11 +00:00
Hervé Poussineau 603edfdfc1 Do not add twice a link to crt library
svn path=/trunk/; revision=31017
2007-12-05 16:53:14 +00:00
Hervé Poussineau b22abd272b Don't add implicit dependencies for ntdll
svn path=/trunk/; revision=31016
2007-12-05 16:17:51 +00:00
Hervé Poussineau e3876e7f3c Send correct data to MiDereferenceImports()
svn path=/trunk/; revision=31015
2007-12-05 16:04:47 +00:00
Hervé Poussineau 155a5c8344 Implement GetLargePageMinimum()
svn path=/trunk/; revision=31014
2007-12-05 14:55:52 +00:00
Christoph von Wittich 75db192c8d fix formatting
svn path=/trunk/; revision=31013
2007-12-05 14:51:06 +00:00
Christoph von Wittich fe7df0e59f add stub for GetLargePageMinimum
svn path=/trunk/; revision=31012
2007-12-05 14:48:19 +00:00
Hervé Poussineau 4e74b61d76 Revert r29433, it's wrong
Thanks Alex ;)

svn path=/trunk/; revision=31011
2007-12-05 13:40:14 +00:00
Aleksey Bragin 729df301cd Andrey Korotaev <unc0rr@mail.ru>:
- Never trust MaximumLength passed from usermode when copying a unicode string (fixes a wide amount of crashes, tested with CdrLabel 4.1).

svn path=/trunk/; revision=31010
2007-12-04 22:52:05 +00:00
Aleksey Bragin 98a17200e4 - Finish correct definition of CM_KEY_NODE.
- Fix broken CmpTestRegistryLock functions, they could return FALSE even if the lock was held.
- Enable some extra assertions.
- Update KCB flags as well when updating keynode flags in CmpDoCreate.
- Update KCB Last write time as well when updating keynode lastwritetime in CmpDoCreate.
- Do CmpDoOpen with the registry lock held, and tell CmpCreateKeycontrolBlock to lock the KCB exclusively.
- Enable link-node create code to set the ChildHiveRefernece values. This is used to "escape" the current Hive when a KEY_HIVE_EXIT node is detected (an internal symlink) and required for new parsing semantics.
- Implement CmpHandleExitNode to test how "escaping" from an exit node into a link hive works (it does).
- Plug that function into the new parse routine for testing purposes.
- Enable CmpDoOpen path in the new parse routine, only used for link node creation for now.

svn path=/trunk/; revision=31009
2007-12-04 21:39:15 +00:00
Aleksey Bragin 6117db4db0 - Remove GreatLordisms.
- Slightly improve NtGdiOpenDCW() code (without changing the logic). 

svn path=/trunk/; revision=31008
2007-12-04 20:07:35 +00:00
Gregor Brunmar 6f48e39be2 Fixed msvc project generation making duplicate project names.
svn path=/trunk/; revision=31007
2007-12-04 19:53:47 +00:00
Aleksey Bragin 714d0d6737 - Fix _enable/_disable intrinsics when compiling with WDK 6001.
svn path=/trunk/; revision=31006
2007-12-04 19:22:33 +00:00
Aleksey Bragin 5b82b54952 - Fix a typo.
svn path=/trunk/; revision=31005
2007-12-04 18:56:25 +00:00
Aleksey Bragin d7eb720f13 Do a full clean rebuild after this commit!
- Begin fixing CM_KEY_NODE.
- More proper use of registry lock in create operations.
- Use ObOpenObjectByName (as a test only, ignore the results) in CmpLinkHiveToMaster.
- Implement routines to acquire/release two KCB locks atomically.
- Implement KCB dereference without lock.
- Fix locking in CmpCreateKeyControlBlock so that it now properly locks KCBs when requested.
- Implement rudimentary new-style parse routine that only walks the registry path until it's time to create the link node (since this is the only scenario where it's called from). Prints out the status of the operation but doesn't actually do anything.

svn path=/trunk/; revision=31004
2007-12-04 18:44:51 +00:00
Hervé Poussineau b3fad2a219 Change service interface too
svn path=/trunk/; revision=31003
2007-12-04 17:21:46 +00:00
Hervé Poussineau 653942293a Update idl file too
svn path=/trunk/; revision=31002
2007-12-04 17:10:45 +00:00
Ged Murphy 36ade9da3b the 'trash' americanism drives me mad
svn path=/trunk/; revision=31001
2007-12-04 17:00:09 +00:00
Hervé Poussineau 379640be1c Use win types when possible
svn path=/trunk/; revision=31000
2007-12-04 16:40:12 +00:00
Christoph von Wittich 67c0893d5d check for a valid dc before accessing Dc_Attr
svn path=/trunk/; revision=30997
2007-12-04 15:31:11 +00:00
Hervé Poussineau 546ed0b8d6 CTRL+SCROLL LOCK+SCROLL LOCK should only work with right control key
svn path=/trunk/; revision=30996
2007-12-04 14:55:49 +00:00
Magnus Olsen e1f665fd09 remove wrong fixme comment from win32k
svn path=/trunk/; revision=30995
2007-12-04 09:42:05 +00:00
James Tabor 124f989076 Fix NtGdiFlush so it will not spam the debug list. Add changes and fixups.
svn path=/trunk/; revision=30994
2007-12-04 07:51:03 +00:00
James Tabor 657accd8bd Fix zero bug.
svn path=/trunk/; revision=30993
2007-12-04 02:52:46 +00:00
Johannes Anderwald f4edca4243 - show nice display name when full path for executable is available
- enumerate default open verb too
- look in HKCR progid for default verbs/file associations
- fix a bug in SHEOW_LoadOpenWithItems

svn path=/trunk/; revision=30992
2007-12-03 23:33:36 +00:00
Colin Finck 02a330f5da Always add _CRT_SECURE_NO_WARNINGS to the preprocessor definition list to disable warnings about not using the safe functions introduced in MSVC8.
svn path=/trunk/; revision=30991
2007-12-03 23:03:58 +00:00
Johannes Anderwald f076b05fed - display recently used programs
- append %1 to allow executing in default command
- store prog id as default key in new file ext
- assign default file association when requested

svn path=/trunk/; revision=30990
2007-12-03 22:52:27 +00:00
James Tabor ab3c49a539 Fix dce test. User32 wine test 57 pass and only 2 fail.
svn path=/trunk/; revision=30989
2007-12-03 22:03:26 +00:00
Gregor Brunmar f6378b2c7f Added registry key for video devices that exists in Windows
svn path=/trunk/; revision=30986
2007-12-03 18:39:13 +00:00
Gregor Brunmar ac99058ffc Fixed some minor things with (yet unused) svchost
svn path=/trunk/; revision=30985
2007-12-03 18:24:05 +00:00
Dmitry Chapyshev ec985fceef - Update icons
svn path=/trunk/; revision=30984
2007-12-03 17:44:44 +00:00
Daniel Reimer 5510ebae52 Finalized German rasdlg resource.
Added manifest.xml to rasdlg.

svn path=/trunk/; revision=30983
2007-12-03 15:29:13 +00:00
Christoph von Wittich 70d6253c17 update german translation
svn path=/trunk/; revision=30982
2007-12-03 10:37:31 +00:00
Aleksey Bragin 59013eaa31 - Build with "char" being "unsigned" by default, fixes MS's CRT assert.
svn path=/trunk/; revision=30981
2007-12-03 10:07:55 +00:00