Commit graph

16795 commits

Author SHA1 Message Date
Gé van Geldorp b8d592993d Correct notepad location
svn path=/trunk/; revision=17741
2005-09-08 14:01:53 +00:00
Gé van Geldorp e8b32e19d9 saveliyt@mail.ru:
Start SCM on livecd too

svn path=/trunk/; revision=17740
2005-09-08 13:27:17 +00:00
Gé van Geldorp 9bec9db6c6 Reserve space for The Terminator
svn path=/trunk/; revision=17739
2005-09-08 13:08:21 +00:00
Gé van Geldorp f2854a8641 Translate partition 0 to active partition. Fixes bug 181.
svn path=/trunk/; revision=17736
2005-09-08 08:29:01 +00:00
Alex Ionescu 659c21724b - 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
2005-09-08 06:52:01 +00:00
Alex Ionescu 48fe1fb84b Share more duplicated functions
svn path=/trunk/; revision=17734
2005-09-08 05:03:34 +00:00
Alex Ionescu 6ce05ab58e Don't duplicate string and ctype functions 2 (or even 3) times... we have stringlib for that
svn path=/trunk/; revision=17733
2005-09-08 04:27:02 +00:00
Alex Ionescu 7206207210 - Move more stuff to /rtl
- Bring back Ki* callbacks into ntdll.

svn path=/trunk/; revision=17732
2005-09-08 02:29:30 +00:00
Alex Ionescu c39ccd6592 - 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
2005-09-08 00:09:32 +00:00
Gunnar Dalsnes 7c6de62098 indent with astyle v1.15.3: --style=ansi -c -s3 -S --convert-tabs
svn path=/trunk/; revision=17730
2005-09-07 21:25:42 +00:00
Gunnar Dalsnes 5d8ed11b10 window pointer was incorrectly passed as wparam to co_IntSendMessage instead of hwnd
svn path=/trunk/; revision=17729
2005-09-07 21:05:16 +00:00
Gunnar Dalsnes a401832d5f -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
2005-09-07 20:59:26 +00:00
Alex Ionescu b0bac13ce1 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
2005-09-07 19:37:28 +00:00
Andrew Munger 43692c4674 Fix include so packlib builds after latest wine sync.
svn path=/trunk/; revision=17726
2005-09-07 19:09:56 +00:00
Gé van Geldorp abe6592a41 Make sure memory will be freed on delete of DIB section
svn path=/trunk/; revision=17725
2005-09-07 17:54:47 +00:00
Hartmut Birr 3b7a5daefb Fixed the definition of RtlUnicodeStringToCountedOemSize. This will fix bug 756.
svn path=/trunk/; revision=17724
2005-09-07 17:20:28 +00:00
Gé van Geldorp 8e0fca60da Update status
svn path=/trunk/; revision=17723
2005-09-07 16:34:46 +00:00
Gé van Geldorp c9a9b98de0 Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Removed a useless header file.

svn path=/trunk/; revision=17721
2005-09-07 16:28:09 +00:00
Gé van Geldorp 3ab848b8e2 Add AC_SRC constants
svn path=/trunk/; revision=17720
2005-09-07 16:23:24 +00:00
Gé van Geldorp 190de1fde5 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
2005-09-07 16:22:51 +00:00
Alex Ionescu 3a0cf7d618 Return correct size. This fixes bug 756
svn path=/trunk/; revision=17718
2005-09-07 16:02:32 +00:00
Gé van Geldorp 179c1bfe6c 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
2005-09-07 15:57:31 +00:00
Gé van Geldorp 5be54798fe 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
2005-09-07 15:52:47 +00:00
Gé van Geldorp 0e5dde74e7 Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Fixed DllGetClassObject spec entries.

svn path=/trunk/; revision=17715
2005-09-07 15:09:06 +00:00
Gé van Geldorp 75b0c7ce6c 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
2005-09-07 08:43:45 +00:00
Gunnar Dalsnes 07151bdc1a make co_WinPosShowWindow take pWnd, not hWnd
add co_ to some funcs

svn path=/trunk/; revision=17713
2005-09-07 07:53:31 +00:00
Gunnar Dalsnes 3b0b4c10fd scrollbar:
simplify refcounting
fix a bug in NtUserGetSystemMenu, accessing nullpointer
use pointers internally, not handles

