Commit graph

28557 commits

Author SHA1 Message Date
Aleksey Bragin 10d88685d7 - It should use only host headers.
svn path=/trunk/; revision=31294
2007-12-17 20:53:08 +00:00
James Tabor 721122fed7 First restructure and reorder the code. Identify bugs and make corrections. Found DCX_CACHE sets to owned DCEs, we do not hold dcattr after ReleaseDC as we should and did not handle ClassDCs correctly. Will continue.
svn path=/trunk/; revision=31293
2007-12-17 20:23:31 +00:00
Aleksey Bragin 26c115dc6a Sync winebuild (keeping ReactOS-specific changes).
3 days ago Michael Stefaniuc winebuild: Remove duplicate declaration of variable ...
6 days ago Alexandre Julliard winebuild: Don't set the IMAGE_FILE_DLL flag on native ...
10 days ago Alexandre Julliard winebuild: Also optimize out imports that are only ...
10 days ago Alexandre Julliard winebuild: Improved checks for missing forward entry ...
10 days ago Alexandre Julliard winebuild: Print a warning when failing to import a ...
2007-11-07 Alexandre Julliard winebuild: Add a few nops to stub entry points to make ...
2007-10-26 Alexandre Julliard winebuild: Add a -ordinal flag for entry points that ...
2007-09-10 Dmitry Timoshkov winebuild: Add IMAGE_FILE_32BIT_MACHINE flag for a ...
2007-07-19 Alexandre Julliard ntdll: Move private data to make room in the TEB for ...
2007-05-29 Dmitry Timoshkov winebuild: Mark builtin DLLs as IMAGE_FILE_LARGE_ADDRES ...
2007-05-24 Alexandre Julliard winebuild: Set the IMAGE_FILE_EXECUTABLE_IMAGE flag ...
2007-05-21 Dmitry Timoshkov winebuild: Fix compilation warnings in 64-bit mode.
2007-04-25 Rob Shearman winebuild: Refer to strings used in generated stubs ...
2007-04-09 Dmitry Timoshkov winebuild: Check if a given forward does exist in one ...
2007-03-17 Andrew Talbot winebuild: Replace inline static with static inline.
2007-03-05 Joris Huizer winebuild: sign-compare fixes.
2006-12-27 Alexandre Julliard make_makefiles: Generate the top-level .gitignore file.
2006-12-07 Alexandre Julliard winebuild: Added --nxcompat option, and mark all module ...
2006-12-04 Alexandre Julliard winebuild: Check for illegal characters in entry point ...
2006-10-12 Andrew Talbot winebuild: Cast-qual warning fix.
2006-09-14 Alexandre Julliard makefiles: Generate the dependencies line to avoid ...
2006-08-23 Andrew Talbot winebuild: Cast-qual warnings fix.
2006-08-11 Alexandre Julliard winebuild: Added output() function to properly deal ...
2006-08-07 Alexandre Julliard makefiles: Use make dependencies to create installation ...
2006-07-11 Ge van Geldorp winebuild: Save registers which might contain parameter ...
2006-07-11 Ge van Geldorp winebuild: Reserve enough space for null function pointer.
2006-07-10 Alexandre Julliard Take advantage of the recursive nature of .gitignore ...
2006-06-19 Alexandre Julliard winebuild: Get rid of the data16 prefix, it shouldn't ...
2006-06-13 Alexandre Julliard winebuild: Fix a few printf format warnings by casting ...
2006-05-23 Jonathan Ernst Update the address of the Free Software Foundation.
2006-04-18 Alexandre Julliard winebuild: Disable linking to external symbols by default.
2006-04-18 Alexandre Julliard winebuild: Fixed index in module table for delayed ...
2006-04-05 Alexandre Julliard winebuild: Remove a no longer necessary movzwl instruction.
2006-02-16 Robert Shearman winebuild: Correction for manpage.
2006-02-14 Mike Frysinger Add support for 'make install DESTDIR'.
2006-01-24 Alexandre Julliard winebuild: Get rid of the default ignored symbols list.
2006-01-23 Alexandre Julliard winebuild: Always import atof, the MS version is different.
2006-01-21 Marcus Meissner winebuild: Output a .note.GNU-stack section to allow ...
2006-01-20 Alexandre Julliard winebuild: Moved offset definitions to relay.c since ...
2006-01-20 Alexandre Julliard ntdll: Move the %gs register to the ntdll_thread_regs ... 

