reactos.git
18 years agoDisplayBuffer is only used when DBG=1
Brandon Turner [Sat, 8 Oct 2005 18:07:45 +0000 (18:07 +0000)]
DisplayBuffer is only used when DBG=1

svn path=/trunk/; revision=18349

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 17:41:41 +0000 (17:41 +0000)]
Sync to Wine-20050930:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Don't clone pidlLast in SHBindToParent.
- Pass correct pointer to SHFree in case of failure in
  UNIXFS_path_to_pidl.
- Return E_FAIL if we can't get the unix path in
  IPersistFolder3::InitializeEx.
- Return E_NOAGGREGATION if non-NULL pUnkOuter is given to the
  constructor.
Alexandre Julliard <julliard@winehq.org>
- We are no longer generating .spec.c files.
- Generate 16-bit spec files as assembly code too.
- Use a more portable scheme for storing the name of a critical
  section.
- Removed unused debug channels.
- Specify 64-bit integers as double instead of long long in spec files
  so that we get the correct number of arguments.
- We are no longer generating .dbg.c files.
Milko Krachounov <milko@3mhz.net>
- Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
  shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
  setupapi, wininet, regedit, uninstaller, notepad, winecfg and
  winhelp.
Kevin Koltzau <kevin@plop.org>
- Fix warnings in 64bit.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Stop using a not initialized variable szTemp in
  _dbg_ILSimpleGetText, make _dbg_ILSimpleGetText return no value since
  nobody is using it.
- Stop dereferencing a possible NULL in pdump since
  _dbg_ILGetDataPointer can potentially return NULL (for instance for
  root or desktop pidl).
- Make shdebugstr_guid use standard wine_dbg_sprintf instead of the
  handmade solution.
- Translate file name from unix to ANSI encoding in
  UnixFolder_IShellFolder2_GetDisplayNameOf.
- Pass a locally modified version of SHELLEXECUTEINFO to
  IShellExecuteHookW_Execute, this should pass through at least
  sei_tmp.nShow retrieved from an .lnk file (fStartup).
Alexander N. Sørnes <alex@thehandofagony.com>
- Added Norwegian translation of comctl32 and shell32.
Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
- Update Finnish resources.

svn path=/trunk/; revision=18348

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 17:26:40 +0000 (17:26 +0000)]
Sync to Wine-20050930:
Robert Shearman <rob@codeweavers.com>
- Implement most of the details around unmarshalling of an object
  pointer.
- Fix allocation scheme in NdrConformantArrayUnmarshal to allocate if
  *ppMemory is NULL, like complex struct and user type unmarshalling.
- Fix ref-counting rules to match native DCOM Dlls.
Alexandre Julliard <julliard@winehq.org>
- Use a more portable scheme for storing the name of a critical
  section.
- We are no longer generating .dbg.c files.
Mike McCormack <mike@codeweavers.com>
- Fix gcc 4.0 warnings.

svn path=/trunk/; revision=18347

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 17:17:27 +0000 (17:17 +0000)]
Sync to Wine-20050930:
Rein Klazes <wijn@wanadoo.nl>
- When scrolling, first update the new position of the control before
  calling UpdateWindow().
Alexandre Julliard <julliard@winehq.org>
- Fixed gcc 4.0 warnings.
- We are no longer generating .dbg.c files.
Krzysztof Foltman <wdev@foltman.com>
- Reimplementation of EM_LINELENGTH.
- Some attempt at documentation of double-linked list of
  ME_DisplayItem's.
- Optional destinations in stylesheets are now skipped properly (and
  not treated as the "proper" styles as they were before).
- EOF condition in the middle of the stylesheet is no longer putting
  the reader into infinite loop,
- Half-full input buffers don't trigger EOF anymore (although it
  could, in theory, break some apps, I find it unlikely - and the
  change makes Out from Boneville installer display license properly).
Marcus Meissner <marcus@jet.franken.de>
- The last argument to MultiByteToWideChar is wide character count and
  not the buffer size in bytes. Fixed all places where it was wrong.

svn path=/trunk/; revision=18345

18 years agoFix EOLs
Gé van Geldorp [Sat, 8 Oct 2005 17:15:42 +0000 (17:15 +0000)]
Fix EOLs

svn path=/trunk/; revision=18344

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 17:13:07 +0000 (17:13 +0000)]
Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- We are no longer generating .dbg.c files.
Alexander N. Sørnes <alex@thehandofagony.com>
- Added Norwegian translations.

svn path=/trunk/; revision=18343

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 17:10:59 +0000 (17:10 +0000)]
Sync to Wine-20050930:
Francois Gouget <fgouget@free.fr>
- Fix .spec declarations for functinos with 64bit arguments (reported by
  winapi_check).
Robert Shearman <rob@codeweavers.com>
- Add VT_UNKNOWN support for VARIANT marshaling by generalising the
  existing VT_DISPATCH code.
- Fix ref-counting rules to match native DCOM Dlls.
Alex Villacís Lasso <a_villacis@palosanto.com>
- Modify VarDiv() and VarSub() to use the existing VarDecSub() and
  VarDecDiv() for DECIMAL.
- Fix a scaling error in VarR4FromDec() and VarR8FromDec() that
  incorrectly multiplies the high 32 bits of the DECIMAL by 1e64 instead
  of the correct 2^64.
- Make Single|Double->BSTR conversion use the specified locale for the
  decimal point even without the LOCALE_USE_NLS flag. Test supplied.
Alexandre Julliard <julliard@winehq.org>
- We are no longer generating .spec.c files.
- Removed unused debug channels.
- Specify 64-bit integers as double instead of long long in spec files
  so that we get the correct number of arguments.
- Use a more portable scheme for storing the name of a critical
  section.
