reactos.git
18 years agofix referencing bug (ros crashed during setup if mousemove) in co_WinPosSearchChildren
Gunnar Dalsnes [Sun, 11 Sep 2005 21:05:32 +0000 (21:05 +0000)]
fix referencing bug (ros crashed during setup if mousemove) in co_WinPosSearchChildren

svn path=/trunk/; revision=17809

18 years agoMake some more dymatic buffer and correct some free()
Magnus Olsen [Sun, 11 Sep 2005 20:41:39 +0000 (20:41 +0000)]
Make some more dymatic buffer and correct some free()

svn path=/trunk/; revision=17808

18 years agosimple fix for 'del foo' where foo is a folder.
Brandon Turner [Sun, 11 Sep 2005 20:26:36 +0000 (20:26 +0000)]
simple fix for 'del foo' where foo is a folder.

svn path=/trunk/; revision=17807

18 years agoDo not crash if the prompt command name are binger that 260char or the command line.
Magnus Olsen [Sun, 11 Sep 2005 20:16:37 +0000 (20:16 +0000)]
Do not crash if the prompt command name are binger that 260char or the command line.

svn path=/trunk/; revision=17806

18 years agoWindows style auto complete should only return folders then the preceding command...
Brandon Turner [Sun, 11 Sep 2005 19:40:45 +0000 (19:40 +0000)]
Windows style auto complete should only return folders then the preceding command is cd or rd.

svn path=/trunk/; revision=17805

18 years agoThe system menu is allowed to have an unnamed entry which is not a separator
Gé van Geldorp [Sun, 11 Sep 2005 17:59:52 +0000 (17:59 +0000)]
The system menu is allowed to have an unnamed entry which is not a separator

svn path=/trunk/; revision=17804

18 years agoUpdate the swedish translation by Harteex
Magnus Olsen [Sun, 11 Sep 2005 17:47:00 +0000 (17:47 +0000)]
Update the swedish translation by Harteex

svn path=/trunk/; revision=17803

18 years ago-refcount reworking (simplification & improvement)
Gunnar Dalsnes [Sun, 11 Sep 2005 14:48:32 +0000 (14:48 +0000)]
-refcount reworking (simplification & improvement)
-make functions deal with pointers, not handles
-misc formatting

svn path=/trunk/; revision=17802

18 years ago- CFGMGR32.DLL: Forward implemented functions to SETUPAPI.DLL.
Eric Kohl [Sun, 11 Sep 2005 14:38:57 +0000 (14:38 +0000)]
- CFGMGR32.DLL: Forward implemented functions to SETUPAPI.DLL.
- SETUPAPI.DLL: Use PNP_EnumerateSubKeys to implement CM_Enumerate_Classes_Ex.

svn path=/trunk/; revision=17801

18 years agoSignal USB device arrivals to PnP manager
Hervé Poussineau [Sun, 11 Sep 2005 13:55:23 +0000 (13:55 +0000)]
Signal USB device arrivals to PnP manager

svn path=/trunk/; revision=17800

18 years agoDisable USB keyboard and mouse support, as they conflict with i8042prt driver.
Hervé Poussineau [Sun, 11 Sep 2005 13:55:18 +0000 (13:55 +0000)]
Disable USB keyboard and mouse support, as they conflict with i8042prt driver.
We need to change kbdclass/mouclass to be an upper filter of keyboard/mouse device objects (which would become unnamed), and to support multiple keyboards/mice

svn path=/trunk/; revision=17799

18 years agoMake _strtoui64 an alias of strtoull.
Filip Navara [Sun, 11 Sep 2005 13:05:33 +0000 (13:05 +0000)]
Make _strtoui64 an alias of strtoull.

svn path=/trunk/; revision=17798

18 years agoFix strtoull implementation and add it to build files. Based on patch by Mark Junker...
Filip Navara [Sun, 11 Sep 2005 12:36:09 +0000 (12:36 +0000)]
Fix strtoull implementation and add it to build files. Based on patch by Mark Junker <mjscod@gmx.de>.

svn path=/trunk/; revision=17797

18 years agoupdated wait_for_completion, should work similar to schedule_timeout.
Aleksey Bragin [Sun, 11 Sep 2005 11:59:25 +0000 (11:59 +0000)]
updated wait_for_completion, should work similar to schedule_timeout.

svn path=/trunk/; revision=17796

