reactos.git
18 years ago- Use DDK macros to speed up size calculations on single-byte codepages.
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

18 years ago- Remove deprecated zwtypes.h and spread out the types in the NT subsystems where...
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

18 years agowindow parent handle -> pointer adaptions
Gunnar Dalsnes [Tue, 6 Sep 2005 14:19:03 +0000 (14:19 +0000)]
window parent handle -> pointer adaptions

svn path=/trunk/; revision=17698

18 years agomake window parent a pointer + fix usage
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

18 years agoremove WndObjListLock
Gunnar Dalsnes [Tue, 6 Sep 2005 13:36:04 +0000 (13:36 +0000)]
remove WndObjListLock

svn path=/trunk/; revision=17696

18 years agonaming changes:
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

18 years agomake handle table session global
Gunnar Dalsnes [Tue, 6 Sep 2005 10:05:31 +0000 (10:05 +0000)]
make handle table session global

svn path=/trunk/; revision=17694

18 years agomove object.c and ssec.c into ntuser where they belong
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

18 years agoforgot a file:-| sry
Gunnar Dalsnes [Tue, 6 Sep 2005 07:58:43 +0000 (07:58 +0000)]
forgot a file:-| sry

svn path=/trunk/; revision=17692

18 years ago- Add missing decoration to Zw*
Alex Ionescu [Tue, 6 Sep 2005 06:44:34 +0000 (06:44 +0000)]
- Add missing decoration to Zw*

svn path=/trunk/; revision=17691

18 years ago- Handle RtlYyyStringToZzzStringSize->RtlxYyyStringtoZzzStringSize correctly so that...
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

18 years agoA couple more fixes to prepare for the final patch
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

18 years ago- Use inlined functions like MSDDK.
Alex Ionescu [Tue, 6 Sep 2005 05:58:48 +0000 (05:58 +0000)]
- Use inlined functions like MSDDK.

svn path=/trunk/; revision=17688

18 years ago- Some more MSDDK/IFS compatibility fixes.
Alex Ionescu [Tue, 6 Sep 2005 05:30:39 +0000 (05:30 +0000)]
- Some more MSDDK/IFS compatibility fixes.

svn path=/trunk/; revision=17687

18 years agoremove window update lock
Gunnar Dalsnes [Tue, 6 Sep 2005 00:34:23 +0000 (00:34 +0000)]
remove window update lock

svn path=/trunk/; revision=17686

18 years agoremove user handle table lock, cursor locks, message queue locks, hook lock
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

18 years agoremove relatives lock, window props lock, classes locks, thread window lock, menu...
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

18 years agoSync to Wine-20050830:
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

18 years agoSync to Wine-20050830:
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

18 years agoSync to Wine-20050830:
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

18 years agoCorrect eol-style and remove unused file
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

18 years agoSync to Wine-20050830:
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

18 years agoSync to Wine-20050830:
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

18 years agoImport from vendor drop
Gé van Geldorp [Mon, 5 Sep 2005 21:47:21 +0000 (21:47 +0000)]
Import from vendor drop

svn path=/trunk/; revision=17677

18 years agoDelete existing objsel to prepare for vendor import
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

18 years agoRevert my last commit.
Hartmut Birr [Mon, 5 Sep 2005 21:39:59 +0000 (21:39 +0000)]
Revert my last commit.

svn path=/trunk/; revision=17674

18 years agoSync to Wine-20050830:
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