- Use MAKEINTRESOURCE instead of casts where appropriate.
- We are no longer generating .dbg.c files.
Milko Krachounov <milko@3mhz.net>
- Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
  shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
  setupapi, wininet, regedit, uninstaller, notepad, winecfg and
  winhelp.
Mike McCormack <mike@codeweavers.com>
- Fix "empty body in an if/else-statement" warnings.
Walt Ogburn <reuben@ugcs.caltech.edu>
- Get IFontDisp type information from stdole2.tlb, instead of IDispatch
  information from stdole32.tlb.
Marcus Meissner <marcus@jet.franken.de>
- Support more arguments in _invoke().
Marcus Meissner <meissner@suse.de>
- VT_PTR->VT_USERDEFINED chains depend on the TKIND of the userdefined
  type due to our handling of COM interfaces in there.

svn path=/trunk/; revision=18342

18 years agosync to Wine-20050930 dsound does not have hardware acclation it is still hardcode...
Magnus Olsen [Sat, 8 Oct 2005 17:05:40 +0000 (17:05 +0000)]
sync to Wine-20050930 dsound does not have hardware acclation it is still hardcode to software mode.

svn path=/trunk/; revision=18341

18 years agoremove to file that was mistake by commit by me thx
Magnus Olsen [Sat, 8 Oct 2005 16:45:47 +0000 (16:45 +0000)]
remove to file that was mistake by commit by me  thx
Mike Lerwill" <mlist@ml-solutions.co.uk> that did notice it

svn path=/trunk/; revision=18340

18 years agoDsound from win 2004 month 12 or month 11. It is working in windows 2000 in software...
Magnus Olsen [Sat, 8 Oct 2005 16:38:07 +0000 (16:38 +0000)]
Dsound from win 2004 month 12 or month 11. It is working in windows 2000 in software emulation mode. Tested with quake2 and some other apps. Not tested in ReactOS

svn path=/trunk/; revision=18339

18 years agoupdate change list
Martin Fuchs [Sat, 8 Oct 2005 16:26:04 +0000 (16:26 +0000)]
update change list

svn path=/trunk/; revision=18338

18 years agoRestart the device after its installation
Hervé Poussineau [Sat, 8 Oct 2005 15:52:14 +0000 (15:52 +0000)]
Restart the device after its installation

svn path=/trunk/; revision=18337

18 years agoUpdate section names
Hervé Poussineau [Sat, 8 Oct 2005 15:20:13 +0000 (15:20 +0000)]
Update section names
Add a upper filter serenum for serial ports

svn path=/trunk/; revision=18336

18 years agoNtPlugPlayControl: Implement PlugPlayControlResetDevice case
Hervé Poussineau [Sat, 8 Oct 2005 14:47:25 +0000 (14:47 +0000)]
NtPlugPlayControl: Implement PlugPlayControlResetDevice case

svn path=/trunk/; revision=18335

18 years agoprepare for dsound add MAXWAVEDRIVERS and remove #ifdef _WINESRC_from WAVE_DIRECTSOUND
Magnus Olsen [Sat, 8 Oct 2005 13:57:36 +0000 (13:57 +0000)]
prepare for dsound add MAXWAVEDRIVERS and remove #ifdef _WINESRC_from WAVE_DIRECTSOUND

svn path=/trunk/; revision=18334

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 13:45:19 +0000 (13:45 +0000)]
Sync to Wine-20050930:
Aric Stewart <aric@codeweavers.com>
- Add the GUID for Patch files so that they can be opened as well. Looks
  like the database structure is pretty much the same.
- Implement MsiReinstallFeature.
- Be sure to null terminate the string in MsiGetProductInfoA after the
  W->A conversion using MsiGetProductInfoW if there is space.
- Added stub implementations for MsiEnumPatchesA/W.
Alexandre Julliard <julliard@winehq.org>
- We are no longer generating .dbg.c files.
- Use a more portable scheme for storing the name of a critical
  section.
- Get rid of a couple of non-portable long long constants.
- Fixed memory leak introduced in previous change.
- Avoid non-portable va_list manipulations.
Milko Krachounov <milko@3mhz.net>
- Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
  shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
  setupapi, wininet, regedit, uninstaller, notepad, winecfg and
  winhelp.
Jan Van Buggenhout <Chipzz@ULYSSIS.Org>
- implement stubs for MsiSequence[AW].
Dmitry Timoshkov <dmitry@codeweavers.com>
- COLOR_3DFACE is a better choice for the dialog background.
- Fix the usage of COLOR_xxx constants in the place of the window's
  class hbrBackground.
Mike McCormack <mike@codeweavers.com>
- Stub implementation of the RemoveIniValues action.
- Fix various memory leaks.
- Simplify the ProcessComponents action a little.
- Make build_icon_path return the path directly.
- Implement MsiSequenceA/W.
- Simplify the InstallValidate action a little.
- Added memory allocation inline functions (part 2).
- Fix a bug in a previous patch spotted by Dieter Komendera.
- Convert progids to a standard list.
- convert verbs into a standard list
- remove limitation of 100 verbs
- use pointers to verbs rather than indexes
- Rename load_dynamic_property and remove its unused 3rd argument.
- Create a macro to write a value to a subkey.
- Use the new msi_reg_set* macros where possible.
- Create a macro function to write registry values.
- fix a bug introduced by the progid list conversion
- make a fixme a little less alarmist
- Add objects to lists at the right time.
- Fix some simple memory leaks.
- Fix an error introduced when converting dialog lists to standard
  lists.
- Added memory allocation inline functions (part 1).
- Make sure not to free a a pointer that has been modified.
  Check that the text identifier doesn't contain invalid characters.
