Commit graph

28422 commits

Author SHA1 Message Date
Marc Piulachs ecf35e3b7e - Trimed space from shlfldr_mydocuments.c in shell32.rbuild don't yet understand how rbuild was happy with it. I haven't modified what seems to be a typo on filename.
- Properly express paths with rbuild syntax (when possible)

svn path=/trunk/; revision=31097
2007-12-09 11:56:11 +00:00
Marc Piulachs c199df2315 Partly applied patch from bug 2874 by Vytis Girdzijauskas "CMan" cman<at>cman<dot>us
* Added description string to Butterflies screensaver for all languages.
* Use string resources in Maze screensaver.

My notes:
I haven't added butterflies.scr to reactos.dff as opengl screen savers are still broken under reactos , we already have 3dtext added for testing no need to add another one
I have modified mazescr installname to have the same name as the module has inset of changing it on reactos.dff
See issue #2874 for more details.

svn path=/trunk/; revision=31096
2007-12-09 11:27:23 +00:00
Aleksey Bragin 661de9fa33 - Convert msvcrt.def to msvcrt.spec (it better suits dll with stubbed functions).
svn path=/trunk/; revision=31095
2007-12-08 21:04:06 +00:00
Aleksey Bragin 60fad32ecf - Move NtCreateKey to regobj.c, delete ntfunc.c, now all those routines exist solely for creating keys.
- Move NtOpenKey to ntapi.c and rewrite it to use the new parse routine. It's now 6 lines of code instead of 80.
- Fix a bug in CmpDereferenceNameCnotrolBlockWithLock.
- Fix bugs during reference and dereference of KCB.
- Fix KCB structure.
- CmpDelayDerefKCBWorker is now called, don't make it assert anymore, just print out that it's not completed.
- Remove debug output from new parse routine, since it's now called for each key open.
- Add one more case to handle: opening the root \REGISTRY node.
- Don't dereference KCBs in the parse routine anymore: we have some bugs related to this and it would make ReactOS crash.

svn path=/trunk/; revision=31094
2007-12-08 21:00:45 +00:00
Aleksey Bragin f7d91421f8 - Temporary disable PnP in 1st stage, until a problem with CM is resolved.
svn path=/trunk/; revision=31093
2007-12-08 20:55:38 +00:00
Hervé Poussineau 8366ad6ef8 Fix some possible problems
svn path=/trunk/; revision=31091
2007-12-08 19:38:39 +00:00
Christoph von Wittich 24707452c1 Dmitry Timoshkov : kernel32: Fix the size of ThreadAffinityMask to match PSDK. <dmitry at codeweavers.com>
Dmitry Timoshkov : winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same type width as a PSDK one .

svn path=/trunk/; revision=31090
2007-12-08 18:58:42 +00:00
Christoph von Wittich d7b6fab9eb -UniqueProcessId is ULONG_PTR not ULONG
-some formatting fixes

svn path=/trunk/; revision=31089
2007-12-08 18:42:10 +00:00
James Tabor 5b49088f56 Louis Lenders : gdi32: Add check for null pointer in SetDIBitsToDevice.
svn path=/trunk/; revision=31088
2007-12-08 18:32:22 +00:00
Christoph von Wittich 4eeedf2f9e Dmitry Timoshkov : Windows doesn' t send the initialization messages to a dialog if a passed in dlgProc is NULL . <dmitry at codeweavers.com>
svn path=/trunk/; revision=31087
2007-12-08 18:11:28 +00:00
Christoph von Wittich 2d1aaeaa7e use REFGUID instead of UUID* to be compatible with MS PSDK
svn path=/trunk/; revision=31086
2007-12-08 17:37:25 +00:00
Christoph von Wittich 665ac7b486 revert 31080 and apply the patch from Francois Gouget to delete_registry_key (Modify getRegClass() to avoid dubious comparisons and casts between HKEYs and error codes.)
svn path=/trunk/; revision=31085
2007-12-08 16:48:36 +00:00
Christoph von Wittich e936501a0c Michael Stefaniuc : kernel32: Pass HEAP_ZERO_MEMORY to HeapAlloc() instead of clearing the memory with a separate memset() call. <mstefani at redhat.de>
svn path=/trunk/; revision=31084
2007-12-08 16:33:05 +00:00
Christoph von Wittich 012c324bfb move GetTextExtentExPointI and GetTextExtentPointI from stubs.c to text.c
svn path=/trunk/; revision=31083
2007-12-08 16:26:40 +00:00
Christoph von Wittich e2181b108c Francois Gouget : Make the dword and binary data parsing both more flexible and stricter. <fgouget at codeweavers.com>
Jason Edmeades : Fix importing of .reg hex. <jason.edmeades at googlemail.com>