18 years agoLet OHCI miniport use shared code in drivers/usb/miniport/common/*, instead of duplic...
Hervé Poussineau [Sun, 11 Sep 2005 11:40:43 +0000 (11:40 +0000)]
Let OHCI miniport use shared code in drivers/usb/miniport/common/*, instead of duplicating it

svn path=/trunk/; revision=17795

18 years agoDisplay debug error message only when action fails
Hervé Poussineau [Sun, 11 Sep 2005 09:23:16 +0000 (09:23 +0000)]
Display debug error message only when action fails

svn path=/trunk/; revision=17794

18 years agoPreviously, the first character written to the buffer was random (off the
Art Yerkes [Sun, 11 Sep 2005 09:19:24 +0000 (09:19 +0000)]
Previously, the first character written to the buffer was random (off the
stack).  Not sure why this didn't blow up for others.  Make sure we fill
one character before placing one in the buffer.

svn path=/trunk/; revision=17793

18 years ago- Implement CM_Enumerate_Enumerators_ExA.
Eric Kohl [Sun, 11 Sep 2005 08:45:02 +0000 (08:45 +0000)]
- Implement CM_Enumerate_Enumerators_ExA.
- Fix a typo in PNP_EnumerateSubKeys.

svn path=/trunk/; revision=17792

18 years agoxHCI:
Hervé Poussineau [Sat, 10 Sep 2005 23:50:28 +0000 (23:50 +0000)]
xHCI:
* Fix value returned by IRP_MN_QUERY_CAPABILITIES and IOCTL_INTERNAL_USB_GET_ROOT_USB_DEVICE
* Remove debug output
USBHUB:
* Don't enumerate too much children. Display informations about them

svn path=/trunk/; revision=17791

18 years agoFix some object/handle victims. Fixes bug 765.
Gé van Geldorp [Sat, 10 Sep 2005 23:01:56 +0000 (23:01 +0000)]
Fix some object/handle victims. Fixes bug 765.

svn path=/trunk/; revision=17790

18 years ago- Acquire the temporary buffer from non paged pool in NtQueryDirectoryObject, because...
Hartmut Birr [Sat, 10 Sep 2005 22:35:08 +0000 (22:35 +0000)]
- Acquire the temporary buffer from non paged pool in NtQueryDirectoryObject, because the buffer is accessed at DPC_LEVEL.
- Do always add an empty entry at the end of the buffer

svn path=/trunk/; revision=17789

18 years agoHandle .msi files
Gé van Geldorp [Sat, 10 Sep 2005 20:19:23 +0000 (20:19 +0000)]
Handle .msi files

svn path=/trunk/; revision=17788

18 years agoAlso add registry entries when driver files are already present
Gé van Geldorp [Sat, 10 Sep 2005 19:37:20 +0000 (19:37 +0000)]
Also add registry entries when driver files are already present

svn path=/trunk/; revision=17787

18 years agoAuto-determine base of DWORD registry entries.
Gé van Geldorp [Sat, 10 Sep 2005 19:21:49 +0000 (19:21 +0000)]
Auto-determine base of DWORD registry entries.
Fixes bug 764.

svn path=/trunk/; revision=17786

18 years ago- Implement CM_Enumerate_Enumerators[_Ex]A/W
Eric Kohl [Sat, 10 Sep 2005 19:01:44 +0000 (19:01 +0000)]
- Implement CM_Enumerate_Enumerators[_Ex]A/W
- Fix PNP_EnumerateSubKeys

svn path=/trunk/; revision=17785

18 years agoRemove unneeded pointer indirection
Hervé Poussineau [Sat, 10 Sep 2005 18:45:34 +0000 (18:45 +0000)]
Remove unneeded pointer indirection

svn path=/trunk/; revision=17784

18 years agochange rest of warnings to allowwarnings - sorry I didn't get to this the other day.
Royce Mitchell III [Sat, 10 Sep 2005 18:39:34 +0000 (18:39 +0000)]
change rest of warnings to allowwarnings - sorry I didn't get to this the other day.

svn path=/trunk/; revision=17783

18 years agoMove shareable part of USB miniport drivers to a new directory. UHCI uses it.
Hervé Poussineau [Sat, 10 Sep 2005 18:04:42 +0000 (18:04 +0000)]
Move shareable part of USB miniport drivers to a new directory. UHCI uses it.

svn path=/trunk/; revision=17782

18 years agoPrint only the complete information if the fd is valid itself (in is_valid_fd).
Hartmut Birr [Sat, 10 Sep 2005 15:36:35 +0000 (15:36 +0000)]
Print only the complete information if the fd is valid itself (in is_valid_fd).

svn path=/trunk/; revision=17781

18 years agoSilence two debug messages after they have cried a little bit.
Hartmut Birr [Sat, 10 Sep 2005 15:30:21 +0000 (15:30 +0000)]
Silence two debug messages after they have cried a little bit.

svn path=/trunk/; revision=17780

18 years agoFixed a typo.
Hartmut Birr [Sat, 10 Sep 2005 15:21:16 +0000 (15:21 +0000)]
Fixed a typo.

svn path=/trunk/; revision=17779

18 years agoFixed the allocation of some buffers in Execute.
Hartmut Birr [Sat, 10 Sep 2005 15:20:10 +0000 (15:20 +0000)]
Fixed the allocation of some buffers in Execute.

svn path=/trunk/; revision=17778

18 years agoFixed GetConsoleTitleA/W.
Hartmut Birr [Sat, 10 Sep 2005 15:18:42 +0000 (15:18 +0000)]
Fixed GetConsoleTitleA/W.

svn path=/trunk/; revision=17777

18 years agoMove common code of USB miniport drivers into drivers/usb/miniport/common library
Hervé Poussineau [Sat, 10 Sep 2005 15:17:07 +0000 (15:17 +0000)]
Move common code of USB miniport drivers into drivers/usb/miniport/common library

svn path=/trunk/; revision=17776

18 years ago<module warnings=...>
Emanuele Aliberti [Sat, 10 Sep 2005 14:46:06 +0000 (14:46 +0000)]
<module warnings=...>
<module allowwarnings=...>

svn path=/trunk/; revision=17775

18 years agoAdd USB drivers to bootcd
Hervé Poussineau [Sat, 10 Sep 2005 13:03:17 +0000 (13:03 +0000)]
Add USB drivers to bootcd

svn path=/trunk/; revision=17774

18 years agoImplement CM_Delete_Class_Key[_Ex].
Eric Kohl [Sat, 10 Sep 2005 13:02:02 +0000 (13:02 +0000)]
Implement CM_Delete_Class_Key[_Ex].

svn path=/trunk/; revision=17773

18 years agoAdd RegDeleteTreeA/W prototype.
Eric Kohl [Sat, 10 Sep 2005 10:31:22 +0000 (10:31 +0000)]
Add RegDeleteTreeA/W prototype.

svn path=/trunk/; revision=17772

18 years agoFix maximizing problem introduced by r17764
Gé van Geldorp [Sat, 10 Sep 2005 08:22:03 +0000 (08:22 +0000)]
Fix maximizing problem introduced by r17764

svn path=/trunk/; revision=17771

18 years agoDon't trust the returned date/time from the BIOS. QEmu messes this up sometimes.
Gé van Geldorp [Fri, 9 Sep 2005 21:15:32 +0000 (21:15 +0000)]
Don't trust the returned date/time from the BIOS. QEmu messes this up sometimes.
Partly fixes bug 716.

svn path=/trunk/; revision=17767

18 years agoCompile cmd.exe as unicode
Hervé Poussineau [Fri, 9 Sep 2005 15:58:40 +0000 (15:58 +0000)]
Compile cmd.exe as unicode

svn path=/trunk/; revision=17766

18 years agomaxlen is in characters, _cnt is in bytes.
Gé van Geldorp [Fri, 9 Sep 2005 14:47:35 +0000 (14:47 +0000)]
maxlen is in characters, _cnt is in bytes.
Note: rebuild of lib/crt required for this change to take effect
(make crt_clean; make crt)
This brings the VMware Tools installer a hell of a lot further (bug 717).

svn path=/trunk/; revision=17765

18 years agoUse max tracking size instead of maximized size to limit window size.
Gé van Geldorp [Fri, 9 Sep 2005 13:35:02 +0000 (13:35 +0000)]
Use max tracking size instead of maximized size to limit window size.
Fixes bug 721.

svn path=/trunk/; revision=17764

18 years agoRestore console title after running a command
Gé van Geldorp [Fri, 9 Sep 2005 12:22:25 +0000 (12:22 +0000)]
Restore console title after running a command

svn path=/trunk/; revision=17763

18 years agoDon't assume UNICODE_STRINGs are nul terminated
Gé van Geldorp [Fri, 9 Sep 2005 12:22:01 +0000 (12:22 +0000)]
Don't assume UNICODE_STRINGs are nul terminated

svn path=/trunk/; revision=17762

18 years agoConvert title from UNICODE_STRING to nul-terminated
Gé van Geldorp [Fri, 9 Sep 2005 11:43:26 +0000 (11:43 +0000)]
Convert title from UNICODE_STRING to nul-terminated

svn path=/trunk/; revision=17761

18 years agoRetVal is in bytes, so check against MAX_PATH in bytes
Gé van Geldorp [Fri, 9 Sep 2005 10:22:40 +0000 (10:22 +0000)]
RetVal is in bytes, so check against MAX_PATH in bytes

svn path=/trunk/; revision=17760

18 years agoWindow handle is not valid anymore when the object is in "destroyed" state
Gé van Geldorp [Fri, 9 Sep 2005 09:50:58 +0000 (09:50 +0000)]
Window handle is not valid anymore when the object is in "destroyed" state

svn path=/trunk/; revision=17759

18 years agoRemove WS_VISIBLE bit from correct member
Gé van Geldorp [Fri, 9 Sep 2005 09:48:33 +0000 (09:48 +0000)]
Remove WS_VISIBLE bit from correct member

svn path=/trunk/; revision=17758

18 years agoRemove stray data from the XML. This one goes out to TLF.
Andrew Munger [Fri, 9 Sep 2005 00:38:39 +0000 (00:38 +0000)]
Remove stray data from the XML. This one goes out to TLF.

svn path=/trunk/; revision=17757

18 years ago-cursoricon: naming changes, cleanup
Gunnar Dalsnes [Fri, 9 Sep 2005 00:25:52 +0000 (00:25 +0000)]
-cursoricon: naming changes, cleanup
-fix: hide/show caret to accept NULL hWnds
-some handle to pointer converions
-double handle table size
-fix: co_WinPosActivateOtherWindow was trying to access desktop parent

svn path=/trunk/; revision=17756

18 years agowin32 api compatibility fix
Royce Mitchell III [Thu, 8 Sep 2005 23:10:17 +0000 (23:10 +0000)]
win32 api compatibility fix
changed 'warnings' attribute of <module> to 'allowwarnings' to make it's function less ambiguous

svn path=/trunk/; revision=17755

18 years agoChange driver name ohci.sys -> usbohci.sys
Hervé Poussineau [Thu, 8 Sep 2005 21:54:42 +0000 (21:54 +0000)]
Change driver name ohci.sys -> usbohci.sys

svn path=/trunk/; revision=17754

18 years agoRemove warnings and allow installation of USB files with make install
Hervé Poussineau [Thu, 8 Sep 2005 21:32:53 +0000 (21:32 +0000)]
Remove warnings and allow installation of USB files with make install

svn path=/trunk/; revision=17753

18 years agoFix double-clicking control panel items
Gé van Geldorp [Thu, 8 Sep 2005 21:08:53 +0000 (21:08 +0000)]
Fix double-clicking control panel items

svn path=/trunk/; revision=17752

18 years agoFix build, by correcting include paths and updating xml files of USB components
Hervé Poussineau [Thu, 8 Sep 2005 20:53:17 +0000 (20:53 +0000)]
Fix build, by correcting include paths and updating xml files of USB components

svn path=/trunk/; revision=17751

18 years agoAllocate a larger storage for the request buffer. It is necessary since the latest...
Hartmut Birr [Thu, 8 Sep 2005 20:18:46 +0000 (20:18 +0000)]
Allocate a larger storage for the request buffer. It is necessary since the latest changeing in ntdll for csrss connections.

svn path=/trunk/; revision=17750

18 years agoAdd xml files at the right places
Hervé Poussineau [Thu, 8 Sep 2005 20:16:36 +0000 (20:16 +0000)]
Add xml files at the right places
Remove now useless cromwell directory

svn path=/trunk/; revision=17749

18 years agoInitialize the length in the header in LpcSendTerminationPort.
Hartmut Birr [Thu, 8 Sep 2005 20:12:33 +0000 (20:12 +0000)]
Initialize the length in the header in LpcSendTerminationPort.

svn path=/trunk/; revision=17748

18 years agoMove drivers to the right location
Hervé Poussineau [Thu, 8 Sep 2005 20:07:16 +0000 (20:07 +0000)]
Move drivers to the right location

svn path=/trunk/; revision=17747

18 years agoRename drivers to their right name
Hervé Poussineau [Thu, 8 Sep 2005 20:02:40 +0000 (20:02 +0000)]
Rename drivers to their right name

svn path=/trunk/; revision=17746

18 years agoStart of big changes in layout of USB code. Fireball and I are agreeing on these...
Hervé Poussineau [Thu, 8 Sep 2005 19:58:55 +0000 (19:58 +0000)]
Start of big changes in layout of USB code. Fireball and I are agreeing on these changes.
Step 1: delete all useless stuff

svn path=/trunk/; revision=17745

18 years agoChristoph_vW <Christoph@ApiViewer.de>:
Casper Hornstrup [Thu, 8 Sep 2005 16:41:07 +0000 (16:41 +0000)]
Christoph_vW <Christoph@ApiViewer.de>:
Binutils detection

Modified to support cross-compilation

Resolves #707

svn path=/trunk/; revision=17744

18 years ago-remove hotkey lock
Gunnar Dalsnes [Thu, 8 Sep 2005 16:18:51 +0000 (16:18 +0000)]
-remove hotkey lock
-remove dc list lock
-simplify/rework refcounting
-remove keyboard queue state lock
-convert some functions into taking pointerargs, not handles

svn path=/trunk/; revision=17743

18 years agoUnlock console on alternate return paths. Fixes bug 734.
Gé van Geldorp [Thu, 8 Sep 2005 15:51:44 +0000 (15:51 +0000)]
Unlock console on alternate return paths. Fixes bug 734.

svn path=/trunk/; revision=17742

18 years agoCorrect notepad location
Gé van Geldorp [Thu, 8 Sep 2005 14:01:53 +0000 (14:01 +0000)]
Correct notepad location

svn path=/trunk/; revision=17741

18 years agosaveliyt@mail.ru:
Gé van Geldorp [Thu, 8 Sep 2005 13:27:17 +0000 (13:27 +0000)]
saveliyt@mail.ru:
Start SCM on livecd too

svn path=/trunk/; revision=17740

18 years agoReserve space for The Terminator
Gé van Geldorp [Thu, 8 Sep 2005 13:08:21 +0000 (13:08 +0000)]
Reserve space for The Terminator

svn path=/trunk/; revision=17739

18 years agoTranslate partition 0 to active partition. Fixes bug 181.
Gé van Geldorp [Thu, 8 Sep 2005 08:29:01 +0000 (08:29 +0000)]
Translate partition 0 to active partition. Fixes bug 181.

svn path=/trunk/; revision=17736

18 years ago- Move s(w)printf to rtl (cannot be shared in string because of differences with...
Alex Ionescu [Thu, 8 Sep 2005 06:52:01 +0000 (06:52 +0000)]
- Move s(w)printf to rtl (cannot be shared in string because of differences with the CRT implementation). - Fix build errors due to previous commits (sorry).

svn path=/trunk/; revision=17735

18 years agoShare more duplicated functions
Alex Ionescu [Thu, 8 Sep 2005 05:03:34 +0000 (05:03 +0000)]
Share more duplicated functions

svn path=/trunk/; revision=17734

18 years agoDon't duplicate string and ctype functions 2 (or even 3) times... we have stringlib...
Alex Ionescu [Thu, 8 Sep 2005 04:27:02 +0000 (04:27 +0000)]
Don't duplicate string and ctype functions 2 (or even 3) times... we have stringlib for that

svn path=/trunk/; revision=17733

18 years ago- Move more stuff to /rtl
Alex Ionescu [Thu, 8 Sep 2005 02:29:30 +0000 (02:29 +0000)]
- Move more stuff to /rtl
- Bring back Ki* callbacks into ntdll.

svn path=/trunk/; revision=17732

18 years ago- Part one of major RTL cleanup. Merge duplicated code and stick everything in lib...
Alex Ionescu [Thu, 8 Sep 2005 00:09:32 +0000 (00:09 +0000)]
- Part one of major RTL cleanup. Merge duplicated code and stick everything in lib\rtl that used to be in ntdll. Also cleanup the file headers, copyright information and includes.

svn path=/trunk/; revision=17731

18 years agoindent with astyle v1.15.3: --style=ansi -c -s3 -S --convert-tabs
Gunnar Dalsnes [Wed, 7 Sep 2005 21:25:42 +0000 (21:25 +0000)]
indent with astyle v1.15.3: --style=ansi -c -s3 -S --convert-tabs

svn path=/trunk/; revision=17730

18 years agowindow pointer was incorrectly passed as wparam to co_IntSendMessage instead of hwnd
Gunnar Dalsnes [Wed, 7 Sep 2005 21:05:16 +0000 (21:05 +0000)]
window pointer was incorrectly passed as wparam to co_IntSendMessage instead of hwnd

svn path=/trunk/; revision=17729

18 years ago-replace user object/handle manager with the one from wine. its simpler, faster and...
Gunnar Dalsnes [Wed, 7 Sep 2005 20:59:26 +0000 (20:59 +0000)]
-replace user object/handle manager with the one from wine. its simpler, faster and more correct.
-convert dozens of functions to take pointers as args, not handles
-attempt to simplify/correct refcounting
-remove much useless refcounting
-make callout refcounts auto undoable (ei. if the thread crash in umode during callback)
-misc formatting/naming changes

svn path=/trunk/; revision=17728

18 years agoImplement NTDLL's CSR routines in a compatible way. Fix prototypes, argument count...
Alex Ionescu [Wed, 7 Sep 2005 19:37:28 +0000 (19:37 +0000)]
Implement NTDLL's CSR routines in a compatible way. Fix prototypes, argument count, deprecated functions and new functions. Some functions will not work (or are designed not to work) fully until the new CSR is committed, but they keep the same functionality as the previous versions (no regressions found; tested with cmd, cmt, putty, telnet, ps). Also added NtSecureConnectPort.

svn path=/trunk/; revision=17727

18 years agoFix include so packlib builds after latest wine sync.
Andrew Munger [Wed, 7 Sep 2005 19:09:56 +0000 (19:09 +0000)]
Fix include so packlib builds after latest wine sync.

svn path=/trunk/; revision=17726

18 years agoMake sure memory will be freed on delete of DIB section
Gé van Geldorp [Wed, 7 Sep 2005 17:54:47 +0000 (17:54 +0000)]
Make sure memory will be freed on delete of DIB section

svn path=/trunk/; revision=17725

18 years agoFixed the definition of RtlUnicodeStringToCountedOemSize. This will fix bug 756.
Hartmut Birr [Wed, 7 Sep 2005 17:20:28 +0000 (17:20 +0000)]
Fixed the definition of RtlUnicodeStringToCountedOemSize. This will fix bug 756.

svn path=/trunk/; revision=17724

18 years agoUpdate status
Gé van Geldorp [Wed, 7 Sep 2005 16:34:46 +0000 (16:34 +0000)]
Update status

svn path=/trunk/; revision=17723

18 years agoSync to Wine-20050830:
Gé van Geldorp [Wed, 7 Sep 2005 16:28:09 +0000 (16:28 +0000)]
Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Removed a useless header file.

svn path=/trunk/; revision=17721

18 years agoAdd AC_SRC constants
Gé van Geldorp [Wed, 7 Sep 2005 16:23:24 +0000 (16:23 +0000)]
Add AC_SRC constants

svn path=/trunk/; revision=17720

18 years agoSync to Wine-20050830:
Gé van Geldorp [Wed, 7 Sep 2005 16:22:51 +0000 (16:22 +0000)]
Sync to Wine-20050830:
Kevin Koltzau <kevin@plop.org>
- Fix 'cast to pointer from integer of different size' warnings in
  64bit.
Frank Richter <frank.richter@gmail.com>
- Add support for the BT_NONE background type.
- Better computations to have uniformly sized parts scaled in both
  directions.
- Implement GetThemeBackgroundExtent().
- Implement DrawThemeEdge().
- Implement support for the ST_TILE background stretching mode.
- Implementation for GetThemePartSize() (not entirely equivalent to
  native uxtheme, but sensibly useable).
- Enhance uxtheme to store the themed system metrics in the registry and
  also backup the old metrics. That way, themed system colors are set
  even uxtheme was not loaded and initialized yet, and when a theme is
  deactivated, the colors prior to the activation are restored as well.
- Also, not having to set the system colors in uxtheme startup works
  around weird problems where SetSystemColors() ended up being called
  from inside window creation and this seemingly led to some creation
  message being sent twice.
- Make GetThemeMargins() return default values (0 margin) if the
  function does not succeed.
- More elaborate IsThemeBackgroundPartiallyTransparent() implementation;
  also returns TRUE for theme parts with 32bpp images.
- Since theme images are reused now it's not really a good idea to
  delete them in drawing functions.
- Pass around what kind of transparency an image actually needs. Use
  alpha-blending for 32bpp images.
- Set some default values for truesize sizing that seem closer to
  Windows.
- If a MINSIZEn property is not present, fall back to actual size of nth
  image to determine whether it is suitable.
- EnumThemeColors() and EnumThemeSizes() actually do not return a single
  string with the color/size name, but rather a struct containing three
  strings - name, display name and tooltip.
- The default image layout is HORIZONTAL, not VERTICAL.
- Take a common computation out of two if-branches in
  UXTHEME_LoadImage().
- Compare result of RegQueryValueExW() with ERROR_SUCCESS.
- Another fix to use magenta as the default transparent color.
- Implement "manual" image sharing(as opposed to using LoadImage() with
  LR_SHARED) by keeping the loaded images in a list. This is needed for
  proper alpha support later on since once-per-image preparations will
  be needed then.
- Add support for horizontal & vertical alignment when doing truesize
  sizing.
- Whatever TrueSizeStretchMark is for - it's not what Wine uxtheme used
  it for. Native uxtheme always stretches "truesize" parts when the
  destination is smaller than the part image size, but
  TrueSizeStretchMark doesn't seem to have an influence.

svn path=/trunk/; revision=17719

18 years agoReturn correct size. This fixes bug 756
Alex Ionescu [Wed, 7 Sep 2005 16:02:32 +0000 (16:02 +0000)]
Return correct size. This fixes bug 756

svn path=/trunk/; revision=17718

18 years agoSync to Wine-20050830:
Gé van Geldorp [Wed, 7 Sep 2005 15:57:31 +0000 (15:57 +0000)]
Sync to Wine-20050830:
Francois Gouget <fgouget@free.fr>
- Add missing WINAPI to MSXML_DllGetClassObject().
  Standardize the DllGetClassObject() prototypes so they match the MSDN
  definition.
Alexandre Julliard <julliard@winehq.org>
- Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
  Dll(Un)RegisterServer with the dll name so that the compiler can check
  the prototypes.

svn path=/trunk/; revision=17717

18 years agoSync to Wine-20050830:
Gé van Geldorp [Wed, 7 Sep 2005 15:52:47 +0000 (15:52 +0000)]
Sync to Wine-20050830:
Huw Davies <huw@codeweavers.com>
- IUnknown_SetSite calls IObjectWithSite_SetSite or
  IInternetSecurityManager_SetSecuritySite.
- Fix call to GetMenuItemInfo and unicodify while we're at it.
- Implement SHLoadIndirectString.
- _CreateAllAccessSecurityAttributes takes three parameters.
- Forward ordinals 457,458 to GetLongPathNameW,A.
- Implement SHLoadRegUIStringW.
- Partial implementation of DeleteMenuWrap.
- Implement IUnknown_EnumObjects.
- Implement and add tests for the FDSA functions.
Alexandre Julliard <julliard@winehq.org>
- Don't prefix the functions DllInstall and DllGetVersion with the dll
  name so that the compiler can check the prototypes.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Correct typo in format string.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 warning fixes.
Steven Edwards <steven_ed4153@yahoo.com>
- Correct RegCreateKeyEx[A/W] prototype to match the PSDK.

svn path=/trunk/; revision=17716

18 years agoSync to Wine-20050830:
Gé van Geldorp [Wed, 7 Sep 2005 15:09:06 +0000 (15:09 +0000)]
Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Fixed DllGetClassObject spec entries.

svn path=/trunk/; revision=17715

18 years agoSync to Wine-20050830:
Gé van Geldorp [Wed, 7 Sep 2005 08:43:45 +0000 (08:43 +0000)]
Sync to Wine-20050830:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Initialize all members in UnixFolder constructor.
  Support NULL value pidls in GetDisplayNameOf method.
- Implemented IPersist::GetClassID.
- Use wine_get_dos_file_name instead of GetFullPathName.
- Implemented 'My Documents' folder.
- Added stubbed implementation of IPersistPropertyBag interface.
  Register unixfs as CLSID_FolderShortcut.
- Clone pidlLast before free'ing pidl after call to SHBindToParent.
- Use FIXME's in stubs instead of TRACE's.
  Infer pathmode from CLSID in UnixFolderConstructor.
  Fail in IShellFolder::BindToObject, if folder does not initialize.
- Use StringFromGUID2 instead of StringFromCLSID in
  UNIXFS_is_rooted_at_desktop.
Michael Jung <mjung@iss.tu-darmstadt.de>
Ge van Geldorp <gvg@reactos.com>
- Prepend Desktop folder path for files/directories stored in the
  filesystem Desktop folder when GetDisplayNameOf is called with the
  SHGDN_FORPARSING flags.
- Add testcases.
Ge van Geldorp <gvg@reactos.com>
- Fix resource leak on error paths.
- Do not load all shell32 icons during initialization, it wastes a lot of
  memory
Alexandre Julliard <julliard@winehq.org>
- Replace the _ICOM_THIS_From macros by inline functions the way it's
  already done in shelllink.c.
- Use ERR instead of DPRINTF in dump_pidl_hex.
- Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
  Dll(Un)RegisterServer with the dll name so that the compiler can check
  the prototypes.
- Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
  duplicate typedefs.
- Get rid of the _ICOM_THIS macros and call the inline function
  directly instead.
- Removed the broken mmap64 configure check, and moved the
  _FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
  need the define include it.
- Added missing ntdll imports.
Francois Gouget <fgouget@codeweavers.com>
- Fix ShellExecute("\"foo.doc\"") for Internet Explorer 6.
- Update the conformance tests accordingly.
- Tweak a trace because it's very confusing to see the path with no
  escaped quotes in ShellExecuteA() and then with escaped quotes in
  ShellExecuteExW32() (due to debugstr_w()).
- Fix the return value of SHELL_Argify() so it once again returns true
  if a '%1' or equivalent placeholder was found. This fixes
  ShellExecuteEx(lpFile="foo.txt", lpClass="txtfile").
- Fix handling of SEE_MASK_CLASSNAME and SEE_MASK_CLASSKEY. They are not
  disjoint flags.
Mike McCormack <mike@codeweavers.com>
- Warning fixes for gcc 4.0.
- Fix some gcc 4.0 warnings.
Jozef Stefanka <jstefanka@codeweavers.com>
- Fixed browsing to other directories in Word 2003 file open
  dialog. Double clicking on a folder in the File->Open dialog works
  now.
Steven Edwards <steven_ed4153@yahoo.com>
- Correct definition of SFGAO_STORAGEANCESTOR.
Jason Edmeades <us@edmeades.me.uk>
- Add the time to the file display dialog modified column.
- Handle context menu->refresh, and F5 to initiate a refresh of the file
  dialog.

svn path=/trunk/; revision=17714

18 years agomake co_WinPosShowWindow take pWnd, not hWnd
Gunnar Dalsnes [Wed, 7 Sep 2005 07:53:31 +0000 (07:53 +0000)]
make co_WinPosShowWindow take pWnd, not hWnd
add co_ to some funcs

svn path=/trunk/; revision=17713

18 years agoscrollbar:
Gunnar Dalsnes [Wed, 7 Sep 2005 00:02:39 +0000 (00:02 +0000)]
scrollbar:
simplify refcounting
fix a bug in NtUserGetSystemMenu, accessing nullpointer
use pointers internally, not handles

svn path=/trunk/; revision=17712

18 years agoprop: simplify refcounting, naming changes
Gunnar Dalsnes [Tue, 6 Sep 2005 23:29:54 +0000 (23:29 +0000)]
prop: simplify refcounting, naming changes

svn path=/trunk/; revision=17711

18 years agomenu: code cleanup, naming changes, simplify refcounting, make internal func take...
Gunnar Dalsnes [Tue, 6 Sep 2005 23:21:40 +0000 (23:21 +0000)]
menu: code cleanup, naming changes, simplify refcounting, make internal func take objects and not handles

svn path=/trunk/; revision=17710

18 years agoCorrect sizes if origin is not (0, 0)
Gé van Geldorp [Tue, 6 Sep 2005 23:16:18 +0000 (23:16 +0000)]
Correct sizes if origin is not (0, 0)

svn path=/trunk/; revision=17709

18 years ago- One last build fix.
Alex Ionescu [Tue, 6 Sep 2005 23:15:15 +0000 (23:15 +0000)]
- One last build fix.

svn path=/trunk/; revision=17708

18 years agoFix win32k build errors so HEAD can build again, although most are caused by poor...
Alex Ionescu [Tue, 6 Sep 2005 23:05:13 +0000 (23:05 +0000)]
Fix win32k build errors so HEAD can build again, although most are caused by poor programming and will crash if called with unexpected parameters that aren't being properly handled.

svn path=/trunk/; revision=17707

18 years agoremake refcounting
Gunnar Dalsnes [Tue, 6 Sep 2005 22:11:37 +0000 (22:11 +0000)]
remake refcounting
naming changes
convert internal function to page ptr and not handle

svn path=/trunk/; revision=17706

18 years ago- Fix size functions to return the correct results in all cases.
Alex Ionescu [Tue, 6 Sep 2005 19:47:06 +0000 (19:47 +0000)]
- Fix size functions to return the correct results in all cases.

svn path=/trunk/; revision=17705

18 years ago- Use Rtl macros instead of manually handling the cases.
Alex Ionescu [Tue, 6 Sep 2005 19:38:51 +0000 (19:38 +0000)]
- Use Rtl macros instead of manually handling the cases.

svn path=/trunk/; revision=17704