- Don't quote numbers in a query, as it doesn't parse correctly.
- Read the MaskEdit template from the correct db field.
- Don't create MSI handles unless we have to pass one through the API.
- Convert the list of dialog controls to a standard list.
- Deformat all dialog text strings before using them.
- Load riched20.dll on demand, and unload it after it's used (based on a
  patch by Rob Shearman).
- Make sure to release the package we grabbed on the error path.
- Fix and test MsiViewGetColumnInfo and binary fields.
- Skip dash characters in the PIDMask for a MaskedEdit control.
- Don't refcount tables.
- Fix an uninitialized variable problem.
- Fix memory leaks in the table code.
- Fix memory leaks.
- Remove some unused values in the object header.
- Fill out the stubs for MsiApplyTransformA/W a bit more.
- Fix various query related memory leaks.
- Make sure to set the minimum size before allocating string table
  memory.
- Don't include the terminating nul in the length in
  MsiSummaryInfoGetPropertyW.
- fix MsiSummaryInfoGetProperty to return ERROR_MORE_DATA if the
  buffer is too small (based on a patch by Aric Stewart)
- add a test case to show correct behaviour
- Create a function to determine the table's row size and use it.
  Fix a memory leak in the table code.
- Eliminate fixed length buffers from the MSIFEATURE structure.
- Fix more fixed length buffers.
- Reduce the indent level of a function.
- Allocate memory rather than using fixed length buffers.
- Remove an unnecessary level of indent.
- Keep temporary files in a seperate list.
- Rename ACTION_DoTopLevelINSTALL to MSI_InstallPackage, remove its
  duplicate 4th parameter.
  Split the code to copy a package into a separate function.
- Avoid fixed length buffers for conditions.
- Fix a memory leak.
- Create a function to read a property as an integer.
- Make some fixme messages less alarmist.
- Fix if's that are followed by semicolons.
- Add some more action stubs, remove forward declarations.
- Eliminate yet more fixed length buffers.
- Convert RunningActions array into a list.
- Split command line parsing from MSI_InstallPackage into a separate
  function.
- Move a fixed size buffer to the heap.
- Fix memory leaks in custom actions.
- Make a macro function for unimplemented actions.
  Add some more unimplemented action stubs.
- Make load_string_table return the string table.
- Stub implementation of the IsolateComponents action.
- Convert the list of tables to a standard list.
- Add a stub implementation of the BindImage action.
- Avoid UpdateWindow, it causes trouble with WS_EX_TRANSPARENT.
- Stub implementation of the PatchFiles action.
- Fix another memory leak.
- Add the progress control.
- Stub implementation of the MoveFiles action.
- Avoid using static variables in the InstallFiles action.
- Take advantage of the msi_get_deformatted_field function to simplify
  some code.
- Improve a fixme message a little.
- Skip the first character of a font identifier if it's \ or &.
- Make sure not to access invalid components or features.
- Fix the handling of MsiGetTargetPath args (with test case).
- Fix the handling of MsiDoAction args (with test case).
- Fixes for MsiGetSourcePath parameter handling.
- Load a table's column information separately from the table itself.
- Handle copying of the install package to a temporary file in one place
  only.
- Implement MsiGetShortcutTargetA.
- Fix the stub for MsiConfigureFeature.
Alexander N. Sørnes <alex@thehandofagony.com>
- Added Norwegian translations.
Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
- Added Finnish resources.

svn path=/trunk/; revision=18333

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 13:34:21 +0000 (13:34 +0000)]
Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- We are no longer generating .dbg.c files.
Milko Krachounov <milko@3mhz.net>
- Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
  shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
  setupapi, wininet, regedit, uninstaller, notepad, winecfg and
  winhelp.
Alexander N. Sørnes <alex@thehandofagony.com>
- Added Norwegian translations.

svn path=/trunk/; revision=18332

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 13:28:54 +0000 (13:28 +0000)]
Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- We are no longer generating .spec.c files.
- We are no longer generating .dbg.c files.
Milko Krachounov <milko@3mhz.net>
- Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
  shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
  setupapi, wininet, regedit, uninstaller, notepad, winecfg and
  winhelp.
Kevin Koltzau <kevin@plop.org>
- Fix warnings in 64bit.
Mike McCormack <mike@codeweavers.com>
- Fix gcc 4.0 warnings.
Alexander N. Sørnes <alex@thehandofagony.com>
- Added Norwegian translations.
Marcus Meissner <meissner@suse.de>
- PrintDlg16: Copy back the Flags, nFromPage, nToPage and nCopies struct
  members after the print dialog finishes.
Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
- Bring Finnish resources up to date.

svn path=/trunk/; revision=18331

18 years agoUse Wine solution for MRU problem, which is slightly different from the
Gé van Geldorp [Sat, 8 Oct 2005 13:24:27 +0000 (13:24 +0000)]
Use Wine solution for MRU problem, which is slightly different from the
solution which was implemented in ReactOS

svn path=/trunk/; revision=18330

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 13:20:03 +0000 (13:20 +0000)]
Sync to Wine-20050930:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Fixed inconsistency in LISTVIEW_DUMP macro.
Robert Shearman <rob@codeweavers.com>
- Add support for navigating a toolbar with the arrow keys.
- Fix WrapToolbar in the case of no parent window.
- Use the newly added NMTBINITCUSTOMIZE for sending the
  TBN_INITCUSTOMIZE so that it is safe on 64-bit platforms.
Aric Stewart <aric@codeweavers.com>
- Reading the MRUlist using the W functions we need to divide the size
  by sizeof(WCHAR) to get the count of characters.
Alexandre Julliard <julliard@winehq.org>
- Specify 64-bit integers as double instead of long long in spec files
  so that we get the correct number of arguments.
