Commit graph

17302 commits

Author SHA1 Message Date
Hervé Poussineau
543acff480 Fix SetupDiGetDeviceRegistryPropertyA, which should return the required size and the registry data type if the buffer is too small
(typical case when you call it 2 times: 1st time to get the required size, 2nd time to get real data)

svn path=/trunk/; revision=18408
2005-10-12 08:14:56 +00:00
Hervé Poussineau
cf9a86c858 Send the right LocaleId to device stack when querying the device description.
Don't erase device description stored by setupapi during next reboot

svn path=/trunk/; revision=18407
2005-10-11 13:35:07 +00:00
Gunnar Dalsnes
75e85af499 nullterm correct string in strndup
nullterm argv list
reformat


svn path=/trunk/; revision=18406
2005-10-11 03:23:01 +00:00
Gregor Anich
aa105de9d7 vdmdbg.dll (stubs only) by Christoph v.W. - thanks!
svn path=/trunk/; revision=18405
2005-10-11 00:58:45 +00:00
Gunnar Dalsnes
b1761726b2 alloc at minimum 16 bytes (spotted by WaxDragon)
realloc should free passed mem if new size is 0

svn path=/trunk/; revision=18404
2005-10-10 22:42:13 +00:00
Gunnar Dalsnes
1fc06afd71 alloc multiple of 16 bytes
svn path=/trunk/; revision=18403
2005-10-10 20:18:07 +00:00
Brandon Turner
fbd6bbbf48 set to eol-style native ;)
svn path=/trunk/; revision=18402
2005-10-10 19:08:57 +00:00
Brandon Turner
657a7f0496 Added a more technical readme for people that want to understand cmd.
svn path=/trunk/; revision=18401
2005-10-10 18:57:56 +00:00
Ged Murphy
7a0a97076f remove a header no longer needed too
svn path=/trunk/; revision=18400
2005-10-10 18:35:33 +00:00
Ged Murphy
7338720bbd remove uneeded text out of the .rc file.
svn path=/trunk/; revision=18399
2005-10-10 18:33:45 +00:00
Ged Murphy
57c3413b9d forgot the eol-style again.
svn path=/trunk/; revision=18398
2005-10-10 17:51:30 +00:00
Ged Murphy
7cd2f8dbb5 Start of a rewrite for netstat.exe
- Simulate the output of the MS netstat tool
- implemented -a, -e, -n, -p, -r, -s and interval

svn path=/trunk/; revision=18397
2005-10-10 17:49:19 +00:00
Thomas Bluemel
361bbd4d9d fixed a typo in the NtAccessCheck declaration
svn path=/trunk/; revision=18396
2005-10-10 15:42:08 +00:00
Andrew Munger
a45c2e461f MiTestCard is only used in DBG=1, surround with ifdef so DBG=0 builds.
svn path=/trunk/; revision=18395
2005-10-10 14:29:15 +00:00
Thomas Bluemel
eb03a7e427 convert DefaultSetInfoBufferCheck and DefaultQueryInfoBufferCheck to inlined functions
svn path=/trunk/; revision=18394
2005-10-10 13:03:55 +00:00
Thomas Bluemel
e0191cfd2a don't jump outside _SEH_TRY with goto in ObpCaptureObjectAttributes()
svn path=/trunk/; revision=18393
2005-10-10 13:03:09 +00:00
Thomas Bluemel
a4bfa110a8 some fixes for CheckTokenMembership:
- properly create an impersonation token from the primary token in case the thread is not impersonating
- use NtAccessCheck to perform the access check