svn path=/trunk/; revision=31292
2007-12-17 20:17:36 +00:00
Ged Murphy 1e284d22a4 - Don't leak bitmaps in the CopyIcon call.
- Pass the call on, don't call straight into win32k

svn path=/trunk/; revision=31291
2007-12-17 16:31:10 +00:00
Ged Murphy c5d666d363 update header
svn path=/trunk/; revision=31290
2007-12-17 09:41:33 +00:00
Ged Murphy 6d9378a1fd - Add a new routine to NtUSerCallOneParam which returns newly created handles for icons and cursors
- Fix the NtUserGetIconSize prototype

svn path=/trunk/; revision=31289
2007-12-17 09:40:48 +00:00
Daniel Reimer 5d9d776a8e Updated German Input.cpl Resource.
svn path=/trunk/; revision=31288
2007-12-17 09:06:07 +00:00
Hervé Poussineau 7fd1284a89 Use kernel facilities to change debug level at runtime
svn path=/trunk/; revision=31287
2007-12-16 21:12:54 +00:00
Hervé Poussineau 4cf058de4c Use kernel facilities to change debug level at runtime
svn path=/trunk/; revision=31286
2007-12-16 21:00:44 +00:00
Dmitry Chapyshev 79c2227121 - Add some functionality
- Small fixes and updates

svn path=/trunk/; revision=31284
2007-12-16 20:02:17 +00:00
Aleksey Bragin 137d8c4897 - A bit of cleanup (no code change).
svn path=/trunk/; revision=31283
2007-12-16 17:23:38 +00:00
Aleksey Bragin 8918c7ecb0 - Add a signature field to KCBs, and use it to validate KCBs as well as to mark them dead after they've been freed (to catch invalid reuse).
- Add assertions to make sure key hashes are valid.
- Finish implementing EnlistKeyBodyWithKCB since the new parse routine is now used, and implement analogous DelistKeyBodyFromKCB.
- Fix delay item allocation code which was overwriting pool memory.
- Re-enable allocation-page support for allocating KCBs.
- Implement the CmpDelayDerefKCBWorker now that delay alloc/free works.
- Fix CmpDelayDerefKeyControlBlock which was overwriting KCB flags and incorrectly setting reference counts for the KCB.
- CmpDelayCloseWorkItemActive should be enabled when arming the delayed close timer.
- Fix reference counting bugs in CmpAddToDelayedClose and CmpRemoveFromDelayedClose.
- Fix wrong sizes of CM_KCBS_PER_PAGE and CM_DELAYS_PER_PAGE which caused more pool overwrites.

svn path=/trunk/; revision=31282
2007-12-16 16:37:15 +00:00
Aleksey Bragin db48b40873 - Add shared->Exclusive promotion support to value cache routines as well.
- Implement CmpCompareNewValueDataAgainstKCBCache as an optimization during Set Value Key operations, so that if the value is already identical, it will not be written again.

svn path=/trunk/; revision=31280
2007-12-16 15:41:48 +00:00
Pierre Schweitzer 140729513a Fixed some details
svn path=/trunk/; revision=31279
2007-12-16 15:25:17 +00:00
Sylvain Petreolle 3d5e4d8fd3 fix typo
svn path=/trunk/; revision=31278
2007-12-16 14:55:48 +00:00
Hervé Poussineau 16168cb5ea Fix typo spotted by Usurp
svn path=/trunk/; revision=31277
2007-12-16 14:44:01 +00:00
Magnus Olsen 8484152675 patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
add d3d COM interface to ddraw.dll
Fixed smaller bugs as well