svn path=/trunk/; revision=31082
2007-12-08 15:17:39 +00:00
Christoph von Wittich 50ac6f77f8 Francois Gouget : Add missing '\n' to an error message. <fgouget at codeweavers.com>
Francois Gouget : Modify getRegClass() to avoid dubious comparisons and casts between HKEYs and error codes.
Francois Gouget : Having garbage after the dash in '"foo"=-' is not valid.
Francois Gouget : The registry functions return standard error codes, not HRESULTs.
Francois Gouget : If the data for a given value is in an unknown format, then print an error and don't modify the value.

svn path=/trunk/; revision=31081
2007-12-08 14:29:51 +00:00
Christoph von Wittich 6afc7d34d9 Stefan Leichter : Replace call to delete_branch with RegDeleteTreeA. <Stefan.Leichter at camline.com>
svn path=/trunk/; revision=31080
2007-12-08 14:05:00 +00:00
Pierre Schweitzer 1f5cacc4ff Apply r31071 changes to all untranslated strings
svn path=/trunk/; revision=31078
2007-12-08 13:41:57 +00:00
Magnus Olsen eea85cc484 Fixed a werid case when setdisplay mode does not working.
tested with ati hd2400 that does not official support 256 color in windows. 
with the official drv I have

svn path=/trunk/; revision=31077
2007-12-08 13:40:07 +00:00
Daniel Reimer 794e87f37f Bug 2869 - Lithuanian translation update - cman<AT>cman<DOT>us
Bug 2867 - Italian resource files, some updates and some added - devotip<AT>tiscali<DOT>it
Part II

svn path=/trunk/; revision=31076
2007-12-08 13:38:43 +00:00
Daniel Reimer fd904a51bb Bug 2869 - Lithuanian translation update - cman<AT>cman<DOT>us
Bug 2867 - Italian resource files, some updates and some added - devotip<AT>tiscali<DOT>it
Add me to the Credits too :-)

svn path=/trunk/; revision=31075
2007-12-08 13:38:43 +00:00
Christoph von Wittich c10fc4547a Ted Percival : Display REG_DWORD as unsigned with lowercase hex digits. <ted at midg3t.net>
svn path=/trunk/; revision=31074
2007-12-08 13:37:28 +00:00
Christoph von Wittich 3d376e1acb Vitaly Lipatov : Use sizeof instead of constant for buffer size. <lav at etersoft.ru>
Alexander Nicolaysen Sørnes : Handle backspace key in shellview. <alex at thehandofagony.com>
Gerald Pfeifer : Avoid checking for <0 for unsigned variables. <gerald at pfeifer.com>
Thomas Weidenmueller : Use SHStrDupW in IShellFolder2:: GetDetailsOf to allocate returned string. <thomas at reactsoft.com>
Rob Shearman : Fix the length calculation of the pidl in ILSaveToStream by using the helper function ILGetSize . <rob at codeweavers.com>
Rob Shearman : Fix a memory leak in Stream_WriteLocationInfo. <rob at codeweavers.com>
Lei Zhang : Don't crash if $HOME is not set. <thestig at google.com>
Alexandre Julliard : Pass some of the ShellExecute flags through InvokeCommand. <julliard at winehq.org>
Juan Lang : Don't overwrite the caller's buffer when doing a dde connection. <juan.lang at gmail.com>
Juan Lang : Remove a bad comment. <juan.lang at gmail.com>
Juan Lang : Use more restricted registry rights when quering values. <juan.lang at gmail.com>
Rob Shearman : Add a stub for LinkWindow_RegisterClass. <rob at codeweavers.com>
Rob Shearman : Add a stub for LinkWindow_UnregisterClass. <rob at codeweavers.com>
Michael Stefaniuc : Fix a mem leak on an error path. Found by Smatch. <mstefani at redhat.de>
Marcus Meissner : GetModuleFileNameW gets number of WCHARs not bytes. <marcus at jet.franken.de>
Lei Zhang : rename My Video to My Videos. <thestig at google.com>

svn path=/trunk/; revision=31071
2007-12-08 13:03:24 +00:00
Magnus Olsen f8072187ba fixed bug with EnumDisplayModes for dx 1,2 it use wrong size of Surface and callbacks.
we need two diffrent version of EnumDisplayModes to solv it
 

svn path=/trunk/; revision=31070
2007-12-08 13:00:55 +00:00
Christoph von Wittich b227bebec5 Added definition for SEE_MASK_NOASYNC.
svn path=/trunk/; revision=31069
2007-12-08 12:48:14 +00:00
Peter Ward 09fd3229a5 - Add myself to the credits file.
svn path=/trunk/; revision=31068
2007-12-08 12:45:18 +00:00
James Tabor 30e5bc01a9 Move WS_EX_MDICHILD check back in win32k. Reordered CreateWindowEx menu sets. All based on wine logic. Should SetMenu first or System menu? Tested with FF and AbiWord.
svn path=/trunk/; revision=31065
2007-12-07 22:56:58 +00:00
Magnus Olsen 0102f7431b revert 30735 that change was wrong it should have gone into own header call ddrawex.h
for it deal with directdraw 3 (ddrawex.dll)