svn path=/trunk/; revision=18392
2005-10-10 11:44:37 +00:00
Magnus Olsen
0c2ceade45 Comment out a fixme, it make a user mode crash (ntoskrnl\ke\exception.c:94 KiRaiseException ), after this viso installer start working, thx Christoph_vW to found it.
svn path=/trunk/; revision=18391
2005-10-09 22:35:54 +00:00
Thomas Bluemel
ea1ba0aefd don't try to free the ansi strings passed by the caller
svn path=/trunk/; revision=18390
2005-10-09 22:35:41 +00:00
Brandon Turner
af2ef3d685 Updated more cmd documentation. This included changing from eric's email to ros-dev / bugzilla for suggested way of reporting bugs.
svn path=/trunk/; revision=18389
2005-10-09 22:33:26 +00:00
Thomas Bluemel
2b001b30bf fixed difference in signedness warning in MulDiv()
svn path=/trunk/; revision=18388
2005-10-09 22:30:27 +00:00
Magnus Olsen
5e45c5916f Fix DD_Cleanup that will make Contry Strike not crashing when it does not found right reslution, thx drfred that found the bug + source cleanup and small bugfix for ntddraw
svn path=/trunk/; revision=18387
2005-10-09 22:15:06 +00:00
Gunnar Dalsnes
690727fe99 Fix MulDiv. This fixes almost any progress-bar to stop showing negative values during installations or etc. Thanks to kichik for originally having found the bug.
Patch by alex ionescu

svn path=/trunk/; revision=18386
2005-10-09 22:12:56 +00:00
Thomas Bluemel
315e77dfab use the correct down-level scope filter flag for the computer selection dialog
svn path=/trunk/; revision=18385
2005-10-09 22:09:02 +00:00
Thomas Bluemel
d49c0b4e12 add a not yet complete tool to dump the recycle bin databases
svn path=/trunk/; revision=18384
2005-10-09 20:56:17 +00:00
Eric Kohl
be1c8d7a38 First shot at CreateServiceW. It crashes due to a bug (aka missing feature) in widl. I'm going to fix it as soon as possible.
svn path=/trunk/; revision=18383
2005-10-09 20:24:00 +00:00
Brandon Turner
0f30dcfddd Make sure that FileList is not empty. fixes bug #884.
svn path=/trunk/; revision=18382
2005-10-09 19:08:18 +00:00
Thomas Bluemel
30a95cc3af added missing ansi/unicode definitions
svn path=/trunk/; revision=18381
2005-10-09 16:58:13 +00:00
Martin Fuchs
54e86c3e2c remove binary attribute from japanese resource file
svn path=/trunk/; revision=18380
2005-10-09 15:23:16 +00:00
Martin Fuchs
f8879f3de8 Fix for Bugzilla Entry 330: Correctly handle WM_COMMAND messages in web windows without web control
svn path=/trunk/; revision=18379
2005-10-09 15:16:41 +00:00
Martin Fuchs
3edf5a41cc fix crash because of NULL command line pointer
svn path=/trunk/; revision=18378
2005-10-09 15:12:13 +00:00
Martin Fuchs
8b65b69d7c Fix from watz@gmx.net for Bugzilla Entry 862: When you resize the taskmanager window, the history graph is not updated anymore. When the window is resized back to default (smallest possible width) it
draws again.

svn path=/trunk/; revision=18376
2005-10-09 15:04:18 +00:00
Martin Fuchs
e42612ca97 replace "search computer" start menu entry by a "not yet implemented" message to avoid the crash because of the currently missing SHFindComputer() implementation in shell32.dll
svn path=/trunk/; revision=18375
2005-10-09 13:05:49 +00:00
Martin Fuchs
8ff67043ab german patch for cmd.exe from Bugzilla Entry 872
svn path=/trunk/; revision=18374
2005-10-09 12:41:35 +00:00
Martin Fuchs
d4b58223f9 fix access violation in SaveBoard()
svn path=/trunk/; revision=18373
2005-10-09 11:57:15 +00:00
Martin Fuchs
5be74add41 display source rectangle
svn path=/trunk/; revision=18372
2005-10-09 11:24:51 +00:00
Eric Kohl
07cba14d02 - Support [out, unique] base type parameters.
svn path=/trunk/; revision=18371
2005-10-09 08:38:29 +00:00
Eric Kohl
c06ae87d5e - Support [out, unique] base type parameters.
svn path=/trunk/; revision=18370
2005-10-09 08:36:50 +00:00
Gregor Anich
9606cf5a82 Add /BREAK option.
Enter KDB on bootup only if /BREAK options is given.
(You can also use KDBinit to enter KDB a little later than with /BREAK)