- We are no longer generating .dbg.c files.
Milko Krachounov <milko@3mhz.net>
- Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
  shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
  setupapi, wininet, regedit, uninstaller, notepad, winecfg and
  winhelp.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Call SetDIBits with a proper DC in order to set bitmap bits.
Mike McCormack <mike@codeweavers.com>
- Fix if's that are followed by semicolons.
Alexander N. Sørnes <alex@thehandofagony.com>
- Added Norwegian translation of comctl32 and shell32.
Marcus Meissner <marcus@jet.franken.de>
- The last argument to MultiByteToWideChar is wide character count and
  not the buffer size in bytes. Fixed all places where it was wrong.
Frank Richter <frank.richter@gmail.com>
- Unregister theming subclasses at comctl32 shutdown; should fix
  reported re-registration errors.
Jason Edmeades <us@edmeades.me.uk>
- Fix some off by one calculations in the comboboxex functions, and
  handle an out of range positive index the same as windows + unit test
  case.

svn path=/trunk/; revision=18329

18 years agoAdd 'break_on_module_load' option to KDB. When enabled KDB will be entered for each...
Gregor Anich [Sat, 8 Oct 2005 12:47:53 +0000 (12:47 +0000)]
Add 'break_on_module_load' option to KDB. When enabled KDB will be entered for each module beeing loaded, and one can set
breakpoints etc.

svn path=/trunk/; revision=18328

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 12:43:38 +0000 (12:43 +0000)]
Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- Fixed a number of pointer to integer conversions that wouldn't work
  right on a 64-bit platform.
- Now that we are requiring bison anyway, make the .tab.c file use the
  same base name as the .y file, so that we can generate correct
  dependencies in all cases.

svn path=/trunk/; revision=18327

18 years agoFix Hardware IDs and Compatible IDs returned for PCI devices
Hervé Poussineau [Sat, 8 Oct 2005 12:24:39 +0000 (12:24 +0000)]
Fix Hardware IDs and Compatible IDs returned for PCI devices

svn path=/trunk/; revision=18326

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 12:18:07 +0000 (12:18 +0000)]
Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- Generate 16-bit spec files as assembly code too.
- Output the resource data in assembly too.
- Factor out a couple of useful helper functions.
- Store RVAs instead of pointers wherever possible in the generated NT
  header and directories.
- Output constant strings in a more appropriate section than .text.
- Make sure that values of absolute symbols fit in 16 bits.
- Implemented import thunks for x86-64.
- Generate stub functions directly in assembly.
- Moved stub function generation to import.c. Added a get_stub_name
  function to ensure naming consistency.
- Now that everything is done in assembly in the spec file, directly
  generate a .s file to bypass gcc inefficiency with large data
  structures.
- Added support for 64-bit format NT header and export/import tables.
- Now that we have to be able to run the assembler from winebuild, added
  an option to generate a .spec.o file in a single step.
  Added --save-temps and --verbose options for easier debugging.
- Added an entry point routine for native drivers.
- Added a bit of framework for future x86_64 support.
- Create an assembly file with all undefined symbols and add it to the
  link command so that the symbols show up in the final undefined list.
  Use that list to create thunks for all exported but undefined symbols,
  to make sure all export RVAs point somewhere inside the module.
- Take into account -noname functions when checking for duplicate export
  names. Fixed a couple of issues found by the stricter check.
- Generate the NT header in assembly instead of using a C structure.
- Don't remove ignored symbols from the undefined list, simply skip them
  when resolving imports.
  Added get_temp_file_name utility function.
- Fixed stack offset of %eax register.
- Output the delayed import table using assembly too.
- Added a common function to declare global symbols, and make them
  hidden on platforms that support it.
- Fixed a number of pointer to integer conversions that wouldn't work
  right on a 64-bit platform.
- Output the import directory using assembly instead of C structures.
- Defined a proper structure for debug channels.
  Also put all the function pointers inside a structure and added
  __wine_dbg_set_functions to change them instead of exporting the
  pointers directly.
- Moved return value handling to the individual relay thunks so that we
  only need one version of wine_call_from_16.
  Patch the wine_call_from_16 address along with the cs value directly
  in the 16-bit code segment to avoid the need for special magic in the
  import thunks.
- Moved the spec file init function and constructor to winecrt0.
- Make the users of wine_call_from_32_regs save %eax so that we don't
  need a special hack in the import thunk.
  Added a get_pc_thunk_eax function to simplify the code a bit.
- Get rid of the debug channels support.

svn path=/trunk/; revision=18325

18 years agoFixing dsdesc stuct with right name from wine
Magnus Olsen [Sat, 8 Oct 2005 11:26:13 +0000 (11:26 +0000)]
Fixing dsdesc stuct with right name from wine
I did correct right datatype in the struct
fix minor change in dsound.h

svn path=/trunk/; revision=18324

18 years agoprepare for dsound
Magnus Olsen [Sat, 8 Oct 2005 10:52:43 +0000 (10:52 +0000)]
prepare for dsound

svn path=/trunk/; revision=18323

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 10:28:57 +0000 (10:28 +0000)]
Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- Now that we are requiring bison anyway, make the .tab.c file use the
  same base name as the .y file, so that we can generate correct
  dependencies in all cases.

svn path=/trunk/; revision=18322

18 years agoSync to Wine-20050930:
Gé van Geldorp [Sat, 8 Oct 2005 09:33:47 +0000 (09:33 +0000)]
Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- Avoid some warnings on 64-bit platforms.

svn path=/trunk/; revision=18321

18 years agochange from warning to allowwarnings ="true" thx Christoph_vW and blight_
Magnus Olsen [Sat, 8 Oct 2005 00:41:31 +0000 (00:41 +0000)]
change from warning to allowwarnings ="true" thx Christoph_vW  and blight_