svn path=/trunk/; revision=31063
2007-12-07 21:01:48 +00:00
Magnus Olsen 0fc011a74a Start building up ddrawex.h
it is directdraw 3 header, ms have separeate directdraw 3 to a file ddrawex.dll

svn path=/trunk/; revision=31062
2007-12-07 21:00:26 +00:00
Pierre Schweitzer 30d6c1eac9 Updated French translations for winemine and control
svn path=/trunk/; revision=31061
2007-12-07 20:54:03 +00:00
Colin Finck 1c47c2d4a0 Added and updated greek translations by Apostolos Alexiadis (djapal AT gmail DOT com)
See issue #2853 for more details.

svn path=/trunk/; revision=31060
2007-12-07 19:30:01 +00:00
Aleksey Bragin 2da86f7197 - Fix a bug in delay dereferencing which could lead to an ASSERT.
- Try to work around the ReactOS hack of saving user-mode registry flags in the keynode, by at least masking out the REG_OPTION_CREATE_LINK flag which interferes with HIVE_EXIT.
- Implement symbolic link parsing and resolution in the new parse routine (with CmpGetSymbolicLink).

svn path=/trunk/; revision=31059
2007-12-07 17:38:03 +00:00
Dmitry Chapyshev 27f907dc11 - Update Russian Translation for servman
- Add rasdlg to bootcd
- Delete unused icons for main.cpl
- Update English and Russian Translation for console.dll
- Small fix Russian Translation for kernel32
- Update Russian Translation for shell32

svn path=/trunk/; revision=31058
2007-12-07 17:05:46 +00:00
Hervé Poussineau fbb0ffdbe2 Better guess of the file path
svn path=/trunk/; revision=31057
2007-12-07 17:00:21 +00:00
Aleksey Bragin c76fa603f3 - Fix LiveCD.
- Move CmpQueryKeyName and CmpDeleteKeyObject to config, and actually make CmpDeleteKeyObject do something.
- Partly implement CmpCloseKeyObject.
- Rewrite CmpLinkHiveToMaster to use ObOpenObjectByName instead of Ob-hacks, and add proper call in new parse routine to handle link node creation. We don't use Ob hacks for this anymore!
- Setup the CM_KEY_BODY when required.
- Call (and partly implement) EnlistKeyBodyWithKCB when required.

svn path=/trunk/; revision=31056
2007-12-07 16:11:02 +00:00
Hervé Poussineau d709944d3b Remove useless files
svn path=/trunk/; revision=31055
2007-12-07 14:23:40 +00:00
Dmitry Chapyshev 72fbf8e8eb - Update Russian translation
svn path=/trunk/; revision=31054
2007-12-07 10:59:53 +00:00
Aleksey Bragin ce97b6aeaa - Replace KEY_OBJECT by real CM_KEY_BODY NT type.
svn path=/trunk/; revision=31052
2007-12-06 21:11:57 +00:00
Magnus Olsen 847f27f307 Fixed a bug for Main_DirectDraw_SetDisplayMode for DirectX 1 it did accepted to many param
Thx Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) to found this bug


svn path=/trunk/; revision=31050
2007-12-06 19:56:53 +00:00
Daniel Reimer 122793a01a Update German RC File
svn path=/trunk/; revision=31049
2007-12-06 19:56:11 +00:00
Dmitry Chapyshev 52afd0a13d - Move all hardcode strings to resource
svn path=/trunk/; revision=31048
2007-12-06 19:49:12 +00:00
Aleksey Bragin 0f9a48b2b5 - Rewrite CmiScanKeyList to use the NCB.
- Disable private KCB allocator and allocate separate pool entries for each KCB -- should fix issues some people have been experiencing until the real bug is found
- Remove all code that builds the name for the PKEY_OBJECT. This reduces non-paged pool allocation usage since the name is now stored compressed in the NCB, in paged pool.

svn path=/trunk/; revision=31047
2007-12-06 19:46:59 +00:00
Aleksey Bragin 2aadece3c1 - Remove CmiAddKeyToList.
- Use ParseContext in CmpDoCreate, removing OriginatingHive parameter since ReactOS doesn't use this.
- Sending the create options as key node flags is wrong -- identify this in the code (fixing this however will break the boot -- need to investigate).

svn path=/trunk/; revision=31046
2007-12-06 18:31:37 +00:00
Christoph von Wittich bac46608b2 fix Device and Desktop rect values
svn path=/trunk/; revision=31045
2007-12-06 16:53:50 +00:00
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