Commit graph

17176 commits

Author SHA1 Message Date
Gé van Geldorp 34d7b92b27 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
2005-10-08 12:43:38 +00:00
Hervé Poussineau 0b7207b338 Fix Hardware IDs and Compatible IDs returned for PCI devices
svn path=/trunk/; revision=18326
2005-10-08 12:24:39 +00:00
Gé van Geldorp 017639fcc2 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
2005-10-08 12:18:07 +00:00
Magnus Olsen c787e10fca 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
2005-10-08 11:26:13 +00:00
Magnus Olsen cd198924db prepare for dsound
svn path=/trunk/; revision=18323
2005-10-08 10:52:43 +00:00
Gé van Geldorp babb2de970 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
2005-10-08 10:28:57 +00:00
Gé van Geldorp 3ccfb20218 Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- Avoid some warnings on 64-bit platforms.

svn path=/trunk/; revision=18321
2005-10-08 09:33:47 +00:00
Magnus Olsen a9fba037ec change from warning to allowwarnings ="true" thx Christoph_vW and blight_
svn path=/trunk/; revision=18319
2005-10-08 00:41:31 +00:00
Magnus Olsen f66d835b98 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
2005-10-08 00:21:29 +00:00
Magnus Olsen c968095964 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
2005-10-07 22:50:26 +00:00
Magnus Olsen 4495522a13 Fix hotkeys for En.rc by Harteex, thx Tsk to found this bugs
svn path=/trunk/; revision=18316
2005-10-07 22:20:50 +00:00
Magnus Olsen d36e1abc80 Fix release build uninitialized
Implemet NtGdiDdAddAttachedSurface untested 

svn path=/trunk/; revision=18315
2005-10-07 21:48:12 +00:00
Magnus Olsen 2b24d9c754 make ddraw compile again
svn path=/trunk/; revision=18314
2005-10-07 21:30:33 +00:00
Magnus Olsen f84e3fa9f1 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
2005-10-07 20:27:52 +00:00
Magnus Olsen a2e6df2fb3 Updating ddrawint.h header with some new struct and right info.
svn path=/trunk/; revision=18312
2005-10-07 20:15:10 +00:00
Ged Murphy 0b8dac7e24 adding traceroute to build.
svn path=/trunk/; revision=18311
2005-10-07 19:16:14 +00:00
Hervé Poussineau c2199941a3 Allocate memory even for NULL strings, as we must not return a NULL pointer
svn path=/trunk/; revision=18310
2005-10-07 15:47:17 +00:00
Hervé Poussineau 10e6548a78 - 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
2005-10-07 13:09:23 +00:00
Thomas Bluemel b0418e9481 partly implemented AuthzInitializeResourceManager and AuthzFreeResourceManager (no support for auditing so far)
svn path=/trunk/; revision=18308
2005-10-07 02:28:42 +00:00
Nathan Woods 4294896fbd Regedit: Fixed a bug whereby a registry path accessed by "Goto" might not get properly selected
svn path=/trunk/; revision=18307
2005-10-07 00:35:10 +00:00
Nathan Woods 37a51aa3f6 Calc: Now using the proper system brush to paint the number pane
svn path=/trunk/; revision=18306
2005-10-07 00:32:00 +00:00
Thomas Bluemel 69d5c43dbd fixed uninitialized variable warning
svn path=/trunk/; revision=18305
2005-10-06 23:04:00 +00:00
Hervé Poussineau 9a0d62abb9 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
2005-10-06 22:47:13 +00:00
Hervé Poussineau 7d441d9406 Implement SetupDiGetINFClassW
svn path=/trunk/; revision=18303
2005-10-06 22:36:14 +00:00
Thomas Bluemel 5bd4220e33 fixed warnings when compiled with -Wmissing-declarations
svn path=/trunk/; revision=18302
2005-10-06 21:39:18 +00:00
Magnus Olsen 03e3c42104 NtGdiDdGetAvailDriverMemory
- implement the code but the pointer is not set to DdGetAvailDriverMemory and it is undtested. 