svn path=/trunk/; revision=18319

18 years agoSync aginst a older version of wine, fixed GvG patch for so we do not lose poll_mouse...
Magnus Olsen [Sat, 8 Oct 2005 00:21:29 +0000 (00:21 +0000)]
Sync aginst a older version of wine, fixed GvG patch for so we do not lose poll_mouse, tested in few apps and games in ros and windows. Next sync is against current version of wine. and it does remove almost whole my patch for wine dinput thx to GvG implemet userhook for mouse and keyboard in reactos.

svn path=/trunk/; revision=18318

18 years agobasic NT4 DirectDraw implemet and it is untested
Magnus Olsen [Fri, 7 Oct 2005 22:50:26 +0000 (22:50 +0000)]
basic NT4 DirectDraw implemet and it is untested
- NtGdiDdGetBltStatus
- NtGdiDdGetFlipStatus
- NtGdiDdSetOverlayPosition

Write some code for NtGdiDdDestroySurface and NtGdiDdCreateSurface, we got now basic all nt4 api implemet and unstested  for directdraw in the kernel

svn path=/trunk/; revision=18317

18 years agoFix hotkeys for En.rc by Harteex, thx Tsk to found this bugs
Magnus Olsen [Fri, 7 Oct 2005 22:20:50 +0000 (22:20 +0000)]
Fix hotkeys for En.rc by Harteex, thx Tsk to found this bugs

svn path=/trunk/; revision=18316

18 years agoFix release build uninitialized
Magnus Olsen [Fri, 7 Oct 2005 21:48:12 +0000 (21:48 +0000)]
Fix release build uninitialized
Implemet NtGdiDdAddAttachedSurface untested

svn path=/trunk/; revision=18315

18 years agomake ddraw compile again
Magnus Olsen [Fri, 7 Oct 2005 21:30:33 +0000 (21:30 +0000)]
make ddraw compile again

svn path=/trunk/; revision=18314

18 years agoRemove more stub from ntdraw and implement it, (untested) it is alot of stub that...
Magnus Olsen [Fri, 7 Oct 2005 20:27:52 +0000 (20:27 +0000)]
Remove more stub from ntdraw and implement it, (untested) it is alot of stub that have been implemet. fill DD_CALLBACKS right in NtGdiDdCreateDirectDrawObject, and fix party the internal struct.
implemet follow but not tested
- NtGdiDdCreateSurface, NtGdiDdDestroySurface
  some part it need fill the info right before it call on DdCreateSurface
-  NtGdiDdFlip done
-  NtGdiDdGetScanLine done
-  NtGdiDdSetColorKey done
-  NtGdiDdUnlock done
-  NtGdiDdUpdateOverlay done
-  NtGdiDdSetExclusiveMode done (need setup the callback)
-  NtGdiDdLock done

svn path=/trunk/; revision=18313

18 years agoUpdating ddrawint.h header with some new struct and right info.
Magnus Olsen [Fri, 7 Oct 2005 20:15:10 +0000 (20:15 +0000)]
Updating ddrawint.h header with some new struct and right info.

svn path=/trunk/; revision=18312

18 years agoadding traceroute to build.
Ged Murphy [Fri, 7 Oct 2005 19:16:14 +0000 (19:16 +0000)]
adding traceroute to build.

svn path=/trunk/; revision=18311

18 years agoAllocate memory even for NULL strings, as we must not return a NULL pointer
Hervé Poussineau [Fri, 7 Oct 2005 15:47:17 +0000 (15:47 +0000)]
Allocate memory even for NULL strings, as we must not return a NULL pointer

svn path=/trunk/; revision=18310

18 years ago- Fill Level field in DEVICE_NODE structure
Hervé Poussineau [Fri, 7 Oct 2005 13:09:23 +0000 (13:09 +0000)]
- Fill Level field in DEVICE_NODE structure
- Full support of ParentIdPrefix value in registry
- Implement IRP_MJ_PNP/IRP_MN_QUERY_CAPABILITIES for PDOs enumerated by Root bus
- Add a temporary hack in pci driver as long as Plug and Play is not ready

=> This would allow to have two identical devices plugged on different buses (for example, two USB mices plugged on different hubs)

svn path=/trunk/; revision=18309

