Commit graph

24855 commits

Author SHA1 Message Date
Maarten Bosma 3fa5e74711 - Tests for Compact, TestCooperativeLevel, Initialize, GetDisplayMode, RestoreDisplayMode
- Merge GetMonitorFrequency Test with other Display Mode Tests

svn path=/trunk/; revision=26810
2007-05-16 20:42:33 +00:00
Maarten Bosma d64da71c44 - Enable display mode tests but do not tests all of them, but only the first five onces.
- Add tests for AddRef, QueryInterface, Release

svn path=/trunk/; revision=26809
2007-05-16 18:57:21 +00:00
Maarten Bosma e2ad78e62d Add downloader.xml again.
svn path=/trunk/; revision=26808
2007-05-16 18:11:25 +00:00
Maarten Bosma be864d9d6e Revert r25952 for now.
svn path=/trunk/; revision=26807
2007-05-16 18:05:03 +00:00
Dmitry Gorbachev 8559c5a684 Fix WinSock mapping data.
svn path=/trunk/; revision=26806
2007-05-16 15:52:50 +00:00
Dmitry Gorbachev bf6eed30bc Do not divide by zero.
svn path=/trunk/; revision=26805
2007-05-16 15:52:27 +00:00
Dmitry Gorbachev d9e562832a Polish translation update by Olaf Siejka. BugZilla report #2254.
svn path=/trunk/; revision=26804
2007-05-16 09:55:37 +00:00
Ged Murphy 332eec647d a better winmine icon
svn path=/trunk/; revision=26803
2007-05-15 22:27:34 +00:00
Ged Murphy 7d6e95e227 add a regedit icon, made for ReactOS by Taliesin Penfound (tpenfound at gmail!com)
svn path=/trunk/; revision=26802
2007-05-15 22:20:35 +00:00
Eric Kohl 722745be27 Implement sound acessibility settings.
svn path=/trunk/; revision=26801
2007-05-15 21:59:14 +00:00
James Tabor 12ccaa3207 Finish up float.c, hopfully the div and sub math is right.
svn path=/trunk/; revision=26799
2007-05-15 20:48:58 +00:00
Dmitry Gorbachev 0a44b61c7f Fix Italian rc file. Bug report #2253. From Paolo Devoti.
svn path=/trunk/; revision=26798
2007-05-15 20:16:08 +00:00
Maarten Bosma e381e0f4df Fix types in startup.c.
svn path=/trunk/; revision=26795
2007-05-15 17:52:00 +00:00
Maarten Bosma f6773f20a3 Fix compiler warning.
svn path=/trunk/; revision=26794
2007-05-15 17:41:27 +00:00
Maarten Bosma ada941267c Some formatting and implement SetDisplayMode.
svn path=/trunk/; revision=26793
2007-05-15 16:18:30 +00:00
Aleksey Bragin 149c5b1cae - Revert rpcrt4 update, too buggy for now. My apologizes.
svn path=/trunk/; revision=26792
2007-05-15 12:12:42 +00:00
Aleksey Bragin 3d1bf7d14e - Make advapi32 compilable without CUNITs.
svn path=/trunk/; revision=26790
2007-05-15 11:21:09 +00:00
Aleksey Bragin c08df38aaa - Sync RPCRT4.dll to Wine-20070507 (recent release Wine 0.9.36).
- Fix a couple of headers.
- NOTE: I tested this rpcrt4 under ReactOS 0.3.1 and it boots normally. However, for future work, a wrapper library around winsock should be built, and a rpcrt4_ros.diff should be developer. Right now it's manually synced, and contains a few modifications (marked as #ifdef FIX_LATER in most cases).
Also, I'm not going to do a proper vendor import of this library, because next sync will most probably be autosync.
In case of problems, it could be reverted.

svn path=/trunk/; revision=26789
2007-05-15 11:19:12 +00:00
Christoph von Wittich 00495fbe26 changed some german translations
svn path=/trunk/; revision=26787
2007-05-15 01:49:17 +00:00
Hervé Poussineau a3bda9f0e6 One more fix for release build
svn path=/trunk/; revision=26786
2007-05-14 21:09:52 +00:00
Hervé Poussineau 94e0b70c25 Try to fix release build
svn path=/trunk/; revision=26785
2007-05-14 20:28:26 +00:00
Alex Ionescu 753ad4922b - Re-organize regobj.c so that new APIs are at the bottom.
- Make NtDeleteKey delete the key in-line instead of waiting for the Ob callback.