svn path=/trunk/; revision=18301
2005-10-06 21:18:59 +00:00
Gregor Anich ff9641a734 Fix KiGetFpuState() - Thanks to Hartmut for finding this bug and testing the patch.
svn path=/trunk/; revision=18300
2005-10-06 20:34:20 +00:00
Andrew Munger d004682a00 winver.exe by Christoph.AT.ApiViewer.de
svn path=/trunk/; revision=18299
2005-10-06 20:07:24 +00:00
Thomas Bluemel 23acca9ef0 fixed warnings when compiled with -Wmissing-declarations
svn path=/trunk/; revision=18298
2005-10-06 19:24:15 +00:00
Thomas Bluemel 0c48b5f905 fixed warnings when compiled with -Wmissing-declarations
svn path=/trunk/; revision=18297
2005-10-06 18:51:52 +00:00
Gregor Anich 611d7cf177 Patch by Christoph v.W.:
- speed-up adding items to ListView
- fix resource leak (GetDC without ReleaseDC)
(Bug #870)

svn path=/trunk/; revision=18296
2005-10-06 15:02:50 +00:00
Gregor Anich 23dc71c784 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
2005-10-06 14:31:18 +00:00
Gunnar Dalsnes 93a2fb4cd2 doesnt belong here either
svn path=/trunk/; revision=18294
2005-10-06 13:07:53 +00:00
Gunnar Dalsnes e70589544c doesnt belong here
svn path=/trunk/; revision=18293
2005-10-06 13:07:00 +00:00
Gregor Anich 8f4754e6fa Huh, what? Oops! Just some stuff which noone cares about...
svn path=/trunk/; revision=18292
2005-10-06 12:36:53 +00:00
Hervé Poussineau 94f68fddfc Add newdev.dll to bootcd
Fix formatting, by replacing tabulations by spaces

svn path=/trunk/; revision=18291
2005-10-06 11:59:15 +00:00
Hervé Poussineau ceff0e9f0e Do only one exit point in SetupDiInstallDevice
svn path=/trunk/; revision=18290
2005-10-06 09:55:10 +00:00
Nathan Woods abc9898008 Regedit: Now saves last key visited, like Windows regedit
svn path=/trunk/; revision=18289
2005-10-06 03:23:09 +00:00
Nathan Woods 2c2cc6d808 Calc: TCHAR-izing, formatting and const-correctness
svn path=/trunk/; revision=18288
2005-10-05 23:59:13 +00:00
Nathan Woods d546f71ac4 Notepad: Goto an offscreen line will now properly scroll the edit control
svn path=/trunk/; revision=18287
2005-10-05 23:52:43 +00:00
Gregor Anich 2446ae0fd7 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
2005-10-05 23:30:39 +00:00
Martin Fuchs 7d6d579a40 strip extended options from the front of the command line
svn path=/trunk/; revision=18285
2005-10-05 23:24:25 +00:00
Martin Fuchs 499bb6d2d7 implemented command line parser for Explorer
svn path=/trunk/; revision=18284
2005-10-05 23:05:13 +00:00
Emanuele Aliberti 361239a411 XML chunks must contain a single subtree.
svn path=/trunk/; revision=18283
2005-10-05 20:36:23 +00:00
Martin Fuchs 9349545f98 comment, const corrections
svn path=/trunk/; revision=18282
2005-10-05 19:52:39 +00:00
Martin Fuchs e86e062d9a leave TrackStartmenu() function when executing any start menu command
svn path=/trunk/; revision=18281
2005-10-05 19:51:08 +00:00
Magnus Olsen c82718f9a2 NtGdiDdCreateDirectDrawObject
- add missing error checking for GDIOBJ_AllocObj 
- add missing error checking for GDIOBJ_LockObj 

svn path=/trunk/; revision=18280
2005-10-05 19:50:48 +00:00
Martin Fuchs b6c5bedb31 use GET_X_LPARAM macro in WM_MOUSEMOVE handlers
svn path=/trunk/; revision=18279
2005-10-05 19:49:37 +00:00
Martin Fuchs f382f81ffe one-click activation of "Start" button
svn path=/trunk/; revision=18278
2005-10-05 19:48:29 +00:00
Martin Fuchs dc8d217b1f update TODO list
svn path=/trunk/; revision=18277
2005-10-05 19:47:28 +00:00