svn path=/trunk/; revision=17712
2005-09-07 00:02:39 +00:00
Gunnar Dalsnes 306250f7f5 prop: simplify refcounting, naming changes
svn path=/trunk/; revision=17711
2005-09-06 23:29:54 +00:00
Gunnar Dalsnes 1e6efaebce menu: code cleanup, naming changes, simplify refcounting, make internal func take objects and not handles
svn path=/trunk/; revision=17710
2005-09-06 23:21:40 +00:00
Gé van Geldorp cfefbb200a Correct sizes if origin is not (0, 0)
svn path=/trunk/; revision=17709
2005-09-06 23:16:18 +00:00
Alex Ionescu e988f9d7dc - One last build fix.
svn path=/trunk/; revision=17708
2005-09-06 23:15:15 +00:00
Alex Ionescu 77163e53d7 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
2005-09-06 23:05:13 +00:00
Gunnar Dalsnes 76e45d3466 remake refcounting
naming changes
convert internal function to page ptr and not handle

svn path=/trunk/; revision=17706
2005-09-06 22:11:37 +00:00
Alex Ionescu 84cbfb9d8e - Fix size functions to return the correct results in all cases.
svn path=/trunk/; revision=17705
2005-09-06 19:47:06 +00:00
Alex Ionescu 7ed06b56e6 - Use Rtl macros instead of manually handling the cases.
svn path=/trunk/; revision=17704
2005-09-06 19:38:51 +00:00
Alex Ionescu dc86bfb861 - Fix the sad sad definition of sizeof(ANSI_NULL) which returned 4...
svn path=/trunk/; revision=17703
2005-09-06 19:37:38 +00:00
Gé van Geldorp 38a02c040e Fix release build
svn path=/trunk/; revision=17702
2005-09-06 19:21:42 +00:00
Gé van Geldorp 8afef2bda9 Shut up some debug messages
svn path=/trunk/; revision=17701
2005-09-06 18:07:46 +00:00
Alex Ionescu 31a759e85c - Use DDK macros to speed up size calculations on single-byte codepages.
svn path=/trunk/; revision=17700
2005-09-06 17:33:56 +00:00
Alex Ionescu a2af287dd8 - Remove deprecated zwtypes.h and spread out the types in the NT subsystems where they should go.
svn path=/trunk/; revision=17699
2005-09-06 15:57:42 +00:00
Gunnar Dalsnes a2c34e3c28 window parent handle -> pointer adaptions
svn path=/trunk/; revision=17698
2005-09-06 14:19:03 +00:00
Gunnar Dalsnes a1c7e10fc8 make window parent a pointer + fix usage
svn path=/trunk/; revision=17697
2005-09-06 14:09:22 +00:00
Gunnar Dalsnes e51f10ab47 remove WndObjListLock
svn path=/trunk/; revision=17696
2005-09-06 13:36:04 +00:00
Gunnar Dalsnes 781981aa5f naming changes:
-remove annying "Object" from variables. prepend handles with "h" instead.
-rename window->Self -> Window->hSelf

svn path=/trunk/; revision=17695
2005-09-06 11:00:27 +00:00
Gunnar Dalsnes 4e5ef38048 make handle table session global
svn path=/trunk/; revision=17694
2005-09-06 10:05:31 +00:00
Gunnar Dalsnes 5d3bcdcc13 move object.c and ssec.c into ntuser where they belong
svn path=/trunk/; revision=17693
2005-09-06 09:35:39 +00:00
Gunnar Dalsnes 65123629f5 forgot a file:-| sry
svn path=/trunk/; revision=17692
2005-09-06 07:58:43 +00:00
Alex Ionescu d1f19a8802 - Add missing decoration to Zw*
svn path=/trunk/; revision=17691
2005-09-06 06:44:34 +00:00
Alex Ionescu 870c588c1e - Handle RtlYyyStringToZzzStringSize->RtlxYyyStringtoZzzStringSize correctly so that the MSDDK macros can work and be added to the NDK/gnu ifs
svn path=/trunk/; revision=17690
2005-09-06 06:30:49 +00:00
Alex Ionescu 80b6230b45 A couple more fixes to prepare for the final patch
svn path=/trunk/; revision=17689
2005-09-06 06:19:30 +00:00