18 years ago-surround user part (most of it) with a single lock (currently a mutex, but will...
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

18 years agoSync to Wine-20050830:
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

18 years agoSync to Wine-20050830:
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

18 years agoSync to Wine-20050830:
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

18 years agoSync to Wine-20050830:
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

18 years agoSync to Wine-20050830:
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

18 years ago- Copy the map registers to the buffer only, if they are used (in IoFlushAdapterBuffers).
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

18 years agoSync to Wine-20050830:
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

18 years agoSync to Wine-20050830:
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

18 years agoAlexandre Julliard <julliard@winehq.org>
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

18 years ago- More NDK + MSDDK/IFS Compatibility fixes
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

18 years agoSync to Wine-20050830:
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

18 years agoSync to Wine-20050830:
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

18 years agoFix compilation when ENABLE_VALIDATE_POOL is defined
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

18 years agoThe kernel extension is really a EXTENDED_DEVOBJ_EXTENSION now
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

18 years agoFix the build. TIB field in KIPCR structure is named NtTib, not Tib
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

18 years ago- More NDK/MSDDK compatibility fixes.
Alex Ionescu [Mon, 5 Sep 2005 07:51:15 +0000 (07:51 +0000)]
- More NDK/MSDDK compatibility fixes.

svn path=/trunk/; revision=17652

18 years ago- NDK compatibility fixes for MSDDK. Use NTAPI instead of STDCALL, and use NTSYSAPI...
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

18 years ago- Fix kernel32 and ntoskrnl build issues.
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

18 years ago- Define NTSYSAPI and NTSYSCALLAPI
Alex Ionescu [Sun, 4 Sep 2005 23:26:35 +0000 (23:26 +0000)]
- Define NTSYSAPI and NTSYSCALLAPI

svn path=/trunk/; revision=17649

18 years ago- Fix incorrect PFILE_MAILSLOT_SET_INFORMATION definition
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

18 years ago- Fix typo in NDK
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

18 years agoFix SetComputerNameA/W. They were sending a bad parameter to SetComputerNameExA/W...
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

18 years ago- Fix incompatible IO_STACK_LOCATION definition in W32api ddk/winddk.k
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

18 years agoFix definition of STDCALL. Thanks Alex
Hervé Poussineau [Sun, 4 Sep 2005 22:13:30 +0000 (22:13 +0000)]
Fix definition of STDCALL. Thanks Alex

svn path=/trunk/; revision=17644

18 years agoAlex prefers that we don't locally define structures that not in the DDK/IFS kit...
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

18 years agoAllow compilation of npfs driver with MSVC
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

18 years agoAllow compilation of fs_rec driver with MSVC
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

18 years agoDon't double-define KEBUGCHECK(EX)
Hervé Poussineau [Sun, 4 Sep 2005 20:45:34 +0000 (20:45 +0000)]
Don't double-define KEBUGCHECK(EX)

svn path=/trunk/; revision=17640

18 years agoImplement SetComputerNameExA/W
Hervé Poussineau [Sun, 4 Sep 2005 20:11:51 +0000 (20:11 +0000)]
Implement SetComputerNameExA/W

svn path=/trunk/; revision=17639

18 years ago- Various fixes to headers, such as fixing some LPC prototypes, adding/correcting...
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

18 years ago- Disable two tests since the Balance Set Manager isn't implemented yet and they...
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

18 years agoGet correct physical address in HalpGrowMapBuffers.
Filip Navara [Sun, 4 Sep 2005 15:18:52 +0000 (15:18 +0000)]
Get correct physical address in HalpGrowMapBuffers.

svn path=/trunk/; revision=17636

18 years agoImplement CM_Get_Class_Name_ExA.
Eric Kohl [Sun, 4 Sep 2005 14:40:12 +0000 (14:40 +0000)]
Implement CM_Get_Class_Name_ExA.

svn path=/trunk/; revision=17635

18 years agofix bug 739 can not create file notepad newfile.txt
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

18 years agoRevers the change after reboot it did carcgh for me hole time.
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

18 years ago- Enclose GUID in curly brackets.
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

18 years agoremove some hardcode buffer value. The dymatic buffer does not work yet, until all...
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

18 years agoFix the return value of HalReadDmaCounter at the end of transfer.
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

18 years ago- Set the MAP_BASE_SW_SG flag for map registers in IoFreeMapRegisters.
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

18 years agoRemove more hardcode buffer value to dymatic buffer.
Magnus Olsen [Sun, 4 Sep 2005 09:54:59 +0000 (09:54 +0000)]
Remove more hardcode buffer value to dymatic buffer.

svn path=/trunk/; revision=17628

18 years agofix a small bug after me, and check if it really got memmory or not.
Magnus Olsen [Sun, 4 Sep 2005 09:29:44 +0000 (09:29 +0000)]
fix a small bug after me, and check if it really got memmory or not.

svn path=/trunk/; revision=17627

18 years agoremove some hardcode commadline buffer value. first step to implement dymatic buffer...
Magnus Olsen [Sat, 3 Sep 2005 23:12:17 +0000 (23:12 +0000)]
remove some hardcode commadline buffer value. first step to implement dymatic buffer. but we need do it very carefull, so nothing will be broken.

svn path=/trunk/; revision=17626

18 years agofix type can handler \n at text output thx ravelo for the small patch. see file misc...
Magnus Olsen [Sat, 3 Sep 2005 19:59:51 +0000 (19:59 +0000)]
fix type can handler \n at text output thx ravelo for the small patch. see file misc.c. prompt.c fix the szParam so it have a buffer set. and do not use szParam for param, the param length can in future very big. when dymatic buffer be implement at command line.

svn path=/trunk/; revision=17625

18 years agoFix GUID->String conversion.
Eric Kohl [Sat, 3 Sep 2005 19:44:47 +0000 (19:44 +0000)]
Fix GUID->String conversion.
Implement CM_Get_Class[_Ex]A/W.

svn path=/trunk/; revision=17624

18 years agoFix cmd build. Please check your changes before commiting.
Andrew Munger [Sat, 3 Sep 2005 18:05:33 +0000 (18:05 +0000)]
Fix cmd build.  Please check your changes before commiting.

svn path=/trunk/; revision=17623

18 years agoFixed the return value in KeRundownQueue if the queue is empty. This should fix bug...
Hartmut Birr [Sat, 3 Sep 2005 18:00:54 +0000 (18:00 +0000)]
Fixed the return value in KeRundownQueue if the queue is empty. This should fix bug 751.

svn path=/trunk/; revision=17622

18 years agoSet the ownership before locking the bitmap in EngCreateDeviceSurface, because GDIOBJ...
Hartmut Birr [Sat, 3 Sep 2005 17:40:33 +0000 (17:40 +0000)]
Set the ownership before locking the bitmap in EngCreateDeviceSurface, because GDIOBJ_SetOwnership runs in a dead lock if the object is already locked by the same process.
This may fix bug 747.

svn path=/trunk/; revision=17621

18 years agoSetting my changes back for prompt.c. Greatlord and I agreed about this. These...
Brandon Turner [Sat, 3 Sep 2005 11:51:22 +0000 (11:51 +0000)]
Setting my changes back for prompt.c.  Greatlord and I agreed about this.  These was a miscommication about these changes and the way different MS version handle it.

svn path=/trunk/; revision=17620

18 years agoUpdated translation by Anders, proofread by Andreas Bjerkeholt, rename Sw to sv,...
Magnus Olsen [Sat, 3 Sep 2005 11:50:23 +0000 (11:50 +0000)]
Updated translation by Anders, proofread by Andreas Bjerkeholt, rename Sw to sv, Sw stand for another language's. Steven can you send this change to winehq.

svn path=/trunk/; revision=17619

18 years agoSwedish translation by David Nordenberg, proofread by Andreas Bjerkeholt
Magnus Olsen [Sat, 3 Sep 2005 11:23:24 +0000 (11:23 +0000)]
Swedish translation by David Nordenberg, proofread by Andreas Bjerkeholt

svn path=/trunk/; revision=17618

18 years agoSwedish translation by Andreas Bjerkeholt, proofread by David Nordenberg. Some did...
Magnus Olsen [Sat, 3 Sep 2005 11:22:13 +0000 (11:22 +0000)]
Swedish translation by Andreas Bjerkeholt, proofread by David Nordenberg. Some did forget add Es.rc to rsrc.rc  (the Spanish translations)

svn path=/trunk/; revision=17617

18 years agoDavid Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt
Magnus Olsen [Sat, 3 Sep 2005 11:20:04 +0000 (11:20 +0000)]
David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt

svn path=/trunk/; revision=17616

18 years ago* Updated translation by Anders, proofread by Andreas Bjerkeholt
Magnus Olsen [Sat, 3 Sep 2005 11:05:31 +0000 (11:05 +0000)]
* Updated translation by Anders, proofread by Andreas Bjerkeholt

svn path=/trunk/; revision=17615

18 years agorevers brandon change to prompt.c they are incorrect. Add a check if prompt env are...
Magnus Olsen [Sat, 3 Sep 2005 09:46:46 +0000 (09:46 +0000)]
revers brandon change to prompt.c they are incorrect. Add a check if prompt env are set or not. if it is not set cmd set the prompt value. in cmd.c brandon forget that.

svn path=/trunk/; revision=17614

18 years agoCorrectly assign %propmt%.
Brandon Turner [Sat, 3 Sep 2005 01:34:40 +0000 (01:34 +0000)]
Correctly assign %propmt%.
cmd.c = give %prompt% default value of $P$G
prompt.c = when param are null, assign %prompt% to $P$G

svn path=/trunk/; revision=17613

18 years agosmall efficiency boost
Royce Mitchell III [Sat, 3 Sep 2005 01:19:25 +0000 (01:19 +0000)]
small efficiency boost

svn path=/trunk/; revision=17612

18 years agoFixed a bug that crashed cmd when "cd /D" but no path. Bug reported by Harteex.
Brandon Turner [Fri, 2 Sep 2005 22:41:40 +0000 (22:41 +0000)]
Fixed a bug that crashed cmd when "cd /D" but no path.  Bug reported by Harteex.

svn path=/trunk/; revision=17611

18 years agoRemove warnings
Hervé Poussineau [Fri, 2 Sep 2005 21:26:51 +0000 (21:26 +0000)]
Remove warnings

svn path=/trunk/; revision=17610

18 years agoRmRemove warnings
Hervé Poussineau [Fri, 2 Sep 2005 21:13:10 +0000 (21:13 +0000)]
RmRemove warnings

svn path=/trunk/; revision=17609

18 years agoRemove DbgPrint statements as they were not executed + some of them were badly placed
Hervé Poussineau [Fri, 2 Sep 2005 21:11:17 +0000 (21:11 +0000)]
Remove DbgPrint statements as they were not executed + some of them were badly placed

svn path=/trunk/; revision=17608

18 years agoDon't fill twice the output buffer. Bug spotted by Filip
Hervé Poussineau [Fri, 2 Sep 2005 19:05:01 +0000 (19:05 +0000)]
Don't fill twice the output buffer. Bug spotted by Filip

svn path=/trunk/; revision=17606

18 years agoNo need to allocate too much memory, as SetupDiGetDeviceRegistryPropertyW returns...
Hervé Poussineau [Fri, 2 Sep 2005 18:51:32 +0000 (18:51 +0000)]
No need to allocate too much memory, as SetupDiGetDeviceRegistryPropertyW returns a size in bytes, not in characters. Bug spotted by Filip

svn path=/trunk/; revision=17605

18 years agoCheck for Request == NULL.
Filip Navara [Fri, 2 Sep 2005 13:12:44 +0000 (13:12 +0000)]
Check for Request == NULL.

svn path=/trunk/; revision=17604

18 years agoFix open mode passed to CreateFile in DoSaveFile function. Patch by Johannes Anderwald.
Filip Navara [Fri, 2 Sep 2005 11:29:40 +0000 (11:29 +0000)]
Fix open mode passed to CreateFile in DoSaveFile function. Patch by Johannes Anderwald.

svn path=/trunk/; revision=17603

18 years agoLink against string.a instead of hal and ntoskrnl, otherwise Windows will not load...
Gregor Anich [Thu, 1 Sep 2005 23:32:59 +0000 (23:32 +0000)]
Link against string.a instead of hal and ntoskrnl, otherwise Windows will not load the driver.

svn path=/trunk/; revision=17602

18 years agofixed RtlCompareUnicodeString and RtlCompareString (said stuff were equal when it...
Gunnar Dalsnes [Thu, 1 Sep 2005 21:09:07 +0000 (21:09 +0000)]
fixed RtlCompareUnicodeString and RtlCompareString (said stuff were equal when it was not) by ripping from wine

svn path=/trunk/; revision=17601

18 years agoCorrect some checks, fix bug 748 (qemu networking). Fix by his vaingloriousness Alex...
Andrew Munger [Thu, 1 Sep 2005 02:57:27 +0000 (02:57 +0000)]
Correct some checks, fix bug 748 (qemu networking). Fix by his vaingloriousness Alex Ionescu.

svn path=/trunk/; revision=17600

18 years agoPrint the exception code and the faulting address, if the address is available.
Hartmut Birr [Tue, 30 Aug 2005 16:28:36 +0000 (16:28 +0000)]
Print the exception code and the faulting address, if the address is available.

svn path=/trunk/; revision=17598

18 years agoInvoke always our own exception handler if the exception wasn't handled. It prints...
Hartmut Birr [Tue, 30 Aug 2005 16:26:38 +0000 (16:26 +0000)]
Invoke always our own exception handler if the exception wasn't handled. It prints some nice informations.

svn path=/trunk/; revision=17597

18 years agoDon't interpret SIG_DFL and SIG_IGN as real handler address.
Hartmut Birr [Tue, 30 Aug 2005 16:24:55 +0000 (16:24 +0000)]
Don't interpret SIG_DFL and SIG_IGN as real handler address.

svn path=/trunk/; revision=17596

18 years agoRemove WineDebugInfo from TEB and fix type of TlsExpansionBitmap in PEB.
Filip Navara [Mon, 29 Aug 2005 22:23:55 +0000 (22:23 +0000)]
Remove WineDebugInfo from TEB and fix type of TlsExpansionBitmap in PEB.

svn path=/trunk/; revision=17595

18 years agoFormatting and code style changes.
Filip Navara [Mon, 29 Aug 2005 21:06:07 +0000 (21:06 +0000)]
Formatting and code style changes.

svn path=/trunk/; revision=17594