Commit graph

24817 commits

Author SHA1 Message Date
Alex Ionescu b7c77071ec - Remove confusion.
svn path=/trunk/; revision=26763
2007-05-13 19:57:35 +00:00
Alex Ionescu 0e7bfb3fd3 - Fix crash at end of text-mode setup (by hacking cmlib not to write a log file anymore -- logs aren't critical and I'll see why exactly it couldn't write the log anymore later, and apply a proper fix).
svn path=/trunk/; revision=26762
2007-05-13 19:11:13 +00:00
Alex Ionescu 41abdae9ca - Remove more old/dead code.
svn path=/trunk/; revision=26761
2007-05-13 19:10:23 +00:00
Alex Ionescu cfb706a690 - HvGetCellSize should return the correct positive length instead of the raw negative length. Update code and callers to match.
- Add cmapi.c file containing internal Cm* APIs for the Nt counterparts and to make it easier to seperate the handle->object code, SEH and callback parts.
- Remove CmiAddValueToKey, CmiAllocateValueCell since we have new routines for this.
- Make NtSetValueKey a simple wrapper around CmSetValueKey.
- Implement CmSetValueKey based on previous code, but use newer Cm APIs instead (this also fixes some cell allocation bugs regarding Stable/Volatile storage).
- New code is more conservative with HvMakeCellDirty calls when they're not needed, and is more scalable to support big cells in the future.

svn path=/trunk/; revision=26760
2007-05-13 18:39:35 +00:00
Maarten Bosma 39932ced34 Some more CreateSurface Tests (for invaild flags)
svn path=/trunk/; revision=26759
2007-05-13 17:58:05 +00:00
Maarten Bosma 35b29a1d0a - Release Ddraw Object Test_CreateDDraw
- First Surface Test of many to follow
- GetMonitorFrequency and whitespace changes by EmuandCo

svn path=/trunk/; revision=26758
2007-05-13 17:31:35 +00:00
Alex Ionescu 779a784f15 - Fix critical bug in CmpCopyName, it wasn't compressing names at all.
- Implement new cmlib routines: HvIsCellAllocated, Doesn't really work fully since we don't support mapped-file hives, but works for the kinds of hives we currently use. HvIsCellDirty, should work as expected.
- Implement new cm routines: CmpMarkValueDataDirty, CmpFreeValueData, CmpFreeValue. There are generic so they can deal with Big, Small or Normal keys.
- Implement CmpAddValueToList, CmpSetValueDataNew.
- Add RtlCheckBit to winddk.h, it's inlined instead of being an actual function call.

svn path=/trunk/; revision=26757
2007-05-13 16:58:54 +00:00
Magnus Olsen 75685e5dd4 adding more check for createsurface
svn path=/trunk/; revision=26756
2007-05-13 16:51:15 +00:00
Maarten Bosma e37697709f Beginning of CreateSurface test.
svn path=/trunk/; revision=26755
2007-05-13 16:37:58 +00:00
Hervé Poussineau f9560fb69d Move itss.idl to the place it belongs
svn path=/trunk/; revision=26754
2007-05-13 14:38:27 +00:00
Magnus Olsen 85c06f6f40 adding more check
svn path=/trunk/; revision=26753
2007-05-13 13:14:54 +00:00
Magnus Olsen 393d729ca1 fixing two return code thx Ventron for the info for one of the return code
svn path=/trunk/; revision=26752
2007-05-13 12:43:51 +00:00
Magnus Olsen 336c7c37c4 adding smore check for createsurface, (still does not create a surface)
svn path=/trunk/; revision=26751
2007-05-13 12:11:41 +00:00
Maarten Bosma 57f86bb38b Add debugging macro to get error code and test for display modes (commented out because it checks every single display mode and thus takes fairly long).
svn path=/trunk/; revision=26750
2007-05-13 12:09:44 +00:00
Maarten Bosma ba36cacf56 SetCooperativeLevel Test
svn path=/trunk/; revision=26749
2007-05-13 09:58:47 +00:00
Magnus Olsen b955734dc0 fixing more linux build issue
svn path=/trunk/; revision=26748
2007-05-13 08:47:35 +00:00
Dmitry Gorbachev 7622d26ba5 Update Polish translation. Patch by Caemyr. Bug report #2249.
svn path=/trunk/; revision=26747
2007-05-13 08:46:14 +00:00
Magnus Olsen 968fb23c3b fixing a path issue so it is compatible with linux
svn path=/trunk/; revision=26746
2007-05-13 08:38:22 +00:00
Timo Kreuzer c21f54bb23 handle FW_DONTCARE in GetFontScore. Fixes gray/thin display of dialogbox elements' text.
svn path=/trunk/; revision=26743
2007-05-13 02:31:00 +00:00
Timo Kreuzer 8e23820aa6 On win XP the gdi handle index can be > 0x3fff, so change GDI_HANDLE_INDEX_MASK to 0x0000ffff to not fail on win XP on higher handle index.
svn path=/trunk/; revision=26742
2007-05-13 00:57:09 +00:00
Dmitry Gorbachev 7bef6e865e Check result of ANSI -> Unicode conversion, which can fail in the case of
memory shortage.

svn path=/trunk/; revision=26741
2007-05-12 22:54:58 +00:00
Maarten Bosma a6e430f084 Add it to build.
svn path=/trunk/; revision=26740
2007-05-12 19:43:23 +00:00
Maarten Bosma 1c0a28e0fa Start of ddraw test case.
svn path=/trunk/; revision=26739
2007-05-12 19:43:01 +00:00
Magnus Olsen 053c08fc8e commit some bugfix for ddraw createsurface, fixing comping as well
svn path=/trunk/; revision=26738
2007-05-12 19:20:54 +00:00
Magnus Olsen e535eb641e fixing smaller bugs
svn path=/trunk/; revision=26737
2007-05-12 18:33:28 +00:00
Maarten Bosma bf51ef9a82 Create Internal_CreateSurface stub.
svn path=/trunk/; revision=26736
2007-05-12 17:50:09 +00:00
Magnus Olsen 9dbe363154 implement internal api CopyDDSurfDescToDDSurfDesc2
svn path=/trunk/; revision=26735
2007-05-12 17:48:27 +00:00
Maarten Bosma a54fcea595 - outsourced DirectDraw_SetCooperativeLevel
- adjusted .c file headers

svn path=/trunk/; revision=26734
2007-05-12 17:30:37 +00:00
Magnus Olsen 9fb321d933 start implement Main_DirectDraw_CreateSurface
we need now finish  internal_CreateSurface and  CopyDDSurfDescToDDSurfDesc2

svn path=/trunk/; revision=26733
2007-05-12 17:23:48 +00:00
Maarten Bosma 1846501455 Reformating
svn path=/trunk/; revision=26732
2007-05-12 16:37:17 +00:00
Maarten Bosma 80e4e04c0c Sorry, just noticed that I forgot to commit this one.
svn path=/trunk/; revision=26731
2007-05-12 16:29:58 +00:00
Maarten Bosma 8658735640 Formating
svn path=/trunk/; revision=26730
2007-05-12 16:28:54 +00:00
Maarten Bosma 4a65ec1dcc splitted rosdraw.h; outsourced big comment into text file.
svn path=/trunk/; revision=26729
2007-05-12 16:21:50 +00:00
Magnus Olsen 216cb06c21 forget this change, did think it still was in svn.
svn path=/trunk/; revision=26728
2007-05-12 15:52:09 +00:00
Magnus Olsen a05a002084 start reimplement createsurface
svn path=/trunk/; revision=26727
2007-05-12 15:50:26 +00:00
Maarten Bosma 499e453d66 Fix warning.
svn path=/trunk/; revision=26726
2007-05-12 15:45:54 +00:00
Maarten Bosma b4e08acebe Forgot to include surface_main.c in ddraw.rbuild.
svn path=/trunk/; revision=26725
2007-05-12 15:24:54 +00:00
Maarten Bosma c0c39ccc77 DirectDraw rearrangement. (part 2/2)
svn path=/trunk/; revision=26724
2007-05-12 14:58:26 +00:00
Maarten Bosma b2247432db DirectDraw rearrangement. (part 1/2)
svn path=/trunk/; revision=26723
2007-05-12 14:20:12 +00:00
Magnus Olsen afe388c584 sorry did use some private headers that are not commited yet, here is win32kdxtest comping fix.
svn path=/trunk/; revision=26722
2007-05-12 13:58:27 +00:00
Maarten Bosma 52e0d50e08 Deactivate a check.
svn path=/trunk/; revision=26721
2007-05-12 13:17:01 +00:00
Eric Kohl 7e499053cd - Attach clock specific data to the window instead of storing them in global variables.
- Stop the clock and show the system time when the user changes the system time.

See issue #2241 for more details.

svn path=/trunk/; revision=26720
2007-05-12 12:37:23 +00:00
Ged Murphy d5d68cf53f - Add winhelp based on Wine.
- Not fully complete and has some bugs.
- go to help -> help on help for a preview

svn path=/trunk/; revision=26719
2007-05-12 10:14:45 +00:00
Magnus Olsen 62ae8a3919 update dxhaltest with some new test, Thuse test are not 100% correct in all case. some error should be supress when it been run in vmware with windows or reactos
svn path=/trunk/; revision=26718
2007-05-12 10:14:22 +00:00
Aleksey Bragin a3d6e8f3e9 Undo last change, since it's an index in an array of TCHARs, so "1" is correct.
svn path=/trunk/; revision=26717
2007-05-12 08:44:49 +00:00
Alex Ionescu 8202615b33 - Rename CmiInitNonVolatileRegistryHive to CmiInitHiveFromFile.
- Remove CmiCreateNewRegFile and the way new hives were created, saved, then re-reloded. Instead initialize a new hive only once.
- Add support for calling either HINIT_FILE or HINIT_CREATE with a hive, and support log file hives now.
- Make hacks/oldcm differences smoother, and copy routine to cmsysini.c, since it's now compatible with the rewrite. This is probably the last function that was easily convertible/modifiable.

svn path=/trunk/; revision=26716
2007-05-12 08:27:28 +00:00
Magnus Olsen 66d03d55cd did see a small mistake use sizeof(TCHAR) for adding NULL termeting of string for u do not known if we switch compile regedit as unicode-16 or ANSI.
svn path=/trunk/; revision=26715
2007-05-12 08:27:00 +00:00
Alex Ionescu ff7c618dd0 - Change CmiInitNonVolatileRegistry hive to use CmpOpenHiveFiles and CmpInitializeHive. Required a lot of hacking to get to work right, but at least it does, and uses our new code paths.
- Update CmpInitializeHive with the HINIT_FILE hack required for current cmlib functionality.

svn path=/trunk/; revision=26714
2007-05-12 06:47:39 +00:00
James Tabor 7ae94663c6 Moving FLOATOBJ code in preparations of implementation of basic float storage emulation and float code processing.
svn path=/trunk/; revision=26713
2007-05-12 04:48:40 +00:00
Alex Ionescu ef1f549526 - Get rid of CmiCopyKey since it was dead code. Make CmiScanKeyForValue and CmiScanForSubKey simple wrappers around the newer CmpFindSubKeyByName and CmpFindValueByName routines.
- Allow cmlib to support HINIT_FILE flag for HvInitializeHive. This means the kernel doesn't need to create a section for the hive, then call HvInitializeHive with HINIT_MEMORY anymore, and can simply send the file handle. I wrote a sneaky little hack in cmlib which actually ends up doing the same idea, albeit not by using a section, making it portable.
- Fix a serious bug in CmpFindSubKeyInLeaf affected by our lack of alphabetically-sorted cells; the linear search I hacked was slightly broken.
- Remove the need to hold a LogFileName in the hive structure, since we generate it dynamically now.

svn path=/trunk/; revision=26712
2007-05-12 03:28:04 +00:00