reactos.git
16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

svn path=/trunk/; revision=17610

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

svn path=/trunk/; revision=17609

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years agofixed uninitialized variable warning
Thomas Bluemel [Mon, 29 Aug 2005 20:06:43 +0000 (20:06 +0000)]
fixed uninitialized variable warning

svn path=/trunk/; revision=17593

16 years agofix an if statment. Found by thomas.
Brandon Turner [Mon, 29 Aug 2005 19:09:41 +0000 (19:09 +0000)]
fix an if statment.  Found by thomas.

svn path=/trunk/; revision=17592

16 years agoFixed a bug in tab complete when there was only one " and it was in the middle or...
Brandon Turner [Mon, 29 Aug 2005 18:25:54 +0000 (18:25 +0000)]
Fixed a bug in tab complete when there was only one " and it was in the middle or end of the string.  Also changed used more optimized code removing " and removed all _tcsncmp(..,..,1).

svn path=/trunk/; revision=17591

16 years ago- don't close handles of keys in RegDeleteTree() that were deleted
Thomas Bluemel [Mon, 29 Aug 2005 13:54:05 +0000 (13:54 +0000)]
- don't close handles of keys in RegDeleteTree() that were deleted
- implemented RegConnectRegistryA()

svn path=/trunk/; revision=17589

16 years agoRemove warnings
Hervé Poussineau [Sun, 28 Aug 2005 15:43:00 +0000 (15:43 +0000)]
Remove warnings

svn path=/trunk/; revision=17588

16 years agoRemove warnings
Hervé Poussineau [Sun, 28 Aug 2005 15:29:36 +0000 (15:29 +0000)]
Remove warnings

svn path=/trunk/; revision=17587

16 years agoImplement CM_Get_Class_Key_Name[_Ex]A/W and CM_Open_Class[_Ex]A/W.
Eric Kohl [Sun, 28 Aug 2005 15:07:45 +0000 (15:07 +0000)]
Implement CM_Get_Class_Key_Name[_Ex]A/W and CM_Open_Class[_Ex]A/W.

svn path=/trunk/; revision=17586

16 years agoremove single "." entries from paths
Royce Mitchell III [Sun, 28 Aug 2005 12:23:37 +0000 (12:23 +0000)]
remove single "." entries from paths

svn path=/trunk/; revision=17585

16 years agoremove transient debugging code
Royce Mitchell III [Sun, 28 Aug 2005 12:18:13 +0000 (12:18 +0000)]
remove transient debugging code

svn path=/trunk/; revision=17584

16 years agodon't crash if path == base_directory.
Royce Mitchell III [Sun, 28 Aug 2005 12:08:53 +0000 (12:08 +0000)]
don't crash if path == base_directory.
sorry I forgot to commit my changes to this file last night

svn path=/trunk/; revision=17583

16 years ago- Allocate the csrss request buffer from heap if the necessary length is larger than...
Hartmut Birr [Sun, 28 Aug 2005 12:03:25 +0000 (12:03 +0000)]
- Allocate the csrss request buffer from heap if the necessary length is larger than the request structure.
- Fixed some buffer length calculations.

svn path=/trunk/; revision=17582

16 years agoAllocated the message reply buffer according to the size of the message.
Hartmut Birr [Sun, 28 Aug 2005 11:58:06 +0000 (11:58 +0000)]
Allocated the message reply buffer according to the size of the message.

svn path=/trunk/; revision=17581

16 years agoFix rbuild compilation, by adding Path::RelativeFromDirectory method
Hervé Poussineau [Sun, 28 Aug 2005 09:50:00 +0000 (09:50 +0000)]
Fix rbuild compilation, by adding Path::RelativeFromDirectory method

svn path=/trunk/; revision=17580

16 years agoRemove warnings
Hervé Poussineau [Sun, 28 Aug 2005 09:07:43 +0000 (09:07 +0000)]
Remove warnings

svn path=/trunk/; revision=17579

16 years agoRemove warnings
Hervé Poussineau [Sun, 28 Aug 2005 09:04:39 +0000 (09:04 +0000)]
Remove warnings

svn path=/trunk/; revision=17578

16 years agoAutoregister Debug internal subsystem too. Now 'sm info' displays meaningful information.
Emanuele Aliberti [Sun, 28 Aug 2005 07:34:35 +0000 (07:34 +0000)]
Autoregister Debug internal subsystem too. Now 'sm info' displays meaningful information.

NOTE: It seems the new client management introduced a stupid bug that shows up on system shutdown (smss crashes calling an LPC related API). I can't locate it now (of course, that happens for every 'stupid' bug, but will tray again later).

svn path=/trunk/; revision=17577

16 years agoadd include directories from xml, remove "." hack, as projects that need to include...
Royce Mitchell III [Sun, 28 Aug 2005 05:34:22 +0000 (05:34 +0000)]
add include directories from xml, remove "." hack, as projects that need to include their base directory have done so already in the xml.

svn path=/trunk/; revision=17576

16 years agoadd . to list of include directories for all projects
Royce Mitchell III [Sun, 28 Aug 2005 02:37:06 +0000 (02:37 +0000)]
add . to list of include directories for all projects

svn path=/trunk/; revision=17575

16 years ago#include "precomp.h" -> #include <precomp.h>
Thomas Bluemel [Sat, 27 Aug 2005 23:35:51 +0000 (23:35 +0000)]
#include "precomp.h" -> #include <precomp.h>

svn path=/trunk/; revision=17574

16 years agoImplement StringTableInitializeEx, StringTableGetExtraData and StringTableSetExtraData.
Eric Kohl [Sat, 27 Aug 2005 19:14:35 +0000 (19:14 +0000)]
Implement StringTableInitializeEx, StringTableGetExtraData and StringTableSetExtraData.
Add StringTableAddStringEx and StringTableLookUpStringEx stubs.

svn path=/trunk/; revision=17573