svn path=/trunk/; revision=31276
2007-12-16 14:07:33 +00:00
Aleksey Bragin ca19199176 - ARC hardware device tree passed to the kernel contains only partial descriptors (contents of full descriptors was ignored anyway).
svn path=/trunk/; revision=31274
2007-12-16 10:04:04 +00:00
Pierre Schweitzer bf0be00a24 Updated French translations for calc, shell32, syssetup
svn path=/trunk/; revision=31272
2007-12-16 09:53:56 +00:00
Timo Kreuzer 0915b2ac9b fix export definition
svn path=/trunk/; revision=31271
2007-12-16 02:45:59 +00:00
Timo Kreuzer ae9965fb5d w32kdll for windows 2003 SP2
svn path=/trunk/; revision=31270
2007-12-16 02:32:20 +00:00
Magnus Olsen 53ddbc9868 do not try add DDSD_LPSURFACE when it is already been set
svn path=/trunk/; revision=31269
2007-12-16 00:56:43 +00:00
Magnus Olsen 2dd0e4bc06 fix a typo
svn path=/trunk/; revision=31268
2007-12-16 00:46:43 +00:00
Magnus Olsen dbd6da8f76 fix a bug in createsurface
DDSD_LPSURFACE should only be automatic set if we have a system memory surface.
 

svn path=/trunk/; revision=31267
2007-12-16 00:43:22 +00:00
Magnus Olsen 2bae495105 fix another bug in createsurface
a program does not need set the flag DDSD_LPSURFACE, if they forget ddraw will automatic set it.

svn path=/trunk/; revision=31266
2007-12-16 00:38:22 +00:00
Magnus Olsen bff867887d fix a check in createsurface
do not accpect if both flag DDSCAPS_SYSTEMMEMORY and DDSCAPS_VIDEOMEMORY are set in pDDSD->ddsCaps

svn path=/trunk/; revision=31265
2007-12-16 00:28:35 +00:00
Johannes Anderwald 9ff46b90e2 - fix typo spotted by towerr
thanks

svn path=/trunk/; revision=31263
2007-12-15 22:19:24 +00:00
Aleksey Bragin d9633373f6 - Use CmpLockRegistry instead of manual registry locking -- this also makes the registry lock shared instead of exclusive.
- Start using KCB locking/unlocking, usually shared first.
- Support KCB lock promotion from shared to exclusive when value cache functions require it (SearchNeedExclusiveLock -- not yet used).
- Add multiple checks for deleted KCBs so that operations on them fail.
- Protect symlinks from being erroneously modified.
- Remove a ReactOS symlink hack.
- Add code to setup the KCB Value Cache (right now we use the node list since nobody was setting the value cache up).
- Detect and assert on CM_KCB_SYM_LINK_FOUND, this is used by caching which we don't support.
- Protect KEY_NO_DELETE nodes from deletion.
- Lock the registry during hive flushing.
- Respect CmpNoWrite if it's set.
- Don't ignore Allocate flag sent to CmpLinkhivetoMaster during hive loading.

svn path=/trunk/; revision=31262
2007-12-15 22:06:10 +00:00
Magnus Olsen 442b5501fe Fixed param checks in createsurface code. and one wrong if check
svn path=/trunk/; revision=31260
2007-12-15 21:34:17 +00:00
Magnus Olsen 567306df67 always initate ppSurf to NULL if createsurface fail, the ppSurf must be zero out.
svn path=/trunk/; revision=31259
2007-12-15 21:25:39 +00:00
Magnus Olsen 4485c07783 Do not create a surface from wrong process.
if we found it was another process try call on createsurface that have started ddraw it will fail. 

svn path=/trunk/; revision=31258
2007-12-15 20:53:33 +00:00
Aleksey Bragin 0f4bc4008d - Fix typo in KCB flag.
- CmDeleteKey takes a Key Body, not a KCB.
- Simplify some code since ValueCache.RealKCB is a KCB now, not a hacked PKEY_OBJECT, so a bunch of typecasts can be removed.
- Implement CmpCleanUpSubKeyInfo to remove cached subkey information when a KCB is deleted (subkeys are not cached yet, however).
- Add checks in various code paths to make sure we don't touch a read-only KCB.
- Don't double-dereference a key object during a delete.
- Add checks for invalid key information classes.
- For KeyNameInformation, the caller must have some handle access to succeed the call.
- Validate alignment of key value names.
- Don't accept NULLs at the end of key value names.
- Validate key value name lengths.
- Validate data lengths.
- Remove a couple of forced lazy flushes that aren't required anymore.
- Use CmpLockRegistry() in ntapi.c instead of the manual lock release.