svn path=/trunk/; revision=18369
2005-10-09 00:45:33 +00:00
Gregor Anich
9b511ef452 Add KDBinit to the installation.
svn path=/trunk/; revision=18368
2005-10-09 00:25:19 +00:00
Brandon Turner
96d70479d0 start of removing #ifdef __Reactos__ in cmd. __Reactos__ = 1 works fine on windows and __Reactos__ = 0 hasnt built since i started working on cmd, making it pointless.
svn path=/trunk/; revision=18367
2005-10-08 23:59:48 +00:00
Emanuele Aliberti
7ab6a27574 Fix startup code for native NT processes.
smss, autocheck, csrss use new startup code.

svn path=/trunk/; revision=18366
2005-10-08 22:42:17 +00:00
Emanuele Aliberti
320979be58 Fix startup code for native NT processes.
smss, autocheck, csrss use new startup code.

svn path=/trunk/; revision=18365
2005-10-08 22:41:49 +00:00
Emanuele Aliberti
4aa4442880 Minor change.
svn path=/trunk/; revision=18364
2005-10-08 22:40:04 +00:00
Emanuele Aliberti
14d42d8dd2 Fix startup code for native NT processes.
svn path=/trunk/; revision=18363
2005-10-08 22:38:55 +00:00
Gé van Geldorp
2ffd7b7d5a Sync to Wine-20050930:
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Robert Reif <reif@earthlink.net>
- Added keyboard data format.
- Fix joystick crash when a button guid is specified in the data
  format.
  Add some parameter checking.
- Pass around real version and do correct thing based on it.
  Change cooperative level to pass on windows.
- Fix SetProperty error returned.
  Add EnumDevice joystick version check.
  Test multiple versions.
- Added dinput tests.
- Effect objects are not supported yet so don't crash when trying to
  enumerate them.
Raphael Junqueira <fenix@club-internet.fr>
- use WINE_DINPUT_KEYBOARD_MAX_KEYS instead hard-coded 256 value
- better use of critical section
- some cleanup to better understand code paths
- logic correction on SetWindowsHookExA/UnhookWindowsHookEx on
  keyboard.
Alexandre Julliard <julliard@winehq.org>
- Build a static list of devices instead of relying on ELF
  constructors.
Gerald Pfeifer <gerald@pfeifer.com>
- Fix compilation of the case without proper Linux joystick support.
James Dean Anderson <petr@pantek.org>
- Report an error if trying to get data from an unacquired mouse.
Lionel Ulmer <lionel.ulmer@free.fr>
- more pretty print for the types flag
- more Windows-aligned check for object instances
- Windows reports 0x80 on pressed buttons not 0xFF
- trace the events reported to the application
- do not flush the buffer when the application only wants to peek the
  number of elements in the queue
- trace the GetDeviceState values before they are reset
Alexandre Julliard <julliard@winehq.org>
- Added rules for building import libraries in the individual dll
  makefiles, and added support for building a .def.a static import
  library too.
- Added rules to build import libraries in the individual dll makefiles.
  Generate import libraries with the right name right away instead of
  using an intermediate .spec.def file.
- Moved config parameters to HKCU\Software\Wine\DirectInput.
- Added magic comments to all Wine-specific registry accesses to make
  them easier to grep.
- Sort entry points alphabetically.
- Removed some unused or redundant configure checks.
  A few cleanups in configure.ac.
- Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
  Dll(Un)RegisterServer with the dll name so that the compiler can check
  the prototypes.
- Fixed some traces to use the right printf format and avoid typecasts.
- Use a more portable scheme for storing the name of a critical
  section.
- Use the COM macros instead of accessing lpVtbl directly.
- We are no longer generating .dbg.c files.
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.
- Fixed 3 memset()s which used the wrong size (too large).
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make more of the OLE interface vtables const.
Daniel Remenak <dtremenak@gmail.com>
- Added a linux input system force feedback effect implementation.
- Allow the creation of an FF effect while the joystick is not
  acquired.
- Failing to download an effect after setting parameters is not a
  fatal error.
- Allow enumeration of objects when the device is not yet acquired.
- Flag FF-capable axes during enumeration.
- Protect FF_STATUS usage to avoid compile errors on machines with old
  linux/input.h.