svn path=/trunk/; revision=26784
2007-05-14 20:24:12 +00:00
Hervé Poussineau 5f71c28029 Also define the DPRINT_ constants in release mode
svn path=/trunk/; revision=26783
2007-05-14 20:07:16 +00:00
Aleksey Bragin 368e2849a5 - Fix debug print macros (by hpoussin).
svn path=/trunk/; revision=26782
2007-05-14 20:01:05 +00:00
Alex Ionescu 475bf24b50 - Implement CmpFindSubKeyByNumber and CmpDoFindSubKeyByNumber.
- Make NtEnumerateKey a simpler wrapper around CmEnumerateKey.
- Implement CmEnumerateKey by using the same API as previously, CmpQueryKeyData instead of duplicating code like the previous version did. Use CmpFindSubKeyByNumber to convert from index to key node.
- Remove CmiGetValueFromKeyByIndex, CmiGetKeyFromHashByIndex, CmiCopyPackedName: deprecated.

svn path=/trunk/; revision=26781
2007-05-14 19:35:58 +00:00
Alex Ionescu 64f4f03b95 - Make CmiGetMaxClassLength, CmiGetMaxNameLength, CmiGetMaxValueDataLength, CmiGetMaxValueNameLength use PHHIVE and PCM_KEY_NODE instead of PKEY_OBJECT or PERGSITRY_HIVE/PCM_KEY_NDOE so they're consistent.
- Implement NtQueryKey as a simple wrapper around CmQueryKey.
- Implement CmQueryKey based on previous code, and handle only the classes that the previous code handled, through CmpQueryKeyData.
- The CmiGetMax* routines will be depreated soon since they're a perf hit and we should be reading the key node's values instead.

svn path=/trunk/; revision=26780
2007-05-14 18:12:57 +00:00
Alex Ionescu 934cae8069 - Implement NtEnumerateValueKey as a simpler wrapper.
- Implement CmEnumerateValueKey. Simply calls already-existing Value Cache routines (CmpGetValueListFromCache, CmpGetValueKeyFromCache and CmpQueryKeyValueData) to do all the work.

svn path=/trunk/; revision=26778
2007-05-14 06:40:40 +00:00
Alex Ionescu 3ecce0a306 - Delete CmiGetPackedNameLength, CmiComparePackedNames, CmiCompareHash, CmiCompareHashI, CmiCompareKeyNames, CmiCompareKeyNamesI; dead code.
svn path=/trunk/; revision=26775
2007-05-14 05:43:27 +00:00
Alex Ionescu c045c30908 - Implement NtQueryValueKey as a simple wrapper around CmQueryValueKey (same idea as always).
- Add cmvalche.c to deal with Value Caches. Cm implements these to quickly look up either the value list and/or the value index and/or the value data itself.  The routines fallback on non-cached access, which is what we currently do, since we don't have value caches yet.
- Implement CmQueryValueKey and CmpQueryKeyValueData based on previous code, but update to use value caches and new routines.

svn path=/trunk/; revision=26774
2007-05-14 05:36:25 +00:00
James Tabor 6f9af1cef6 Implement FLOATOBJ_GetFloat and Long, SetFloat and Long, and Neg.
svn path=/trunk/; revision=26773
2007-05-14 03:55:28 +00:00
James Tabor 5bca352f7d Update painting.c with new storage method for floating point operations.
svn path=/trunk/; revision=26772
2007-05-14 03:18:42 +00:00
Christoph von Wittich ac6836eee1 asome extra space for the german text
svn path=/trunk/; revision=26771
2007-05-14 01:09:50 +00:00
Christoph von Wittich 0a26c894c2 some extra space for the text (to be displayed completely)
svn path=/trunk/; revision=26770
2007-05-14 01:05:57 +00:00
James Tabor bea034c7dc Commit union for float conversion.
svn path=/trunk/; revision=26769
2007-05-14 00:47:29 +00:00
Alex Ionescu 4752c4b4c7 - Implement NtDeleteValueKey as a simple wrapper around CmDeleteValueKey so that handles, callbacks and SEH is abstracted away.
- Implement CmpRemoveValueFromList.
- Implement CmDeleteValueKey based on the old code, make it use CmpRemoveValueFromList.
- Remove CmiDeleteValueFromKey, CmiDestroyValueCell.

svn path=/trunk/; revision=26768
2007-05-14 00:44:26 +00:00
Dmitry Gorbachev e834db9305 Fix r26764.
svn path=/trunk/; revision=26766
2007-05-13 22:44:36 +00:00
Maarten Bosma ec669d109c Lots of additional cases by EmuandCo.
svn path=/trunk/; revision=26765
2007-05-13 20:31:38 +00:00
Alex Ionescu 03466c9be1 - Properly remove trailing \r\n depending on system configuration. Previous code assumed our wmc tool used target-newlines instead of host-newlines, causing Linux builds to display incorrect boot messages. New code scans the string.
svn path=/trunk/; revision=26764
2007-05-13 20:26:08 +00:00
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