18 years agopartly implemented AuthzInitializeResourceManager and AuthzFreeResourceManager (no...
Thomas Bluemel [Fri, 7 Oct 2005 02:28:42 +0000 (02:28 +0000)]
partly implemented AuthzInitializeResourceManager and AuthzFreeResourceManager (no support for auditing so far)

svn path=/trunk/; revision=18308

18 years agoRegedit: Fixed a bug whereby a registry path accessed by "Goto" might not get proper...
Nathan Woods [Fri, 7 Oct 2005 00:35:10 +0000 (00:35 +0000)]
Regedit:  Fixed a bug whereby a registry path accessed by "Goto" might not get properly selected

svn path=/trunk/; revision=18307

18 years agoCalc: Now using the proper system brush to paint the number pane
Nathan Woods [Fri, 7 Oct 2005 00:32:00 +0000 (00:32 +0000)]
Calc:  Now using the proper system brush to paint the number pane

svn path=/trunk/; revision=18306

18 years agofixed uninitialized variable warning
Thomas Bluemel [Thu, 6 Oct 2005 23:04:00 +0000 (23:04 +0000)]
fixed uninitialized variable warning

svn path=/trunk/; revision=18305

18 years agoVarious changes to device installation functions:
Hervé Poussineau [Thu, 6 Oct 2005 22:47:13 +0000 (22:47 +0000)]
Various changes to device installation functions:
- AddDriverToList:
  Define a unique return point for the function
- GetVersionInformationFromInfFile:
  Return driver date (still doesn't return driver version)
- SetupDiCallClassInstaller:
  Change device and class co-installers messages (they were swapped)
- SetupDiInstallDevice:
  Create driver key in HKLM\System\CurrentControlSet\Control\Class and write values to it
  Add missing informations to enum key (HKLM\System\CurrentControlSet\Enum)
  Define a unique return point for the function

svn path=/trunk/; revision=18304

18 years agoImplement SetupDiGetINFClassW
Hervé Poussineau [Thu, 6 Oct 2005 22:36:14 +0000 (22:36 +0000)]
Implement SetupDiGetINFClassW

svn path=/trunk/; revision=18303

18 years agofixed warnings when compiled with -Wmissing-declarations
Thomas Bluemel [Thu, 6 Oct 2005 21:39:18 +0000 (21:39 +0000)]
fixed warnings when compiled with -Wmissing-declarations

svn path=/trunk/; revision=18302

18 years agoNtGdiDdGetAvailDriverMemory
Magnus Olsen [Thu, 6 Oct 2005 21:18:59 +0000 (21:18 +0000)]
NtGdiDdGetAvailDriverMemory
- implement the code but the pointer is not set to DdGetAvailDriverMemory and it is undtested.

svn path=/trunk/; revision=18301

18 years agoFix KiGetFpuState() - Thanks to Hartmut for finding this bug and testing the patch.
Gregor Anich [Thu, 6 Oct 2005 20:34:20 +0000 (20:34 +0000)]
Fix KiGetFpuState() - Thanks to Hartmut for finding this bug and testing the patch.

svn path=/trunk/; revision=18300

18 years agowinver.exe by Christoph.AT.ApiViewer.de
Andrew Munger [Thu, 6 Oct 2005 20:07:24 +0000 (20:07 +0000)]
winver.exe by Christoph.AT.ApiViewer.de

svn path=/trunk/; revision=18299

18 years agofixed warnings when compiled with -Wmissing-declarations
Thomas Bluemel [Thu, 6 Oct 2005 19:24:15 +0000 (19:24 +0000)]
fixed warnings when compiled with -Wmissing-declarations

svn path=/trunk/; revision=18298

18 years agofixed warnings when compiled with -Wmissing-declarations
Thomas Bluemel [Thu, 6 Oct 2005 18:51:52 +0000 (18:51 +0000)]
fixed warnings when compiled with -Wmissing-declarations

svn path=/trunk/; revision=18297

18 years agoPatch by Christoph v.W.:
Gregor Anich [Thu, 6 Oct 2005 15:02:50 +0000 (15:02 +0000)]
Patch by Christoph v.W.:
- speed-up adding items to ListView
- fix resource leak (GetDC without ReleaseDC)
(Bug #870)

svn path=/trunk/; revision=18296

18 years agoModifyMenuA: Zero initialize MENUITEMINFOA (like ModifyMenuW does)
Gregor Anich [Thu, 6 Oct 2005 14:31:18 +0000 (14:31 +0000)]
ModifyMenuA: Zero initialize MENUITEMINFOA (like ModifyMenuW does)
Fixes bug 818 according to Christoph v.W.
Thanks to j_anderw for his patch proposal.

svn path=/trunk/; revision=18295

18 years agodoesnt belong here either
Gunnar Dalsnes [Thu, 6 Oct 2005 13:07:53 +0000 (13:07 +0000)]
doesnt belong here either

svn path=/trunk/; revision=18294

18 years agodoesnt belong here
Gunnar Dalsnes [Thu, 6 Oct 2005 13:07:00 +0000 (13:07 +0000)]
doesnt belong here

svn path=/trunk/; revision=18293

18 years agoHuh, what? Oops! Just some stuff which noone cares about...
Gregor Anich [Thu, 6 Oct 2005 12:36:53 +0000 (12:36 +0000)]
Huh, what? Oops! Just some stuff which noone cares about...

svn path=/trunk/; revision=18292

18 years agoAdd newdev.dll to bootcd
Hervé Poussineau [Thu, 6 Oct 2005 11:59:15 +0000 (11:59 +0000)]
Add newdev.dll to bootcd
Fix formatting, by replacing tabulations by spaces

svn path=/trunk/; revision=18291

18 years agoDo only one exit point in SetupDiInstallDevice
Hervé Poussineau [Thu, 6 Oct 2005 09:55:10 +0000 (09:55 +0000)]
Do only one exit point in SetupDiInstallDevice

svn path=/trunk/; revision=18290

18 years agoRegedit: Now saves last key visited, like Windows regedit
Nathan Woods [Thu, 6 Oct 2005 03:23:09 +0000 (03:23 +0000)]
Regedit:  Now saves last key visited, like Windows regedit

svn path=/trunk/; revision=18289

18 years agoCalc: TCHAR-izing, formatting and const-correctness
Nathan Woods [Wed, 5 Oct 2005 23:59:13 +0000 (23:59 +0000)]
Calc:  TCHAR-izing, formatting and const-correctness

svn path=/trunk/; revision=18288

18 years agoNotepad: Goto an offscreen line will now properly scroll the edit control
Nathan Woods [Wed, 5 Oct 2005 23:52:43 +0000 (23:52 +0000)]
Notepad: Goto an offscreen line will now properly scroll the edit control

svn path=/trunk/; revision=18287

18 years agoChange indentation - make it a bit more readable and same style everywhere.
Gregor Anich [Wed, 5 Oct 2005 23:30:39 +0000 (23:30 +0000)]
Change indentation - make it a bit more readable and same style everywhere.
KiCheckFPU: Change calculation of DummyArea/FxSaveArea (avoid conditional)
KeSaveFloatingPointState: Allocate NonPagedPool for the saved state because function can be called only at IRQL >= DISPATCH

svn path=/trunk/; revision=18286

18 years agostrip extended options from the front of the command line
Martin Fuchs [Wed, 5 Oct 2005 23:24:25 +0000 (23:24 +0000)]
strip extended options from the front of the command line

svn path=/trunk/; revision=18285

18 years agoimplemented command line parser for Explorer
Martin Fuchs [Wed, 5 Oct 2005 23:05:13 +0000 (23:05 +0000)]
implemented command line parser for Explorer

svn path=/trunk/; revision=18284

18 years agoXML chunks must contain a single subtree.
Emanuele Aliberti [Wed, 5 Oct 2005 20:36:23 +0000 (20:36 +0000)]
XML chunks must contain a single subtree.

svn path=/trunk/; revision=18283

18 years agocomment, const corrections
Martin Fuchs [Wed, 5 Oct 2005 19:52:39 +0000 (19:52 +0000)]
comment, const corrections

svn path=/trunk/; revision=18282

18 years agoleave TrackStartmenu() function when executing any start menu command
Martin Fuchs [Wed, 5 Oct 2005 19:51:08 +0000 (19:51 +0000)]
leave TrackStartmenu() function when executing any start menu command

svn path=/trunk/; revision=18281

18 years agoNtGdiDdCreateDirectDrawObject
Magnus Olsen [Wed, 5 Oct 2005 19:50:48 +0000 (19:50 +0000)]
NtGdiDdCreateDirectDrawObject
- add missing error checking for GDIOBJ_AllocObj
- add missing error checking for GDIOBJ_LockObj

svn path=/trunk/; revision=18280

18 years agouse GET_X_LPARAM macro in WM_MOUSEMOVE handlers
Martin Fuchs [Wed, 5 Oct 2005 19:49:37 +0000 (19:49 +0000)]
use GET_X_LPARAM macro in WM_MOUSEMOVE handlers

svn path=/trunk/; revision=18279

18 years agoone-click activation of "Start" button
Martin Fuchs [Wed, 5 Oct 2005 19:48:29 +0000 (19:48 +0000)]
one-click activation of "Start" button

svn path=/trunk/; revision=18278

18 years agoupdate TODO list
Martin Fuchs [Wed, 5 Oct 2005 19:47:28 +0000 (19:47 +0000)]
update TODO list

svn path=/trunk/; revision=18277

18 years agoactivate PDD_DIRECTDRAW for GDIOBJ_LockObj so it does not fail if it is GDI_OBJECT_TY...
Magnus Olsen [Wed, 5 Oct 2005 19:29:08 +0000 (19:29 +0000)]
activate PDD_DIRECTDRAW for GDIOBJ_LockObj so it does not fail if it is GDI_OBJECT_TYPE_DIRECTDRAW request. Thx w3seek for his guiding how todo it.

svn path=/trunk/; revision=18276

18 years agoImplemented SRB_FUNCTION_IO_CONTROL/IOCTL_SCSI_MINIPORT_IDENTIFY.
Hartmut Birr [Wed, 5 Oct 2005 18:36:10 +0000 (18:36 +0000)]
Implemented SRB_FUNCTION_IO_CONTROL/IOCTL_SCSI_MINIPORT_IDENTIFY.

svn path=/trunk/; revision=18275

18 years agoImplemented IOCTL_SCSI_MINIPORT.
Hartmut Birr [Wed, 5 Oct 2005 18:24:24 +0000 (18:24 +0000)]
Implemented IOCTL_SCSI_MINIPORT.

svn path=/trunk/; revision=18274

18 years agocreate some start menu entries for notepad, regedit and winefile
Martin Fuchs [Wed, 5 Oct 2005 16:47:19 +0000 (16:47 +0000)]
create some start menu entries for notepad, regedit and winefile

svn path=/trunk/; revision=18273

18 years agoremove duplicate RegQueryStringValue() function
Martin Fuchs [Wed, 5 Oct 2005 16:11:21 +0000 (16:11 +0000)]
remove duplicate RegQueryStringValue() function

svn path=/trunk/; revision=18272

18 years agopartial implementation of ShowWindowAsync() using the synchronous NtUserShowWindow...
Martin Fuchs [Wed, 5 Oct 2005 14:47:07 +0000 (14:47 +0000)]
partial implementation of ShowWindowAsync() using the synchronous NtUserShowWindow() call to activate the desktop switcher

svn path=/trunk/; revision=18271

18 years agoRegedit: Now restores last position on startup
Nathan Woods [Wed, 5 Oct 2005 13:25:14 +0000 (13:25 +0000)]
Regedit: Now restores last position on startup

Still need to save position on exit

svn path=/trunk/; revision=18270

18 years agofix UNICODE control panel calls to handle double clicks on the task bar clock
Martin Fuchs [Wed, 5 Oct 2005 13:08:59 +0000 (13:08 +0000)]
fix UNICODE control panel calls to handle double clicks on the task bar clock

svn path=/trunk/; revision=18269

18 years agoRbuild: Enhanced MSVC support
Nathan Woods [Wed, 5 Oct 2005 00:27:25 +0000 (00:27 +0000)]
Rbuild: Enhanced MSVC support

1.  Enhanced the MSVC backends so that it pulls in information from the main project
2.  Fixed bugs in Path::RelativeFromDirectory() in tools\rbuild\XML.cpp

With these changes, many VC projects generated by rbuild now compile without any tweaking

svn path=/trunk/; revision=18268

18 years agoBetter way to fix 868. Check the last error instead of checking before hand. Thanks...
Brandon Turner [Tue, 4 Oct 2005 15:32:04 +0000 (15:32 +0000)]
Better way to fix 868.  Check the last error instead of checking before hand.  Thanks to billgMS for point this out.

svn path=/trunk/; revision=18267

18 years agoCheck to see if a folder or file is already there when makign a folder. Set correct...
Brandon Turner [Tue, 4 Oct 2005 14:56:38 +0000 (14:56 +0000)]
Check to see if a folder or file is already there when makign a folder.  Set correct errorlevel when fail to create folder. fixes bug 868.

svn path=/trunk/; revision=18266

18 years agoactivate execution from command bar
Martin Fuchs [Tue, 4 Oct 2005 14:31:11 +0000 (14:31 +0000)]
activate execution from command bar

svn path=/trunk/; revision=18265

18 years ago"execute" menu entry
Martin Fuchs [Tue, 4 Oct 2005 14:06:33 +0000 (14:06 +0000)]
"execute" menu entry

svn path=/trunk/; revision=18264

18 years agoset EOL-style
Martin Fuchs [Tue, 4 Oct 2005 13:47:22 +0000 (13:47 +0000)]
set EOL-style

svn path=/trunk/; revision=18263

18 years agoAdd errorlevel for set /A
Brandon Turner [Tue, 4 Oct 2005 13:45:19 +0000 (13:45 +0000)]
Add errorlevel for set /A

svn path=/trunk/; revision=18262

18 years agoremove remaining winefile resources
Martin Fuchs [Tue, 4 Oct 2005 13:43:15 +0000 (13:43 +0000)]
remove remaining winefile resources

svn path=/trunk/; revision=18261

18 years agoNotepad: Fixed a bug when opening files with no characters other than byte order...
Nathan Woods [Tue, 4 Oct 2005 12:57:04 +0000 (12:57 +0000)]
Notepad:  Fixed a bug when opening files with no characters other than byte order marks

svn path=/trunk/; revision=18260

18 years agoRegedit: Stopgap fix to build error just introduced; need to go through Regedit and...
Nathan Woods [Tue, 4 Oct 2005 12:41:08 +0000 (12:41 +0000)]
Regedit: Stopgap fix to build error just introduced; need to go through Regedit and TCHAR-ize it

svn path=/trunk/; revision=18259

18 years agocomplete german resources for explorer
Martin Fuchs [Tue, 4 Oct 2005 12:02:34 +0000 (12:02 +0000)]
complete german resources for explorer

svn path=/trunk/; revision=18258

18 years agoRegedit: Fixed stupid compilation errors
Nathan Woods [Tue, 4 Oct 2005 02:46:14 +0000 (02:46 +0000)]
Regedit:  Fixed stupid compilation errors

svn path=/trunk/; revision=18257

18 years agoRegedit: Fixed exporting subtrees with Unicode
Nathan Woods [Tue, 4 Oct 2005 02:40:01 +0000 (02:40 +0000)]
Regedit:  Fixed exporting subtrees with Unicode

Core exporting code still ANSI; need to fix this

svn path=/trunk/; revision=18256

18 years agodon't leak memory in RegDeleteTree() when NtEnumerateKey() returns an unexpected...
Thomas Bluemel [Mon, 3 Oct 2005 23:01:10 +0000 (23:01 +0000)]
don't leak memory in RegDeleteTree() when NtEnumerateKey() returns an unexpected error code (such as when there's insufficient system resources to perform the query)

svn path=/trunk/; revision=18255

18 years agofixed a memory leak in RegDeleteTree() that could be caused when two threads attempt...
Thomas Bluemel [Mon, 3 Oct 2005 22:46:49 +0000 (22:46 +0000)]
fixed a memory leak in RegDeleteTree() that could be caused when two threads attempt to delete the same tree simultaneously

svn path=/trunk/; revision=18254

18 years agoA note about this piece of code.
Emanuele Aliberti [Mon, 3 Oct 2005 21:40:58 +0000 (21:40 +0000)]
A note about this piece of code.

svn path=/trunk/; revision=18253

18 years agoDon't fail when there are no more subkeys to delete in RegDeleteTree()
Thomas Bluemel [Mon, 3 Oct 2005 21:37:05 +0000 (21:37 +0000)]
Don't fail when there are no more subkeys to delete in RegDeleteTree()

svn path=/trunk/; revision=18252

18 years agoA raw attempt to fix the startup code for native processes.
Emanuele Aliberti [Mon, 3 Oct 2005 21:35:12 +0000 (21:35 +0000)]
A raw attempt to fix the startup code for native processes.
(note: it seems NTOSKRNL passes nothing to smss.exe)

svn path=/trunk/; revision=18251

18 years agodont use the whole commandline as a fall back for execution searching because it...
Brandon Turner [Mon, 3 Oct 2005 20:28:29 +0000 (20:28 +0000)]
dont use the whole commandline as a fall back for execution searching because it could contain spaces.  also, wrap commandline params in quotes so if there is a space in the path it still finds it.  bug found by billgMS.

svn path=/trunk/; revision=18250

18 years agoReturn an error instead of STATUS_SUCCESS for functions which are not implemented...
Hartmut Birr [Mon, 3 Oct 2005 18:49:44 +0000 (18:49 +0000)]
Return an error instead of STATUS_SUCCESS for functions which are not implemented or supported (in ScsiPortDeviceControl).

svn path=/trunk/; revision=18249

18 years ago- Don't call winsock initialiser for each seperate server thread
Ged Murphy [Mon, 3 Oct 2005 18:32:30 +0000 (18:32 +0000)]
- Don't call winsock initialiser for each seperate server thread
- Add more code for tcpsvcs to be controled via services. Still #if 0'd out until fully implemented.
- Make server more informative with what is happening. (this info will be output to a log file once implemented as a service.

svn path=/trunk/; revision=18248