- Implement EnumEffects, CreateEffect, EnumCreatedEffects,
  SendForceFeedbackCommand, and GetForceFeedbackStatus for linux input
  joysticks.
- Correct dinput handling of sliders and non-zero-based axes through the
  linux input system.
- Correctly enumerate evdev joysticks when enumeration is restricted
  with DIEDFL_FORCEFEEDBACK.
- Detect force-feedback-capable linux event device joysticks and return
  DIDC_FORCEFEEDBACK when queried for capabilities.
Mike McCormack <mike@codeweavers.com>
- Interlocked LONG* gcc warning fixes.
- gcc 4.0 warning fixes.
- gcc 4.0 warning fixes for Interlocked* functions.
- Fix warnings for no force feedback case.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wmissing-declarations warnings.
Vincent Béron <vberon@mecano.gme.usherb.ca>
- Use proper ifdefs around unistd.h.

svn path=/trunk/; revision=18361
2005-10-08 20:11:27 +00:00
Gé van Geldorp
d2af8e74ef Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- We are no longer generating .dbg.c files.
- Removed a useless header file.

svn path=/trunk/; revision=18359
2005-10-08 19:52:44 +00:00
Gé van Geldorp
855eb364c8 Sync to Wine-20050930:
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.
Mike McCormack <mike@codeweavers.com>
- Fix gcc 4.0 warnings.
Gerald Pfeifer <gerald@pfeifer.com>
- #include <stdlib.h> to get abs() prototype.
Frank Richter <frank.richter@gmail.com>
- Remove shlwapi dependency.

svn path=/trunk/; revision=18358
2005-10-08 19:49:47 +00:00
Gé van Geldorp
08702b9203 Sync to Wine-20050930:
Stefan Leichter <Stefan.Leichter@camLine.com>
- Added version resource to urlmon.dll.
Alexandre Julliard <julliard@winehq.org>
- Fixed a compiler warning.
- We are no longer generating .dbg.c files.
Jacek Caban <jack@itma.pwr.wroc.pl>
- Added IHttpNegotiate2 interface.
- Update BINDSTRING and IInternetSession.
- Added MIME type checking to FileProtocol::Start.
- Rewrote FindMimeFromData to pass tests.
- Encode URL in file protocol.
- Added ReleaseBindInfo implementation.
- Added RegisterFormatEnumerator and RevokeFormatEnumerator
  implementation.
- Added PARSE_SECURITY_DOMAIN action implementation.
- Added CreateAsyncBindCtxEx implementation.
- Added PARSE_SECURITY_URL action implementation.
- Added CoInternetGetSession implementation.
- Register zones.
- Added PARSE_PATH_FROM_URL action implementation.
- Added http and ftp protocol stub implementation.
- Register ZoneMap.
- Move protocol's CLSIDs to urlmon.idl.
- Added urlmon.inf as dependency of rsrc.res.
- Added GetZoneActionPolicy implementation.
- Added CoInternetParseUrl implementation.
- Added MapUrlToZone implementation.
- Added file protocol implementation.
- Added IInternetSecurityManager::[SG]etSecuritySite implementation.
- Forward IInternetSecurityManager calls to custom manager.
- Added CreateFormatEnumerator implementation.

svn path=/trunk/; revision=18357
2005-10-08 19:43:11 +00:00
Gé van Geldorp
d2f8256c62 Sync to Wine-20050930:
Francois Gouget <fgouget@free.fr>
- Fix .spec declarations for functinos with 64bit arguments (reported by
  winapi_check).
Stefan Leichter <Stefan.Leichter@camLine.com>
- Added version resource to shlwapi.dll.
Alexandre Julliard <julliard@winehq.org>
- Remove the 'L' suffix on a number of constants to avoid comparison
  errors on 64-bit platforms.
- Take into account -noname functions when checking for duplicate export
  names. Fixed a couple of issues found by the stricter check.
- 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.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Fix the usage of COLOR_xxx constants in the place of the window's
  class hbrBackground.
Alexander N. Sørnes <alex@thehandofagony.com>
- Added Norwegian translations.
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=18356
2005-10-08 19:30:16 +00:00