Alex Ionescu [Thu, 8 Sep 2005 05:03:34 +0000 (05:03 +0000)]
Share more duplicated functions
svn path=/trunk/; revision=17734
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
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
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
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
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
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
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
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
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
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
Gé van Geldorp [Wed, 7 Sep 2005 16:34:46 +0000 (16:34 +0000)]
Update status
svn path=/trunk/; revision=17723
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
Gé van Geldorp [Wed, 7 Sep 2005 16:23:24 +0000 (16:23 +0000)]
Add AC_SRC constants
svn path=/trunk/; revision=17720
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
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
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
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
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
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
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
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
Gunnar Dalsnes [Tue, 6 Sep 2005 23:29:54 +0000 (23:29 +0000)]
prop: simplify refcounting, naming changes
svn path=/trunk/; revision=17711
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
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
Alex Ionescu [Tue, 6 Sep 2005 23:15:15 +0000 (23:15 +0000)]
- One last build fix.
svn path=/trunk/; revision=17708
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
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
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
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
Alex Ionescu [Tue, 6 Sep 2005 19:37:38 +0000 (19:37 +0000)]
- Fix the sad sad definition of sizeof(ANSI_NULL) which returned 4...
svn path=/trunk/; revision=17703
Gé van Geldorp [Tue, 6 Sep 2005 19:21:42 +0000 (19:21 +0000)]
Fix release build
svn path=/trunk/; revision=17702
Gé van Geldorp [Tue, 6 Sep 2005 18:07:46 +0000 (18:07 +0000)]
Shut up some debug messages
svn path=/trunk/; revision=17701
Alex Ionescu [Tue, 6 Sep 2005 17:33:56 +0000 (17:33 +0000)]
- Use DDK macros to speed up size calculations on single-byte codepages.
svn path=/trunk/; revision=17700
Alex Ionescu [Tue, 6 Sep 2005 15:57:42 +0000 (15:57 +0000)]
- Remove deprecated zwtypes.h and spread out the types in the NT subsystems where they should go.
svn path=/trunk/; revision=17699
Gunnar Dalsnes [Tue, 6 Sep 2005 14:19:03 +0000 (14:19 +0000)]
window parent handle -> pointer adaptions
svn path=/trunk/; revision=17698
Gunnar Dalsnes [Tue, 6 Sep 2005 14:09:22 +0000 (14:09 +0000)]
make window parent a pointer + fix usage
svn path=/trunk/; revision=17697
Gunnar Dalsnes [Tue, 6 Sep 2005 13:36:04 +0000 (13:36 +0000)]
remove WndObjListLock
svn path=/trunk/; revision=17696
Gunnar Dalsnes [Tue, 6 Sep 2005 11:00:27 +0000 (11:00 +0000)]
naming changes:
-remove annying "Object" from variables. prepend handles with "h" instead.
-rename window->Self -> Window->hSelf
svn path=/trunk/; revision=17695
Gunnar Dalsnes [Tue, 6 Sep 2005 10:05:31 +0000 (10:05 +0000)]
make handle table session global
svn path=/trunk/; revision=17694
Gunnar Dalsnes [Tue, 6 Sep 2005 09:35:39 +0000 (09:35 +0000)]
move object.c and ssec.c into ntuser where they belong
svn path=/trunk/; revision=17693
Gunnar Dalsnes [Tue, 6 Sep 2005 07:58:43 +0000 (07:58 +0000)]
forgot a file:-| sry
svn path=/trunk/; revision=17692
Alex Ionescu [Tue, 6 Sep 2005 06:44:34 +0000 (06:44 +0000)]
- Add missing decoration to Zw*
svn path=/trunk/; revision=17691
Alex Ionescu [Tue, 6 Sep 2005 06:30:49 +0000 (06:30 +0000)]
- Handle RtlYyyStringToZzzStringSize->RtlxYyyStringtoZzzStringSize correctly so that the MSDDK macros can work and be added to the NDK/gnu ifs
svn path=/trunk/; revision=17690
Alex Ionescu [Tue, 6 Sep 2005 06:19:30 +0000 (06:19 +0000)]
A couple more fixes to prepare for the final patch
svn path=/trunk/; revision=17689
Alex Ionescu [Tue, 6 Sep 2005 05:58:48 +0000 (05:58 +0000)]
- Use inlined functions like MSDDK.
svn path=/trunk/; revision=17688
Alex Ionescu [Tue, 6 Sep 2005 05:30:39 +0000 (05:30 +0000)]
- Some more MSDDK/IFS compatibility fixes.
svn path=/trunk/; revision=17687
Gunnar Dalsnes [Tue, 6 Sep 2005 00:34:23 +0000 (00:34 +0000)]
remove window update lock
svn path=/trunk/; revision=17686
Gunnar Dalsnes [Mon, 5 Sep 2005 23:11:41 +0000 (23:11 +0000)]
remove user handle table lock, cursor locks, message queue locks, hook lock
svn path=/trunk/; revision=17685
Gunnar Dalsnes [Mon, 5 Sep 2005 22:39:29 +0000 (22:39 +0000)]
remove relatives lock, window props lock, classes locks, thread window lock, menu locks
svn path=/trunk/; revision=17684
Gé van Geldorp [Mon, 5 Sep 2005 22:20:04 +0000 (22:20 +0000)]
Sync to Wine-
20050830:
Robert Shearman <rob@codeweavers.com>
- Don't free previous buffer in NdrGetBuffer.
- Add stubs for NdrMapCommAndFaultStatus, conformant string marshaling
and context handle functions.
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.
Mike McCormack <mike@codeweavers.com>
- Fix some gcc 4.0 warnings.
svn path=/trunk/; revision=17683
Gé van Geldorp [Mon, 5 Sep 2005 22:09:45 +0000 (22:09 +0000)]
Sync to Wine-
20050830:
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.
- riched32 doesn't need an import library.
svn path=/trunk/; revision=17682
Gé van Geldorp [Mon, 5 Sep 2005 22:07:52 +0000 (22:07 +0000)]
Sync to Wine-
20050830:
Phil Krylov <phil@newstar.rinet.ru>
- Added support for backward search to RichEdit EM_FINDTEXT[AW],
EM_FINDTEXTEX[AW] message handler.
- Fixed EM_SETEVENTMASK RichEdit message handler to return old event
mask.
- Added handling of deff RTF control word.
- Added common keyboard shortcuts for Select All, Undo, Redo, Cut, Copy
and Paste to RichEdit.
- Automatically set default font after parsing a font table in RichEdit
RTF reader.
- Fixed EM_EXLINEFROMCHAR to work for last row of a paragraph.
- Fixed UTF-8 RTF parsing.
- Fixed a bug in EM_STREAMOUT RichEdit message handler which truncated
some streamed text.
- Generate ending \par in RTF output of RichEdit when streaming out a
whole document.
- Fixed a RichEdit RTF reader bug which resulted in loss of text.
Eliminated unneeded recursion in ME_InsertTextFromCursor().
- Implemented EM_CHARFROMPOS RichEdit message.
- Added EM_SETRECT, EM_SETRECTNP, and WM_SETREDRAW message handling.
Added support for GT_SELECTION flag in EM_GETTEXTEX handler.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 warning fixes for Interlocked* functions.
svn path=/trunk/; revision=17681
Gé van Geldorp [Mon, 5 Sep 2005 22:03:31 +0000 (22:03 +0000)]
Correct eol-style and remove unused file
svn path=/trunk/; revision=17680
Gé van Geldorp [Mon, 5 Sep 2005 22:00:07 +0000 (22:00 +0000)]
Sync to Wine-
20050830:
Francois Gouget <fgouget@free.fr>
- Change some Dll* functions so they are exported by name like on
Windows.
Update the documentation accordingly.
Robert Shearman <rob@codeweavers.com>
- Remove redundant QueryInterface in marshal_interface - the object is
always queried later on for the correct interface of the object.
- Make sure to Release the marshaled pointer in the typelib marshaler
once it is no longer required.
- Shunt some trace statements over to the typelib channel that aren't
really much use except in debugging typelib parsing.
- Make sure to release a reference to being returned as VariantCopyInd
takes one for us.
- Revert to previous behaviour of detecting names with non-alphanumeric
characters as ones with offsets, but add in a special case for an
empty name.
- A name in an SLTG typelib only beginning with 0xff is the indicator
of an offset, instead of any non alpha-numeric character.
- Any dispatch interface should have the fixed vtable size, not just
dual ones.
- Warn when ITypeInfo_GetDocumentation fails.
- Make typelib marshaler use IRpcChannelBuffer::GetBuffer if possible.
Alexandre Julliard <julliard@winehq.org>
- Replace the ICOM_THIS_From macros by inline functions.
- Moved a number of definitions that are not needed in other files into
vartype.c
- Removed some unnecessary macros, and make some functions static.
- Get rid of the almost empty tmarshal.h file.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Uniformize DllMain TRACEing across dlls.
Mike McCormack <mike@codeweavers.com>
- Fix gcc 4.0 warnings.
- gcc 4.0 warning fixes.
Michael Stefaniuc <mstefani@redhat.de>
- Implement IPicture::get_hPal for PICTYPE_BITMAP.
- VarAdd, VarMul: I4 overflows to R8 and not I8 even if the result
would fit in I8. Fix tests.
- Document a brokeness in the handling of I8 numbers in
VarNumFromParseNum. Fix tests.
Walt Ogburn <reuben@ugcs.caltech.edu>
- When applying logical / himetric ratio to olefont sizes, must divide
by the standard ratio 72 / 2540.
svn path=/trunk/; revision=17679
Gé van Geldorp [Mon, 5 Sep 2005 21:56:14 +0000 (21:56 +0000)]
Sync to Wine-
20050830:
Francois Gouget <fgouget@free.fr>
- Use LPSTORAGE to better match the PSDK.
Document the real SEGPTR type using the standard documentation
mechanisms. Fixes winapi_check warnings.
Robert Shearman <rob@codeweavers.com>
- Remove unused thread handle entry from the apartment structure.
- Implement IMarshal on proxies so that we don't end up with proxies
to proxies, causing potential deadlock issues and performance
problems.
- Add a test for this situation and remove the todo_wine from another
test that now succeeds.
- Add stub for CoAllowSetForegroundWindow.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Remove local declarations already in included public headers.
- Correct mismatches between spec files and comments about export
number.
Alexandre Julliard <julliard@winehq.org>
- Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
duplicate typedefs.
- Use the proper WOW functions everywhere instead of the K32WOW variant.
- Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
- Remove duplicate definition of FILE_BEGIN.
- Replace the _ICOM_THIS_From macros by inline functions the way it's
already done in shelllink.c.
Mike McCormack <mike@codeweavers.com>
- Warning fixes for gcc 4.0.
- Fix some gcc 4.0 warnings.
- return a precomputed result for a NULL string
- pass strlen an LPSTR to eliminate a sign warning
Marcus Meissner <marcus@jet.franken.de>
- Implemented ILockBytes16 (memorystream) support for the 16bit compound
storage implementation.
- Added ReadClassStg, OleDoAutoConvert, GetConvertStg
implementations/stubs.
Marcus Meissner <meissner@suse.de>
- Added CoCreateInstance16, CoGetClassObject16, OleLoad16 stubs.
svn path=/trunk/; revision=17678
Gé van Geldorp [Mon, 5 Sep 2005 21:47:21 +0000 (21:47 +0000)]
Import from vendor drop
svn path=/trunk/; revision=17677
Gé van Geldorp [Mon, 5 Sep 2005 21:44:11 +0000 (21:44 +0000)]
Delete existing objsel to prepare for vendor import
svn path=/trunk/; revision=17676
Hartmut Birr [Mon, 5 Sep 2005 21:39:59 +0000 (21:39 +0000)]
Revert my last commit.
svn path=/trunk/; revision=17674
Gé van Geldorp [Mon, 5 Sep 2005 21:34:19 +0000 (21:34 +0000)]
Sync to Wine-
20050830:
Francois Gouget <fgouget@free.fr>
- Change some Dll* functions so they are exported by name like on
Windows.
Update the documentation accordingly.
Johan Dahlin <jdahlin@async.com.br>
- Implemented MsiSetComponentState*.
- Added stubs for MsiSetComponentStateA and MsiSetComponentStateW.
- Added a null check for component.
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.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Correct mismatches between spec files and comments about export
number.
Aric Stewart <aric@codeweavers.com>
- Display the correct text string in the action text field for the
dialog boxes. Also the string should be deformatted.
- Make index INT not UINT because it can be -1.
- Fixed a memory overflow and leak identified by Mike McCormack.
- Add some body to ResolveSource because it is possible to need it when
an install is begun but the media is not in the drive, such as in
install-on-demand cases.
- The file name used in the ui messages is the target name not the
source name.
Yuri Kozlov <kozlov.y@gmail.com>
- Remove duplicate declaration of MSI_SetPropertyW.
Mike McCormack <mike@codeweavers.com>
- Handle loading strings over 64k from the string table.
- build a standard Wine list of folders instead of using an array
- use folder pointers instead of array indexes
- build a standard Wine list of files instead of using an array
- use file pointers instead of array indexes
- build a standard Wine list of features instead of using an array
- use feature pointers instead of array indexes
- build a standard Wine list of components instead of using an array
- use component pointers instead of array indexes
- Store the component information in a standard Wine list.
- Add include guard to header and make functions extern.
- build a standard Wine list of extensions instead of using an array
- use extension pointers instead of array indexes
- build a standard Wine list of appids instead of using an array
- use appid pointers instead of array indexes
- build a standard Wine list of mime types instead of using an array
- use mime type pointers instead of array indexes
- Add the allocated mime type to the mime type list.
- build a standard Wine list of classes instead of using an array
- use class pointers instead of array indexes
- Fix a small bug introduced when converting appids to a list.
- Implement MsiModifyView (MSIMODIFY_INSERT_TEMPORARY).
- Better stub for MsiViewGetError.
- Don't dereference variables in a trace.
- the combination of all table keys must be unique, not each key
- MsiViewExecute may not be called before MsiModifyView
- Make sure to save the result calculated in ACTION_UpdateInstallStates.
Steven Edwards <steven_ed4153@yahoo.com>
- Add real stub for MsiConfigureFeatureW.
svn path=/trunk/; revision=17672
Gunnar Dalsnes [Mon, 5 Sep 2005 21:19:23 +0000 (21:19 +0000)]
-surround user part (most of it) with a single lock (currently a mutex, but will be a resource). other now useless locks will be removed next.
-dont call NtUser fucnctions internally (they are syscalls only!)
-prepend co_ to functions leading to a "callout" (callback, wait, etc)
svn path=/trunk/; revision=17671
Gé van Geldorp [Mon, 5 Sep 2005 21:17:26 +0000 (21:17 +0000)]
Sync to Wine-
20050830:
Alexandre Julliard <julliard@winehq.org>
- Mark DllMain and similar exports as private.
svn path=/trunk/; revision=17670
Gé van Geldorp [Mon, 5 Sep 2005 21:15:50 +0000 (21:15 +0000)]
Sync to Wine-
20050830:
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=17669
Gé van Geldorp [Mon, 5 Sep 2005 21:08:24 +0000 (21:08 +0000)]
Sync to Wine-
20050830:
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 warning fixes.
svn path=/trunk/; revision=17668
Gé van Geldorp [Mon, 5 Sep 2005 21:06:55 +0000 (21:06 +0000)]
Sync to Wine-
20050830:
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.
- Uncomment out DisableThreadLibraryCalls in DllMain and add the
kernel32 imports that it requires.
svn path=/trunk/; revision=17667
Gé van Geldorp [Mon, 5 Sep 2005 21:04:10 +0000 (21:04 +0000)]
Sync to Wine-
20050830:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Check the GetPidlFromDataObject's doSelected parameter before calling
a method on it.
Alexandre Julliard <julliard@winehq.org>
- Replace the _ICOM_THIS_From macros by inline functions the way it's
already done in shelllink.c.
Vincent Béron <vberon@mecano.gme.usherb.ca>
- Uniformize DllMain TRACEing across dlls.
Vitaly Lipatov <lav@etersoft.ru>
- Restore paper orientation when pagesetupdlg is initializing.
Troy Rollo <wine@troy.rollo.name>
- Browse to the directory if a directory name is typed into the edit box
of a file dialog and the confirmation button (or Enter key) is hit.
Return any file name in the edit box if OFN_NOVALIDATE is set and
OFN_FILEMUSTEXIST is not, even if that file name includes a path name
or is the name of a folder.
svn path=/trunk/; revision=17666
Hartmut Birr [Mon, 5 Sep 2005 20:25:31 +0000 (20:25 +0000)]
- Copy the map registers to the buffer only, if they are used (in IoFlushAdapterBuffers).
- Do not use the byte offset into the page from a given buffer if the map registers are used,
because the caller didn't request for one additional register in the call to IoAllocateAdapterChannel
and it will not work for a 64k buffer.
svn path=/trunk/; revision=17665
Gé van Geldorp [Mon, 5 Sep 2005 20:25:16 +0000 (20:25 +0000)]
Sync to Wine-
20050830:
Vitaliy Margolen <wine-patch@kievinfo.com>
- Fix handling of minimum tab width.
Add more tests to test it.
Filip Navara <xnavara@volny.cz>
- Use ReleaseDC instead of DeleteDC on DC handle.
Phil Krylov <phil@newstar.rinet.ru>
- Improved header control performance by maintaining an internal order
array.
- Draw header control items only within the header client area.
Felix Nawothnig <felix.nawothnig@t-online.de>
- Fix DPA_Search for sorted arrays.
Michael Kaufmann <hallo@michael-kaufmann.ch>
- Handle WM_GETFONT and WM_SETFONT.
- Redraw immediately upon PBM_SETPOS, PBM_DELTAPOS, PBM_STEPIT.
- New tests.
Thomas Weidenmueller <wine-patches@reactsoft.com>
- It should be allowed to pass NULL handles in the phpage array of the
PROPSHEETHEADER structure to PropertySheet(), just ignore them.
Aric Stewart <aric@codeweavers.com>
- Fix for dreamweaver site definition dialog. Need to initialize the
rect for a tab control to an empty rect if it is not visible.
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.
- Fixed regression in DPA_Search.
Yuri Kozlov <kozlov.y@gmail.com>
- Set default size for toolbar bitmap if not specified.
Mike McCormack <mike@codeweavers.com>
- Fix gcc 4.0 warnings.
Vitaly Lipatov <lav@etersoft.ru>
- Use STATEIMAGEINDEX / INDEXTOSTATEIMAGEMASK instead of bit
operations.
Steven Edwards <steven_ed4153@yahoo.com>
- Correct RegCreateKeyEx[A/W] prototype to match the PSDK.
Frank Richter <frank.richter@gmail.com>
- Only draw a themed border when edit control has WS_EX_CLIENTEDGE
style.
- Merge subclass stubs and subclass proc. Having the stub set the window
proc to the subclass proc was not a good idea since that breaks
subclasses of themed standard controls (e.g. what Delphi does a lot).
- Determining the superclass for a window subclassed for theming doesn't
work - e.g. Delphi buttons have the classname "TButton" for which no
superclass will be found. Instead, use initial subclass window procs
that have the subclass hardcoded and store it for the "real" subclass
window proc.
- Add theming for toolbar control.
- Improved trackbar theming.
- Add initial theming support for trackbars.
- Add theming for treeview control.
- Add theming support for dialogs (to support tab page background).
- Add theming for listbox (and combo listbox) controls.
- Add theming for combo boxes.
- Subclass edit control to draw themed border.
- Added some generic code to allow subclassing (for the purpose of
theming) of standard controls.
- Fix warnings in 64bit.
- Add hottracking support for the header control.
- Since OpenThemeData() should return 0 in case theming is disabled
globally or for the application we don't need to check that when
calling OpenThemeData().
- Remove unneeded theming check.
- Add theming for the monthcal control.
- Instead of adding the border via WM_NCPAINT and WM_NCCALCSIZE, do what
native does: just clear WS_EX_STATICEDGE when themed and reduce the
area the actual bar is painted in to the progress bar theme part
content rect.
- Add theming for the progress control.
- Split up the drawing code into a set of smaller functions and also
moved some common computations into helper functions. All that to
facilitate the implementation of the forthcoming theming support.
- Add theming for the rebar control.
- Add theming for status bar control.
- Fix text color for "button" style tabs when theming is enabled.
- Add theming support for the tab control.
- Forward WM_DESTROY to superclass in edit & listbox theming.
- Add WM_CTLCOLORSTATIC handler to dialog theming subclass so static
text can appear transparent (for e.g. tab pages which commonly have a
"fancy" background).
svn path=/trunk/; revision=17664
Gé van Geldorp [Mon, 5 Sep 2005 20:07:46 +0000 (20:07 +0000)]
Sync to Wine-
20050830:
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.
Mike McCormack <mike@codeweavers.com>
- Fix gcc 4.0 warnings.
svn path=/trunk/; revision=17662
Gé van Geldorp [Mon, 5 Sep 2005 20:03:06 +0000 (20:03 +0000)]
Alexandre Julliard <julliard@winehq.org>
- 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.
svn path=/trunk/; revision=17661
Alex Ionescu [Mon, 5 Sep 2005 18:06:20 +0000 (18:06 +0000)]
- More NDK + MSDDK/IFS Compatibility fixes
- Prototype fixes
svn path=/trunk/; revision=17660
Gé van Geldorp [Mon, 5 Sep 2005 17:35:31 +0000 (17:35 +0000)]
Sync to Wine-
20050830:
Alexandre Julliard <julliard@winehq.org>
- Beginnings of a crt0 library.
- Added a warning for DllGetVersion and DllInstall not being declared
private. Also warn when one of the Dll* functions is using a different
internal name.
- Added a --undefined option to allow forcing some symbols to be
resolved by the linker.
- Byteswap the resources if we detect that the header is in the wrong
endianness.
- Moved more of the spec initialization code to the winecrt0 library,
and get rid of implicit kernel32 imports.
- Use __wine_unimplemented_stub from crt0 for 16-bit spec files too.
- Moved the delay loading support code to the winecrt0 library.
- Avoid using common symbols, they are broken on Mac OS.
- Moved the implementation of spec file stubs to the winecrt0 library.
- The exported name strings should be inside the export directory (found
by Vitaliy Margolen).
- Added some general purpose routines for managing list of symbol
names.
- Print a warning when a generated import library doesn't export
anything useful.
- Implemented DelayLoadFailureHook and use it in the winebuild-generated
delay load code.
- Compute the ordinal base and limit in assign_ordinals instead of doing
it while parsing.
- Get rid of the unused owner_name field.
Ge van Geldorp <gvg@reactos.org>
- Adapt changes to ReactOS
svn path=/trunk/; revision=17659
Gé van Geldorp [Mon, 5 Sep 2005 10:18:07 +0000 (10:18 +0000)]
Sync to Wine-
20050830:
Mike McCormack <mike@codeweavers.com>
- Fix a gcc 4.0 -Wpointer-sign warning.
- gcc 4.0 warning fix.
svn path=/trunk/; revision=17658
Gé van Geldorp [Mon, 5 Sep 2005 09:26:02 +0000 (09:26 +0000)]
Fix compilation when ENABLE_VALIDATE_POOL is defined
svn path=/trunk/; revision=17657
Gé van Geldorp [Mon, 5 Sep 2005 09:25:06 +0000 (09:25 +0000)]
The kernel extension is really a EXTENDED_DEVOBJ_EXTENSION now
svn path=/trunk/; revision=17656
Hervé Poussineau [Mon, 5 Sep 2005 07:59:29 +0000 (07:59 +0000)]
Fix the build. TIB field in KIPCR structure is named NtTib, not Tib
svn path=/trunk/; revision=17653
Alex Ionescu [Mon, 5 Sep 2005 07:51:15 +0000 (07:51 +0000)]
- More NDK/MSDDK compatibility fixes.
svn path=/trunk/; revision=17652
Alex Ionescu [Mon, 5 Sep 2005 04:48:20 +0000 (04:48 +0000)]
- NDK compatibility fixes for MSDDK. Use NTAPI instead of STDCALL, and use NTSYSAPI instead of NTOSAPI.
- Remove some functions/types in NDK that were already documented in DDK/IFS.
- Fixup syscall structures for the table and fix protoype of KeAdd/RemoveServiceDescriptorTable.
svn path=/trunk/; revision=17651
Alex Ionescu [Sun, 4 Sep 2005 23:48:19 +0000 (23:48 +0000)]
- Fix kernel32 and ntoskrnl build issues.
- Define public version of DEVOBJ_EXTENSION in DDK.
svn path=/trunk/; revision=17650
Alex Ionescu [Sun, 4 Sep 2005 23:26:35 +0000 (23:26 +0000)]
- Define NTSYSAPI and NTSYSCALLAPI
svn path=/trunk/; revision=17649
Alex Ionescu [Sun, 4 Sep 2005 23:18:34 +0000 (23:18 +0000)]
- Fix incorrect PFILE_MAILSLOT_SET_INFORMATION definition
- Fix MSFS to build with MSDDK.
- Fix iotypes.h to be MSDDK compatible.
svn path=/trunk/; revision=17648
Alex Ionescu [Sun, 4 Sep 2005 22:33:28 +0000 (22:33 +0000)]
- Fix typo in NDK
- Fix compilation of NPFS and MSFS and increase their compile speed by using PCH.
svn path=/trunk/; revision=17647
Hervé Poussineau [Sun, 4 Sep 2005 22:20:22 +0000 (22:20 +0000)]
Fix SetComputerNameA/W. They were sending a bad parameter to SetComputerNameExA/W. Thanks Hartmut
svn path=/trunk/; revision=17646
Alex Ionescu [Sun, 4 Sep 2005 22:16:57 +0000 (22:16 +0000)]
- Fix incompatible IO_STACK_LOCATION definition in W32api ddk/winddk.k
- Add EXTENDED_IO_STACK_LOCATION to NDK, with the full definition.
svn path=/trunk/; revision=17645
Hervé Poussineau [Sun, 4 Sep 2005 22:13:30 +0000 (22:13 +0000)]
Fix definition of STDCALL. Thanks Alex
svn path=/trunk/; revision=17644
Hervé Poussineau [Sun, 4 Sep 2005 22:12:35 +0000 (22:12 +0000)]
Alex prefers that we don't locally define structures that not in the DDK/IFS kit, but that we use the NDK headers.
This change breaks the compilation with the DDK/IFS kit only.
svn path=/trunk/; revision=17643
Hervé Poussineau [Sun, 4 Sep 2005 21:44:02 +0000 (21:44 +0000)]
Allow compilation of npfs driver with MSVC
svn path=/trunk/; revision=17642
Hervé Poussineau [Sun, 4 Sep 2005 21:14:54 +0000 (21:14 +0000)]
Allow compilation of fs_rec driver with MSVC
svn path=/trunk/; revision=17641
Hervé Poussineau [Sun, 4 Sep 2005 20:45:34 +0000 (20:45 +0000)]
Don't double-define KEBUGCHECK(EX)
svn path=/trunk/; revision=17640
Hervé Poussineau [Sun, 4 Sep 2005 20:11:51 +0000 (20:11 +0000)]
Implement SetComputerNameExA/W
svn path=/trunk/; revision=17639
Alex Ionescu [Sun, 4 Sep 2005 18:00:59 +0000 (18:00 +0000)]
- Various fixes to headers, such as fixing some LPC prototypes, adding/correcting some structures, adding some missing definitions, etc...
svn path=/trunk/; revision=17638
Alex Ionescu [Sun, 4 Sep 2005 15:57:17 +0000 (15:57 +0000)]
- Disable two tests since the Balance Set Manager isn't implemented yet and they'll freeze ROS.
svn path=/trunk/; revision=17637
Filip Navara [Sun, 4 Sep 2005 15:18:52 +0000 (15:18 +0000)]
Get correct physical address in HalpGrowMapBuffers.
svn path=/trunk/; revision=17636
Eric Kohl [Sun, 4 Sep 2005 14:40:12 +0000 (14:40 +0000)]
Implement CM_Get_Class_Name_ExA.
svn path=/trunk/; revision=17635
Magnus Olsen [Sun, 4 Sep 2005 11:47:50 +0000 (11:47 +0000)]
fix bug 739 can not create file notepad newfile.txt
at cmd prompt
svn path=/trunk/; revision=17634
Magnus Olsen [Sun, 4 Sep 2005 11:31:54 +0000 (11:31 +0000)]
Revers the change after reboot it did carcgh for me hole time.
svn path=/trunk/; revision=17633
Eric Kohl [Sun, 4 Sep 2005 11:26:09 +0000 (11:26 +0000)]
- Enclose GUID in curly brackets.
- Implement CM_Get_Class_Key_Name_ExA.
svn path=/trunk/; revision=17632
Magnus Olsen [Sun, 4 Sep 2005 11:18:39 +0000 (11:18 +0000)]
remove some hardcode buffer value. The dymatic buffer does not work yet, until all CMDLINE_LENGTH are remove.
svn path=/trunk/; revision=17631
Filip Navara [Sun, 4 Sep 2005 11:17:37 +0000 (11:17 +0000)]
Fix the return value of HalReadDmaCounter at the end of transfer.
svn path=/trunk/; revision=17630
Filip Navara [Sun, 4 Sep 2005 10:02:19 +0000 (10:02 +0000)]
- Set the MAP_BASE_SW_SG flag for map registers in IoFreeMapRegisters.
- Fix address calculation in HalpCopyBufferMap.
- Correctly set the map register counter in IoMapTransfer if dealing with MAP_BASE_SW_SG map registers.
svn path=/trunk/; revision=17629