svn path=/trunk/; revision=31257
2007-12-15 20:51:40 +00:00
Dmitry Chapyshev 55dcdfc6c9 - Add Bulgarian layouts
svn path=/trunk/; revision=31256
2007-12-15 19:17:32 +00:00
Dmitry Chapyshev 14cdb9e388 - Add some languages from wine
svn path=/trunk/; revision=31255
2007-12-15 18:44:56 +00:00
Hervé Poussineau 1f387a2397 Check if symbols are defined, not their value!
svn path=/trunk/; revision=31254
2007-12-15 18:38:24 +00:00
Aleksey Bragin f3e67d1114 - Use CmPrepareKey only in cmlib, since it's a cmlib hack.
svn path=/trunk/; revision=31253
2007-12-15 18:25:08 +00:00
Aleksey Bragin 0b6a2fda00 - Implement NtCreateKey using the new parse routine.
- NtOpenKey should only return the key handle if the operation was successful.
- Point to new parse routine, and rename it to CmParseKey instead of CmParseKey2 which was used during the test phase.
- Delete all of the "cm" directory, this code is now fully gone; the new Configuration Manager is in place.
- Move cm.h and cm_x.h to include/internal where they belong to and fix all their includers.

svn path=/trunk/; revision=31252
2007-12-15 18:14:41 +00:00
Aleksey Bragin ffa5f05eca - Implement BIOS access routines in HAL.
- Implement HalResetDisplay using those routines.
- Uncomment a display reset in bootvid (as real Windows bootvid does).
- Remove 1 sec delay from the shutdown thread.
- As a result, no more red screen flashing at the end of the 1st stage, shutdown quotes are displayed again, and BSODs are shown correctly.

svn path=/trunk/; revision=31251
2007-12-15 17:15:48 +00:00
Sylvain Petreolle 6d60d0c394 french translation for usetup
svn path=/trunk/; revision=31250
2007-12-15 16:52:40 +00:00
Daniel Reimer 4255cdb33e eeevil trailing spaces :D
svn path=/trunk/; revision=31249
2007-12-15 16:30:15 +00:00
Johannes Anderwald f7611e2090 - swedish translation of usetup by Stefan Ginsberg stefan__100__@hotmail.com
- IRC: Stefan100

svn path=/trunk/; revision=31248
2007-12-15 16:25:42 +00:00
Daniel Reimer c53906d07e Updated German USetup localisation. (Not tested yet, if the string are too long.)
svn path=/trunk/; revision=31247
2007-12-15 16:21:12 +00:00
Aleksey Bragin a78f0c5728 - Add eol-style:native.
svn path=/trunk/; revision=31246
2007-12-15 16:18:49 +00:00
Johannes Anderwald 0600d749e8 - sorry for breaking build
svn path=/trunk/; revision=31245
2007-12-15 16:08:01 +00:00
Johannes Anderwald d42a0f2bb3 - move static errocodes to header
- translation of errorcodes is not yet ready

svn path=/trunk/; revision=31244
2007-12-15 14:24:02 +00:00
Dmitry Chapyshev 204a24b33e - Add Russian Translation
svn path=/trunk/; revision=31243
2007-12-15 12:48:07 +00:00
Daniel Reimer a6e6b11761 Bug 2884 : New greek resource files (djapal@gmail.com)
svn path=/trunk/; revision=31242
2007-12-15 12:41:54 +00:00
Hervé Poussineau a3c09fcea9 Fix {module}_clean target
svn path=/trunk/; revision=31241
2007-12-15 12:27:30 +00:00
Ged Murphy a054098132 remove NtUserGetCursorIconSize
svn path=/trunk/; revision=31240
2007-12-15 12:17:34 +00:00
Ged Murphy a8d5e08510 remove the ros only NtUserGetCursorIconSize and implement NtUserGetIconSize in it's place
svn path=/trunk/; revision=31239
2007-12-15 12:16:45 +00:00