Commit graph

28571 commits

Author SHA1 Message Date
Dmitry Chapyshev
b82d0d95a3 - Add itself rasman.dll (Part 3/3)
svn path=/trunk/; revision=31308
2007-12-18 16:47:49 +00:00
Dmitry Chapyshev
cfaf9a83f3 - Add baseaddress for rasman.dll (Part 2/3)
svn path=/trunk/; revision=31307
2007-12-18 16:41:37 +00:00
Dmitry Chapyshev
1a67ac9564 - Add header for rasman.dll (Part 1/3)
svn path=/trunk/; revision=31306
2007-12-18 16:40:32 +00:00
Ged Murphy
0b2da4ea54 add LR_COPYDELETEORG and ignore LR_COPYFROMRESOURCE
svn path=/trunk/; revision=31305
2007-12-18 14:56:01 +00:00
Ged Murphy
da6e62e245 return the icon bpp in the call to NtUserGetIconInfo
svn path=/trunk/; revision=31304
2007-12-18 14:28:56 +00:00
Ged Murphy
997bebd3b8 update ntuser header
svn path=/trunk/; revision=31303
2007-12-18 13:50:56 +00:00
Ged Murphy
eeb93976b2 - Add a very bare bones implementation of IMAGE_ICON for CopyImage.
- Move the IMAGE_BITMAP stuff to a seperate function which will eventually be rewritten.

svn path=/trunk/; revision=31302
2007-12-18 13:49:38 +00:00
Ged Murphy
4bce737574 - Fix NtUserGetIconInfo and use SEH directly.
- Fix the NtUserSetCursorIconData definition and rewrite it (not fully complete)

svn path=/trunk/; revision=31301
2007-12-18 13:49:00 +00:00
Aleksey Bragin
a03416ebf8 - Recommit the fixed winebuild. The fix was to:
* remove Colin's 31297.
 * spec32.c:625, substitute odp->name check with (odp->name || odp->export_name) check.

svn path=/trunk/; revision=31300
2007-12-18 11:00:37 +00:00
Aleksey Bragin
0bb029564f Filip Navara <xnavara at volny dot cz> 's christmas gift
- Fix certain cases of deallocation inside registry hives.
- Add debug output in case of a problem in HvpRemoveFree.

svn path=/trunk/; revision=31299
2007-12-18 10:13:45 +00:00
Colin Finck
cf6d1c80e6 Revert 31292, 31294 and 31297.
Every change I try for fixing the build in one component breaks the build for another component.
winebuild wasn't synchronized completely to the Wine version anyway, and the current Wine version removed support for the --pedll option we use, so a full clean sync isn't possible.

svn path=/trunk/; revision=31298
2007-12-17 23:36:09 +00:00
Colin Finck
f22e568f90 Get rid of make_internal_name() and only use the name or export name now, also for stub functions.
This is already done this way when creating the SPEC files, but wasn't done when creating the C files with the stubs.

svn path=/trunk/; revision=31297
2007-12-17 23:22:34 +00:00
Colin Finck
c4649e3235 Rename DSOUND_DllRegisterServer to DllRegisterServer and DSOUND_DllUnregisterServer to DllUnregisterServer. (the same is already done in the other DirectX DLL's with SPEC files)
I wonder how dsound.dll could be compiled in the past cause the SPEC file never referenced to these functions.

This should fix the build breakage.

svn path=/trunk/; revision=31296
2007-12-17 22:01:06 +00:00
Gregor Brunmar
1533c7c528 * Check SDKVersion and print error message if debug flag is specified.
* New CreateD3D9 internal function to create a valid IDirect3D9 object.

svn path=/trunk/; revision=31295
2007-12-17 21:22:40 +00:00
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