Compare commits

...

4485 Commits

Author SHA1 Message Date
Brandon Turner
9173e96e7d change to "RELEASE"
svn path=/branches/ros-branch-0_2_8/; revision=18832
2005-10-28 14:23:48 +00:00
Andrew Munger
fb29985637 Disable patented bytecode interpreter, will investigate the non-patented configuration.
svn path=/branches/ros-branch-0_2_8/; revision=18774
2005-10-25 18:08:13 +00:00
Brandon Turner
c41f403a21 Changed to RC2
svn path=/branches/ros-branch-0_2_8/; revision=18761
2005-10-24 21:42:24 +00:00
Gé van Geldorp
c22faedfdb Can't have a release without WineMine:
Add resource file, makes winemine playable again

svn path=/branches/ros-branch-0_2_8/; revision=18706
2005-10-23 13:11:31 +00:00
Gé van Geldorp
940e95f578 Merge from trunk:
Don't issue KBD_LINE_TEST, the results are unreliable. Fixes reopen of #688.

svn path=/branches/ros-branch-0_2_8/; revision=18700
2005-10-23 11:33:45 +00:00
Gé van Geldorp
2816fa8ad0 Merge from trunk:
Use MaxPos instead of MaxTrackingPos when "restoring" a window which was
previously maximized. Fixes bug 925.

svn path=/branches/ros-branch-0_2_8/; revision=18680
2005-10-22 15:19:01 +00:00
Gé van Geldorp
3b88890780 Merge from trunk.
Fix icon alignment when the screen width is not a multiple of the icon spacing.
Fixes bug 912.

svn path=/branches/ros-branch-0_2_8/; revision=18674
2005-10-22 12:11:42 +00:00
Gé van Geldorp
4e8b37f268 Merge from trunk.
Make FindWindow case insensitive. Fixes bug 919.

svn path=/branches/ros-branch-0_2_8/; revision=18667
2005-10-21 21:16:36 +00:00
Gé van Geldorp
38e712904d Merge from trunk.
- Enable/disable keyboard by writing the controller command byte instead of
  issuing keyboard commands, the keyboard commands seem to confuse some kvm
  switches.
- Use STATUS_IO_TIMEOUT consistently, STATUS_TIMEOUT is not an error condition
- Introduce symbolic constants for controller command byte bits
- Try to detect mouse early and if its not present, reset the keyboard
  controller. Some controllers seem to get locked up when writing to a
  non-present mouse.
- Don't check the timeout status bit when reading from the controller. It is
  often wrong.
- Don't treat failure to read keyboard id as a fatal error, we only read it
  to set KeyboardIsAT which we then don't use. Still try to detect the keyboard
  type, but don't fail if it doesn't work.
Fixes bug 688. Thanks to Hartmut, Filip and WaxDragon for testing.

svn path=/branches/ros-branch-0_2_8/; revision=18665
2005-10-21 20:31:59 +00:00
Gé van Geldorp
cbbc54397d Revert r18662, trunk and branch already diverged
svn path=/branches/ros-branch-0_2_8/; revision=18663
2005-10-21 19:45:28 +00:00
Gé van Geldorp
3c5b8f62ce Merge from trunk: Make desktop properties fit in 640x480 desktop
svn path=/branches/ros-branch-0_2_8/; revision=18662
2005-10-21 19:33:16 +00:00
Gé van Geldorp
076872ae0a Merge from trunk. Martijn Vernooij <o112w8r02@sneakemail.com>
Work around continuous repainting of treeview control.
Fixes bug 493.

svn path=/branches/ros-branch-0_2_8/; revision=18658
2005-10-21 17:16:46 +00:00
Gé van Geldorp
1d110cfd34 Merge from trunk.
Patch by hardon. Properly handle 0 timeouts. Fixes bug 857.

svn path=/branches/ros-branch-0_2_8/; revision=18537
2005-10-17 22:09:18 +00:00
Gé van Geldorp
b49ba945d0 Merge from trunk.
Everything must come to an end, even the desktop window. Fixes bug 805.

svn path=/branches/ros-branch-0_2_8/; revision=18535
2005-10-17 22:00:42 +00:00
Gé van Geldorp
5f8cac6653 Merge from trunk.
Inform HAL about the switch to graphics modeas late as possible. Fixes bug 880.

svn path=/branches/ros-branch-0_2_8/; revision=18533
2005-10-17 21:48:12 +00:00
Hartmut Birr
7ed77ada75 Merge from trunk.
Don't use alloca in a macro, which may be used in a loop. This does fix bug #805.

svn path=/branches/ros-branch-0_2_8/; revision=18482
2005-10-15 14:26:53 +00:00
Gé van Geldorp
fd1eddbc07 Merge from trunk.
Make sure we don't hang forever when activating a window belonging to
another thread

svn path=/branches/ros-branch-0_2_8/; revision=18469
2005-10-15 09:55:46 +00:00
Gé van Geldorp
0cefb2734c Merge from trunk. Goplat <mrnobo1024@yahoo.com>:
SetPixel should return the new color. Bug 909.

svn path=/branches/ros-branch-0_2_8/; revision=18451
2005-10-14 18:35:05 +00:00
Gé van Geldorp
e0c4931114 Merge from trunk. tsk <tsk_n@mail.goo.ne.jp>:
UsageMessage is a printf format string.

svn path=/branches/ros-branch-0_2_8/; revision=18440
2005-10-14 09:44:48 +00:00
Gé van Geldorp
667d6e07eb Merge from trunk:
Don't install Winefile icon on desktop, it's already present in the start menu

svn path=/branches/ros-branch-0_2_8/; revision=18438
2005-10-14 09:34:15 +00:00
Gé van Geldorp
7614c174b6 Merge from trunk. Mike <mikeonthecomputer@gmail.com>:
Add installation path for VMware 5.5. Fixes bug 907.

svn path=/branches/ros-branch-0_2_8/; revision=18436
2005-10-14 09:27:30 +00:00
Robert Kopferl
1ed2391c2f preparations for Ros 0.2.8-RC1
svn path=/branches/ros-branch-0_2_8/; revision=18434
2005-10-14 00:03:27 +00:00
Gé van Geldorp
92697d6768 Merge from trunk:
Use the pitch provided by FreeType. Fixes bug 894.

svn path=/branches/ros-branch-0_2_8/; revision=18432
2005-10-13 18:43:49 +00:00
Gé van Geldorp
1bc7e5d407 Send window-bound timers to the correctmessage queue
svn path=/branches/ros-branch-0_2_8/; revision=18421
2005-10-13 07:35:48 +00:00
Gé van Geldorp
5ddd8d5749 Workaround for bug 899
svn path=/branches/ros-branch-0_2_8/; revision=18420
2005-10-13 07:35:19 +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
Martin Fuchs
644b190f61 basic implementation of zoomin functionality
svn path=/trunk/; revision=18355
2005-10-08 19:29:20 +00:00
Gé van Geldorp
aeb7ba332c Vendor import of shfolder
svn path=/trunk/; revision=18354
2005-10-08 19:24:54 +00:00
Gé van Geldorp
bb54f9a8ad Remove old shfolder in preparation for vendor import
svn path=/trunk/; revision=18353
2005-10-08 19:20:41 +00:00
Gé van Geldorp
b181f1cd75 Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- Take into account -noname functions when checking for duplicate export
  names. Fixed a couple of issues found by the stricter check.
- 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.
Jacek Caban <jack@itma.pwr.wroc.pl>
- Make IPersist* interfaces heap based.
- Added IWebBrowser2 stub implementation.
- Make IProvideClassInfo2 interface heap based.
- Make IConnectionPointContainer interface heap based.
- Make WebBrowser heap based object.
- Improve stubs.
- Make IQuickActivate interface heap based.
- Added SetClientSite implementation.
- Make IOleControl and IOleInPlaceObject interface heap based.
Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
- Added Finnish resources.

svn path=/trunk/; revision=18351
2005-10-08 19:07:39 +00:00
Brandon Turner
a5ea3f54c1 Bring it up to date.
svn path=/trunk/; revision=18350
2005-10-08 18:08:17 +00:00
Brandon Turner
6eb6d65bcc DisplayBuffer is only used when DBG=1
svn path=/trunk/; revision=18349
2005-10-08 18:07:45 +00:00
Gé van Geldorp
cfda712e3a 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
2005-10-08 17:41:41 +00:00
Gé van Geldorp
b40e1a8202 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
2005-10-08 17:26:40 +00:00
Gé van Geldorp
60725dc6bb 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
2005-10-08 17:17:27 +00:00
Gé van Geldorp
579ad59176 Fix EOLs
svn path=/trunk/; revision=18344
2005-10-08 17:15:42 +00:00
Gé van Geldorp
8c43bd1a89 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
2005-10-08 17:13:07 +00:00
Gé van Geldorp
8e75c86a0c 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
2005-10-08 17:10:59 +00:00
Magnus Olsen
7725bc4867 sync to Wine-20050930 dsound does not have hardware acclation it is still hardcode to software mode.
svn path=/trunk/; revision=18341
2005-10-08 17:05:40 +00:00
Magnus Olsen
2a5a60d94e 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
2005-10-08 16:45:47 +00:00
Magnus Olsen
d0bc2f7b1a 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
2005-10-08 16:38:07 +00:00
Martin Fuchs
ee7df88f58 update change list
svn path=/trunk/; revision=18338
2005-10-08 16:26:04 +00:00
Hervé Poussineau
3e45266afd Restart the device after its installation
svn path=/trunk/; revision=18337
2005-10-08 15:52:14 +00:00
Hervé Poussineau
875492f6ee Update section names
Add a upper filter serenum for serial ports

svn path=/trunk/; revision=18336
2005-10-08 15:20:13 +00:00
Hervé Poussineau
23b8989476 NtPlugPlayControl: Implement PlugPlayControlResetDevice case
svn path=/trunk/; revision=18335
2005-10-08 14:47:25 +00:00
Magnus Olsen
ac31de9a31 prepare for dsound add MAXWAVEDRIVERS and remove #ifdef _WINESRC_from WAVE_DIRECTSOUND
svn path=/trunk/; revision=18334
2005-10-08 13:57:36 +00:00
Gé van Geldorp
20cd7beedc 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
2005-10-08 13:45:19 +00:00
Gé van Geldorp
ab288dfff4 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
2005-10-08 13:34:21 +00:00
Gé van Geldorp
7b0072d23f 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
2005-10-08 13:28:54 +00:00
Gé van Geldorp
4f410ff156 Use Wine solution for MRU problem, which is slightly different from the
solution which was implemented in ReactOS

svn path=/trunk/; revision=18330
2005-10-08 13:24:27 +00:00
Gé van Geldorp
b09d85cc20 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
2005-10-08 13:20:03 +00:00
Gregor Anich
3e73bd8b79 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
2005-10-08 12:47:53 +00:00
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
Magnus Olsen
24269c114d 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
2005-10-05 19:29:08 +00:00
Hartmut Birr
09f3f08c6d Implemented SRB_FUNCTION_IO_CONTROL/IOCTL_SCSI_MINIPORT_IDENTIFY.
svn path=/trunk/; revision=18275
2005-10-05 18:36:10 +00:00
Hartmut Birr
baac20f12f Implemented IOCTL_SCSI_MINIPORT.
svn path=/trunk/; revision=18274
2005-10-05 18:24:24 +00:00
Martin Fuchs
006fe6a358 create some start menu entries for notepad, regedit and winefile
svn path=/trunk/; revision=18273
2005-10-05 16:47:19 +00:00
Martin Fuchs
ed14f79996 remove duplicate RegQueryStringValue() function
svn path=/trunk/; revision=18272
2005-10-05 16:11:21 +00:00
Martin Fuchs
5f5bf68c82 partial implementation of ShowWindowAsync() using the synchronous NtUserShowWindow() call to activate the desktop switcher
svn path=/trunk/; revision=18271
2005-10-05 14:47:07 +00:00
Nathan Woods
f8b4f3f219 Regedit: Now restores last position on startup
Still need to save position on exit


svn path=/trunk/; revision=18270
2005-10-05 13:25:14 +00:00
Martin Fuchs
3df2610b06 fix UNICODE control panel calls to handle double clicks on the task bar clock
svn path=/trunk/; revision=18269
2005-10-05 13:08:59 +00:00
Nathan Woods
67bc4a8961 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
2005-10-05 00:27:25 +00:00
Brandon Turner
4dbeaea6e7 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
2005-10-04 15:32:04 +00:00
Brandon Turner
4d9e3c92a6 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
2005-10-04 14:56:38 +00:00
Martin Fuchs
55265598c2 activate execution from command bar
svn path=/trunk/; revision=18265
2005-10-04 14:31:11 +00:00
Martin Fuchs
b43dd57063 "execute" menu entry
svn path=/trunk/; revision=18264
2005-10-04 14:06:33 +00:00
Martin Fuchs
ac5f8b6843 set EOL-style
svn path=/trunk/; revision=18263
2005-10-04 13:47:22 +00:00
Brandon Turner
1280e7e797 Add errorlevel for set /A
svn path=/trunk/; revision=18262
2005-10-04 13:45:19 +00:00
Martin Fuchs
a9e32dc111 remove remaining winefile resources
svn path=/trunk/; revision=18261
2005-10-04 13:43:15 +00:00
Nathan Woods
ec1530d488 Notepad: Fixed a bug when opening files with no characters other than byte order marks
svn path=/trunk/; revision=18260
2005-10-04 12:57:04 +00:00
Nathan Woods
ec396aa21f Regedit: Stopgap fix to build error just introduced; need to go through Regedit and TCHAR-ize it
svn path=/trunk/; revision=18259
2005-10-04 12:41:08 +00:00
Martin Fuchs
5638dcb792 complete german resources for explorer
svn path=/trunk/; revision=18258
2005-10-04 12:02:34 +00:00
Nathan Woods
c80b556537 Regedit: Fixed stupid compilation errors
svn path=/trunk/; revision=18257
2005-10-04 02:46:14 +00:00
Nathan Woods
2639ea0346 Regedit: Fixed exporting subtrees with Unicode
Core exporting code still ANSI; need to fix this


svn path=/trunk/; revision=18256
2005-10-04 02:40:01 +00:00
Thomas Bluemel
e908a4d408 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
2005-10-03 23:01:10 +00:00
Thomas Bluemel
f710105b8b 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
2005-10-03 22:46:49 +00:00
Emanuele Aliberti
64e0a3529d A note about this piece of code.
svn path=/trunk/; revision=18253
2005-10-03 21:40:58 +00:00
Thomas Bluemel
3fc6884ed5 Don't fail when there are no more subkeys to delete in RegDeleteTree()
svn path=/trunk/; revision=18252
2005-10-03 21:37:05 +00:00
Emanuele Aliberti
7d51afc9cf 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
2005-10-03 21:35:12 +00:00
Brandon Turner
ce7daa3fef 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
2005-10-03 20:28:29 +00:00
Hartmut Birr
7402ea80eb Return an error instead of STATUS_SUCCESS for functions which are not implemented or supported (in ScsiPortDeviceControl).
svn path=/trunk/; revision=18249
2005-10-03 18:49:44 +00:00
Ged Murphy
0b7743d63e - 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
2005-10-03 18:32:30 +00:00
Thomas Bluemel
b9430af2fd don't use invalid options in the DSOP_INIT_INFO structure of the computer selection dialog
svn path=/trunk/; revision=18247
2005-10-03 14:42:34 +00:00
Thomas Bluemel
9e960ba331 build regedit as unicode by default
svn path=/trunk/; revision=18246
2005-10-03 13:44:18 +00:00
Hervé Poussineau
bb46913ed6 Remove debug output I've incidentally added...
svn path=/trunk/; revision=18245
2005-10-03 12:57:48 +00:00
Hervé Poussineau
4b42aa47f1 Implement IRP_MJ_PNP / IRP_MN_QUERY_TEXT / DeviceTextDescription for ACPI devices
svn path=/trunk/; revision=18244
2005-10-03 12:53:31 +00:00
Nathan Woods
32cf34124f Regedit: Added a "Goto key" right-click option.
This feature allows the user to right click on certain keys that "link" to other keys, Regedit can provide additional "Go to ...." menu items.  For example, if you click on a ProgID under HKCR, a "Go to 'HKCR\CLSID\{....}' menu item will appear.


svn path=/trunk/; revision=18243
2005-10-03 12:39:50 +00:00
Eric Kohl
ccfa60dea9 Revert sublang changes.
svn path=/trunk/; revision=18242
2005-10-03 12:12:19 +00:00
Hervé Poussineau
aa1f470e40 Reference the PDO before returning it
svn path=/trunk/; revision=18241
2005-10-03 10:13:28 +00:00
Eric Kohl
5a455c2aa3 - Add german resources.
- Use SUBLANG_DEFAULT by default.
- Fix control panel description.

svn path=/trunk/; revision=18240
2005-10-03 09:14:57 +00:00
Hervé Poussineau
7a6054e30a Add "Add hardware" control panel applet.
Not added to the build, as InstallNewDevice in newdev.dll is not implemented

svn path=/trunk/; revision=18239
2005-10-03 07:48:59 +00:00
Hervé Poussineau
88f8bc8a25 Add SetupPromptReboot stub
In SetupInstallServicesFromInfSectionExW, LoadOrderGroup value is optional. Don't break if it is missing

svn path=/trunk/; revision=18238
2005-10-03 07:26:39 +00:00
Hervé Poussineau
cd5d63f1b8 Implement CM_Get_DevNode_Registry_Property_ExA
svn path=/trunk/; revision=18237
2005-10-03 07:22:19 +00:00
Hervé Poussineau
ecc00fcc3f Replace STDCALL by NTAPI
Little changes in vfat.h to be able to compile with MSVC

svn path=/trunk/; revision=18236
2005-10-03 07:15:12 +00:00
Hervé Poussineau
5f72d81983 Map status codes to CONFIGRET error codes
svn path=/trunk/; revision=18235
2005-10-03 07:06:42 +00:00
Brandon Turner
b45fcd6e73 fix detection of missing target. thanks to thomas.
svn path=/trunk/; revision=18234
2005-10-03 00:51:24 +00:00
Brandon Turner
f04df80d72 allocate memory for the string. thanks to thomas for finding it.
svn path=/trunk/; revision=18233
2005-10-03 00:26:39 +00:00
Brandon Turner
b736dee2b9 Implemented /S and /Q in remove directory.
Added a check for files in the folder. This fixes bug 742.
Updated res file, translators please update sometime soon.

svn path=/trunk/; revision=18232
2005-10-02 20:17:59 +00:00
Emanuele Aliberti
bc0e74489f add comp.exe (optional).
svn path=/trunk/; revision=18231
2005-10-02 20:03:20 +00:00
Emanuele Aliberti
7411ee2fea More fixes to compile.
svn path=/trunk/; revision=18230
2005-10-02 19:39:30 +00:00
Emanuele Aliberti
fdf33e349f Modify to conform to the new CSR.
svn path=/trunk/; revision=18229
2005-10-02 19:31:30 +00:00
Martin Fuchs
006c9f00e8 a bit of Makefile and string constants cleanup
svn path=/trunk/; revision=18228
2005-10-02 18:31:50 +00:00
Martin Fuchs
723b42a105 work around GCC's wide string constant bug to fix tree list image loading
svn path=/trunk/; revision=18227
2005-10-02 18:28:36 +00:00
Emanuele Aliberti
0732c808f0 Fix compilation.
svn path=/trunk/; revision=18226
2005-10-02 18:00:04 +00:00
Emanuele Aliberti
0862f96309 Support all optional modules and possibly a 'windows' one where every piece of code related to the Win32 subsystem will be stored (eventually to be voted on, I suppose).
The idea of moving the Win32 emulation out of the main ros tree popped up days ago in a chat session with Filip (cleaning it would help those who want an embeddable ros or a native only ros).

svn path=/trunk/; revision=18225
2005-10-02 17:54:56 +00:00
Emanuele Aliberti
62955cc11a csr.exe uses nt startup library.
svn path=/trunk/; revision=18224
2005-10-02 17:41:30 +00:00
Emanuele Aliberti
bdd38fc6a9 Rename the XML chunk too.
svn path=/trunk/; revision=18223
2005-10-02 17:39:54 +00:00
Emanuele Aliberti
21313e9c16 Give ntrt0lib its public name.
svn path=/trunk/; revision=18222
2005-10-02 17:38:28 +00:00
Alex Ionescu
03cc0f01b6 - Implement Native Entrypoint for our NT.LIB
svn path=/trunk/; revision=18221
2005-10-02 16:58:35 +00:00
Emanuele Aliberti
abd8566faa csr.exe is built using ntrt0lib.
svn path=/trunk/; revision=18220
2005-10-02 16:23:26 +00:00
Emanuele Aliberti
bf66746b2d A do-nothing crt0 for native NT processes.
(see note by A.Ionescu in reactos/subsys/crt/main.c)

svn path=/trunk/; revision=18219
2005-10-02 16:09:30 +00:00
Martin Fuchs
a9fdaba902 Doxygen scripts
svn path=/trunk/; revision=18218
2005-10-02 15:59:15 +00:00
Emanuele Aliberti
3ddfd74461 Add stub for RtlSetProcessIsCritical.
svn path=/trunk/; revision=18217
2005-10-02 15:50:30 +00:00
Eric Kohl
855c2bb882 Named pipes must be opened for asynchronous access.
This fixes bug #826.

svn path=/trunk/; revision=18216
2005-10-02 14:10:05 +00:00
Thomas Bluemel
8732a698df sizeof(HelloString) does already contain the terminating NULL. Thanks to Hartmut.
svn path=/trunk/; revision=18215
2005-10-02 13:54:32 +00:00
Thomas Bluemel
d5169058c9 fixed difference in signedness warnings
svn path=/trunk/; revision=18214
2005-10-02 13:47:48 +00:00
Thomas Bluemel
0e10526c80 minor changes (mostly formatting)
svn path=/trunk/; revision=18213
2005-10-02 12:46:49 +00:00
Thomas Bluemel
4ca189ac66 make the tree compilable again...
svn path=/trunk/; revision=18212
2005-10-02 12:27:54 +00:00
Martin Fuchs
90637152d6 fix directory traversing in explorer SDI windows
svn path=/trunk/; revision=18211
2005-10-02 12:25:42 +00:00
Martin Fuchs
6a834bb1fb fix enabling of split border
svn path=/trunk/; revision=18210
2005-10-02 12:24:10 +00:00
Martin Fuchs
63935e005c new option to open explorer subfolders in separate windows
svn path=/trunk/; revision=18209
2005-10-02 11:40:41 +00:00
Hervé Poussineau
5ffe4c4880 Add stubs for InstallNewDevice, InstallSelectedDriver, UpdateDriverForPlugAndPlayDevicesA/W
svn path=/trunk/; revision=18208
2005-10-02 10:33:25 +00:00
Eric Kohl
886778d0b2 Implement CM_Request_Eject_PC[_Ex].
svn path=/trunk/; revision=18207
2005-10-02 10:07:25 +00:00
Hartmut Birr
3a68545201 Disable the serial debug output if the com port doesn't exist.
svn path=/trunk/; revision=18206
2005-10-02 09:42:12 +00:00
Alex Ionescu
5df400b823 - Fix gcc compilation issues
- Fix most ld linking issues.

svn path=/trunk/; revision=18205
2005-10-02 08:40:49 +00:00
Alex Ionescu
29b8aa245a - Don't undef DBG_CONTINUE.
svn path=/trunk/; revision=18204
2005-10-02 08:33:38 +00:00
Alex Ionescu
d753940a60 - Small csr server public header cleanup.
svn path=/trunk/; revision=18203
2005-10-02 08:32:37 +00:00
Alex Ionescu
794f347587 - Small semaphore code simplification/optimization.
svn path=/trunk/; revision=18202
2005-10-02 08:31:45 +00:00
Alex Ionescu
66e502bd5a - Add RtlSetProcessCritical
- Some fixes.

svn path=/trunk/; revision=18201
2005-10-02 08:22:49 +00:00
Aleksey Bragin
00703c571b Add vcprojmaker.cpp to the msvc project
svn path=/trunk/; revision=18200
2005-10-02 08:08:04 +00:00
Emanuele Aliberti
a4808fca79 - add copyright notice
- fix unmatched bracket

svn path=/trunk/; revision=18199
2005-10-02 07:42:52 +00:00
Nathan Woods
46a48736ad Regedit: Implemented exporting specific branches
svn path=/trunk/; revision=18198
2005-10-02 01:21:43 +00:00
Thomas Bluemel
8ec93653e6 fixed some memory leaks and build it as unicode by default
svn path=/trunk/; revision=18197
2005-10-01 19:01:07 +00:00
Ged Murphy
16e0c94db4 fix unused variable warning.
free pointer before returning.

svn path=/trunk/; revision=18196
2005-10-01 18:41:02 +00:00
Martin Fuchs
b1230b8ee5 add code comments
svn path=/trunk/; revision=18195
2005-10-01 18:14:17 +00:00
Martin Fuchs
6a3529155a MDI/SDI option dialog:
- pictures for illustration
- remove resizable flag

svn path=/trunk/; revision=18194
2005-10-01 18:13:33 +00:00
Ged Murphy
d67541c53b Start to alter print output so it correctly simulates the MS 'route print'
svn path=/trunk/; revision=18193
2005-10-01 15:47:40 +00:00
Thomas Bluemel
6526069195 implemented the "Go to process" feature
svn path=/trunk/; revision=18192
2005-10-01 15:30:25 +00:00
Nathan Woods
38ecd48776 Regedit: Moved hEditMenu declaration to the top of the function
svn path=/trunk/; revision=18191
2005-10-01 15:11:31 +00:00
Thomas Bluemel
c1388efea5 use the NT5+ behavior of displaying the system cache size. fixes bug 856
svn path=/trunk/; revision=18190
2005-10-01 14:38:10 +00:00
Magnus Olsen
e89ca27d52 commit new startmenu picture that can be resize, see http://www.reactos.org/bugzilla/show_bug.cgi?id=676
svn path=/trunk/; revision=18189
2005-10-01 13:57:38 +00:00
Thomas Bluemel
626370f6aa check for and write new lines as ascii only in copy /A, regardless of whether cmd was compiled as unicode or ansi
svn path=/trunk/; revision=18188
2005-10-01 12:50:16 +00:00
Thomas Bluemel
0f55e53480 fixed possible buffer overflow bug: pass correct buffer length (in characters, not bytes) to FileGetString()
svn path=/trunk/; revision=18187
2005-10-01 12:21:55 +00:00
Martin Fuchs
580e685078 sync with Wine:
Alexandre Julliard, 2005-09-07: Replace a few more direct lpVtbl accesses by the proper macros. (patch applied only partly - the remaining COBJ macros are nonstandard, and don't exist in MSDN)
Alexandre Julliard, 2005-09-09:	Use Get/SetWindowLongPtr instead of Get/SetWindowLong where appropriate.

svn path=/trunk/; revision=18186
2005-10-01 10:10:39 +00:00
Alex Ionescu
35eb408157 - Remove some duplicated/useless code and use internal forward exports instead.
- Set kernel apc pending flag when needed in KeReleaseMutant
- Optimize check for kernel apc delivery in KeReleaseMutant
- Raise right exception in KeReleaseMutant
- Simplify KeInitializeMutant and remove some duplicated operations.
- Remove duplicated listhead initialization in KeInitiializeMutex
- Use correct increment in KeReleaseMutex

svn path=/trunk/; revision=18185
2005-10-01 08:58:49 +00:00
Martin Fuchs
f57183be46 sync with Wine:
- Fix warnings in 64bit. (Kevin Koltzau <kevin@plop.org>)
- simplify 'sei' structure initialization in ShellExecuteA/W

svn path=/trunk/; revision=18184
2005-10-01 08:20:12 +00:00
Alex Ionescu
7cd4df132d - KeRundownThread:
- Optimize to reduce contention
 - Add bugcheck instead of ASSERT
 - Add debug message to simplify finding errors like Bug 821 (type/size show 0xCC, which means the mutant has been already freed).

svn path=/trunk/; revision=18183
2005-10-01 07:37:13 +00:00
Nathan Woods
403e26da1b Notepad:
1.  Fixed bug in Goto line command
2.  Wrap long lines setting is persisted in the registry
3.  Fixed length limit bug when wrap long lines is toggled


svn path=/trunk/; revision=18182
2005-10-01 00:36:17 +00:00
Thomas Bluemel
0a52c57489 initialize COM on demand only
svn path=/trunk/; revision=18181
2005-09-30 23:32:24 +00:00
Emanuele Aliberti
22f369c6b1 Fix build.
svn path=/trunk/; revision=18180
2005-09-30 22:17:58 +00:00
Thomas Bluemel
133cd71ba8 don't remove mutants twice from the thread's mutant list in KeRundownThread(). This might fix bug 821
svn path=/trunk/; revision=18179
2005-09-30 22:00:30 +00:00
Thomas Bluemel
1e9a5c2f05 set eol-style to native
svn path=/trunk/; revision=18178
2005-09-30 21:32:01 +00:00
Thomas Bluemel
80c03b3f9b - added stubs for authz.dll
- added an authz.h to w32api

svn path=/trunk/; revision=18177
2005-09-30 21:28:29 +00:00
Thomas Bluemel
b05492e038 set eol-style to native
svn path=/trunk/; revision=18176
2005-09-30 21:19:12 +00:00
Steven Edwards
4b65a315a5 simple device manager program by Hervé Poussineau (hpoussin@reactos.org)
* GUI: Michael Fritsch 

svn path=/trunk/; revision=18175
2005-09-30 20:26:16 +00:00
Martin Fuchs
c9d6d045e6 patch applied from Christoph at ApiViewer.de: fix font handle leak
svn path=/trunk/; revision=18174
2005-09-30 19:42:45 +00:00
Thomas Bluemel
2357be7820 - improved control resizing handling
- don't fail when querying the account name length

svn path=/trunk/; revision=18173
2005-09-30 18:54:48 +00:00
Martin Fuchs
39d1d2d86c Fix Bugzilla Bug 676: dynamic explorer start menu sidebar size
svn path=/trunk/; revision=18172
2005-09-30 18:48:14 +00:00
Hartmut Birr
70c65c0144 The registry key name may be longer than 100 characters.
svn path=/trunk/; revision=18171
2005-09-30 16:33:06 +00:00
Hartmut Birr
6141c6f498 - Fixed the font size in IntGdiAddFontResource.
- Allocate a larger buffer for the font names in IntLoadSystemFonts.

svn path=/trunk/; revision=18170
2005-09-30 16:26:11 +00:00
Ged Murphy
5c9111085c set eol-style to native.
Thanks for reminding me, again :)

svn path=/trunk/; revision=18169
2005-09-30 15:37:58 +00:00
Ged Murphy
81bc89466b move quotes to a resource file and use shutdown quotes listed in the wiki.
svn path=/trunk/; revision=18168
2005-09-30 15:28:52 +00:00
Thomas Bluemel
4885539cea fixed pointer types differ in signedness warnings
svn path=/trunk/; revision=18167
2005-09-30 11:57:49 +00:00
Thomas Bluemel
ec05f0f08f set eol-style to native
svn path=/trunk/; revision=18166
2005-09-30 11:25:32 +00:00
Hervé Poussineau
60261f9699 Add newdev.dll, and implement DevInstallW function.
It permits to install devices from command line. ATM, very little functionality is supported.

svn path=/trunk/; revision=18165
2005-09-30 11:07:15 +00:00
Nathan Woods
b0f8c4a5fe Notepad:
1.  Fixed syntax errors in the ES and NL localizations
2.  Added code to save and restore settings; just the font for now


svn path=/trunk/; revision=18164
2005-09-30 02:53:34 +00:00
Thomas Bluemel
106e7a3173 use the correct down-level scope filter flag for the computer selection dialog
svn path=/trunk/; revision=18163
2005-09-30 01:47:46 +00:00
Thomas Bluemel
622b8c6503 display the computer selection dialog for remote registry administration
svn path=/trunk/; revision=18162
2005-09-30 01:26:02 +00:00
Ged Murphy
323ba37842 use carrige returns :)
svn path=/trunk/; revision=18161
2005-09-29 22:57:42 +00:00
Ged Murphy
b5aec3ddac randomise the quote sent
svn path=/trunk/; revision=18160
2005-09-29 22:36:46 +00:00
Ged Murphy
af01d7edd0 discard.c
- implemented discard.

chargen.c
- improve efficiency sending full line instead of singular chars.
TCP will generally wait until the packet is full anyway, so it's pointless to keep calling send for each char.

tcpsvcs.c
- implement the beginnings of the code to start tcpsvcs as a service. #if 0'd out at the moment. Fix bug from calling non existant DiscardHandler.

Surely this is enough info to satisfy lkcl this time :p

svn path=/trunk/; revision=18159
2005-09-29 20:41:12 +00:00
Thomas Bluemel
a83c2a2bb4 Some fixes to CreateDirectoryEx:
- properly copy the directory attributes
- add basic support to handle reparse points and add fallback code if the file system doesn't support them

svn path=/trunk/; revision=18158
2005-09-29 19:34:53 +00:00
Thomas Bluemel
cd88496c7a added clb.dll (mostly just stubs) which is required by MS regedit for it's REG_FULL_RESOURCE_DESCRIPTOR editor. As there doesn't seem to be another application that uses it, this place is probably the best for it.
svn path=/trunk/; revision=18157
2005-09-29 16:55:59 +00:00
Magnus Olsen
0feb129c9e sorry createDirectoryExW fails to create folder why ? change back to CreateDirectoryW sorry
svn path=/trunk/; revision=18156
2005-09-29 16:55:01 +00:00
Magnus Olsen
f16bc096ac MoveFileWithProgressW for movefolder
- change from CreateDirectoryW to CreateDirectoryExW
- fix close handle bug 
- overwrite readonly file
- make sure both dest and src are not set to readonly
- Source cleanup 
- Remove goto

svn path=/trunk/; revision=18155
2005-09-29 16:33:08 +00:00
Hervé Poussineau
514b606aee Set eol-style for new resources files
Add back Da.rc resources

svn path=/trunk/; revision=18154
2005-09-29 12:06:02 +00:00
Hervé Poussineau
358144fb6e - Milko Krachounov <milko@3mhz.net>
Added Bulgarian translations.
- Alexander N. Sørnes <alex@thehandofagony.com>
  Added Norwegian translations.

svn path=/trunk/; revision=18153
2005-09-29 11:58:31 +00:00
Hervé Poussineau
06bd1b672d Don't tell to MultiByteToWideChar that buffer is bigger than its real size. The size is in characters, not in bytes.
Spotted by Robert Shearman <rob@codeweavers.com>

svn path=/trunk/; revision=18152
2005-09-29 09:46:35 +00:00
Nathan Woods
b6c1b16e17 Christoph_vW: Updated notepad rc files to match Windows notepad's menu layout (bug #839)
svn path=/trunk/; revision=18151
2005-09-29 03:39:38 +00:00
Nathan Woods
033b930b16 Christoph_vW: regedit: make "modify" to default menu entry (bug #840)
svn path=/trunk/; revision=18150
2005-09-29 03:33:28 +00:00
Nathan Woods
cb80311ddf Regedit: Set up the export all/export branch UI; currently disabled for now
svn path=/trunk/; revision=18149
2005-09-29 03:07:26 +00:00
Thomas Bluemel
a62c8ab75f display all known value types
svn path=/trunk/; revision=18148
2005-09-29 02:50:38 +00:00
Thomas Bluemel
9da2411dea added stub for PrivCopyFileExW. This is needed by XP's ulib.dll, which XP's regedit.exe imports
svn path=/trunk/; revision=18147
2005-09-29 02:26:33 +00:00
Thomas Bluemel
1a4f353cad export BuildSecurityDescriptorA/W and IsWellKnownSid
svn path=/trunk/; revision=18146
2005-09-29 02:02:40 +00:00
Nathan Woods
0556dd9754 Regedit: Optimized tree expansion
svn path=/trunk/; revision=18145
2005-09-29 00:50:40 +00:00
Thomas Bluemel
1afd009025 added some missing APIs
svn path=/trunk/; revision=18144
2005-09-28 23:52:24 +00:00
Nathan Woods
8c42366a42 Notepad fixes:
1.  Fixed accelerator keys for new commands
2.  Properly parented Find/Replace dialog
3.  Typo in comment


svn path=/trunk/; revision=18143
2005-09-28 22:57:21 +00:00
Ged Murphy
708722cfd9 - Added daytime and quote of the day services
- Use universal header and remove needless seperate dirs
- Many bugfixes
- Added to build, not yet included in install as it's still in the early stages

Tested in WinXP using both Windows and Linux clients. Not yet tried in ROS,

svn path=/trunk/; revision=18142
2005-09-28 22:33:55 +00:00
Thomas Bluemel
a3ff770ebd add the vista application recovery functions to w32api and add their stubs to kernel32
svn path=/trunk/; revision=18141
2005-09-28 21:43:54 +00:00
Thomas Bluemel
85e9a1fa72 don't free random pointer in MmCreateImageSection. should fix bug 836
svn path=/trunk/; revision=18140
2005-09-28 19:56:05 +00:00
Hartmut Birr
87bf9958a5 Disable flushing if the device doesn't support it or if it isn't enabled.
svn path=/trunk/; revision=18139
2005-09-28 19:34:07 +00:00
Thomas Bluemel
b88678d1a3 added the Longhorn registry APIs to w32api
svn path=/trunk/; revision=18138
2005-09-28 18:56:01 +00:00
Thomas Bluemel
56b2e53628 don't dereference the port in NtSetInformationFile with information class FileCompletionInformation. The Also make setting the completion port thread-safe. This might fix bug 816
svn path=/trunk/; revision=18137
2005-09-28 17:15:57 +00:00
Thomas Bluemel
294680db96 improved error handling
svn path=/trunk/; revision=18136
2005-09-28 15:40:52 +00:00
Nathan Woods
7d4df5c225 Notepad: Fixed some bugs in Search->Replace
svn path=/trunk/; revision=18135
2005-09-28 13:20:10 +00:00
Thomas Bluemel
e8285addc9 improved error handling
svn path=/trunk/; revision=18134
2005-09-28 13:00:05 +00:00
Thomas Bluemel
afb1aa2562 Fixed some memory leaks in taskmgr. Patch by Christoph_vW <Christoph@ApiViewer.de>
svn path=/trunk/; revision=18133
2005-09-28 12:26:33 +00:00
Ged Murphy
5d41a8d313 - Set svn:eol-style to native
- Set svn:ignore on directories
Thanks to w3seek for pointing this out.

svn path=/trunk/; revision=18132
2005-09-27 23:37:05 +00:00
Nathan Woods
89effd5ee8 Notepad enhancements:
1.  Removed the 30k limit
2.  Implemented Replace and Replace All


svn path=/trunk/; revision=18131
2005-09-27 23:29:35 +00:00
Magnus Olsen
6653931c3d - Fix move for readonly folder and file. for now it is a small hack for readonly folders, Small Cleanup in the code, thx w3seek for the help with SetFileAttribs code.
svn path=/trunk/; revision=18130
2005-09-27 21:49:18 +00:00
Ged Murphy
6c01ff3c32 Start to implement the beginneings of tcpsvcs.exe. Just ideas at the moment, subject to change.
Working code for basic echo and chargen included. Tested in Windows from both Windows and Linux clients
Run from cmd, not incorporated into services.exe at the moment
Builds ok, but not included into build system just yet.

svn path=/trunk/; revision=18129
2005-09-27 21:44:24 +00:00
Thomas Bluemel
1d982cb8e9 some code reformatting of slayer.dll and make it build again
svn path=/trunk/; revision=18128
2005-09-27 20:22:25 +00:00
Thomas Bluemel
116b8b7916 some code reformatting
svn path=/trunk/; revision=18127
2005-09-27 18:19:59 +00:00
Thomas Bluemel
514a32bcff add hid.dll to the build system
svn path=/trunk/; revision=18126
2005-09-27 15:50:49 +00:00
Hervé Poussineau
e521cf2597 During 2nd stage setup, define also DNS hostname of the computer if possible
svn path=/trunk/; revision=18125
2005-09-27 14:27:14 +00:00
Nathan Woods
514cdac338 Regedit: Optimizations to refreshing; refreshing is still slightly slower than Windows regedit
svn path=/trunk/; revision=18124
2005-09-27 13:47:46 +00:00
Thomas Bluemel
043d319095 load some settings from the registry
svn path=/trunk/; revision=18123
2005-09-27 13:42:20 +00:00
Hervé Poussineau
2d5aef6968 KEBUGCHECK(0) -> KEBUGCHECK(INACCESSIBLE_BOOT_DEVICE)
svn path=/trunk/; revision=18122
2005-09-27 12:43:36 +00:00
Hervé Poussineau
dc6b192e48 Display status code when the file can't be opened
svn path=/trunk/; revision=18121
2005-09-27 12:40:20 +00:00
Thomas Bluemel
305c7e5ef7 fixed uninitialized variable warnings
svn path=/trunk/; revision=18120
2005-09-27 10:52:10 +00:00
Hervé Poussineau
6053e004ad Implement SetupInstallServicesFromInfSectionExW
Process {DDInstall}.HW section in SetupDiInstallDevice

svn path=/trunk/; revision=18119
2005-09-27 08:52:17 +00:00
Alex Ionescu
322841976a - Some NDK fixes when compiling with PSDK.
- Commit the new CSR (csrsrv and csrss). Compiles and passes PREfast with msvc 2005. Does not link yet. Is not complete yet (3 missing functions). Does not build with mingw yet. Code is probably still buggy. Work in other areas is needed as well. I'm comitting this under recommendation from Emanuele. See status.h for more info.
- Thanks to Emanuele and Filip which have helped with this patch.

svn path=/trunk/; revision=18118
2005-09-27 04:53:33 +00:00
Alex Ionescu
29322a96bc - Fix several flaws in APC logic.
- Properly support Special APC Disabling.
- Allow Guarded Mutex and Guarded Regions to function properly.
- Optimize some code and add some additional checks.
- Fix several bugs in KeFreezeAllThreads

svn path=/trunk/; revision=18117
2005-09-27 01:57:27 +00:00
Thomas Bluemel
bfcd1fab3c minor fixes
svn path=/trunk/; revision=18116
2005-09-27 01:48:49 +00:00
Thomas Bluemel
7c58d9be05 partly implemented the mixer selection dialog
svn path=/trunk/; revision=18115
2005-09-27 01:02:15 +00:00
Nathan Woods
2360c29d24 Notepad enhancements
1.  Implemented "Goto line"
2.  Partially implemented Replace (dialog comes up, need to have it actually do the replace )


svn path=/trunk/; revision=18114
2005-09-27 00:46:19 +00:00
Gunnar Dalsnes
b890e50a9e -reorder InsertXscendingOrder macro argument order and update uses
-start to macrofy list enums in ntoskrnl using LIST_FOR_EACH macros
-use IsListEmpty some places instead of manual coding
-profile.c:KeStartProfile() zero correct buffer in (and not the NULL ptr;-)
-improve LIST_FOR_EACH macros so that the iterator is set to NULL at end of enum
-kthread.c:KiServiceCheck() set the shadowtable before calling the win32k proc/thread init funcs
-apc.c:KiInsertQueueApc() insert special apcs in correct fifo order 
-apc.c:KeFlushQueueApc() simplify 
-timer.c:KiExpireTimers() calling RemoveEntryList on a possibly empty list is not ok

svn path=/trunk/; revision=18113
2005-09-26 22:57:48 +00:00
Thomas Bluemel
5b8c6d129b don't use MIXERCONTROLA for unicode builds
svn path=/trunk/; revision=18112
2005-09-26 22:06:31 +00:00
Alex Ionescu
ba942bb6e5 Fix calc.exe redraw problems on XP. Patch by Christoph_vW <Christoph@ApiViewer.de>
svn path=/trunk/; revision=18111
2005-09-26 21:49:03 +00:00
Alex Ionescu
e4dc1dc22d - Implement alldvrm and aulldvrm and export them from ntoskrnl. This fixes bug 467.
svn path=/trunk/; revision=18110
2005-09-26 21:39:04 +00:00
Alex Ionescu
06190df7c1 Err, actually deliver APCs when returning from systemcalls... fixes bug 810
svn path=/trunk/; revision=18109
2005-09-26 20:52:20 +00:00
Magnus Olsen
532121508b change from copyfileW to copyfileExW in MoveFileWithProgressW and add a error check for copyfileExW that was forgotten.
svn path=/trunk/; revision=18108
2005-09-26 20:44:43 +00:00
Filip Navara
4d68062bfb Revert r18070.
svn path=/trunk/; revision=18107
2005-09-26 20:29:08 +00:00
Alex Ionescu
2f5a9a2734 Add NDEBUG back and call LdrLoadDll correctly on Windows.
svn path=/trunk/; revision=18106
2005-09-26 20:08:11 +00:00
Hartmut Birr
ed77c5e942 Don't wait after the flush command for a non busy hd.
svn path=/trunk/; revision=18105
2005-09-26 20:06:49 +00:00
Hartmut Birr
406b5036aa Fixed the reinitialisation if the miniport driver returns SRB_STATUS_BUSY.
svn path=/trunk/; revision=18104
2005-09-26 20:00:48 +00:00
Thomas Bluemel
f9ac23ee7b also compile the resource file...
svn path=/trunk/; revision=18103
2005-09-26 19:16:43 +00:00
Thomas Bluemel
d286c03c70 add sndvol32 to the build system and reformat the code
svn path=/trunk/; revision=18102
2005-09-26 19:15:27 +00:00
Alex Ionescu
469b041e51 Export and implement NlsGetCacheUpdateCount. Almost every WinXP DLL can now import kernel32
svn path=/trunk/; revision=18101
2005-09-26 19:09:32 +00:00
Alex Ionescu
d78f9d9f94 Stub and export EnumCalanderInfoExW and QueryWin31IniFilesMappedToRegistry
svn path=/trunk/; revision=18100
2005-09-26 18:59:04 +00:00
Alex Ionescu
cc19214973 Export and implement CreateProcessInternalA and CreateProcessInternalW (really just shuffling/stubbing, no actual code was written.
svn path=/trunk/; revision=18099
2005-09-26 18:46:30 +00:00
Thomas Bluemel
aefeb9f6be RegOverridePredefKey does not (as opposed to the PSDK documentation) accept predefined handles for the hNewHKey parameter
svn path=/trunk/; revision=18098
2005-09-26 18:05:57 +00:00
Alex Ionescu
3438f98570 Open BNO directory with correct privileges, open CSR connection with correct path. Add InWindows boolean to use the right CSR ServerID in windows and add a hack to get kernel32 to be loadable if used with .local to force an application to use our kernel and not the system one. The result of this is that our kernel32 can now load in Windows XP (not 2000).
svn path=/trunk/; revision=18097
2005-09-26 18:03:17 +00:00
Aleksey Bragin
18a5faec31 Christoph von Wittich: fix for bug 824 ("memory leak in welcome").
-LoadBitmap without DeleteObject
-SelectObject is used with wrong DC

svn path=/trunk/; revision=18096
2005-09-26 16:13:50 +00:00
Aleksey Bragin
714a0377ae Christoph von Wittich: fix for bug 823 ("Resource leak in regedit").
svn path=/trunk/; revision=18095
2005-09-26 16:07:23 +00:00
Aleksey Bragin
7311a97c7e Christoph von Wittich: fix for bug 822 ("Resource leak in calc").
svn path=/trunk/; revision=18094
2005-09-26 15:50:37 +00:00
Thomas Bluemel
2c830b3480 export RegOverridePredefKey, forgot to commit this change
svn path=/trunk/; revision=18093
2005-09-26 13:02:01 +00:00
Thomas Bluemel
265d243da7 implemented RegOverridePredefKey()
svn path=/trunk/; revision=18092
2005-09-26 12:44:03 +00:00
Hervé Poussineau
235187d761 Update .inf files
svn path=/trunk/; revision=18091
2005-09-26 12:05:27 +00:00
Hervé Poussineau
94edbf0294 Fix signedness (SetupGetIntField takes a PINT argument, not a PUINT one)
svn path=/trunk/; revision=18090
2005-09-26 11:43:14 +00:00
Hervé Poussineau
e8a80ca380 Implement parts of SetupDiInstallDevice
svn path=/trunk/; revision=18089
2005-09-26 11:39:24 +00:00
Hervé Poussineau
85061235b4 Implement SetupInstallServicesFromInfSectionA/W, SetupInstallServicesFromInfSectionExW
Add stub for SetupInstallServicesFromInfSectionExW

svn path=/trunk/; revision=18088
2005-09-26 11:37:32 +00:00
Thomas Bluemel
5513508495 copy the buffer to the right place in IntWriteConsoleOutput
svn path=/trunk/; revision=18087
2005-09-26 11:35:23 +00:00
Thomas Bluemel
bbaa62a6a8 - fixed uninitialized variable warning
- fixed memory leak in SetupDiBuildDriverInfoList()

svn path=/trunk/; revision=18086
2005-09-26 11:14:34 +00:00
Thomas Bluemel
a4c2dbda2c fixed uninitialized variable warning
svn path=/trunk/; revision=18085
2005-09-26 11:11:48 +00:00
Thomas Bluemel
c251a38210 don't copy the buffer to a random pointer in IntWriteConsoleOutput()
svn path=/trunk/; revision=18084
2005-09-26 11:10:27 +00:00
Gé van Geldorp
fe931cdfe1 Silence some debug messages
svn path=/trunk/; revision=18083
2005-09-26 08:21:38 +00:00
Alex Ionescu
ad6d758184 - Fix a bug in CSR Capture APIs
- Fix bugs in kernel32 console APIs.
- These changes fix vim and fix bug 796 as I promised.

svn path=/trunk/; revision=18082
2005-09-26 07:43:55 +00:00
Alex Ionescu
4293263024 - Put executive atom functions in the executive folder, not rtl.
- Move purecall to the executive error APIs.

svn path=/trunk/; revision=18081
2005-09-26 05:41:35 +00:00
Alex Ionescu
6279a4838f - Remove some deprecated files.
svn path=/trunk/; revision=18080
2005-09-26 05:03:28 +00:00
Alex Ionescu
a62966103d Forgot to svn add these two files.
svn path=/trunk/; revision=18079
2005-09-26 05:01:14 +00:00
Alex Ionescu
c15e04cf7a - More sharing between ntdll/ntoskrnl: shared Dbg code.
- Added NtCreateDebugObject, NtDebugContinue, NtQueryDebugFilterState, NtSetDebugFilterState, NtWaitForDebugEvent to system call list.
- Added some debug constants to headers
- Updated RtlpCheckForActiveDebugger in ntoskrnl to return whatever we're expecting as the "normal" case.
- Added RtlpSetInDbgPrint to rtl support library for special DbgPrint implementation difference in user-mode
- Removed all the deprecated debug APIs in ntdll.
- Implemented NtQueryDebugFilterState and NtSetDebugFilterState based on royce's implementation.
- Started modifications on KeDebugService, and implemented DebugService in rtl
- Implemented all the Dbg* APIs in RTL.
- Implemented DbgUiConnectToDbg, DbgUiContinue, DbgUiWaitStateChange, DbgUiRemoteBreakin, DbgUiIssueRemoteBreakin
- Changed KD Print callbacks to also receive the length of the string.

Right now, one call that should be shared still isn't (the final DebugPrint call) because calling KeDebugService from kernel-mode seems to cause a hang. Also, DebugService does not currently cause an exception like it should (instead it still calls the Kdp handler), because those changes would've made the patch even bigger and are still untested.


svn path=/trunk/; revision=18078
2005-09-26 04:59:48 +00:00
Nathan Woods
ad2331b8dc 1. More merging from WINE regedit; imported refresh feature (which is wayyy slower than Windows regedit; need to optimize this)
2.  Using GetVersion() to determine whether to add HKEY_DYN_DATA


svn path=/trunk/; revision=18077
2005-09-26 03:18:53 +00:00
Magnus Olsen
2a43a20f74 remove dead code
svn path=/trunk/; revision=18076
2005-09-25 22:16:05 +00:00
Magnus Olsen
157b81edbd don't expect FS drivers to return STATUS_NOT_IMPLEMENTED if they don't know how to do the move (STATUS_NOT_SUPPORTED is also a perfect valid error code), this change did hpoussin suggest
svn path=/trunk/; revision=18075
2005-09-25 22:05:39 +00:00
Hervé Poussineau
aa2f14ed56 Implement SetupDiInstallDriverFiles
svn path=/trunk/; revision=18074
2005-09-25 21:18:27 +00:00
Magnus Olsen
a204d1a5de Implement support for move folder, even from different vol. But for now it does not think of EA or set file attrib right. it is a present to brandon so he stop nag about ros can not move a folder. It maybe got some other bugs. it need more testing see if it handling all case right.
svn path=/trunk/; revision=18073
2005-09-25 21:05:18 +00:00
Eric Kohl
c4035780df - Implement CM_Is_Dock_Station_Present[_Ex]
svn path=/trunk/; revision=18072
2005-09-25 21:02:43 +00:00
Hervé Poussineau
6cc1784d0b USB root hub is not really a child of the USB Controller, so don't give it a device identifier
svn path=/trunk/; revision=18071
2005-09-25 20:56:58 +00:00
Filip Navara
7df1c3d13b Revert r18064 and correctly set the cell size for hash cells.
svn path=/trunk/; revision=18070
2005-09-25 20:54:40 +00:00
Ged Murphy
800ecc9875 Simple implementation of the MS comp utility (remembered to add the files this time :) )
svn path=/trunk/; revision=18069
2005-09-25 20:46:28 +00:00
Ged Murphy
95be977b35 Simple implementation of the MS comp utility
svn path=/trunk/; revision=18068
2005-09-25 20:39:55 +00:00
Emanuele Aliberti
00dca92674 cmdutils: a program a directory (bootcd,livecd,...)
svn path=/trunk/; revision=18067
2005-09-25 19:40:48 +00:00
Emanuele Aliberti
4ebb8ab037 cmdutils: a program a directory.
svn path=/trunk/; revision=18066
2005-09-25 19:38:46 +00:00
Alex Ionescu
500c1e7db2 - Fix mixed tab/space formatting issues.
svn path=/trunk/; revision=18065
2005-09-25 18:17:27 +00:00
Filip Navara
b14657cd56 Correctly interpret the cell type in CmiDestroyCell. Patch by brbak <mpd000@yahoo.de>.
svn path=/trunk/; revision=18064
2005-09-25 18:07:36 +00:00
Martin Fuchs
8b950fec34 refeactor all IUnknown implementations using IComSrvBase
svn path=/trunk/; revision=18063
2005-09-25 17:59:20 +00:00
Thomas Bluemel
029ccdccaa fixed gcc4 warnings
svn path=/trunk/; revision=18062
2005-09-25 17:52:12 +00:00
Thomas Bluemel
2148ae3457 - fixed uninitialized variable warning
- ProbeAndCaptureUnicodeString should check if allocating memory succeeded

svn path=/trunk/; revision=18061
2005-09-25 17:49:14 +00:00
Hartmut Birr
18494d1af0 - Don't convert the device name, if the name is a NULL pointer (in QueryDosDeviceA).
- Convert the string in several steps, because the string may be longer than 32k characters (in QueryDosDeviceA).

svn path=/trunk/; revision=18060
2005-09-25 17:25:55 +00:00
Thomas Bluemel
36b54a2e7c fixed uninitialized variable warnings
svn path=/trunk/; revision=18059
2005-09-25 17:21:45 +00:00
Thomas Bluemel
b078f93c83 fixed uninitialized variable warning
svn path=/trunk/; revision=18058
2005-09-25 17:16:03 +00:00
Ged Murphy
b1c57949ff added more functionality to arp
- display correct interface index
- delete all hosts with -d *
- display informative error messages
- better argument control
- clean up formatting

svn path=/trunk/; revision=18057
2005-09-25 17:01:24 +00:00
Nathan Woods
4f9b4be8fb Lightweight sync with WINE regedit; imported obvious changes such as const correctness, TCHAR string usage etc
svn path=/trunk/; revision=18056
2005-09-25 16:56:52 +00:00
Martin Fuchs
b59af67517 try to use IShellFolderViewCB::MessageSFVCB() in order to override explorer context menus
svn path=/trunk/; revision=18055
2005-09-25 15:59:38 +00:00
Emanuele Aliberti
edd28d722f Minor changes. This program does NOT work in ROS.
svn path=/trunk/; revision=18054
2005-09-25 13:58:27 +00:00
Emanuele Aliberti
fa1f0c6f02 Fix compiling.
svn path=/trunk/; revision=18053
2005-09-25 13:56:45 +00:00
Magnus Olsen
b1da886453 Remove Es.rc from timedate for it is 100% empty. Thx tsk
svn path=/trunk/; revision=18052
2005-09-25 13:54:19 +00:00
Emanuele Aliberti
887b19bebf svn: eol-style + keywords
svn path=/trunk/; revision=18051
2005-09-25 13:43:33 +00:00
Emanuele Aliberti
294b660b25 Required for binary compatibility with MS KERNEL32.DLL.
NOTE
Filip and I still don't understand why KERNEL32 calls twice CsrConnectToServer.
A possible explanation is because the Win32 server is a dual server: gui+console.
This differs with our current implementation in the SM: we accept only console registration requests (see SmpHandleConnectionRequest).

svn path=/trunk/; revision=18050
2005-09-25 13:36:27 +00:00
Hartmut Birr
6ace27feae Let the compiler search for usable register.
svn path=/trunk/; revision=18049
2005-09-25 12:39:32 +00:00
Filip Navara
66e998c053 Use the correct size variables in co_IntCreateWindowEx.
svn path=/trunk/; revision=18048
2005-09-25 12:30:51 +00:00
Martin Fuchs
67429beef5 new tool bar icons for the drive bar
svn path=/trunk/; revision=18047
2005-09-25 11:52:42 +00:00
Filip Navara
8e767a38a4 - Intersect the paint rectangle in NtUserBeginPaint with the client window rectangle.
- Fix the data returned by co_UserGetUpdateRgn and NtUserGetUpdateRect.

svn path=/trunk/; revision=18046
2005-09-25 11:16:54 +00:00
Filip Navara
fa45440822 Patricio Martínez Ros <silencium@wanadoo.es>
Update spanish translation.

svn path=/trunk/; revision=18045
2005-09-25 11:05:00 +00:00
Filip Navara
3c06143dc5 Patricio Martínez Ros <silencium@wanadoo.es>
Update spanish translation.

svn path=/trunk/; revision=18044
2005-09-25 10:52:51 +00:00
Filip Navara
cee1aa7a0d Add TestAlert check to NtContinue.
svn path=/trunk/; revision=18043
2005-09-25 09:23:05 +00:00
Filip Navara
ceb0f5f1eb Fix up the indentation.
svn path=/trunk/; revision=18042
2005-09-25 09:22:22 +00:00
Andrew Munger
2f370af826 Fix getInterfaceInfoSet so GetInterfaceInfo returns only non-loopback adapters, however, we still return some incorrect info.
Silenced a DPRINT.

svn path=/trunk/; revision=18041
2005-09-25 04:55:16 +00:00
Nathan Woods
6e7b2b5af4 1. Moved windows styles pertaining to the edit control to main.h
2.  Stopped using WS_BORDER on the edit control


svn path=/trunk/; revision=18040
2005-09-25 00:35:13 +00:00
Nathan Woods
fd73ac02d7 Fixed property svn:eol-style
svn path=/trunk/; revision=18039
2005-09-25 00:12:12 +00:00
Gé van Geldorp
e8bb7ed8ff Fix GDB backtrace
svn path=/trunk/; revision=18038
2005-09-25 00:00:03 +00:00
Nathan Woods
3c14414c1d Notepad enhancements:
1.  Added line ending handling, so that Notepad can handle line endings other than CR/LF.  This is specified in a dropdown menu similar to the text encoding.  Consequently, I've moved text handling to a new file, text.c

2.  Implemented the Find command

3.  Changed some dialog titles to be 'Notepad' instead of 'ERROR', in line with how Windows notepad works.

4.  The edit control now has the style ES_NOHIDESEL specified


svn path=/trunk/; revision=18037
2005-09-24 23:45:05 +00:00
Thomas Bluemel
5f28a5ed9f removed obsolete goto statement
svn path=/trunk/; revision=18036
2005-09-24 20:37:53 +00:00
Hartmut Birr
1effd8ff68 Allow the system process and a process without a parent process to use all cpus on a smp machine, even if only the boot cpu is running.
svn path=/trunk/; revision=18035
2005-09-24 19:34:54 +00:00
Gé van Geldorp
7ee5d3ea71 This NtGdiCreateCompatableDC misspelling has annoyed me long enough now
svn path=/trunk/; revision=18034
2005-09-24 19:30:12 +00:00
Hartmut Birr
58cb9dc1d9 Set the MaximumLength of the returned string in IntGetFullWindowStationName.
svn path=/trunk/; revision=18033
2005-09-24 19:17:00 +00:00
Hartmut Birr
13355b8eff Do also alert the mouse thread in UserAcquireOrReleaseInputOwnership.
svn path=/trunk/; revision=18032
2005-09-24 19:15:24 +00:00
Hartmut Birr
33ad8f2571 - Moved the definition of REG_NOTIFY_CLASS from cm.h to winddk.h.
- Release the rundown protection if the callback function returns an error (in CmiCallRegisteredCallbacks).  
- Call the registry callback functions in most of the Nt/ZW registry functions.

svn path=/trunk/; revision=18031
2005-09-24 18:42:37 +00:00
Hartmut Birr
262c303ffb - Use the given buffer for getting the name of the parent.
- Check the length of the buffer.  
- Intialise the name string if it is necessary.

svn path=/trunk/; revision=18030
2005-09-24 18:28:04 +00:00
Hartmut Birr
2914b8925b Used NtQueryFullAttributesFile instead of NtOpenFile/NtQueryInformationFile/NtClose in GetFileAttributesExW (suggested by Thomas Weidenmueller).
svn path=/trunk/; revision=18029
2005-09-24 18:09:06 +00:00
Hartmut Birr
e6a04cca76 Merged the main code from NtQueryAttributesFile and NtQueryFullAttributesFile to IopQueryAttributesFile.
Check the access to parameters in IopQueryAttributesFile if we are called from user mode because calling Zw functions from kernel mode will bypass all checks.

svn path=/trunk/; revision=18028
2005-09-24 18:04:13 +00:00
Filip Navara
ffb2fee46a Port the system message queue WM_MOUSEDOWN coalesce fix from win32k rewrite branch.
svn path=/trunk/; revision=18027
2005-09-24 17:34:09 +00:00
Thomas Bluemel
5f8c990b41 implemented RegCopyTreeW() (untested!)
svn path=/trunk/; revision=18026
2005-09-24 17:08:13 +00:00
Hervé Poussineau
5681e54736 If device instance id is not unique, prepend information from parent bus device
svn path=/trunk/; revision=18025
2005-09-24 13:19:25 +00:00
Gunnar Dalsnes
bd79c96a7d uncomment and add mutex asserts
svn path=/trunk/; revision=18024
2005-09-24 11:43:23 +00:00
Eric Kohl
f9725315fe - Implement CM_Get_Device_List_Size_ExW
svn path=/trunk/; revision=18023
2005-09-24 09:30:43 +00:00
Gunnar Dalsnes
5fa3cc8c0f -include/ndk/rtltypes.h: add MAX_ATOM_LEN define
-win32k: remove some NtUser syscalls and merge some NtUser syscalls
-crt/include/internal/file.h: correct spelling
-RtlAddAtomToAtomTable: check for max atom len
-RtlQueryAtomInAtomTable: fix bug. somehow lock wasnt always released.
-fix/reword windows classes impl. based on Wine. All but 2 winetests pass.
-ntoskrnl/rtl/atom.c: add fixme about global atom table
-remove desktop object lock
-dont link windows into the class object
-co_IntShellHookNotify: safely send notify messages
-misc win32k reorg/cleanup

svn path=/trunk/; revision=18022
2005-09-24 02:50:02 +00:00
Ged Murphy
ff4f5a654b First commit, mainly testing.
Cleanup code to follow ROS' coding style better
Remove tabs and trailing whitespace.

svn path=/trunk/; revision=18021
2005-09-23 21:46:54 +00:00
Gé van Geldorp
ce7453f9ed Fix RtlQueryAtomInAtomTable and add regression tests
svn path=/trunk/; revision=18020
2005-09-23 21:08:57 +00:00
Thomas Bluemel
128c57f209 imported shfolder.dll from WINE-20050830
svn path=/trunk/; revision=18019
2005-09-23 19:24:20 +00:00
Alex Ionescu
ea0f14b310 fix identation bug in 18016
svn path=/trunk/; revision=18018
2005-09-23 18:15:39 +00:00
Alex Ionescu
081b39d0ef Fix signalstate check in KGATE code; spotted by magey.
svn path=/trunk/; revision=18017
2005-09-23 16:31:06 +00:00
Alex Ionescu
c6d8b12b89 - Call IsDialogMessage before TranslateAccelerators, so that the accelerator's output, if any, appears in the proper window. Patch by Bletch <npwoods@mess.org>. Fixes bug 803.
svn path=/trunk/; revision=18016
2005-09-23 15:46:10 +00:00
Alex Ionescu
2be4bec4f1 - Return focus to run dialog after showing the file not found messagebox. Patch by brbak <mpd000@yahoo.de>
svn path=/trunk/; revision=18015
2005-09-23 15:42:40 +00:00
Thomas Bluemel
ff1322e0a3 use RegGetKeySecurity() directly to read the security information
svn path=/trunk/; revision=18014
2005-09-23 15:31:42 +00:00
Thomas Bluemel
0243833fef don't read the DACL if it's not present or if it's a NULL-DACL
svn path=/trunk/; revision=18013
2005-09-23 15:31:04 +00:00
Thomas Bluemel
7542d31c35 - fixed buffer size calculation in RtlLengthRequiredSid and RtlLengthSid
- use RtlCreateUnicodeString to allocate the string in RtlConvertSidToUnicodeString

svn path=/trunk/; revision=18012
2005-09-23 14:15:30 +00:00
Thomas Bluemel
528323ece7 minor optimization of RtlCreateUnicodeString: as the memory never overlaps, just copy the memory instead of moving it
svn path=/trunk/; revision=18011
2005-09-23 14:13:44 +00:00
Thomas Bluemel
4b69f7ad42 fixed signedness warning
svn path=/trunk/; revision=18010
2005-09-23 11:12:18 +00:00
Gé van Geldorp
5cf68f2c19 Remove dead file
svn path=/trunk/; revision=18009
2005-09-23 09:51:18 +00:00
Gé van Geldorp
7a74eefb29 Make GDB available for release builds
svn path=/trunk/; revision=18008
2005-09-23 09:23:14 +00:00
Gé van Geldorp
d735771108 Don't use uninitialized var
svn path=/trunk/; revision=18007
2005-09-23 09:17:38 +00:00
Hervé Poussineau
b7a7ffcfcd Report correctly USB device class and subclass when the device reports only one interface and the class is not defined in the device descriptor
svn path=/trunk/; revision=18006
2005-09-23 09:02:16 +00:00
Hervé Poussineau
0c7bb23c18 Cast the right pointer to the structure.
Fix bug 783. Thanks GvG.

svn path=/trunk/; revision=18005
2005-09-23 08:55:33 +00:00
Steven Edwards
9c356c1031 doing my good dead for the day
svn path=/trunk/; revision=18004
2005-09-23 07:32:21 +00:00
Alex Ionescu
33bce1ad24 Forgot these changes, sorry
svn path=/trunk/; revision=18003
2005-09-23 07:19:47 +00:00
Alex Ionescu
c6a32a07bd - Fix a bunch of various bugs in the Rtl String routines, mostly subtle (ie: fail AFTER writing maximum length, not before (some apps might depend on it), fix completely broken RtlAnsiCharToUnicodeChar prototype and functionality, don't clear buffers when we shouldn't/clear buffers when we should...)
- Also cleanup formatting of the file
- Use Index member from Rtl...To...N API when null-terminating the strings.
- Various optimizations and simplifications in some of the loops.
- Remove some duplicated code.
- Notes about special handling where required, also implement it in some parts.
- Add more failure cases.
- Return correct status codes on failures.

svn path=/trunk/; revision=18002
2005-09-23 06:37:14 +00:00
Alex Ionescu
d1d61051c9 Make TAB+ debug combos work again. Based on bugfix by Andrew Munger.
svn path=/trunk/; revision=18001
2005-09-23 06:32:47 +00:00
Alex Ionescu
43fc149042 Fix exception handling/PSEH. Fixes bug 797.
svn path=/trunk/; revision=18000
2005-09-23 06:25:38 +00:00
Steven Edwards
3d31bdc1fc Stefan Huehner <stefan@huehner.org>
Fix more -Wstrict-prototypes warnings.

svn path=/trunk/; revision=17999
2005-09-23 06:06:20 +00:00
Steven Edwards
4db49a2b8f Dmitry Timoshkov <dmitry@codeweavers.com> Fix the usage of COLOR_xxx constants in the place of the window's class hbrBackground.
svn path=/trunk/; revision=17998
2005-09-23 06:04:44 +00:00
Steven Edwards
b3725418f0 Kevin Koltzau <kevin@plop.org> Enable/disable menu items based on edit control state.
svn path=/trunk/; revision=17997
2005-09-23 06:02:23 +00:00
Steven Edwards
94cc96262b Kevin Koltzau <kevin@plop.org> Handle notepad log feature.
svn path=/trunk/; revision=17996
2005-09-23 05:58:27 +00:00
Steven Edwards
05a74dc2dd Lauri Tulmin <lauri_@ut.ee> implement word wrap
svn path=/trunk/; revision=17995
2005-09-23 05:54:46 +00:00
Andrew Munger
1e482c105d Properly return status in iphplapi, and don't close the file handle before we use it in getNumInterfacesInt.
svn path=/trunk/; revision=17994
2005-09-23 03:50:03 +00:00
Thomas Bluemel
b64b3f38a0 mark ZwDuplicateToken as NTSYSAPI. thx to alex
svn path=/trunk/; revision=17993
2005-09-23 00:05:38 +00:00
Thomas Bluemel
c7781723f8 some Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they're shared there's a chance they could be used
svn path=/trunk/; revision=17992
2005-09-22 23:50:38 +00:00
Thomas Bluemel
da28a303cc some Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they're shared there's a chance they could be used
svn path=/trunk/; revision=17991
2005-09-22 23:46:20 +00:00
Thomas Bluemel
775f129dc9 some Nt vs. Zw fixes
svn path=/trunk/; revision=17990
2005-09-22 23:23:00 +00:00
Thomas Bluemel
6ec323ac74 fixed gcc4 warning
svn path=/trunk/; revision=17989
2005-09-22 21:09:06 +00:00
Gé van Geldorp
d776d5b356 Bletch <npwoods@mess.org>:
- Implements key and value renaming
- Implements key deleting
- Implements New Key/String/Binary/DWORD option

svn path=/trunk/; revision=17988
2005-09-22 20:54:20 +00:00
Thomas Bluemel
c70c695868 fixed uninitialized variable warning
svn path=/trunk/; revision=17987
2005-09-22 20:44:10 +00:00
Filip Navara
5aab768c19 Handle some failure cases in better way.
svn path=/trunk/; revision=17986
2005-09-22 20:36:07 +00:00
Gé van Geldorp
cb0c6e6a48 Return atom length when requested. Fixes bug 793.
svn path=/trunk/; revision=17985
2005-09-22 20:24:50 +00:00
Filip Navara
e6e62c37b3 InfoTdiQueryInformationEx should return failure if no entity was found.
svn path=/trunk/; revision=17984
2005-09-22 20:17:55 +00:00
Thomas Bluemel
c87bac8d51 minor string initialization optimizations
svn path=/trunk/; revision=17983
2005-09-22 19:46:36 +00:00
Thomas Bluemel
ceb2e22d5f add selected principals to the list (doesn't modify the ACLs yet!)
svn path=/trunk/; revision=17982
2005-09-22 14:30:29 +00:00
Hervé Poussineau
4a4df71398 Fix IRP_MJ_PNP / IRP_MN_QUERY_ID / BusQueryHardwareIDs for root USB hubs.
The vendor and device IDs are not filled in Cromwell code, so ask directly the PCI device to retrieve the information

svn path=/trunk/; revision=17981
2005-09-22 11:20:52 +00:00
Hervé Poussineau
752fed43fb Fix IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_TEXT / DeviceTextLocationInformation for USB devices
I was mis-using usb_get_string() method...

svn path=/trunk/; revision=17980
2005-09-22 09:17:17 +00:00
Gé van Geldorp
81441a8931 Slicencium <silencium@wanadoo.es>:
Fix precision bug (bug 775)

svn path=/trunk/; revision=17979
2005-09-22 07:24:08 +00:00
Thomas Bluemel
b06b7fb73a fixed some handle leaks in RegDeleteTree() in some failure cases
svn path=/trunk/; revision=17978
2005-09-21 23:56:52 +00:00
Gé van Geldorp
87dda98431 brbak <mpd000@yahoo.de>:
Reset on new calculation. Patch from bug 775.

svn path=/trunk/; revision=17977
2005-09-21 22:55:37 +00:00
Gé van Geldorp
c284fca775 brbak <mpd000@yahoo.de>:
fixes repositioning of text (from bug 749)

svn path=/trunk/; revision=17976
2005-09-21 22:48:52 +00:00
Hartmut Birr
080f8f4a31 - Do only create a registry entry for partitions if the signature of the disk is non zero.
- Do only mount partitions from a registry key if the signature is non zero.  
- Do delete all registry keys for non existing partitions.

svn path=/trunk/; revision=17975
2005-09-21 22:16:17 +00:00
Martin Fuchs
14d1c2cc63 - use size_t for buffer/string lengths instead of int
- define COUNTOF if not defined already

svn path=/trunk/; revision=17974
2005-09-21 21:54:52 +00:00
Martin Fuchs
d4358bfc5e - Bugfix for UTF-8 strings
- insert more XS_vsnprintf() calls
- additional comments
- struct XMLWriter

svn path=/trunk/; revision=17973
2005-09-21 21:44:39 +00:00
Thomas Bluemel
a8f183303f fixed some mismatching prototypes, sorry for breaking the build
svn path=/trunk/; revision=17972
2005-09-21 18:24:16 +00:00
Thomas Bluemel
7fd1af5d12 some arc names might be longer than 100 characters, increase the buffer size to 255 characters for now to fix a buffer overflow during startup
svn path=/trunk/; revision=17971
2005-09-21 17:57:07 +00:00
Thomas Bluemel
2e7c6d22ad fixed differences in signedness warnings
svn path=/trunk/; revision=17970
2005-09-21 17:37:08 +00:00
Thomas Bluemel
6f8faaa0d5 add missing function declarations
svn path=/trunk/; revision=17969
2005-09-21 17:28:14 +00:00
Thomas Bluemel
30da66ac75 pass the buffer size to GetEnvironmentVariable() in characters, not bytes!
svn path=/trunk/; revision=17968
2005-09-21 17:23:27 +00:00
Thomas Bluemel
78e6f0fce1 fixed some warnings
svn path=/trunk/; revision=17967
2005-09-21 17:22:45 +00:00
Richard Campbell
1e7a778c81 -small test commit
svn path=/trunk/; revision=17966
2005-09-21 17:09:33 +00:00
Thomas Bluemel
71a3db7178 fixed differences in signedness warnings
svn path=/trunk/; revision=17965
2005-09-21 15:32:53 +00:00
Filip Navara
8eece91bda Indentation fix.
svn path=/trunk/; revision=17964
2005-09-21 14:01:49 +00:00
Filip Navara
eca43c5532 Incomplete support for WS_EX_TRANSPARENT, should fix Task Manager painting bugs.
svn path=/trunk/; revision=17963
2005-09-21 13:49:09 +00:00
Steven Edwards
32e72ac4f3 Nathan Woods <npwoods _NOSPAM_at_NOSPAM cybercom.net> - Implement a working VS.NET backend, minor fixes to the vc6 backend
svn path=/trunk/; revision=17962
2005-09-21 03:20:07 +00:00
Royce Mitchell III
de51245b10 remove extraneous \n's
svn path=/trunk/; revision=17961
2005-09-21 02:04:07 +00:00
Royce Mitchell III
5c0d0a5c3d give set/a access to "special" variables like errorlevel
svn path=/trunk/; revision=17960
2005-09-21 01:44:18 +00:00
Royce Mitchell III
d25cb331be msvc6 warning fix
svn path=/trunk/; revision=17959
2005-09-21 01:27:54 +00:00
Royce Mitchell III
48bf871025 always strip '^' (unless it was preceded by an '^' itself), not just if it precedes the redirection symbols - fixes some of my test cases in seta_test.cmd
svn path=/trunk/; revision=17958
2005-09-21 01:27:22 +00:00
Royce Mitchell III
d6475d7b86 fix debug output
remove my '!' code - don't know how I thought this was valid
restore part of code I removed previously that was breaking 'not' cases that need to execute and the right half of the == was longer than then left

svn path=/trunk/; revision=17957
2005-09-21 01:25:58 +00:00
Royce Mitchell III
7e3c246bc2 a few more tests to clarify parsing oddities based on my playing around
svn path=/trunk/; revision=17956
2005-09-21 01:23:44 +00:00
Royce Mitchell III
1b64b915a7 %1 %2 etc still work with set/a ( just not %foo% )
svn path=/trunk/; revision=17955
2005-09-21 01:22:56 +00:00
Royce Mitchell III
83471cc423 fix misunderstandings of if syntax
svn path=/trunk/; revision=17954
2005-09-20 20:43:15 +00:00
Royce Mitchell III
7b93cd135c fix escape removal
svn path=/trunk/; revision=17953
2005-09-20 20:32:48 +00:00
Royce Mitchell III
39fd46a7b3 remove now-pointless if statement
add a little more debug output

svn path=/trunk/; revision=17952
2005-09-20 20:13:16 +00:00
Martin Fuchs
d91a17bcbc - fix build for MinGW and VC++ environments
- fix Manifest descriptions
- ignore some immediate files

svn path=/trunk/; revision=17951
2005-09-20 19:51:27 +00:00
Royce Mitchell III
819d52f0da unrevert change - this change is correct and works in windows
svn path=/trunk/; revision=17950
2005-09-20 19:27:08 +00:00
Magnus Olsen
86b46b4572 Revert royce3 change from 17948 to 16488 it break choice in bat files, in some case.
svn path=/trunk/; revision=17949
2005-09-20 18:11:55 +00:00
Royce Mitchell III
4ec7b01faf cmd's documentation says that env variables override the "built-ins" like %errorlevel% and such.
also fixed a couple msvc6 warnings and added a little documentation to the set/a code

svn path=/trunk/; revision=17948
2005-09-20 16:38:02 +00:00
Filip Navara
dff3a0dd3a Restore the pre-r17946 UserGetAncestor behaviour and fix the code calling it.
svn path=/trunk/; revision=17947
2005-09-20 10:45:27 +00:00
Filip Navara
27f30a175b - SetParent shouldn't destroy menus.
- UserGetAncestor(Window, GA_ROOT) really shouldn't return NULL, in any case.

svn path=/trunk/; revision=17946
2005-09-20 10:31:57 +00:00
Filip Navara
0bec9aee61 Don't return NULL regions from DceGetVisRgn.
svn path=/trunk/; revision=17945
2005-09-20 10:29:05 +00:00
Filip Navara
1dc1b56c2f Fix parameter validation in WM_GETTEXT and GetWindowText.
svn path=/trunk/; revision=17944
2005-09-20 09:31:13 +00:00
Filip Navara
7936d2bbcf Support GCW_ATOM in GetClassLong.
svn path=/trunk/; revision=17943
2005-09-20 09:28:49 +00:00
Filip Navara
86ae753de1 Fix the order of window style setting.
svn path=/trunk/; revision=17942
2005-09-20 09:28:18 +00:00
Gé van Geldorp
ac73d1e005 Set eol-style
svn path=/trunk/; revision=17941
2005-09-20 08:00:00 +00:00
Gé van Geldorp
7ec5b38020 Saveliy Tretiakov <saveliyt@mail.ru>:
EventLog changes
- Implement basic file operations (WindowsNT compatible file format)
- Write events from lpc port to System Log
  (to read these events, open \ReactOS\system32\config\SysEvent.evt in Windows
  EventViewer)  
- RPC server (stubs)

svn path=/trunk/; revision=17940
2005-09-20 07:58:28 +00:00
Gé van Geldorp
8528b9b411 Bletch <npwoods@mess.org>:
.lnk files (and other files with hidden file extension) got one character
truncated off the resulting filename.

svn path=/trunk/; revision=17939
2005-09-20 07:37:45 +00:00
Royce Mitchell III
bf84d47c16 hack fix to pass % to set/a unmolested
svn path=/trunk/; revision=17938
2005-09-19 23:00:25 +00:00
Royce Mitchell III
2d9a0aaa6c reformat code
svn path=/trunk/; revision=17937
2005-09-19 22:00:01 +00:00
Gé van Geldorp
f5ffc6c672 - Add ctrl support to (most) keyboard layouts. Only tested for kbdus, added
to a few other I was confident about. Still to do: kbddv, kbdgr, kbdru, kbdsg
- Prevent access outside array in TryToTranslateChar
- Revert r17830, it handles ctrl keys at the wrong location
This fixes bug 763.

svn path=/trunk/; revision=17936
2005-09-19 21:11:41 +00:00
Hartmut Birr
047952c5a1 - Read more information from the registry about the disks detected by the bios.
- Fixed the detection of disks with a signature of zero (in AddDiskToList).  
- Update always the partition table if the modified flag is set.  
- Create an unique disk signature.  
- Declared some registry query structures in cmtype.h.


svn path=/trunk/; revision=17935
2005-09-19 20:01:29 +00:00
Filip Navara
1ddb0f87a0 Remove accidently commited debug code.
svn path=/trunk/; revision=17934
2005-09-19 15:16:00 +00:00
Filip Navara
fe51307bd2 Fix the taskbar button resizing to account for button spacing.
svn path=/trunk/; revision=17933
2005-09-19 15:15:22 +00:00
Filip Navara
e402efe2c3 - Fix region deleting and ownership for DCEs.
- Fix uninitialized hDC variable in painting code :)

svn path=/trunk/; revision=17932
2005-09-19 12:21:52 +00:00
Filip Navara
1d878e0ba5 Partial clean-up of the painting functions:
- Get rid of the DCX_WINDOWPAINT flag (it wasn't used anyway).
- Remove the PaintPosted field from message queue, we don't need it.
- Use screen cooridnates for the WindowUpdate region instead of window relative ones.
- Fix the algorithm for retrieving paint messages to respect the painting order.
- Remove the NCUpdateRegion field from window object and calculate it on demand.
- Fix GetDCEx to take region in screen coordinates.

svn path=/trunk/; revision=17931
2005-09-19 10:39:26 +00:00
Hervé Poussineau
0558c3abc5 Implement IRP_MN_QUERY_CAPABILITIES, IRP_MN_QUERY_RESOURCES, IRP_MN_QUERY_RESOURCE_REQUIREMENTS, IRP_MN_QUERY_DEVICE_TEXT for USB devices
Fix DeviceID and HardwareIDs identifiers returned for root hub (Vendor and Product IDs are still not initialized by Cromwell code)
Fix handling of removal IRPs for USB controller

svn path=/trunk/; revision=17930
2005-09-19 10:04:07 +00:00
Hervé Poussineau
243b1fc88f Automagically select computer type (UP/MP) during first stage setup
svn path=/trunk/; revision=17929
2005-09-19 08:11:43 +00:00
Filip Navara
f1ee99f91a - Move the window showing/hiding notifications from co_WinPosShowWindow to co_WinPosSetWindowPos and fix up the top-level checks.
- Call the redraw routine on parent window if possible in co_WinPosSetWindowPos. Should fix bug #735.

svn path=/trunk/; revision=17928
2005-09-19 07:35:31 +00:00
Royce Mitchell III
07070d0d52 fix if command to work more like expected. seta_test.cmd gets much further now.
fixed some msvc6 warnings while I was in here

svn path=/trunk/; revision=17927
2005-09-19 05:42:01 +00:00
Royce Mitchell III
636cb4e66c fixed mistakes, extra tests illustrating problems with if command
svn path=/trunk/; revision=17926
2005-09-19 05:29:17 +00:00
Royce Mitchell III
1e9a958e20 move hard-coded strings to En.rc before GreatLord shoots me
svn path=/trunk/; revision=17925
2005-09-19 01:14:36 +00:00
Gunnar Dalsnes
acd5c47c18 -set last error (invalid handle) in cases where handle is NULL also
-remove GvG's workaround

svn path=/trunk/; revision=17924
2005-09-19 00:02:39 +00:00
Gunnar Dalsnes
5eaa4fda83 -added better LIST_FOR_EACH macros (ripped from wine) and fix their usage
-make hotkeys session global (they dont belong in winsta)

svn path=/trunk/; revision=17923
2005-09-18 23:06:15 +00:00
Gé van Geldorp
17fba5a631 Set correct error code, IsWindow() depends on this
svn path=/trunk/; revision=17922
2005-09-18 21:48:56 +00:00
Royce Mitchell III
4837e8bf71 regression test for set /a - fails at the moment because 'if' is bork3d
svn path=/trunk/; revision=17921
2005-09-18 18:59:59 +00:00
Royce Mitchell III
0f792e01d4 fixes for UNICODE compilation
svn path=/trunk/; revision=17920
2005-09-18 18:58:11 +00:00
Alex Ionescu
ae1732c6b0 Make LogoffWindowsDialog exit the caller (ie: explorer) so that previous shutdown functionality is restored
svn path=/trunk/; revision=17919
2005-09-18 18:49:30 +00:00
Alex Ionescu
523371b73d Fix shell32 spec file to properly export LogoffWindowsDialog as the proper ordinal (54) so that explorer won't crash on shutdown when calling it. Implement the LogoffWindowsDialog stub.
svn path=/trunk/; revision=17918
2005-09-18 18:46:15 +00:00
Royce Mitchell III
891e470c6d fix escaping
svn path=/trunk/; revision=17917
2005-09-18 18:37:08 +00:00
Royce Mitchell III
9cd240b08f (hopefully) last bugfix to set /a - assignment works again
svn path=/trunk/; revision=17916
2005-09-18 17:52:28 +00:00
Royce Mitchell III
f28d0d895f fixed bugs in shifting (<<, >>, <<=, >>=)
eliminated some code duplication while I was in there.

svn path=/trunk/; revision=17915
2005-09-18 17:33:11 +00:00
Gunnar Dalsnes
098082f49d -remove meaningless use of winstas
-move syscalls to end of file

svn path=/trunk/; revision=17914
2005-09-18 16:56:33 +00:00
Hartmut Birr
45694d291d Revert my last changes.
svn path=/trunk/; revision=17913
2005-09-18 15:25:34 +00:00
Hartmut Birr
dbb79dd925 The share disposition isn't necessary for FILE_READ_ATTRIBUTES.
svn path=/trunk/; revision=17912
2005-09-18 13:46:37 +00:00
Magnus Olsen
ed7f5f3976 revert my change from r17909. Thx hbirr to fix the bug with 17910.
svn path=/trunk/; revision=17911
2005-09-18 13:36:29 +00:00
Hartmut Birr
0cfadced6f Don't check the share access for directories.
svn path=/trunk/; revision=17910
2005-09-18 13:10:43 +00:00
Magnus Olsen
065786c3b7 give GetFileAttributesExW more NtOpenFile right to prevent reactos crash if u using CreateFile then GetFileAttributesExW. It also fix a bug for me for livecd it booting on first try now in vmware. instead second or more booting try.
svn path=/trunk/; revision=17909
2005-09-18 12:05:57 +00:00
Magnus Olsen
fd30631edf Clean up patch from filip, with small change from me, for MoveFileWithProgressW.
svn path=/trunk/; revision=17908
2005-09-18 11:18:28 +00:00
Magnus Olsen
42acc38f81 Implement second part of move folder. Now we can move empty folder. we need add code for move folder with contain now.
svn path=/trunk/; revision=17907
2005-09-18 09:29:37 +00:00
Royce Mitchell III
989e287e31 1) strip ^ escapes from text before processing set command
2) recursive descent implementation of set /a - should fix bug 728
(In case anyone checks I realized there were some gaping holes in the implementation I posted to the ml, so this one is modified from it. This code could stand to benefit from a comprehensive feature/regression test.)

svn path=/trunk/; revision=17906
2005-09-18 03:52:34 +00:00
Alex Ionescu
3682544d27 Fix user-mode stack trace regression caused by my exception patch. Traces are now shown again
svn path=/trunk/; revision=17905
2005-09-18 03:26:52 +00:00
Gé van Geldorp
670b82330c _getch() doesn't echo the chars it retrieves and operates in raw mode.
svn path=/trunk/; revision=17904
2005-09-17 22:33:53 +00:00
Hartmut Birr
f8852fda40 Do not overwrite the disk signature, if we install the boot code into the mbr.
svn path=/trunk/; revision=17903
2005-09-17 22:00:35 +00:00
Gé van Geldorp
5f8481f284 Count each handle which has pending events only once, independent of the number
of pending events. Fixes bug 779.

svn path=/trunk/; revision=17902
2005-09-17 21:22:47 +00:00
Magnus Olsen
8e38aa25a1 Fix some part of MoveFileExW Bug, Can not move folder, but it still can not move folder. some bit more work.
svn path=/trunk/; revision=17901
2005-09-17 21:02:38 +00:00
Gé van Geldorp
90fedad977 Add back support for older binutils versions
svn path=/trunk/; revision=17900
2005-09-17 19:38:34 +00:00
Gé van Geldorp
f47052c1a7 Open handle to sfd.sys as asynchromous. This fixes bug 713.
svn path=/trunk/; revision=17899
2005-09-17 19:30:05 +00:00
Magnus Olsen
fdb70af10b Bug fix dir *. it only show folders
svn path=/trunk/; revision=17898
2005-09-17 18:56:16 +00:00
Eric Kohl
13fa268dc1 - String id 0 becomes a reserved (invalid) id.
- StringTableStringFromId returns a pointer to an empty string if the string id is invalid.
This fixes the stringtable tests.

svn path=/trunk/; revision=17897
2005-09-17 17:16:33 +00:00
Magnus Olsen
d5f2eeedd7 Update the swedish translation by Harteex.
svn path=/trunk/; revision=17896
2005-09-17 16:02:37 +00:00
Royce Mitchell III
39001fdc17 Fix "numberf" function to correctly handle 'g' format specifier. Debugged by Michael Fritscher <michael@fritscher.net>
(fixed a couple return values while I was in there)

svn path=/trunk/; revision=17895
2005-09-17 13:48:38 +00:00
Filip Navara
8895797332 Fix "numberf" function to correctly handle 'g' format specifier. Debugged by Michael Fritscher <michael@fritscher.net>.
svn path=/trunk/; revision=17894
2005-09-17 11:20:25 +00:00
Filip Navara
bd4bdb08c1 Patricio Martínez Ros <silencium@wanadoo.es>
Spanish translation.

svn path=/trunk/; revision=17893
2005-09-17 10:55:29 +00:00
Martin Fuchs
d0ad7f5452 add new winefile icon images in 48x48 and 16x16 resolutions
svn path=/trunk/; revision=17892
2005-09-17 10:54:46 +00:00
Martin Fuchs
f374903282 add comment
svn path=/trunk/; revision=17891
2005-09-17 10:52:43 +00:00
Gé van Geldorp
30f4eba8d2 Hopefully the last in a series of fixes for size of maximized windows
svn path=/trunk/; revision=17890
2005-09-16 21:15:58 +00:00
Gé van Geldorp
d7876f7981 Bletch <npwoods@mess.org>
Partially implemented the treeview right-click menu on Regedit. Just supporting
Expand and Collapse for now, and also started work on renaming keys.

svn path=/trunk/; revision=17889
2005-09-16 20:13:26 +00:00
Gé van Geldorp
a5556fb1e4 RegQueryValueExW retrieves Unicode strings but the size must be specified in
bytes. Fixes bug 770.

svn path=/trunk/; revision=17888
2005-09-16 19:47:44 +00:00
Gé van Geldorp
0f6d6950a2 Do some boundschecking on iOrder. Fixes bug 770.
svn path=/trunk/; revision=17887
2005-09-16 18:18:48 +00:00
Andrew Munger
7f46bf47f7 Fix release build of ntdll by adding __NO_CTYPE_INLINES to rtl.xml
svn path=/trunk/; revision=17886
2005-09-16 18:07:19 +00:00
Andrew Munger
e03998d67c Fix release build of dflat32, initalizing some vars and fixing one typo.
svn path=/trunk/; revision=17885
2005-09-16 18:00:49 +00:00
Gé van Geldorp
0dee5251b9 Fix "var might be used uninitialized" warning
svn path=/trunk/; revision=17884
2005-09-16 17:53:40 +00:00
Gé van Geldorp
17c7dd0144 Only access dwTypeData if the caller pronounced it valid.
svn path=/trunk/; revision=17883
2005-09-16 15:34:19 +00:00
Hartmut Birr
bae216e9d2 Free all messages in LpcpDeletePort.
svn path=/trunk/; revision=17882
2005-09-16 15:18:23 +00:00
Brandon Turner
873253a8e9 start even console apps in there own new window. caught by GvG.
svn path=/trunk/; revision=17881
2005-09-16 15:18:07 +00:00
Brandon Turner
dadab98225 fix a bug in 'if exsist', it was only reading to the first space for the file name, ignoring quotes and there fore searching for bad file names.
svn path=/trunk/; revision=17880
2005-09-16 15:00:22 +00:00
Hartmut Birr
0e07f15c6a Dereference the port object in PspExitThread.
svn path=/trunk/; revision=17879
2005-09-16 14:50:25 +00:00
Brandon Turner
50aaff9bd3 Set errorlevel to 0 when user enters 'no' on del confirmation. this is how MS does it.
svn path=/trunk/; revision=17878
2005-09-16 13:58:37 +00:00
Steven Edwards
2fe4d89ea8 added support for test on 2k,XP and 2k3. Check for a bug in our implementation and wrap it in a todo_wine block
svn path=/trunk/; revision=17877
2005-09-16 08:48:00 +00:00
Brandon Turner
ea5a3afa86 When searching for a file to execute, if you fail to find it using the first part of the input, try to use the full line input. problem is really only seen when doing "start foo.bat".
svn path=/trunk/; revision=17876
2005-09-16 05:51:20 +00:00
Brandon Turner
3d2d6eff0b "start" or "start cmd" now opens a new cmd.exe in its own process. this is how MS cmd does it.
svn path=/trunk/; revision=17875
2005-09-16 05:35:43 +00:00
Brandon Turner
00e96a6cb1 last time. fix a typo. im so sorry!
svn path=/trunk/; revision=17874
2005-09-16 04:53:07 +00:00
Brandon Turner
691589bdf4 forgot to free comspec, very sorry.
svn path=/trunk/; revision=17873
2005-09-16 04:46:06 +00:00
Brandon Turner
b494052296 Use compsec instead of "cmd" when trying to find cmd.exe
svn path=/trunk/; revision=17872
2005-09-16 04:40:46 +00:00
Gé van Geldorp
30aad7b52a Fix some of the damage r17811 did to the GDB stub
svn path=/trunk/; revision=17871
2005-09-15 22:07:35 +00:00
Aleksey Bragin
43bdfc834c Fix the tree at last, by reverting previous changes to RtlpCheckForActiveDebugger.
svn path=/trunk/; revision=17870
2005-09-15 20:24:30 +00:00
Aleksey Bragin
646ee13307 Revert 17867:17866 change, introduced to temporarily fix tree-compiling. Made obsolete by rev. 17868.
svn path=/trunk/; revision=17869
2005-09-15 19:30:27 +00:00
Alex Ionescu
019ed71c23 - Fix build, sorry.
svn path=/trunk/; revision=17868
2005-09-15 19:18:59 +00:00
Aleksey Bragin
fbc3848431 Fix compiling error, feel free to revert this when commiting missing changes (if it's not a typo).
svn path=/trunk/; revision=17867
2005-09-15 19:14:42 +00:00
Hartmut Birr
3d3c2afb41 - Assign first the partitions to drive letters, which have a registry entry in MountedDevices.
- Create for all partitions a registry entry in MountedDevices if none exists.  
- Assign all partitions with arc names first and the others as second.

svn path=/trunk/; revision=17866
2005-09-15 17:26:56 +00:00
Hartmut Birr
1384de5268 - Fixed the creation of arc names. Only valid partitions should be linked to an arc names.
- Create arc names only for partitions on disks, which are visible by the bios.


svn path=/trunk/; revision=17865
2005-09-15 17:23:41 +00:00
Hartmut Birr
9f214815b7 - Do only allow to install reactos on disks which are visible by the bios.
- Arrange the disks in the same sequence how they was detected by the bios.  
- Create a registry entry in MountedDevices for each recognized partition.

svn path=/trunk/; revision=17864
2005-09-15 17:19:31 +00:00
Hartmut Birr
a9ef5d9d40 Fixed the MP build.
svn path=/trunk/; revision=17863
2005-09-15 16:52:23 +00:00
Hartmut Birr
b3f6e62113 Used the given registry path from DriverEntry to query the registry.
This will also fix the bug in I8042ReadRegistry, which has append the string to an unicode string with an uninitialized length value.

svn path=/trunk/; revision=17862
2005-09-15 16:46:17 +00:00
Hervé Poussineau
cff40b3061 If we have a PCI device, try to keep the IRQ assigned by the BIOS instead of forcing 0x9
svn path=/trunk/; revision=17861
2005-09-15 15:57:28 +00:00
Alex Ionescu
184ae2cb27 Return valid status
svn path=/trunk/; revision=17860
2005-09-15 14:07:37 +00:00
Hervé Poussineau
86ce7ba5ab Revert 17858 and fix all warnings at once.
This fix may be strange at first sight, but original Linux code doesn't use "flags" variable at all. This fix is here only to prevent a warning and shouldn't break the behaviour of the code.

svn path=/trunk/; revision=17859
2005-09-15 13:25:32 +00:00
Hervé Poussineau
7329dca76f Initialize flags variable to 0
svn path=/trunk/; revision=17858
2005-09-15 12:57:11 +00:00
Aleksey Bragin
8e8dbdf319 Initialize DeviceNumber to 0
svn path=/trunk/; revision=17857
2005-09-15 12:50:40 +00:00
Art Yerkes
f6cf8905f8 Took some advice from alex re: w32api headers. Use ..._DEFINED to override
items in the standard headers for different wordsize host.  wrc almost working
on 64-bit host.

svn path=/trunk/; revision=17856
2005-09-15 05:58:49 +00:00
Andrew Munger
ddaabb16b4 Added a text test to rosperf, and build as unicode.
svn path=/trunk/; revision=17855
2005-09-15 04:57:51 +00:00
Andrew Munger
a88a9fff19 Fix release build of string library
svn path=/trunk/; revision=17854
2005-09-15 04:51:14 +00:00
Filip Navara
0443a3b73c Update the IDC_* constants.
svn path=/trunk/; revision=17853
2005-09-14 22:13:22 +00:00
Filip Navara
d3a5c3f2bd Patricio Martínez Ros <silencium@wanadoo.es>
Spanish translation.

svn path=/trunk/; revision=17852
2005-09-14 21:07:04 +00:00
Filip Navara
b3abdb0812 Patricio Martínez Ros <silencium@wanadoo.es>
Spanish translation.

svn path=/trunk/; revision=17851
2005-09-14 21:06:35 +00:00
Andrew Munger
1b7481234a Fix regexpl so it properly prints a DWORD_LITTLE_ENDIAN.
svn path=/trunk/; revision=17850
2005-09-14 20:24:43 +00:00
Hervé Poussineau
5b76e2c8f8 Fix indentation of generated code, by letting Output method do its indenting job
svn path=/trunk/; revision=17849
2005-09-14 19:32:47 +00:00
Alex Ionescu
02eed3311f fix build
svn path=/trunk/; revision=17848
2005-09-14 02:03:17 +00:00
Alex Ionescu
e0eea608a6 ntoskrnl header cleanups
svn path=/trunk/; revision=17847
2005-09-14 01:44:19 +00:00
Alex Ionescu
e8dcb74344 ntoskrnl header cleanups
svn path=/trunk/; revision=17846
2005-09-14 01:05:50 +00:00
Alex Ionescu
a6f1511ecb ntoskrnl header cleanups
svn path=/trunk/; revision=17845
2005-09-13 23:48:54 +00:00
Alex Ionescu
11272023e5 Part 1 of <many> ntoskrnl header cleanups
svn path=/trunk/; revision=17844
2005-09-13 23:28:21 +00:00
Royce Mitchell III
10f2fdca23 zero out the struct and disable code that has no connection with reality - I'm thinking MIIM_STRING should be removed from flags also, but I have not tested with that change.
svn path=/trunk/; revision=17843
2005-09-13 23:04:32 +00:00
Alex Ionescu
4d1f146406 Filip doesn't like int3. Implemented Trap6 failure on bad stack and V86M syscall return
svn path=/trunk/; revision=17842
2005-09-13 20:26:57 +00:00
Alex Ionescu
99e5e010dc Properly bias frame, remove bugcheck added for debugging, re-add bugcheck removed for debugging
svn path=/trunk/; revision=17841
2005-09-13 20:13:05 +00:00
Alex Ionescu
736e7b9af0 Missing files...
svn path=/trunk/; revision=17840
2005-09-13 19:41:07 +00:00
Alex Ionescu
38b63156fa Sorry for the debug messages.
svn path=/trunk/; revision=17839
2005-09-13 19:34:48 +00:00
Alex Ionescu
7a5244c46d Some work-in-progress improvements and rethought of system-level code...notable improvemnts till now are: -The KTHREAD alterted flag is now properly set to FALSE during APC delivery during traps, -More support for PKEXCEPTION_FRAME has been added for future PPC/IA64/etc compatibility -Context to/from TrapFrame functions have been greatly fixed to allow for edited frames, special cases, exceptions and also have the necessary support for supporting sanitation based on PreviousMode - KDBG now shows the proper CS/SS at all times, previous hack was removed. - Systemcall code was optimized a bit and the trap code was made a lot more generic so that in can be made into macros (it currently isn't, for debugging purposes). - V86 Mode trap frame bias has now been added to make trap code a lot more generic and shareable in the future. -More support and fixes for future Debugging capabilities have been added. - Random other scalability and stability code. This is still being worked on, syscall.S looks nasty for now (visually)
svn path=/trunk/; revision=17838
2005-09-13 19:33:49 +00:00
Royce Mitchell III
3b0cfca870 rename variable and change parameters in call to find_last_not_of() to hopefully be a little more accurate to what it's doing
svn path=/trunk/; revision=17837
2005-09-13 19:11:37 +00:00
Royce Mitchell III
130efbb545 fix bug in GetBinutilsVersion()
svn path=/trunk/; revision=17836
2005-09-13 19:04:24 +00:00
Hartmut Birr
7f94d6e5bf - Freed the path string for the keyboard dll.
- Freed some strings in all cases.

svn path=/trunk/; revision=17835
2005-09-13 18:08:18 +00:00
Hartmut Birr
535a223492 Fixed the declaration of RtlPinAtomInAtomTable.
svn path=/trunk/; revision=17834
2005-09-13 18:04:00 +00:00
Gregor Anich
887b31e11d Implement QUERYESCSUPPORT escape in ExtEscape (returns FALSE always)
svn path=/trunk/; revision=17832
2005-09-13 14:46:48 +00:00
Gregor Anich
75413f5545 Query support for opengl-driver-info escape before calling it and some other minor changes.
svn path=/trunk/; revision=17831
2005-09-13 14:46:00 +00:00
Royce Mitchell III
0dbbd80237 copy&paste enhancement
patch by "brbak"
(see bug 749)

svn path=/trunk/; revision=17830
2005-09-13 14:34:48 +00:00
Royce Mitchell III
03d6ef4607 fix crash in 'make msvc'
svn path=/trunk/; revision=17829
2005-09-13 11:57:50 +00:00
Steven Edwards
a9c581cdb7 added LGPL license header to the code from Wine and Patrik Stridvall and Royce Mitchell III as authors
svn path=/trunk/; revision=17828
2005-09-13 03:51:18 +00:00
Steven Edwards
e9a29bad13 started working on generation of msvc2kX project files. THESE ARE NOT CORRECT. Right now its just a copy of the existing msvc6 generation code. It will generate a *.sln and *.vcproj files however they are still in the old format.
svn path=/trunk/; revision=17827
2005-09-13 03:46:22 +00:00
Hervé Poussineau
5b89cb0136 Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
Added Finnish resources.

svn path=/trunk/; revision=17826
2005-09-12 21:48:21 +00:00
Royce Mitchell III
638efc58aa security audit of explorer code...
strcpy -> lstrcpyn
strncpy -> lstrcpyn
[v]sprintf -> [v]snprintf
moved common Shell::get_path() subclass implementations into Shell::get_path_base() and made function overflow-proof
make other non-common subclass implementations of get_path overflow-proof

svn path=/trunk/; revision=17825
2005-09-12 21:46:09 +00:00
Royce Mitchell III
da407213dc msvc6 warning fix - cast return value of SHAlloc()
svn path=/trunk/; revision=17824
2005-09-12 20:07:29 +00:00
Royce Mitchell III
6994c4711b msvc6 warning fix - cast return value of SHAlloc()
svn path=/trunk/; revision=17823
2005-09-12 20:04:49 +00:00
Royce Mitchell III
6ad405d90f fix breakage - sorry
svn path=/trunk/; revision=17822
2005-09-12 19:58:34 +00:00
Magnus Olsen
831020dc3d DoCommand()
Remove one more hardcode buffer size. Remove limit command to MAX_PATH. No check for limit command line-

svn path=/trunk/; revision=17821
2005-09-12 19:50:16 +00:00
Gé van Geldorp
6ceb694074 Bletch <npwoods@mess.org>
- Implements the Encoding field when you save, allowing the user to save as
  ANSI, Unicode or UTF-8
- Invoking 'Save As' after saving or loading a file will default to the
  earlier filename
(minor changes by GvG, so mistakes are mine).

svn path=/trunk/; revision=17820
2005-09-12 17:10:00 +00:00
Royce Mitchell III
5fbac4d9e6 msvc6 compatibility and small performance improvement in filename completion
svn path=/trunk/; revision=17819
2005-09-12 16:06:53 +00:00
Royce Mitchell III
811a8addb8 io.h only exists for win32 - sorry *nix users
svn path=/trunk/; revision=17818
2005-09-12 14:55:55 +00:00
Royce Mitchell III
912eda64c8 fix warning about unlink() being undeclared
svn path=/trunk/; revision=17817
2005-09-12 14:33:57 +00:00
Alex Ionescu
025e6f6975 Fix previous strangely incomplete NtRaiseException implementation and re-enable the ProbeForRead call that failed
svn path=/trunk/; revision=17816
2005-09-12 03:59:03 +00:00
Alex Ionescu
2dfe1a384e Fix bug in KiUserExceptionDispatcher
svn path=/trunk/; revision=17815
2005-09-12 03:10:08 +00:00
Alex Ionescu
9e5af04e26 Fix RtlpGetStackLimits to get the right limits if called in kernel-mode (separated implementations). Also don't return from _SEH_TRY blocks, because PSEH doesn't support this. Also temporarly disable a ProbeForRead check in KiContinue because it currently causes trouble
svn path=/trunk/; revision=17814
2005-09-12 02:57:47 +00:00
Royce Mitchell III
19ca3d1d83 patch by Alex_Ionescu - fixes crash in usb driver on bootup in vmware
svn path=/trunk/; revision=17813
2005-09-12 01:32:11 +00:00
Royce Mitchell III
2f35400d27 document parameter names
svn path=/trunk/; revision=17812
2005-09-12 01:31:24 +00:00
Alex Ionescu
b9020b11dd Major refactoring of the exception handling code + misc fixes:
- Fix/add prototypes for RtlCaptureContext, RtlDispatchException and RtlUnwind
	- Fix EXCEPTION_REGISTRATION_RECORD structure and PEXCEPTION_ROUTINE
	- Add w32api excpt.h (based on mingw) with PSDK compatibility fixes
	- Fix seriously broken User-Mode Ldr thunk and APC Callback prototypes
	- Fix KiUserExceptionDispatcher
	- Remove useless NTDLL entrypoint
	- Implement NTDLL Ki* callbacks in ASM
	- Implement RtlCaptureContext
	- Fix RtlRaiseException to handle cases when a user-mode debugger is present
	- Fix RtlRaiseStatus as above, plus set the exception address and capture context
	- Little cleanup of RTL headers
	- Implement RtlpGetStackLimits, RtlpGetExceptionList, RtlpSetExceptionList, RtlpGetExceptionAddress in ASM
	- Fix RtlDispatchException, add cases for exceptions in the DPC stack and validate the validity of the 
exception frames. Add support for exception logging by the global flag. Use TRAP_FRAME/EXCPETION_FRAME instead of 
Context.
	- Fix RtlUnwind logic, support cases where it's called with custom arguments instead of NULL.
	- Reimplement RtlpCaptureContext to work properly, convert exception handler calling functions to INTEL syntax 
and fix some bugs (like checking for the right unwind flag, clearing volatile register values, etc. Also use some 
optimizations to increase speed.
	- Modify some kernel functions (like KeContextToTrapFrame, KiDispatchException, KiInitializeUserApc, etc.) to 
support a PKEXCEPTION_FRAME for future PPC compatibility.
	- Reimplement RtlCaptureUnicodeString/FreeUnicodeString as inlined probe macros and optimize them.
	- Export ExRaiseStatus/Exception as Rtl*
	- Reimplement NtContinue to have more platform-independent code, and to protect and validate user-mode context 
and parameters with SEH.
	- Implement KiRaiseException, add SEH to all user-mode parameters and when copying data to the user-mode stack.
	- Fix KiInitializeUserApc to use KeTrapFrameToContext, to save the debug registers, not to deliver APCs during 
v86 mode, and to protect user-mode stack operations in SEH and probing. Also make it generate the proper stack for the 
user-mode callback. 
	- Implement KiUnexpectedInterrupt and KiCoprocessorError
	- Reimplement NtRaiseException in ASM to take advantage of optimizations due to the trap frame being in the 
stack when called through System call interface.
	- Fix Ntcontinue to respect AlertThread paramter
	- Fix some functiosn to return with KiServiceExit2 instead of KiServiceExit when required/needed
	- Fix KiDispatchException's logic, fix hacks when calling KeUserExceptionDispatcher, use correct context 
flags,...
	- Make NTDLL Ki* callbacks have SEH to protect them and return to kernel-mode with notification of any 
exceptions (the kernel-mode code to handle this isn't written yet though)

svn path=/trunk/; revision=17811
2005-09-11 22:32:20 +00:00
Magnus Olsen
801ad7223f Do not compile cmd to unicode, if we do pipe will be 100% broken then.
svn path=/trunk/; revision=17810
2005-09-11 21:19:32 +00:00
Gunnar Dalsnes
f5449547b6 fix referencing bug (ros crashed during setup if mousemove) in co_WinPosSearchChildren
svn path=/trunk/; revision=17809
2005-09-11 21:05:32 +00:00
Magnus Olsen
3a98addd02 Make some more dymatic buffer and correct some free()
svn path=/trunk/; revision=17808
2005-09-11 20:41:39 +00:00
Brandon Turner
6b218f4e59 simple fix for 'del foo' where foo is a folder.
svn path=/trunk/; revision=17807
2005-09-11 20:26:36 +00:00
Magnus Olsen
f586d22df5 Do not crash if the prompt command name are binger that 260char or the command line.
svn path=/trunk/; revision=17806
2005-09-11 20:16:37 +00:00
Brandon Turner
4b1a13ae2f Windows style auto complete should only return folders then the preceding command is cd or rd.
svn path=/trunk/; revision=17805
2005-09-11 19:40:45 +00:00
Gé van Geldorp
0c1c382528 The system menu is allowed to have an unnamed entry which is not a separator
svn path=/trunk/; revision=17804
2005-09-11 17:59:52 +00:00
Magnus Olsen
de603dba17 Update the swedish translation by Harteex
svn path=/trunk/; revision=17803
2005-09-11 17:47:00 +00:00
Gunnar Dalsnes
fdafc67fbe -refcount reworking (simplification & improvement)
-make functions deal with pointers, not handles
-misc formatting

svn path=/trunk/; revision=17802
2005-09-11 14:48:32 +00:00
Eric Kohl
9e486c444b - CFGMGR32.DLL: Forward implemented functions to SETUPAPI.DLL.
- SETUPAPI.DLL: Use PNP_EnumerateSubKeys to implement CM_Enumerate_Classes_Ex.

svn path=/trunk/; revision=17801
2005-09-11 14:38:57 +00:00
Hervé Poussineau
61420d12f3 Signal USB device arrivals to PnP manager
svn path=/trunk/; revision=17800
2005-09-11 13:55:23 +00:00
Hervé Poussineau
cde1a0c17d Disable USB keyboard and mouse support, as they conflict with i8042prt driver.
We need to change kbdclass/mouclass to be an upper filter of keyboard/mouse device objects (which would become unnamed), and to support multiple keyboards/mice

svn path=/trunk/; revision=17799
2005-09-11 13:55:18 +00:00
Filip Navara
019de62105 Make _strtoui64 an alias of strtoull.
svn path=/trunk/; revision=17798
2005-09-11 13:05:33 +00:00
Filip Navara
c25a8a58af Fix strtoull implementation and add it to build files. Based on patch by Mark Junker <mjscod@gmx.de>.
svn path=/trunk/; revision=17797
2005-09-11 12:36:09 +00:00
Aleksey Bragin
a43952c66b updated wait_for_completion, should work similar to schedule_timeout.
svn path=/trunk/; revision=17796
2005-09-11 11:59:25 +00:00
Hervé Poussineau
3745fc25ff Let OHCI miniport use shared code in drivers/usb/miniport/common/*, instead of duplicating it
svn path=/trunk/; revision=17795
2005-09-11 11:40:43 +00:00
Hervé Poussineau
975f584df9 Display debug error message only when action fails
svn path=/trunk/; revision=17794
2005-09-11 09:23:16 +00:00
Art Yerkes
24a13ab689 Previously, the first character written to the buffer was random (off the
stack).  Not sure why this didn't blow up for others.  Make sure we fill
one character before placing one in the buffer.

svn path=/trunk/; revision=17793
2005-09-11 09:19:24 +00:00
Eric Kohl
ac5798e0c9 - Implement CM_Enumerate_Enumerators_ExA.
- Fix a typo in PNP_EnumerateSubKeys.

svn path=/trunk/; revision=17792
2005-09-11 08:45:02 +00:00
Hervé Poussineau
f535ffe39f xHCI:
* Fix value returned by IRP_MN_QUERY_CAPABILITIES and IOCTL_INTERNAL_USB_GET_ROOT_USB_DEVICE
* Remove debug output
USBHUB:
* Don't enumerate too much children. Display informations about them

svn path=/trunk/; revision=17791
2005-09-10 23:50:28 +00:00
Gé van Geldorp
98f577158f Fix some object/handle victims. Fixes bug 765.
svn path=/trunk/; revision=17790
2005-09-10 23:01:56 +00:00
Hartmut Birr
3a292fe93d - Acquire the temporary buffer from non paged pool in NtQueryDirectoryObject, because the buffer is accessed at DPC_LEVEL.
- Do always add an empty entry at the end of the buffer

svn path=/trunk/; revision=17789
2005-09-10 22:35:08 +00:00
Gé van Geldorp
829763c4d7 Handle .msi files
svn path=/trunk/; revision=17788
2005-09-10 20:19:23 +00:00
Gé van Geldorp
58c1ccc051 Also add registry entries when driver files are already present
svn path=/trunk/; revision=17787
2005-09-10 19:37:20 +00:00
Gé van Geldorp
3276e52050 Auto-determine base of DWORD registry entries.
Fixes bug 764.

svn path=/trunk/; revision=17786
2005-09-10 19:21:49 +00:00
Eric Kohl
f913bdb378 - Implement CM_Enumerate_Enumerators[_Ex]A/W
- Fix PNP_EnumerateSubKeys

svn path=/trunk/; revision=17785
2005-09-10 19:01:44 +00:00
Hervé Poussineau
9162d35b10 Remove unneeded pointer indirection
svn path=/trunk/; revision=17784
2005-09-10 18:45:34 +00:00
Royce Mitchell III
4786e1d6f0 change rest of warnings to allowwarnings - sorry I didn't get to this the other day.
svn path=/trunk/; revision=17783
2005-09-10 18:39:34 +00:00
Hervé Poussineau
23d2ee98f5 Move shareable part of USB miniport drivers to a new directory. UHCI uses it.
svn path=/trunk/; revision=17782
2005-09-10 18:04:42 +00:00
Hartmut Birr
d672727c6a Print only the complete information if the fd is valid itself (in is_valid_fd).
svn path=/trunk/; revision=17781
2005-09-10 15:36:35 +00:00
Hartmut Birr
f8c9d4f80f Silence two debug messages after they have cried a little bit.
svn path=/trunk/; revision=17780
2005-09-10 15:30:21 +00:00
Hartmut Birr
10dac7250e Fixed a typo.
svn path=/trunk/; revision=17779
2005-09-10 15:21:16 +00:00
Hartmut Birr
19f7ba6b03 Fixed the allocation of some buffers in Execute.
svn path=/trunk/; revision=17778
2005-09-10 15:20:10 +00:00
Hartmut Birr
a03dfb5235 Fixed GetConsoleTitleA/W.
svn path=/trunk/; revision=17777
2005-09-10 15:18:42 +00:00
Hervé Poussineau
f03b5bcdff Move common code of USB miniport drivers into drivers/usb/miniport/common library
svn path=/trunk/; revision=17776
2005-09-10 15:17:07 +00:00
Emanuele Aliberti
e76d9c0ae2 <module warnings=...>
<module allowwarnings=...>

svn path=/trunk/; revision=17775
2005-09-10 14:46:06 +00:00
Hervé Poussineau
2764f55c6c Add USB drivers to bootcd
svn path=/trunk/; revision=17774
2005-09-10 13:03:17 +00:00
Eric Kohl
71dc00530f Implement CM_Delete_Class_Key[_Ex].
svn path=/trunk/; revision=17773
2005-09-10 13:02:02 +00:00
Eric Kohl
7ad59b629a Add RegDeleteTreeA/W prototype.
svn path=/trunk/; revision=17772
2005-09-10 10:31:22 +00:00
Gé van Geldorp
a2c38b8cdd Fix maximizing problem introduced by r17764
svn path=/trunk/; revision=17771
2005-09-10 08:22:03 +00:00
Gé van Geldorp
ae5de0886a Don't trust the returned date/time from the BIOS. QEmu messes this up sometimes.
Partly fixes bug 716.

svn path=/trunk/; revision=17767
2005-09-09 21:15:32 +00:00
Hervé Poussineau
187b9e3939 Compile cmd.exe as unicode
svn path=/trunk/; revision=17766
2005-09-09 15:58:40 +00:00
Gé van Geldorp
4de7f0f089 maxlen is in characters, _cnt is in bytes.
Note: rebuild of lib/crt required for this change to take effect
(make crt_clean; make crt)
This brings the VMware Tools installer a hell of a lot further (bug 717).

svn path=/trunk/; revision=17765
2005-09-09 14:47:35 +00:00
Gé van Geldorp
61d669da33 Use max tracking size instead of maximized size to limit window size.
Fixes bug 721.

svn path=/trunk/; revision=17764
2005-09-09 13:35:02 +00:00
Gé van Geldorp
589e1e9ee0 Restore console title after running a command
svn path=/trunk/; revision=17763
2005-09-09 12:22:25 +00:00
Gé van Geldorp
7555a90fe9 Don't assume UNICODE_STRINGs are nul terminated
svn path=/trunk/; revision=17762
2005-09-09 12:22:01 +00:00
Gé van Geldorp
c0337d5d24 Convert title from UNICODE_STRING to nul-terminated
svn path=/trunk/; revision=17761
2005-09-09 11:43:26 +00:00
Gé van Geldorp
b1e0054bee RetVal is in bytes, so check against MAX_PATH in bytes
svn path=/trunk/; revision=17760
2005-09-09 10:22:40 +00:00
Gé van Geldorp
1dc718065f Window handle is not valid anymore when the object is in "destroyed" state
svn path=/trunk/; revision=17759
2005-09-09 09:50:58 +00:00
Gé van Geldorp
704232a50f Remove WS_VISIBLE bit from correct member
svn path=/trunk/; revision=17758
2005-09-09 09:48:33 +00:00
Andrew Munger
02471b01a7 Remove stray data from the XML. This one goes out to TLF.
svn path=/trunk/; revision=17757
2005-09-09 00:38:39 +00:00
Gunnar Dalsnes
16addb9060 -cursoricon: naming changes, cleanup
-fix: hide/show caret to accept NULL hWnds
-some handle to pointer converions
-double handle table size
-fix: co_WinPosActivateOtherWindow was trying to access desktop parent

svn path=/trunk/; revision=17756
2005-09-09 00:25:52 +00:00
Royce Mitchell III
6b27e47c88 win32 api compatibility fix
changed 'warnings' attribute of <module> to 'allowwarnings' to make it's function less ambiguous

svn path=/trunk/; revision=17755
2005-09-08 23:10:17 +00:00
Hervé Poussineau
ffb05e59d0 Change driver name ohci.sys -> usbohci.sys
svn path=/trunk/; revision=17754
2005-09-08 21:54:42 +00:00
Hervé Poussineau
d41edbe37f Remove warnings and allow installation of USB files with make install
svn path=/trunk/; revision=17753
2005-09-08 21:32:53 +00:00
Gé van Geldorp
8da043e4f2 Fix double-clicking control panel items
svn path=/trunk/; revision=17752
2005-09-08 21:08:53 +00:00
Hervé Poussineau
67720419df Fix build, by correcting include paths and updating xml files of USB components
svn path=/trunk/; revision=17751
2005-09-08 20:53:17 +00:00
Hartmut Birr
d392fa8a17 Allocate a larger storage for the request buffer. It is necessary since the latest changeing in ntdll for csrss connections.
svn path=/trunk/; revision=17750
2005-09-08 20:18:46 +00:00
Hervé Poussineau
af6ca3d9d4 Add xml files at the right places
Remove now useless cromwell directory

svn path=/trunk/; revision=17749
2005-09-08 20:16:36 +00:00
Hartmut Birr
1df53c9525 Initialize the length in the header in LpcSendTerminationPort.
svn path=/trunk/; revision=17748
2005-09-08 20:12:33 +00:00
Hervé Poussineau
82b0b7c44a Move drivers to the right location
svn path=/trunk/; revision=17747
2005-09-08 20:07:16 +00:00
Hervé Poussineau
6bd521580a Rename drivers to their right name
svn path=/trunk/; revision=17746
2005-09-08 20:02:40 +00:00
Hervé Poussineau
1d6a0c4579 Start of big changes in layout of USB code. Fireball and I are agreeing on these changes.
Step 1: delete all useless stuff

svn path=/trunk/; revision=17745
2005-09-08 19:58:55 +00:00
Casper Hornstrup
21501cda53 Christoph_vW <Christoph@ApiViewer.de>:
Binutils detection

Modified to support cross-compilation

Resolves #707

svn path=/trunk/; revision=17744
2005-09-08 16:41:07 +00:00
Gunnar Dalsnes
b4f5c9b4b5 -remove hotkey lock
-remove dc list lock
-simplify/rework refcounting
-remove keyboard queue state lock
-convert some functions into taking pointerargs, not handles

svn path=/trunk/; revision=17743
2005-09-08 16:18:51 +00:00
Gé van Geldorp
57b5d08a65 Unlock console on alternate return paths. Fixes bug 734.
svn path=/trunk/; revision=17742
2005-09-08 15:51:44 +00:00
Gé van Geldorp
b8d592993d Correct notepad location
svn path=/trunk/; revision=17741
2005-09-08 14:01:53 +00:00
Gé van Geldorp
e8b32e19d9 saveliyt@mail.ru:
Start SCM on livecd too

svn path=/trunk/; revision=17740
2005-09-08 13:27:17 +00:00
Gé van Geldorp
9bec9db6c6 Reserve space for The Terminator
svn path=/trunk/; revision=17739
2005-09-08 13:08:21 +00:00
Gé van Geldorp
f2854a8641 Translate partition 0 to active partition. Fixes bug 181.
svn path=/trunk/; revision=17736
2005-09-08 08:29:01 +00:00
Alex Ionescu
659c21724b - Move s(w)printf to rtl (cannot be shared in string because of differences with the CRT implementation). - Fix build errors due to previous commits (sorry).
svn path=/trunk/; revision=17735
2005-09-08 06:52:01 +00:00
Alex Ionescu
48fe1fb84b Share more duplicated functions
svn path=/trunk/; revision=17734
2005-09-08 05:03:34 +00:00
Alex Ionescu
6ce05ab58e Don't duplicate string and ctype functions 2 (or even 3) times... we have stringlib for that
svn path=/trunk/; revision=17733
2005-09-08 04:27:02 +00:00
Alex Ionescu
7206207210 - Move more stuff to /rtl
- Bring back Ki* callbacks into ntdll.

svn path=/trunk/; revision=17732
2005-09-08 02:29:30 +00:00
Alex Ionescu
c39ccd6592 - Part one of major RTL cleanup. Merge duplicated code and stick everything in lib\rtl that used to be in ntdll. Also cleanup the file headers, copyright information and includes.
svn path=/trunk/; revision=17731
2005-09-08 00:09:32 +00:00
Gunnar Dalsnes
7c6de62098 indent with astyle v1.15.3: --style=ansi -c -s3 -S --convert-tabs
svn path=/trunk/; revision=17730
2005-09-07 21:25:42 +00:00
Gunnar Dalsnes
5d8ed11b10 window pointer was incorrectly passed as wparam to co_IntSendMessage instead of hwnd
svn path=/trunk/; revision=17729
2005-09-07 21:05:16 +00:00
Gunnar Dalsnes
a401832d5f -replace user object/handle manager with the one from wine. its simpler, faster and more correct.
-convert dozens of functions to take pointers as args, not handles
-attempt to simplify/correct refcounting
-remove much useless refcounting
-make callout refcounts auto undoable (ei. if the thread crash in umode during callback)
-misc formatting/naming changes

svn path=/trunk/; revision=17728
2005-09-07 20:59:26 +00:00
Alex Ionescu
b0bac13ce1 Implement NTDLL's CSR routines in a compatible way. Fix prototypes, argument count, deprecated functions and new functions. Some functions will not work (or are designed not to work) fully until the new CSR is committed, but they keep the same functionality as the previous versions (no regressions found; tested with cmd, cmt, putty, telnet, ps). Also added NtSecureConnectPort.
svn path=/trunk/; revision=17727
2005-09-07 19:37:28 +00:00
Andrew Munger
43692c4674 Fix include so packlib builds after latest wine sync.
svn path=/trunk/; revision=17726
2005-09-07 19:09:56 +00:00
Gé van Geldorp
abe6592a41 Make sure memory will be freed on delete of DIB section
svn path=/trunk/; revision=17725
2005-09-07 17:54:47 +00:00
Hartmut Birr
3b7a5daefb Fixed the definition of RtlUnicodeStringToCountedOemSize. This will fix bug 756.
svn path=/trunk/; revision=17724
2005-09-07 17:20:28 +00:00
Gé van Geldorp
8e0fca60da Update status
svn path=/trunk/; revision=17723
2005-09-07 16:34:46 +00:00
Gé van Geldorp
c9a9b98de0 Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Removed a useless header file.

svn path=/trunk/; revision=17721
2005-09-07 16:28:09 +00:00
Gé van Geldorp
3ab848b8e2 Add AC_SRC constants
svn path=/trunk/; revision=17720
2005-09-07 16:23:24 +00:00
Gé van Geldorp
190de1fde5 Sync to Wine-20050830:
Kevin Koltzau <kevin@plop.org>
- Fix 'cast to pointer from integer of different size' warnings in
  64bit.
Frank Richter <frank.richter@gmail.com>
- Add support for the BT_NONE background type.
- Better computations to have uniformly sized parts scaled in both
  directions.
- Implement GetThemeBackgroundExtent().
- Implement DrawThemeEdge().
- Implement support for the ST_TILE background stretching mode.
- Implementation for GetThemePartSize() (not entirely equivalent to
  native uxtheme, but sensibly useable).
- Enhance uxtheme to store the themed system metrics in the registry and
  also backup the old metrics. That way, themed system colors are set
  even uxtheme was not loaded and initialized yet, and when a theme is
  deactivated, the colors prior to the activation are restored as well.
- Also, not having to set the system colors in uxtheme startup works
  around weird problems where SetSystemColors() ended up being called
  from inside window creation and this seemingly led to some creation
  message being sent twice.
- Make GetThemeMargins() return default values (0 margin) if the
  function does not succeed.
- More elaborate IsThemeBackgroundPartiallyTransparent() implementation;
  also returns TRUE for theme parts with 32bpp images.
- Since theme images are reused now it's not really a good idea to
  delete them in drawing functions.
- Pass around what kind of transparency an image actually needs. Use
  alpha-blending for 32bpp images.
- Set some default values for truesize sizing that seem closer to
  Windows.
- If a MINSIZEn property is not present, fall back to actual size of nth
  image to determine whether it is suitable.
- EnumThemeColors() and EnumThemeSizes() actually do not return a single
  string with the color/size name, but rather a struct containing three
  strings - name, display name and tooltip.
- The default image layout is HORIZONTAL, not VERTICAL.
- Take a common computation out of two if-branches in
  UXTHEME_LoadImage().
- Compare result of RegQueryValueExW() with ERROR_SUCCESS.
- Another fix to use magenta as the default transparent color.
- Implement "manual" image sharing(as opposed to using LoadImage() with
  LR_SHARED) by keeping the loaded images in a list. This is needed for
  proper alpha support later on since once-per-image preparations will
  be needed then.
- Add support for horizontal & vertical alignment when doing truesize
  sizing.
- Whatever TrueSizeStretchMark is for - it's not what Wine uxtheme used
  it for. Native uxtheme always stretches "truesize" parts when the
  destination is smaller than the part image size, but
  TrueSizeStretchMark doesn't seem to have an influence.

svn path=/trunk/; revision=17719
2005-09-07 16:22:51 +00:00
Alex Ionescu
3a0cf7d618 Return correct size. This fixes bug 756
svn path=/trunk/; revision=17718
2005-09-07 16:02:32 +00:00
Gé van Geldorp
179c1bfe6c Sync to Wine-20050830:
Francois Gouget <fgouget@free.fr>
- Add missing WINAPI to MSXML_DllGetClassObject().
  Standardize the DllGetClassObject() prototypes so they match the MSDN
  definition.
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=17717
2005-09-07 15:57:31 +00:00
Gé van Geldorp
5be54798fe Sync to Wine-20050830:
Huw Davies <huw@codeweavers.com>
- IUnknown_SetSite calls IObjectWithSite_SetSite or
  IInternetSecurityManager_SetSecuritySite.
- Fix call to GetMenuItemInfo and unicodify while we're at it.
- Implement SHLoadIndirectString.
- _CreateAllAccessSecurityAttributes takes three parameters.
- Forward ordinals 457,458 to GetLongPathNameW,A.
- Implement SHLoadRegUIStringW.
- Partial implementation of DeleteMenuWrap.
- Implement IUnknown_EnumObjects.
- Implement and add tests for the FDSA functions.
Alexandre Julliard <julliard@winehq.org>
- Don't prefix the functions DllInstall and DllGetVersion with the dll
  name so that the compiler can check the prototypes.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Correct typo in format string.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 warning fixes.
Steven Edwards <steven_ed4153@yahoo.com>
- Correct RegCreateKeyEx[A/W] prototype to match the PSDK.

svn path=/trunk/; revision=17716
2005-09-07 15:52:47 +00:00
Gé van Geldorp
0e5dde74e7 Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Fixed DllGetClassObject spec entries.

svn path=/trunk/; revision=17715
2005-09-07 15:09:06 +00:00
Gé van Geldorp
75b0c7ce6c Sync to Wine-20050830:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Initialize all members in UnixFolder constructor.
  Support NULL value pidls in GetDisplayNameOf method.
- Implemented IPersist::GetClassID.
- Use wine_get_dos_file_name instead of GetFullPathName.
- Implemented 'My Documents' folder.
- Added stubbed implementation of IPersistPropertyBag interface.
  Register unixfs as CLSID_FolderShortcut.
- Clone pidlLast before free'ing pidl after call to SHBindToParent.
- Use FIXME's in stubs instead of TRACE's.
  Infer pathmode from CLSID in UnixFolderConstructor.
  Fail in IShellFolder::BindToObject, if folder does not initialize.
- Use StringFromGUID2 instead of StringFromCLSID in
  UNIXFS_is_rooted_at_desktop.
Michael Jung <mjung@iss.tu-darmstadt.de>
Ge van Geldorp <gvg@reactos.com>
- Prepend Desktop folder path for files/directories stored in the
  filesystem Desktop folder when GetDisplayNameOf is called with the
  SHGDN_FORPARSING flags.
- Add testcases.
Ge van Geldorp <gvg@reactos.com>
- Fix resource leak on error paths.
- Do not load all shell32 icons during initialization, it wastes a lot of
  memory
Alexandre Julliard <julliard@winehq.org>
- Replace the _ICOM_THIS_From macros by inline functions the way it's
  already done in shelllink.c.
- Use ERR instead of DPRINTF in dump_pidl_hex.
- Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
  Dll(Un)RegisterServer with the dll name so that the compiler can check
  the prototypes.
- Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
  duplicate typedefs.
- Get rid of the _ICOM_THIS macros and call the inline function
  directly instead.
- 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.
- Added missing ntdll imports.
Francois Gouget <fgouget@codeweavers.com>
- Fix ShellExecute("\"foo.doc\"") for Internet Explorer 6.
- Update the conformance tests accordingly.
- Tweak a trace because it's very confusing to see the path with no
  escaped quotes in ShellExecuteA() and then with escaped quotes in
  ShellExecuteExW32() (due to debugstr_w()).
- Fix the return value of SHELL_Argify() so it once again returns true
  if a '%1' or equivalent placeholder was found. This fixes
  ShellExecuteEx(lpFile="foo.txt", lpClass="txtfile").
- Fix handling of SEE_MASK_CLASSNAME and SEE_MASK_CLASSKEY. They are not
  disjoint flags.
Mike McCormack <mike@codeweavers.com>
- Warning fixes for gcc 4.0.
- Fix some gcc 4.0 warnings.
Jozef Stefanka <jstefanka@codeweavers.com>
- Fixed browsing to other directories in Word 2003 file open
  dialog. Double clicking on a folder in the File->Open dialog works
  now.
Steven Edwards <steven_ed4153@yahoo.com>
- Correct definition of SFGAO_STORAGEANCESTOR.
Jason Edmeades <us@edmeades.me.uk>
- Add the time to the file display dialog modified column.
- Handle context menu->refresh, and F5 to initiate a refresh of the file
  dialog.

svn path=/trunk/; revision=17714
2005-09-07 08:43:45 +00:00
Gunnar Dalsnes
07151bdc1a make co_WinPosShowWindow take pWnd, not hWnd
add co_ to some funcs

svn path=/trunk/; revision=17713
2005-09-07 07:53:31 +00:00
Gunnar Dalsnes
3b0b4c10fd scrollbar:
simplify refcounting
fix a bug in NtUserGetSystemMenu, accessing nullpointer
use pointers internally, not handles

svn path=/trunk/; revision=17712
2005-09-07 00:02:39 +00:00
Gunnar Dalsnes
306250f7f5 prop: simplify refcounting, naming changes
svn path=/trunk/; revision=17711
2005-09-06 23:29:54 +00:00
Gunnar Dalsnes
1e6efaebce menu: code cleanup, naming changes, simplify refcounting, make internal func take objects and not handles
svn path=/trunk/; revision=17710
2005-09-06 23:21:40 +00:00
Gé van Geldorp
cfefbb200a Correct sizes if origin is not (0, 0)
svn path=/trunk/; revision=17709
2005-09-06 23:16:18 +00:00
Alex Ionescu
e988f9d7dc - One last build fix.
svn path=/trunk/; revision=17708
2005-09-06 23:15:15 +00:00
Alex Ionescu
77163e53d7 Fix win32k build errors so HEAD can build again, although most are caused by poor programming and will crash if called with unexpected parameters that aren't being properly handled.
svn path=/trunk/; revision=17707
2005-09-06 23:05:13 +00:00
Gunnar Dalsnes
76e45d3466 remake refcounting
naming changes
convert internal function to page ptr and not handle

svn path=/trunk/; revision=17706
2005-09-06 22:11:37 +00:00
Alex Ionescu
84cbfb9d8e - Fix size functions to return the correct results in all cases.
svn path=/trunk/; revision=17705
2005-09-06 19:47:06 +00:00
Alex Ionescu
7ed06b56e6 - Use Rtl macros instead of manually handling the cases.
svn path=/trunk/; revision=17704
2005-09-06 19:38:51 +00:00
Alex Ionescu
dc86bfb861 - Fix the sad sad definition of sizeof(ANSI_NULL) which returned 4...
svn path=/trunk/; revision=17703
2005-09-06 19:37:38 +00:00
Gé van Geldorp
38a02c040e Fix release build
svn path=/trunk/; revision=17702
2005-09-06 19:21:42 +00:00
Gé van Geldorp
8afef2bda9 Shut up some debug messages
svn path=/trunk/; revision=17701
2005-09-06 18:07:46 +00:00
Alex Ionescu
31a759e85c - Use DDK macros to speed up size calculations on single-byte codepages.
svn path=/trunk/; revision=17700
2005-09-06 17:33:56 +00:00
Alex Ionescu
a2af287dd8 - Remove deprecated zwtypes.h and spread out the types in the NT subsystems where they should go.
svn path=/trunk/; revision=17699
2005-09-06 15:57:42 +00:00
Gunnar Dalsnes
a2c34e3c28 window parent handle -> pointer adaptions
svn path=/trunk/; revision=17698
2005-09-06 14:19:03 +00:00
Gunnar Dalsnes
a1c7e10fc8 make window parent a pointer + fix usage
svn path=/trunk/; revision=17697
2005-09-06 14:09:22 +00:00
Gunnar Dalsnes
e51f10ab47 remove WndObjListLock
svn path=/trunk/; revision=17696
2005-09-06 13:36:04 +00:00
Gunnar Dalsnes
781981aa5f naming changes:
-remove annying "Object" from variables. prepend handles with "h" instead.
-rename window->Self -> Window->hSelf

svn path=/trunk/; revision=17695
2005-09-06 11:00:27 +00:00
Gunnar Dalsnes
4e5ef38048 make handle table session global
svn path=/trunk/; revision=17694
2005-09-06 10:05:31 +00:00
Gunnar Dalsnes
5d3bcdcc13 move object.c and ssec.c into ntuser where they belong
svn path=/trunk/; revision=17693
2005-09-06 09:35:39 +00:00
Gunnar Dalsnes
65123629f5 forgot a file:-| sry
svn path=/trunk/; revision=17692
2005-09-06 07:58:43 +00:00
Alex Ionescu
d1f19a8802 - Add missing decoration to Zw*
svn path=/trunk/; revision=17691
2005-09-06 06:44:34 +00:00
Alex Ionescu
870c588c1e - Handle RtlYyyStringToZzzStringSize->RtlxYyyStringtoZzzStringSize correctly so that the MSDDK macros can work and be added to the NDK/gnu ifs
svn path=/trunk/; revision=17690
2005-09-06 06:30:49 +00:00
Alex Ionescu
80b6230b45 A couple more fixes to prepare for the final patch
svn path=/trunk/; revision=17689
2005-09-06 06:19:30 +00:00
Alex Ionescu
28ab27fe87 - Use inlined functions like MSDDK.
svn path=/trunk/; revision=17688
2005-09-06 05:58:48 +00:00
Alex Ionescu
66711d6344 - Some more MSDDK/IFS compatibility fixes.
svn path=/trunk/; revision=17687
2005-09-06 05:30:39 +00:00
Gunnar Dalsnes
58f5ea229a remove window update lock
svn path=/trunk/; revision=17686
2005-09-06 00:34:23 +00:00
Gunnar Dalsnes
771f9106f8 remove user handle table lock, cursor locks, message queue locks, hook lock
svn path=/trunk/; revision=17685
2005-09-05 23:11:41 +00:00
Gunnar Dalsnes
fd26bfbd6d remove relatives lock, window props lock, classes locks, thread window lock, menu locks
svn path=/trunk/; revision=17684
2005-09-05 22:39:29 +00:00
Gé van Geldorp
eae95884a8 Sync to Wine-20050830:
Robert Shearman <rob@codeweavers.com>
- Don't free previous buffer in NdrGetBuffer.
- Add stubs for NdrMapCommAndFaultStatus, conformant string marshaling
  and context handle functions.
Alexandre Julliard <julliard@winehq.org>
- Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
  Dll(Un)RegisterServer with the dll name so that the compiler can check
  the prototypes.
Mike McCormack <mike@codeweavers.com>
- Fix some gcc 4.0 warnings.

svn path=/trunk/; revision=17683
2005-09-05 22:20:04 +00:00
Gé van Geldorp
2372be838c Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Don't prefix the functions DllInstall and DllGetVersion with the dll
  name so that the compiler can check the prototypes.
- riched32 doesn't need an import library.

svn path=/trunk/; revision=17682
2005-09-05 22:09:45 +00:00
Gé van Geldorp
4e74b68be8 Sync to Wine-20050830:
Phil Krylov <phil@newstar.rinet.ru>
- Added support for backward search to RichEdit EM_FINDTEXT[AW],
  EM_FINDTEXTEX[AW] message handler.
- Fixed EM_SETEVENTMASK RichEdit message handler to return old event
  mask.
- Added handling of deff RTF control word.
- Added common keyboard shortcuts for Select All, Undo, Redo, Cut, Copy
  and Paste to RichEdit.
- Automatically set default font after parsing a font table in RichEdit
  RTF reader.
- Fixed EM_EXLINEFROMCHAR to work for last row of a paragraph.
- Fixed UTF-8 RTF parsing.
- Fixed a bug in EM_STREAMOUT RichEdit message handler which truncated
  some streamed text.
- Generate ending \par in RTF output of RichEdit when streaming out a
  whole document.
- Fixed a RichEdit RTF reader bug which resulted in loss of text.
  Eliminated unneeded recursion in ME_InsertTextFromCursor().
- Implemented EM_CHARFROMPOS RichEdit message.
- Added EM_SETRECT, EM_SETRECTNP, and WM_SETREDRAW message handling.
  Added support for GT_SELECTION flag in EM_GETTEXTEX handler.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 warning fixes for Interlocked* functions.

svn path=/trunk/; revision=17681
2005-09-05 22:07:52 +00:00
Gé van Geldorp
76e03f2541 Correct eol-style and remove unused file
svn path=/trunk/; revision=17680
2005-09-05 22:03:31 +00:00
Gé van Geldorp
52a92a993f 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
2005-09-05 22:00:07 +00:00
Gé van Geldorp
05aeafcb9c 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
2005-09-05 21:56:14 +00:00
Gé van Geldorp
c9c505d02f Import from vendor drop
svn path=/trunk/; revision=17677
2005-09-05 21:47:21 +00:00
Gé van Geldorp
110a4ff7fc Delete existing objsel to prepare for vendor import
svn path=/trunk/; revision=17676
2005-09-05 21:44:11 +00:00
Hartmut Birr
b5a7931c86 Revert my last commit.
svn path=/trunk/; revision=17674
2005-09-05 21:39:59 +00:00
Gé van Geldorp
a9179e7930 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
2005-09-05 21:34:19 +00:00
Gunnar Dalsnes
965b06eb4d -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
2005-09-05 21:19:23 +00:00
Gé van Geldorp
767a73be21 Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Mark DllMain and similar exports as private.

svn path=/trunk/; revision=17670
2005-09-05 21:17:26 +00:00
Gé van Geldorp
c696fd3768 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
2005-09-05 21:15:50 +00:00
Gé van Geldorp
ee77339f00 Sync to Wine-20050830:
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 warning fixes.

svn path=/trunk/; revision=17668
2005-09-05 21:08:24 +00:00
Gé van Geldorp
a3b56ff138 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
2005-09-05 21:06:55 +00:00
Gé van Geldorp
851ebece4a 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
2005-09-05 21:04:10 +00:00
Hartmut Birr
ce7e038415 - 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
2005-09-05 20:25:31 +00:00
Gé van Geldorp
0389203146 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
2005-09-05 20:25:16 +00:00
Gé van Geldorp
ae18f3a1cc 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
2005-09-05 20:07:46 +00:00
Gé van Geldorp
5d793513d1 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
2005-09-05 20:03:06 +00:00
Alex Ionescu
87507a864e - More NDK + MSDDK/IFS Compatibility fixes
- Prototype fixes

svn path=/trunk/; revision=17660
2005-09-05 18:06:20 +00:00
Gé van Geldorp
94a3a9e377 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
2005-09-05 17:35:31 +00:00
Gé van Geldorp
89c566ad64 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
2005-09-05 10:18:07 +00:00
Gé van Geldorp
2853a0678a Fix compilation when ENABLE_VALIDATE_POOL is defined
svn path=/trunk/; revision=17657
2005-09-05 09:26:02 +00:00
Gé van Geldorp
c542593988 The kernel extension is really a EXTENDED_DEVOBJ_EXTENSION now
svn path=/trunk/; revision=17656
2005-09-05 09:25:06 +00:00
Hervé Poussineau
e77d41b989 Fix the build. TIB field in KIPCR structure is named NtTib, not Tib
svn path=/trunk/; revision=17653
2005-09-05 07:59:29 +00:00
Alex Ionescu
4e8d1019ce - More NDK/MSDDK compatibility fixes.
svn path=/trunk/; revision=17652
2005-09-05 07:51:15 +00:00
Alex Ionescu
51f0dfd307 - 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
2005-09-05 04:48:20 +00:00
Alex Ionescu
118aa9fba3 - Fix kernel32 and ntoskrnl build issues.
- Define public version of DEVOBJ_EXTENSION in DDK.

svn path=/trunk/; revision=17650
2005-09-04 23:48:19 +00:00
Alex Ionescu
a4d8aa2194 - Define NTSYSAPI and NTSYSCALLAPI
svn path=/trunk/; revision=17649
2005-09-04 23:26:35 +00:00
Alex Ionescu
851e0f3f36 - 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
2005-09-04 23:18:34 +00:00
Alex Ionescu
f069c69225 - Fix typo in NDK
- Fix compilation of NPFS and MSFS and increase their compile speed by using PCH.

svn path=/trunk/; revision=17647
2005-09-04 22:33:28 +00:00
Hervé Poussineau
d41491ef47 Fix SetComputerNameA/W. They were sending a bad parameter to SetComputerNameExA/W. Thanks Hartmut
svn path=/trunk/; revision=17646
2005-09-04 22:20:22 +00:00
Alex Ionescu
a5243c8e37 - 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
2005-09-04 22:16:57 +00:00
Hervé Poussineau
d5829ea63d Fix definition of STDCALL. Thanks Alex
svn path=/trunk/; revision=17644
2005-09-04 22:13:30 +00:00
Hervé Poussineau
ce468083d1 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
2005-09-04 22:12:35 +00:00
Hervé Poussineau
8857a8b8fd Allow compilation of npfs driver with MSVC
svn path=/trunk/; revision=17642
2005-09-04 21:44:02 +00:00
Hervé Poussineau
e7ad48c2a3 Allow compilation of fs_rec driver with MSVC
svn path=/trunk/; revision=17641
2005-09-04 21:14:54 +00:00
Hervé Poussineau
a650cc6d77 Don't double-define KEBUGCHECK(EX)
svn path=/trunk/; revision=17640
2005-09-04 20:45:34 +00:00
Hervé Poussineau
1037b8be47 Implement SetComputerNameExA/W
svn path=/trunk/; revision=17639
2005-09-04 20:11:51 +00:00
Alex Ionescu
ff6172bd8f - Various fixes to headers, such as fixing some LPC prototypes, adding/correcting some structures, adding some missing definitions, etc...
svn path=/trunk/; revision=17638
2005-09-04 18:00:59 +00:00
Alex Ionescu
84727764b0 - Disable two tests since the Balance Set Manager isn't implemented yet and they'll freeze ROS.
svn path=/trunk/; revision=17637
2005-09-04 15:57:17 +00:00
Filip Navara
eb59fe4b41 Get correct physical address in HalpGrowMapBuffers.
svn path=/trunk/; revision=17636
2005-09-04 15:18:52 +00:00
Eric Kohl
72f4f89fce Implement CM_Get_Class_Name_ExA.
svn path=/trunk/; revision=17635
2005-09-04 14:40:12 +00:00
Magnus Olsen
e6f2e6fcd6 fix bug 739 can not create file notepad newfile.txt
at cmd prompt

svn path=/trunk/; revision=17634
2005-09-04 11:47:50 +00:00
Magnus Olsen
49766a2024 Revers the change after reboot it did carcgh for me hole time.
svn path=/trunk/; revision=17633
2005-09-04 11:31:54 +00:00
Eric Kohl
7fca436afd - Enclose GUID in curly brackets.
- Implement CM_Get_Class_Key_Name_ExA.

svn path=/trunk/; revision=17632
2005-09-04 11:26:09 +00:00
Magnus Olsen
a1b00983ed remove some hardcode buffer value. The dymatic buffer does not work yet, until all CMDLINE_LENGTH are remove.
svn path=/trunk/; revision=17631
2005-09-04 11:18:39 +00:00
Filip Navara
6561d0f414 Fix the return value of HalReadDmaCounter at the end of transfer.
svn path=/trunk/; revision=17630
2005-09-04 11:17:37 +00:00
Filip Navara
3a10e56852 - 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
2005-09-04 10:02:19 +00:00
Magnus Olsen
adb5d8466f Remove more hardcode buffer value to dymatic buffer.
svn path=/trunk/; revision=17628
2005-09-04 09:54:59 +00:00
Magnus Olsen
1cb2b6830e fix a small bug after me, and check if it really got memmory or not.
svn path=/trunk/; revision=17627
2005-09-04 09:29:44 +00:00
Magnus Olsen
25f28a6291 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
2005-09-03 23:12:17 +00:00
Magnus Olsen
ada0f8dfe8 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
2005-09-03 19:59:51 +00:00
Eric Kohl
040c539dd5 Fix GUID->String conversion.
Implement CM_Get_Class[_Ex]A/W.

svn path=/trunk/; revision=17624
2005-09-03 19:44:47 +00:00
Andrew Munger
fe417a79c4 Fix cmd build. Please check your changes before commiting.
svn path=/trunk/; revision=17623
2005-09-03 18:05:33 +00:00
Hartmut Birr
b10d2b80c1 Fixed the return value in KeRundownQueue if the queue is empty. This should fix bug 751.
svn path=/trunk/; revision=17622
2005-09-03 18:00:54 +00:00
Hartmut Birr
2cea7b7c46 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
2005-09-03 17:40:33 +00:00
Brandon Turner
acb0c26036 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
2005-09-03 11:51:22 +00:00
Magnus Olsen
ff5ad9b6d7 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
2005-09-03 11:50:23 +00:00
Magnus Olsen
96791c3aa3 Swedish translation by David Nordenberg, proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=17618
2005-09-03 11:23:24 +00:00
Magnus Olsen
729d73ef17 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
2005-09-03 11:22:13 +00:00
Magnus Olsen
739b84b16d David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=17616
2005-09-03 11:20:04 +00:00
Magnus Olsen
c0fc3dba7b * Updated translation by Anders, proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=17615
2005-09-03 11:05:31 +00:00
Magnus Olsen
5d08c58541 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
2005-09-03 09:46:46 +00:00
Brandon Turner
35240bd337 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
2005-09-03 01:34:40 +00:00
Royce Mitchell III
937e6fc685 small efficiency boost
svn path=/trunk/; revision=17612
2005-09-03 01:19:25 +00:00
Brandon Turner
99c1fbbdfc Fixed a bug that crashed cmd when "cd /D" but no path. Bug reported by Harteex.
svn path=/trunk/; revision=17611
2005-09-02 22:41:40 +00:00
Hervé Poussineau
72784f6c8f Remove warnings
svn path=/trunk/; revision=17610
2005-09-02 21:26:51 +00:00
Hervé Poussineau
45c69b6adb RmRemove warnings
svn path=/trunk/; revision=17609
2005-09-02 21:13:10 +00:00
Hervé Poussineau
9b308f9dbf Remove DbgPrint statements as they were not executed + some of them were badly placed
svn path=/trunk/; revision=17608
2005-09-02 21:11:17 +00:00
Hervé Poussineau
e4ea943f57 Don't fill twice the output buffer. Bug spotted by Filip
svn path=/trunk/; revision=17606
2005-09-02 19:05:01 +00:00
Hervé Poussineau
c1f3b3a122 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
2005-09-02 18:51:32 +00:00
Filip Navara
02488d3f49 Check for Request == NULL.
svn path=/trunk/; revision=17604
2005-09-02 13:12:44 +00:00
Filip Navara
b6e746354a Fix open mode passed to CreateFile in DoSaveFile function. Patch by Johannes Anderwald.
svn path=/trunk/; revision=17603
2005-09-02 11:29:40 +00:00
Gregor Anich
63748df6f5 Link against string.a instead of hal and ntoskrnl, otherwise Windows will not load the driver.
svn path=/trunk/; revision=17602
2005-09-01 23:32:59 +00:00
Gunnar Dalsnes
bec034b146 fixed RtlCompareUnicodeString and RtlCompareString (said stuff were equal when it was not) by ripping from wine
svn path=/trunk/; revision=17601
2005-09-01 21:09:07 +00:00
Andrew Munger
5fb5193c82 Correct some checks, fix bug 748 (qemu networking). Fix by his vaingloriousness Alex Ionescu.
svn path=/trunk/; revision=17600
2005-09-01 02:57:27 +00:00
Hartmut Birr
b8b259908a Print the exception code and the faulting address, if the address is available.
svn path=/trunk/; revision=17598
2005-08-30 16:28:36 +00:00
Hartmut Birr
276ca539bd Invoke always our own exception handler if the exception wasn't handled. It prints some nice informations.
svn path=/trunk/; revision=17597
2005-08-30 16:26:38 +00:00
Hartmut Birr
3e0e6887f8 Don't interpret SIG_DFL and SIG_IGN as real handler address.
svn path=/trunk/; revision=17596
2005-08-30 16:24:55 +00:00
Filip Navara
bb3b1de38c Remove WineDebugInfo from TEB and fix type of TlsExpansionBitmap in PEB.
svn path=/trunk/; revision=17595
2005-08-29 22:23:55 +00:00
Filip Navara
a1e4cc1fd8 Formatting and code style changes.
svn path=/trunk/; revision=17594
2005-08-29 21:06:07 +00:00
Thomas Bluemel
d57cdec721 fixed uninitialized variable warning
svn path=/trunk/; revision=17593
2005-08-29 20:06:43 +00:00
Brandon Turner
ac2b9c20d7 fix an if statment. Found by thomas.
svn path=/trunk/; revision=17592
2005-08-29 19:09:41 +00:00
Brandon Turner
d261fc0b2b 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
2005-08-29 18:25:54 +00:00
Thomas Bluemel
13115c5ce3 - don't close handles of keys in RegDeleteTree() that were deleted
- implemented RegConnectRegistryA()

svn path=/trunk/; revision=17589
2005-08-29 13:54:05 +00:00
Hervé Poussineau
37315f15ba Remove warnings
svn path=/trunk/; revision=17588
2005-08-28 15:43:00 +00:00
Hervé Poussineau
d4eb73201a Remove warnings
svn path=/trunk/; revision=17587
2005-08-28 15:29:36 +00:00
Eric Kohl
624151b290 Implement CM_Get_Class_Key_Name[_Ex]A/W and CM_Open_Class[_Ex]A/W.
svn path=/trunk/; revision=17586
2005-08-28 15:07:45 +00:00
Royce Mitchell III
b17534dfa0 remove single "." entries from paths
svn path=/trunk/; revision=17585
2005-08-28 12:23:37 +00:00
Royce Mitchell III
2b121dc93c remove transient debugging code
svn path=/trunk/; revision=17584
2005-08-28 12:18:13 +00:00
Royce Mitchell III
cdf2899515 don't crash if path == base_directory.
sorry I forgot to commit my changes to this file last night

svn path=/trunk/; revision=17583
2005-08-28 12:08:53 +00:00
Hartmut Birr
bb6a166390 - 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
2005-08-28 12:03:25 +00:00
Hartmut Birr
37dced9725 Allocated the message reply buffer according to the size of the message.
svn path=/trunk/; revision=17581
2005-08-28 11:58:06 +00:00
Hervé Poussineau
b5fbf00480 Fix rbuild compilation, by adding Path::RelativeFromDirectory method
svn path=/trunk/; revision=17580
2005-08-28 09:50:00 +00:00
Hervé Poussineau
2142e2dfaf Remove warnings
svn path=/trunk/; revision=17579
2005-08-28 09:07:43 +00:00
Hervé Poussineau
d8fe2ffd8e Remove warnings
svn path=/trunk/; revision=17578
2005-08-28 09:04:39 +00:00
Emanuele Aliberti
84b33992c6 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
2005-08-28 07:34:35 +00:00
Royce Mitchell III
d252387963 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
2005-08-28 05:34:22 +00:00
Royce Mitchell III
8bbdffa2ff add . to list of include directories for all projects
svn path=/trunk/; revision=17575
2005-08-28 02:37:06 +00:00
Thomas Bluemel
95f9fe7198 #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=17574
2005-08-27 23:35:51 +00:00
Eric Kohl
1cedb076b5 Implement StringTableInitializeEx, StringTableGetExtraData and StringTableSetExtraData.
Add StringTableAddStringEx and StringTableLookUpStringEx stubs.

svn path=/trunk/; revision=17573
2005-08-27 19:14:35 +00:00
Thomas Bluemel
4270d01108 implemented RegDeleteTree() (untested!)
svn path=/trunk/; revision=17572
2005-08-27 18:13:52 +00:00
Emanuele Aliberti
ff8b08beb4 native EOL
svn path=/trunk/; revision=17571
2005-08-27 17:21:07 +00:00
Emanuele Aliberti
ca18dcf2d9 Minor changes and IT resource file.
svn path=/trunk/; revision=17570
2005-08-27 17:18:29 +00:00
Hervé Poussineau
3c98221253 Implement SetupDiSelectBestCompatDrv, by sorting drivers by rank in drivers list
svn path=/trunk/; revision=17569
2005-08-27 14:59:22 +00:00
Eric Kohl
1848960041 Implement LogonUserA.
svn path=/trunk/; revision=17568
2005-08-27 14:56:17 +00:00
Emanuele Aliberti
3c693f90bc SM: simplify and fix client (subsystem servers) management.
svn path=/trunk/; revision=17567
2005-08-27 09:55:27 +00:00
Andrew Munger
40a9efb724 17519 requires __REACTOS__ to be defined for KDB to work.
svn path=/trunk/; revision=17566
2005-08-27 04:20:49 +00:00
Andrew Munger
e0ccbec43f "." means current directory, not previous. Spotted by Talley.
svn path=/trunk/; revision=17565
2005-08-27 02:34:46 +00:00
Thomas Bluemel
d1e98bfddd fixed code to compile both as ansi and unicode version, build as unicode by default
svn path=/trunk/; revision=17564
2005-08-26 21:02:47 +00:00
Hartmut Birr
342d03f235 - Moved all members with variable length in CSRSS_XXX structures to the end.
- Defined all members with variable length as arrays with a size of zero.  
- Used the stack for allocating CSR_API_MESSAGE structures.

svn path=/trunk/; revision=17563
2005-08-26 20:35:33 +00:00
Filip Navara
1a8c456007 Make the explorer taskbar look a bit nicer.
svn path=/trunk/; revision=17562
2005-08-26 20:03:41 +00:00
Filip Navara
5c7930f963 Add TBMETRICS structure and associated constants.
svn path=/trunk/; revision=17561
2005-08-26 20:02:53 +00:00
Steven Edwards
21927423a2 Add constants for DBG_CONTROL_C and DBG_CONTROL_BREAK to ntstatus.h, Work around conflict including ntstatus.h with the NDK
svn path=/trunk/; revision=17560
2005-08-26 18:39:20 +00:00
Thomas Bluemel
20e728bbac implemented CreateSymbolicLink() (not tested/verified yet!)
svn path=/trunk/; revision=17559
2005-08-26 13:47:56 +00:00
Hartmut Birr
ead53e0588 Call the correct user mode dispatch function in KiDispatchException. The bug was introduced by r17053.
svn path=/trunk/; revision=17558
2005-08-26 13:06:24 +00:00
Thomas Bluemel
64b5d11940 removed obsolete variable in RegOpenUserClassesRoot()
svn path=/trunk/; revision=17557
2005-08-26 09:53:00 +00:00
Thomas Bluemel
a16e6f61c5 RegLoadMUIStringA/W are not implemented yet...
svn path=/trunk/; revision=17556
2005-08-26 09:49:19 +00:00
Thomas Bluemel
e9b53b73b9 added stubs for RegLoadMUIStringA/W()
svn path=/trunk/; revision=17555
2005-08-26 09:48:13 +00:00
Thomas Bluemel
64d0f61e8a implemented RegDisablePredefinedCacheEx()
svn path=/trunk/; revision=17554
2005-08-26 09:40:37 +00:00
Steven Edwards
f4668aceae Why this thing ships with its own GetConsoleWindow function I don't understand. Rename it and make the rest of the code use it. Compiles fine on gcc 3.x and msvc6 and works properly.
svn path=/trunk/; revision=17553
2005-08-25 23:54:39 +00:00
Steven Edwards
8fcad79576 minor build fixes for msvc
svn path=/trunk/; revision=17552
2005-08-25 23:20:34 +00:00
Steven Edwards
4147a4df09 fix msvc compile
svn path=/trunk/; revision=17551
2005-08-25 22:50:44 +00:00
Steven Edwards
65ff8ee6ca disable the custom rules for Winebuild for now
svn path=/trunk/; revision=17550
2005-08-25 22:49:26 +00:00
Magnus Olsen
06694b3675 Thx ravelo to found a new bug in start.c it did not manger run batfile with path that contain space.
svn path=/trunk/; revision=17549
2005-08-25 22:43:20 +00:00
Brandon Turner
5509951fc0 Don't dereference the pointers. Catch by Thomas.
svn path=/trunk/; revision=17548
2005-08-25 22:09:10 +00:00
Thomas Bluemel
8feae80765 add stub for ControlServiceEx()
svn path=/trunk/; revision=17547
2005-08-25 22:06:31 +00:00
Steven Edwards
95164f7065 Generate a GUID for each module processed. Later on this will be needed to support msvc2k3/5 vcproj files.
svn path=/trunk/; revision=17546
2005-08-25 20:58:01 +00:00
Brandon Turner
c7b88afc3f Implement escape char in console. "^"
cmd.c - when the env isnt found, dont zero out the params
redir.c - skip over all ^ when looking for redir/pipe
echo.c - when printing out, treat ^ correctly.

svn path=/trunk/; revision=17545
2005-08-25 20:05:07 +00:00
Thomas Bluemel
011639b626 enable theming of the checklist control
svn path=/trunk/; revision=17544
2005-08-25 19:53:37 +00:00
Thomas Bluemel
eafb1ee3f7 - added stubs for Set/GetConsoleHistoryInfo(), GetConsoleOriginalTitleA/W(), Set/GetConsoleScreenBufferInfoEx() and GetCurrentConsoleFontEx()
- added missing structure definitions

svn path=/trunk/; revision=17543
2005-08-25 19:47:44 +00:00
Thomas Bluemel
362610233e add stubs for CreateSymbolicLinkA/W
svn path=/trunk/; revision=17542
2005-08-25 18:21:50 +00:00
Brandon Turner
06c225119d Use GetShortPathName and GetLongPathName to correct the case of the new path in SetRootPath. GetFullPathName by itself would not work when there was a space in the name.
svn path=/trunk/; revision=17541
2005-08-25 17:38:15 +00:00
Royce Mitchell III
9010800221 file paths should be relative to the location of the dsp file, not the dsw file
svn path=/trunk/; revision=17540
2005-08-25 17:24:11 +00:00
Maarten Bosma
bebf0b4a61 Fill some more structs, that ms ddraw fill as well.
svn path=/trunk/; revision=17539
2005-08-25 15:31:28 +00:00
Hartmut Birr
25d3bf68ab Fixed a bug in RtlLeaveCriticalSection. We have only to signal the event if someone waits on it.
svn path=/trunk/; revision=17538
2005-08-25 12:33:37 +00:00
Thomas Bluemel
8370e44f84 minor simplifications
svn path=/trunk/; revision=17537
2005-08-25 12:30:10 +00:00
Thomas Bluemel
3b35dd5038 open subkey with sufficient rights in RegDeleteTree
svn path=/trunk/; revision=17536
2005-08-25 12:27:25 +00:00
Thomas Bluemel
8d862306ef added stubs for RegDeleteTreeA/W() and RegCopyTreeA/W()
svn path=/trunk/; revision=17535
2005-08-25 12:25:11 +00:00
Maarten Bosma
d5fd7c89ea Change Install Name to ddraw_demo.exe
svn path=/trunk/; revision=17534
2005-08-25 11:36:49 +00:00
Royce Mitchell III
27ef51709f $default_cfg fix
cleaned up more code that isn't enabled yet
generate correct line endings on *nix, too

svn path=/trunk/; revision=17533
2005-08-25 01:44:23 +00:00
Thomas Bluemel
55610a1a3d check for console handles in Get/SetFileAttributesByHandle()
svn path=/trunk/; revision=17531
2005-08-25 00:33:37 +00:00
Thomas Bluemel
5760f0496c implemented SetFileAttributesByHandle() and GetFileAttributesByHandle()
svn path=/trunk/; revision=17530
2005-08-24 23:59:03 +00:00
Thomas Bluemel
78bc5b9ab0 implemented RegSetKeyValueA/W
svn path=/trunk/; revision=17529
2005-08-24 23:44:27 +00:00
Magnus Olsen
4782b7ce3e fixing a bug in searching for cmd for bat/cmd files, thx ravelo to found this stupied bug
svn path=/trunk/; revision=17528
2005-08-24 23:33:34 +00:00
Thomas Bluemel
bc8811f677 implemented RegDeleteKeyValueA/W()
svn path=/trunk/; revision=17527
2005-08-24 23:29:51 +00:00
Magnus Olsen
519f1108ad Implement start execute support for bat/cmd file. woking in windows
svn path=/trunk/; revision=17526
2005-08-24 23:07:51 +00:00
Thomas Bluemel
8f881e2d04 implemented IsThreadAFiber()
svn path=/trunk/; revision=17525
2005-08-24 23:05:07 +00:00
Royce Mitchell III
5c7747b97c zero the entire buffer
svn path=/trunk/; revision=17524
2005-08-24 22:38:10 +00:00
Thomas Bluemel
a8e3f13a42 install the registry keys before enabling the driver
svn path=/trunk/; revision=17523
2005-08-24 21:54:13 +00:00
Filip Navara
85266e68b5 REVISON -> REVISION
svn path=/trunk/; revision=17522
2005-08-24 21:52:41 +00:00
Magnus Olsen
d9f9178f3e implemented "" remove for the start command. This makes 'start dir1\"dir2a dir2b"\dir3\foo.exe param' work change by Martin Rottensteiner 2005only@pianonote.at irc nick ravelo
svn path=/trunk/; revision=17521
2005-08-24 21:40:01 +00:00
Filip Navara
98d9c65720 Fix a memory leak if VideoPortInitialize is called more than once from the same miniport.
Replace STDCALL with NTAPI.

svn path=/trunk/; revision=17520
2005-08-24 21:29:24 +00:00
Hervé Poussineau
de881e611a Cleanup i8042prt.h
Remove $Id$ tags
Replace Win32 types by their kernel counterparts (DWORD -> ULONG, ...)

svn path=/trunk/; revision=17519
2005-08-24 20:34:50 +00:00
Royce Mitchell III
a2e91278b6 added some verbosity
standardized back on printf from cout
fixed loop variable conflict

svn path=/trunk/; revision=17518
2005-08-24 20:06:54 +00:00
Royce Mitchell III
86018cbc02 invoke _generate_dsp() have it open the output file, and fix some path parsing and const issues.
svn path=/trunk/; revision=17517
2005-08-24 19:58:07 +00:00
Hervé Poussineau
9195c7dd4f Remove $Id$ tags
Use FATEntry.ShortName field instead of FATEntry.FileName when dealing with full name
Remove LL suffix on long long constants
Replace Win32 types by their kernel counterparts (DWORD -> ULONG, ...)

svn path=/trunk/; revision=17516
2005-08-24 18:29:45 +00:00
Royce Mitchell III
bf3117cb5e _generate_dsp() compiles now, haven't tested yet
svn path=/trunk/; revision=17515
2005-08-24 18:13:00 +00:00
Hervé Poussineau
6b3b47323d Fix IRP_MJ_QUERY_INFORMATION/FileStandardInformation (current code was trying to dereference NULL pointer)
Replace MmGetSystemAddressForMdl by MmGetSystemAddressForMdlSafe

svn path=/trunk/; revision=17514
2005-08-24 15:37:04 +00:00
Hervé Poussineau
66c8fe47e0 Replace ExAllocatePool by ExAllocatePoolWithTag
Fix CHECKPOINT1 definition for MSVC compiler

svn path=/trunk/; revision=17513
2005-08-24 15:33:58 +00:00
Filip Navara
820afe2e92 Make BusyLoop volatile. Spotted by Thomas.
svn path=/trunk/; revision=17512
2005-08-24 14:15:54 +00:00
Filip Navara
1ef2914b90 Implement the most over-optimized lock in NT - the NDIS_RW_LOCK.
svn path=/trunk/; revision=17511
2005-08-24 12:21:18 +00:00
Filip Navara
22432ceb48 Fix the NDIS_RW_LOCK structure.
svn path=/trunk/; revision=17510
2005-08-24 12:20:59 +00:00
Filip Navara
6ba28fd06e Remove bogus and unneeded cast.
svn path=/trunk/; revision=17509
2005-08-24 09:50:18 +00:00
Royce Mitchell III
f9b0db47fe Replace() bugfix #2 - forgot to insert replacement text ( yes yes I suck you can stop throwing tomatoes now )
svn path=/trunk/; revision=17508
2005-08-24 06:03:34 +00:00
Royce Mitchell III
2a5ef2ef24 bugfix - Replace() was truncating the string
svn path=/trunk/; revision=17507
2005-08-24 06:01:02 +00:00
Royce Mitchell III
e5cc52e14b almost done converting _generate_dsp(), but have to quit for the night, so commiting what's done so far.
svn path=/trunk/; revision=17506
2005-08-24 05:58:14 +00:00
Royce Mitchell III
47b458eed1 new helper function Replace()
svn path=/trunk/; revision=17505
2005-08-24 05:50:21 +00:00
Royce Mitchell III
db03491cdc vc6 build files - just in case somebody else wants to use them
svn path=/trunk/; revision=17504
2005-08-24 04:00:37 +00:00
Steven Edwards
d708ff3ba3 remove a few of the Wine hacks
svn path=/trunk/; revision=17503
2005-08-24 03:56:25 +00:00
Royce Mitchell III
ff8f4e3c6a new top-level target 'msvc' to create msvc build files
svn path=/trunk/; revision=17502
2005-08-24 03:39:10 +00:00
Royce Mitchell III
a864a2c137 import wine's "msvcmaker" perl script and begin converting it to C++ - so far it creates the DSW file.
svn path=/trunk/; revision=17501
2005-08-24 03:38:20 +00:00
Royce Mitchell III
ed985615ec added some comments to illustrate the output of several path-related functions
svn path=/trunk/; revision=17500
2005-08-24 03:18:13 +00:00
Royce Mitchell III
ae5026eb5b fix to not crash when built with msvc6 ( bad calling convention on imports ).
fix error-handling bugs, added missing error-handling

svn path=/trunk/; revision=17499
2005-08-24 02:55:08 +00:00
Filip Navara
c905ca8a31 Get rid of one memory leak and two more ROS-only fields in LOGICAL_ADAPTER structure.
svn path=/trunk/; revision=17498
2005-08-24 02:20:41 +00:00
Filip Navara
82af9fdaa8 Start removing dead code and ReactOS specific structure fields (the NDIS structures are official, documented and contain all we need).
svn path=/trunk/; revision=17497
2005-08-24 01:51:49 +00:00
Filip Navara
f68e4fcc28 Fix few macros to work with the corrected declarations.
svn path=/trunk/; revision=17496
2005-08-24 00:04:21 +00:00
Royce Mitchell III
b696000363 remove incorrect comment (copy/paste error)
svn path=/trunk/; revision=17495
2005-08-23 23:20:23 +00:00
Filip Navara
1b15c0cf70 Get rid of NdisWorkItemHalt.
svn path=/trunk/; revision=17494
2005-08-23 23:08:40 +00:00
Royce Mitchell III
07b11a6760 msvc6 compatibility
svn path=/trunk/; revision=17493
2005-08-23 23:06:58 +00:00
Royce Mitchell III
431f66d687 proxy makefile for rbuild
svn path=/trunk/; revision=17492
2005-08-23 23:06:19 +00:00
Filip Navara
6b949b43ea Remove buffer pool implementation and replace buffer allocation with binary compatible functions (since some of them are macroized in DDK headers), other cosmetic changes.
svn path=/trunk/; revision=17491
2005-08-23 23:02:35 +00:00
Hervé Poussineau
ac0a5c446f Remove incorrect definition of NLS_MB_CODE_PAGE_TAG. The correct definition is 2 lines above.
svn path=/trunk/; revision=17490
2005-08-23 22:25:35 +00:00
Filip Navara
0a0c2fc103 Remove obsolete APIs and APIs that are actually implemented only as macros.
svn path=/trunk/; revision=17489
2005-08-23 22:24:54 +00:00
Filip Navara
f6283b4bca MS DDK compatibility fixes.
svn path=/trunk/; revision=17488
2005-08-23 22:11:03 +00:00
Filip Navara
4076e16a99 Shut up PREFAST warnings about shadowing declarations.
svn path=/trunk/; revision=17487
2005-08-23 20:18:55 +00:00
Filip Navara
eea6d92c91 Fix incorrect string manipulation in NdisOpenProtocolConfiguration and add few casts to make compiler happy.
svn path=/trunk/; revision=17486
2005-08-23 20:13:31 +00:00
Hartmut Birr
4a6a7d1ccc ReturnRecognizedPartitions in HalIoReadPartitionTable means that used and real partitions should be returned.
svn path=/trunk/; revision=17485
2005-08-23 17:43:58 +00:00
Hartmut Birr
b3f11cfb38 Fixed the calculation of the boot disk number in i386DiskGetSystemVolume.
We have to count all used partititions instead of the known one.

svn path=/trunk/; revision=17484
2005-08-23 17:42:12 +00:00
Hervé Poussineau
d373f6bfb0 Fix special case in SetupGetLineTextA/W and SetupGetStringFieldA/W when Buffer is NULL and BufferSize is 0, by reverting part of r17162
Fixes bug #724, spotted by GvG
Do according changes in SetupDiBuildDriverInfoList

svn path=/trunk/; revision=17483
2005-08-23 17:38:14 +00:00
Filip Navara
05c41b4d84 Name the proxy makefiles "GNUmakefile" instead of "makefile".
svn path=/trunk/; revision=17482
2005-08-23 14:56:38 +00:00
Gé van Geldorp
831c62d703 Rewrite project target
svn path=/trunk/; revision=17481
2005-08-23 14:51:03 +00:00
Filip Navara
9cb9ed7b8b Set the service group for i8042prt.
svn path=/trunk/; revision=17480
2005-08-23 14:26:00 +00:00
Alex Ionescu
f3f3986cdc use correct wait mode when checking alertability in KeDelayExecuteThread. thanks to gunnar for noticing the bug
svn path=/trunk/; revision=17479
2005-08-22 23:33:51 +00:00
Filip Navara
db6c51690e Actually break out of the wait loops if we got alerted.
svn path=/trunk/; revision=17478
2005-08-22 21:35:41 +00:00
Thomas Bluemel
38caf3038e rename IsKernelPointer to IsPointerOffset
svn path=/trunk/; revision=17477
2005-08-22 15:20:49 +00:00
Gunnar Dalsnes
453763e6eb move old cruft
svn path=/trunk/; revision=17476
2005-08-22 14:39:10 +00:00
Gunnar Dalsnes
035c4b73a1 prepare move old cruft
svn path=/trunk/; revision=17475
2005-08-22 14:26:37 +00:00
Thomas Bluemel
bd73d35e4d added a macro IsKernelPointer() to test whether a pointer value points to the kernel address space. This is needed because on IA-64 the MSB is not necessarily set for pointers to the kernel address space.
svn path=/trunk/; revision=17474
2005-08-22 13:38:30 +00:00
Filip Navara
27d68c7b2f Cleanup IoGetDmaAdapter and use HalGetDmaAdapter instead of HalGetAdapter.
svn path=/trunk/; revision=17473
2005-08-22 10:51:05 +00:00
Filip Navara
4fd4530977 Export the HalGetDmaAdapter callback and use some nice macros where appropriate.
svn path=/trunk/; revision=17472
2005-08-22 10:47:29 +00:00
Filip Navara
8872cc5e5d Add missing definitions for HalDispatchTable callbacks.
svn path=/trunk/; revision=17471
2005-08-22 10:29:51 +00:00
Filip Navara
a0b8ef87a8 Complete reimplementation of HAL DMA routines.
The key changes are
* Proper support for bus-master device adapters.
* Real implementation of map registers.
* Basic support for emulating scatter/gather DMA on
  devices that don't support it in hardware.
* Support for transfers that aren't page aligned.
* Proper detection and support of EISA DMA controllers.
* Fixed prototype for HalFlushCommonBuffer.

svn path=/trunk/; revision=17470
2005-08-22 08:39:42 +00:00
Brandon Turner
1fb85e029e Fix a CD bug spotted by ravelo_. This is simlair to bug 690. cd foo\"bar", cd "foo"\"bar"" and other of the sorts are all valid.
svn path=/trunk/; revision=17469
2005-08-21 20:44:47 +00:00
Steven Edwards
b1db227eed prompt to configure for Mingw after building project files
svn path=/trunk/; revision=17468
2005-08-21 19:35:19 +00:00
Thomas Bluemel
5e348c00c1 - use inlined probing macros for basic types
- minor optimizations by comparing the processor mode against KernelMode (==0) instead of UserMode (==1)

svn path=/trunk/; revision=17467
2005-08-21 19:04:23 +00:00
Thomas Bluemel
84f88f6480 use inlined probing macros for basic types
svn path=/trunk/; revision=17466
2005-08-21 17:38:07 +00:00
Filip Navara
632d85cc3b Replace wcsncpy with lstrcpynW / memcpy as appropriate.
svn path=/trunk/; revision=17465
2005-08-21 15:54:48 +00:00
Filip Navara
c2e747ed00 Fix implementation of wcsnlen and strnlen.
svn path=/trunk/; revision=17464
2005-08-21 15:51:57 +00:00
Filip Navara
dc4c46f7cc Fix buffer overflow in lstrcpynW and lstrcpynA.
svn path=/trunk/; revision=17463
2005-08-21 15:51:23 +00:00
Thomas Bluemel
10cd89fb4e - use inlined probing macros for basic types
- documented dozens of vulnerabilities in NtOpenThread, NtCreateThread and NtOpenProcess (owner may fix them)

svn path=/trunk/; revision=17462
2005-08-21 15:38:47 +00:00
Thomas Bluemel
6e74d05c08 add macros to probe basic type pointers
svn path=/trunk/; revision=17461
2005-08-21 15:14:36 +00:00
Thomas Bluemel
5d1efdc288 fixed uninitialized variable warning
svn path=/trunk/; revision=17460
2005-08-21 15:00:29 +00:00
Thomas Bluemel
c0e80c80f9 add prototypes of RtlDosPathNameToRelativeNtPathName_U and RtlReleaseRelativeName and export them
svn path=/trunk/; revision=17459
2005-08-21 14:58:47 +00:00
Steven Edwards
f0652f0b65 add fix it to build on linux
svn path=/trunk/; revision=17458
2005-08-21 14:41:20 +00:00
Steven Edwards
d45951b413 added a genguid helper function based on genguid by Jon Wilson. Will be needed later on when building project files.
svn path=/trunk/; revision=17457
2005-08-21 14:04:19 +00:00
Steven Edwards
b87887e917 ...I hate windows and its concepts of case in filenames...
svn path=/trunk/; revision=17456
2005-08-21 04:04:13 +00:00
Steven Edwards
ceef1f78ae add a more descriptive message about the state of the MSVC backend
svn path=/trunk/; revision=17455
2005-08-21 03:24:37 +00:00
Steven Edwards
fb2f0898bf started working on a msvc2k5 backend. Mostly a dummy atm based on the devcpp backend
svn path=/trunk/; revision=17454
2005-08-21 01:29:56 +00:00
Filip Navara
d08bee5539 Report the PCI bus type as PCIBus instead of Internal.
svn path=/trunk/; revision=17453
2005-08-20 23:50:06 +00:00
Brandon Turner
7677f95c2c optimize 17218 by using memmove instead of memcopy and not using _tcsncmp. Suggested by thomas.
svn path=/trunk/; revision=17452
2005-08-20 19:04:38 +00:00
Brandon Turner
bf127ab4fb Open err redirection the same as output redirection. Batch file does not need to be opened with FILE_FLAG_WRITE_THROUGH since it is read only, catch by thomas.
svn path=/trunk/; revision=17451
2005-08-20 18:30:25 +00:00
Brandon Turner
c7163ec449 Change the way batch files and output files are opened. They now allow write and delete while being excuted. This is how MS cmd is done. Thanks to Greatlord, Filip, Thomas.
svn path=/trunk/; revision=17450
2005-08-20 18:07:59 +00:00
Royce Mitchell III
1ad828873f added clean rule
svn path=/trunk/; revision=17448
2005-08-19 21:58:31 +00:00
Steven Edwards
565a32245f use instead of g++
svn path=/trunk/; revision=17447
2005-08-19 21:56:14 +00:00
Royce Mitchell III
4cdcc88ae0 spelling/grammar
svn path=/trunk/; revision=17446
2005-08-19 21:54:59 +00:00
Royce Mitchell III
07435bc9ca mingw makefile + more mingw compatibility fixes
svn path=/trunk/; revision=17445
2005-08-19 21:53:40 +00:00
Steven Edwards
999292611d ditto
svn path=/trunk/; revision=17444
2005-08-19 21:21:58 +00:00
Royce Mitchell III
595c382dbc mingw compatibility fixes
svn path=/trunk/; revision=17443
2005-08-19 21:21:05 +00:00
Steven Edwards
623af9cd28 mixed case sucks
svn path=/trunk/; revision=17442
2005-08-19 21:21:04 +00:00
Gé van Geldorp
927cbf4440 Add generation of 8bpp DIB code
svn path=/trunk/; revision=17441
2005-08-19 20:56:01 +00:00
Steven Edwards
ceb380247b Added support for MOVEFILE_DELAY_UNTIL_REBOOT, based on Wine code by Gerhard W. Gruber and others. Still requires smss to check the key.
svn path=/trunk/; revision=17440
2005-08-19 19:05:59 +00:00
Emanuele Aliberti
c84b875eac XML chunks are required to contain a single node.
svn path=/trunk/; revision=17438
2005-08-19 15:28:41 +00:00
Emanuele Aliberti
88d1bd4d58 Moved keyboard mappers need to picked up from the right place.
svn path=/trunk/; revision=17437
2005-08-19 15:27:39 +00:00
Emanuele Aliberti
d830459d8c Group keyboard mappers in a common directory, like CPLs.
svn path=/trunk/; revision=17436
2005-08-19 15:26:02 +00:00
Gé van Geldorp
a4c7ecd803 Import VMware open source BusLogic driver
Hartmut made it work in ReactOS.

svn path=/trunk/; revision=17434
2005-08-18 21:59:20 +00:00
Alex Ionescu
20d4ebeffc Fix boot
svn path=/trunk/; revision=17431
2005-08-18 21:25:04 +00:00
Magnus Olsen
9eeadb66ec implement errorlevel in some cmd command and bug fix some errorlevel command. Hopply it is last commit about errorlevel. Please can some test see if all cmd command have right errorlevel set or not set. I have not test every command if they got right errorlevel setting. But They should have it now.
svn path=/trunk/; revision=17430
2005-08-18 20:52:52 +00:00
Gé van Geldorp
a6b62e7c0d Add generation of 32bpp DIB code
svn path=/trunk/; revision=17429
2005-08-18 19:26:37 +00:00
Brandon Turner
106794e0ab make dir change errorlevel to 0 on success.
svn path=/trunk/; revision=17428
2005-08-18 15:21:57 +00:00
Brandon Turner
c7d3d9b183 Test commit, adding myself to the cmd credits.
svn path=/trunk/; revision=17427
2005-08-18 15:04:04 +00:00
Hartmut Birr
6888f719c5 Fixed the directory index for FATX in FATXAddEntry.
svn path=/trunk/; revision=17426
2005-08-18 11:51:27 +00:00
Hartmut Birr
f8cf29f8d0 Load the symbols from ntoskrn.exe from the boot cd, if it is possible.
svn path=/trunk/; revision=17425
2005-08-17 20:41:15 +00:00
Alex Ionescu
fa4888f2fc Add back MessageData to PQUEUED_MESSAGE. It was accidentally removed
svn path=/trunk/; revision=17424
2005-08-17 18:56:57 +00:00
Magnus Olsen
13b5d61c2c implemented batch redirection by saving batch info in tagBATCHCONTEXT by Brandon Turner
svn path=/trunk/; revision=17423
2005-08-17 18:01:47 +00:00
Gé van Geldorp
598f28ffad Samuel Bronson <naesten@gmail.com>:
Reduce the time it takes GDB to attach

svn path=/trunk/; revision=17422
2005-08-17 07:23:05 +00:00
Alex Ionescu
76f11b5f23 Add beginning of lpc docs
svn path=/trunk/; revision=17421
2005-08-17 07:07:43 +00:00
Alex Ionescu
e7d010c5de Major cleanup of NDK. I've decided that it would be much cleaner to accumulate all types, regardless of their um/km availabilty, into each header. Thus, umtypes.h now only contains the equivalent of ntdef.h and is automatically not-included if the DDK is. Similary, I've removed all the NTIFS hacks and added a single ifssupp.h file, which is automatically removed if the IFS is added. That file will be deleted then the Longhorn WDK is made public (it contains the IFS/DDK). Nothing has changed on the includer-side, the same rules still apply
svn path=/trunk/; revision=17420
2005-08-17 07:06:59 +00:00
Emanuele Aliberti
eacc9d1b3a Minor changes.
svn path=/trunk/; revision=17419
2005-08-17 06:14:55 +00:00
Andrew Munger
c9522f3ab8 Do not free a Critical Section we did not initialize. Fixes the silent UM exception I was seeing while trying to install VMWare tools. Patch by Filip.
svn path=/trunk/; revision=17418
2005-08-16 23:37:17 +00:00
Alex Ionescu
9f1cf7b990 Remove all non-official LPC structures/defines/hardcoded hacks, and use actual correct sizes and structures.
svn path=/trunk/; revision=17417
2005-08-16 23:05:33 +00:00
Emanuele Aliberti
81fe025857 Add a stub for NTDLL!CsrGetProcessId.
svn path=/trunk/; revision=17416
2005-08-16 22:16:09 +00:00
Hartmut Birr
75983b1ade - Fixed the offset calculation in MmWritePagePhysicalAddress and MmPageOutPhysicalAddress.
- Add some code which will check for adding of multiple rmap entries.

svn path=/trunk/; revision=17415
2005-08-16 20:36:03 +00:00
Hartmut Birr
37aea079c1 If we delete a page table, we have also to clear the entry in the page directory area explicitly. This may fix parts of bug #710.
svn path=/trunk/; revision=17414
2005-08-16 16:17:47 +00:00
Casper Hornstrup
459c10a65e module_test proxy makefile support
svn path=/trunk/; revision=17413
2005-08-16 15:47:38 +00:00
Casper Hornstrup
bf5462ac03 Change o to optional
svn path=/trunk/; revision=17412
2005-08-16 14:39:17 +00:00
Emanuele Aliberti
9544a940a9 Make NTDLL not bind automatically to the Win32 server.
This will allow other personality subsystem not to depend on Win32.

svn path=/trunk/; revision=17411
2005-08-16 14:24:00 +00:00
Steven Edwards
3bea619a9a Changes to get msi based installers mostly working
ConvertStringSecurityDescriptorToSecurityDescriptor[W/A] - implement based on Winehq code
InitiateSystemShutdownExW - add stub from Wine
Convert registry source file to use Wine debugging Macros

svn path=/trunk/; revision=17410
2005-08-16 05:17:06 +00:00
Filip Navara
51cbaf1419 Make KeFlushQueueApc return a standard cyclic linked list to save a few CPU cycles.
svn path=/trunk/; revision=17408
2005-08-16 00:01:42 +00:00
Alex Ionescu
19f76e91c6 - Remove the APC from the list and then set it as not inserted, instead of backwards.
svn path=/trunk/; revision=17407
2005-08-15 22:44:32 +00:00
Emanuele Aliberti
fc21544784 packlib.dll is DLL, not an EXE!
svn path=/trunk/; revision=17406
2005-08-15 21:06:07 +00:00
Emanuele Aliberti
1c1f104d0c Enlarge the Options buffer.
svn path=/trunk/; revision=17405
2005-08-15 19:53:00 +00:00
Emanuele Aliberti
db0350f4d0 Update the cabman manual.
svn path=/trunk/; revision=17404
2005-08-15 19:50:35 +00:00
Emanuele Aliberti
6dfef1d2d7 Semantic enhancement suggested by Casper Hornstrup (o==>optional).
Fix bug in the method CDFParser::PerformFileCopy (spotted by Sylvain Petreolle).

svn path=/trunk/; revision=17403
2005-08-15 19:46:47 +00:00
Royce Mitchell III
ab9cdfc5dd fix reference counting output to tell us caller's file and line #
svn path=/trunk/; revision=17402
2005-08-15 18:43:56 +00:00
Emanuele Aliberti
9ceeecd2bd Subsystem definitions: convert OS/2 and POSIX to new CSR.
svn path=/trunk/; revision=17401
2005-08-15 17:31:33 +00:00
Emanuele Aliberti
b96f07443c Add winemine.
svn path=/trunk/; revision=17400
2005-08-15 17:30:20 +00:00
Emanuele Aliberti
5b5d163023 Add new CSR and new Win32 server as optional (subsys/csr, subsys/win).
Add images from the optional modules (rosapps,os2,posix,rosky,vms).

svn path=/trunk/; revision=17399
2005-08-15 17:04:34 +00:00
Hartmut Birr
8bb6155fdb Fixed a terminating NULL in IoRegisterDeviceInterface.
svn path=/trunk/; revision=17397
2005-08-15 16:47:15 +00:00
Emanuele Aliberti
a0fb1d3891 CABMAN: add support for optional files (they are listed in the reactos.dff, but may not exist in the output-??? directory).
svn path=/trunk/; revision=17396
2005-08-15 16:41:43 +00:00
Steven Edwards
54bd458644 Changelog:
MSAFD: Add PCH support, PSDK fixes
MISC: Fix everything to build with PSDK changes
PSDK Fixes:
w32api/include/ssdl.h - reimplement based on Wine header which was more correct
w32api/include/ntsecapi.h - Remove duplicate structures and add typedef
w32api/include/winnt.h - add constant and missing structure
w32api/include/winioctl.h - add missing IOCTL code
w32api/include/winbase.h - add missing function declariation
w32api/include/aclui.h - remove duplicate structure

svn path=/trunk/; revision=17394
2005-08-15 02:24:48 +00:00
James Tabor
89d916e2c9 Create Usb bulk storage template.
svn path=/trunk/; revision=17390
2005-08-14 22:27:15 +00:00
Gé van Geldorp
69594926a7 Have vmwinst add back the registry entries which were so brutally removed.
This doesn't fix the problem completely though, blocked by the problem
described here:
http://reactos.com:8080/archives/public/ros-dev/2005-August/004558.html

svn path=/trunk/; revision=17389
2005-08-14 21:44:58 +00:00
Gé van Geldorp
33904bcc83 index is 1-based at this point, index == line->nb_fields is the last
field and is valid

svn path=/trunk/; revision=17388
2005-08-14 20:22:37 +00:00
James Tabor
7d093589b4 Implemented USBD_ParseConfigurationDescriptorEx and USBD_ParseDescriptors for bulkusb driver testing.
svn path=/trunk/; revision=17382
2005-08-14 13:18:50 +00:00
Magnus Olsen
6f3cd1ce3e change CMDLINE_LENGTH to 8192 to keep rbuild happy until dymatic alloc are in place
svn path=/trunk/; revision=17380
2005-08-14 09:14:53 +00:00
Royce Mitchell III
a6f00340b4 WINAPI -> STDCALL, plus fix/expound documentation
svn path=/trunk/; revision=17379
2005-08-14 04:36:36 +00:00
Royce Mitchell III
ffa5fea7b6 implement DbgPrintEx, vDbgPrintEx, and vDbgPrintExWithPrefix
svn path=/trunk/; revision=17378
2005-08-14 04:24:01 +00:00
Royce Mitchell III
199bb66de3 fix declaration of DbgQueryDebugFilterState()
svn path=/trunk/; revision=17377
2005-08-14 04:22:07 +00:00
Martin Fuchs
db5b22a857 Project file maintainance
svn path=/trunk/; revision=17373
2005-08-13 17:29:38 +00:00
Martin Fuchs
cfccce8fda prepare for ANSI builds
svn path=/trunk/; revision=17372
2005-08-13 17:24:50 +00:00
Martin Fuchs
7121be53f2 Project file maintainance
svn path=/trunk/; revision=17371
2005-08-13 16:04:29 +00:00
Martin Fuchs
e2f582841b Winefile Makefile for pure MinGW
svn path=/trunk/; revision=17370
2005-08-13 16:04:08 +00:00
Martin Fuchs
5729cb615a remove special handling of previous MinGW versions
svn path=/trunk/; revision=17369
2005-08-13 13:21:27 +00:00
Emanuele Aliberti
33d084e118 Implement csrsrv!CsrSrvInitializeServerDll based on current code from CsrpInitWin32Csr (partial).
Note: it currently works only for servers with 1 ServerDll, because the entrypoint's name is a literal.

svn path=/trunk/; revision=17368
2005-08-13 13:21:28 +00:00
Royce Mitchell III
ecb6afadcc BCB tracing implementation
svn path=/trunk/; revision=17367
2005-08-13 13:16:16 +00:00
Royce Mitchell III
a2525f8275 function declaration to enable/disable BCB tracing
svn path=/trunk/; revision=17366
2005-08-13 13:13:05 +00:00
Royce Mitchell III
864eea72ca variable to enable per-BCB debugging
svn path=/trunk/; revision=17365
2005-08-13 13:11:59 +00:00
Emanuele Aliberti
ce468cd74a Conform to the new CSR_PROCESS and CSR_THREAD.
svn path=/trunk/; revision=17364
2005-08-13 12:46:37 +00:00
Emanuele Aliberti
f17be37700 Alex Ionescu: CSR_PROCESS and CSR_THREAD layout from WinDBG.
svn path=/trunk/; revision=17363
2005-08-13 12:45:33 +00:00
Emanuele Aliberti
430f07c8ca Begin making the 'posix' module conform to rbuild.
svn path=/trunk/; revision=17362
2005-08-13 12:35:00 +00:00
Emanuele Aliberti
4077565304 Minor changes.
svn path=/trunk/; revision=17361
2005-08-13 12:33:04 +00:00
Emanuele Aliberti
39fa853b50 Make 'rosapps' module build.
svn path=/trunk/; revision=17360
2005-08-13 12:25:16 +00:00
Magnus Olsen
821068b0c7 small clean up. remove double define of COPY_FILE_FAIL_IF_EXISTS and COPY_FILE_RESTARTABLE
svn path=/trunk/; revision=17359
2005-08-13 12:09:34 +00:00
Hartmut Birr
c2df09cd88 Fixed _WINBASE_/_WINBASE_H
svn path=/trunk/; revision=17358
2005-08-12 23:35:14 +00:00
Aleksey Bragin
81d3bd9f54 Correct include tree, fixing multiple defines.
svn path=/trunk/; revision=17355
2005-08-12 21:01:32 +00:00
Emanuele Aliberti
84217b8390 Correct version info.
svn path=/trunk/; revision=17354
2005-08-12 20:57:26 +00:00
Emanuele Aliberti
88a218b3f6 OS/2: more changes to make it conform to rbuild.
svn path=/trunk/; revision=17353
2005-08-12 20:55:07 +00:00
Aleksey Bragin
ebfff39168 Xbox hack added, so two exactly the same PCI devices (OHCI controllers) have different locations. Without it USB drivers won't work at all.
svn path=/trunk/; revision=17352
2005-08-12 20:29:01 +00:00
Aleksey Bragin
39007f77e2 Major additions to usb stack:
1) Improve hardware support in linux_wrapper
2) Add embedded drivers, register them in linux usb stack
3) Add working wrapper for keyboard and mouse devices - now if usbohci or uhci loads, it will be the first to create KeyboardClass0 and PointerClass0 devices, so PS/2 keyb/mouse won't work.
4) Added logic for registering miniport at port driver (like Windows' usb stack does)

Bad things:
1) "multithreading" is still done not the proper way, but ugly way
2) under xbox xpad doesn't work
3) it must be wasting lots of CPU power now, since hub thread doesn't block while waiting for events

svn path=/trunk/; revision=17351
2005-08-12 20:21:22 +00:00
Aleksey Bragin
c79bfba64d removed debug message about submitting urb
svn path=/trunk/; revision=17350
2005-08-12 20:11:56 +00:00
Aleksey Bragin
17cc83e8b5 USB keyboard and mouse "embedded" drivers from cromwell and linux 2.5.0 usb stack adapted to our stack.
svn path=/trunk/; revision=17349
2005-08-12 19:54:40 +00:00
Emanuele Aliberti
98051c3a59 OS/2: begin converting the subtree to rbuild.
svn path=/trunk/; revision=17348
2005-08-12 19:22:42 +00:00
Emanuele Aliberti
222891f5a8 Correct the version info.
svn path=/trunk/; revision=17347
2005-08-12 19:15:01 +00:00
Gé van Geldorp
a8308edaa4 Update status
svn path=/trunk/; revision=17345
2005-08-12 19:08:45 +00:00
Hervé Poussineau
e5b47d0df9 Implement SetupDiCallClassInstaller (still doesn't support custom class installers/co-installers)
Implement SetupDiGetDeviceInstallParamsA by calling SetupDiGetDeviceInstallParamsW. Add stub for SetupDiGetDeviceInstallParamsW
Basic implementation of SetupDiSelectBestCompatDrv (selects first driver of the list)
Add stubs for SetupDiInstallDriverFiles, SetupDiRegisterCoDeviceInstallers, SetupDiInstallDeviceInterfaces, SetupDiInstallDevice

svn path=/trunk/; revision=17344
2005-08-12 19:03:35 +00:00
Hervé Poussineau
905e145f73 Always set a valid class Guid in CreateDeviceInfoElement
Fix interfaces enumeration by not copying cbSize field (it should already be correct)

svn path=/trunk/; revision=17343
2005-08-12 19:00:04 +00:00
Gé van Geldorp
013ea78e1d Sync to Wine-20050725:
Thomas Weidenmueller <wine-patches@reactsoft.com>
- IsThemeDialogTextureEnabled should have one parameter to match the
  prototype in the official headers.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).
Stefan Huehner <stefan@huehner.org>
- Make some function static.
- Fix -Wmissing-declarations warnings.
Frank Richter <frank.richter@gmail.com>
- Enable/disable "flat menus" based on the setting from the active
  theme.
- Have the theme INI file parsed upon theme activation and not just when
  the first theme data is requested; that way, the themed system colors
  are set correctly from the start, and not just after some theme data
  was requested.
- GetThemeBackgroundContentRect() does not use the content margins
  alone, it also falls back to the border size or sizing margins, and if
  it can't find any possible margins at all, it returns the original
  rectangle.
- Make dialog theme texture setting non-global (ie a per-window
  setting).
- Better viewport origin in DrawThemeParentBackground().
- OpenThemeData() now always sets the window theme to the handle
  returned (even if that is NULL) - previously, it could happen that
  when no theme was active or the theme data could not be opened that
  the window theme remained became then-dangling (and hence subsequent
  calls to GetWindowTheme() would return that bogus theme).
- Correct border rectangle drawing.
- Don't crash if NULL is passed as the class list to OpenThemeData().
- UXTHEME_LoadImage(): Set default image count to 1 to avoid division by
  zero in case image count property is not given. Properly support 0
  state IDs.
- Every window needs to receive WM_THEMECHANGED (esp. controls), so also
  send it to child windows.
- Changed the default transparent color in case none was explicitly
  specified from the upper left pixel color to magenta. Empirically
  gives better results.
- Write WCHAR strings to registry with correct size.
- Opening some theme class data now also increases the reference count
  of the theme file, so as long as theme class data is still opened
  somewhere, the theme file won't get freed. Otherwise, it could happen
  that invalid class data was used, which could lead to problems.

svn path=/trunk/; revision=17342
2005-08-12 18:22:47 +00:00
Gé van Geldorp
dbd7ad25e3 Sync to Wine-20050725:
Felix Nawothnig <felix.nawothnig@t-online.de>
- Fix misuse of UrlCombineW.
Mike McCormack <mike@codeweavers.com>
- Fix -Wpointer-sign warnings.
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- URLMonikerImpl_BindToStorage: Don't use a HeapAllocated pointer for
  other purposes.
- URLMonikerImpl_BindToStorage: Escape special characters.
Jacek Caban <jack@itma.pwr.wroc.pl>
- Register protocols.
- Better module locking.
- Fix handling of pmkContext in CreateURLMoniker.

svn path=/trunk/; revision=17341
2005-08-12 18:17:37 +00:00
Gé van Geldorp
66359f3c63 Sync to Wine-20050725:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).

svn path=/trunk/; revision=17340
2005-08-12 18:09:06 +00:00
Gé van Geldorp
b063f039ec Sync to Wine-20050725:
Mike McCormack <mike@codeweavers.com>
- Interlocked LONG* gcc warning fixes.

svn path=/trunk/; revision=17339
2005-08-12 18:06:58 +00:00
Gé van Geldorp
9ba9b8ed9a Sync to Wine-20050725:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Initial support for the IPersistFolder3 interface.
- Use CP_UNIXCP instead of CP_ACP when converting paths (Pointed out by
  Troy Rollo).
- Add file type column in detailed shell view.
- Make the order of shell view columns 'prefix-compatible' with
  shfldr_fs.
- Don't remove filename extensions for path pidls in GetDisplayNameOf.
- Do filename postprocessing in GetDisplayNameOf (Hide filename
  extensions if appropriate).
- Don't cache child pidls in UnixFolder, but create them on the fly.
- Don't use unix filesystem specific attributes in UnixFolder's pidls.
- Partially implemented UnixFolder's ISFHelper::CopyItems method.
- Return correct HRESULT code in UnixFolder's IEnumIDList::Next.
- Corresponding test.
- Release shell folders only if they were successfully acquired.
- Implemented UnixFolder's ISFHelper::DeleteItems interface.
- Fail in SHGetDataFromIDList when called on special folder.
- Return correct attributes in ParseDisplayName.
- Register unixfs at desktop level in DllRegisterServer.
- Fix two more corner cases in UNIXFS_get_unix_path and UNIXFS_path_to_pidl.
- If the unixfs is rooted at the Desktop folder, forward
  ParseDisplayName calls to it instead of to MyComputer.
- Only initialize shell folders via the IPersistFolder3 interface in
  SHELL32_CoCreateInitSF if the pidl which specifies the child is of
  type 'Folder'. Otherwise fall back to IPersistFolder.
- Append filename extension if necessary in IShellFolder::SetNameOf.
- Release parent shell folder in GetAttributesOf.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Robert Shearman <rob@codeweavers.com>
- Implement ShellDDEInit.
Michael Lin <mlin@corvu.com.au>
Michael Jung <mjung@iss.tu-darmstadt.de>
- Implemented UnixFolder's ISFHelper::AddFolder.
- ISFHelper interface support for UnixFolder (currently only stubs).
- Implemented UnixFolder's IShellFolder::SetNameOf.
Vincent Béron <vberon@mecano.gme.usherb.ca>
- Remove multiple declarations of the same function, keeping the public
  one as reference.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).
- -Wpointer-sign fixes.
Troy Rollo <wine@troy.rollo.name>
- Return attributes for the correct file in the unixfs ParseDisplayName.
- When using PATHMODE_UNIX, all files are in the file system.
Marcelo Duarte <marcelotduarte@gmail.com>
- Update shell32 resources for Portuguese.
Detlef Riekenberg <wine.dev@web.de>
- Printers_RegisterWindowW / Printers_UnregisterWindow implemented as
  stub.
- Show the FIXME in Printer_LoadIconsW only when needed.
- Printer_LoadIconsW: implemented minimal version.

svn path=/trunk/; revision=17338
2005-08-12 18:04:51 +00:00
Gé van Geldorp
95a149a8df Sync to Wine-20050725:
Francois Gouget <fgouget@free.fr>
- Fix the NdrVaryingArrayUnmarshall prototype (reported by
  winapi_check).
- Assorted spelling fixes.
Robert Shearman <rob@codeweavers.com>
- Add stubs for most of the NDR marshaling functions.
- IRpcStubBuffer_Disconnect can be called more than once.
Mike McCormack <mike@codeweavers.com>
- Interlocked LONG* gcc warning fixes.
Stefan Huehner <stefan@huehner.org>
- Fix -Wmissing-declarations warnings.
- Fix some missing-declarations warnings.

svn path=/trunk/; revision=17337
2005-08-12 17:50:33 +00:00
Emanuele Aliberti
8df355e8a6 XML chunks are required to contain a single node.
svn path=/trunk/; revision=17336
2005-08-12 17:43:23 +00:00
Gé van Geldorp
6dd32969d0 Sync to Wine-20050725:
Phil Krylov <phil@newstar.rinet.ru>
- Added some useful TRACEs.
- Allow NULL parameter for WM_SETTEXT in RichEdit.
- Implemented EM_LINELENGTH RichEdit message.
- Fixed EM_LINEINDEX handler and added EM_LINEFROMCHAR handler.
- Implemented EM_EXLINEFROMCHAR, EM_LINEINDEX, EM_FINDTEXT,
  EM_FINDTEXTW, EM_FINDTEXTEX, and EM_FINDTEXTEXW messages.
- Fixed a comment about EM_STREAMIN.
- Implemented EM_GETLINECOUNT RichEdit message.
- Fixed EM_GETCHARFORMAT for selection containing a single character.
- Fixed an off-by-one error in EM_GETLINECOUNT handler.
- Fixed an off-by-one error in EM_STREAMOUT handler for non-Unicode
  plain text output.
- Fixed another couple of EM_STREAMOUT bugs.
- Removed junk from UTF-8 RTF output.
- Added emulation of RichEdit 1.0 behaviour when the 1.0 window class is
  being used. This emulation (introduced in M$ RichEdit 3.0) counts
  paragraph endings as 2 characters (CR+LF) instead of 1 (CR).
- Added EM_GETZOOM and EM_SETZOOM RichEdit message handlers.
- Added some missing but useful items to the TODO list.
Felix Nawothnig <felix.nawothnig@t-online.de>
- Check structure size and fix return values in EM_GETCHARFORMAT.
Aric Stewart <aric@codeweavers.com>
- Implementation for EM_GETTEXTEX.
Daniel Remenak <dtremenak@gmail.com>
- Basic handling of EM_SETTEXTEX.
Stefan Huehner <stefan@huehner.org>
- Make functions static to fix -Wmissing-declarations warnings.
- Change some char* to const char* to fix warnigns.
- Make some function static.
- Fix -Wmissing-declarations warnings.

svn path=/trunk/; revision=17335
2005-08-12 17:41:40 +00:00
Gé van Geldorp
e97f6fb328 Sync to Wine-20050725:
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).

svn path=/trunk/; revision=17334
2005-08-12 17:34:06 +00:00
Gé van Geldorp
a48a2273ec Sync to Wine-20050725:
Huw Davies <huw@codeweavers.com> for Mandriva
- Cope with the index in a import table entry being a typeinfo index
  rather than a guid offset.
Robert Shearman <rob@codeweavers.com>
- Document active object and variant functions.
- Rename OLEAUT32_Dll* Functions to Dll*.
- IRpcStubBuffer_Disconnect can be called multiple times.
- Release TypeLib when freeing stub buffer.
- Fix confusion between number of characters and number of bytes in
  unmarshaling BSTRs. Convert it all to characters for consistency with
  the BSTR_User* routines.
- Marshal and unmarshal TKIND_ENUM and TKIND_ALIAS.
- Fix VT_BYREF|VT_UNKNOWN return values by comparing the correct value
  with VT_UNKNOWN and VT_DISPATCH.
- Better tracing.
- Return DISP_E_EXCEPTION from ITypeInfo_Invoke on an error in the
  called function.
- Remove RegisterTypeLib hack.
- Support VT_BYREF|VT_I4 in _copy_arg.
- Activate ITypeLib, ITypeInfo and IEnumVARIANT Marshalers.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Fix GIF palette allocation, by relying on ColorCount instead of
  SColorResolution.
- Ensure that underflowing negative float is represented as a positive
  0, just as native oleaut32.
Alexandre Julliard <julliard@winehq.org>
- Get rid of cursoricon.h.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).
- Interlocked LONG* gcc warning fixes.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wmissing-declarations warnings.
Robert Shearman <rob@codeweavers.com> for Mandriva
- Add a generic TYPEDESC VT to VARIANT VT mapper so we can use the
  standard Variant* routines. Use this new function to properly copy &
  de-reference the return value.
- Conversions between variants types of the same size should ignore
  overflows.
- Tests for this behaviour.

svn path=/trunk/; revision=17333
2005-08-12 17:30:09 +00:00
Gé van Geldorp
7835b350bb Sync to Wine-20050725:
Robert Shearman <rob@codeweavers.com>
- Marshal return value from IRemUnknown_RemQueryInterface.
- We should be starting with 1 reference.
- IRpcStubBuffer_Disconnect can be called more than once.
- Silence now noisy error messages caused by changes in the way we call
  ipid_to_stubmanager. Move the error message to the one place it is
  needed.
- By-pass the RPC runtime if possible when calling an STA by posting a
  message directly to the apartment window for it to process. Fixes a
  deadlock in InstallShield caused by having to create a thread when
  freeing an object that comes from an STA apartment. Added tests that
  fail without this fix.
- Hack around broken state management so InstallShield works.
- Delete the stub manager outside of the apartment critical section
  because the deletion may require the object to re-enter the
  apartment.
- Always query for the correct stub interface, otherwise we will be
  pointing to the completely wrong object when a proxy does a
  queryinterface.
- Remove assumption that the stub buffer will handle the lifetime of
  the object.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Initialize RegisteredClass properly in CoRegisterClassObject to
  prevent crash in CoRevokeClassObject when accessing (uninitialized)
  pMarshalledData.
Mike McCormack <mike@codeweavers.com>
- Fix gcc 4.0 -Wpointer-sign warnings.
Vitaly Lipatov <lav@etersoft.ru>
- Added some documentation.
Stefan Huehner <stefan@huehner.org>
- Fix some missing-declarations warnings.
Marcus Meissner <meissner@suse.de>
- 16bit interfaces are cdecl, so drop the WINAPI.
- 16bit COM interfaces are cdecl, not WINAPI.
- OleInitializeWOW gets 2 arguments.
- Added OleSetMenuDescriptor16 stub.
Marcus Meissner <marcus@jet.franken.de>
- Implemented IsValidInterface16, CoMemAlloc.
  Added debug to HGLOBALLockBytes16_QueryInterface.

svn path=/trunk/; revision=17332
2005-08-12 17:19:46 +00:00
Gé van Geldorp
5b9aceccd3 Sync to Wine-20050725:
Robert Shearman <rob@codeweavers.com>
- In MsiLocateComponent pcchBuf can be NULL so don't try to dereference
  it.
Alexandre Julliard <julliard@winehq.org>
- Use the official names for the Unicode string constants.
Aric Stewart <aric@codeweavers.com>
- Implement MsiGetLanguage.
- Relocate the msi file to prevent cd locking, corrected to properly not
  try to relocated #nnnn handles as files.
- Use the SourceList functions to get the source path in
  ConfigureProductExW.
- Handle installs off multiple volumes and properly pull the prompt
  string from the error table.
- If MsiGetProperty(A/W) is called with a NULL for the value buffer but
  a value in the size for the value buffer, then Msi fills in the size
  of the value into the pointer for size.  This is tested and confirmed
  with native MSI.
- Bail out if the reg key is empty. This prevents us from writing
  garbage to the property table.
- Properly resize the buffer based on ERROR_MORE_DATA.
  Also remember to free the allocated buffer.
- Further testing shows that when CustomActionData needs to be blank it
  is an empty string not ' '.
- Correct an error where I was not properly advancing a pointer.
- Add source.c to start handling the various MsiSourceList apis used in
  v3 of MSI, and now internally.
- Update files.c to use the MsiSourceList apis to make sure our
  SourceList keys in the registry are included and correct.
- Use the strings defined in msi.h.
- Use SOURCEDIR instead of PackagePath. Because the PackagePath may be
  local, while SOURCEDIR is more proper and will be a full directory.
- InstallShield does a number of actions using DoAction before the
  Install starts so the PackageCode needs to be loaded on OpenPackage
  instead of the beginning of the install process.
- When working toward install on demand support we need to reset all the
  constant values so that multiple install process do not get confused
  by leftover values from the previous install.
- Fill and use the ProductCode part of the MSIPACKAGE structure.
- Add the string constants located in msi.h and make use of them in
  files.c and source.c.
- Keep track of what sequence we are in and register unique
  actions. This allows us to make sure actions and custom actions
  flagged to run only once, actually run only once.
- Also clean up some of the numeric constants in custom.c using the
  defined values from msidefs.h.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
- Display icons in buttons that have them.
- Use LoadImage to load bitmaps and icons.
- Set the initial focus on the control specified by Control_First in the
  Dialog table.
- Move to the next mask edit field when the current one becomes full.
- Make the tab order in msi dialogs right.
- Don't crash when cancelling out of a modeless dialog.
- Stop the install when cancelling from a modeless dialog.

svn path=/trunk/; revision=17331
2005-08-12 17:07:28 +00:00
Gé van Geldorp
caa4e5c6ee Sync to Wine-20050725:
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).

svn path=/trunk/; revision=17330
2005-08-12 16:59:41 +00:00
Royce Mitchell III
32ca0b0274 check for failure of vfatAttachFCBToFileObject() during file creation
svn path=/trunk/; revision=17328
2005-08-12 16:49:04 +00:00
Gé van Geldorp
25afeebf54 Sync to Wine-20050725:
Huw Davies <huw@codeweavers.com>
- Add English neutral version of IDS_COLOR_GRAY.
Eugeny Gorelov <tft@etersoft.ru>
- Implement most functionality of PageSetupDlg function.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Don't expand MyComputer in the file dialogs without user interaction,
  if unixfs is rooted at desktop.
Henning Gerhardt <henning.gerhardt@web.de>
- Update German resource files.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Remove multiple declarations of the same function, keeping the public
  one as reference.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
- Fix declarations.

svn path=/trunk/; revision=17327
2005-08-12 16:47:29 +00:00
Gé van Geldorp
e98f97ee9f Sync to Wine-20050725:
Vitaliy Margolen <wine-patch@kievinfo.com>
- Send CDDS_ITEMPOSTERASE | CDDS_PREPAINT notify.
Felix Nawothnig <felix.nawothnig@t-online.de>
- Move DPA and DSA functions out of comctl32undoc.c as they are
  documented by now.
- Fix some DPA functions so they pass the new tests.
- Don't invalidate the whole propsheet when the page is switched.
Dimi Paun <dimi@lattica.com>
- Silence uninitialized warnings.
Robert Shearman <rob@codeweavers.com>
- Call SetBkMode with the correct value from the NMTBCUSTOMDRAW
  structure.
- Don't fill the NMTBCUSTOMDRAW structure in again for
  CDDS_POSTPAINT.
- Remove redundant bBtnTransprnt value.
- Height is now calculated based on the number of rows, not on the
  bounding rect.
- Only call CalcToolbar in AutoSize if it has TBSTYLE_WRAPABLE or
  TBSTYLE_EX_UNDOC1 set.
- Remove a bad test in SetButtonWidth that fixes a regression from the
  above change in IE.
- Remove unnecessary nHeight data.
- Remove duplicated code in Size by calling AutoSize.
- Remove unnecessary bAutoSize value because SetWindowPos doesn't
  generate WM_SIZE when there is nothing to do on both Windows and
  Wine.
- TBSTATE_INDETERMINATE only takes effect if the button is enabled,
  otherwise it should just appear like any other disabled button.
- Native autosizes on inserting/adding buttons, so we should too.
- The IsValidImageList test is not needed because if it isn't a valid
  image list we will have set the bitmap width and height to 1 and it
  does the wrong thing when no buttons are present.
- The calculated button height should include the text height when no
  buttons are present.
- Handle CopyImage and other functions failing by not adding the icon
  and notifying the caller.
Thomas Weidenmueller <wine-patches@reactsoft.com>
- Support PSH_WIZARDHASFINISH in wizards.
- Correct tab order of the wizard buttons.
- Support PSM_IDTOINDEX.
Aric Stewart <aric@codeweavers.com>
- When adding an image copy the full previous buffer.
- Implement replacing an icon with one from a resource.
Kevin Koltzau <kevin@plop.org>
- Forward some header notifications to parent of listview.
Frank Richter <frank.richter@gmail.com>
- Enabled "tab" dialog texture for property sheet pages.
- Add theming support for header controls.
- Use theming for the ListView non-client area.
- Let property sheets update the cached system colors upon receiving
  WM_SYSCOLORCHANGE.
- Add theming for the up/down control.

svn path=/trunk/; revision=17326
2005-08-12 16:31:56 +00:00
Emanuele Aliberti
420b109b72 Make the 'rosky' optional module compile.
svn path=/trunk/; revision=17325
2005-08-12 13:46:36 +00:00
Emanuele Aliberti
d12532191d Add 'rosky' module.
svn path=/trunk/; revision=17324
2005-08-12 12:31:33 +00:00
Emanuele Aliberti
6d095fd4bb CSR Reloaded... well, split.
- almost do-nothing base source code for new CSR server DLLs host
- base source code for the core CSR server DLL 'csrsrv.dll' (server 0)
- base source code for the base WIN server DLL 'basesrv.dll' (server 1)
- base source code for the console+user WIN server DLL 'winsrv.dll' (servers 3 and 2)


NOTES
- At present, nothing works, but compilation is OK, sorry.
- The program is temporarily named 'csr.exe' to coexist with current monolithic 'csrss.exe'.
- Code, hints, suggestions, and migration plans welcome! (post 0.3)

svn path=/trunk/; revision=17323
2005-08-12 12:22:02 +00:00
Hartmut Birr
65c59875e1 Set the process exit status.
svn path=/trunk/; revision=17322
2005-08-12 12:10:33 +00:00
Hartmut Birr
ed43d4bddd Fixed compilation.
svn path=/trunk/; revision=17321
2005-08-11 21:56:28 +00:00
Emanuele Aliberti
af7edaaf75 Minor changes to some API signatures.
svn path=/trunk/; revision=17320
2005-08-11 21:46:37 +00:00
Hervé Poussineau
0c6db72406 Input parameter in FSCTL_GET_RETRIEVAL_POINTERS is really a STARTING_VCN_INPUT_BUFFER structure (even if it contains only a LARGE_INTEGER)
svn path=/trunk/; revision=17319
2005-08-11 21:29:37 +00:00
Hervé Poussineau
733f1ba80d BYTE -> UCHAR. Thanks Alex
svn path=/trunk/; revision=17318
2005-08-11 21:25:28 +00:00
Hervé Poussineau
b8cfafc6b8 Add STARTING_LCN_INPUT_BUFFER and VOLUME_BITMAP_BUFFER structures
Remove #pragma pack/pop around RETRIEVAL_POINTERS_BUFFER as it should be standard-packed according to Alex.

svn path=/trunk/; revision=17317
2005-08-11 21:20:42 +00:00
Gé van Geldorp
67b5536716 Revert last Wine sync to pidl.c, since it breaks SHGetPathFromIDListW. Fixes
bug 697

svn path=/trunk/; revision=17316
2005-08-11 21:09:56 +00:00
Filip Navara
2967654c88 Implement NdisAllocatePacketPool by calling NdisAllocatePacketPoolEx.
svn path=/trunk/; revision=17315
2005-08-11 20:48:55 +00:00
Hartmut Birr
6e338ed990 Replaced _WINBASE_ by _WINBASE_H because some headers depends on _WINBASE_H.
svn path=/trunk/; revision=17314
2005-08-11 20:48:55 +00:00
Eric Kohl
7b869f437f The RpcFinally block must always be executed. Otherwise, RPC code will leak allocated buffer memory.
svn path=/trunk/; revision=17313
2005-08-11 20:45:41 +00:00
Hartmut Birr
e9beb0d3eb Moved the pragma to the correct position.
svn path=/trunk/; revision=17312
2005-08-11 20:44:04 +00:00
Emanuele Aliberti
3119900771 A more likely demo VMS server (it should not block, because it is chain-called from the listenig thread in csrsrv.dll.
svn path=/trunk/; revision=17311
2005-08-11 20:43:24 +00:00
Hartmut Birr
749cee8834 Use GetLocalTime instead of GetSystemTime.
svn path=/trunk/; revision=17310
2005-08-11 20:41:20 +00:00
Hartmut Birr
f17e695843 Don't query on batch files.
svn path=/trunk/; revision=17309
2005-08-11 20:39:28 +00:00
Hartmut Birr
d921a7ca15 Clear the memory after we know that the buffer was allocated.
svn path=/trunk/; revision=17308
2005-08-11 20:37:09 +00:00
Hartmut Birr
20731f1883 - Implemented MEMORY_AREA_PEB_OR_TEB and MEMORY_AREA_PAGED_POOL for MiQueryVirtualMemory.
- Fixed the range check in ProbeForRead and ProbeForWrite.

svn path=/trunk/; revision=17307
2005-08-11 20:35:00 +00:00
Hartmut Birr
b4315630d7 - Removed the hole pool allocation, because it needs to much memory and ros will not boot.
- Allocate short blocks in one page.  
- Split the used and free header. It makes it easier to implement a red zone check.

svn path=/trunk/; revision=17306
2005-08-11 20:29:08 +00:00
Hartmut Birr
bae5d406c1 Fixed a debug message.
svn path=/trunk/; revision=17305
2005-08-11 20:23:13 +00:00
Hartmut Birr
312f880b0f Reenabled a debug message.
svn path=/trunk/; revision=17304
2005-08-11 20:18:24 +00:00
Hartmut Birr
2d99925f41 Implemented (copied from NdisAllocatePacketPool) NdisAllocatePacketPoolEx.
svn path=/trunk/; revision=17303
2005-08-11 20:16:03 +00:00
Hervé Poussineau
41890ed14b Remove debug output and some useless code
Replace false by FALSE

svn path=/trunk/; revision=17302
2005-08-11 20:13:26 +00:00
Hervé Poussineau
d240d7dec7 Add DIF_* codes 40 to 42.
Reformat the whole list to align values

svn path=/trunk/; revision=17301
2005-08-11 20:13:16 +00:00
Hervé Poussineau
42551c5494 Move usb controllers and cdrom classes parameters to their own .inf files. They would be regenerated during 2nd stage setup
Fix a typo in mouse.inf

svn path=/trunk/; revision=17300
2005-08-11 20:13:06 +00:00
Hartmut Birr
ad52723693 Initialized the cnt value of the file structure.
svn path=/trunk/; revision=17299
2005-08-11 19:52:33 +00:00
Hartmut Birr
dbabadad17 Defined DbgPrint.
svn path=/trunk/; revision=17298
2005-08-11 19:49:47 +00:00
Hartmut Birr
b393d573db Fixed the loading of the global flag.
svn path=/trunk/; revision=17297
2005-08-11 19:46:39 +00:00
Hartmut Birr
8b3fa3e5d1 - Open the BaseNamedObjects directory case insensitive.
- Interpret INVALID_HANDLE_VALUE for the console handle as NULL.

svn path=/trunk/; revision=17296
2005-08-11 19:44:36 +00:00
Hartmut Birr
52f95df613 Honour the inheritance of a handle if it would be duplicated or opened.
svn path=/trunk/; revision=17295
2005-08-11 19:37:29 +00:00
Hartmut Birr
7faccfa7bb Call the registered exit functions if the dll is unloaded.
svn path=/trunk/; revision=17294
2005-08-11 19:32:02 +00:00
Hartmut Birr
d85fe524ac Fixed some problems if special parameters are delivered like SL_RESTART_SCAN, SL_INDEX_SPECIFIED or SL_RETURN_SINGLE_ENTRY.
svn path=/trunk/; revision=17293
2005-08-11 19:11:17 +00:00
Hartmut Birr
2acde8450d Implemented IRP_MJ_QUERY_VOLUME_INFORMATION/FileFsDeviceInformation. Msvcrt needs to detect the device type.
svn path=/trunk/; revision=17292
2005-08-11 19:07:11 +00:00
Hartmut Birr
77b9c0a70d Reimplemented FindFirstFileEx and removed some overhead.
svn path=/trunk/; revision=17291
2005-08-11 19:02:31 +00:00
Gé van Geldorp
9bfc144257 Sync to Wine-20050725:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Gerold Jens Wucherpfennig <gjwucherpfennig@gmx.net>
- Support for big-endian systems.
- The fci_get_little_endian... and fci_set_little_endian... functions
  don't really set and unset little endianes, they do the same thing:
  merely swapping bytes from one endianes to the other.
Stefan Huehner <stefan@huehner.org>
- Make some function static.
- Fix some more -Wmissing-declarations warnings.

svn path=/trunk/; revision=17290
2005-08-11 18:49:40 +00:00
Casper Hornstrup
fbdd1961c7 Ignore .svn folders
svn path=/trunk/; revision=17289
2005-08-11 17:41:30 +00:00
Steven Edwards
6887acc456 remove ros specific functions from public header
svn path=/trunk/; revision=17288
2005-08-11 17:27:13 +00:00
Andrew Munger
c247f5f8b2 Added TimeOut to the correct section, removed ion's 12148 incorrect addition. 10 second default.
svn path=/trunk/; revision=17287
2005-08-11 15:55:25 +00:00
Gé van Geldorp
9664020ca4 Alexandre Julliard <julliard@winehq.org>
- Added support for HTML resource type.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
Stefan Huehner <stefan@huehner.org>
- Fix some -Wsign-compare warnings.
Jacek Caban <jack@itma.pwr.wroc.pl>
- '.' is a valid char of tIDENT.
Marcus Meissner <marcus@jet.franken.de>
- Fixed signedness warnings.

svn path=/trunk/; revision=17286
2005-08-11 15:10:01 +00:00
Emanuele Aliberti
f5a7132861 Cleanup.
svn path=/trunk/; revision=17285
2005-08-11 12:23:51 +00:00
Emanuele Aliberti
26fc2d0d62 VMS: use csrsrv!CsrAddStaticServerThread to hook the listening port.
svn path=/trunk/; revision=17284
2005-08-11 11:52:40 +00:00
Emanuele Aliberti
d008d6c377 Modify CsrAddStaticServerThread signature.
svn path=/trunk/; revision=17283
2005-08-11 11:49:36 +00:00
Emanuele Aliberti
0a7659bfce Fix HEAD compilation.
LPC_MESSAGE.DataSize ==> PORT_MESSAGE.u1.s1.DataLength
LPC_MESSAGE.MessageSize ==> PORT.u1.s1.TotalLength

svn path=/trunk/; revision=17282
2005-08-11 09:19:10 +00:00
Emanuele Aliberti
f83c14b3fc Emit Win32 error messages on failure.
svn path=/trunk/; revision=17281
2005-08-11 09:07:48 +00:00
Emanuele Aliberti
97ffde7504 LPC_MESSAGE.MessageType ==> PORT_MESSAGE.u2.s2.Type
Make head copmpile.

svn path=/trunk/; revision=17280
2005-08-11 09:01:30 +00:00
Emanuele Aliberti
2b0800d266 First attempt to convert the VMS demo server.
Note: it does NOT work.

svn path=/trunk/; revision=17279
2005-08-11 08:46:57 +00:00
Emanuele Aliberti
e1b5e79e30 Some guessing on the API used by server DLLs.
svn path=/trunk/; revision=17278
2005-08-11 07:13:03 +00:00
Alex Ionescu
bd3f2eea3c - Use correct, documented, LPC Message structures (PORT_VIEW, REMOTE_PORT_VIEW). Fix all caller code to use new member names and structure names.
svn path=/trunk/; revision=17277
2005-08-11 03:23:44 +00:00
Steven Edwards
c5785454c2 TrackMoveEvent is a semi-implemented not UNIMPLEMENTED. Shut it up.
svn path=/trunk/; revision=17276
2005-08-11 03:15:17 +00:00
Alex Ionescu
479fa4e4ae - Use correct, documented, LPC Message structure (PORT_MESSAGE). Fix all caller code to use new member names and structure names.
svn path=/trunk/; revision=17275
2005-08-11 02:58:54 +00:00
Royce Mitchell III
eb742a2d70 initialize StringBuffer to NULL, as some code paths lead to it being tested without ever being set.
svn path=/trunk/; revision=17274
2005-08-11 02:51:51 +00:00
Alex Ionescu
f9b3f28fbe Move doc folder to media
svn path=/trunk/; revision=17273
2005-08-11 01:18:22 +00:00
Alex Ionescu
be97362b23 - Fix DEVICE_NODE definition to remove ROS-only fields
- Move RTL_HEAP_PARAMETERS to umtypes.h
- Fix PROCESS_PRIORITY_CLASS_XXX definitions.
- Use PROCESS_PRIORITY_CLASS_INVALID in process creation code.
- Move and correct EX_PUSH_LOCK definition to ntifs.h
- Define KQUEUE along with KAPC_STATE if ntifs.h is not used, so that we don't force its usage
- Enable usage of EX_QUEUE_WORKER_INFO and EX_WORK_QUEUE without requiring the IFS.
- Fix definition of CsrClientConnectToServer
- Update NDK FIXME list
- Define and use a list of Bus Type GUIDs instead of saving the GUID in a ROS-only field of DEVICE_NODE.
- Use a IRP_MN_QUERY_CAPABILITIES PnP IRP to get the Address of a DeviceNode, intead of saving it inside a ROS-only field.

svn path=/trunk/; revision=17272
2005-08-11 00:01:17 +00:00
Gé van Geldorp
4a6a9d5dd2 Phil Krylov <phil@newstar.rinet.ru>
- Fixed winebuild operation in Darwin.
Steve Zellers <zellers@mac.com>
- Fixed leftover import table name in output_import_thunk.
Alexandre Julliard <julliard@winehq.org>
- Replace configure macros by explicit platform checks (probably not
  correct on all platforms yet).
- Moved most of the implementation of CALL32_CBClient(Ex) to the C
  code.
- Don't use the full 32 bits of %esp when called from 16-bit code.
- Added a --target option to allow cross-compilation.
- Improve a bit the assembly generated for import thunks.
- Don't depend on ELF features for PIC code.
- A couple of optimizations.
- Intercept functions for 16-bit relay debugging by patching the
  CALLFROM16 table instead of having the wine_call_from_16 functions
  call out the relay functions explicitly.
- Added vararg argument type so that the relay code can distinguish from
  a normal cdecl function.
- Don't rely on the relay thunk preserving the stack pointer.
- Moved all 16-bit relay code to the text section.
- Changed a few symbol names for better consistency.
- Get rid of the global debugging flag.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
Marcus Meissner <marcus@jet.franken.de>
- Fixed signedness warnings.

svn path=/trunk/; revision=17271
2005-08-10 22:15:12 +00:00
Emanuele Aliberti
455ce26dde Minor change in two strings.
svn path=/trunk/; revision=17270
2005-08-10 21:09:05 +00:00
Steven Edwards
e6c6ee13be enable building shell32_test. some header fixes
svn path=/trunk/; revision=17269
2005-08-10 20:58:29 +00:00
Steven Edwards
877dc5eaf7 added shell32 tests. Not enabled just yet
svn path=/trunk/; revision=17268
2005-08-10 20:35:15 +00:00
Gunnar Dalsnes
be6f8b5112 move WM_SYSTIMER where it belongs
svn path=/trunk/; revision=17265
2005-08-10 19:19:13 +00:00
Gunnar Dalsnes
da39d77ab9 add missing define
svn path=/trunk/; revision=17264
2005-08-10 18:42:27 +00:00
Magnus Olsen
22e4c47f94 Windows 2000 does not always zerofill data if you are using heap_zero fill. to be 100% sure everything are zero fill, we need zerofil the whole object before instate
svn path=/trunk/; revision=17263
2005-08-10 18:10:45 +00:00
Gunnar Dalsnes
16b5d11ec3 move W32PROCESS/W32THREAD into win32\include bcause they are win32k private structs
svn path=/trunk/; revision=17262
2005-08-10 18:09:44 +00:00
Hartmut Birr
daa17455d6 Fixed the base detection in RtlUnicodeStringToInteger again.
svn path=/trunk/; revision=17261
2005-08-10 17:49:57 +00:00
Gunnar Dalsnes
09b2e7c1fc fix horribly broken ftol. this fixes abiword 2.0.3
svn path=/trunk/; revision=17260
2005-08-10 17:48:13 +00:00
Royce Mitchell III
62457a811e registry entries to install .inf files. No clue if this is correct.
svn path=/trunk/; revision=17259
2005-08-10 17:19:13 +00:00
Aleksey Bragin
e7956d8d90 Fixed a typo. According to the url pointed out by Royce3, it's right ( http://www.osronline.com/lists_archive/ntdev/thread1866.html)
svn path=/trunk/; revision=17258
2005-08-10 16:33:49 +00:00
Hartmut Birr
aa33dda36b Fixed the base detection in RtlUnicodeStringToInteger.
svn path=/trunk/; revision=17257
2005-08-10 11:45:50 +00:00
Emanuele Aliberti
c04cc0cebf Alex Ionescu: more details about the CSR core protocol.
svn path=/trunk/; revision=17256
2005-08-10 09:09:28 +00:00
Emanuele Aliberti
a0dd7af2e4 Change the demo VMS subsystem definition.
svn path=/trunk/; revision=17255
2005-08-10 08:36:37 +00:00
Emanuele Aliberti
8236221006 Some new internal headers (draft) to be used in the planned CSR/WIN split subsystem server.
svn path=/trunk/; revision=17254
2005-08-10 08:28:08 +00:00
Steven Edwards
b5fe5d7dcb another shot at fixing writes
svn path=/trunk/; revision=17253
2005-08-10 03:59:01 +00:00
Royce Mitchell III
49844139cc fix typo
svn path=/trunk/; revision=17252
2005-08-10 03:32:15 +00:00
Hervé Poussineau
ce28abcbca Active functions related to interfaces enumeration: SETUP_CreateSerialDeviceList, SETUP_CreateInterfaceList, SetupDiGetDeviceInterfaceDetailW. They were disabled since r17210
Replace ERROR_NO_SYSTEM_RESOURCES by ERROR_NOT_ENOUGH_MEMORY
Replace #ifdef __WINESRC__ by #ifndef __REACTOS__, as ReactOS also defines __WINESRC__
Minor fixes

svn path=/trunk/; revision=17251
2005-08-09 20:12:35 +00:00
Magnus Olsen
7217d69487 Thx harmut you did see the small bug, I miss, do not use MAX_PATH as lenght of command line, it must be CMDLINE_LENGTH instead, patch by Brandon Turner
svn path=/trunk/; revision=17250
2005-08-09 19:52:16 +00:00
Hartmut Birr
f52a064741 Silence a debug message.
svn path=/trunk/; revision=17249
2005-08-09 19:35:07 +00:00
Hartmut Birr
19f47fc57c If the file object is for a device, we must gather some information
from the object attribute (at least the OBJ_INHERIT flag). We cannot 
use IoCreateStreamFileObject because a handle from such a file object 
is never inheritable.

svn path=/trunk/; revision=17248
2005-08-09 19:12:46 +00:00
Maarten Bosma
2afd140d2a Full some additional Structs
svn path=/trunk/; revision=17247
2005-08-09 19:11:57 +00:00
Steven Edwards
296b3402ac implemented ?name@type_info@@QBEPBDXZ.msvcr and __unDName based on code from Wine
svn path=/trunk/; revision=17246
2005-08-09 17:55:47 +00:00
Gunnar Dalsnes
22ad71c0a6 return timer id for windowed timers also
svn path=/trunk/; revision=17245
2005-08-09 16:15:52 +00:00
Hervé Poussineau
ac5643191a Implement SetupDiGetSelectedDriverW/SetupDiSetSelectedDriverW
Define rank of a driver as in MSDN description
Fix comments in Flags/FlagsEx description
Factorise DeviceInfoElement structure creation in CreateDeviceInfoElement().

svn path=/trunk/; revision=17244
2005-08-09 16:13:50 +00:00
Hartmut Birr
1f19cd831e Update KeActiveProcessors if an application processor does start.
svn path=/trunk/; revision=17243
2005-08-09 16:08:00 +00:00
Emanuele Aliberti
58c487c4c3 Minor change.
svn path=/trunk/; revision=17242
2005-08-09 16:01:42 +00:00
Hartmut Birr
0d961d4d80 - Don't try to close the thread handle twice.
- Close the process handle on exit for _P_OVERLAY.

svn path=/trunk/; revision=17241
2005-08-09 15:47:14 +00:00
Hartmut Birr
fa6916cb11 - Don't try to free the returned buffer from getenv.
- Split the path correctly from shell command.

svn path=/trunk/; revision=17240
2005-08-09 15:44:54 +00:00
Hartmut Birr
b4c4fdb519 Don't use the required access rights for the object attributes.
svn path=/trunk/; revision=17239
2005-08-09 15:41:10 +00:00
Maarten Bosma
225642a5f6 Add second call to DdQueryDirectDrawObject.
svn path=/trunk/; revision=17238
2005-08-09 13:57:03 +00:00
Magnus Olsen
c2fcc4a380 fix a minor bug, for bad writen driver. some drv checking for two DDRAWI_DDRAWSURFACE_LCL array instead for one. But it is not the bug
svn path=/trunk/; revision=17237
2005-08-09 11:18:48 +00:00
Alex Ionescu
1d1e963067 Return failure if native function failed. one more test passes
svn path=/trunk/; revision=17236
2005-08-09 08:54:56 +00:00
Alex Ionescu
61ffdb3516 - Last patch was incomplete, apologies. SVN @ 5AM = bad idea.
- Do not report that ROS is running on 0 active processors, that's a bad idea.
- Actually check the affinity mask set by NtSetInformationThread
- Fix the check in KeSetAffinityThread
- Give a valid affinity to the system thread (corresponding to the active cpu affinity set).

This removes all bugchecks from the kernel32 thread winetest.

svn path=/trunk/; revision=17235
2005-08-09 08:50:57 +00:00
Alex Ionescu
6fd4c50fd3 Fix priority formulas, account for saturation, do proper km_um conversions for out of bounds or saturation priorirites, create an internal priority change function to be called if the lock is already held (however it's not efficient yet since ros dispatches instead of schedules, and so the lock is sometimes released, but i did write a small hack to account for that)... this fixes more wine tests
svn path=/trunk/; revision=17234
2005-08-09 08:02:05 +00:00
Magnus Olsen
2b0d98ed0e Thx Royce3 for notice's a typo error CreateData to CanCreateData in a if statement. But it is not the bug we are looking for.
svn path=/trunk/; revision=17233
2005-08-09 07:42:00 +00:00
Alex Ionescu
fe9647d739 It is generally considered a bad idea to dereference an object after the reference failed..... this fixes another wine test and avoids a bugcheck
svn path=/trunk/; revision=17232
2005-08-09 06:28:23 +00:00
Alex Ionescu
c2a85cd273 - Implement KeQueryBasePriorityThread to return the actual Base Priority Increment (or Saturation Increment) to NtQueryInformationThread. The value win32 works with is actually (usually) the difference between process and thread Base Priorities.
This fixes another WINE test.

svn path=/trunk/; revision=17231
2005-08-09 06:23:16 +00:00
Alex Ionescu
4c12530bbc - Fix NtSuspendThread: correct PreviousMode check, return error if thread is terminating, handle KeSuspendThread's possible exception, only attempt to return previous suspend count if asked to.
- Make KeSuspendThread return an exception if the thread has been suspended beyond the limit.

This fixes another wine test.

svn path=/trunk/; revision=17230
2005-08-09 05:54:57 +00:00
Alex Ionescu
2d51263ec6 Sigh... yet another misuse of Object Attributes. Developer Note: Object Attributes are used to pass OBJ_ flags. Not Access Flags.
svn path=/trunk/; revision=17229
2005-08-09 04:59:19 +00:00
Alex Ionescu
576de36736 remove another invalid ObjectAttribute
svn path=/trunk/; revision=17228
2005-08-09 04:56:29 +00:00
Alex Ionescu
56f8494362 - Fix a large amount of bugs in ObpAllocateObjectAttributes & Name
svn path=/trunk/; revision=17227
2005-08-09 04:43:54 +00:00
Alex Ionescu
66c8e646dc - Send the pointer to the handle, not the NULL handle itself. This fixes another winetest bugcheck.
svn path=/trunk/; revision=17226
2005-08-09 04:03:14 +00:00
Alex Ionescu
8cfb5e1c6b - Use the actual previous mode (spotted by Thomas)
svn path=/trunk/; revision=17225
2005-08-09 03:38:34 +00:00
Alex Ionescu
e22539a07b Fix invalid Object Attributes
svn path=/trunk/; revision=17224
2005-08-09 03:31:22 +00:00
Alex Ionescu
3ffa753a9b Add some DDK limits that were missing
svn path=/trunk/; revision=17223
2005-08-09 03:29:51 +00:00
Alex Ionescu
69c49f71df - Fix broken loop, this fixes the WINE thread wait tests
svn path=/trunk/; revision=17222
2005-08-09 01:07:06 +00:00
Alex Ionescu
40602e6777 Fix exception handling by not reseting PreviousMode to kernel when a user-mode exception occurs. This fixes some winetest bugchecks
svn path=/trunk/; revision=17221
2005-08-09 00:02:24 +00:00
Hervé Poussineau
c1c22f5f98 Remove console debug output
svn path=/trunk/; revision=17220
2005-08-08 22:14:04 +00:00
Magnus Olsen
d483bdfcae Add a check to see if surface can be create, it return it can be create, but still createsurface return invaild param
svn path=/trunk/; revision=17219
2005-08-08 21:29:25 +00:00
Magnus Olsen
c8a180611e fixing bug 690 by Brandon Turner. note ms only allown start "notepad" or "note"pad not notep"ad or notepad" but we do that, for we think it is a bug in ms cmd that only allowing " at start of a file name to start the apps.
svn path=/trunk/; revision=17218
2005-08-08 18:59:56 +00:00
Thomas Bluemel
3ed0977d46 revert my last changes back to Alex's version of ObpCaptureObjectAttributes as I'm being an incompetent ass. This will introduce several vulnerabilities and bugs again.
svn path=/trunk/; revision=17217
2005-08-08 16:58:30 +00:00
Magnus Olsen
4280eeb5a3 fix a simple bug that I did intrudes with my last commit
svn path=/trunk/; revision=17215
2005-08-08 16:36:39 +00:00
Hervé Poussineau
6ed3a7acd9 I forgot to add SetupDiDeleteDeviceInfo to .spec file in rev 17212
svn path=/trunk/; revision=17214
2005-08-08 16:21:35 +00:00
Maarten Bosma
d83ab72e69 Fix another bug thanks to GreatLord.
svn path=/trunk/; revision=17213
2005-08-08 16:18:44 +00:00
Hervé Poussineau
c4a2110e0f Implement SetupDiBuildDriverInfoList, SetupDiOpenDeviceInfoA/W, SetupDiEnumDriverInfoA/W, SetupDiCreateDeviceInfoW
Add stubs for SetupDiDeleteDeviceInfo, SetupDiDestroyDriverInfoList

svn path=/trunk/; revision=17212
2005-08-08 16:09:48 +00:00
Hervé Poussineau
6d963834ca Change structures used to keep information about devices/interfaces/drivers. This one is more logical and should be more extensible
Sorry, i've disabled code to enumerate devices implementing some interface (not ported)
Do related changes in the file

svn path=/trunk/; revision=17210
2005-08-08 16:06:52 +00:00
Maarten Bosma
f97732afbd Fix a bug, thanks to Salamander again.
svn path=/trunk/; revision=17209
2005-08-08 15:56:27 +00:00
Thomas Bluemel
273d211c94 don't dereference a NULL pointer
svn path=/trunk/; revision=17208
2005-08-08 15:49:37 +00:00
Thomas Bluemel
e779b15f24 remove a bugcheck that was only used for debug purpose
svn path=/trunk/; revision=17207
2005-08-08 15:46:41 +00:00
Magnus Olsen
079265d1a7 Fix some error checking for DireactDrawCreate and DireactDrawCreateEx, we checking if the param is right or not.
svn path=/trunk/; revision=17206
2005-08-08 15:41:02 +00:00
Thomas Bluemel
a3abeb83af - reverted ObpCaptureObjectAttributes back to my old implementation (slightly modified and extended) because that one at least does what it's supposed to correctly
svn path=/trunk/; revision=17205
2005-08-08 15:39:35 +00:00
Thomas Bluemel
910c9075f0 pass the correct access mode to ObOpenObjectByName
svn path=/trunk/; revision=17204
2005-08-08 15:33:04 +00:00
Steven Edwards
74a0c04f23 add setupapi test for stringtable functions. At this time they only pass on Ros and Windows 2000. I will fix the test to pass on later versions of Windows soon.
svn path=/trunk/; revision=17203
2005-08-08 15:01:03 +00:00
Maarten Bosma
b1b37ffc00 Remove exclamation mark that does not belong there. Thanks to Salamander again.
svn path=/trunk/; revision=17202
2005-08-08 14:54:24 +00:00
Maarten Bosma
ae51cca93f Forgot it again. :)
svn path=/trunk/; revision=17201
2005-08-08 14:20:05 +00:00
Maarten Bosma
f276da4448 Fix wrong syntax, missing file and non existing module in makefile. Thanks to Salamander and Usurp.
svn path=/trunk/; revision=17200
2005-08-08 14:19:20 +00:00
Maarten Bosma
2cacd67bcc The beginning of a ddraw implementation. Does not work yet for unknown reason.
svn path=/trunk/; revision=17199
2005-08-08 13:29:50 +00:00
Thomas Bluemel
1a2a435f9c enter a critical region before looking up a CID handle
svn path=/trunk/; revision=17198
2005-08-08 10:54:32 +00:00
Thomas Bluemel
da23cad0de delete no longer used file
svn path=/trunk/; revision=17197
2005-08-08 10:41:34 +00:00
Thomas Bluemel
e138304bf5 unlock the CID in PsLookupProcessByProcessId, PsLookupProcessThreadByCid and PsLookupThreadByThreadId when the lookup succeeded, not failed
svn path=/trunk/; revision=17196
2005-08-08 10:08:34 +00:00
Filip Navara
f61e4f1230 Revert part of #17156 and #17157 changes.
svn path=/trunk/; revision=17195
2005-08-08 09:24:20 +00:00
Art Yerkes
20732be74c Fixes for various 64-bit hosting problems.
svn path=/trunk/; revision=17194
2005-08-08 04:26:23 +00:00
Hartmut Birr
a3bc4d9c07 Fixed the load count in LdrpDetachProcess. That made it again possible to call the dll entry with DLL_PROCESS_DETACH.
svn path=/trunk/; revision=17193
2005-08-08 01:47:52 +00:00
Thomas Bluemel
e41e25c1e1 use loops instead of gotos
svn path=/trunk/; revision=17192
2005-08-08 00:45:04 +00:00
Thomas Bluemel
afcb29cc7c directly translate handles to indexes in ex/handle.c
svn path=/trunk/; revision=17191
2005-08-07 23:43:58 +00:00
Thomas Bluemel
ebe277b796 use the correct pointer to free the string. Thx to Hartmut for spotting this bug
svn path=/trunk/; revision=17190
2005-08-07 23:37:59 +00:00
Alex Ionescu
12de4ac145 Retry waiting if STATUS_ALERTED is returned
svn path=/trunk/; revision=17189
2005-08-07 23:22:18 +00:00
Thomas Bluemel
ae86070caa RtlFreeHandle only should call RtlIsValidHandle in debug builds.
svn path=/trunk/; revision=17188
2005-08-07 23:19:15 +00:00
Alex Ionescu
7905e74e59 Fix horridly wrong SignalObjectAndWait return values, should make more wine tests pass
svn path=/trunk/; revision=17187
2005-08-07 23:18:40 +00:00
Hartmut Birr
bad46dca35 Allocate the map registers according to the dma controllers properties (boundary and highest possible address).
svn path=/trunk/; revision=17186
2005-08-07 23:08:07 +00:00
Hartmut Birr
6faab780d4 - Changed MmGetContinuousPages from using an alignment to using a boundary.
- Removed MmAllocateContiguousAlignedMemory. 

svn path=/trunk/; revision=17185
2005-08-07 23:07:17 +00:00
Thomas Bluemel
73a4ae89a5 fixed differences in signedness warnings
svn path=/trunk/; revision=17184
2005-08-07 23:05:57 +00:00
Alex Ionescu
5905ef7a1e - Fix return value.
svn path=/trunk/; revision=17183
2005-08-07 23:00:51 +00:00
Alex Ionescu
3dac092c29 - Remove cid.c
- Do direct handle creation/deletion where needed.

svn path=/trunk/; revision=17182
2005-08-07 22:48:07 +00:00
Alex Ionescu
bac942f34d - Return correct error. Spotted by Thomas.
svn path=/trunk/; revision=17181
2005-08-07 21:48:14 +00:00
Alex Ionescu
c5ed8ceb14 - Send proper ClientID structure
svn path=/trunk/; revision=17180
2005-08-07 21:45:12 +00:00
Alex Ionescu
4c1eb86320 - Completely reimplement NtWaitForMultipleObjects:
- Check for invalid Objectcount and wait type
    - Don't use 2.6KB of stack space (kernel threads only get 4...)
    - Don't call ObReferenceObjectByHandle since it does a lot of superflous checks, continous locking/unlocking and makes us extremly slow for a large wait and also doesn't give us the full flexibility we need.
    - Detect if a Waitall is being done with the same object duplicated.
    - Protect wait with SEH.
- General fixes for all NtWaitXXX:
    - Use DefaultObject from Object Header and remove all previous associated hacks, including the IO_TYPE hack. The DefaultObject will either be NULL, an offset to an internal Object Event, or a pointer to a default event. We handle all three.
    - Guard the KeWaitXXX call with SEH since it can raise exceptions.
- Fix all object type intiailizers regarding DefaultObject.

svn path=/trunk/; revision=17179
2005-08-07 21:29:51 +00:00
Eric Kohl
a6b3bd07b6 Replace Win32 types by native ones.
svn path=/trunk/; revision=17178
2005-08-07 20:33:11 +00:00
Thomas Bluemel
562a0fb61f also actually rename the files...
svn path=/trunk/; revision=17177
2005-08-07 18:47:26 +00:00
Alex Ionescu
b1b87307bb - Initialize more fields when creating an Object Type
- Correct the Pool Charge for Object Types, select a Default Object, always use a security procedure, read global flag for maintaing type lists, set the pool type
- Initialize a Default Wait Object.
- Fix security callback for objects.
- Implement SeDefaultObjectMethod for security callbacks of objects which don't have a custom one.

svn path=/trunk/; revision=17176
2005-08-07 18:38:37 +00:00
Steven Edwards
c8e0c7ed3e no need for long xml filenames
svn path=/trunk/; revision=17174
2005-08-07 17:12:11 +00:00
Eric Kohl
12fea44aca Remove trailing whitespace and fix the indentation.
svn path=/trunk/; revision=17173
2005-08-07 17:11:13 +00:00
Steven Edwards
5aebfabb91 change rostest name back to dllname_test.exe
svn path=/trunk/; revision=17172
2005-08-07 17:07:35 +00:00
Steven Edwards
905738c542 rename tests to dllname_winetest to make it less trouble on exception to change build system rules for ros tests
svn path=/trunk/; revision=17171
2005-08-07 17:07:00 +00:00
Magnus Olsen
848867e6b1 GdiEntry11 (not tested, we can not test it yet in ros, until we got ddraw.dll and some api in win32k/ntdraw been implement)
svn path=/trunk/; revision=17170
2005-08-07 16:22:37 +00:00
Filip Navara
3de2a9013a Change the module type to win32gui. We really don't want to attempt to create consoles at this stage.
svn path=/trunk/; revision=17169
2005-08-07 15:55:01 +00:00
Hartmut Birr
fa7dd8c0ff Fixed the comment from my last commit.
svn path=/trunk/; revision=17167
2005-08-07 14:01:17 +00:00
Hartmut Birr
02fe41efa5 - Removed the exclusive deletion because '-' is a valid file name character.
- Optimized the recursive deletion in directories.
- Preload some nice strings.


svn path=/trunk/; revision=17166
2005-08-07 13:59:05 +00:00
Filip Navara
000e3044d8 Fix setupapi build and prototypes.
svn path=/trunk/; revision=17165
2005-08-07 13:06:30 +00:00
Magnus Olsen
b14f99cc46 Implement Gdintry4 (not tested, we can not test it yet in ros, until we got ddraw.dll and some api in win32k/ntdraw been implement)
svn path=/trunk/; revision=17164
2005-08-07 12:54:41 +00:00
Hervé Poussineau
231828406a Implement SetupGetInfFileListW and SetupGetInfInformationW
Inf file parser now accept UNICODE files with FF FE header
Return required buffer size when buffer is too small in SetupGetLineTextA/W, SetupGetStringFieldA/W

svn path=/trunk/; revision=17162
2005-08-07 11:59:43 +00:00
Filip Navara
ebd400d82c Fix a race condition in input packet processing.
svn path=/trunk/; revision=17160
2005-08-07 11:47:50 +00:00
Thomas Bluemel
b6bbf4cd23 fixed the order of the parameters of RtlIsValidIndexHandle
svn path=/trunk/; revision=17159
2005-08-07 11:47:45 +00:00
Eric Kohl
6ab29bbd4b Support size_is(*Length) attributes for strings.
svn path=/trunk/; revision=17158
2005-08-07 11:44:41 +00:00
Filip Navara
9a462169de Readd check that I accidently removed.
svn path=/trunk/; revision=17157
2005-08-07 11:25:36 +00:00
Filip Navara
aef1fdc048 Correctly set internal state in NpfsDisconnectPipe and fix some return values in NpfsRead.
svn path=/trunk/; revision=17156
2005-08-07 10:56:57 +00:00
Maarten Bosma
135eaf6958 A simple test app for DirectDraw.
svn path=/trunk/; revision=17155
2005-08-07 10:13:46 +00:00
Filip Navara
208dc4dcab Fix mutex unlocking in NpfsWaiterThread and add ASSERT.
svn path=/trunk/; revision=17154
2005-08-07 10:08:25 +00:00
Thomas Bluemel
47d6deb829 SVN maintainance
svn path=/trunk/; revision=17153
2005-08-07 09:55:54 +00:00
Thomas Bluemel
fb0db4efa6 fixed uninitialized variable warning
svn path=/trunk/; revision=17152
2005-08-07 09:55:08 +00:00
Thomas Bluemel
a32178f6d9 fixed uninitialized variables warnings
svn path=/trunk/; revision=17151
2005-08-07 09:48:38 +00:00
Alex Ionescu
1479011f30 Fix NtSignalAndwaitForSingleObject: Use SEH when appropriate, use direct Mutant release call, query handle info and write fixmes when permission checking needed, optimize failure cases, fix horrid tab/space formatting mismatches
svn path=/trunk/; revision=17150
2005-08-07 09:40:00 +00:00
Thomas Bluemel
09e2e1a5cb added a newline at the end of the file to fix a warning
svn path=/trunk/; revision=17149
2005-08-07 09:24:10 +00:00
Filip Navara
26d1cb6272 - Fix size check in SystemBasicInformation and SystemTimeOfDayInformation.
- Add SEH protection to SystemProcessInformation.
- Implement SystemKernelDebuggerInformation.
- Fix returning of ResultLength in NtQuerySystemInformation.

svn path=/trunk/; revision=17148
2005-08-07 09:12:10 +00:00
Eric Kohl
6e9638b203 Fix CM_Get_Registry_Property_ExW.
Implement CM_Set_Registry_Property_ExA.

svn path=/trunk/; revision=17147
2005-08-07 09:03:35 +00:00
Hartmut Birr
a48242f711 Allocated a converting buffer for WideCharToMultiByte. This does fix bug #702.
svn path=/trunk/; revision=17146
2005-08-07 08:06:56 +00:00
Martin Fuchs
9a5a82cd3c update SVN properties
svn path=/trunk/; revision=17145
2005-08-07 07:49:07 +00:00
Martin Fuchs
fc506850c2 update SVN properties
svn path=/trunk/; revision=17144
2005-08-07 07:42:36 +00:00
Martin Fuchs
4f8cc9596c update SVN properties
svn path=/trunk/; revision=17143
2005-08-07 07:33:14 +00:00
Martin Fuchs
100b8232d0 update SVN properties
svn path=/trunk/; revision=17142
2005-08-07 07:32:36 +00:00
Alex Ionescu
c3a96b7538 And here goes another test for two unsupported flags.
svn path=/trunk/; revision=17141
2005-08-07 07:30:46 +00:00
Alex Ionescu
17f39f0290 One more test can't hurt.
svn path=/trunk/; revision=17140
2005-08-07 07:14:52 +00:00
Alex Ionescu
0077f21d71 Add failure cases for more things then a WINE test could shake a stick at (hopefully)
svn path=/trunk/; revision=17139
2005-08-07 07:11:03 +00:00
Steven Edwards
e9677a896a enable the ntdll and kernel32 wine tests and watch them fail
svn path=/trunk/; revision=17138
2005-08-07 03:15:15 +00:00
Steven Edwards
17d51a62ab added kernel32 wine tests
svn path=/trunk/; revision=17137
2005-08-07 03:14:17 +00:00
Steven Edwards
eae91ed932 make the ros test name dllname_rostest.exe, suggested by Usurp
svn path=/trunk/; revision=17136
2005-08-07 03:00:44 +00:00
Steven Edwards
65e46acedc Named reactos regression tests dllname_tests.exe and wine test name dllname_test.exe to prevent conflicts
svn path=/trunk/; revision=17135
2005-08-07 02:54:10 +00:00
Steven Edwards
c510ad93ae add some missing values from Wine
svn path=/trunk/; revision=17134
2005-08-07 02:22:29 +00:00
Steven Edwards
57f56eab33 ntdll pending some winerror.h fixes
svn path=/trunk/; revision=17133
2005-08-07 02:16:34 +00:00
Steven Edwards
447a3da0ea updated winternl.h, PSDK fixes, etc...
svn path=/trunk/; revision=17132
2005-08-07 01:23:40 +00:00
Steven Edwards
7357490064 DCX_USESTYLE is a wineism. Dont use it in a header
svn path=/trunk/; revision=17131
2005-08-07 00:26:13 +00:00
Steven Edwards
d4893a7fa5 added local define for DCX_USESTYLE
svn path=/trunk/; revision=17130
2005-08-07 00:25:26 +00:00
Steven Edwards
d2984aea5c added DCX_USESTYLE
svn path=/trunk/; revision=17129
2005-08-07 00:21:24 +00:00
Steven Edwards
55b967315b turn on more the winetests
svn path=/trunk/; revision=17128
2005-08-07 00:06:29 +00:00
Steven Edwards
14e75bd34f again dump the .cvsignore
svn path=/trunk/; revision=17127
2005-08-07 00:03:28 +00:00
Steven Edwards
d8de9b24fb add some of the shlwapi tests
svn path=/trunk/; revision=17126
2005-08-06 23:58:36 +00:00
Steven Edwards
bf046096f1 added user32 wine regression test
svn path=/trunk/; revision=17125
2005-08-06 23:41:45 +00:00
Steven Edwards
68cfd5b234 we don't need a .cvsignore
svn path=/trunk/; revision=17124
2005-08-06 23:20:14 +00:00
Steven Edwards
e2314525fc added gdi32 wine regression tests
svn path=/trunk/; revision=17123
2005-08-06 23:19:47 +00:00
Steven Edwards
42cc66da60 moved psapi test
svn path=/trunk/; revision=17122
2005-08-06 23:12:16 +00:00
Steven Edwards
35154d7eb5 moved psapi test
svn path=/trunk/; revision=17121
2005-08-06 23:11:59 +00:00
Steven Edwards
551795b06d add version tests
svn path=/trunk/; revision=17120
2005-08-06 23:08:51 +00:00
Steven Edwards
f997cb9046 added msvcrt regression test
svn path=/trunk/; revision=17119
2005-08-06 23:05:16 +00:00
Maarten Bosma
a3cd4ae567 add case if _NO_COM is defined structure _DDRAWI_DDRAWSURFACE_MORE
svn path=/trunk/; revision=17118
2005-08-06 22:08:13 +00:00
Thomas Bluemel
958fe98d1d fixed some uninitialized variables warnings
svn path=/trunk/; revision=17117
2005-08-06 20:23:08 +00:00
Magnus Olsen
e651def55f add #define DDRAWISURFGBL_NOTIFYWHENUNLOCKED
svn path=/trunk/; revision=17116
2005-08-06 20:18:59 +00:00
Thomas Bluemel
4023109665 allow warnings
svn path=/trunk/; revision=17115
2005-08-06 20:15:29 +00:00
Thomas Bluemel
19291a67d9 add missing directory.xml
svn path=/trunk/; revision=17114
2005-08-06 19:42:40 +00:00
Filip Navara
4123ecfc6a Fix translation of extended keys.
svn path=/trunk/; revision=17111
2005-08-06 18:56:20 +00:00
Steven Edwards
f3594ebab5 and this
svn path=/trunk/; revision=17110
2005-08-06 18:08:07 +00:00
Steven Edwards
995a19dc6d forgot this
svn path=/trunk/; revision=17109
2005-08-06 18:07:47 +00:00
Steven Edwards
d3a19d3fa2 enable Wine regression tests for advapi32 and comctl32. Not tested under ReactOS. To build tests now you can use the wine name 'make advapi32_test' 'make comctl32_test' etc
svn path=/trunk/; revision=17108
2005-08-06 18:05:15 +00:00
Steven Edwards
8f091947d8 add prototype for DbgPrint so Winetests link properly with ReactOS.
svn path=/trunk/; revision=17107
2005-08-06 18:03:53 +00:00
Steven Edwards
94aa9ed23c stick the winetests in the sub folder with the other regtests
svn path=/trunk/; revision=17106
2005-08-06 18:02:57 +00:00
Steven Edwards
d90f119c90 remove comctl32 winetests
svn path=/trunk/; revision=17105
2005-08-06 18:00:17 +00:00
Steven Edwards
8704e1ebff remove msvcrt winetests
svn path=/trunk/; revision=17104
2005-08-06 17:59:46 +00:00
Steven Edwards
f2272e8e74 remove main winetest program
svn path=/trunk/; revision=17103
2005-08-06 17:59:01 +00:00
Steven Edwards
53a628a613 remove version winetests
svn path=/trunk/; revision=17102
2005-08-06 17:58:12 +00:00
Steven Edwards
09c6b8868b remove advapi32 winetests. I am going to refactor the import
svn path=/trunk/; revision=17101
2005-08-06 17:57:33 +00:00
Hartmut Birr
d46f0ac6da Don't try to acquire the mutex, if the mutex already exist (reported by Joseph Galbraith).
svn path=/trunk/; revision=17100
2005-08-06 15:55:59 +00:00
Thomas Bluemel
4d98b5f8f7 fixed uninitialized variable warning and indentation
svn path=/trunk/; revision=17099
2005-08-06 15:01:08 +00:00
Thomas Bluemel
514aa4a565 #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=17098
2005-08-06 14:58:07 +00:00
Thomas Bluemel
00d72052e8 #include "usetup.h" -> #include <usetup.h>
svn path=/trunk/; revision=17097
2005-08-06 14:57:57 +00:00
Thomas Bluemel
db692d3cdc fixed uninitialized variable warning
svn path=/trunk/; revision=17096
2005-08-06 11:59:31 +00:00
James Tabor
eac9a2caf0 Show DrawTextExA implemented.
svn path=/trunk/; revision=17095
2005-08-06 05:26:10 +00:00
James Tabor
1556909d27 Show SetParent implemented.
svn path=/trunk/; revision=17094
2005-08-06 05:25:13 +00:00
James Tabor
b492db20dd Show UpdateWindow implemented.
svn path=/trunk/; revision=17093
2005-08-06 05:24:05 +00:00
Thomas Bluemel
044ab19d99 handle the WM_SIZE message and resize/move the controls appropriately
svn path=/trunk/; revision=17092
2005-08-06 01:14:09 +00:00
Maarten Bosma
406b162be2 Add more DDRAWISURFs and remove useless #ifndefs.
svn path=/trunk/; revision=17091
2005-08-05 23:29:52 +00:00
Gé van Geldorp
ebdbcfb097 Sync to Wine-20050725:
Alexandre Julliard <julliard@winehq.org>
- Faster implementation of wcstombs that handles overlapping buffers
  properly (based on a patch by Dmitry Timoshkov).

svn path=/trunk/; revision=17090
2005-08-05 22:24:53 +00:00
Maarten Bosma
518084eb6d include ddk/d3dnthal.h as well
svn path=/trunk/; revision=17089
2005-08-05 21:53:20 +00:00
Filip Navara
94ae83f18a Remove spurious call from I8042BasicDetect.
svn path=/trunk/; revision=17086
2005-08-05 21:31:11 +00:00
Alex Ionescu
1eb8e4cde0 - FS Devices don't need a device queue, optimize the call away.
svn path=/trunk/; revision=17085
2005-08-05 21:25:52 +00:00
Alex Ionescu
6477828cdd - DeviceExtension should be NULL if the caller didn't specify any size for one.
svn path=/trunk/; revision=17084
2005-08-05 21:16:51 +00:00
Maarten Bosma
3d09f34d49 in ddrawgdi.h
- remove #if 0 (Define GdiEntries to thier internal names)
- include the right headers instead of defining things on it's own

svn path=/trunk/; revision=17083
2005-08-05 21:05:03 +00:00
Maarten Bosma
4b9db80475 undo my last change
svn path=/trunk/; revision=17082
2005-08-05 21:02:28 +00:00
Gé van Geldorp
ebe9abeb13 Update status
svn path=/trunk/; revision=17080
2005-08-05 20:49:13 +00:00
Gé van Geldorp
ccf9cf1d90 Sync to Wine-20050628:
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Mike McCormack <mike@codeweavers.com>
- Stub implementation for GetSoftwareUpdateInfo.
- Declare functions and correct prototypes.
Maarten Lankhorst <m.b.lankhorst@gmail.com>
- Improved ObtainUserAgentString stub.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.

svn path=/trunk/; revision=17079
2005-08-05 20:48:26 +00:00
Maarten Bosma
bb1f81a0fc Actually call the DDRAW_DllRegisterServer() and DDRAW_DllUnregisterServer() functions from DllMain.
svn path=/trunk/; revision=17078
2005-08-05 20:46:20 +00:00
Gé van Geldorp
3f6ea7fd61 Sync to Wine-20050628:
Stefan Leichter <Stefan.Leichter@camLine.com>
- Update version resource of msiexec.exe to current version shipped from
  Windows Update.
Mike McCormack <mike@codeweavers.com>
- Fix some declaration and write string warnings.

svn path=/trunk/; revision=17077
2005-08-05 20:30:42 +00:00
Gé van Geldorp
be83809179 Sync to Wine-20050628:
Alexandre Julliard <julliard@winehq.org>
- Get rid of the WaveMapper and MidiMapper options, the defaults should
  be good enough in all cases.
- Moved the audio driver configuration to HKCU\Software\Wine\Drivers and
  changed it a bit to follow the model of the graphics driver.
- Added magic comments to all Wine-specific registry accesses to make
  them easier to grep.
Mike McCormack <mike@codeweavers.com>
- Make a function static.
Francois Gouget <fgouget@free.fr>
- Fix winapi_check documentation warnings.
Rein Klazes <wijn@wanadoo.nl>
- In MCI_(Un)MapMsg16To32W with wMsg == MCI_OPEN(_DRIVER) only do
  strdupAtoW on those parameters that are flagged to be a string.

svn path=/trunk/; revision=17076
2005-08-05 20:25:46 +00:00
Filip Navara
638c41010a Revert change to ExSystemExceptionFilter.
svn path=/trunk/; revision=17075
2005-08-05 18:27:06 +00:00
Filip Navara
e86cc8cec8 Don't save and restore previous mode in trap handlers. This allows us to call KeGetPreviousMode() from exception handlers and get the right value.
svn path=/trunk/; revision=17074
2005-08-05 18:26:43 +00:00
Filip Navara
957a1ac6da Remove mouse device detection for now, since it fails on some i8042 clones.
svn path=/trunk/; revision=17073
2005-08-05 17:28:17 +00:00
Filip Navara
255c467f03 Protect NtQuerySystemInformation with SEH.
svn path=/trunk/; revision=17072
2005-08-05 15:45:14 +00:00
Filip Navara
c988422fc4 Move a flush call few lines down.
svn path=/trunk/; revision=17071
2005-08-05 15:41:20 +00:00
Magnus Olsen
290d54b180 Fixes a bug which disallows tab complete on empty input and a sorting bug which didnt account for locale by Brandon Turner
svn path=/trunk/; revision=17070
2005-08-05 15:40:53 +00:00
Filip Navara
457bfd725b Fix keyboard and mouse detection. We must disable the controller features before beginning the port check and we shouldn't fail if some port isn't found. Also detect the mouse on port before trying to use it.
svn path=/trunk/; revision=17069
2005-08-05 10:35:32 +00:00
Thomas Bluemel
d974b427de #include "advapi32.h" -> #include <advapi32.h>
svn path=/trunk/; revision=17068
2005-08-05 10:31:28 +00:00
Thomas Bluemel
5ed4bb62cd #include "acluilib.h" -> #include <precomp.h>
svn path=/trunk/; revision=17067
2005-08-05 10:27:32 +00:00
Thomas Bluemel
5fe92f070c #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=17066
2005-08-05 10:23:56 +00:00
Filip Navara
55ae128183 Comment out the ACPI enumeration entries for i8042prt driver. It's set as system load driver, so it's loaded anyway.
svn path=/trunk/; revision=17065
2005-08-05 10:11:21 +00:00
Filip Navara
6b88626e55 Fix shell32 build.
svn path=/trunk/; revision=17064
2005-08-05 10:01:51 +00:00
Alex Ionescu
ce4441ce6f - Removed all 3rd-party drivers due to popular request. Information on how to make the drivers work is now available on http://www.reactos.com/wiki/index.php/ReactOS_Drivers. .reg files could be created by volunteers to simplify the process, perhaps.
svn path=/trunk/; revision=17063
2005-08-05 09:38:12 +00:00
Thomas Bluemel
e6a171e0ab set eol-style to native and allow warnings (so it compiles with GCC4)
svn path=/trunk/; revision=17062
2005-08-05 09:16:38 +00:00
Gé van Geldorp
6a1354653c Sync to Wine-20050628:
Marcus Meissner <marcus@jet.franken.de>
- Move static variables out of header file, also the local interface
  implementations.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
cjacek <cjacek@gmail.com>
- Fix typo in comment about Wine registry key.
Alexandre Julliard <julliard@winehq.org>
- Moved a few registry keys from HKLM\Software\Wine to
  HKCU\Software\Wine for consistency.
- Added magic comments to all Wine-specific registry accesses to make
  them easier to grep.
- Sort entry points in the same order as Windows.
Stefan Huehner <stefan@huehner.org>
- Fix more -Wstrict-prototypes warnings.

svn path=/trunk/; revision=17061
2005-08-05 08:02:09 +00:00
Gé van Geldorp
a291f2d15a Sync to Wine-20050628:
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Mike McCormack <mike@codeweavers.com>
- SHCreateStreamOnFileW is implemented in shlwapi, so we don't need
  another implementation in shell32.
- Add a cast to get rid of a warning.
- Warning fixes for -Wmissing-declarations and -Wwrite-strings.
- Make functions static.
- -Wpointer-sign fixes.
- forward AddRef, Release, QueryInterface and GetClassID to internal
  implementations
- implement GetClassID properly
- Switch IShellLink to use shlwapi.SHCreateStreamOnFileW.
- Remove some uses of wine/unicode.h functions.
- Add the IContextMenu interface to the ShellLink object.
- Implement ShellLink's IShellExtInit::Initialize() method.
- add the IShellExtInit interface to the ShellLink object
- use inline functions rather than macros to resolve the
  implementation pointer from an interface pointer
- Add the IShellLinkDataList interface to the ShellLink object.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Use the CallForAttributes registry value, instead of promoting the
  root folder's SFGAO_FILESYSTEM flag to the registry.
- Return the correct attributes for the desktop folder.
- Corresponding tests.
- Support for shellfolder's CallForAttributes registry value.
- Let BindToObject fail, if called with empty relative pidl.
- Tests to show that it should do so.
- Fix SHBrowseForFolder to not pass an empty pidl to BindToObject.
- Fix a lurking infinite loop in SHGetPathFromIDList.
- Support for shellfolder's CallForAttributes registry value.
- Use SHGetPathFromIDList instead of SHELL32_GetPathFromIDList.
- Implement SHGetPathFromIDList based on GetDisplayNameOf.
Stefan Doesinger <stefandoesinger@gmx.at>
- Handle cidl==0 in shfldr_desktop, shfldr_fs and shfldr_mycomp.
- Remove the dwAttributes member from the IGenericSFImpl class, it's
  not needed and can't be initialised in Initialize and InitializeEx.
Vitaly Lipatov <lav@etersoft.ru>
- Realize DoEnvironmentSubstA via ExpandEnvironmentStringsA.
- Fix types and return values.
- Add prototype into shellapi.h.
Aric Stewart <aric@codeweavers.com>
- Fix the BrowseForFolder dialog so that when it does the callbacks it
  uses the correct message instead of always sending BEFM_INITIALIZED.
Juan Lang <juan_lang@yahoo.com>
- Const-ify a mask.
- Set default for "My Documents" to $HOME, and "Desktop" to ~/Desktop.
Alexandre Julliard <julliard@winehq.org>
- Sort entry points in the same order as Windows.
Francois Gouget <fgouget@free.fr>
- Fix winapi_check documentation warnings.
Marcus Meissner <marcus@jet.franken.de>
- ExtractAssociatedIconA needs to allocate enough space to have EAIW
  fill in lpIconPathW.
Huw Davies <huw@codeweavers.com>
- Unquote the icon file path if it's quoted.

svn path=/trunk/; revision=17060
2005-08-05 07:48:18 +00:00
Alex Ionescu
53aa4eb206 - Protect semaphore release with SEH, since it can cause an exception
- Correct object type initializer
- Correct incorrect PreviousMode checks
- Correct MaximumCount and ReleaseCount checks since they can't be negative either
- Harmonize formatting

svn path=/trunk/; revision=17059
2005-08-05 06:56:17 +00:00
Alex Ionescu
4a4e5adc99 - Add comments to code and clean it up
- Fix some incorrect operations
 - Optimize and fix loops

svn path=/trunk/; revision=17058
2005-08-05 06:54:15 +00:00
Alex Ionescu
9f32108192 - Optimize locking so that the Wake Lock is only entered after a first attempt determines the timer is a wake timer.
After the lock, a second check is done to make sure. However, since the first check will fail 99% of times, we will
  not acquire/release a spinlock, and thus decrease contention.
- Fix Object Type Initializer to actually use ExpTimerDelete when the object is deleted.
- Fix Initializer to report correct memory usage of timer object.
- Fix Initializer to report OBJ_OPENLINK as an invalid attribute for timer objects.
- Use correct access masks when modifying or querying timer objects.
- Handle wake timers in NtCancelTimer.
- Return warning NTSTATUS code if a wake timer is requested but not supported by the system (default on ROS).
- Check for valid timer type in NtCreateTimer.
- Check for valid period in NtSetTimer.
- Don't dereference the timer in NtSetTimer three times.
- Return the correct Due Time in NtQueryTimer by substracting the stable interrupt time.
- Harmonize formatting, fix some comments.

svn path=/trunk/; revision=17057
2005-08-05 06:53:56 +00:00
Alex Ionescu
2e6566c315 - Makefile change for previous commit.
svn path=/trunk/; revision=17056
2005-08-05 06:13:43 +00:00
Alex Ionescu
7500ee65fa - Move ExCreateUUID to uuid.c
- Move ExpVerifiySuite to sysinfo.c
- Delete util.c

svn path=/trunk/; revision=17055
2005-08-05 06:13:23 +00:00
Steven Edwards
6b12a0217e added oledlg.dll to the build. Needed by visio2k setup.
svn path=/trunk/; revision=17054
2005-08-05 03:59:05 +00:00
Alex Ionescu
1bb6a5ce2c - Remove unused ldr/userldr.c
- Rename LdrLoadInitialProcess to Exp... and move to executive initialization.
- Removed ldr/init.c
- Renamed ldr/sysdll.c functions to Psp (correct naming) and deleted file.
- Renamed SystemDll... ntdll pointers to correct Ke names
- Use direct Ke names instead of going through an API call.
- Make ExpInit... functions STDCALL

svn path=/trunk/; revision=17053
2005-08-05 03:44:24 +00:00
Magnus Olsen
3f935aa835 fix a small bug in cd, it did make all char lower case. done by me and Brandon Turner. clean up CD source bit more. Bug fix GetRootPath. it did not accepted upper case as driver letter. done by me
svn path=/trunk/; revision=17051
2005-08-04 22:08:16 +00:00
Filip Navara
b760d02f8f Fix keyboard input in usetup.
svn path=/trunk/; revision=17050
2005-08-04 21:55:43 +00:00
Steven Edwards
0466e5cbb2 took a stab at write support and turned it on. Removed getopt as its not needed.
svn path=/trunk/; revision=17049
2005-08-04 21:42:32 +00:00
Gé van Geldorp
b3af499b55 Sync to Wine-20050628:
Robert Shearman <rob@codeweavers.com>
- Improve tracing.
- Implement FC_UP and partially FC_OP.
- Don't needlessly marshal 4 bytes in NdrPointer*.
- Fix an RPC server startup race introduced by me.
- Don't pass the PROFILE_SERVER flag in to CreateNamedPipe as it is
  bogus.
- Call FlushFileBuffers to make sure the other end of the pipe doesn't
  get cut off prematurely.
- Don't call CancelIo as we should never have async I/O pending.
- Make NdrInterfacePointer* more reliable.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Alexandre Julliard <julliard@winehq.org>
- Sort entry points in the same order as Windows.
Mike Hearn <mh@codeweavers.com>
- Initialize DataRepresentation in NdrClientInitializeNew, not
  NdrSendReceive.

svn path=/trunk/; revision=17048
2005-08-04 21:35:00 +00:00
Magnus Olsen
fc05329e7f Windows TAB complete style instead for unix style patch by Brandon Turner. Thuse does people do not like windows tab complete, the can always change in config.h to unix/linux tab complete code again.
svn path=/trunk/; revision=17043
2005-08-04 12:41:42 +00:00
Thomas Bluemel
16025312da compile welcome.exe as unicode application by default
svn path=/trunk/; revision=17042
2005-08-04 10:41:58 +00:00
Gé van Geldorp
52fafec558 Sync to Wine-20050628:
Phil Krylov <phil@newstar.rinet.ru>
- Implemented EM_GETTEXTLENGTHEX RichEdit message.
Krzysztof Foltman <wdev@foltman.com>
- added support for \ulnone (turning underline off)
- support for basic subscript and superscript
- untested support for text offset
- Emit \tx for user-defined TABs.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.
Vitaly Lipatov <lav@etersoft.ru>
- Allow null pointers for EM_GETSEL message (as MSDN says).
Robert Shearman <rob@codeweavers.com>
- Richedit classes should be global.

svn path=/trunk/; revision=17041
2005-08-04 06:52:58 +00:00
Thomas Bluemel
ed9faae3c7 properly implement scrolling
svn path=/trunk/; revision=17040
2005-08-04 00:16:41 +00:00
Thomas Bluemel
f89d9a13ad fail as documented when the pointer to the buffer equals the pointer to the string to be converted in MultiByteToWideChar and WideCharToMultiByte
svn path=/trunk/; revision=17039
2005-08-03 23:07:10 +00:00
Gé van Geldorp
9912b90aff Francois Gouget <fgouget@free.fr>
Fix winapi_check documentation warnings.

svn path=/trunk/; revision=17038
2005-08-03 22:49:47 +00:00
Gé van Geldorp
c089737240 Sync to Wine-20050628:
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Robert Shearman <rob@codeweavers.com>
- DispInvoke is correct so there is no need to print a fixme.
- The typelib marshaler should only free the memory it actually allocated.
- Add special cases for two lesser used types that aren't
  sizeof(DWORD) sized.
- If we are accessing a method from a superclass then we need to use the
  superclass's ITypeInfo otherwise we could get errors when accessing
  hreftypes that aren't present in the subclass.
- Don't print out cryptic message if IDispatch or IUnknown object is
  just NULL.
- puArgErr is a ref pointer so we have to provide a dummy pointer if
  it is NULL.
- Fail gracefully and notify caller if we ran out of memoy or if
  variant copying failed.
- Clear out parameters to stop bad pointers lying around in memory if
  the function doesn't set them to anything.
- Fix the return values from QueryPathOfRegTypeLib.
- Open registry key with least access rights necessary.
- Documentation updates.
Michael Stefaniuc <mstefani@redhat.de>
- VarCmp: handle comparision of VT_EMPTY with an integer
- small comment fix
- Reimplement VarAdd, had missing functionality and wrong behaviour.
- Fix a typo in VarMul.
- more VarFormat fixes for number formats (exponent, mixed '#' and '0'
  in formats, rounding, etc). Simplify the code.
- previous VarFormat todo_wine tests pass now + add more tests
- Fix VarFormat for formats that mix '0' and '#' in the whole number
  part.
- Fix VarFormat for negative exponent formats.
- Add tests for the above + a couple of "todo_wine"'s.
- implement handling of exponents (e+,e-,E+,E-) when parsing number
  formats
- fix a small cut'n'paste error in the comments
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Marcus Meissner <marcus@jet.franken.de>
- Added VarMonthName() implementation.
- Corrected string length method in ITypeLib::IsName() and FindName()
  for LPOLESTR type.
- Fixed IType::Invoke in regards to handling propertyget variables
  longer than 4 bytes (like VT_DATE).
- Added testcases for OLE Picture handling.
- Implemented PICTYPE_NONE loading.
- Cleaned up stream loading, handle "lt" magic.
- Fixed some small problems exposed by tests against native.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.
Huw Davies <huw@codeweavers.com>
- Add comments describing the first DWORD in an import table entry.

svn path=/trunk/; revision=17037
2005-08-03 22:46:31 +00:00
Gé van Geldorp
7ba677508a Sync to Wine-20050628:
Robert Shearman <rob@codeweavers.com>
- Convert some registry helper functions to use unicode versions of
  CLSID & registry functions (untested).
- Add registry entries for local-only OLE interfaces.
- Change IUnknown to local interface.
- IUnknown isn't a remotable interface so the stub manager shouldn't
  need a marshaller for it.
- Change the RPC code to use the unicode versions of the CLSID &
  registry functions.
- Don't disconnect proxies flagged with SORFP_NOLIFETIMEMGMT. It makes
  no sense and only causes trouble for proxies that depend on these
  proxies being available.
- Change some of the registry helper functions to use the unicode
  versions of the CLSID & registry functions.
- Reindent CoGetClassObject and output an error message if the class
  isn't registered.
- Add tests for the touched functions.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Richard Cohen <richard@daijobu.co.uk>
- Base FileMonikerImpl_Save() on XP.
- Correct handling of Unicode strings & multibyte locales.
- More error checking.
- Change ERR to WARN.
- Match Windows quick & dirty estimate for GetSizeMax().
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.
Mike Hearn <mike@navi.cx>
- Add some tracing to the IRemUnknown RpcProxyBuffer implementation.
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.
Richard Cohen <richard@daijobu.co.uk>
- IEnum::Clone shouldn't do a Reset.
Marcus Meissner <marcus@jet.franken.de>
- Removed CLSID_CompositeMoniker (conflicting with static definition).
Alexandre Julliard <julliard@winehq.org>
- Sort entry points alphabetically.

svn path=/trunk/; revision=17036
2005-08-03 22:31:39 +00:00
Thomas Bluemel
9faf200230 fixed difference in signedness warning (GCC4)
svn path=/trunk/; revision=17035
2005-08-03 22:31:41 +00:00
Gé van Geldorp
4e23c74418 Sync to Wine-20050628:
Mike McCormack <mike@codeweavers.com>
- Repaint the area behind the "transparent" text control when it
  changes.
- Implement transparency in the text control.
- Make the MSI icon control work.
- Make tabs work in msi dialogs.
- Added support for the MSI MaskEdit control.
- Use a richedit control for license text.
- Fix radio button groups. Don't add the WS_GROUP style to every
  window.
- Use standard lists in the event subscription code.
- Take the dialog frame into account when calculating the dialog size.
- Use MSI_QueryGetRecord in one more place.
- Create a helper function to fetch a single record from a query.
- More -Wmissing-declarations and -Wwrite-strings warning fixes.
- Get rid of some redundant parser types.
- Use the new helper function MSI_QueryGetRecord.
- Use MSI_RecordGetString in more actions.
- Use MSI_RecordGetString where possible.
- Fixes for -Wmissing-declarations and -Wwrite-strings warnings.
- Remove some unused code.
- Add and correct some function declarations.
- Improve number parsing and avoid unicode.h.
- avoid unicode.h
- add a missing function prototype
- Create a stub implementation for MsiViewGetError.
- Remove more types from the parser.
- Test and fix the size of stream fields in a record.
- Clean up headers and make some functions static.
Marcus Meissner <meissner@suse.de>
- Use a simpler expression for the "RichEdit20W" string to workaround
  compiler bug.
- Remove cszbs from msi/action.h.
Aric Stewart <aric@codeweavers.com>
Mike McCormack <mike@codeweavers.com>
- Allow dialog controls to subscribe to installer events.
- Fix handling of checkbox properties.
- Implement dialog events and hook up the dialog code.
Aric Stewart <aric@codeweavers.com>
- Break out all the file related actions and helper functions into
  files.c
- Break out all the top level apis into install.c.
- Break out all the class registration actions into classes.c. This
  includes RegisterClassInfo, RegisterProgIds, RegisterExtensions and
  RegisterMIMETypes.
- Break out all the helper functions into helpers.c.
- Added module upgrade.c and implemented FindRelatedProducts.
- A long overdue fix to MSI_SetTargetPath. This should fix an error with
  some installers that where unable to change the target path.
- Add functions to add the User UpgradeCodes.
- A simple cleanup to only track the temp file if we need to have it
  laying around because the action is going on asynchronously. Otherwise
  clean up the temp file as the action finishes.
- Introduce really basic scripting of actions. This is primarily to get
  the order of execution of the action correct since some custom actions
  can be scripted and others are run during the script building phase.
- Perform ExecuteAction at UILevel 2.
- Rework CreateShortcuts to use MSI_IterateRecords.
- Properly handle -1 as a registry key root.
- Rework SelfRegModules to use MSI_IterateRecords.
- Rework component, feature and file loading to use MSI_IterateRecords.
- Rework RegisterFonts to use MSI_IterateRecords.
- Rework WriteIniValues to use MSI_IterateRecords.
- Rework PublishProduct to use MSI_IterateRecords.
- Rework RegisterTypeLibraries to use MSI_IterateR
- Rework LaunchConditions to use MSI_IterateRecord
- Rework CostFinalize to use MSI_IterateRecords.
- Rework WriteRegistryValues to use MSI_IterateRecords.
- Rework CreateFolders to use MSI_IterateRecords.
- Use MSI_IterateRecords for processing actions.
  Some whitespace cleanup and replace a comment block I did not want to
  remove.
- Flesh out the remaining keys in RegisterProduct.
- Extending upon Mike McCormack's cleanup to use MSI_RecordGetString.
- Register the Product Version also.
  Also help plug some memory leaks pointed out by Mike McCormack.
- Avoid a loop where a parent's parent refers to itself as its parent.
- Added module upgrade.c and implemented FindRelatedProducts.
- Set the Preselected property if appropriate (relevant to
  MigrateFeatureStates when implemented).
- Write out Product Language and Product Icon to the registry.
- Write out UpgradeCodes to the registry to allow for future upgrades.
- Don't get caught in loops on parent progids.
- Since multiple progids can refer to 1 class we need to check if that
  class is isntalled instead of just relying on having it set the
  InstallMe variable.
- Add install_on_demand for Extension servers also. currently defaulting
  to TRUE.
- Extension need to have 1 verb to mark the given progid to be
  installed.
- Do not loop if a ProgId's Parent Index it itself.
- Add a VersionIndIndex for tracking version independent fields for the
  ProgIds properly.
- Print a message for skipped actions in ProcessExecSequence like in the
  UISequence.
- Do not change a features state to Advertise if it explicitly disallows
  it.
- For typelibs index 1 do not add \\1 to the path. This cleans up
  registry diffs with native MSI.
- Register the FileType and correct short vs long path problems with
  InprocServer32. Also add install_on_demand boolean for future
  expansion.
- First pass at writing out CurVer keys for ProgIds. Also print a
  message for the actions we skip. Lines up with native MSI output logs
  for ease of comparison.
- A big rewrite of the whole RegisterClass, RegisterProgId,
  RegisterExtension and RegisterMIME actions. We now handle verbs
  properly, handle dependancies and such properly and keep track of what
  we need to register and what we do not properly.
- Allow control events to return codes to halt the processing of event.
  Needed for the SetTargetPath Event.
- Fix situations where TARGETDIR is set to a non \ terminated
  path. Fixes a few installers.
- Redo how we extract files from a cabinet in order to dramatically
  improve performance, especially if picking and choosing files out of
  the cabinet.
- Duplicate files should not fail if unable to get Destination
  Directory.
- Use MSI_IterateRecords for DuplicateFiles.
- Add UI messages to FindRelatedProducts.
- Reduce unneeded includes.
- A "1" is returned not a 1 for AssignmentType. Also as a bit more to
  the FIXME message.
- Add Language to the values we can query with MsiGetProductInfo.
- Correct a crash if the length buffer is NULL.
- Locate where a buffer size is not being set and correctly handle the
  buffer size conversion from W to A (with help from Robert Shearman).
- Make sure the TRACE statements do not spew garbage by using
  debugstr_wn.
- Restrict deformating of nested index keys [[1]].
- Introduce the beginning of group deformating {}.
- Implement the [!file] format to produce the short filename.
Stefan Huehner <stefan@huehner.org>
- Fix more -Wstrict-prototypes warnings.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make more of the OLE interface vtables const.

svn path=/trunk/; revision=17034
2005-08-03 22:12:15 +00:00
Gé van Geldorp
0f766beac3 Sync to Wine-20050628:
Mike McCormack <mike@codeweavers.com>
- Switch IShellLink to use shlwapi.SHCreateStreamOnFileW.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Alexandre Julliard <julliard@winehq.org>
- Sort entry points in the same order as Windows.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.

svn path=/trunk/; revision=17033
2005-08-03 21:34:01 +00:00
Thomas Bluemel
fd1eac7f05 implemented OffsetClipRgn()
svn path=/trunk/; revision=17031
2005-08-03 20:15:58 +00:00
Eric Kohl
f86b5b132c - Add registry property constants.
- Finish CM_Set_DevNode_Registry_Property_ExW.

svn path=/trunk/; revision=17030
2005-08-03 20:10:32 +00:00
Filip Navara
1bbf906bf4 Use valid timer ID for SetTimer.
svn path=/trunk/; revision=17029
2005-08-03 19:34:29 +00:00
Thomas Bluemel
f1cc84e27c define __NO_CTYPE_INLINES so DBG:=0 builds don't import from msvcrt
svn path=/trunk/; revision=17028
2005-08-03 19:28:51 +00:00
Casper Hornstrup
157587d815 Fix building 'make test'
svn path=/trunk/; revision=17027
2005-08-03 19:15:47 +00:00
Martin Fuchs
8f8a4dbabd switch back to #include "precomp.h" for precomp.cpp because it's needed for VC++ and doesn't irritate GCC since it's not compiled with GCC anyways.
svn path=/trunk/; revision=17026
2005-08-03 17:46:56 +00:00
Emanuele Aliberti
ee4b8ce5d4 Document <module type="nativecui" ...>
svn path=/trunk/; revision=17004
2005-08-03 15:05:54 +00:00
Hervé Poussineau
e0d12ad786 Fix mouse.inf file (missing %)
svn path=/trunk/; revision=17003
2005-08-03 14:48:38 +00:00
Hervé Poussineau
fc64a3b777 Don't display available resolutions even if DBG is set. Rely only on NDEBUG
svn path=/trunk/; revision=17002
2005-08-03 14:46:17 +00:00
Hervé Poussineau
3f4fb2baec Implement VideoPortVerifyAccessRanges
svn path=/trunk/; revision=17001
2005-08-03 14:46:12 +00:00
Casper Hornstrup
0349ed11fb Fix building kernel32 test
svn path=/trunk/; revision=17000
2005-08-03 14:45:50 +00:00
Filip Navara
e51757630c Fix name length handing in RtlQueryAtomInAtomTable.
svn path=/trunk/; revision=16999
2005-08-03 14:45:39 +00:00
Filip Navara
1eaff64466 - Implement !DeletePinned case in RtlEmptyAtomTable.
- Fix error checking in RtlAddAtomToAtomTable / RtlpCheckIntegerAtom.

svn path=/trunk/; revision=16998
2005-08-03 14:26:56 +00:00
Hervé Poussineau
5327167d43 Set right compatible IDs for USB devices with multiple interfaces
Better implementation of IOCTL_USB_GET_NODE_CONNECTION_INFORMATION

svn path=/trunk/; revision=16997
2005-08-03 14:03:31 +00:00
Thomas Bluemel
6cf95c3fcd #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=16994
2005-08-03 11:10:21 +00:00
Filip Navara
0ee2eb988f #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=16993
2005-08-03 10:00:30 +00:00
Filip Navara
ec8d77890b #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=16992
2005-08-03 09:31:39 +00:00
Gé van Geldorp
2564afd831 i386DX <i386dx@hotmail.com>:
Dutch resources

svn path=/trunk/; revision=16991
2005-08-03 08:31:30 +00:00
Filip Navara
7cdbc1d414 Add stub for VpNotifyEaData.
svn path=/trunk/; revision=16990
2005-08-03 07:50:16 +00:00
Martin Fuchs
ae646476ce set svn:eol-style of *.vcproj and *.sln to CRLF
svn path=/trunk/; revision=16989
2005-08-03 05:20:59 +00:00
Martin Fuchs
f32aa7a945 set svn:eol-style of *.dsp/dsw to CRLF
svn path=/trunk/; revision=16987
2005-08-03 05:11:43 +00:00
Martin Fuchs
64e350d6d5 set svn:eol-style of *.dsp/dsw to CRLF
svn path=/trunk/; revision=16986
2005-08-03 05:09:33 +00:00
Thomas Bluemel
1bfe04d376 Rouven Wessling <pentiumforever@gmail.com>:
- German translations

svn path=/trunk/; revision=16985
2005-08-02 22:20:03 +00:00
Filip Navara
c635b98ceb Move #endif one line down to make the source code balanced.
svn path=/trunk/; revision=16984
2005-08-02 22:14:52 +00:00
Filip Navara
595f9f988d Revert changes accidently commited along with last patch.
svn path=/trunk/; revision=16983
2005-08-02 22:04:02 +00:00
Thomas Bluemel
91e5ea7dfa fix typo...
svn path=/trunk/; revision=16982
2005-08-02 21:46:42 +00:00
Filip Navara
aea5c02d13 Make w3seek happy.
svn path=/trunk/; revision=16981
2005-08-02 21:22:40 +00:00
Thomas Bluemel
c04526fcde Violin Iliev <violin@developer.bg>:
- Bulgarian translation

svn path=/trunk/; revision=16980
2005-08-02 21:16:50 +00:00
Thomas Bluemel
4d49702340 SVN maintainance: fix line endings and ignore proxy makefiles
svn path=/trunk/; revision=16979
2005-08-02 21:12:28 +00:00
Filip Navara
03eedf362f Use mapped sections for fonts instead of paged pool memory.
svn path=/trunk/; revision=16977
2005-08-02 20:33:33 +00:00
Emanuele Aliberti
b8940ad696 A really simple Win32 implementation of 'hostname'.
svn path=/trunk/; revision=16976
2005-08-02 20:17:01 +00:00
Filip Navara
ce5d8968c6 Fix linux build.
svn path=/trunk/; revision=16975
2005-08-02 18:21:48 +00:00
Filip Navara
29532ce6f6 Fix the -sections option of PEFIXUP tool and adapt RBUILD to use it.
svn path=/trunk/; revision=16974
2005-08-02 18:13:21 +00:00
Casper Hornstrup
db35c17756 Locate latest revision ISO
svn path=/trunk/; revision=16973
2005-08-02 16:13:02 +00:00
Emanuele Aliberti
a7acccff70 Modify NTDLL!DbgSsInitialize/4 signature.
svn path=/trunk/; revision=16972
2005-08-02 16:11:13 +00:00
Casper Hornstrup
c9a2c8aab8 Locate next revision ISO
svn path=/trunk/; revision=16971
2005-08-02 15:58:41 +00:00
Alex Ionescu
178ec80139 - Remove CmpFindObject hack and use ObFindObject with on-demand ObjectCreateInfo.
- Note that the code is still wrong and will be fixed soon.

svn path=/trunk/; revision=16970
2005-08-02 14:01:43 +00:00
Filip Navara
b0c4274c66 Fix some pointer casts.
svn path=/trunk/; revision=16969
2005-08-02 13:53:52 +00:00
Filip Navara
ef03d1cb40 - Remove the DoneInitYet hack.
- Add stub for PsSetProcessPriorityByClass.
- Rename PsSetProcessWin32WindowStation to PsSetProcessWindowStation.

svn path=/trunk/; revision=16968
2005-08-02 13:52:10 +00:00
Filip Navara
b5bd68a13b Remove duplicate definitions.
svn path=/trunk/; revision=16967
2005-08-02 13:21:18 +00:00
Thomas Bluemel
0f4524a978 fixed the CONTAINING_RECORD macro
svn path=/trunk/; revision=16966
2005-08-02 11:23:40 +00:00
Alex Ionescu
91907678f1 - Add access state functions.
svn path=/trunk/; revision=16965
2005-08-02 03:56:29 +00:00
Eric Kohl
226f6c1ce2 Implement CM_Get_DevNode_Registry_Property[_Ex]A/W and CM_Set_DevNode_Registry_Property[_Ex]A/W partially.
svn path=/trunk/; revision=16964
2005-08-01 19:42:19 +00:00
Filip Navara
2b6bb7a79e Don't fallback to linear search for exports, it's not needed.
svn path=/trunk/; revision=16963
2005-08-01 18:11:54 +00:00
Filip Navara
1dfc824d91 Don't do linear search for exports, it's not needed.
svn path=/trunk/; revision=16962
2005-08-01 18:04:49 +00:00
Filip Navara
aad6d78c8c Remove the PESUM tool, the PEFIXUP tool can be used instead.
svn path=/trunk/; revision=16961
2005-08-01 17:58:47 +00:00
Filip Navara
28aff5352b Add new PEFIXUP tool and use it in the build system.
svn path=/trunk/; revision=16960
2005-08-01 17:56:41 +00:00
Thomas Bluemel
0c3b9e8545 print percentage character for the memory load in debug message (GlobalMemoryStatusEx). Suggested by WaxDragon
svn path=/trunk/; revision=16959
2005-08-01 16:28:11 +00:00
Emanuele Aliberti
e466431f36 RBuild 'project' document DTD (rough draft).
svn path=/trunk/; revision=16958
2005-08-01 16:11:29 +00:00
Emanuele Aliberti
178f4d48e9 Replace 'Value' with 'Content' as per XML spec.
Minor changes.

svn path=/trunk/; revision=16957
2005-08-01 16:08:29 +00:00
Thomas Bluemel
9c8224926f revert my last changes, it seems to cause problems when building on *nix
svn path=/trunk/; revision=16956
2005-08-01 15:21:40 +00:00
Filip Navara
7f3c5f0932 Various LdrGetProcedureAddress fixes:
- Fix the binary search limits.
- Fix the comparsion of names (previously "XXX" and "XXXyyy" would be considered identical) and make it case sensitive.
- Remove non-binary search, it's not needed.
- Don't use ULONG to store pointers.

svn path=/trunk/; revision=16955
2005-08-01 13:50:07 +00:00
Emanuele Aliberti
7c6d6d777a First attempt to make the XML data we feed rbuild conforming the XInclude spec.
svn path=/trunk/; revision=16954
2005-08-01 13:34:33 +00:00
Thomas Bluemel
91d235bf79 fixed uninitialized variable warning
svn path=/trunk/; revision=16953
2005-08-01 13:27:02 +00:00
Thomas Bluemel
d613b54421 revert back to -Os because of some buggy versions of GCC
svn path=/trunk/; revision=16952
2005-08-01 13:01:58 +00:00
Thomas Bluemel
5d4a08e403 compile release builds with -O3 instead of -Os because it catches more mistakes
svn path=/trunk/; revision=16951
2005-08-01 12:57:34 +00:00
Emanuele Aliberti
305aa85bd7 Add reference to the 'compilerflag' element.
Add reference to the 'group' element.
Add Parents section to more elements.

svn path=/trunk/; revision=16950
2005-08-01 12:54:50 +00:00
Thomas Bluemel
4ae7cce227 temporarily disable -Werror for tools, there seem to be differences between versions of gcc issuing some warnings
svn path=/trunk/; revision=16949
2005-08-01 12:51:20 +00:00
Filip Navara
7fafe4314a Pass correct pool type to PsChargePoolQuota.
svn path=/trunk/; revision=16948
2005-08-01 11:59:22 +00:00
Thomas Bluemel
1ae15efc80 don't count references for the default quota block and fixed warnings
svn path=/trunk/; revision=16947
2005-08-01 11:58:47 +00:00
Filip Navara
f4ff4e648a Fix a typo. Thanks to Hervé Poussineau for noticing.
svn path=/trunk/; revision=16946
2005-08-01 11:46:30 +00:00
Filip Navara
9b42911e3d Add pool type masks and use them.
svn path=/trunk/; revision=16945
2005-08-01 11:33:15 +00:00
Filip Navara
981faa01eb Fix definition of EPROCESS_QUOTA_ENTRY.
svn path=/trunk/; revision=16944
2005-08-01 11:26:53 +00:00
Filip Navara
160b65f87e Setup quota blocks for processes.
svn path=/trunk/; revision=16943
2005-08-01 11:21:42 +00:00
Filip Navara
f28b5f7302 Setup quota blocks for processes.
svn path=/trunk/; revision=16942
2005-08-01 11:20:44 +00:00
Thomas Bluemel
50398b7a03 define common build flags so they can easily be changed for all tools
svn path=/trunk/; revision=16941
2005-08-01 10:58:28 +00:00
Thomas Bluemel
0bd9fc8ef1 fixed some warnings when compiling with -O3
svn path=/trunk/; revision=16940
2005-08-01 10:21:20 +00:00
Filip Navara
73113cc87d Fix prototype of RtlCreateHeap and respect the CommitRoutine if passed. Also fix the heap manager to be usable by kernel mode code.
svn path=/trunk/; revision=16939
2005-08-01 10:19:22 +00:00
Thomas Bluemel
f928348d93 fixed some uninitialized variables warnings
svn path=/trunk/; revision=16938
2005-08-01 09:23:13 +00:00
Hervé Poussineau
fc10b038f5 Add back changes of revision 16783. Sorry Alex
svn path=/trunk/; revision=16937
2005-08-01 09:08:07 +00:00
Filip Navara
f89cc27ede Cleanup SID initialization and fill all SeExports fields.
svn path=/trunk/; revision=16936
2005-08-01 09:05:20 +00:00
Filip Navara
e18c5c1218 Fix LdrAccessResource for ordinary mapped files.
svn path=/trunk/; revision=16935
2005-08-01 08:58:15 +00:00
Filip Navara
4f9fb92e50 Fix DPRINT.
svn path=/trunk/; revision=16934
2005-08-01 08:56:51 +00:00
Filip Navara
a4ba1bf284 Fix paramater validation and pointer manipulation in RtlAddAce.
svn path=/trunk/; revision=16933
2005-08-01 08:55:22 +00:00
Filip Navara
ff9444533e Fix locking in RtlPinAtomInAtomTable.
svn path=/trunk/; revision=16932
2005-08-01 08:50:30 +00:00
Hervé Poussineau
515aaf6a7e Merge from Wine:
- Add traces at the start of functions
- (reported by Matthew Davison)
  Preserve the spaces before an opening quote in the middle of a token.
- Matthew Davison <mjd77@cam.ac.uk>
  Stub out the error dialog functions.
  Modify the default callbacks to call these for Delete and Rename errors.
  Modify the default callbacks to ignore file missing errors when deleting files.
- Stefan Huehner <stefan@huehner.org>
  Fix some more -Wmissing-declarations warnings.
- Mike McCormack <mike@codeweavers.com>
  gcc 4.0 -Wpointer-sign fixes (Reg* functions).
- Detlef Riekenberg <wine.dev@web.de>
  SetupSetFileQueueAlternatePlatform{AW} implemented as stub.

svn path=/trunk/; revision=16931
2005-08-01 07:46:06 +00:00
Hartmut Birr
15a077c46a Used MmFreeVirtualMemory in MmDeleteTeb because MmFreeMemoryAreaByPtr doesn't free the region list entries.
svn path=/trunk/; revision=16930
2005-08-01 00:06:18 +00:00
Thomas Bluemel
3a76f91710 fixed some warnings when compiling with -O3
svn path=/trunk/; revision=16928
2005-07-31 23:39:05 +00:00
Thomas Bluemel
9804ebb026 fixed uninitialized variable warning
svn path=/trunk/; revision=16927
2005-07-31 21:51:04 +00:00
Hartmut Birr
2f708e9f44 - Changed BasepConvertUnicodeEnvironment to obtain the calculated length.
- Optimized the calculation of the environment length.  
- Disable the execution of vdm for com-files, because it breaks the execution of batch files.
- Removed an unused variable.


svn path=/trunk/; revision=16926
2005-07-31 21:27:56 +00:00
Hartmut Birr
bec5197e46 Don't use INVALID_HANDLE_VALUE as HANDLE_DETACH_PROCESS.
svn path=/trunk/; revision=16925
2005-07-31 21:24:35 +00:00
Hartmut Birr
d20bf6a780 - Implemented CsrDuplicateHandleTable.
- Duplicate the handle table in CsrCreateProcess if the caller wants to inherit all handles.  
- Don't allocate new handles in CsrAllocConsole if the caller wants to reuse a console and if the parent handles were inherited.  
- Do only allow to reuse the console from parent.

svn path=/trunk/; revision=16924
2005-07-31 21:23:40 +00:00
Hartmut Birr
22332a5bae Fixed a typo.
svn path=/trunk/; revision=16923
2005-07-31 21:02:05 +00:00
Thomas Bluemel
918a8eeeb5 fixed typo in a comment
svn path=/trunk/; revision=16922
2005-07-31 20:35:08 +00:00
Thomas Bluemel
197982e303 fixed success check in RtlpCreateAtomHandle, ExCreateHandle returns EX_INVALID_HANDLE in case of failure. Thx to Filip
svn path=/trunk/; revision=16921
2005-07-31 18:52:36 +00:00
Martin Fuchs
611498e8d2 set svn:eol-style to native
svn path=/trunk/; revision=16920
2005-07-31 12:11:56 +00:00
Filip Navara
f2f5fc2afb Fix NULL-terminating of symbol image names.
svn path=/trunk/; revision=16919
2005-07-31 11:06:50 +00:00
Filip Navara
d6820f5fff Implement the magic flag in RtlImageDirectoryEntryToData and make the Size parameter non-optional.
svn path=/trunk/; revision=16918
2005-07-31 10:22:29 +00:00
Filip Navara
5b7fe4e1d2 Revert #16904 and clarify the comment about the race condition.
svn path=/trunk/; revision=16917
2005-07-31 09:48:12 +00:00
Martin Fuchs
6859ea0c71 set eol-style for all remaining XML files
svn path=/trunk/; revision=16916
2005-07-31 08:33:39 +00:00
Emanuele Aliberti
6540f242bf Document pch and linkerflag elements.
Rename Elements sections into Children.
Add Parents sections for some elements.
Make link work (tested with DBK=>HTML).

svn path=/trunk/; revision=16915
2005-07-31 07:08:15 +00:00
Emanuele Aliberti
90d0826221 Turn NTDLL.DLL a SUBSYSTEM_WINDOWS_CUI PE image (Casper Hornstrup suggested to use -nostartfiles, for the compilation to succeed).
svn path=/trunk/; revision=16914
2005-07-31 07:07:26 +00:00
Alex Ionescu
2f532c71f4 - Silence some debug messages
- Modify base address of iphlpapi so it doesn't get relocated
- Implemented SetTaskmanWindow and SetProgmanWindow

svn path=/trunk/; revision=16913
2005-07-31 06:22:05 +00:00
Alex Ionescu
a5bc0e6462 Define NDEBUG
svn path=/trunk/; revision=16912
2005-07-31 05:46:42 +00:00
Alex Ionescu
838cc74dd0 Silence debug messages
svn path=/trunk/; revision=16911
2005-07-31 05:43:10 +00:00
Alex Ionescu
3f30061228 Fix error handle output.
svn path=/trunk/; revision=16910
2005-07-31 03:27:04 +00:00
James Tabor
29c3f9ae54 Correct build name. Should be Edit.exe.
svn path=/trunk/; revision=16909
2005-07-31 00:17:57 +00:00
Alex Ionescu
7cf9ad08e3 Don't use CSRSS handles if we alreay have some (so we can inherit file handles, etc)
svn path=/trunk/; revision=16908
2005-07-30 23:57:14 +00:00
Alex Ionescu
eb86553bed Decrease quantum during wait and during no-wait... mentionned by Shmuel Baron
svn path=/trunk/; revision=16907
2005-07-30 23:43:45 +00:00
Filip Navara
08fe62965f Remove code that I accidently commited in revision 16905.
svn path=/trunk/; revision=16906
2005-07-30 23:16:03 +00:00
Filip Navara
9f784a4848 Ignore the "magic flag" in RtlImageDirectoryEntryToData.
svn path=/trunk/; revision=16905
2005-07-30 23:08:26 +00:00
Filip Navara
34674d7646 Fix a race condition in quantum code. Spotted by Shmuel Baron.
svn path=/trunk/; revision=16904
2005-07-30 23:06:46 +00:00
Eric Kohl
46be8912e3 - Support conformant arrays as in and out parameters.
- Fix message buffer size calculation for client and server.

svn path=/trunk/; revision=16903
2005-07-30 19:31:52 +00:00
Aleksey Bragin
237b710b56 Move NDEBUG higher so it actually works and doesn't output all debug messages (fix suggested by hpoussin).
svn path=/trunk/; revision=16902
2005-07-30 19:06:53 +00:00
Hartmut Birr
2e4f8bfdb1 If a mutex already exist, open it instead of create.
svn path=/trunk/; revision=16901
2005-07-30 19:03:34 +00:00
Hartmut Birr
65c8fe4c15 Initialized Basep8BitStringToUnicodeString
svn path=/trunk/; revision=16900
2005-07-30 19:00:33 +00:00
Hartmut Birr
2316f95498 Check if the cpu supports the pae mode.
svn path=/trunk/; revision=16899
2005-07-30 18:55:25 +00:00
Hartmut Birr
dce178cf7c Made cmd unicode compatible.
svn path=/trunk/; revision=16898
2005-07-30 18:52:33 +00:00
Hartmut Birr
dc648e2083 Use FileGetString instead of ReadFile, because ReadFile doesn't return a null terminated string.
svn path=/trunk/; revision=16897
2005-07-30 18:51:43 +00:00
Hartmut Birr
498a7947fe Put FindClose onto the correct position.
svn path=/trunk/; revision=16896
2005-07-30 18:32:18 +00:00
Emanuele Aliberti
3e4d8abf36 Create a subdir for rbuild documentation.
Move rbuild.txt there.
Convert rbuild.txt in Docbook.
Fix some minor inconsistencies in the element reference.

svn path=/trunk/; revision=16895
2005-07-30 16:53:09 +00:00
Filip Navara
ca071d7417 - Replace MODULE_OBJECT with LDR_DATA_TABLE_ENTRY.
- Export PsGetCurrentThread and PsGetCurrentProcess.

svn path=/trunk/; revision=16894
2005-07-30 16:25:35 +00:00
Hartmut Birr
f25c9b142b Reverted back to 16420, because it contains too many bugs.
svn path=/trunk/; revision=16893
2005-07-30 13:49:41 +00:00
Magnus Olsen
c34da245a4 fix waring kdump.c:246: warning: 'OldIrql' may be used uninitialized for dgb=0;
svn path=/trunk/; revision=16892
2005-07-30 13:44:07 +00:00
James Tabor
050a6ba318 Implement SetMenuItemBitmaps and fix bool flags.
svn path=/trunk/; revision=16891
2005-07-30 00:52:22 +00:00
James Tabor
af30e6342b Patch by Dmitry Timoshkov dmitry@baikal.ru. Take into account CS_NOCLOSE window class style and SC_CLOSE system menu item state while adding MDI system menu buttons and generating WM_SYSCOMMAND messages.
svn path=/trunk/; revision=16890
2005-07-29 23:37:11 +00:00
James Tabor
8fe920ee49 Show SetMenuItemInfoA&W implemented.
svn path=/trunk/; revision=16889
2005-07-29 23:15:01 +00:00
Thomas Bluemel
a37c5005c7 make the telProcessNetwork() thread function STDCALL!
svn path=/trunk/; revision=16888
2005-07-29 23:04:48 +00:00
Steven Edwards
62e33ea5ff dos line endings
svn path=/trunk/; revision=16887
2005-07-29 23:03:42 +00:00
Thomas Bluemel
f5bba7d9af - simplified BasepAnsiStringToHeapUnicodeString
- fixed linking (global variable Basep8BitStringToUnicodeString was missing)
- fixed typo in the debug print in SetThreadUILanguage

svn path=/trunk/; revision=16886
2005-07-29 23:03:12 +00:00
Steven Edwards
4214fc67a7 turn on command options
svn path=/trunk/; revision=16885
2005-07-29 23:01:16 +00:00
Steven Edwards
42f41fa7c2 imported mkdosfs, added getopt.c for use with dosfsck
svn path=/trunk/; revision=16884
2005-07-29 22:53:33 +00:00
Steven Edwards
c7cd667539 Major fixes for partitions larger than 4GB. Thanks to Tamlin again.
svn path=/trunk/; revision=16883
2005-07-29 22:22:12 +00:00
Hartmut Birr
7006f75f63 - Copy all data in FindFirstFileA.
- Changed back to the old code in FindFirstFileExW, because too many things are broken or useless.

svn path=/trunk/; revision=16882
2005-07-29 21:59:06 +00:00
Hartmut Birr
ade86ba7d7 Fixed some bugs in CreateProcessA which was introduced by r16730.
svn path=/trunk/; revision=16881
2005-07-29 21:55:09 +00:00
Filip Navara
7559937efb Fix definiton of DPRINT1 for non-DBG build.
svn path=/trunk/; revision=16879
2005-07-29 18:11:04 +00:00
Thomas Bluemel
e069829247 dynamically import functions from ntdll on startup
svn path=/trunk/; revision=16878
2005-07-29 18:01:01 +00:00
Thomas Bluemel
209e4c128e silence debug messages when calling the SEH handler
svn path=/trunk/; revision=16877
2005-07-29 17:35:22 +00:00
Thomas Bluemel
23d295c1ca fix the SetThreadUILanguage stub
svn path=/trunk/; revision=16876
2005-07-29 17:31:59 +00:00
Magnus Olsen
b2c6d0e0d9 Implement GdiEntry14 (party tested see older commit msg)
svn path=/trunk/; revision=16875
2005-07-29 17:11:11 +00:00
Thomas Bluemel
af45d81b0e don't limit read/write access for kdb to umode mem
svn path=/trunk/; revision=16874
2005-07-29 16:53:27 +00:00
Steven Edwards
7917a7f21d Fixes by tamlin. It really works now.
svn path=/trunk/; revision=16873
2005-07-29 16:48:09 +00:00
Alex Ionescu
6aa9f0c2da - Don't always print TRACE/WARN on WINE DLLs. Thanks to Filip Navara.
svn path=/trunk/; revision=16872
2005-07-29 16:06:13 +00:00
Emanuele Aliberti
f781c38507 Even if the Session Manager is a degenerate subsystem, keep its include files in the include/subsys tree.
svn path=/trunk/; revision=16871
2005-07-29 15:17:25 +00:00
Thomas Bluemel
3536691731 define __NO_CTYPE_INLINES to get DBG:=0 builds work again
svn path=/trunk/; revision=16870
2005-07-29 15:11:26 +00:00
Filip Navara
9697817837 Stop abusing the non-paged pool.
svn path=/trunk/; revision=16869
2005-07-29 15:08:20 +00:00
Filip Navara
dd2dc39610 Fix the file to be actually compilable (with GAS 2.16.91).
svn path=/trunk/; revision=16868
2005-07-29 15:00:02 +00:00
Alex Ionescu
1afce7ac9b - Add back and fix useful dprint.
svn path=/trunk/; revision=16867
2005-07-29 14:56:38 +00:00
Casper Hornstrup
62104039bc Add stylesheet header to xml
svn path=/trunk/; revision=16866
2005-07-29 14:36:11 +00:00
Filip Navara
be84f5ac52 IoAllocateAdapterChannel should set CurrentIrp field in the wait context block.
svn path=/trunk/; revision=16865
2005-07-29 13:58:25 +00:00
Emanuele Aliberti
852cd1035f Add posix, os2, and vms optional modules.
svn path=/trunk/; revision=16864
2005-07-29 13:56:00 +00:00
Filip Navara
12e1f03a17 IoAllocateAdapterChannel should set CurrentIrp field in the wait context block.
svn path=/trunk/; revision=16863
2005-07-29 13:54:13 +00:00
Thomas Bluemel
7fdc3cb55b Saveliy Tretiakov <saveliyt@mail.ru>:
serialui returns error codes directly.

svn path=/trunk/; revision=16862
2005-07-29 13:50:05 +00:00
Emanuele Aliberti
91ae1adf27 More details in the rosapps makefile message.
Split sysutils.

svn path=/trunk/; revision=16861
2005-07-29 13:46:03 +00:00
Filip Navara
93155e947c Initialize DescriptorTranslated->u.Interrupt.Level before calling HalGetInterruptVector. Remember, casting hides bugs! Debugged by Hervé Poussineau.
svn path=/trunk/; revision=16860
2005-07-29 13:30:22 +00:00
Thomas Bluemel
bbdbd036ca added a forward declaration to _DRIVE_LAYOUT_INFORMATION(_EX). this fixes building io/disk.c with GCC4. The reason is that the structures were used in function prototypes, which are forward declarations in the scope of the function declaration only. Since the structures were defined later, the implementations of the functions using them, actually used the defined structure types, which were different from the forward declarations in the function prototypes (even though they have the same name, they just differ in their scope). This caused GCC to warn because of incompatible function prototypes and incompatible pointer types passed to those functions
svn path=/trunk/; revision=16859
2005-07-29 13:28:37 +00:00
Filip Navara
05bc18eb6c Properly propagate the SL_PENDING_RETURNED flag to stack locations in IofCompleteRequest and fix the priority boost for master IRPs.
svn path=/trunk/; revision=16858
2005-07-29 13:28:34 +00:00
James Tabor
714eb0ec09 Sorry for the mess. Fixup debug prints.
svn path=/trunk/; revision=16857
2005-07-29 12:20:28 +00:00
Casper Hornstrup
14344dd176 Display implemented/unimplemented icon for functions
svn path=/trunk/; revision=16856
2005-07-29 12:19:26 +00:00
Casper Hornstrup
e4bb3b1573 Browser XSLT support. Optimize for size.
svn path=/trunk/; revision=16855
2005-07-29 11:40:01 +00:00
Emanuele Aliberti
3b17d563fa Various fixex to make HEAD compile.
I hope I did break nothing.

svn path=/trunk/; revision=16854
2005-07-29 10:04:38 +00:00
Emanuele Aliberti
c20aa760c5 Add PORT_MESSAGE_TYPE macro.
svn path=/trunk/; revision=16853
2005-07-29 09:51:08 +00:00
Emanuele Aliberti
62e6228e7e Various fixes to DPRINT parameter list.
Some were #if0'ed because they referenced non existing variables or parameters.

svn path=/trunk/; revision=16852
2005-07-29 09:30:41 +00:00
Emanuele Aliberti
3bf350101f [11:21] EmanueleAliberti: Usurp: drivers/dd/beep/bbep.c:178: only one DPRINT was #if 0'ed
[11:22]	Usurp: EmanueleAliberti: its a 2 line change
 	[11:22]	Usurp: <Usurp> -        pbsp->Frequency,
 	[11:22]	Usurp: <Usurp> -        pbsp->Duration);
 	[11:22]	Usurp: <Usurp> +        BeepParam->Frequency,
 	[11:22]	Usurp: <Usurp> +        BeepParam->Duration);

svn path=/trunk/; revision=16851
2005-07-29 09:25:26 +00:00
Alex Ionescu
ddb24faedc - Fix debug header, spottted by Gunnar
svn path=/trunk/; revision=16850
2005-07-29 00:14:05 +00:00
Thomas Bluemel
a661e95cdf clear out the lower 2 bits of a pid before using it to calculate the hash as they may vary
svn path=/trunk/; revision=16849
2005-07-28 23:29:44 +00:00
Thomas Bluemel
d0f433ab3a don't generate meaningless lvalue typecast
svn path=/trunk/; revision=16848
2005-07-28 23:22:47 +00:00
Thomas Bluemel
f2c7927059 discard explicitly returned value
svn path=/trunk/; revision=16847
2005-07-28 23:19:22 +00:00
Alex Ionescu
b5027d8a17 - Fix/update w32api PE headers
- Implement proper PEB creation, set all necessary fields and read data from PE Header and Config Directory. Fixes "corruption" issue with console apps.

svn path=/trunk/; revision=16846
2005-07-28 22:43:24 +00:00
Magnus Olsen
01cbbcac9c Implement GdiEntry13, GdiEntry15, GdiEntry16 (all are party tested)
svn path=/trunk/; revision=16845
2005-07-28 22:34:11 +00:00
Magnus Olsen
480b18f588 Implement GdiEntry12 (8 of 16 are done and party tested)
svn path=/trunk/; revision=16844
2005-07-28 22:08:29 +00:00
Magnus Olsen
6f8996d82e implement GdiEntry 8, Implement GdiEntry 10
svn path=/trunk/; revision=16843
2005-07-28 21:55:51 +00:00
Magnus Olsen
01918f37b1 thx irc : unC0Rr did sport typo fault in GdiEntry3
svn path=/trunk/; revision=16842
2005-07-28 21:34:00 +00:00
Magnus Olsen
52754f93e1 implement GdiEntry7 (some part is untested)
svn path=/trunk/; revision=16841
2005-07-28 21:08:55 +00:00
Magnus Olsen
642c3770b3 implement GdiEntry6 (party untested)
svn path=/trunk/; revision=16840
2005-07-28 21:00:24 +00:00
Magnus Olsen
a5fb10e380 delete ddentry.h for it was it was party copy of include/win32k/ntdraw.h, change to ros coding style forgot about that. Implement GdiEntry5 (3 of 16 are done and untested)
svn path=/trunk/; revision=16839
2005-07-28 20:35:53 +00:00
Magnus Olsen
b5f3ac7964 set eol style native
svn path=/trunk/; revision=16838
2005-07-28 19:37:36 +00:00
Magnus Olsen
4d4bdde2eb implemet GdiEntry3 (2 of 16 are now implement) but some part is still untested
svn path=/trunk/; revision=16837
2005-07-28 19:28:25 +00:00
Filip Navara
f99da74356 Add definition of PI_RESOURCE_ARBITER_ENTRY.
svn path=/trunk/; revision=16836
2005-07-28 19:23:11 +00:00
Steven Edwards
6d7b5426e7 some cleanups and I hope closer to making it work
svn path=/trunk/; revision=16835
2005-07-28 18:53:35 +00:00
Magnus Olsen
c33b209409 implement GDIEntry1 of 16, the code is bit untested, we can not test it until all are in place and win32k/ntdraw got some stub remove. when all GdiEntry1-16 we are compatble with ms directdraw1-7 interface in gdi32.dll
svn path=/trunk/; revision=16834
2005-07-28 18:45:58 +00:00
Steven Edwards
1aa3ba72f9 fixed opening of the device
svn path=/trunk/; revision=16833
2005-07-28 18:34:01 +00:00
Magnus Olsen
fea82752a1 add copyright note
svn path=/trunk/; revision=16832
2005-07-28 16:52:15 +00:00
Magnus Olsen
0ee80aa69e Do not do syscall. redirect the call to DdEntry1-56 in gdi32.dll it make our d3d8thk windows xp compatible.
svn path=/trunk/; revision=16831
2005-07-28 16:44:25 +00:00
Magnus Olsen
7b99ee39f8 Add DdEntry 1-56 it is pure syscall to win32k/ntdraw. Windows XP and higher does have this entry. And thanks to that we can make directdraw Windows XP or higher compatible. But rember alot of directdraw api are still stub in win32k/ntdraw.
svn path=/trunk/; revision=16830
2005-07-28 16:42:06 +00:00
Emanuele Aliberti
ab051595b1 Fix compilation (as hinted by Alex).
svn path=/trunk/; revision=16828
2005-07-28 11:48:58 +00:00
Casper Hornstrup
509048a223 Don't clean alias modules
svn path=/trunk/; revision=16827
2005-07-28 10:45:21 +00:00
Alex Ionescu
f15bd378aa - Start of fixing CreateProcess's problems. Implemented the console creation as it should be done (not quite, but much closer to design then before). There are still some problems (input/output handle inconsitencies), I am currently working on these issues;
- Some debug header cleanup.
 - Use the proper debug macros in some of the network code, shuts up a lot of spam when debugging for those modules wasn't enabled.

svn path=/trunk/; revision=16826
2005-07-28 04:12:43 +00:00
Steven Edwards
7851e816be fixed building dosfsck
svn path=/trunk/; revision=16825
2005-07-28 03:10:35 +00:00
Steven Edwards
ab92efdeca added port of dosfsck. Does not work yet as I cannot figure how to open the device. Win32 file access code is included ported from mkdosfs.c
svn path=/trunk/; revision=16824
2005-07-28 02:37:42 +00:00
Thomas Bluemel
71a12f48d0 implemented TreeResetNamedSecurityInfo and forward it to the MARTA provider
svn path=/trunk/; revision=16823
2005-07-27 23:11:38 +00:00
Alex Ionescu
42a3e034f8 - Fix incorrect definitions
svn path=/trunk/; revision=16822
2005-07-27 21:48:47 +00:00
Thomas Bluemel
9dabbd25fc implemented GetExplicitEntriesFromAcl and forward it to the MARTA provider
svn path=/trunk/; revision=16816
2005-07-27 20:24:11 +00:00
Alex Ionescu
6870957b9a - Fix included headers in GDI for PSDK compatibility
- Fix some incorrect definitions.
 - Remove more quintuplicated header nonsense...

svn path=/trunk/; revision=16815
2005-07-27 20:09:46 +00:00
Casper Hornstrup
f5ef0f7c0f Add Revison ISO interface
svn path=/trunk/; revision=16814
2005-07-27 20:09:19 +00:00
Casper Hornstrup
efcdb62b24 Move API status stylesheet
svn path=/trunk/; revision=16813
2005-07-27 20:06:18 +00:00
Casper Hornstrup
4f757b3d6e Add API status scripts
svn path=/trunk/; revision=16812
2005-07-27 20:04:48 +00:00
Alex Ionescu
ea3d8b6b8d - Fix debug header nonsense
- Fix some w32api definitions
 - MSVC/PSDK Compatibility fixes.
 - Clean up user32 headers for greater PCH usage.

svn path=/trunk/; revision=16811
2005-07-27 19:21:46 +00:00
Casper Hornstrup
24f28bb15b Put halmp.dll on CD
svn path=/trunk/; revision=16810
2005-07-27 19:10:57 +00:00
Casper Hornstrup
dc0201cafa Update API status to SVN
svn path=/trunk/; revision=16809
2005-07-27 18:46:52 +00:00
Casper Hornstrup
cfa4cb7478 rgenstat makefile
svn path=/trunk/; revision=16808
2005-07-27 18:46:27 +00:00
Thomas Bluemel
d04a2e183c implemented GetInheritanceSource and FreeInheritedFromArray and forward them to the MARTA provider
svn path=/trunk/; revision=16807
2005-07-27 18:24:18 +00:00
Thomas Bluemel
a3b5b6b8a8 implemented SetEntriesInAclA/W and forward the call to the MARTA provider
svn path=/trunk/; revision=16806
2005-07-27 17:20:57 +00:00
Steven Edwards
0acd7d503b revert the ctype.h changes to wine dlls
svn path=/trunk/; revision=16805
2005-07-27 17:06:06 +00:00
Alex Ionescu
298b0372cd - Include ctype.h by default.
svn path=/trunk/; revision=16804
2005-07-27 16:55:40 +00:00
Alex Ionescu
52973bb61c - Use inline function instead of macro.
svn path=/trunk/; revision=16803
2005-07-27 16:34:14 +00:00
Alex Ionescu
5af8e51ad1 - Use PCH everywhere to increase compile speed
- Some PSDK compatibility.

svn path=/trunk/; revision=16802
2005-07-27 16:18:06 +00:00
Alex Ionescu
c91952309a - Combine some assembly files together and move them to rtl
- Convert rtl memory functions written by Greatlord to GAS and properly add them into build system (not used yet since they haven't been tested)
 - Misc cleanups

svn path=/trunk/; revision=16801
2005-07-27 16:11:29 +00:00
Aleksey Bragin
6cc3428516 Timer modifications, turning on debug messages, implementing more functions (but spinlocks are disabled now).
Now it detects attached device(s) and show info in debug messages.

svn path=/trunk/; revision=16800
2005-07-27 14:57:33 +00:00
Alex Ionescu
ad3464c9a6 - Some more PSDK compatibility fixes
- Misc cleanup...

svn path=/trunk/; revision=16792
2005-07-27 06:18:52 +00:00
Martin Fuchs
b12a9db3c1 fix last patch: LPWSTR -> LPTSTR
svn path=/trunk/; revision=16791
2005-07-27 05:42:33 +00:00
Alex Ionescu
a9d517d95c - Fix all ACPI warnings and add default case for unhandled ACPI cases.
svn path=/trunk/; revision=16790
2005-07-27 05:09:05 +00:00
Alex Ionescu
14e0bc6128 - Fix warnings
- Remove code that isn't used in ReactOS because our _SHExpandEnvironmentStrings was completely re-written and thus doesn't use the two helper functions that WINE's _SHExpandEnvironmentStrings does.

svn path=/trunk/; revision=16789
2005-07-27 05:08:32 +00:00
Alex Ionescu
bafc9b7881 - Fix warnings
svn path=/trunk/; revision=16788
2005-07-27 02:06:31 +00:00
Alex Ionescu
3028ef48f1 - Fix warnings
svn path=/trunk/; revision=16787
2005-07-27 02:04:55 +00:00
Alex Ionescu
d6e5f3f636 - Fix warnings
svn path=/trunk/; revision=16786
2005-07-27 02:03:01 +00:00
Alex Ionescu
97ff2de432 - Fix warnings
svn path=/trunk/; revision=16785
2005-07-27 02:01:02 +00:00
Alex Ionescu
65282e530e - Fix warnings
svn path=/trunk/; revision=16784
2005-07-27 01:59:41 +00:00
Alex Ionescu
e1e6c8844c - Fix warnings
svn path=/trunk/; revision=16783
2005-07-27 01:58:34 +00:00
Alex Ionescu
1f1ef9eab3 - Fix broken IInternetZoneManagerVtbl definition.
svn path=/trunk/; revision=16782
2005-07-27 01:56:55 +00:00
Alex Ionescu
e618d8965d - Fix export definition
svn path=/trunk/; revision=16781
2005-07-27 01:52:27 +00:00
Alex Ionescu
42fb82a647 - Fix warnings
svn path=/trunk/; revision=16780
2005-07-27 01:50:31 +00:00
Alex Ionescu
edcb998459 - Fix warnings
svn path=/trunk/; revision=16779
2005-07-27 01:44:10 +00:00
Alex Ionescu
59d0d06535 - Fix warnings
svn path=/trunk/; revision=16778
2005-07-27 01:40:13 +00:00
Alex Ionescu
8f5a8d1f57 - Use correct wine debug functions
svn path=/trunk/; revision=16777
2005-07-27 01:38:51 +00:00
Magnus Olsen
6ea556e014 fix errorlevel for type, the r16766 was Brandon Turner patch sorry I forgt menoty his name.
svn path=/trunk/; revision=16776
2005-07-27 01:38:00 +00:00
Thomas Bluemel
961df2a275 export these stubs: AddAccessAllowedObjectAce, AddAccessDeniedObjectAce, AddAuditAccessObjectAce, CreatePrivateObjectSecurityEx, CreatePrivateObjectSecurityWithMultipleInheritance, ConvertToAutoInheritPrivateObjectSecurity, EqualDomainSid, GetWindowsAccountDomainSid and CreateWellKnownSid
svn path=/trunk/; revision=16775
2005-07-27 01:31:34 +00:00
Alex Ionescu
020c2e8477 - Fix warnings
svn path=/trunk/; revision=16774
2005-07-27 01:26:16 +00:00
Alex Ionescu
ffcb5d176a - Fix warnings
svn path=/trunk/; revision=16773
2005-07-27 01:22:46 +00:00
Alex Ionescu
2596f83747 - Fix warnings.
svn path=/trunk/; revision=16772
2005-07-27 01:14:00 +00:00
Alex Ionescu
71333e755e - Add wine_dbgstr_w
- Revert changes, msiexec is shared.

svn path=/trunk/; revision=16771
2005-07-27 01:12:53 +00:00
Alex Ionescu
0359f3c1eb - Fix warnings
- Print unicode strings normally with %S instead of wine macro.

svn path=/trunk/; revision=16770
2005-07-27 01:09:38 +00:00
Alex Ionescu
bbd697daa6 - Fix warnings
- Revert to wZ, gcc is being stupid.

svn path=/trunk/; revision=16769
2005-07-27 01:02:51 +00:00
Alex Ionescu
c8370e3506 - Fix warnings
svn path=/trunk/; revision=16768
2005-07-27 00:55:36 +00:00
Alex Ionescu
e5d3501d91 - Fix warnings
svn path=/trunk/; revision=16767
2005-07-27 00:54:07 +00:00
Magnus Olsen
b4ee0d0b03 update the english text for type
svn path=/trunk/; revision=16766
2005-07-27 00:50:24 +00:00
Magnus Olsen
a06de608ff add /P as param for Type, from PCDOS by Brandon Turner
svn path=/trunk/; revision=16765
2005-07-27 00:05:34 +00:00
Filip Navara
dac7500f25 Do not dereference NULL pointers and this time for real.
svn path=/trunk/; revision=16764
2005-07-26 22:51:03 +00:00
Filip Navara
09e1dd8b9b Do not dereference NULL pointers.
svn path=/trunk/; revision=16763
2005-07-26 22:40:03 +00:00
Thomas Bluemel
cbb15fff51 implemented GetNamedSecurityA/W and SetNamedSecurityInfoA/W and forward them to the MARTA provider
svn path=/trunk/; revision=16762
2005-07-26 22:21:02 +00:00
Hartmut Birr
13b2222c28 reverted last change
svn path=/trunk/; revision=16761
2005-07-26 21:33:38 +00:00
Thomas Bluemel
b0faf4f537 - implemented GetSecurityInfo and SetSecurityInfo which just check and/or transform parameters and pass the call to the MARTA provider
- added missing definitions to w32api

svn path=/trunk/; revision=16760
2005-07-26 21:20:55 +00:00
Thomas Bluemel
5887e9c4c9 added an initial MARTA provider (only two functions stubbed)
svn path=/trunk/; revision=16759
2005-07-26 21:17:06 +00:00
Hartmut Birr
9c8f710c8a Lock the handle table if we trying to get a pointer from a handle.
svn path=/trunk/; revision=16758
2005-07-26 19:46:07 +00:00
Hartmut Birr
2c31fcac60 Used IoQueryFileInformation and IoSetInformation instead of ZwQueryInformationFile and ZwSetInformationFile to remove some overhead.
svn path=/trunk/; revision=16757
2005-07-26 19:38:33 +00:00
Hartmut Birr
522a0e59cd Silence debug messages.
svn path=/trunk/; revision=16756
2005-07-26 19:35:22 +00:00
Hartmut Birr
1bae97d5ce - Remove the permanent flag from an object if ObInserObject failed (in IoCreateFile).
- Bypass the driver for FilePositionInformation and FileAlignmentInformation in NtQueryInformationFile and NtSetInformationFile.

svn path=/trunk/; revision=16755
2005-07-26 19:31:41 +00:00
Hartmut Birr
dd90242aa7 Acquire always the apc lock if we are modifying the apc queue.
svn path=/trunk/; revision=16754
2005-07-26 19:21:27 +00:00
Hartmut Birr
ec8a1499ee - Forgot one change to KeAcquireSpinLockAtDpcLevel.
svn path=/trunk/; revision=16753
2005-07-26 19:15:08 +00:00
Hartmut Birr
3cccb4ec8d - Fixed the broken implementation of KeFlushQueueApc.
- Fixed some locking operations with two spin locks.

svn path=/trunk/; revision=16752
2005-07-26 19:11:25 +00:00
Filip Navara
dfaa3196ee Yet another fix to WinPosActivateOtherWindow, we should search only for top-level windows next to the window we're about to deactivate.
svn path=/trunk/; revision=16751
2005-07-26 19:02:31 +00:00
Filip Navara
b165c36180 Don't steal foreground window focus from other applications in WinPosActivateOtherWindow and remove incorrect code for searching top-most windows.
svn path=/trunk/; revision=16750
2005-07-26 17:46:48 +00:00
Filip Navara
2ce933f05b Fix reverting of focus to owner windows.
svn path=/trunk/; revision=16749
2005-07-26 16:34:48 +00:00
Filip Navara
609a60c719 Add check for global handles to NtGdiDeleteDC, this prevents applications from destroying DCs that are part of DCEs.
svn path=/trunk/; revision=16748
2005-07-26 16:03:46 +00:00
Filip Navara
fc8add5154 Don't use DeleteDC on DC handles returned by GetDC.
svn path=/trunk/; revision=16747
2005-07-26 15:47:26 +00:00
Filip Navara
1d059a1ddf Implement ValidateRect.
svn path=/trunk/; revision=16746
2005-07-26 15:21:41 +00:00
Alex Ionescu
cdfdfa0b8b - Allow file debug prints to happen at IRQL > DISPATCH_LEVEL, but don't queue a work item until we are at <= DISPATCH. Fixes /DEBUGPORT=FILE freeze/crash/bug.
svn path=/trunk/; revision=16745
2005-07-26 15:15:18 +00:00
Alex Ionescu
b8f8df7565 - Various Microsoft DDK/PSDK compatibility fixes and some MSVC stuff too.
- Fix PSECURITY_DESCRIPTOR_RELATIVE names.c
 - Don't use rtltypes.h as a replacement for normal stdlib headers.
 - Fix a HAL header fixme.

svn path=/trunk/; revision=16744
2005-07-26 14:00:45 +00:00
Thomas Bluemel
9acecc8bdd add uxtheme.dll and objsel.dll to the bootcd
svn path=/trunk/; revision=16743
2005-07-26 13:50:18 +00:00
Thomas Bluemel
20dbd58c45 show the object picker dialog when clicking the Add button
svn path=/trunk/; revision=16742
2005-07-26 13:42:15 +00:00
Thomas Bluemel
1d403604a1 import objsel.dll from wine-20050726
svn path=/trunk/; revision=16741
2005-07-26 13:40:31 +00:00
Magnus Olsen
095f3025fb update the En.rc for del by Brandon Turner and me
svn path=/trunk/; revision=16740
2005-07-26 13:24:44 +00:00
Magnus Olsen
06abc8209f Implement /S /F and code clean up by Brandon Turner
svn path=/trunk/; revision=16739
2005-07-26 13:15:50 +00:00
Thomas Bluemel
d7702b47f9 removed some MmCopyTo/FromCaller calls from win32k's GDI
svn path=/trunk/; revision=16738
2005-07-26 12:22:55 +00:00
Filip Navara
e0cd2dc6bf Fix some bugs in DIB mapping code to prevent instant system crashes.
svn path=/trunk/; revision=16737
2005-07-26 11:22:48 +00:00
Filip Navara
11c02111f0 Properly setup the I/O stack location in IopSecurityFile.
svn path=/trunk/; revision=16736
2005-07-26 11:00:15 +00:00
Filip Navara
ead342935a Don't allow setting menu for child windows in IntSetMenu.
svn path=/trunk/; revision=16735
2005-07-26 10:35:13 +00:00
Filip Navara
c5646382a5 #include "csrss.h" -> #include <csrss.h>
svn path=/trunk/; revision=16734
2005-07-26 08:55:25 +00:00
Filip Navara
3f77d0e91e #include "rtl.h" -> #include <rtl.h>
svn path=/trunk/; revision=16733
2005-07-26 08:40:02 +00:00
Filip Navara
d2bc064abf #include "rtl.h" -> #include <rtl.h>
svn path=/trunk/; revision=16732
2005-07-26 08:39:07 +00:00
Alex Ionescu
f3622d33aa - Remove ROSRTL. The era is over. Thanks to Filip for his help during the last month.
svn path=/trunk/; revision=16731
2005-07-26 04:52:11 +00:00
Alex Ionescu
1e8c8e3fe6 - Final ROSRTL removal patch. The next patch will remove the actual library and code.
- Changes:
    - CreateProcess
        * Cleanup creation of the initial thread using new utility functions and remove rosrtl
        * Almost entirely rewrote the function to support features such as:
            - SxS (locally only, patch will follow),
            - SFP (SAFER) (locally only, patch will follow),
            - DllPaths (locally only, patch will follow), 
            - Proper process environment/paramter block creation
            - Proper console handle management (needs more work in kernel32/csr),
            - Tokens/CreateProcessAsUser (locally only, patch will follow), 
            - Simpler code for path lookup, and more robust.
            - Support for "auto-correction" (see Raymond Chen's blog)
            - 16-bit/NE detection
            - A variety of creation flags are now properly supported
            - Added support for an undocumented-yet-known (see comment) shell flag
            - Alert for flags we don't support yet
            - Catch invalid flag combinations and other caller errors
            - Improve and correct path searcing to use documented behaviours
            - Created a multitude of helper functions to make the code easier to read
              and allow them to be used for other apis as time goes on.
    
    - BaseProcessStartup
        * Call NtSetThreadInformation to let the Kernel know of the Thread's Start Address.
        * Correct prototype of Thread Startup function for this case.

This fixes MANY things, some of which may not be evident, and possibly creates regressions which I have not yet seen but will try to correct. Some of these may be caused by the fact that I've seen code send CreateProcessW incorrect flags. Some things of note: DO NOT send partial names as "lpApplicationName". It's not supposed to work unless you're in the same current directory. Also, do NOT send CREATE_UNICODE_ENVIRONMENT if you don't have a unicode environement, and vice-versa. I've seen lots of code doing mistakes related to this. I hope you appreciate this patch and won't all jump on me for possbile regressions :(.

svn path=/trunk/; revision=16730
2005-07-26 04:14:10 +00:00
Alex Ionescu
286cccb1de - Fix compilation if redzone detection is diabled.
svn path=/trunk/; revision=16729
2005-07-26 00:50:17 +00:00
Alex Ionescu
55234f6094 - Don't try to get the length of a possibly empty string. This fixes many menu applications (such as WinRAR). However I'm now getting a bug due to a double-free. It seems a GDI Object is being freed twice. Can anyone check this out please?
svn path=/trunk/; revision=16728
2005-07-26 00:43:19 +00:00
Alex Ionescu
e7c2fa1d9c - Message Queue Fix, resolves a number of application regressions (Total Commander works again, for example). Patch by Hartmut Birr. To be commited into 0.2.7 after more testing.
svn path=/trunk/; revision=16727
2005-07-25 23:19:12 +00:00
Aleksey Bragin
663bb3a53e Fix stupid typo-mistake, which lead to allocating only 4 bytes intead of sizeof(struct pci_pool).
svn path=/trunk/; revision=16726
2005-07-25 21:09:21 +00:00
Filip Navara
38cd13eb67 Build Wine DLLs without the UNICODE and _UNICODE definitions. (Note: The Wine DLLs use A/W functions explicitely, so this doesn't have any performance impact.)
svn path=/trunk/; revision=16725
2005-07-25 20:28:29 +00:00
James Tabor
f04a4eea8c Added more Wine MDI functions. I've tested these for +4 weeks, with Winefile, mdi(mdi test program), and AbiWord. More work is needed.
svn path=/trunk/; revision=16724
2005-07-25 20:07:19 +00:00
Filip Navara
8bac7925c0 Miscellaneous header fixes (packing and TCHAR stuff).
svn path=/trunk/; revision=16723
2005-07-25 20:03:42 +00:00
James Tabor
a2f80d0873 Patch by Robert Shearman rob@codeweavers.com, Use GdiGetCharDimensions Instead of DIALOG_GetCharSize.
svn path=/trunk/; revision=16722
2005-07-25 04:21:29 +00:00
Eric Kohl
971f04ec99 Fix grammar of the size_is attribute so that size_is(*Length) gets accepted.
svn path=/trunk/; revision=16721
2005-07-24 22:17:02 +00:00
Martin Fuchs
66fd6f0880 set eol-style for most xml files
svn path=/trunk/; revision=16720
2005-07-24 21:42:00 +00:00
Martin Fuchs
7944b41ae3 set eol-style for XML files in rosapps
svn path=/trunk/; revision=16719
2005-07-24 21:44:45 +00:00
Martin Fuchs
f6815841ae set eol-style to 'native'
svn path=/trunk/; revision=16718
2005-07-24 21:31:13 +00:00
Martin Fuchs
851bb090ac set eol-style to 'native'
svn path=/trunk/; revision=16717
2005-07-24 21:29:01 +00:00
Steven Edwards
7c343c4a57 fix line ending I hope
svn path=/trunk/; revision=16716
2005-07-24 21:17:54 +00:00
Steven Edwards
ea5ff9f06e added directory.xml for tests
svn path=/trunk/; revision=16715
2005-07-24 18:32:34 +00:00
Hartmut Birr
0dea0a5836 - Removed R_EXTRA_STACK because R_EXTRA_STACK and R_STACK must have the same size.
- Initialized an allocated block completely before release the lock.

svn path=/trunk/; revision=16714
2005-07-24 17:48:52 +00:00
Hervé Poussineau
8c34b25c71 Don't compare GUID strings with wcsicmp, but compare GUID* with IsEqualIID
Directly use HKEY_LOCAL_MACHINE instead of RegOpenKey(HKEY_LOCAL_MACHINE, NULL, ...).
Remove use of UNICODE_NULL
Replace #ifdef __WINE__ by #ifdef __WINESRC__
Fix SetupDiCallClassInstaller prototype (DWORD -> DI_FUNCTION)

Thanks Usurp for your testing on Wine!

This file works now unmodified in Wine. A patch would be soon sent to wine-patches ML.

svn path=/trunk/; revision=16713
2005-07-24 17:21:26 +00:00
Hartmut Birr
6aeadd25fd Fixed the memory allocation in EngCreateEvent.
svn path=/trunk/; revision=16712
2005-07-24 14:08:20 +00:00
Hervé Poussineau
07d3247011 Patch by Andrey Korotaev <unC0Rr@inbox.ru>: Fix scrolling with mouse
This multiplication was deleted when replacing old psaux driver by i8042prt
Fixes bug #652

svn path=/trunk/; revision=16711
2005-07-24 11:59:28 +00:00
Eric Kohl
2763e3353b Implement CM_Get_Device_ID_List_Size_ExA, CM_Get_Device_ID_ExA and CM_Get_Device_ID_List_ExA.
svn path=/trunk/; revision=16710
2005-07-24 11:48:08 +00:00
Thomas Bluemel
45e2c259ef use ZwQueryInformationFile instead of NtQueryInformationFile in IntGdiAddFontResource because we're passing kernel pointers in UserMode
svn path=/trunk/; revision=16709
2005-07-24 09:20:43 +00:00
Thomas Bluemel
1375ddbb83 use ZwQueryInformationFile and ZwSetInformationFile instead of the Nt version since we're passing kernel pointers to them which cause a probe failure in UserMode. This should fix the 1st stage setup
svn path=/trunk/; revision=16708
2005-07-24 09:11:30 +00:00
Steven Edwards
6bdd4f6993 dont try to buid font.c as its a empty file for now
svn path=/trunk/; revision=16707
2005-07-23 17:47:28 +00:00
Maarten Bosma
56ad48118f Added makefile which tell how to compile rosapps.
svn path=/trunk/; revision=16706
2005-07-23 17:45:41 +00:00
Alex Ionescu
7669e8fd6d - Disable APC Queuing & Flush APC queues during thread shutdown.
- Detect if Kernel APCs were pending during thread shutdown.
 - Call Lego Routine, if registered, during thread shutdown.

svn path=/trunk/; revision=16705
2005-07-23 17:40:48 +00:00
Eric Kohl
b244520c5a - Implement CM_Get_Child_Ex, CM_Get_Parent_Ex, CM_Get_Sibling_Ex and CM_Set_DevNode_Problem[_Ex].
- Clean-up indentation.

svn path=/trunk/; revision=16704
2005-07-23 13:43:52 +00:00
Eric Kohl
8b127ceac1 - Fix offset calculation bug in the ProcFormatString.
- Fix offset calculation bug in the marshalling and unmarshalling code.
- Fix typos in the TypeFormatString.
This makes the [string, out, size_is()] parameters work properly.

svn path=/trunk/; revision=16703
2005-07-23 11:55:33 +00:00
Hartmut Birr
95a28ce6c5 Fixed an uninitialized variable error.
svn path=/trunk/; revision=16702
2005-07-23 11:51:47 +00:00
Hartmut Birr
906754b0ed Fixed an uninitialized variable error.
svn path=/trunk/; revision=16701
2005-07-23 11:43:34 +00:00
Hartmut Birr
82cd3d5f80 Split the page fault handler from the trap handler.
svn path=/trunk/; revision=16700
2005-07-23 11:25:12 +00:00
Thomas Bluemel
184ff4dd27 export LsaLookupSids which is required by aclui.dll
svn path=/trunk/; revision=16699
2005-07-23 10:08:15 +00:00
Thomas Bluemel
108b262074 regedit should be installed in %SystemRoot% directly
svn path=/trunk/; revision=16698
2005-07-23 09:58:23 +00:00
Hartmut Birr
683d42211c If a page fault occurs in user mode, we must deliver user mode apc's.
svn path=/trunk/; revision=16697
2005-07-23 08:14:21 +00:00
Magnus Olsen
d5ae40868c last mins bug fix frirc nick jjkola, Jyrki Jaakkola <jjkola@email.com> for move. solve some new bugs. I forget menoter multuser is not done yet. But move folder from a vol to another works. Move need really clean up after his patch.
svn path=/trunk/; revision=16696
2005-07-22 23:58:26 +00:00
Magnus Olsen
6af5a6f78f irc nick jjkola, Jyrki Jaakkola <jjkola@email.com> frist patch solv to move file from a vol to another, and move mulite file same time. (not tested in ros) it works in windows with ros cmd. The patch are not very clean , but it fix alot of bugs also in move.
svn path=/trunk/; revision=16695
2005-07-22 23:15:54 +00:00
Thomas Bluemel
7aad44a4f5 - replaced IopCreateUnicodeString with RtlCreateUnicodeString
- allocate the DriverName from paged pool

svn path=/trunk/; revision=16694
2005-07-22 22:40:54 +00:00
Thomas Bluemel
5518114830 declare RtlDuplicateUnicodeString
svn path=/trunk/; revision=16693
2005-07-22 22:25:25 +00:00
Thomas Bluemel
648f859ea2 allocate LogFileName and HiveFileName from paged pool
svn path=/trunk/; revision=16692
2005-07-22 21:10:52 +00:00
Thomas Bluemel
9f2bf70ddb removed MmCopyFromCaller and MmCopyToCaller and depend on SEH instead
svn path=/trunk/; revision=16691
2005-07-22 20:52:31 +00:00
Thomas Bluemel
4bfbd2cfaf probe the pointers in _MmCopyFromCaller and _MmCopyToCaller. There's no need to check the processor mode since it's always just used to copy from/to user memory
svn path=/trunk/; revision=16690
2005-07-22 20:51:36 +00:00
Steven Edwards
8112d02490 some fixes for the host gcc4 on FC4
svn path=/trunk/; revision=16689
2005-07-22 19:45:32 +00:00
Eric Kohl
30f4461f0e Forgot to commit this file.
svn path=/trunk/; revision=16688
2005-07-22 14:53:24 +00:00
James Tabor
0f84d9e6fd Update and implement UnrealizeObject.
svn path=/trunk/; revision=16687
2005-07-22 12:25:02 +00:00
Eric Kohl
c85a086e9e Make IoGetDeviceObjectFromDeviceInstance work without using the Registry. (experimental)
svn path=/trunk/; revision=16686
2005-07-21 20:30:55 +00:00
Eric Kohl
446d367792 Add parameter checks.
svn path=/trunk/; revision=16685
2005-07-21 20:10:47 +00:00
Hartmut Birr
c5a9d200e8 Initialized all stack related values.
svn path=/trunk/; revision=16684
2005-07-21 18:32:28 +00:00
Maarten Bosma
cf27db3375 Created the d3d8thk makefile and a internal header file.
svn path=/trunk/; revision=16683
2005-07-21 18:22:45 +00:00
Magnus Olsen
daeb68b5cc fix bug in date if the input arg are not right dateformat, it should prom after new date
svn path=/trunk/; revision=16682
2005-07-21 17:24:15 +00:00
Magnus Olsen
58f5ef812e fix a small bug, write out time like HH:MM:SS,ms as ms cmd does.
svn path=/trunk/; revision=16681
2005-07-21 16:28:20 +00:00
Hartmut Birr
0d62ee8f06 Set MmUserProbeAddress and MmHighestUserAddress according to the system range start.
svn path=/trunk/; revision=16680
2005-07-21 15:46:07 +00:00
Magnus Olsen
4ecc4b94c9 Fix copy /B filename + , , bug (touch) and fix whitespace for copy /B file + file + file2
by Brandon Turner

svn path=/trunk/; revision=16679
2005-07-21 14:15:42 +00:00
Magnus Olsen
c4341bddc3 Update with right reactos logo by mf
svn path=/trunk/; revision=16678
2005-07-21 13:55:36 +00:00
Thomas Bluemel
409e9165aa removed the ros-specific (and unused) functions ExRosDumpPagedPoolByTag, ExRosQueryPagedPoolTag and ExRosQueryPoolTag
svn path=/trunk/; revision=16677
2005-07-21 10:31:29 +00:00
Magnus Olsen
0da3627c3b add touch to copy by Brandon Turner
svn path=/trunk/; revision=16676
2005-07-21 10:03:01 +00:00
Alex Ionescu
c6262e3b0f - Freetype Update to 2.1.10. Reduces memory usage, increases speed and fixes drawing bugs.
- Enable Bytecode. Weird_W's fonts finally look humanly readable.

Thanks to Waxdragon for testing.
 
<http://www.freetype.org>

LATEST CHANGES BETWEEN 2.1.10 and 2.1.9

  I. IMPORTANT BUG FIXES

    - The size comparison for BDF and PCF files could fail sometimes.

    - Some  CFF files  were still not  loaded  correctly.   Patch from
      Derek Noonburg.

    - The stroker still had some serious bugs.

    - Boris  Letocha  fixed a  bug in  the  TrueType interpreter:  The
      NPUSHW instruction wasn't skipped correctly in IF clauses.  Some
      fonts like `Helvetica 75 Bold' failed.

    - Another  serious  bug  in  handling  TrueType hints  caused many
      distortions.  It has been introduced in version 2.1.8, and it is
      highly recommended to upgrade.

    - FreeType didn't properly parse empty Type 1 glyphs.
    
    - An unbound dynamic buffer growth was fixed in the PFR loader.
    
    - Several bugs have been fixed in the cache sub-system.

    - FreeType behaved incorrectly when resizing two distinct but very
      close character pixel sizes through `FT_Set_Char_Size' (Savannah
      bug #12263).
      
    - The auto-hinter didn't work properly for fonts without a Unicode
      charmap -- it even refused to load the glyphs.


  II. IMPORTANT CHANGES

    - Many fixes have been applied to drastically reduce the amount of
      heap   memory   used   by   FreeType,   especially   when  using
      memory-mapped font files  (which is the default on Unix  systems
      which support them).

    - The auto-hinter  has been replaced with a new module, called the
      `auto-fitter'.  It consumes  less memory  than its  predecessor,
      and it is  prepared to support non-latin scripts  better in next
      releases.

    - George Williams  contributed code to read  kerning data from PFM
      files.

    - FreeType   now   uses    the   TT_NAME_ID_PREFERRED_FAMILY   and
      TT_NAME_ID_PREFERRED_SUBFAMILY   strings   (if   available)  for
      setting  family  and  style in SFNT  fonts  (patch from Kornfeld
      Eliyahu Peter).

    - A  new  API `FT_Sfnt_Table_Info'  (in FT_TRUETYPE_TABLES_H)  has
      been added to retrieve name and size information of SFNT tables.

    - A new API `FT_OpenType_Validate' (in FT_OPENTYPE_VALIDATE_H) has
      been added to validate OpenType tables  (BASE, GDEF, GPOS, GSUB,
      JSTF).   After validation  it is  no longer  necessary to  check
      for errors in those tables while accessing them.

      Note that  this module might  be moved to another library in the
      future  to avoid  a tight  dependency between  FreeType and  the
      OpenType specification.

    - A new API in FT_BITMAP_H  (`FT_Bitmap_New', `FT_Bitmap_Convert',
      `FT_Bitmap_Copy',  `FT_Bitmap_Embolden',  `FT_Bitmap_Done')  has
      been added.   Its  use is  to convert an  FT_Bitmap structure in
      1bpp, 2bpp,  4bpp, or 8bpp  format into  another 8bpp FT_Bitmap,
      probably using a different pitch, and to further manipulate it.

    - A new  API `FT_Outline_Embolden'  (in FT_OUTLINE_H) gives  finer
      control how  outlines are embolded.

    - `FT_GlyphSlot_Embolden' (in FT_SYNTHESIS_H)  now handles bitmaps
      also (code contributed  by Chia I Wu).  Note that this  function
      is still experimental and may be replaced with a better API.

    - The method  how BDF and PCF  bitmap fonts  are accessed has been
      refined.   Formerly,   FT_Set_Pixel_Sizes  and  FT_Set_Char_Size
      were  synonyms in  FreeType's  BDF and PCF interface.  This  has
      changed now.  FT_Set_Pixel_Sizes  should be  used to  select the
      actual  font dimensions  (the `strike',  which is the sum of the
      `FONT_ASCENT'    and    `FONT_DESCENT'    properties),     while
      FT_Set_Char_Size  selects  the  `nominal' size  (the `PIXELSIZE'
      property).  In both functions, the width parameter is ignored.


  III. MISCELLANEOUS

    - The BDF driver  no longer converts  all returned bitmaps  with a
      depth of 2bpp or 4bpp to a depth of 8bpp.  The documentation has
      not  mentioned  this  explicitly,  but  implementors  might have
      relied on this after looking into the source files.

    - A new option `--ftversion' has been  added to freetype-config to
      return the FreeType version.

    - The  memory  debugger  has  been  updated   to  dump  allocation
      statistics on  all allocation  sources in the library.   This is
      useful to  spot greedy  allocations when  loading and processing
      fonts.

    - We removed a huge array of constant pointers to constant strings
      in the `psnames' module.   The problem was that  compilations in
      PIC mode (i.e.,  when generating a  Unix shared object/dll)  put
      the array  into the non-shared  writable section of  the library
      since absolute pointers are not relocatable by nature.
      
      This reduces the memory consumption by approximately 16KByte per
      process linked  to FreeType.   We now also store  the array in a
      compressed form (as a trie) which saves about 20KByte of code as
      well.

    - Kirill  Smelkov provided  patches to make  src/raster/ftraster.c
      compile stand-alone again.

svn path=/trunk/; revision=16675
2005-07-21 04:38:26 +00:00
Alex Ionescu
e4549de4a3 - Fix "cd" usage when the initial directory is a directory right on top of the root drive. (Brandon Turner)
svn path=/trunk/; revision=16674
2005-07-21 03:26:42 +00:00
Thomas Bluemel
f479dd02aa - Removed the Rtlp* string functions from the shared rtl library since they don't make sense in umode
- Moved RtlpCreateUnicodeString to ntoskrnl for now, it however is depreciated but still used in various places
- Added RtlpAllocateMemory and RtlpFreeMemory for rtl memory allocations (from paged pool in ntoskrnl and from the process heap in ntdll) that replace the ExAllocatePool* and ExFreePool implementations in ntdll

svn path=/trunk/; revision=16673
2005-07-20 23:35:59 +00:00
Thomas Bluemel
7b6225c3b5 fixed kdbg build
svn path=/trunk/; revision=16672
2005-07-20 21:38:17 +00:00
Magnus Olsen
2e13f4640d fix more cmd goto bugs. found labels bugs, and search label bugs, param bugs. now it should work fine
svn path=/trunk/; revision=16671
2005-07-20 19:44:47 +00:00
Magnus Olsen
368f39faad fix another bug in goto it is internel label :eof jump to end of the bat file
svn path=/trunk/; revision=16670
2005-07-20 18:43:01 +00:00
Magnus Olsen
4365851492 fix one bug with cmd goto so WBAT will work bit more now. thx gasmann to report it.
svn path=/trunk/; revision=16668
2005-07-20 17:06:53 +00:00
Alex Ionescu
8e5b438930 - Final fix.
svn path=/trunk/; revision=16667
2005-07-20 15:56:24 +00:00
Alex Ionescu
9b3250ce17 - Fix one more breakage (funny, the thing built without it for me?!)
svn path=/trunk/; revision=16666
2005-07-20 15:21:52 +00:00
Alex Ionescu
3134614de5 - Fix afd build for real (sorry...rbuild...)
svn path=/trunk/; revision=16665
2005-07-20 14:46:24 +00:00
Alex Ionescu
7ba312f725 - Fix AFD Build.
svn path=/trunk/; revision=16664
2005-07-20 14:45:33 +00:00
Alex Ionescu
0e0a951483 Fix build; sorry, I was waiting for Filip.
svn path=/trunk/; revision=16663
2005-07-20 14:40:20 +00:00
Filip Navara
0be32fc8d7 Build fixes.
svn path=/trunk/; revision=16662
2005-07-20 07:48:10 +00:00
Filip Navara
5fa260d21f Get rid of windows.h include in win32k. Fixes bug #666.
svn path=/trunk/; revision=16661
2005-07-20 07:27:09 +00:00
Alex Ionescu
692af5f653 Dmitry Philippov <shedon@mail.ru>:
- Implemented FindFirstFileExW() and have removed InternalFindFirstFile() in /lib/kernel32/file/find.c, now FindFirstFileA (), FindFirstFileExA () and FindFirstFileW called FindFirstFileExW ()

NOTE: Filip has asked revision "16661" (the next one) to be done by him... sorry if this sounds silly, but please respect his wish :)

svn path=/trunk/; revision=16660
2005-07-20 04:43:12 +00:00
Alex Ionescu
e8ebef770f - Move rosdhcp_public.h to dhcp library include directory.
svn path=/trunk/; revision=16659
2005-07-20 03:50:50 +00:00
Alex Ionescu
86f7b177e0 - Deleted ddk folder
- Moved afd headers to driver include directory

svn path=/trunk/; revision=16658
2005-07-20 03:43:20 +00:00
Alex Ionescu
0452118dc0 - Created include/libs and moved all library headers there.
- Created include/drivers and moved driver headers there.
 - Brought back core.h as diskdump.h, and re-enabled diskdump...it seems even though I was told it doesn't work, it's still very much used.

svn path=/trunk/; revision=16657
2005-07-20 03:42:05 +00:00
Alex Ionescu
f7270f23c4 - Build cdfs, ntfs, vfatfs with PCH
- Remove core.h and disable diskdump driver (never worked, was told it's an abandonned, obsolete driver and I tend to agree.)
 - Rename ROS ntifs.h to ccros.h and moved to root include directory (where all the "temporary" includes are for now).
 - Moved ROS class2.h to drivers/storage/include, per my own and other's recommendation, to make it clear that it's a ros-intenral file only useful for low-level storage drivers (no 3rd party driver needs this, which is why MS doesn't export it).

svn path=/trunk/; revision=16656
2005-07-20 02:52:52 +00:00
Alex Ionescu
832b1aa035 - Move asm.h to NDK.
svn path=/trunk/; revision=16655
2005-07-20 00:33:06 +00:00
Magnus Olsen
3de4927bd6 fixing bug copy file c: by Brandon Turner
svn path=/trunk/; revision=16654
2005-07-19 23:44:22 +00:00
Magnus Olsen
f48a391bbd Make CMD rember startpath when you change from start drive to another drive.
svn path=/trunk/; revision=16653
2005-07-19 23:36:59 +00:00
Magnus Olsen
7928f042c0 Fix some pipe and revirt one erly change as harumt sugest. and add alot errorlevel most command handle the errorlevel right but it is alot work todo
svn path=/trunk/; revision=16652
2005-07-19 23:25:50 +00:00
Magnus Olsen
6e7d8b2e8d add ConErrMessage to deal with error msg and ConOutMessage for other msg. Copy error msg are always pipe with ConOut and CD error msg with ConErr. Thx harmut that remmid me about it. All error msg need to check if they goes with ConErr or ConOut
svn path=/trunk/; revision=16651
2005-07-19 22:48:35 +00:00
Alex Ionescu
73e69c9d9e - 4th out of 5 patch part of ROSRTL removal. This touches fibers:
* Support SxS when available (add new fiber member for this as well).
        * Support FLS when available.
        * Added new Fiber Members for new features in XP/2003 (GuaranteedStackBytes and FlsData)
        * Support FPU State Restore/Save in switch code.
        * Use new common stack/context initialization routines instead of ROSRTL.
        * Change Fiber structure to use CONTEXT directly in order to speed up and generalize
          context creation.
        * Fix BaseFiberStartup to send right parameters.

Note: not yet fully tested with fibertest, I will do this later today and fix any bugs.

svn path=/trunk/; revision=16650
2005-07-19 21:04:19 +00:00
Alex Ionescu
22ef1b4558 - Update ASM header file with more offsets.
svn path=/trunk/; revision=16649
2005-07-19 20:56:38 +00:00
Alex Ionescu
f25f86cc02 - Fix LDR_DATA_TABLE_ENTRY definition.
svn path=/trunk/; revision=16648
2005-07-19 20:55:13 +00:00
Casper Hornstrup
4a454cb7d6 Generate RPC interface headers in intermediate directory
svn path=/trunk/; revision=16647
2005-07-19 18:46:13 +00:00
Magnus Olsen
b44c46dccd Fix all bugs in cmd commands cd, make it rember the last directory for each drive. make c: working, make cd f f working. We can not found any more bugs cd rewriting was done by BrandonTurner and me, Brandon rewrite cmd_chdir and I add two functions that we will use for cd and other commands to get and set current drive path. The /D are also implement in CD
svn path=/trunk/; revision=16646
2005-07-19 18:15:32 +00:00
Eric Kohl
5b843df690 - Implement CM_Get_Depth[_Ex] and CM_Get_DevNode_Status[_Ex].
- Add dummy code for CM_Get_Child_Ex, CM_Get_Parent_Ex and CM_Get_Sibling_Ex. WIDL doesn't support this yet.

svn path=/trunk/; revision=16645
2005-07-19 15:57:30 +00:00
Aleksey Bragin
4e94521b41 usb stack "upgrade", fixes issues with timing, host controller reset, new devices discovery, other small things (better to see diff :) ).
svn path=/trunk/; revision=16644
2005-07-19 14:11:53 +00:00
Aleksey Bragin
1e4f24a1e8 usbcore "upgrade", fixes issues with timing, host controller reset, new devices discovery, other small things (better to see diff :) ).
svn path=/trunk/; revision=16643
2005-07-19 14:06:19 +00:00
Aleksey Bragin
52d68cf938 Implemented needed DMA functions (pool alloc/free, create/destroy, map/unmap single), manipulations with timers (schedule_timeout, schedule_wait).
svn path=/trunk/; revision=16642
2005-07-19 13:19:04 +00:00
James Tabor
8e78ac6a62 Implement GdiGetCharDimensions by Robert Shearman rob@codeweavers.com.
svn path=/trunk/; revision=16641
2005-07-19 11:18:40 +00:00
James Tabor
6f5624c2a4 Fixup UnrealizeObject so it can return the correct state for a Brush Object.
svn path=/trunk/; revision=16640
2005-07-19 03:13:11 +00:00
Magnus Olsen
a6fd14c5c8 Cd does rember the cd c:\gcc and you can do c:
and it jump to c:\gcc not tested in reactos yet. but cd have other bugs that need to be fix. 

svn path=/trunk/; revision=16639
2005-07-19 01:55:16 +00:00
Magnus Olsen
3925d142b0 make GetRootPath bit smarter
svn path=/trunk/; revision=16638
2005-07-19 01:36:54 +00:00
Magnus Olsen
758d835b13 make GetRootPath bit faster if it does not get a drive name with :
svn path=/trunk/; revision=16637
2005-07-18 23:04:39 +00:00
Magnus Olsen
07a3a7ec8e add a new interal function call GetRootPath(TCHAR *InPath,TCHAR *OutPath,INT size) it get the a driver current path without change the current driver directory, it is not in use yet, prep for copy, cd, rm, and all other commands.
svn path=/trunk/; revision=16636
2005-07-18 22:44:13 +00:00
Alex Ionescu
ce7fb8c1b9 - Fix nasty APC delivery bug (in case a Kernel-Mode Special APC still returned with a Normal Routine, the Normal Routine was called with incorrect values (Special Routines take PVOID* arguments, while Normal Routines do not!))
- Remove APC from list before setting it to non-inserted.
 - Do proper thread termination piggybacking; terminate threads in user-mode as Hartmut correctly fixed.

svn path=/trunk/; revision=16635
2005-07-18 19:50:23 +00:00
Hartmut Birr
269fab698e Removed the message also from the senders queue (in MsqCleanupMessageQueue).
svn path=/trunk/; revision=16634
2005-07-18 15:05:58 +00:00
Hervé Poussineau
b9edb4f6e3 Forward more exports to setupapi.dll
svn path=/trunk/; revision=16633
2005-07-18 14:10:56 +00:00
Hervé Poussineau
08711eda61 Move serial ports and mice classes parameters to their own .inf files. They would be regenerated during 2nd stage setup
svn path=/trunk/; revision=16632
2005-07-18 11:57:16 +00:00
Hervé Poussineau
02b9843370 Implement SetupDiGetDeviceRegistryPropertyA/W
Change the way devices are enumerated in SetupDiGetClassDevsExW. Now, it enumerates subkeys of HKLM\SYSTEM\CurrentControlSet\Enum instead of HLKM\SYSTEM\CurrentControlSet\Control\Class ones.
Free the temp buffer in SetupDiGetDeviceRegistryPropertyA only when it is no more usefull
Replace RegOpenKeyEx by RegOpenKeyExW

svn path=/trunk/; revision=16631
2005-07-18 07:17:53 +00:00
James Tabor
d09f528ad2 Implement ShowOwnedPopups and ArrangeIconicWindows. Based on Wine. More work is needed on both.
svn path=/trunk/; revision=16630
2005-07-18 03:13:11 +00:00
James Tabor
35b93a79d6 Implement ShowOwnedPopups and ArrangeIconicWindows. Based on Wine.
svn path=/trunk/; revision=16629
2005-07-18 03:12:01 +00:00
Thomas Bluemel
0825640a24 fixed signed/unsigned comparison warning
svn path=/trunk/; revision=16628
2005-07-17 19:20:12 +00:00
Hartmut Birr
53f97f1bee If the user mode is intercepted by an interrupt, we must deliver user mode apc's.
svn path=/trunk/; revision=16627
2005-07-17 18:36:01 +00:00
Hartmut Birr
2adf26048d - PsKillMostProcesses must be running in the context of the system process.
- The thread terminating apc is a special user mode apc.

svn path=/trunk/; revision=16626
2005-07-17 18:34:23 +00:00
Hartmut Birr
d3493295ab Request the APC_INTERRUPT for the correct processor on smp machines.
svn path=/trunk/; revision=16625
2005-07-17 18:27:46 +00:00
Hartmut Birr
d40d2d7c83 Initialized SetMember as mask of the current processor.
svn path=/trunk/; revision=16624
2005-07-17 18:11:08 +00:00
Hartmut Birr
08e09be28a Changed the type of SetMember within KPRCB structure.
svn path=/trunk/; revision=16623
2005-07-17 18:08:19 +00:00
Hervé Poussineau
6d83f83840 Implement SetupDiGetDeviceInterfaceDetailA/W
svn path=/trunk/; revision=16622
2005-07-17 15:57:41 +00:00
Casper Hornstrup
ad59c91e1b Clean referenced object libraries when cleaning a module
svn path=/trunk/; revision=16621
2005-07-17 15:10:03 +00:00
Hervé Poussineau
d3d7a7f34b Return CR_FAILURE when the function is not implemented
Call the right *_Ex function in CM_Get_Child and CM_Get_Parent

svn path=/trunk/; revision=16620
2005-07-17 14:09:57 +00:00
Hervé Poussineau
28cb187427 Add registry key for PNP root device
svn path=/trunk/; revision=16619
2005-07-17 13:56:22 +00:00
Martin Fuchs
b635d34a4f fix build of ctm
svn path=/trunk/; revision=16618
2005-07-17 13:14:44 +00:00
Martin Fuchs
9c93090a1f replace TIME struct by LARGE_INTEGER
svn path=/trunk/; revision=16617
2005-07-17 12:51:28 +00:00
Martin Fuchs
2a0636a4ef fix ndk header usage
svn path=/trunk/; revision=16616
2005-07-17 12:50:56 +00:00
Martin Fuchs
85da1524b5 fix argc type
svn path=/trunk/; revision=16615
2005-07-17 12:31:31 +00:00
Martin Fuchs
2210ddb826 replace old <defines.h> by <windows.h>
svn path=/trunk/; revision=16614
2005-07-17 12:31:16 +00:00
Martin Fuchs
583ed2bdab replace old <defines.h> by <windows.h>
svn path=/trunk/; revision=16613
2005-07-17 12:30:09 +00:00
James Tabor
56d1785ca5 Implemented NtUser-GetMenuItemRect.
svn path=/trunk/; revision=16612
2005-07-17 12:26:24 +00:00
Filip Navara
612346a8b7 DPC stands for Deferred Procedure Call.
svn path=/trunk/; revision=16611
2005-07-17 12:24:15 +00:00
Casper Hornstrup
07e1646825 Avoid GNU make warnings
svn path=/trunk/; revision=16610
2005-07-17 11:15:55 +00:00
Casper Hornstrup
a04a10667a Add missing directory tag
svn path=/trunk/; revision=16609
2005-07-17 11:07:14 +00:00
Casper Hornstrup
d4ff3d81a2 Prepare cmd for testing
svn path=/trunk/; revision=16608
2005-07-17 10:57:38 +00:00
Martin Fuchs
92106004ec add explorer-ro.rc
svn path=/trunk/; revision=16607
2005-07-17 10:40:43 +00:00
Casper Hornstrup
acbcf1c29a Fix building of tests
svn path=/trunk/; revision=16605
2005-07-17 10:20:18 +00:00
Martin Fuchs
49c3197c28 remove winfile - it's superseded by winefile.
svn path=/trunk/; revision=16604
2005-07-17 09:56:38 +00:00
Eric Kohl
108c748343 - Implement CM_Locate_DevNode_ExW, CM_Get_Device_ID_Size[_Ex] and CM_Get_Device_ID[_Ex]W.
- Add flags for CM_Get_Global_State[_Ex].

svn path=/trunk/; revision=16603
2005-07-17 09:43:54 +00:00
Hartmut Birr
b4d21f4107 Fixed the determining of the file from the output redirection.
svn path=/trunk/; revision=16602
2005-07-17 07:02:20 +00:00
Magnus Olsen
14733418a7 /D /Z are implement in ros cmd copy by BrandonTurner but reactos CopyFile and CopyFileEx does not support it yet, for /D are COPY_FILE_ALLOW_DECRYPTED_DESTNATION for decypt the file when it copy to dest and /Z are COPY_FILE_RESTARTABLE for network. so it is working in windows
svn path=/trunk/; revision=16601
2005-07-17 00:44:33 +00:00
Magnus Olsen
0f1a1d9269 add CopyFileEx flags #define COPY_FILE_ALLOW_DECRYPTED_DESTINATION, COPY_FILE_FAIL_IF_EXISTS, COPY_FILE_RESTARTABLE, COPY_FILE_OPEN_SOURCE_FOR_WRITE
svn path=/trunk/; revision=16600
2005-07-16 23:44:16 +00:00
Eric Kohl
9ebf08eac5 - For bugs for in-string parameters.
- Implement out-string parameters (untested).

svn path=/trunk/; revision=16599
2005-07-16 23:21:36 +00:00
Hartmut Birr
b0c939bf13 Used the kernel base address from the loader structure instead MmSystemRangeStart.
MmSystemRangeStart isn't the base address with the 3GB switch.

svn path=/trunk/; revision=16597
2005-07-16 13:01:18 +00:00
Hartmut Birr
ada13b04e0 Replaced KERNEL_BASE by MmSystemRangeStart.
svn path=/trunk/; revision=16596
2005-07-16 12:35:34 +00:00
Magnus Olsen
5ec1eff5db crop mf logo to 30x280 and it showing right rember do not design higher that 280 on the startmenu logo change.
svn path=/trunk/; revision=16595
2005-07-16 12:18:16 +00:00
Jens Collin
431d4a6295 GetMenuStringA and GetMenuStringW inverted the MF_BYPOSITION parameter. Buffers were incorrectly copied in and wrong size returned in GetMenuItemInfoA ansi-structures.
GetMenuString now works the same on both windows and ROS.

svn path=/trunk/; revision=16594
2005-07-16 11:45:28 +00:00
Maarten Bosma
5638b3729f HUMA2000: Spanish translation
svn path=/trunk/; revision=16593
2005-07-16 10:23:10 +00:00
Hartmut Birr
6088c647a3 - Fixed the size of the hyperspace area (thanks to Filip Navara).
- Enabled Pae mode in freeldr if it is requested.

svn path=/trunk/; revision=16592
2005-07-16 09:01:07 +00:00
Magnus Olsen
6d92ae56c6 part1 of move bug from a volume to another have been solve, the part two are in Reactos MoveFileEx
svn path=/trunk/; revision=16591
2005-07-15 19:15:59 +00:00
Magnus Olsen
eb4fb35571 I should not write code when it is hot outside
clean up a if statement for realloc

svn path=/trunk/; revision=16590
2005-07-15 18:38:01 +00:00
Magnus Olsen
6850597254 in cress COPYCMD param search speed before w3seek does it
svn path=/trunk/; revision=16589
2005-07-15 18:31:42 +00:00
Magnus Olsen
8aa7fc3fb8 last try to fix NULL bug
svn path=/trunk/; revision=16588
2005-07-15 18:25:03 +00:00
Magnus Olsen
8b10660c85 last bugfix did forget use tchar * 512 in malloc I did only use 512 in malloc
svn path=/trunk/; revision=16587
2005-07-15 18:21:17 +00:00
Magnus Olsen
486636c37b did forget check malloc and realloc was NULL and set size to zero. thx w3seek that did see this mistake
svn path=/trunk/; revision=16586
2005-07-15 18:18:40 +00:00
Magnus Olsen
023ebef222 implement $s
svn path=/trunk/; revision=16585
2005-07-15 17:46:26 +00:00
Magnus Olsen
199110e78f bug fix $t so it write out time instead for "current time is xxxxxxx" not it write the time. bug fix $h so it did jump back and erase the char that was there before.
svn path=/trunk/; revision=16584
2005-07-15 17:31:12 +00:00
Magnus Olsen
81517874a0 crop the height of mf new logo so it show right
svn path=/trunk/; revision=16583
2005-07-15 15:31:14 +00:00
Hartmut Birr
050b5c1946 Revert my last commit (r16578).
svn path=/trunk/; revision=16582
2005-07-15 15:30:23 +00:00
Magnus Olsen
9f9dfd53cf revert back startmenu.cpp the change are not complite for mf new logo
svn path=/trunk/; revision=16581
2005-07-15 15:25:34 +00:00
Magnus Olsen
03a11e092f update swedish .rc and rename it from sw to sv, remove the german part in swedish rc. all swedish rc should have sv,
svn path=/trunk/; revision=16580
2005-07-15 15:22:26 +00:00
Magnus Olsen
97d546c77a Forget set some error level and some msg that should have goto ConOut not to ConErr so pipe are working with thuse msg
svn path=/trunk/; revision=16579
2005-07-15 14:50:46 +00:00
Hartmut Birr
bde6eea1e8 Fixed a test condition in IntWaitMessage.
svn path=/trunk/; revision=16578
2005-07-15 14:40:47 +00:00
Hartmut Birr
dfaed2eb99 Returned STATUS_NOT_IMPLEMENTED for requests other than read or write.
svn path=/trunk/; revision=16577
2005-07-15 14:29:58 +00:00
Magnus Olsen
e75662b821 fix a bug from me in COPYCMD check code it was two /V
it should only have been one /N = short file name (dos 8.3 file mname not /S) 

svn path=/trunk/; revision=16576
2005-07-15 14:18:45 +00:00
Magnus Olsen
84dc5b02f3 fix errorlevel for copy. left to do is /D = copy encrypte file and decypte to destinations (NT3.51) /S = make destfile name 8.3 compatible (NT3.51) /Z = restart copy if it fails
svn path=/trunk/; revision=16575
2005-07-15 14:12:48 +00:00
Magnus Olsen
2e307cf29e Add environment variable COPYCMD to copy
svn path=/trunk/; revision=16574
2005-07-15 13:51:38 +00:00
James Tabor
cc3f2972eb Fix up WM_ENABLE ScrollBarWndProc. Looks like we can disable and enable SB Ctrls.
svn path=/trunk/; revision=16573
2005-07-15 11:46:38 +00:00
James Tabor
2aed25b015 Fixed wParam in WM_ENABLE ScrollBarWndProc.
svn path=/trunk/; revision=16572
2005-07-15 02:16:12 +00:00
James Tabor
3c13baae03 Fixing WM_ENABLE ScrollBarWndProc. Tested it with 7-Zip, AbiWord, RegEdit and Winefile, all seem not to use it. Please test this.
svn path=/trunk/; revision=16571
2005-07-15 01:42:22 +00:00
Thomas Bluemel
a8f77a38bd don't allow changing the allow and deny checkbox state to checked at the same time
svn path=/trunk/; revision=16569
2005-07-14 21:57:57 +00:00
Hartmut Birr
f0300f5044 Mark the DispatchingListEntry as removed (in MsqSendMessage).
svn path=/trunk/; revision=16568
2005-07-14 21:07:14 +00:00
Magnus Olsen
2032b01e66 fix the second bug for 1>text.txt pipe
svn path=/trunk/; revision=16567
2005-07-14 20:51:39 +00:00
Magnus Olsen
3a00c096a3 fix echo osd 1>text: bug now it should pipe instead it is printing text out text on the screen. need to found the second bug now. but now this pipe are implement.
svn path=/trunk/; revision=16566
2005-07-14 20:26:37 +00:00
Magnus Olsen
98d6ba9ebf std_output does handle the : as ms does at pipe and we have also extend it to handle >test.txt: that is not vaild on ms but it should need more code to handle the : as ms does. we can call it reactos extend at cmd
svn path=/trunk/; revision=16564
2005-07-14 19:18:37 +00:00
Magnus Olsen
a292f28ef5 Change some error msg from ConErr to ConOut for they are being pipe so the behover are equal with ms windows cmd
svn path=/trunk/; revision=16563
2005-07-14 18:39:07 +00:00
Magnus Olsen
3aae85b431 Fix a weird bug in piping in some case if you pipe to no exists >pipe: then to a exists >pipe: it did make cmd crash for createfile only SetLastErrror when it fails. and the old one was in the loop. to solv it is to rest the GetLastError code before it is call.
svn path=/trunk/; revision=16562
2005-07-14 18:16:57 +00:00
Magnus Olsen
521a302ab8 Brandon Turner turnerb7@msu.edu Rewrite to clean up copy and support wildcard. and alot of other small bugfix, like does not crash when a file does not exists.
svn path=/trunk/; revision=16561
2005-07-14 14:51:35 +00:00
James Tabor
ad6a045f5b Typo fix. I was thinking oct not dec.
svn path=/trunk/; revision=16560
2005-07-14 00:27:53 +00:00
James Tabor
be123f5a26 Implemented VkKeyScan, GetKeyboardTypeand, GetKeyboardLayout and some Wine ports.
svn path=/trunk/; revision=16559
2005-07-13 23:22:20 +00:00
James Tabor
f84f0b7a10 Implemented VkKeyScan, GetKeyboardTypeand GetKeyboardLayout.
svn path=/trunk/; revision=16558
2005-07-13 23:19:59 +00:00
Hartmut Birr
537bcb48fa Fixed the allocation of the buffer for the environment variable in ProcessInput.
svn path=/trunk/; revision=16557
2005-07-13 17:59:37 +00:00
Hartmut Birr
7a0a377edd Fixed a bug in IsConsoleHandle which was introduced by r16540.
svn path=/trunk/; revision=16556
2005-07-13 17:32:39 +00:00
Thomas Bluemel
d31647b31f only NULL-terminate the string in GetEnvironmentVariableW if the buffer size is greater than 0. Thanks to Joseph Galbraith for the hint
svn path=/trunk/; revision=16555
2005-07-13 16:36:24 +00:00
Alex Ionescu
698dee2b87 Fix macro to be optimized out, thanks to Filip
svn path=/trunk/; revision=16554
2005-07-13 15:46:59 +00:00
Thomas Bluemel
a56f2840b3 handle memory allocation errors in GetEnvironmentVariable() and ensure the string is always null-terminated
svn path=/trunk/; revision=16553
2005-07-13 15:09:52 +00:00
Art Yerkes
90be5e4d9b stop exporting MmCopyFromCaller and kin and make a local version in the
last place we use it, now based on SEH.
we'll remove the copy from caller hack from ntoskrnl soon.

svn path=/trunk/; revision=16552
2005-07-13 08:48:49 +00:00
Alex Ionescu
5f9eec4d04 fix bizarre build error
svn path=/trunk/; revision=16551
2005-07-13 02:45:53 +00:00
Alex Ionescu
2c8f96ecf4 Silence more warnings. Patch by Waxdragon.
svn path=/trunk/; revision=16550
2005-07-13 02:02:08 +00:00
Alex Ionescu
c855fc1edb Expand the wine debug macros in all cases. the actual code will get optimized away, but the variables will appear in use. removes about 100-150 warnings. also fix hidden build breakages when the macros are actually used. thanks to art
svn path=/trunk/; revision=16549
2005-07-13 01:41:13 +00:00
Alex Ionescu
c01f0050df Fix executing applications. Sorry for the delay, this was like finding a needle in a hay stack. Gotta love splitting patches..
svn path=/trunk/; revision=16548
2005-07-13 00:11:11 +00:00
Casper Hornstrup
6f84809a47 Add copyright notices and GPL headers to rbuild
svn path=/trunk/; revision=16547
2005-07-12 16:47:34 +00:00
Casper Hornstrup
b8be54888b Have nci output files depend on input files
svn path=/trunk/; revision=16546
2005-07-12 16:11:30 +00:00
Casper Hornstrup
1f9b723f25 Install freeloader installer.
svn path=/trunk/; revision=16545
2005-07-12 15:04:17 +00:00
Eric Kohl
5e61398fc3 Add CM_Get_Global_State and CM_Get_Global_State_Ex prototypes.
svn path=/trunk/; revision=16544
2005-07-12 12:29:25 +00:00
Alex Ionescu
358a2167ab Part three of patch...
- Created utils.c for the following new functions:
        * BasepCreateStack - Creates a stack for a Thread or Fiber
        * BasepInitializeContext - Initializes the Context for a Process, a Thread, or a Fiber
        * BasepConvertObjectAttributes - Creates a OBJECT_ATTRIBUTES structure based on Win32
                                         lpSecurityAttributes and name.
        * BasepFreestack - Frees the stack created in case of a failure inside code using it.
        * BasepMapFile - Converts a Win32 Path to NT Path and maps a file into a section.
        * Base 8-bit String conversion functions - Use new, more efficient way to select
          between OEM/ANSI strings, based on MSDN Article by Matt Pietrek. Other code needs
          to be chand to use them.
Also added the new ASM for the startup thunks. All of this is still unused and only being committed to simply the diff output. Credits go to Matt Pietrek and his excellent MSDN article for the 8-bit conversion functions and implementaion details.

svn path=/trunk/; revision=16543
2005-07-12 05:00:33 +00:00
Alex Ionescu
e6523bb71e Second part of patch, implements the new RTL functions which will be used (not used by kernel yet).
- RtlCreateUserProcess:
        * Created RtlpInitEnvironment to manage Environment Block creation. Rougly based on
          old KlInitPeb code but with some optimizations.
        * Don't ignore Process Security Descriptor if one was specified.
        * Don't ignore ZeroBits, get correct entrypoint, and don't assume PEB address.
        * Don't close handle of section before closing process handle on failure.
        * Support new undocumented flag which pre-allocates 1MB of memory for Native Processes
        * FIXME: Hande duplication should be done, but wasn't and still isn't.
    
    - RtlpCreateUserStack:
        * New function to create a stack for a Thread, similar to BasepCreateStack but
          has some differences related to StackCommit/StackReserve.
        * Also create Guard Page
        
    - RtlpFreeUserStack:
        * Undoes what the function above does, in case of failure in code using it.
        
    - RtlCreateUserThread:
        * Use the new functions instead of rosrtl.
        
    - RtlInitializeContext:
        * New function similar to BasepInitializeContext but;
            > Uses a single entrypoint, not many possible thunks like Kernel32 (no need)
            > The starting EFLAGS is Interrupts Enabled, not IOPL 3.
            > We don't initialize the same Context Flags
            > The initial context registers are different
            
    - RtlFreeUserThreadStack
        * Don't assume the TEB address
          
    - RtlExitUserThread
        * Remove deprecated stack-switching semantics and use new TEB flag to tell the Kernel
          to deallocate the stack for us.

svn path=/trunk/; revision=16542
2005-07-12 04:41:41 +00:00
James Tabor
36a1230e2b Start integrating and implementing key board functions. More Wine porting with ROS.
svn path=/trunk/; revision=16541
2005-07-12 02:45:33 +00:00
Alex Ionescu
a10ed009b7 Partial patch of larger rosrtl removal patch. This one merely is a structure fix patch, and renames/corrects RTL_USER_PROCESS_INFORMATION (which had the totally wrong names) as well as updates the TEB to the latest version. It also fixes SECTION_IMAGE_INFORMATION to have the right format and names. Also, some callers of CreateProcessW are modified to not send a constant string as lpCommandLine (this was illegal and will crash on Windows/my patch). INITIAL_TEB was also renamed to the more correct fields, although they won't make sense with the current rosrtl/rtl implementation, the names will only make sense with the next patch. Finally NtTerminateThread was fixed to support sending NULL as handle, and PspExitThread was updated to work with the new FreestackOnExit flag, both of which will be used in the next patch.
svn path=/trunk/; revision=16540
2005-07-12 01:56:14 +00:00
Filip Navara
e36f90a9f9 Move Interlocked* routines from ROSRTL to separate INTRLCK library since ROSRTL is going to be removed.
svn path=/trunk/; revision=16539
2005-07-11 23:32:55 +00:00
Thomas Bluemel
fcc95c66a8 return the length of the string excluding the null-termination character on success in GetEnvironmentVariable(). Thanks to Hartmut.
svn path=/trunk/; revision=16536
2005-07-11 20:30:33 +00:00
Hartmut Birr
9b991b83fd Check for a valid console handle in SetConsoleMode.
svn path=/trunk/; revision=16535
2005-07-11 18:22:53 +00:00
Alex Ionescu
eb4f7c8b2f IPConfig Rewrite (Tim Jobling <tjob800@yahoo.co.uk>)
*  Relicense to GPL. 
    *  Display NodeType with meaningfull Human readable names.
    *  Exclusively use TCHAR strings.
    *  Display Physical Address, DHCP enabled state, IP Addresses/Netmasks,
    *  Default Gateway, DHCP server and DHCP Lease times.
    *  Parse command line options.
    *  Default to only showing the IP/SM/DG is no options specified
    *  Handel option: /All and /?
    *  Display message about all unimplemented options.
    *  Changed C++ style commenting to C style

svn path=/trunk/; revision=16534
2005-07-11 17:55:15 +00:00
Gé van Geldorp
34fd8c7135 Sebastian Gasiorek <zebasoftis@gmail.com>
Polish resource files

svn path=/trunk/; revision=16533
2005-07-11 07:51:09 +00:00
James Tabor
c81ba78f7b Connect UnrealizeObject and test debug prints. I assume arg count is one not two. If wrong please correct me.
svn path=/trunk/; revision=16532
2005-07-11 04:56:04 +00:00
James Tabor
6a38a2f69d Fix error return for WIN_ListChildren.
svn path=/trunk/; revision=16531
2005-07-11 02:43:24 +00:00
Magnus Olsen
5c73d34569 forget clean up after me
svn path=/trunk/; revision=16530
2005-07-10 22:23:00 +00:00
Magnus Olsen
58d41e3c76 second try, thx w3seek found out it should be charterer not byte
svn path=/trunk/; revision=16529
2005-07-10 22:19:57 +00:00
Magnus Olsen
e43573196c The return size calculation's of GetEnvironmentVariable string was wrong. Thx to <Bizzy_D> to find out cd %windir% did not work. Now it will
svn path=/trunk/; revision=16528
2005-07-10 22:12:07 +00:00
Gé van Geldorp
67af25e720 i386DX . <i386dx@hotmail.com>
Belgian (point/Flemish) keyboard layout

svn path=/trunk/; revision=16527
2005-07-10 22:05:48 +00:00
Magnus Olsen
fe2f78c54c quick dirty hack getting our copy working with 1>null by me
so we can create reactos iso on ros. bug reported by harteex and Brandon Turner, thanks to Brandon to hunt down where the bug was. 

svn path=/trunk/; revision=16526
2005-07-10 21:26:51 +00:00
Eric Kohl
a5b363cd94 - Implement CM_Get_Global_State/CM_Get_Global_State_Ex.
- All RPC-Calls to umpnpmgr return CONFIGRET.

svn path=/trunk/; revision=16525
2005-07-10 11:49:10 +00:00
Eric Kohl
de63015392 Fix a string length calculation bug in StringTableDuplicate.
svn path=/trunk/; revision=16524
2005-07-09 15:22:07 +00:00
Aleksey Bragin
122bcd196f Add dependence from pnp_client also, since in fact it uses it (includes pnp_c.h). It worked before only because lib/setupapi depends on pnp_c, and it's build earlier than umpnpmgr.
svn path=/trunk/; revision=16523
2005-07-09 13:23:05 +00:00
Thomas Bluemel
97679e7210 fixed the prototypes of GetConsoleAlias, GetConsoleAliasExes and GetConsoleAliasesLength
svn path=/trunk/; revision=16522
2005-07-09 10:31:30 +00:00
James Tabor
c0fb7448b1 Implement MDICascade, MDITile and WIN_ListChildren. This will help Winefile cascade and tile windows. WIN_ListChildren is tmp located here in mdi.c for now.
svn path=/trunk/; revision=16521
2005-07-09 08:54:43 +00:00
Casper Hornstrup
6c73106dfd Don't rebuild the module if a library is changed. Relinking the module is enough.
svn path=/trunk/; revision=16520
2005-07-09 07:50:48 +00:00
James Tabor
5dd6792d1d Fix masking.
svn path=/trunk/; revision=16519
2005-07-09 05:21:10 +00:00
James Tabor
ff7e7c8ae6 Kill debug print out.
svn path=/trunk/; revision=16518
2005-07-09 04:54:01 +00:00
James Tabor
7022204505 Implement ModifyMenu A & W.
svn path=/trunk/; revision=16517
2005-07-09 04:23:34 +00:00
James Tabor
b2bf468fad Implement GetMenuString A & W. Not fully tested.
svn path=/trunk/; revision=16516
2005-07-09 04:19:35 +00:00
James Tabor
5e3cc7bc94 Implement CheckMenuRadioItem. Not fully tested.
svn path=/trunk/; revision=16515
2005-07-09 04:15:44 +00:00
James Tabor
6b36fb6848 Implement DrawMenuBar.
svn path=/trunk/; revision=16514
2005-07-09 04:11:36 +00:00
Casper Hornstrup
91269f987b Check automatic dependencies of referenced object library modules on make <module>_depends
svn path=/trunk/; revision=16513
2005-07-08 19:55:30 +00:00
Thomas Bluemel
876fc32e53 Fixed enumerating the drive strings in SetupCreateDiskSpaceListW
svn path=/trunk/; revision=16512
2005-07-08 19:51:37 +00:00
Thomas Bluemel
d556da508d allocate enough memory for strings, lstrlenW returns the length of the string in characters, not bytes.
svn path=/trunk/; revision=16511
2005-07-08 19:21:28 +00:00
KJK::Hyperion
4c9e39ee83 PE loader: corrected an assertion (fixes bug reported by GvG), added a sanity check, return STATUS_INVALID_IMAGE_PROTECT in case of unrecognized PE signature (to match Windows behavior), removed evil STATUS_UNSUCCESSFUL, corrected successful return code
Memory manager: return STATUS_INVALID_IMAGE_NOT_MZ when no loader accepts the format (to match Windows behavior)

svn path=/trunk/; revision=16510
2005-07-08 16:37:07 +00:00
James Tabor
622c4d86e9 Implement NtUserGetAsyncKeyState and support for TrackMouseEvent.
svn path=/trunk/; revision=16509
2005-07-08 12:16:47 +00:00
James Tabor
6c4cbed9a2 Implement TrackMouseEvent.
svn path=/trunk/; revision=16508
2005-07-08 12:15:07 +00:00
James Tabor
e6ce20818e Add defines for TrackMouseEvent.
svn path=/trunk/; revision=16507
2005-07-08 12:13:23 +00:00
Gé van Geldorp
a340c27ec1 zebasoftis <zebasoftis@gmail.com>:
Polish Resource File for setupapi

svn path=/trunk/; revision=16506
2005-07-08 09:01:23 +00:00
Gé van Geldorp
d3558a7c23 zebasoftis <zebasoftis@gmail.com>:
Polish Resource File for user32

svn path=/trunk/; revision=16505
2005-07-08 08:56:07 +00:00
Gé van Geldorp
8895954185 zebasoftis <zebasoftis@gmail.com>
Polish Resource File for desk.cpl

svn path=/trunk/; revision=16504
2005-07-08 08:50:46 +00:00
James Tabor
953b49324b Kill debug messages.
svn path=/trunk/; revision=16503
2005-07-08 02:06:33 +00:00
James Tabor
31c9627540 Add MIIM_BITMAP & MNS_CHECKORBMP support in menu. Based on Wine port.
svn path=/trunk/; revision=16502
2005-07-07 23:29:53 +00:00
Hervé Poussineau
74346861b0 Minimize differences between GCC and MSVC in header file
Don't define SR_MSR_DSR as it already exists under the name SERIAL_DSR_STATE
Remove $Id: tags

svn path=/trunk/; revision=16501
2005-07-07 23:10:35 +00:00
Magnus Olsen
daafc242e6 Set right %ERRORLEVEL% value, fixing end of line for /? after implement of page break.
svn path=/trunk/; revision=16500
2005-07-07 22:27:30 +00:00
Hervé Poussineau
f7289e9d4a Add missing registry entries for serial ports
svn path=/trunk/; revision=16499
2005-07-07 22:23:26 +00:00
Magnus Olsen
19b47127b0 Set right %ERRORLEVEL% value, fixing end of line for /? for most commands after implement of page break.
svn path=/trunk/; revision=16498
2005-07-07 20:41:13 +00:00
Hartmut Birr
93fc422f43 Fixed a bug which was introduced by r16441.
svn path=/trunk/; revision=16497
2005-07-07 19:54:25 +00:00
Magnus Olsen
2bd961bd1d set right value of %ERRORLEVEL% for vol
svn path=/trunk/; revision=16496
2005-07-07 19:51:09 +00:00
Magnus Olsen
bff830321b add %CMDEXTVERSION% example to use it echo %CMDEXTVERSION% the value are hardcode to 2. for it is that value ms win2k / winxp report back. thx arty to test it in win xp.
svn path=/trunk/; revision=16495
2005-07-07 19:26:46 +00:00
Magnus Olsen
610ec85471 adding %cmdcmdline%, example how to use it echo %CMDCMDLINE%
svn path=/trunk/; revision=16494
2005-07-07 19:16:46 +00:00
Martin Fuchs
497eba8519 Sync to Wine:
- switch to UNICODE compilaton in Wine
- remove separate unixcalls.c file
- don't crash in set_curdir() for NULL in the 'entry' pointer

svn path=/trunk/; revision=16493
2005-07-07 18:44:08 +00:00
Magnus Olsen
dfcc16249d Did forget instate in for loop the patternX, the right way. thx GvG to spot it and tell me how to fix.
svn path=/trunk/; revision=16492
2005-07-07 18:21:44 +00:00
Martin Fuchs
c2db525161 Jonathan Ernst <Jonathan@ErnstFamily.ch>
Updated winefile French resources.

svn path=/trunk/; revision=16491
2005-07-07 18:07:40 +00:00
Magnus Olsen
7d58c61349 move PatternX initiate calculation out from for loop, it should have been outside of the for loop.
svn path=/trunk/; revision=16490
2005-07-07 17:54:50 +00:00
Magnus Olsen
5620de4ea7 adding %RANDOM% example how to use it echo %random%
svn path=/trunk/; revision=16489
2005-07-07 17:09:56 +00:00
Filip Navara
ac3457f145 #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=16488
2005-07-07 16:45:42 +00:00
Hervé Poussineau
71183fb50d Enumerate serial interfaces by calling QueryDosDevice on Wine
Wine-ify th whole file by removing the L"..." strings, by using debugstr_w(), ...

svn path=/trunk/; revision=16487
2005-07-07 16:32:34 +00:00
Magnus Olsen
7d472ee662 Fix bug "mv foo.txt c:\temp gives you c:\tempfoo.txt" by Brandon Turner
svn path=/trunk/; revision=16486
2005-07-07 16:22:45 +00:00
Magnus Olsen
4e39fcafa0 add %DATE% example echo %date% are working now. Bugfix date so it print out the week days names.
svn path=/trunk/; revision=16485
2005-07-07 16:06:43 +00:00
Gé van Geldorp
d7990aa664 Sync to Wine-20050628:
Alexandre Julliard <julliard@winehq.org>
- Sort entry points in the same order as Windows.
- Added magic comments to all Wine-specific registry accesses to make
  them easier to grep.

svn path=/trunk/; revision=16484
2005-07-07 15:05:36 +00:00
Magnus Olsen
4fedfe1bf7 add %time% and %cd% internal value. Example echo %cd% or echo %time%.
svn path=/trunk/; revision=16483
2005-07-07 13:43:03 +00:00
Magnus Olsen
5aa3039278 Update command help text with \n at the end of the text
svn path=/trunk/; revision=16482
2005-07-07 11:44:15 +00:00
Magnus Olsen
be0b8327dd Fix minior bug in ConPrintfPaging so it count line right and do pause on the screen before it getting full. Fix the row size calc code. Move in page break code to the for. Write one char at time. Need to be fixed so it can write more that one char at time.
svn path=/trunk/; revision=16481
2005-07-07 11:26:38 +00:00
Filip Navara
e64361f015 Once more, this time with proper character encoding.
svn path=/trunk/; revision=16480
2005-07-07 09:56:47 +00:00
Filip Navara
52e8ffce44 Correct the copyright headers.
svn path=/trunk/; revision=16479
2005-07-07 09:48:44 +00:00
Filip Navara
8407954c54 Fix the problems introduced in r16449 by changing "-mdll --dll" to "-shared" and letting the linker generate the relocations in all cases.
svn path=/trunk/; revision=16478
2005-07-07 08:57:03 +00:00
Magnus Olsen
d1c9fb08f5 adding page break on almost all help param and on help command.
svn path=/trunk/; revision=16477
2005-07-07 08:29:22 +00:00
James Tabor
c296b39f61 Added MNS_ defines for MenuInfo dwStyle. Misc Wine Menu porting.
svn path=/trunk/; revision=16476
2005-07-07 00:21:21 +00:00
Gé van Geldorp
af07d5f933 Sync to Wine-20050628:
Alexandre Julliard <julliard@winehq.org>
- Sort entry points in the same order as Windows.

svn path=/trunk/; revision=16475
2005-07-06 22:49:08 +00:00
Hervé Poussineau
23c534f821 Open remote registry if needed in SetupDiCreateDeviceInfoListExW and SetupDiOpenClassRegKeyExW
Set last error in more places
Add my name to copyright due to my recent changes

svn path=/trunk/; revision=16474
2005-07-06 22:47:23 +00:00
Gé van Geldorp
8322ac0d33 Sync to Wine-20050628:
Juan Lang <juan_lang@yahoo.com>
- Fix return code abuse (don't use HRESULT when it isn't meant), make
  functions static where possible, remove unused prototypes.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make some of the OLE interface vtables const.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Use IShellFolder::GetDisplayNameOf instead of SHGetPathFromIDList to
  be able to browse shell namespace extensions.
Vitaly Lipatov <lav@etersoft.ru>
- Add some descriptions for PageSetupDlg functions.
- Implement user paint hook support and PSD_ENABLEPAGEPAINTHOOK
  checking.
Huw Davies <huw@codeweavers.com>
- If a folder is selected on Open then browse into it, otherwise we
  should return the path in the edit box whether that be a folder or a
  file.
- Don't add extensions to a folder.
- Use DWLP_MSGRESULT to return values from the dialog proc.
- Send CDN_FOLDERCHANGE whenever we change folder.

svn path=/trunk/; revision=16473
2005-07-06 22:40:35 +00:00
Gé van Geldorp
8a79bd9b46 Sync to Wine-20050628:
Robert Shearman <rob@codeweavers.com>
- Document how the native lays out the internal components of
  buttons.
- Fix control to follow these rules.
- Don't redraw disabled buttons.
- Padding is never less that GetSystemMetrics(SM_{CX,CY}EDGE).
- Change default iListGap value to 4 to match native.
- Fix a regression in IE where the Favourites menu didn't appear
  correctly because the height and width were swapped in the pager
  control.
Stefan Huehner <stefan@huehner.org>
- Fix more -Wstrict-prototypes warnings.
Mike McCormack <mike@codeweavers.com>
- Warning fixes for -Wmissing-declarations and -Wwrite-strings.
Felix Nawothnig <felix.nawothnig@t-online.de>
- Fix some missed invalidations after column resize.
- Pass the right hwnd to ReleaseDC().
Kouji Sasaki <taro-x@justsystem.co.jp>
- Added the feature to change row height in owner draw controls.
- Added the callback item processing for LISTVIEW_EndEditLabelT
  function.
- Corrected the priority of operators for LISTVIEW_GetNextItem
  function.
Huw Davies <huw@codeweavers.com>
- For modal propsheets we should run our own message loop rather than
  use a modal dialogbox just like Windows does.  This helps apps that
  subclass the propsheet's wndproc.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
James Hawkins <truiken@gmail.com>
- Audit the Tab control.
- Factor out common text shifting logic.
- Shift selected tab text up instead of down.
Alex Zorach <info@suscomputing.com>
- Fixed SetFocus behavior.
Krzysztof Foltman <wdev@foltman.com>
- Don't send TVN_SELCHANGING nor TVN_SELCHANGED if the same item is
  selected again.

svn path=/trunk/; revision=16472
2005-07-06 22:33:11 +00:00
Gé van Geldorp
44efc84fb4 Sync to Wine-20050628:
Thomas Weidenmueller <wine-patches@reactsoft.com>
- Removed local variables only used in TRACE statements.
Gerold Jens Wucherpfennig <gjwucherpfennig@gmx.net>
- Some FCI work.

svn path=/trunk/; revision=16471
2005-07-06 22:24:04 +00:00
Gé van Geldorp
0ddd1be07e Sync to Wine-20050628:
Robert Shearman <rob@codeweavers.com>
- Add more struct types for TLB generation.
Stefan Huehner <stefan@huehner.org>
- Fix some -Wmissing-declarations by making functions static.
Huw Davies <huw@codeweavers.com>
- Add comments describing the first DWORD in an import table entry.
Alexandre Julliard <julliard@winehq.org>
- Workaround to allow using the async keyword as method name.

svn path=/trunk/; revision=16470
2005-07-06 22:16:28 +00:00
Gé van Geldorp
28277f305b Sync to Wine-20050628:
Mike McCormack <mike@codeweavers.com>
- Move function prototypes to header.
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

svn path=/trunk/; revision=16469
2005-07-06 21:40:07 +00:00
Hervé Poussineau
40c9cd2c5d SetupDiGetClassDevsExW: implement DIGCF_ALLCLASSES and DIGCF_DEVICEINTERFACE. use deviceset and enumstr parameters if provided
Set right last error (if needed) in SetupDiCreateDeviceInfoListExW, SetupDiEnumDeviceInfo, SetupDiEnumDeviceInterfaces, SetupDiGetDeviceRegistryPropertyW
Replace some constants by constant names

svn path=/trunk/; revision=16468
2005-07-06 21:32:16 +00:00
Gé van Geldorp
bb29508c33 zebasoftis <zebasoftis@gmail.com>:
Polish Resource File for control.exe

svn path=/trunk/; revision=16467
2005-07-06 21:24:11 +00:00
Gé van Geldorp
dc2b5795d3 zebasoftis <zebasoftis@gmail.com>
Polish Resource File for timedate.cpl

svn path=/trunk/; revision=16466
2005-07-06 21:21:30 +00:00
Magnus Olsen
67984c6757 adding %errorlevel% code for date
it is always 0 

svn path=/trunk/; revision=16465
2005-07-06 20:50:21 +00:00
Eric Kohl
8655ed62ef Move undocumented GUIDs to a new NDK header file.
svn path=/trunk/; revision=16464
2005-07-06 20:20:02 +00:00
Magnus Olsen
7ee590086a set right errorlevel for cd / chdir, left to do we do not have /d param that are new in win2k maby in older windows also
svn path=/trunk/; revision=16463
2005-07-06 20:15:36 +00:00
Magnus Olsen
721be9ec7b remove rem errorlevel it was never set stupied mistake by me.fix call setting errorlevel to 1
svn path=/trunk/; revision=16462
2005-07-06 19:42:41 +00:00
Magnus Olsen
78df6635f5 set %errorlevel% for rem
svn path=/trunk/; revision=16461
2005-07-06 19:13:24 +00:00
Thomas Bluemel
2936d05aa3 don't use the DS_NOFAILCREATE style which I accidentally committed earlier
svn path=/trunk/; revision=16460
2005-07-06 17:18:48 +00:00
Casper Hornstrup
8a1b2d5c2b Generate pre-compiled headers in intermediate directory tree
svn path=/trunk/; revision=16459
2005-07-06 16:56:28 +00:00
Gé van Geldorp
c82da07ee2 Change license to LGPL
svn path=/trunk/; revision=16458
2005-07-06 16:27:58 +00:00
Magnus Olsen
c9b36033d8 hopeful it is last bug in choice.c when you type choice "sadsa" it did not response on key press at all.
svn path=/trunk/; revision=16457
2005-07-06 14:06:33 +00:00
Magnus Olsen
1369d1649e fix a small bug in choice.c so it does print out choice "sadsad" right
svn path=/trunk/; revision=16456
2005-07-06 13:50:08 +00:00
Filip Navara
2fc5a38d16 Remove definitions that are already present in the DDK headers.
svn path=/trunk/; revision=16455
2005-07-06 13:46:42 +00:00
Filip Navara
db15209f07 - Move ReactOS specific code to ReactOS specific files/directories.
- Use NDK instead of redefining the loader structures.

svn path=/trunk/; revision=16454
2005-07-06 13:41:51 +00:00
Magnus Olsen
3b440449dd Add proper memory alloc ProcessInput, the error handling for memory handling need to be improve
svn path=/trunk/; revision=16453
2005-07-06 13:09:23 +00:00
Magnus Olsen
04480b3be7 translate %errorlevel% to a value when it pass at command line. Now is errorlevel implement as it should. left todo check all cmd command that they are setting right value
svn path=/trunk/; revision=16452
2005-07-06 12:20:57 +00:00
Filip Navara
9254444a9c Don't continue processing after displaying the usage screen.
svn path=/trunk/; revision=16451
2005-07-06 11:31:03 +00:00
Filip Navara
8064f8c236 Fix some compilation issues.
svn path=/trunk/; revision=16450
2005-07-06 09:27:08 +00:00
Filip Navara
b6e80ebb53 Generating relocations twice for DLLs? Oh, what a clever idea ... not.
svn path=/trunk/; revision=16449
2005-07-06 08:43:36 +00:00
Filip Navara
8e4e06d0de Report correct system space start address in /3GB case.
svn path=/trunk/; revision=16448
2005-07-06 08:22:13 +00:00
Filip Navara
2773203033 Kernel base address and system space start can be distinct addresses, so use KERNEL_BASE and MmSystemRangeStart accordingly in the code.
svn path=/trunk/; revision=16447
2005-07-06 08:20:26 +00:00
Gé van Geldorp
d64e8b4096 zebasoftis <zebasoftis@gmail.com>:
Polish Resource File for winlogon

svn path=/trunk/; revision=16446
2005-07-06 07:54:04 +00:00
Filip Navara
902a400b19 Put the page tables and hyperspace at the right place in memory (ie. Windows compatible).
svn path=/trunk/; revision=16445
2005-07-06 00:29:39 +00:00
Thomas Bluemel
4ea9392a55 fix gcc4 warnings and indention
svn path=/trunk/; revision=16444
2005-07-06 00:24:08 +00:00
Thomas Bluemel
c75115824f fix warnings with -Wsign-compare for MP builds
svn path=/trunk/; revision=16443
2005-07-05 23:15:22 +00:00
Thomas Bluemel
5979e80363 fix warnings with -Wsign-compare and -Wpointer-arith
svn path=/trunk/; revision=16442
2005-07-05 22:58:11 +00:00
Thomas Bluemel
cc6ffdce48 fixed some signed/unsigned comparison warnings with -Wsign-compare
svn path=/trunk/; revision=16441
2005-07-05 22:35:29 +00:00
Alex Ionescu
c3e6b1f6a4 Ged Murpy <gedmurphy@gmail.com>
* ARP Rewrite, 90% complete (still in progress)

svn path=/trunk/; revision=16440
2005-07-05 22:14:07 +00:00
Alex Ionescu
d9cbcc2128 Fix the build by adding KDPC_DATA as a shared arch structure. Kind of a hack but I could not find another way to avoid the undelrying recursive dependencies that not doing this would cause. Also made an arch-specific fix to KPROCESS and wrote a little comment on it
svn path=/trunk/; revision=16439
2005-07-05 21:57:55 +00:00
Gé van Geldorp
d005fc9f1a Sync to Wine-20050628:
Alexandre Julliard <julliard@winehq.org>
- Generate the resource data directly inside the resource directory.
- Replaced all uses of the __ASM_NAME macro by the asm_name function to
  allow run-time determination of the correct format.
- Beginnings of an infrastructure to allow specifying the target CPU and
  platform at run-time.
- Output the exported names as a C string so that they end up in the
  correct section.
- Reuse output_dll_init for the constructor of debug files.
- Moved all assembly code to the end of the generated C files to avoid
  conflicting with the compiler over section changes.
- Switch back to .data at the end of asm sections to work around an
  optimization in recent gcc versions.
- Remove some i386 ifdefs for 16-bit entry points since they are no
  longer used by default on other platforms anyway.
- Make import thunks position-independent to avoid text relocations.
- Generate proper PIC code for CALL32_CBClient.
- Store a relative pointer for registry entry points to avoid some text
  relocations.
- Allocate ordinals in the order of the declarations in the spec file.
Wolfgang Thaller <wolfgang.thaller@gmx.net>
- Winebuild darwin/x86-specific fixes:
  - Assembler interprets .align as power-of-two
  - Add .weak_reference to output where gcc 3.3 swallows it
- Use __ASM_NAME and HAVE_ASM_DOT_SIZE in a few places in winebuild
  where they have been missing (needed for Darwin/x86).
Pierre d'Herbemont <stegefin@free.fr>
- Use .mod_*_func sections on Mac OS X/i386 instead of the elf
  constructor/destructor.

svn path=/trunk/; revision=16438
2005-07-05 21:17:01 +00:00
Eric Kohl
40dc1919bc Add architecture-specific headers and move I386-specific definitions into them.
svn path=/trunk/; revision=16437
2005-07-05 21:03:46 +00:00
Gé van Geldorp
93232de775 Sync to Wine-20050628:
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.
Mike McCormack <mike@codeweavers.com>
- Fix some declaration and write string warnings.

svn path=/trunk/; revision=16436
2005-07-05 20:47:48 +00:00
Filip Navara
dd349cfd8b Remove spurious "#define _OLEIDL_H".
svn path=/trunk/; revision=16433
2005-07-05 17:13:01 +00:00
Gé van Geldorp
3b9c960f59 Always return a meaningfull status code
svn path=/trunk/; revision=16432
2005-07-05 17:10:52 +00:00
Gé van Geldorp
8e86b33472 Prevent warning in optimized builds
svn path=/trunk/; revision=16431
2005-07-05 17:10:19 +00:00
Gé van Geldorp
f29b15b285 Code generator for 16bpp DIB Blt operations
svn path=/trunk/; revision=16430
2005-07-05 17:08:58 +00:00
Filip Navara
d6ebf05ea0 Get rid of the (incorrect) __attribute__((packed)) usage.
svn path=/trunk/; revision=16429
2005-07-05 17:08:48 +00:00
Filip Navara
51c604714a - Convert pure inline assembler .c files to .S files.
- Move SMP IRQ handlers to irqhand.s (at the same place where the UP ones are).

svn path=/trunk/; revision=16428
2005-07-05 16:40:01 +00:00
Hervé Poussineau
7afd05c217 Fix compilation due to revision 16425.
I forgot a parameter in SetupDiGetClassDevsExA/W ...

svn path=/trunk/; revision=16427
2005-07-05 14:00:33 +00:00
Hervé Poussineau
9b619507af Implement SetupDiGetClassDescriptionExA, by calling SetupDiGetClassDescriptionExW
svn path=/trunk/; revision=16426
2005-07-05 13:15:10 +00:00
Hervé Poussineau
4a200035de Implement SetupDiGetClassDevs(Ex)A/W
svn path=/trunk/; revision=16425
2005-07-05 12:59:14 +00:00
Magnus Olsen
3c215ef287 Brandon Turner turnerb7@msu.edu. Bug fix color now it working as ms cmd color. Please everyone that have done translate of cmd, update the language's file. some text have been modify and add in cmd en.rc
svn path=/trunk/; revision=16424
2005-07-05 12:06:27 +00:00
Hervé Poussineau
a314f1c4ad - Implement SetupDiCreateDeviceInfoListExW
- Do according changes in SetupDiDestroyDeviceInfoList
- Implement SetupDiEnumDeviceInfo
- Don't open registry with full rights in SetupDiClassGuidsFromNameExW
- Set last error in SetupDiClassNameFromGuidExW in case of problem
- Do W->A conversion for InfSectionWithExt string in SetupDiGetActualSectionToInstallA

Following changes break serial port devices enumeration on Wine. I'll work on this problem later.
- Implement SetupDiGetClassDevsW
- Disable some code in SetupDiEnumDeviceInterfaces and SetupDiGetDeviceInterfaceDetailA

Now, you should be able to list devices classes, and enumerate devices related to each class

svn path=/trunk/; revision=16423
2005-07-05 08:48:43 +00:00
Thomas Bluemel
9766bda54e globally enable the -Wpointer-arith warning to prevent usage of GCC's pointer arithmetics extension
svn path=/trunk/; revision=16422
2005-07-05 01:18:07 +00:00
Thomas Bluemel
bd691c850c fix code that depends on GCC's void* pointer arithmetic extension
svn path=/trunk/; revision=16421
2005-07-05 00:57:47 +00:00
Thomas Bluemel
945ed508b6 fix code that depends on GCC's void* pointer arithmetic extension
svn path=/trunk/; revision=16420
2005-07-05 00:24:36 +00:00
Thomas Bluemel
a4a9299b16 fix code that depends on GCC's void* pointer arithmetic extension
svn path=/trunk/; revision=16419
2005-07-04 23:05:17 +00:00
Thomas Bluemel
eea2c1d47c some %x -> %p fixes
svn path=/trunk/; revision=16418
2005-07-04 22:25:46 +00:00
Gunnar Dalsnes
cf3c6e6296 fix premature close og reg key
svn path=/trunk/; revision=16417
2005-07-04 22:22:22 +00:00
Thomas Bluemel
541151ea53 some %x -> %p fixes
svn path=/trunk/; revision=16416
2005-07-04 22:11:00 +00:00
Gunnar Dalsnes
d8e78cc66b hopefully fix something in CreateClassKey
svn path=/trunk/; revision=16415
2005-07-04 21:54:36 +00:00
Filip Navara
199b9bce22 Yet another DPRINT fix.
svn path=/trunk/; revision=16414
2005-07-04 21:46:20 +00:00
Filip Navara
8f08cb04c9 Fix more DPRINTs.
svn path=/trunk/; revision=16413
2005-07-04 21:12:35 +00:00
Hervé Poussineau
382e1c8635 Remove entries that are created by 2nd stage setup, using media/inf/NET_NIC.inf
Fix some obvious wrong copy/pastes
Add correct registry entries for kbdclass and mouclass classes
Fix hard-coded values for serial mice (Serenum doesn't report the exact hardwa

svn path=/trunk/; revision=16412
2005-07-04 21:08:00 +00:00
Alex Ionescu
9b63d671e9 Dprint fixes by our lovely Filip
svn path=/trunk/; revision=16411
2005-07-04 21:01:46 +00:00
Thomas Bluemel
12e95836ec add a quick search feature to the checklist control
svn path=/trunk/; revision=16410
2005-07-04 17:22:18 +00:00
Thomas Bluemel
a11dac9b2a properly handle WM_UPDATEUISTATE
svn path=/trunk/; revision=16409
2005-07-04 13:37:02 +00:00
Thomas Bluemel
8e3b9a7f21 - hide the keyboard focus when appropriate
- add missing definitions to w32api

svn path=/trunk/; revision=16408
2005-07-04 13:21:14 +00:00
Thomas Bluemel
0140b609d9 fixed some scrolling issues
svn path=/trunk/; revision=16407
2005-07-04 11:52:16 +00:00
Thomas Bluemel
48e0fe423b handle resizing of the control
svn path=/trunk/; revision=16406
2005-07-04 11:05:04 +00:00
Thomas Bluemel
a0f4cc2feb get rid of the obsolete Makefile.ros-template files
svn path=/trunk/; revision=16405
2005-07-04 09:46:50 +00:00
Thomas Bluemel
7661ff0d5f properly handle clicks outside a checkbox
svn path=/trunk/; revision=16404
2005-07-04 00:30:23 +00:00
Thomas Bluemel
9d1991ed72 minor bugfixes
svn path=/trunk/; revision=16403
2005-07-04 00:06:52 +00:00
Thomas Bluemel
68a5299cd2 enable editing of the checkboxes and minor bugfixes
svn path=/trunk/; revision=16402
2005-07-03 23:29:36 +00:00
Eric Kohl
fae2febad9 Remove trailing whitespace and fix indentation
svn path=/trunk/; revision=16401
2005-07-03 21:37:16 +00:00
Hervé Poussineau
d3bf39b1f2 Delete unused makefiles
svn path=/trunk/; revision=16400
2005-07-03 21:35:41 +00:00
Eric Kohl
2bdea48b49 - Implement PlugPlayControlProperty and PlugPlayControlGetDeviceDepth
- Move documentation from NDK headers

svn path=/trunk/; revision=16399
2005-07-03 21:25:00 +00:00
Hervé Poussineau
3988ea5599 Implement SetupDiGetDeviceRegistryPropertyA
Add stub for SetupDiGetDeviceRegistryPropertyW

svn path=/trunk/; revision=16398
2005-07-03 20:19:55 +00:00
Martin Fuchs
1d354a90fe fix compile errors
svn path=/trunk/; revision=16397
2005-07-03 20:12:16 +00:00
Thomas Bluemel
7a42053e8b actually disable it, sorry
svn path=/trunk/; revision=16396
2005-07-03 19:32:55 +00:00
Thomas Bluemel
ef28baf965 add support for XP themes (disabled by default)
svn path=/trunk/; revision=16395
2005-07-03 19:32:30 +00:00
Thomas Bluemel
4be9703fa6 - imported uxtheme.dll from WINE-20050703
- added missing definitions in w32api
- imported schemadef.h from WINE and replaced most of tmschema.h with WINE's version (which is much more correct)

svn path=/trunk/; revision=16394
2005-07-03 18:32:22 +00:00
Eric Kohl
89ac547ef5 - Move definitions from ntpnp.h into NDK and DDK
- Remove ntpnp.h

svn path=/trunk/; revision=16393
2005-07-03 15:21:19 +00:00
Martin Fuchs
d46e87dfdb prepare for WINE UNICODE patch
svn path=/trunk/; revision=16392
2005-07-03 13:49:05 +00:00
Hervé Poussineau
5c050fc41f Implement SetupDiGetActualSectionToInstallA
Implement SetupDiCreateDeviceInfoA
Add SetupDiCreateDeviceInfoW stub
Fix SetupDiOpenClassRegKeyExW, by adding { } around the GUID string when opening the registry key
Don't use L"..." notation for wide strings

svn path=/trunk/; revision=16391
2005-07-03 13:46:33 +00:00
Eric Kohl
89d4545331 - Define and use PLUGPLAY_CONTROL_CLASS
- PNP_GetVersion should return an error code
- Rename structs used by NtPlugPlayControl

svn path=/trunk/; revision=16390
2005-07-03 12:18:23 +00:00
Hervé Poussineau
3eb22d7480 Implement CM_Enumerate_Classes and CM_Enumerate_Classes_Ex
svn path=/trunk/; revision=16389
2005-07-03 10:35:56 +00:00
Hervé Poussineau
151fe7f976 Add some missing constants and prototypes related to setupapi/cfgmgr
svn path=/trunk/; revision=16388
2005-07-03 10:33:51 +00:00
Martin Fuchs
7e100086d3 switch to WIN32 API string functions
svn path=/trunk/; revision=16387
2005-07-03 09:39:11 +00:00
James Tabor
c21d161abd Half way implement NtGdiUnrealizedObject.
svn path=/trunk/; revision=16386
2005-07-03 06:43:49 +00:00
Thomas Bluemel
51e10671c0 don't look up list items with negative index
svn path=/trunk/; revision=16385
2005-07-03 02:02:47 +00:00
Thomas Bluemel
79811989d8 - allow changing the focus of the check boxes in the checklist control
- minor fixes

svn path=/trunk/; revision=16384
2005-07-03 01:44:25 +00:00
Eric Kohl
d23d39a743 Implement StringTableDuplicate.
svn path=/trunk/; revision=16383
2005-07-02 21:32:37 +00:00
Eric Kohl
396b274742 Implement GetVersionInfoFromImage.
Add missing prototypes to w32api.

svn path=/trunk/; revision=16382
2005-07-02 19:26:43 +00:00
Martin Fuchs
5f53398bd1 Henning Gerhardt <henning.gerhardt@web.de>: Update German resource files.
svn path=/trunk/; revision=16381
2005-07-02 17:57:51 +00:00
Hervé Poussineau
8925d0aca7 Implement PoRequestPowerIrp
svn path=/trunk/; revision=16380
2005-07-02 14:50:22 +00:00
Eric Kohl
6c58ea3cd7 Implement CenterWindowRelativeToParent.
svn path=/trunk/; revision=16379
2005-07-02 14:05:38 +00:00
Thomas Bluemel
50c2bb7322 - query the domain server if specified by the server
- fixed some minor bugs

svn path=/trunk/; revision=16378
2005-07-02 13:49:23 +00:00
Filip Navara
65ecbfa03d Use RtlExitUserThread instead of NtTerminateThread, so the stack is properly freed.
svn path=/trunk/; revision=16377
2005-07-02 13:45:23 +00:00
Filip Navara
f15bf7924f Add prototypes for RtlExitUserThread and RtlInitializeContext.
svn path=/trunk/; revision=16376
2005-07-02 13:42:43 +00:00
Thomas Bluemel
16c7672bfd enumerate the permission names and display them
svn path=/trunk/; revision=16375
2005-07-02 01:34:18 +00:00
Thomas Bluemel
15436e184a initial (not yet complete) implementation of the checklist control for the permissions editor
svn path=/trunk/; revision=16374
2005-07-01 23:33:34 +00:00
Hervé Poussineau
46903e60ea Set svn:eol-style property to native
svn path=/trunk/; revision=16373
2005-07-01 23:26:01 +00:00
Alex Ionescu
c18f64ffe6 fix tlist
svn path=/trunk/; revision=16372
2005-07-01 19:53:02 +00:00
Magnus Olsen
e2a3507651 Brandon Turner turnerb7@msu.edu
Added ConPrintfPaging and ConOutPrintfPaging
Added /p back in using ConOutPrintfPaging

Me
correct small mistake in en.rc adding newline 
for dir_help text, so it looking bit better when it 
printout

svn path=/trunk/; revision=16371
2005-07-01 18:20:10 +00:00
Alex Ionescu
dca78ab993 remove acledit.h, the interfaces are nt4-only and deprecated, programmers must use ISecurityInformation (which is what Thomas has started to implement as well)
svn path=/trunk/; revision=16370
2005-07-01 16:04:07 +00:00
Alex Ionescu
ff230341e0 Fix DHCP bug (a ReadFile was being done on a BOOLEAN return value instead of the handle, and a thread was never returning), fix 99% of warnings and use PCH
svn path=/trunk/; revision=16369
2005-07-01 15:40:52 +00:00
Hervé Poussineau
5cda38b218 Add '\' between "System\CurrentControlSet\Class" and the GUID when creating the registry key name
Don't return FALSE but INVALID_HANDLE_VALUE in SetupDiOpenClassRegKeyExW

svn path=/trunk/; revision=16368
2005-07-01 15:29:06 +00:00
Thomas Bluemel
15d5aa6c62 query the dacl from the ISecurityInformation server, query the domains name from lsass and list them in the dialog box
svn path=/trunk/; revision=16367
2005-07-01 12:09:04 +00:00
Alex Ionescu
a51afa23e7 These two escaped... fix them too
svn path=/trunk/; revision=16366
2005-07-01 03:58:55 +00:00
Alex Ionescu
aa9df5babf Fix breakage caused by accidental commit in the last revision
svn path=/trunk/; revision=16364
2005-07-01 03:40:52 +00:00
Alex Ionescu
79ab4b5644 Fix explorer/ibrowser build
svn path=/trunk/; revision=16363
2005-07-01 03:25:35 +00:00
Alex Ionescu
919125b189 Kill off more of rosrtl
svn path=/trunk/; revision=16362
2005-07-01 03:14:40 +00:00
Alex Ionescu
14e3b7395b PCH for csrss and win32csr, and remove rosrtl usage
svn path=/trunk/; revision=16361
2005-07-01 03:03:06 +00:00
Alex Ionescu
267707560d PCH for SMSS, and remove rosrtl usage
svn path=/trunk/; revision=16360
2005-07-01 02:47:15 +00:00
Alex Ionescu
4eb4922aad Kill large parts of rosrtl. devmode conversion implented in gdi32 because it's actually an exported api, 2nd converstion used only once so inlined. logfont conversion implented as functions directly in the ddl. rtlrosmin/max replaced by actual macros, and resource rtlros function in aclui replace by actual win32 call. other rosrtl code was already deprecated.
svn path=/trunk/; revision=16359
2005-07-01 01:54:55 +00:00
Alex Ionescu
2125679164 Move some internal headers to /reactos, set it as a default include path, move pseh and elf headers to their respective directories
svn path=/trunk/; revision=16358
2005-06-30 22:40:36 +00:00
Thomas Bluemel
755c848950 - Get rid of GCC specific typecasts to PVOID for pointer arithmetics
- Decrement the AceCount in RtlDeleteAce instead of incrementing it

svn path=/trunk/; revision=16357
2005-06-30 21:38:39 +00:00
Alex Ionescu
084cc36104 rollback change
svn path=/trunk/; revision=16356
2005-06-30 17:00:19 +00:00
Alex Ionescu
077fa44358 rollback change
svn path=/trunk/; revision=16355
2005-06-30 16:59:07 +00:00
Alex Ionescu
30a6f296fd kill rosrtl from system modules
svn path=/trunk/; revision=16354
2005-06-30 16:57:06 +00:00
Alex Ionescu
493ca2fe71 remove roscfg.h
svn path=/trunk/; revision=16353
2005-06-30 16:52:26 +00:00
Alex Ionescu
8539083b08 Add windows.h back, is it futile to remove it
svn path=/trunk/; revision=16352
2005-06-30 16:48:14 +00:00
Alex Ionescu
8209b87210 Remove windows.h from external win32k headers
svn path=/trunk/; revision=16351
2005-06-30 16:39:17 +00:00
Alex Ionescu
5420982bbb Math.c wasn't using the pch header, thanks for the catch, Steven
svn path=/trunk/; revision=16350
2005-06-30 16:31:15 +00:00
Alex Ionescu
eaf273b4ef remove windows.h dependency. Filip said it couldn't be done, so please watch out for flying pigs and hell freezing over
svn path=/trunk/; revision=16349
2005-06-30 16:20:40 +00:00
Alex Ionescu
02bd986e69 Fix win32k warnings, get rid of windowsx.h dependency
svn path=/trunk/; revision=16348
2005-06-30 16:17:45 +00:00
Alex Ionescu
d280ce9240 Kill rosrtl
svn path=/trunk/; revision=16347
2005-06-30 16:04:08 +00:00
Filip Navara
bc4215dca5 Don't use ROSRTL.
svn path=/trunk/; revision=16346
2005-06-30 14:38:53 +00:00
Filip Navara
046d85a84a Use RtlQueryRegistryValues instead of RosReadRegistryValue.
svn path=/trunk/; revision=16345
2005-06-30 13:50:21 +00:00
Alex Ionescu
2170f23f23 Manually define undocumented MS GLU constants
svn path=/trunk/; revision=16344
2005-06-30 12:42:57 +00:00
Thomas Bluemel
444df32c83 implemented NeedCurrentDirectoryForExePathA/W
svn path=/trunk/; revision=16343
2005-06-30 12:33:12 +00:00
Alex Ionescu
005201f320 Delete ddentry.h and create official ddrawgdi.h header instead, delete duplicate GL include folder, move internal headers to internal libs, delete tcpmisc.h and move its defines to official tcpioctl.h, fix up winddi.h and cleanup gdi32 header.
svn path=/trunk/; revision=16342
2005-06-30 12:31:36 +00:00
Filip Navara
56ac965dc9 Move ROSKY to a separate SVN module.
svn path=/trunk/; revision=16341
2005-06-30 12:22:27 +00:00
Filip Navara
f992a4e417 Move ROSKY to a separate SVN module.
svn path=/trunk/; revision=16340
2005-06-30 12:21:30 +00:00
Filip Navara
f5dfe7db02 Move ROSKY to a separate SVN module.
svn path=/trunk/; revision=16339
2005-06-30 12:19:21 +00:00
Filip Navara
ff9c6f6419 Move ROSKY out of the main module.
svn path=/trunk/; revision=16338
2005-06-30 12:17:36 +00:00
Filip Navara
9a7a1b2147 Move ROSKY out of the main module.
svn path=/trunk/; revision=16337
2005-06-30 12:17:30 +00:00
Filip Navara
8ab1501eb8 Move ROSKY out of the main module.
svn path=/trunk/; revision=16336
2005-06-30 12:16:27 +00:00
Alex Ionescu
625fd620c6 Fix warning
svn path=/trunk/; revision=16335
2005-06-30 02:17:47 +00:00
Filip Navara
73970db31b Allow YASM to be used instead of NASM.
svn path=/trunk/; revision=16334
2005-06-29 22:19:47 +00:00
Steven Edwards
3fd1a79ff3 silence some warnings and break it even more
svn path=/trunk/; revision=16333
2005-06-29 20:13:51 +00:00
Steven Edwards
235fba2f3b already moved this to the PSDK
svn path=/trunk/; revision=16332
2005-06-29 20:03:12 +00:00
Steven Edwards
13da42279f correctly convert to all lower case
svn path=/trunk/; revision=16331
2005-06-29 19:47:57 +00:00
Steven Edwards
dbf298de73 correct case of included headers
svn path=/trunk/; revision=16330
2005-06-29 19:36:54 +00:00
Alex Ionescu
8ebf837814 Add a nice little KIDT_ACCESS structure for setting IDT entries in a pretty way
svn path=/trunk/; revision=16329
2005-06-29 19:06:28 +00:00
Alex Ionescu
356bf8d78c Fix halmp build for real
svn path=/trunk/; revision=16328
2005-06-29 19:05:46 +00:00
Filip Navara
f08cae7194 Use the correct structure in SetInterruptGate.
svn path=/trunk/; revision=16327
2005-06-29 18:33:39 +00:00
Filip Navara
06bd6d6ba8 We don't need to have uuids.h in each folder of the source tree, do we?
svn path=/trunk/; revision=16326
2005-06-29 18:26:30 +00:00
Filip Navara
99cf3f8baa I feel like trying to fit a cube into a circle-shaped hole on those little things kids play with... but however ugly the change can look it makes the MP HAL not freeze during boot.
svn path=/trunk/; revision=16325
2005-06-29 18:21:31 +00:00
Gé van Geldorp
28f775e06d zebasoftis <zebasoftis@gmail.com>:
Add Polish translation

svn path=/trunk/; revision=16324
2005-06-29 18:18:19 +00:00
Alex Ionescu
70c62c571a Fix idt descriptor code properly
svn path=/trunk/; revision=16323
2005-06-29 17:36:05 +00:00
Alex Ionescu
ba4e11025f Fix HALMP build
svn path=/trunk/; revision=16322
2005-06-29 17:22:57 +00:00
Filip Navara
a6114ec37f Fix warnings.
svn path=/trunk/; revision=16321
2005-06-29 09:35:02 +00:00
Filip Navara
db07afe07a Move the inclusion of <debug.h> to individual files and consolidate the inclusion of DDRAW/D3D headers a bit.
svn path=/trunk/; revision=16320
2005-06-29 07:09:25 +00:00
Steven Edwards
1d02274287 move a few more headers to the PSDK
svn path=/trunk/; revision=16319
2005-06-29 00:11:39 +00:00
Gunnar Dalsnes
fb6b25f553 use correct resourcefile
svn path=/trunk/; revision=16318
2005-06-28 23:36:28 +00:00
Steven Edwards
753209adc2 move ipexport.h to PSDK
svn path=/trunk/; revision=16317
2005-06-28 23:31:38 +00:00
Steven Edwards
9a714d7f55 remove inclusion of basetsd.h, I did not mean to commit this
svn path=/trunk/; revision=16316
2005-06-28 22:56:09 +00:00
Gé van Geldorp
5a9947460c Start off atoms in life with a ReferenceCount of 1
svn path=/trunk/; revision=16315
2005-06-28 22:33:48 +00:00
Steven Edwards
6d73043da8 move some wine headers to the PSDK
svn path=/trunk/; revision=16314
2005-06-28 22:09:03 +00:00
Alex Ionescu
af4ad253eb Move MS DDK files to DDK
svn path=/trunk/; revision=16313
2005-06-28 21:01:50 +00:00
Alex Ionescu
19fedef475 Copy more official headers to psdk directory
svn path=/trunk/; revision=16312
2005-06-28 20:30:26 +00:00
Alex Ionescu
0b4e482a01 Copy more official headers to psdk directory
svn path=/trunk/; revision=16311
2005-06-28 20:30:21 +00:00
Alex Ionescu
0a57f377c6 Add PSDK headers from ./include to ./w32api, delete some outdated headers and place some in ddk properly
svn path=/trunk/; revision=16310
2005-06-28 16:59:43 +00:00
Eric Kohl
f03def7913 Implement private object security functions.
svn path=/trunk/; revision=16309
2005-06-27 22:42:28 +00:00
Eric Kohl
53dea75f28 - Add Rtl*SecurityObject stubs.
- Export RtlpUnWaitCriticalSection and RtlWaitForCriticalSection.
- Replace DWORDs by ULONGs.

svn path=/trunk/; revision=16308
2005-06-27 21:11:29 +00:00
Hartmut Birr
a484af08a4 Fixed the rule for wrc.o.
svn path=/trunk/; revision=16307
2005-06-27 18:56:50 +00:00
Magnus Olsen
3da468a670 remove blank space at end of line 143 did not see it
sorry for compiling waring

svn path=/trunk/; revision=16306
2005-06-27 18:53:37 +00:00
Magnus Olsen
ef09f963dd Brandon Turner <turnerb7@msu.edu> Implemented /A example "del /A:H /A:-R *.exe -ping.exe"
svn path=/trunk/; revision=16305
2005-06-27 18:46:07 +00:00
Alex Ionescu
9734b13b5c Delete last trace of old headers in NDIS, and clean up some more old headers
svn path=/trunk/; revision=16304
2005-06-26 22:16:39 +00:00
Thomas Bluemel
c717085add - don't use the UNIMPLEMENTED macro in ObFindHandleForObject because it's actually used by win32k already
- set the right generic mapping for desktop and window station handles during win32k startup

svn path=/trunk/; revision=16303
2005-06-26 21:42:30 +00:00
Alex Ionescu
0c07cf98ad Fix boot
svn path=/trunk/; revision=16302
2005-06-26 21:32:48 +00:00
Eric Kohl
566e4b53a3 Build LSASS.
svn path=/trunk/; revision=16301
2005-06-26 21:01:19 +00:00
Eric Kohl
a35b024258 Remove useless Nt*Chanel and NtQueryOleDirectoryFile() prototypes.
svn path=/trunk/; revision=16300
2005-06-26 19:57:29 +00:00
Alex Ionescu
4710304a0d Fix kdbg build and some more header cleanups: add csq.q to ntifs, since it's now fully documented by MS (kept vizzini's comments though), moved af_irda to w32api because it's part of PSDK, moved ntbootvid.h to bootvid directory, removed ldrfuncs.h and add ndk's ldrfuncs.h to umode ndk (it was missing)
svn path=/trunk/; revision=16298
2005-06-26 19:29:12 +00:00
Eric Kohl
7132276795 Revert patch 16283 because it breaks PSDK compatibility.
svn path=/trunk/; revision=16297
2005-06-26 18:04:20 +00:00
Alex Ionescu
025d7c475c Seems I forgot to commit this, sorry
svn path=/trunk/; revision=16296
2005-06-26 18:00:22 +00:00
Eric Kohl
954200311b Add missing base address for cfgmgr32.dll and lsasrv.dll.
svn path=/trunk/; revision=16295
2005-06-26 17:22:34 +00:00
Alex Ionescu
67c200f2f9 Fix build
svn path=/trunk/; revision=16294
2005-06-26 17:11:20 +00:00
Alex Ionescu
3562ba1c03 Finalize organization of rtlfuncs.h and update FIXME status.
svn path=/trunk/; revision=16293
2005-06-26 16:35:51 +00:00
Alex Ionescu
edbcb1e0f4 Remove depcrecated constant
svn path=/trunk/; revision=16292
2005-06-26 16:35:17 +00:00
Alex Ionescu
6a9d46a3bb Update FIXME status.
svn path=/trunk/; revision=16291
2005-06-26 16:07:49 +00:00
Alex Ionescu
fef9d4dc69 Fixes for NDK compatibily (and plain ol' good design): - Use correct LDRP_ flags instead of our own made up ones. - Remove extra Process Info Classes that aren't in winddk, and use an add-on enumeration in the NDK. - Make ntoskrnl even more unaware of Win32K Internals by removing the deprecated PsCreateWin32Process function, moving w32process/thread allocation to win32k, and fixing the PsEstablishWin32Callouts function to use the latest NT prototype and callout data. These changes are similar to the ones done in NT.
svn path=/trunk/; revision=16290
2005-06-26 16:06:32 +00:00
James Tabor
7c91ae9295 Setup support for ShowOwnedPopups and expand new function in NtUserCallTwoParam.
svn path=/trunk/; revision=16289
2005-06-26 15:49:56 +00:00
Alex Ionescu
ce50274dc3 Satisfy blight's excessively arrogant attitude and overblown ego
svn path=/trunk/; revision=16288
2005-06-26 15:22:44 +00:00
Alex Ionescu
7cf07db3d7 Add NDK FIXME List.
svn path=/trunk/; revision=16287
2005-06-26 14:52:15 +00:00
Eric Kohl
ef8c4070db Build lsasrv.dll.
svn path=/trunk/; revision=16286
2005-06-26 14:02:36 +00:00
Hervé Poussineau
daae3048fd Move variable declaration at the top of the function
Remove unneeded affectation of hProcessHeap (already initialized in DllMain)

svn path=/trunk/; revision=16285
2005-06-26 12:51:17 +00:00
Eric Kohl
489bda971f Add cfgmgr32 dll.
This is a forwarder dll that passes all calls to setupapi.dll.

svn path=/trunk/; revision=16284
2005-06-26 12:17:27 +00:00
Eric Kohl
8f6865c18a Don't redefine ANSI_STRING, UNICODE_STRING and OBJECT_ATTRIBUTES if the NDK already defines them.
svn path=/trunk/; revision=16283
2005-06-26 11:14:48 +00:00
Eric Kohl
f0365b3d7a Add missing resource function prototypes.
svn path=/trunk/; revision=16282
2005-06-26 11:07:15 +00:00
Alex Ionescu
ee15175e82 Hasta la vista ntdll/napi headers
svn path=/trunk/; revision=16281
2005-06-26 06:27:34 +00:00
Alex Ionescu
e91e67f144 fix diskdump build
svn path=/trunk/; revision=16280
2005-06-26 06:06:51 +00:00
Alex Ionescu
80a245fca0 Kill NTOS headers. So long, and thanks for all the fish
svn path=/trunk/; revision=16279
2005-06-26 05:52:40 +00:00
Alex Ionescu
068dd36e8b make usb miniports not to use old header
svn path=/trunk/; revision=16278
2005-06-26 05:06:38 +00:00
Alex Ionescu
2d4d9762bb make lsass, win32k and vbe/xbox miniports use ndk instead of old headers
svn path=/trunk/; revision=16277
2005-06-26 05:04:12 +00:00
Alex Ionescu
499eae2bd2 Revert accidental commit
svn path=/trunk/; revision=16276
2005-06-26 04:50:07 +00:00
Alex Ionescu
3251827a3d Imitate NT and set some of the private object info for desktop/winsta inside win32k, not inside the kernel, so we don't need to know about win32k's private objects
svn path=/trunk/; revision=16275
2005-06-26 04:49:10 +00:00
Alex Ionescu
c6af94415d Build videoprt with NDK
svn path=/trunk/; revision=16274
2005-06-26 04:00:25 +00:00
Eric Kohl
ae46f5aa6a Hal needs KPCR_BASE
svn path=/trunk/; revision=16273
2005-06-26 01:12:21 +00:00
Eric Kohl
b9345f5cd1 Fix indentation, remove trailing whitespace and sort prototypes.
svn path=/trunk/; revision=16272
2005-06-26 01:08:55 +00:00
Alex Ionescu
c12e487549 build win32k with NDK, finally\!
svn path=/trunk/; revision=16271
2005-06-25 20:05:56 +00:00
Alex Ionescu
a01ddd88cf fix most parts of the build except win32k
svn path=/trunk/; revision=16270
2005-06-25 18:18:01 +00:00
Alex Ionescu
c6e139c501 Add many more structures to NDK which were incorrectly in the w32api IFS
svn path=/trunk/; revision=16269
2005-06-25 18:08:47 +00:00
Alex Ionescu
deb7a80fdd Large partial cleanup of ntoskrnl internal headers, mostly to delete obsoleted or non-useful headers, to reformat some horrible tab, spaces, etc mixups, and to move to NDK some public structures and remove all the include headers so that the standard one can be added. Note the word partial, meaning more will come in order to fully fix the mess.
svn path=/trunk/; revision=16268
2005-06-25 17:01:17 +00:00
Hervé Poussineau
1e4c8ee564 Remove mouse type selection in usetup.
i8042prt driver is always loaded for keyboard and auto-detects the PS/2 mouse (if any)
sermouse driver is loaded if a serial mouse is enumerated by serenum driver

svn path=/trunk/; revision=16267
2005-06-25 16:01:27 +00:00
Alex Ionescu
95f0ca7fdb Build ntoskrnl with NDK, and don't use rosrtl
svn path=/trunk/; revision=16266
2005-06-25 14:04:56 +00:00
Alex Ionescu
a9a36a579f Forgot this, sorry
svn path=/trunk/; revision=16265
2005-06-25 14:03:51 +00:00
Alex Ionescu
4169a5a54b Build secur32 with NDK
svn path=/trunk/; revision=16264
2005-06-25 13:55:24 +00:00
Alex Ionescu
767c5ce44f Fix token structure, add aux_data, fix KeDisconnectInterrupt and add NtBuildNumber (fixes for NDK)
svn path=/trunk/; revision=16263
2005-06-25 05:01:29 +00:00
Magnus Olsen
8a99b51cbf Brandon Turner <turnerb7@msu.edu>) simple check to fix > and | bug with 'rem' I (greatlord / Magnus Olsen) did small change on his patch so it did null terminate the strings right
svn path=/trunk/; revision=16262
2005-06-24 22:52:21 +00:00
Alex Ionescu
5c2b2a05bf Add missing privileges to winddk
svn path=/trunk/; revision=16261
2005-06-24 20:58:18 +00:00
Casper Hornstrup
59605ac1e7 Search current directory first for #include "".
svn path=/trunk/; revision=16260
2005-06-24 19:39:47 +00:00
Hervé Poussineau
5444c47450 Change STATUS error codes to winerror ones
svn path=/trunk/; revision=16259
2005-06-24 18:28:22 +00:00
Hervé Poussineau
a434b1aa6d Dmitry Philippov (shedon@mail.ru): implement GetCommConfig and SetCommConfig
svn path=/trunk/; revision=16258
2005-06-24 18:19:40 +00:00
Thomas Bluemel
469c016da3 - Moved ntdll's atom table implementation to rtl, rewrote it to use proper structures and share the generic implementation between ntoskrnl and ntdll
- Updated the rtl handle table implementation to use proper structures. Reserved handles are not yet supported correctly.

svn path=/trunk/; revision=16257
2005-06-24 18:11:16 +00:00
Alex Ionescu
ff3d5dbe7d Fix rtshared, didn't know about this module
svn path=/trunk/; revision=16256
2005-06-24 16:39:49 +00:00
Alex Ionescu
c78d9b68e1 Build regtess with standard windows header only, not NTOS
svn path=/trunk/; revision=16255
2005-06-24 15:38:29 +00:00
Alex Ionescu
4a320e11d6 Forgot to commit this fix to ntifs
svn path=/trunk/; revision=16254
2005-06-24 15:34:40 +00:00
Alex Ionescu
758ab5ab61 Build HAL with NDK
svn path=/trunk/; revision=16253
2005-06-24 01:37:08 +00:00
Alex Ionescu
7f2ec8aa5d Build eventlog, umpnpmgr, rpcss with NDK
svn path=/trunk/; revision=16252
2005-06-24 01:31:23 +00:00
Hervé Poussineau
64016b704d Add COMMPROP_INITIALIZED constant. It is used in COMMPROP structure, for dwProvSpec1 field
svn path=/trunk/; revision=16251
2005-06-23 21:36:40 +00:00
Hervé Poussineau
130a036ab2 Assign provider-specific fields in IOCTL_SERIAL_GET_PROPERTIES
Big clean up in serial.h header
Fix header text (remove $Id...)

svn path=/trunk/; revision=16250
2005-06-23 20:34:17 +00:00
Steven Edwards
13c65b3f47 convert all of the gdiplus stuff to lowercase
svn path=/trunk/; revision=16249
2005-06-23 18:15:04 +00:00
Magnus Olsen
366a911edc (Brandon Turner) <turnerb7@msu.edu>) Fixed bug to allow MS style wildcards + code clean up added /y and /-y
svn path=/trunk/; revision=16248
2005-06-23 18:12:17 +00:00
Gé van Geldorp
f887cf0f05 Don't draw 0-width HLine
svn path=/trunk/; revision=16247
2005-06-23 17:54:22 +00:00
Alex Ionescu
7143bd0824 Build stub hal with NDK
svn path=/trunk/; revision=16246
2005-06-23 15:58:03 +00:00
Alex Ionescu
96507ffe7c Fix bug in interrupt code
svn path=/trunk/; revision=16245
2005-06-23 15:29:20 +00:00
Steven Edwards
236ce44dac properly break it. correct typo
svn path=/trunk/; revision=16244
2005-06-23 13:31:33 +00:00
Steven Edwards
f6259d7ec4 break the tree for gcc 3.4.1 and gcc 4 at the request of Alex
svn path=/trunk/; revision=16243
2005-06-23 13:26:18 +00:00
Steven Edwards
efbd608bb5 one has to wonder if I am fixing a kernel build.....
svn path=/trunk/; revision=16242
2005-06-23 12:38:13 +00:00
Alex Ionescu
c0d381402e Revert accidental change
svn path=/trunk/; revision=16241
2005-06-23 12:22:32 +00:00
Thomas Bluemel
4f18890314 flag IsTokenRestricted() as @implemented
svn path=/trunk/; revision=16240
2005-06-23 10:34:16 +00:00
Alex Ionescu
1a1adca582 Fix two more build issues caused by greatlod's d3d header change and ndk bug
svn path=/trunk/; revision=16239
2005-06-23 05:07:25 +00:00
Alex Ionescu
5eefe9bdd1 use DDK for rossym
svn path=/trunk/; revision=16238
2005-06-23 04:53:57 +00:00
Alex Ionescu
f8707b368d fix build...sigh...sorry, my ntoskrnl builds with NDK
svn path=/trunk/; revision=16237
2005-06-23 04:52:27 +00:00
Alex Ionescu
ad71bcda91 Fix more ddk/ndk missing defintions
svn path=/trunk/; revision=16236
2005-06-23 04:42:49 +00:00
Alex Ionescu
610b6a4048 Fix build (my fault now :P)
svn path=/trunk/; revision=16235
2005-06-23 03:24:42 +00:00
Alex Ionescu
3e1728b45b Fix some NDK things and missing w32api defines.
svn path=/trunk/; revision=16234
2005-06-23 03:18:20 +00:00
Alex Ionescu
65fd7f2386 Fix build (no, not because of me, casper)
svn path=/trunk/; revision=16233
2005-06-23 01:36:58 +00:00
Steven Edwards
20e1654594 mark IopCsqCancelRoutine as static. Vizzini really does write good code.
svn path=/trunk/; revision=16232
2005-06-22 23:47:53 +00:00
Alex Ionescu
680c995ee1 Fix typo
svn path=/trunk/; revision=16231
2005-06-22 23:12:49 +00:00
Alex Ionescu
705a57e075 Build diskdump with NDK
svn path=/trunk/; revision=16230
2005-06-22 23:12:24 +00:00
Alex Ionescu
d1258e99fa Fix definition of KINTERRUPT in ROS headers so that moving to NDK will be easier. Also fix KeDisconnectInterrupt to return the old state instead of VOID, and re-write the I/O Interrupt code to work with an array and first object for better speed
svn path=/trunk/; revision=16229
2005-06-22 23:10:15 +00:00
Steven Edwards
9925309a13 added msxmldid.h from wine
svn path=/trunk/; revision=16228
2005-06-22 21:55:43 +00:00
Magnus Olsen
e3ed3792ca move ddrawi.h to ddk there it belong
svn path=/trunk/; revision=16227
2005-06-22 21:51:30 +00:00
Thomas Bluemel
204ad68d21 implemented RtlHashUnicodeString and export it in ntdll
svn path=/trunk/; revision=16226
2005-06-22 21:01:13 +00:00
Steven Edwards
9900f1ee91 remove unnneed function declariation
svn path=/trunk/; revision=16225
2005-06-22 20:51:22 +00:00
Maarten Bosma
588a9bc3cb Removed ddk/ddrawi.h because we have it twice, also removed some defines from ddrawint.h that are already in ddrawi.h
svn path=/trunk/; revision=16224
2005-06-22 19:51:01 +00:00
Alex Ionescu
2778f92cc3 Fix build (eh, Casper? :P)
svn path=/trunk/; revision=16223
2005-06-22 19:33:26 +00:00
Thomas Bluemel
07c4b32cdd close extern "C" block for c++ code
svn path=/trunk/; revision=16222
2005-06-22 19:18:21 +00:00
Alex Ionescu
d3a3c52a0a Fix build
svn path=/trunk/; revision=16221
2005-06-22 18:06:47 +00:00
Hartmut Birr
9633616f5b Added PFILE_ALIGNMENT_INFORMATION.
svn path=/trunk/; revision=16220
2005-06-22 18:03:32 +00:00
Maarten Bosma
5276f2c8bb Change NtGdiD3dContextDestroyAll@4 to @0
svn path=/trunk/; revision=16219
2005-06-22 18:02:33 +00:00
Alex Ionescu
2ab26c9f4d Build tcpip with NDK
svn path=/trunk/; revision=16218
2005-06-22 17:58:42 +00:00
Alex Ionescu
9e8e05cf39 Fix one more bug in NDK, and fix w32api headers to use FLOWSPEC structure inside NDIS.h, and use qos.h instead of winsock2, and implement FLOWSPEC in qos.h, moving it outside from winsock2.
svn path=/trunk/; revision=16217
2005-06-22 17:58:19 +00:00
Hartmut Birr
b5a67666e6 - Initialized Reply with NULL for the first call to NtReplyWaitReceivePort.
- Removed LpcReply because it wasn't really used.

svn path=/trunk/; revision=16216
2005-06-22 17:43:59 +00:00
Magnus Olsen
73abbbd77e Brandon Turner <turnerb7@msu.edu> Added exclusive deletion "del * -abc.txt -text*.txt"
svn path=/trunk/; revision=16215
2005-06-22 17:39:10 +00:00
Alex Ionescu
164b25c391 Fix some NDK issues when attempting to use it from kmode, and fix some winddk/ntifs inconsistencies aswell (move PFILE_QUOTA_INFORMATION and remove all RtlRange functions from the DDK, plus add PPEB)
svn path=/trunk/; revision=16214
2005-06-22 05:04:02 +00:00
Alex Ionescu
3e604d23e7 Large change to modify NTDLL'S CSR Functions to be compatible with NT. They are external and we should at least try to match the number of arguments (one vs eight? come on!). Because this is also the direction that Emanuele wants to be taking, the whole external calling interface was modified to be more compatible with NT (although internally it still isn't, and does not have a reason to be). API Names are now generated by a macro from the Server ID, like Emanuele and I noticed from traces, and I've entirely removed the concept of a reply structure. CSRSS uses full-duplex one-way structures, not dual-strutures (this would've been incompatible with the external interface anyways). I don't seem to have introduced any new bugs (console-ROS works great for me, as does the GUI), but there is still a chance some obscure bug might happen, so please bear with me, I had to hand-edit over 250 calls. Also, this now allows full removal of ntdll headers and the next commits will clean this up
svn path=/trunk/; revision=16213
2005-06-22 04:02:32 +00:00
KJK::Hyperion
321df5d69c Partial merge from the ROX-U branch (various fixes for Visual C++ compilation, see logs for r16198 and r16208)
svn path=/trunk/; revision=16212
2005-06-21 23:42:58 +00:00
Magnus Olsen
1af2b69826 add error code for file not found it was missing on one place
svn path=/trunk/; revision=16211
2005-06-21 22:07:44 +00:00
Hervé Poussineau
a6d58d5291 Silent debug messages
svn path=/trunk/; revision=16210
2005-06-21 21:35:07 +00:00
Maarten Bosma
c9d742f6cf Martin Rottensteiner (2005only@pianonote.at):
- set errorlevel to 9009 if command not found
- implemented exit /b # in batchfiles

svn path=/trunk/; revision=16209
2005-06-21 19:17:49 +00:00
Maarten Bosma
8e3623c1af Copy ddk ddrawi.h to include since it's more uptodate.
svn path=/trunk/; revision=16207
2005-06-21 17:16:25 +00:00
Gé van Geldorp
e3f555a8c9 Patch by Hartmut Birr
Work around what seems to be a bug in GCC for optimized builds. See
http://reactos.com:8080/archives/public/ros-dev/2005-June/003842.html

svn path=/trunk/; revision=16206
2005-06-21 16:35:41 +00:00
Alex Ionescu
3596d2a339 Build kernel32, ntdll, csrss fully with NDK and remove ntdll header usage
svn path=/trunk/; revision=16205
2005-06-21 04:52:46 +00:00
Alex Ionescu
e3cfe86657 Use correct TlsCount/LoadCount definition and fix incorrect usage i code
svn path=/trunk/; revision=16204
2005-06-21 04:28:03 +00:00
Alex Ionescu
77f673dd82 Use LDR_DATA_TABLE_ENTRY instead of LDR_MODULE. the former is the actual structure. would be wise to fix the defs too.
svn path=/trunk/; revision=16203
2005-06-21 04:10:45 +00:00
Alex Ionescu
1595459dbc Last build fix...sorry
svn path=/trunk/; revision=16202
2005-06-21 02:58:22 +00:00
Alex Ionescu
b5e1fdb37a Fix build
svn path=/trunk/; revision=16201
2005-06-21 02:47:55 +00:00
Alex Ionescu
58f27e918c Add uncleaned start of internal ntdll header
svn path=/trunk/; revision=16200
2005-06-21 02:11:45 +00:00
Alex Ionescu
3b2016d0ac Add new header for native user-mode functios inside the NT library inside the NDK, it will end up replacing most of the exported parts of the ntdll headers. It's not used yet as it would conflict, I added a temporary guard for that. Also added many more types to rtlfuncs.h so that it's almost entirely complete, and took out non rtl-stuff and put it into the user-mode NT header
svn path=/trunk/; revision=16199
2005-06-21 02:08:42 +00:00
Alex Ionescu
1d7902f557 Make scsi header um friendly
svn path=/trunk/; revision=16197
2005-06-20 22:54:01 +00:00
Alex Ionescu
4650be627f Remove rosrtl usage from usetup
svn path=/trunk/; revision=16196
2005-06-20 22:51:54 +00:00
Alex Ionescu
ce068ea890 Build usetup with NDK
svn path=/trunk/; revision=16195
2005-06-20 22:49:45 +00:00
Filip Navara
2e4d4d6dfd Remove some non-__USE_W32API guarded blocks.
svn path=/trunk/; revision=16194
2005-06-20 22:48:50 +00:00
Alex Ionescu
8b83fb933a Build winlogon with NDK
svn path=/trunk/; revision=16193
2005-06-20 22:19:18 +00:00
Alex Ionescu
d8de94af8a Build taskmgr with NDK
svn path=/trunk/; revision=16192
2005-06-20 22:15:59 +00:00
Alex Ionescu
725169d745 Build autochk with NDK
svn path=/trunk/; revision=16191
2005-06-20 21:50:02 +00:00
Filip Navara
be5ad51996 Fix build.
svn path=/trunk/; revision=16190
2005-06-20 21:49:00 +00:00
Alex Ionescu
e04c28b61f Build dhcp with ndk
svn path=/trunk/; revision=16189
2005-06-20 21:45:19 +00:00
Alex Ionescu
4d21e1f410 Build format with NDK
svn path=/trunk/; revision=16188
2005-06-20 21:43:14 +00:00
Alex Ionescu
2c52e31b61 Build ntvdm with NDK
svn path=/trunk/; revision=16187
2005-06-20 21:42:52 +00:00
Filip Navara
d373bd32e7 Build GDI32 with NDK and without DDK.
svn path=/trunk/; revision=16186
2005-06-20 21:35:05 +00:00
Alex Ionescu
9eea30f8b3 Build smss with NDK
svn path=/trunk/; revision=16185
2005-06-20 21:16:59 +00:00
Alex Ionescu
c618c35523 Build services with NDK
svn path=/trunk/; revision=16183
2005-06-20 21:04:03 +00:00
Alex Ionescu
5cc3617a10 Build sm with NDK
svn path=/trunk/; revision=16182
2005-06-20 21:03:51 +00:00
Filip Navara
b97fb9c707 Make winddi.h UM-friendly.
svn path=/trunk/; revision=16181
2005-06-20 21:03:41 +00:00
Hartmut Birr
f4d5dc8eb3 Fixed a bug within the calculation of the memory load.
svn path=/trunk/; revision=16180
2005-06-20 20:27:10 +00:00
Alex Ionescu
1bb602a345 Don't use DDK, use NDK for wshirda and ws2help
svn path=/trunk/; revision=16179
2005-06-20 20:26:14 +00:00
Alex Ionescu
0669fda144 Don't use ntdll headers in crt, use ndk
svn path=/trunk/; revision=16178
2005-06-20 20:22:54 +00:00
Alex Ionescu
de322e6992 Build iphlpapi with NDK instead of DDK
svn path=/trunk/; revision=16177
2005-06-20 20:20:40 +00:00
Alex Ionescu
26fca9d4cf Use NDK instead of DDK
svn path=/trunk/; revision=16176
2005-06-20 20:13:58 +00:00
Alex Ionescu
f239820920 jingle bells batman smells, robin laid an egg (build rosrtl with NDK)
svn path=/trunk/; revision=16175
2005-06-20 20:07:52 +00:00
Alex Ionescu
f9eab6bf5e Syssetup has fallen to the dark side
svn path=/trunk/; revision=16174
2005-06-20 19:58:43 +00:00
Alex Ionescu
7fdb1a2266 Build userenv and samlib with NDK
svn path=/trunk/; revision=16173
2005-06-20 19:50:52 +00:00
Alex Ionescu
a1a5cdb7ca Buid vfat(x)lib with NDK
svn path=/trunk/; revision=16172
2005-06-20 19:46:09 +00:00
Alex Ionescu
aa1e7d31e8 Build psapi with NDK
svn path=/trunk/; revision=16171
2005-06-20 19:38:25 +00:00
Alex Ionescu
0bbb2a98cd build lsasrv with NDK
svn path=/trunk/; revision=16170
2005-06-20 19:34:39 +00:00
Alex Ionescu
b19d74062e Build smdll with NDK
svn path=/trunk/; revision=16169
2005-06-20 19:33:08 +00:00
Alex Ionescu
0856013938 Build ws2_32 with NDK
svn path=/trunk/; revision=16168
2005-06-20 19:30:55 +00:00
Alex Ionescu
07d22c372d Compile msafd with NDK
svn path=/trunk/; revision=16167
2005-06-20 19:28:45 +00:00
Alex Ionescu
4cf87b40e7 Build secur32 with NDK
svn path=/trunk/; revision=16166
2005-06-20 19:19:23 +00:00
Hartmut Birr
747c64b7c4 Moved the TRACE_LDR macro from ntdll.h to utils.c.
svn path=/trunk/; revision=16165
2005-06-20 19:18:35 +00:00
Alex Ionescu
ae955c39ed Build epsapi with NDK
svn path=/trunk/; revision=16164
2005-06-20 19:14:08 +00:00
Alex Ionescu
c3151ba005 Build dnsapi with NDK
svn path=/trunk/; revision=16163
2005-06-20 19:05:25 +00:00
Alex Ionescu
d53d55734a build smlib with NDK
svn path=/trunk/; revision=16162
2005-06-20 19:02:23 +00:00
Alex Ionescu
44b8b1697a Remove rosrtl from advapi
svn path=/trunk/; revision=16161
2005-06-20 18:58:56 +00:00
Alex Ionescu
cf9968925b Switch Advapi32 to NDK
svn path=/trunk/; revision=16160
2005-06-20 18:55:05 +00:00
Alex Ionescu
29075cd391 Add missing types to NDK
svn path=/trunk/; revision=16159
2005-06-20 18:54:47 +00:00
Martin Fuchs
0f3a2ad610 sync with Wine's repository
svn path=/trunk/; revision=16158
2005-06-20 18:48:32 +00:00
Alex Ionescu
88b8879367 Compile user32 with NDK, clean up its headers, and separate it from the intenral win32k stuff
svn path=/trunk/; revision=16157
2005-06-20 18:21:07 +00:00
Martin Fuchs
8e0a6b7b07 Sync with Wine repo
svn path=/trunk/; revision=16156
2005-06-20 16:53:47 +00:00
Martin Fuchs
a609b028a1 Stefan Huehner <stefan@huehner.org>:
Remove some -Wstrict-prototypes warnings.

svn path=/trunk/; revision=16155
2005-06-20 16:52:02 +00:00
Maarten Bosma
e133ad2f81 g++ seams to have a problem with this dummy union names.
svn path=/trunk/; revision=16154
2005-06-20 16:32:42 +00:00
Filip Navara
7bf3a79d15 Remove Jamfiles.
svn path=/trunk/; revision=16153
2005-06-20 14:30:44 +00:00
Filip Navara
f266cbb1c2 Fix warnings.
svn path=/trunk/; revision=16152
2005-06-20 14:23:13 +00:00
Filip Navara
d69a2a31dd Fix a cut & paste error.
svn path=/trunk/; revision=16151
2005-06-20 14:08:06 +00:00
Filip Navara
81175de9c1 Fix warnings.
svn path=/trunk/; revision=16150
2005-06-20 13:59:40 +00:00
Filip Navara
6479d4526a Forgot this file in r16147.
svn path=/trunk/; revision=16149
2005-06-20 13:54:52 +00:00
Filip Navara
3b0038292f Remove Jamfiles.
svn path=/trunk/; revision=16148
2005-06-20 13:43:26 +00:00
Filip Navara
cdad35b774 Fix warnings and remove Jamfiles.
svn path=/trunk/; revision=16147
2005-06-20 13:43:05 +00:00
Filip Navara
d160d80677 Fix warnings.
svn path=/trunk/; revision=16146
2005-06-20 13:17:21 +00:00
Filip Navara
aa82a6a072 The DK directory doesn't seem to be used anymore.
svn path=/trunk/; revision=16145
2005-06-20 12:10:46 +00:00
Filip Navara
e0df17c6fd Compile CSRSS and WIN32CSR with NDK headers.
svn path=/trunk/; revision=16144
2005-06-20 11:56:10 +00:00
Gé van Geldorp
59057f2e70 Exclusively lock surface bits before reading or writing them
svn path=/trunk/; revision=16143
2005-06-20 08:31:48 +00:00
Filip Navara
113cab2be5 Fix definition of LPC_MESSAGE_BASE_SIZE.
svn path=/trunk/; revision=16142
2005-06-20 07:18:20 +00:00
Filip Navara
21616080f6 Remove InitializeMessageHeader definition.
svn path=/trunk/; revision=16141
2005-06-20 07:16:51 +00:00
Filip Navara
31ad5f02a9 Fix the definion of SharedUserData.
svn path=/trunk/; revision=16140
2005-06-20 07:06:41 +00:00
Hervé Poussineau
57074db1aa Implement IOCTL_USB_GET_NODE_CONNECTION_NAME, IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME
Fix indices in IOCTL_USB_GET_NODE_CONNECTION_INFORMATION

svn path=/trunk/; revision=16139
2005-06-20 05:54:19 +00:00
Alex Ionescu
0ee8822197 Major cleanup to rtlfuncs.h. Not yet perfect but much better organized.
svn path=/trunk/; revision=16138
2005-06-20 05:36:32 +00:00
Alex Ionescu
4b83cb1f77 Cleanup kernel usage to decrease compilation time/memory
svn path=/trunk/; revision=16136
2005-06-20 04:30:23 +00:00
Alex Ionescu
eb67c61944 Remove rosrtl string macros
svn path=/trunk/; revision=16135
2005-06-20 04:18:03 +00:00
Alex Ionescu
497256b40e Build kernel32 with NDK
svn path=/trunk/; revision=16134
2005-06-20 04:07:49 +00:00
Alex Ionescu
d98066b2aa Final NDK fixes for kernel32
svn path=/trunk/; revision=16133
2005-06-20 04:07:34 +00:00
Alex Ionescu
4a0a216d3e Apply kjk's change to thread.c too
svn path=/trunk/; revision=16132
2005-06-20 04:07:19 +00:00
Alex Ionescu
3bfd20f396 Some NDK Fixes, kernel32 almost compiles
svn path=/trunk/; revision=16131
2005-06-20 03:55:42 +00:00
KJK::Hyperion
8cd2554cff Converted kernel32 process creation to use PSEH (untested change to help Alex)
svn path=/trunk/; revision=16130
2005-06-20 03:42:05 +00:00
Alex Ionescu
f5e002e1c9 Fixed incorrect SetNamedPipeHandleState implementation to use the actual APIs/Structures it should and added one of the missing ones to NTIFS.
svn path=/trunk/; revision=16129
2005-06-20 01:52:47 +00:00
Alex Ionescu
aaad0af903 Add missing stuff to NDK
svn path=/trunk/; revision=16128
2005-06-19 23:59:40 +00:00
Alex Ionescu
16c356bfa1 Ditto for HAL
svn path=/trunk/; revision=16127
2005-06-19 22:53:49 +00:00
Alex Ionescu
b4cb154b4a Blight is cool. oh, right..this is a commt message. err.. oh. include debug.h per-file isntead of globally, or else this breaks NDEBUG
svn path=/trunk/; revision=16126
2005-06-19 22:50:59 +00:00
Filip Navara
94b818d7c0 TIME -> LARGE_INTEGER
svn path=/trunk/; revision=16125
2005-06-19 22:32:51 +00:00
Hervé Poussineau
697e997b8f Implement IRP_MJ_CLEANUP for UHCI controller
svn path=/trunk/; revision=16124
2005-06-19 22:19:11 +00:00
Filip Navara
8098dc0a97 - Don't include ntddk.h from most of the DDK headers and move the includes out of the "extern C" blocks.
- Fix order of STDCALL in few callback defintions.
- Get the sources to build again with these changes.

svn path=/trunk/; revision=16123
2005-06-19 22:13:41 +00:00
Hervé Poussineau
9bd5178ad2 Implement IOCTL_GET_HCD_DRIVERKEY_NAME
Better check for arguments in IOCTL_*
Let IOCTL_USB_GET_ROOT_HUB_NAME use the right structure type
Initialize wrapper around linux code after setting the device extension field

svn path=/trunk/; revision=16122
2005-06-19 22:11:09 +00:00
Alex Ionescu
b76b475c32 Build RTL with NDK
svn path=/trunk/; revision=16121
2005-06-19 22:05:50 +00:00
Alex Ionescu
aec8d2f143 Move internal rtlp functions out of ntos and into internal rosrtl header
svn path=/trunk/; revision=16120
2005-06-19 22:05:18 +00:00
Alex Ionescu
1754d20379 Add free to libsupp
svn path=/trunk/; revision=16119
2005-06-19 21:50:05 +00:00
Alex Ionescu
d3e93a6629 Add include to rosrtl where needed
svn path=/trunk/; revision=16118
2005-06-19 21:40:29 +00:00
Alex Ionescu
9deb8137ef Fix cshort definition
svn path=/trunk/; revision=16117
2005-06-19 21:39:58 +00:00
Alex Ionescu
ef09428e85 Add libsupp.h for rtl's Kernel Allocation functions
svn path=/trunk/; revision=16116
2005-06-19 21:37:01 +00:00
Alex Ionescu
38765d4930 Add missing security types in winnt.h
svn path=/trunk/; revision=16115
2005-06-19 21:35:57 +00:00
Alex Ionescu
a43ea85ae0 User helper header and don't use RTLROS string macros naymore
svn path=/trunk/; revision=16114
2005-06-19 21:08:39 +00:00
Alex Ionescu
4d69a0fddb Fix Build
svn path=/trunk/; revision=16113
2005-06-19 21:03:41 +00:00
Filip Navara
61eed1a9da Fxi build.
svn path=/trunk/; revision=16112
2005-06-19 20:56:11 +00:00
Alex Ionescu
299cedf334 Use RTL_CONSTANT_STRING instead of RtlRos macro
svn path=/trunk/; revision=16111
2005-06-19 20:43:13 +00:00
Alex Ionescu
3b65c45a7c Build NTDLL with NDK
svn path=/trunk/; revision=16110
2005-06-19 20:28:20 +00:00
Alex Ionescu
d3d66f5e68 Final NDK fixes for ntdll
svn path=/trunk/; revision=16109
2005-06-19 20:18:30 +00:00
Filip Navara
514f6f4626 Remove PNP_VETO_TYPE from winddk.h.
svn path=/trunk/; revision=16108
2005-06-19 20:09:32 +00:00
Alex Ionescu
448fd2a82a More NDK fixes, remove duplicated debug functions from ntdll, use rosrtl header where neded in ntdll.
svn path=/trunk/; revision=16107
2005-06-19 20:01:07 +00:00
Filip Navara
fd45cff559 Fix packing.
svn path=/trunk/; revision=16106
2005-06-19 19:56:01 +00:00
Alex Ionescu
3ff128077e More NDK fixes/additions
svn path=/trunk/; revision=16105
2005-06-19 19:36:05 +00:00
Alex Ionescu
93d9bcad1a More NDK fixes (user-mode NDK now works) and guard some stuff in include/ntdll so that ntdll can be build with NDK, but so that other apps not yet using it, but using those headers, can also build
svn path=/trunk/; revision=16104
2005-06-19 19:15:46 +00:00
James Tabor
7d84d6b837 Adding ps.exe to build process.
svn path=/trunk/; revision=16103
2005-06-19 18:54:02 +00:00
James Tabor
b3bc018212 Adding ps.exe to build process.
svn path=/trunk/; revision=16102
2005-06-19 18:53:19 +00:00
Filip Navara
ac4f85a89e Forgot to commit this file in r16097.
svn path=/trunk/; revision=16101
2005-06-19 18:34:35 +00:00
Alex Ionescu
1b74c03fb1 Major cleanup of User-Mode NDK
svn path=/trunk/; revision=16100
2005-06-19 18:21:58 +00:00
Filip Navara
8b3da072dd Cleanup header usage in USER32.
svn path=/trunk/; revision=16099
2005-06-19 18:06:53 +00:00
Filip Navara
3dcd5f1ff6 Remove duplicate header.
svn path=/trunk/; revision=16098
2005-06-19 17:34:05 +00:00
Filip Navara
f2ff7df489 (Re)move USER32 headers from include/user32.
svn path=/trunk/; revision=16097
2005-06-19 17:27:44 +00:00
Filip Navara
8625b6ac08 Remove duplicate headers.
svn path=/trunk/; revision=16096
2005-06-19 16:30:52 +00:00
Filip Navara
2954ec2db0 Better header redefiniton guards.
svn path=/trunk/; revision=16095
2005-06-19 15:40:47 +00:00
Filip Navara
ae8bd99934 - Add definition of DRIVE_LAYOUT_INFORMATION_EX.
- Move CLS defintions from winddk.h to ntnls.h.
- Move EVENT_TRACE_HEADER defintion from winddk.h to evntrace.h.

svn path=/trunk/; revision=16094
2005-06-19 15:27:10 +00:00
Hervé Poussineau
d4719c91ec Implement IRP_MN_QUERY_DEVICE_RELATIONS for USB hubs
Implement IRP_MN_QUERY_ID for devices enumerated by USB hubs

svn path=/trunk/; revision=16093
2005-06-19 14:15:39 +00:00
Magnus Olsen
30eee0c5d1 revert my lattes change some part of head did break
sorry all. 

svn path=/trunk/; revision=16092
2005-06-19 14:12:59 +00:00
Casper Hornstrup
a5e4e00e8a Count only scheduled time when running performance tests
svn path=/trunk/; revision=16091
2005-06-19 12:41:22 +00:00
Magnus Olsen
2caba7c355 add struct DDRAWI_DIRECTDRAW_GBL
svn path=/trunk/; revision=16090
2005-06-19 12:14:31 +00:00
Magnus Olsen
e661bfdc12 Correct the DD_GETDRIVERINFODATA struct it did missing a pointer to DDRAWI_DIRECTDRAW_GBL struct. Some need really check this file if more mistake exists
svn path=/trunk/; revision=16089
2005-06-19 12:13:57 +00:00
Magnus Olsen
17c0f2829a add TAG macro
svn path=/trunk/; revision=16088
2005-06-19 10:10:34 +00:00
Hartmut Birr
499a2712a9 Initialized the system call entry independent of the real type of SystemCall.
svn path=/trunk/; revision=16087
2005-06-19 09:48:14 +00:00
Filip Navara
fbf1722197 Couple of build fixes.
svn path=/trunk/; revision=16086
2005-06-19 09:07:44 +00:00
Filip Navara
068cf10896 Add TAG macro definition.
svn path=/trunk/; revision=16085
2005-06-19 08:21:35 +00:00
Filip Navara
b63e292fbd Add TAG macro definition.
svn path=/trunk/; revision=16084
2005-06-19 08:20:08 +00:00
Filip Navara
d864df4b3b Move the TAG define.
svn path=/trunk/; revision=16083
2005-06-19 08:15:10 +00:00
Filip Navara
887716169a Add TAG macro definition.
svn path=/trunk/; revision=16082
2005-06-19 08:14:18 +00:00
Filip Navara
b76c3856ee Move the TAG define.
svn path=/trunk/; revision=16081
2005-06-19 08:05:01 +00:00
Alex Ionescu
6048617aab Some more NDK fixes
svn path=/trunk/; revision=16080
2005-06-19 07:41:35 +00:00
Alex Ionescu
1311a0191c Fix rtl/rossym
svn path=/trunk/; revision=16079
2005-06-19 07:15:07 +00:00
Alex Ionescu
469fa69ab7 Add NtcurrentThread, ALTERNATIVE_ARCHITECTURE_TYPE, KSYSTEM_TIME, KUSER_SHARED_DATA, REG_CREATED_NEW_KEY, REG_OPENED_EXISTING_KEY, KeRaiseIrqlToSynchLevel to DDK. Remove HANDLE_TABLE_ENTRY_INFO and HANDLE_TABLE_ENTRY from NTIFS. Add NT_PRODUCT_TYPE
svn path=/trunk/; revision=16078
2005-06-19 07:11:49 +00:00
Alex Ionescu
10c1c40139 Fix some ntoskrnl things, like using Rtl instead of RosRtl, and undefining ROUND macros
svn path=/trunk/; revision=16077
2005-06-19 07:11:38 +00:00
Filip Navara
e960d42247 Use RTL_CONSTANT_STRING instead of ROSRTL macros.
svn path=/trunk/; revision=16076
2005-06-19 07:07:52 +00:00
Alex Ionescu
9d04f9a976 More NDK Fixes
svn path=/trunk/; revision=16075
2005-06-19 07:03:18 +00:00
Alex Ionescu
a6c04adbb2 Fix building issues caused by previous patch
svn path=/trunk/; revision=16074
2005-06-19 04:49:14 +00:00
Alex Ionescu
cbe3dc72cb Move Exported functions away from internal/ke.h, move exported data from internal/ex.h, add internal structures to internal/ifs.h, include ntdddisk.h in internal/xhal.h for access to PDRIVE_LAYOUT_INFORMATION, remove DDK function from internal/nls.h, remove KTRAP_FRAME from internal/i386/ke.h, add some more temporary types to krnltypes.h, protect PNP_VETO_TYPE, move EVENT_TRACE_HEADER to DDK, guard disk.h properly, correct DRIVE_LAYOUT_INFORMATION typedef in DDK, add PNP_VETO_TYPE, NLSTABLEINFO, CPTABLEINFO, remove KDPC_DATA, PP_LOOKASIDE_LIST. remove PROCESSOR_POWER_STATE from ntpoapi, remove MAILSLOT_CREATE_PARAMETERS, NAMED_PIPE_CREATE_PARAMETERS, IO_COMPLETION_INFORMATION_CLASS, PAGEFAULT_HISTORY, SECTION_XXX_INFORMATION, RtlSelfRelativeToAbsoluteSD, ZwQuerySection/Object, ZwQuerySystemInformation, ZwSetInformationObject, ZwSetSystemInformation from IFS
svn path=/trunk/; revision=16073
2005-06-19 03:55:48 +00:00
Alex Ionescu
428572a138 Move Exported functions away from internal/ke.h, move exported data from internal/ex.h, add internal structures to internal/ifs.h, include ntdddisk.h in internal/xhal.h for access to PDRIVE_LAYOUT_INFORMATION, remove DDK function from internal/nls.h, remove KTRAP_FRAME from internal/i386/ke.h, add some more temporary types to krnltypes.h, protect PNP_VETO_TYPE, move EVENT_TRACE_HEADER to DDK, guard disk.h properly, correct DRIVE_LAYOUT_INFORMATION typedef in DDK, add PNP_VETO_TYPE, NLSTABLEINFO, CPTABLEINFO, remove KDPC_DATA, PP_LOOKASIDE_LIST. remove PROCESSOR_POWER_STATE from ntpoapi, remove MAILSLOT_CREATE_PARAMETERS, NAMED_PIPE_CREATE_PARAMETERS, IO_COMPLETION_INFORMATION_CLASS, PAGEFAULT_HISTORY, SECTION_XXX_INFORMATION, RtlSelfRelativeToAbsoluteSD, ZwQuerySection/Object, ZwQuerySystemInformation, ZwSetInformationObject, ZwSetSystemInformation from IFS
svn path=/trunk/; revision=16072
2005-06-19 03:55:34 +00:00
Alex Ionescu
0af7b6f7a0 Many fixes to NDK
svn path=/trunk/; revision=16071
2005-06-19 03:25:33 +00:00
Alex Ionescu
5a4296bcec Remove PAGED_CODE, PAGED_CODE_RTL and RTL_ONSTANT_STRING from ntoskrnl.h. The first and last are in DDK, and the second is not used in the kernel and already defined
svn path=/trunk/; revision=16070
2005-06-19 01:10:08 +00:00
Filip Navara
5be76fa181 Use RTL_CONSTANT_STRING instead of ROSRTL macros.
svn path=/trunk/; revision=16069
2005-06-19 00:28:46 +00:00
Filip Navara
cc03f70b55 Use RTL_CONSTANT_STRING instead of ROSRTL macros.
svn path=/trunk/; revision=16068
2005-06-19 00:21:54 +00:00
Filip Navara
7971e8425b - Use regular PE structures in NTOSKRNL/NTDLL/DISKDUMP.
- Add WDMGUID library.
- Get rid of few more headers.

svn path=/trunk/; revision=16067
2005-06-19 00:06:08 +00:00
Alex Ionescu
c09b52bf01 Add NDK 1.00-pre. Needs some TLC in umtypes.h and a lot of fixes. Not used anywhere yet.
svn path=/trunk/; revision=16066
2005-06-18 23:33:40 +00:00
Magnus Olsen
46f26a073b make inline asm -O3 compatible (remove L1 and L2 label) thx blight and alex to explain how to do that.
svn path=/trunk/; revision=16065
2005-06-18 22:54:12 +00:00
Filip Navara
bc47c238df Remove duplicate definition of KdPrintEx.
svn path=/trunk/; revision=16064
2005-06-18 22:06:54 +00:00
Magnus Olsen
5e0373034a make gcc stop nag about uninitialized value in 114: and make -O3 working
svn path=/trunk/; revision=16063
2005-06-18 21:55:59 +00:00
Filip Navara
dc337def98 Get rid of ROS DDK SCSI headers (forgot these files in r16060).
svn path=/trunk/; revision=16061
2005-06-18 21:02:59 +00:00
Filip Navara
fd44a4b514 Get rid of ROS DDK SCSI headers.
svn path=/trunk/; revision=16060
2005-06-18 20:55:09 +00:00
Gé van Geldorp
39da2fef47 Thanks to GreatLord for spotting that we shouldn't access pixels outside the
source surface in EngBitBlt.

svn path=/trunk/; revision=16059
2005-06-18 20:29:31 +00:00
Filip Navara
91a2889e07 - Convert mouclass and sermouse to use official DDK prototypes.
- Get rid of the old ROS DDK headers.

svn path=/trunk/; revision=16058
2005-06-18 20:25:08 +00:00
Gé van Geldorp
95d1b8ae62 Use correct dest rect when preventing copy outside source surf
svn path=/trunk/; revision=16057
2005-06-18 19:53:49 +00:00
Filip Navara
434303caa3 Don't include internal headers.
svn path=/trunk/; revision=16056
2005-06-18 19:30:47 +00:00
Filip Navara
8b43bd8c4c Add __ASM__ guard.
svn path=/trunk/; revision=16055
2005-06-18 19:30:15 +00:00
Filip Navara
31b7f64f58 Fix build. :/
svn path=/trunk/; revision=16054
2005-06-18 19:13:29 +00:00
Filip Navara
52f8761d3a Use W32API for NTOSKRNL.
svn path=/trunk/; revision=16053
2005-06-18 18:32:29 +00:00
Filip Navara
ff246534c9 Fix build.
svn path=/trunk/; revision=16052
2005-06-18 17:22:21 +00:00
Filip Navara
fb0959e85a - Move few non-DDK types from ROS DDK to NTOS headers.
- Fix some __USE_W32API guards.


svn path=/trunk/; revision=16051
2005-06-18 17:17:52 +00:00
Filip Navara
4d14d7da13 Define DRVO_UNLOAD_INVOKED, DRVO_LEGACY_DRIVER, DRVO_BUILTIN_DRIVER, DRVO_REINIT_REGISTERED, DRVO_INITIALIZED, DRVO_BOOTREINIT_REGISTERED and DRVO_LEGACY_RESOURCES. Thanks Alex.
svn path=/trunk/; revision=16050
2005-06-18 16:56:41 +00:00
Filip Navara
bb40279864 Move non-DDK Ps* function prototypes and types from ROS DDK to NTOS headers.
svn path=/trunk/; revision=16049
2005-06-18 16:53:34 +00:00
Filip Navara
a7753f898e Move non-DDK Se* function prototypes and types from ROS DDK to NTOS headers.
svn path=/trunk/; revision=16048
2005-06-18 16:21:46 +00:00
Filip Navara
c818943efa Move InsertAscendingListFIFO, InsertDescendingListFIFO, InsertAscendingList and InsertDescendingList out of the __USE_W32API guarded region.
svn path=/trunk/; revision=16047
2005-06-18 15:58:39 +00:00
Filip Navara
2d6c9998be - Move non-DDK HAL function prototypes from ROS DDK to NTOS headers.
svn path=/trunk/; revision=16046
2005-06-18 15:55:23 +00:00
Filip Navara
73d83fbb2b Fix build.
svn path=/trunk/; revision=16045
2005-06-18 15:50:23 +00:00
Alex Ionescu
7bbb54b0e7 Fix XML bug in hal makefiles
svn path=/trunk/; revision=16044
2005-06-18 15:24:30 +00:00
Filip Navara
0f030a82b0 - Move non-DDK Ke* function prototypes from ROS DDK to NTOS headers.
- Fix calling convention for KeI386* functions.

svn path=/trunk/; revision=16043
2005-06-18 15:15:25 +00:00
Alex Ionescu
99cc88158b Use generic HAL header
svn path=/trunk/; revision=16040
2005-06-18 14:30:09 +00:00
Alex Ionescu
f8d053290e Build Generic HAL with w32api
svn path=/trunk/; revision=16039
2005-06-18 14:29:31 +00:00
Alex Ionescu
06e00cb9c9 Build XBOX HAL with w32api
svn path=/trunk/; revision=16038
2005-06-18 14:29:17 +00:00
Alex Ionescu
762e020a20 Build UP HAL with w32api
svn path=/trunk/; revision=16037
2005-06-18 14:28:55 +00:00
Alex Ionescu
3e334c65fc Build MP HAL with w32api
svn path=/trunk/; revision=16036
2005-06-18 14:28:28 +00:00
Alex Ionescu
a5579f945f Build stub HAL with w32api
svn path=/trunk/; revision=16035
2005-06-18 14:27:44 +00:00
Alex Ionescu
01251016ad Remove weird header and add a missing prototype in halfuncs.h
svn path=/trunk/; revision=16034
2005-06-18 14:26:22 +00:00
Alex Ionescu
eb4f82ce4d Remove IoAdapterObjectType defintion, it doesn't belong in public headers
svn path=/trunk/; revision=16033
2005-06-18 14:10:28 +00:00
Filip Navara
cc6150fb29 Fix SMP version of ASSERT and assert.
svn path=/trunk/; revision=16032
2005-06-18 14:05:56 +00:00
Filip Navara
14b69747a2 Remove duplicate definition of EVENT_QUERY_STATE.
svn path=/trunk/; revision=16031
2005-06-18 13:15:07 +00:00
Filip Navara
6a7e9f4bf7 Correctly pack the KIPCR structure.
svn path=/trunk/; revision=16030
2005-06-18 12:56:11 +00:00
Filip Navara
4fd0801d50 Fix position of the STDCALL keyword. Spotted by KJK::Hyperion.
svn path=/trunk/; revision=16029
2005-06-18 12:55:02 +00:00
Filip Navara
186c8b72d1 ntapi.h:
- Define LANGID and fix definition of PLANGID.
- Define PVM_COUNTERS, SYSTEM_CACHE_INFORMATION and SYSTEM_INTERRUPT_INFORMATION.
- Match the ROS version of LPC_MESSAGE (the structure itself should be named PORT_MESSAGE and belongs to ntifs.h).
- Move KEY_SET_INFORMATION_CLASS definiton to winddk.h.
- Make the first parameter of NtAllocateUuids PULARGE_INTEGER.
- Declare NtSetUuidSeed.
- Fix definition of ATOM_INFORMATION_CLASS and ATOM_BASIC_INFORMATION to match ReactOS versions.
winddk.h:
- Define NTHALAPI and use it to mark HAL exports instead of NTOSAPI.
- Define PADAPTER_OBJECT, EVENT_QUERY_STATE, EVENT_MODIFY_STATE, EVENT_ALL_ACCESS, SEMAPHORE_QUERY_STATE, SEMAPHORE_MODIFY_STATE, SEMAPHORE_ALL_ACCESS, IRP_QUOTA_CHARGED, IRP_ALLOCATED_MUST_SUCCEED, IRP_ALLOCATED_FIXED_SIZE, IRP_LOOKASIDE_ALLOCATION, HalDispatchTableVersion, HalQuerySystemInformation, HalSetSystemInformation, HalQueryBusSlots, HalDeviceControl, HalIoAssignDriveLetters, HalIoReadPartitionTable, HalIoSetPartitionInformation, HalIoWritePartitionTable, HalReferenceHandlerForBus, HalReferenceBusHandler, HalDereferenceBusHandler, IO_TYPE_ADAPTER, IO_TYPE_CONTROLLER, IO_TYPE_DEVICE, IO_TYPE_DRIVER,
IO_TYPE_FILE, IO_TYPE_IRP, IO_TYPE_MASTER_ADAPTER, IO_TYPE_OPEN_PACKET,
IO_TYPE_TIMER, IO_TYPE_VPB, IO_TYPE_ERROR_LOG, IO_TYPE_ERROR_MESSAGE,
IO_TYPE_DEVICE_OBJECT_EXTENSION, IO_FORCE_ACCESS_CHECK and IO_NO_PARAMETER_CHECKING.
- Remove declaration of HalPrivateDispatchTable, it doesn't belong to public headers.
- Fix declaration of WAIT_CONTEXT_BLOCK, HalDispatchTable, DRIVER_EXTENSION, GENERAL_LOOKASIDE, NPAGED_LOOKASIDE_LIST, PAGED_LOOKASIDE_LIST, KPCR_TIB, MmHighestUserAddress, MmSystemRangeStart, MmUserProbeAddress, KdDebuggerNotPresent and KdDebuggerEnabled.
- Declare KEY_WRITE_TIME_INFORMATION, KEY_USER_FLAGS_INFORMATION, KEY_SET_INFORMATION_CLASS, KfAcquireSpinLock, KfReleaseSpinLock and ExfInterlockedCompareExchange64.
winnt4.h:
- Declare HalAcquireDisplayOwnership and HalAllocateAdapterChannel.
ntifs.h:
- Fix definition of NTKERNELAPI.
- Fix declaration of FsRtlLegalAnsiCharacterArray, FsRtlNotifyInitializeSync, FsRtlNotifyUninitializeSync, IoCheckFunctionAccess and PsGetProcessExitTime.
- Declare IoStatisticsLock, IoReadOperationCount, IoWriteOperationCount, IoOtherOperationCount, IoReadTransferCount, IoWriteTransferCount,
IoOtherTransferCount, FSRTL_ADVANCED_FCB_HEADER, FSRTL_PER_STREAM_CONTEXT, PFILTER_REPORT_CHANGE, FS_FILTER_SECTION_SYNC_TYPE, FS_FILTER_PARAMETERS, FS_FILTER_CALLBACK_DATA, PFS_FILTER_CALLBACK, PFS_FILTER_COMPLETION_CALLBACK, FS_FILTER_CALLBACKS, READ_LIST, ExInitializeRundownProtection, ExReInitializeRundownProtection, ExAcquireRundownProtection, ExAcquireRundownProtectionEx, ExReleaseRundownProtection, ExReleaseRundownProtectionEx, ExRundownCompleted, ExWaitForRundownProtectionRelease, FsRtlMdlReadDev, FsRtlPrepareMdlWriteDev, PFSRTL_STACK_OVERFLOW_ROUTINE, FsRtlPostStackOverflow, FsRtlPostPagingFileStackOverflow, IoAttachDeviceToDeviceStackSafe, IoQueueThreadIrp, KeInitializeMutant, KeReadStateMutant, KeReleaseMutant and PsIsSystemThread.
- Define FSRTL_FAT_LEGAL, FSRTL_HPFS_LEGAL, FSRTL_NTFS_LEGAL, FSRTL_WILD_CHARACTER, FSRTL_OLE_LEGAL, FSRTL_NTFS_STREAM_LEGAL, EX_RUNDOWN_ACTIVE, EX_RUNDOWN_COUNT_SHIFT, EX_RUNDOWN_COUNT_INC, FsRtlIsLeadDbcsCharacter and FsRtlIsAnsiCharacterWild.
- Remove declaration of SYSTEM_CACHE_INFORMATION and SeCreateAccessState, they don't belong to public headers.

svn path=/trunk/; revision=16028
2005-06-18 12:39:24 +00:00
Filip Navara
69b04c6fd2 Define PAGE_WRITECOMBINE, IMAGE_OPTIONAL_HEADER32, IMAGE_OPTIONAL_HEADER64, IMAGE_NT_HEADERS32 and IMAGE_NT_HEADERS64.
svn path=/trunk/; revision=16027
2005-06-18 12:12:41 +00:00
Gregor Anich
eb4f850ff3 Fix stupid bug...
svn path=/trunk/; revision=16026
2005-06-18 11:42:42 +00:00
Eric Kohl
65a5620cd8 Implement basic string table functions
svn path=/trunk/; revision=16025
2005-06-18 11:30:49 +00:00
Casper Hornstrup
1ac8300db4 DIB_24BPP_ColorFill performance test
svn path=/trunk/; revision=16024
2005-06-18 08:04:30 +00:00
Martin Fuchs
2486be430f remove superfluous include
svn path=/trunk/; revision=16023
2005-06-18 07:43:49 +00:00
Casper Hornstrup
37e38723e7 Prepare win32k for tests
svn path=/trunk/; revision=16022
2005-06-18 06:17:10 +00:00
Filip Navara
fbf52b7050 Fix "make test".
svn path=/trunk/; revision=16021
2005-06-17 22:59:39 +00:00
Alex Ionescu
b7754ab78d Add KIPCR which will be needed soon and add one more internal function
svn path=/trunk/; revision=16020
2005-06-17 22:05:16 +00:00
Filip Navara
7cee43970a Remove few more dead headers.
svn path=/trunk/; revision=16019
2005-06-17 21:35:33 +00:00
Gé van Geldorp
c37765923c - Correctly translate output rect
- Don't call DIB routines for empty (clipped away) rectangles

svn path=/trunk/; revision=16018
2005-06-17 20:54:24 +00:00
Martin Fuchs
5d7043ea5a remove tabs for proper indenting
svn path=/trunk/; revision=16017
2005-06-17 20:32:22 +00:00
Casper Hornstrup
da4957ec53 External modules area
svn path=/trunk/; revision=16016
2005-06-17 20:30:57 +00:00
Martin Fuchs
f53f915435 sync to Wine's latest "warning fixes"
svn path=/trunk/; revision=16015
2005-06-17 20:28:06 +00:00
Martin Fuchs
836c8f9265 remove old headerfile "license.h"
svn path=/trunk/; revision=16014
2005-06-17 20:23:31 +00:00
Martin Fuchs
3f0cb9fa9f Update Copyright information from Wine's repository
svn path=/trunk/; revision=16013
2005-06-17 20:22:08 +00:00
Filip Navara
609922c292 Add definition of PKBUGCHECK_REASON_CALLBACK_ROUTINE, KBUGCHECK_REASON_CALLBACK_RECORD and KBUGCHECK_CALLBACK_REASON.
svn path=/trunk/; revision=16012
2005-06-17 20:09:20 +00:00
Filip Navara
6c512c6430 Cleanup the indenting of HAL types and move the STDCALL/FASTCALL keywords at the right place in the declarations.
svn path=/trunk/; revision=16011
2005-06-17 20:01:51 +00:00
Filip Navara
d1dbe1be23 Remove definiton of PHAL_RESET_DISPLAY_PARAMETERS.
svn path=/trunk/; revision=16010
2005-06-17 19:43:51 +00:00
Filip Navara
a8f8cec2a4 Be W32API friendly.
svn path=/trunk/; revision=16009
2005-06-17 19:27:49 +00:00
Alex Ionescu
d143eebd0f Add missing HAL types to DDK
svn path=/trunk/; revision=16008
2005-06-17 18:02:31 +00:00
Alex Ionescu
4b08e9770a Oops. Thanks w3seek
svn path=/trunk/; revision=16007
2005-06-17 17:59:11 +00:00
Filip Navara
0a48555ba9 - Comment out the call to SHObjectProperties. The one who added it must have been complete freak since the parameters were completely wrong. Don't let me do "svn log" ...
- Remove duplicate definition from version.h.

svn path=/trunk/; revision=16006
2005-06-17 17:44:39 +00:00
Filip Navara
7af0efc0bc - Define SHOP_PRINTERNAME, SHOP_FILEPATH and SHOP_VOLUMEGUID.
- Declare SHObjectProperties.

svn path=/trunk/; revision=16005
2005-06-17 17:37:54 +00:00
Gregor Anich
3ab6c437cc longjmp() should return 1 if 0 is passed as return value (0 should only be returned by setjmp)
svn path=/trunk/; revision=16004
2005-06-17 17:33:47 +00:00
Gregor Anich
402b13b071 Fix another broken setjmp.
svn path=/trunk/; revision=16003
2005-06-17 17:27:03 +00:00
Gregor Anich
faeb567e1c Fix setjmp (didn't save correct ESP, so it crashed after longjmp).
Fix the kernel debugger.

svn path=/trunk/; revision=16002
2005-06-17 17:25:02 +00:00
Hervé Poussineau
8502799382 Implement IRP_MN_QUERY_CAPABILITIES, IRP_MN_QUERY_RESOURCES, IRP_MN_QUERY_RESOURCE_REQUIREMENTS
svn path=/trunk/; revision=16001
2005-06-17 17:22:57 +00:00
Alex Ionescu
ffe54a1108 Enable PCH for NTDLL. This is commit 16000. Alex pwns you all.
svn path=/trunk/; revision=16000
2005-06-17 17:22:44 +00:00
Alex Ionescu
2df663e3fe Use NTDLL Common Header.
svn path=/trunk/; revision=15999
2005-06-17 17:22:27 +00:00
Alex Ionescu
5e400ded46 Add NTDLL Common Header
svn path=/trunk/; revision=15998
2005-06-17 17:22:19 +00:00
Alex Ionescu
46794424c7 Enable PCH for rtl
svn path=/trunk/; revision=15997
2005-06-17 17:22:12 +00:00
Gregor Anich
bfe3229a7d Remove #include <poppack.h> - there is no pshpack beeing included.
svn path=/trunk/; revision=15996
2005-06-17 17:18:58 +00:00
Filip Navara
ef09f86407 Use W32API.
svn path=/trunk/; revision=15995
2005-06-17 17:15:55 +00:00
Filip Navara
580b785a18 Fix the export of HalExamineMBR. It mustn't be aliased since we need to have it named correctly in the import library.
svn path=/trunk/; revision=15994
2005-06-17 17:14:57 +00:00
Filip Navara
b4a5cd914f - Move DRIVE_LAYOUT_INFORMATION_MBR, DRIVE_LAYOUT_INFORMATION_GPT and
PARTITION_INFORMATION_MBR structures from winddk.h to ntdddisk.h.
- Add definitions of IOCTL_DISK_HISTOGRAM_STRUCTURE, IOCTL_DISK_HISTOGRAM_DATA,
  IOCTL_DISK_HISTOGRAM_RESET, IOCTL_DISK_LOGGING, IOCTL_DISK_REQUEST_DATA,
  IOCTL_DISK_REQUEST_STRUCTURE, PARTITION_INFORMATION_MBR,
  DRIVE_LAYOUT_INFORMATION and IO_QUERY_DEVICE_DATA_FORMAT.

svn path=/trunk/; revision=15993
2005-06-17 17:12:17 +00:00
Filip Navara
0794ad5aa6 - Get rid of STDCALL_FUNC usage in napi/core.h.
- Allow including ntos.h and ntdddisk.h at the same time.

svn path=/trunk/; revision=15992
2005-06-17 17:08:04 +00:00
Filip Navara
c57e3d0690 Fix definition of LPC_MAX_MESSAGE for __USE_W32API case.
svn path=/trunk/; revision=15991
2005-06-17 16:58:15 +00:00
Filip Navara
300fd866a2 Fix packing of structures.
svn path=/trunk/; revision=15990
2005-06-17 16:35:17 +00:00
Thomas Bluemel
dfe571622c - fixed a possible deadlock in SmBeginClientInitialization
- fixed SmCompleteClientInitialization to return success when the client data could be found
- don't copy the program name to a NULL pointer in SmCreateClient in case allocating the storage failed

svn path=/trunk/; revision=15989
2005-06-17 16:26:04 +00:00
Casper Hornstrup
ac243d95f2 Build wrc in output tree.
Patch by Sylvain Petreolle [spetreolle@yahoo.fr].


svn path=/trunk/; revision=15988
2005-06-17 16:12:33 +00:00
Hervé Poussineau
a9a05b022d Disable some code in cromwell, as you get an infinite loop on some hardware ("ERR: drivers\usb\cromwell\uhci\uhci-hcd.c: 1060: host controller halted. very bad during boot")
svn path=/trunk/; revision=15987
2005-06-17 15:48:15 +00:00
Magnus Olsen
2e71724ae1 New icon from mf. same as cmd icon
svn path=/trunk/; revision=15986
2005-06-17 15:47:10 +00:00
Filip Navara
ddec33b110 Use W32API.
svn path=/trunk/; revision=15985
2005-06-17 15:10:01 +00:00
Filip Navara
f44cbee050 Get rid of obsolete makefile.
svn path=/trunk/; revision=15984
2005-06-17 14:00:19 +00:00
Filip Navara
e37f6810a5 CSQ is linked to the kernel also, so make that work.
svn path=/trunk/; revision=15983
2005-06-17 13:59:47 +00:00
Filip Navara
7554c281d5 Use W32API.
svn path=/trunk/; revision=15982
2005-06-17 13:24:50 +00:00
Filip Navara
8342ea7301 Remove KEBUGCHECK and KEBUGCHECKEX definitions.
svn path=/trunk/; revision=15981
2005-06-17 13:22:12 +00:00
Filip Navara
3f77a1c166 Fix a typo. :(
svn path=/trunk/; revision=15980
2005-06-17 13:17:46 +00:00
Filip Navara
a4cb3017e6 Define KEBUGCHECK and KEBUGCHECKEX here.
svn path=/trunk/; revision=15979
2005-06-17 13:13:37 +00:00
Filip Navara
05548c5587 A bit of W32API friendliness...
svn path=/trunk/; revision=15978
2005-06-17 13:12:45 +00:00
Filip Navara
bae68b41b1 Use W32API.
svn path=/trunk/; revision=15977
2005-06-17 13:05:11 +00:00
Filip Navara
6a36797b61 Allow csq.h to be included along with ntddk.h.
svn path=/trunk/; revision=15976
2005-06-17 13:00:03 +00:00
Filip Navara
1b5f61f4e6 Include the prototypes for CcRosInitializeFileCache and CcRosReleaseFileCache even when compiling w/ W32API.
svn path=/trunk/; revision=15975
2005-06-17 12:59:27 +00:00
Filip Navara
4cd0b32494 - Fix prototype of IoCsqInitialize.
- Define IO_TYPE_CSQ and IO_TYPE_CSQ_IRP_CONTEXT.

svn path=/trunk/; revision=15974
2005-06-17 12:57:31 +00:00
Filip Navara
a965b968f2 Get rid of obsolete makefile.
svn path=/trunk/; revision=15973
2005-06-17 12:31:49 +00:00
Filip Navara
e0463986d3 Build file system drivers w/ W32API headers.
svn path=/trunk/; revision=15972
2005-06-17 12:29:33 +00:00
Filip Navara
b0d3f5b991 Make the ASSERT macros GCC friendly.
svn path=/trunk/; revision=15971
2005-06-17 12:24:29 +00:00
Filip Navara
317d4942bd Use W32API.
svn path=/trunk/; revision=15970
2005-06-17 11:40:11 +00:00
Filip Navara
d604caaaf3 Get rid of the prehistoric GNU Windows32 headers.
svn path=/trunk/; revision=15969
2005-06-17 11:29:07 +00:00
Filip Navara
14e5873c84 Do NOT include defines.h in .rc files.
svn path=/trunk/; revision=15968
2005-06-17 11:28:23 +00:00
Filip Navara
bd0ef4def4 Use W32API.
svn path=/trunk/; revision=15967
2005-06-17 11:22:47 +00:00
Filip Navara
aab0294f3b Use W32API.
svn path=/trunk/; revision=15966
2005-06-17 11:05:49 +00:00
Filip Navara
ab4dfd00f0 Don't include windows.h in drivers.
svn path=/trunk/; revision=15965
2005-06-17 10:54:34 +00:00
Filip Navara
3fb65d4597 - Use W32API.
- Fix some protoypes.

svn path=/trunk/; revision=15964
2005-06-17 10:43:58 +00:00
Filip Navara
19955a57e1 Fix declaration of AdvancedDocumentProperties[AW].
svn path=/trunk/; revision=15963
2005-06-17 10:43:16 +00:00
Thomas Bluemel
acfd0635dd implemented the TokenRestrictedSids information class for NtQueryInformationToken, however restricted SIDs are not yet supported!
svn path=/trunk/; revision=15962
2005-06-17 10:30:59 +00:00
Filip Navara
785eb54c6a Use W32API.
svn path=/trunk/; revision=15961
2005-06-17 10:15:21 +00:00
Filip Navara
37bfae8d86 Use W32API.
svn path=/trunk/; revision=15960
2005-06-17 09:57:53 +00:00
Filip Navara
ba98c65d7a - Declare IO_ERROR_LOG_MESSAGE.
- Define ERROR_LOG_LIMIT_SIZE and IO_ERROR_LOG_MESSAGE_HEADER_LENGTH.

svn path=/trunk/; revision=15959
2005-06-17 09:57:28 +00:00
Thomas Bluemel
f6e5d12f4c implemented IsTokenRestricted(), inspired by a patch to winehq by James Hawkins
svn path=/trunk/; revision=15958
2005-06-17 09:46:29 +00:00
Filip Navara
a50fde81ae Use W32API.
svn path=/trunk/; revision=15957
2005-06-17 09:46:21 +00:00
Filip Navara
204dc0088b Use W32API.
svn path=/trunk/; revision=15956
2005-06-17 09:46:03 +00:00
Filip Navara
826e4d001b Use W32API.
svn path=/trunk/; revision=15955
2005-06-17 09:45:42 +00:00
Filip Navara
99e07a1ddf Use W32API.
svn path=/trunk/; revision=15954
2005-06-17 08:12:20 +00:00
Filip Navara
138bbbaa3a Use W32API.
svn path=/trunk/; revision=15953
2005-06-17 08:08:58 +00:00
Filip Navara
05061cedaa Use W32API.
svn path=/trunk/; revision=15952
2005-06-17 08:05:58 +00:00
Filip Navara
63ac2d0f1f Cleanup the usage of W32API.
svn path=/trunk/; revision=15951
2005-06-17 08:02:05 +00:00
Filip Navara
754ccb0eb6 Use W32API.
svn path=/trunk/; revision=15950
2005-06-17 08:00:30 +00:00
Filip Navara
3814e88279 Use W32API.
svn path=/trunk/; revision=15949
2005-06-17 07:59:43 +00:00
Filip Navara
d4e71ef096 Use W32API.
svn path=/trunk/; revision=15948
2005-06-17 07:57:37 +00:00
Filip Navara
7ccf07aecc A bit of W32API friendliness...
svn path=/trunk/; revision=15947
2005-06-17 07:55:45 +00:00
Filip Navara
81405a8541 Use W32API.
svn path=/trunk/; revision=15946
2005-06-17 07:53:58 +00:00
Filip Navara
c893e787ea - Use standard TLS instead of custom TEB field.
- Use W32API.

svn path=/trunk/; revision=15945
2005-06-17 07:53:34 +00:00
Filip Navara
c7ccd70dbd Add definitions of ACCESS_MAX_MS_V2_ACE_TYPE, ACCESS_ALLOWED_COMPOUND_ACE_TYPE, ACCESS_MAX_MS_V3_ACE_TYPE, ACCESS_MIN_MS_OBJECT_ACE_TYPE, ACCESS_ALLOWED_OBJECT_ACE_TYPE, ACCESS_DENIED_OBJECT_ACE_TYPE, SYSTEM_AUDIT_OBJECT_ACE_TYPE, SYSTEM_ALARM_OBJECT_ACE_TYPE, ACCESS_MAX_MS_OBJECT_ACE_TYPE, ACCESS_MAX_MS_V4_ACE_TYPE, ACCESS_MAX_MS_ACE_TYPE, ACCESS_ALLOWED_CALLBACK_ACE_TYPE, ACCESS_DENIED_CALLBACK_ACE_TYPE, ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE, ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE, SYSTEM_AUDIT_CALLBACK_ACE_TYPE, SYSTEM_ALARM_CALLBACK_ACE_TYPE, SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE, SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE, ACCESS_MAX_MS_V5_ACE_TYPE, SID_MAX_SUB_AUTHORITIES, SID_RECOMMENDED_SUB_AUTHORITIES, SE_OWNER_DEFAULTED, SE_GROUP_DEFAULTED, SE_DACL_PRESENT, SE_DACL_DEFAULTED, SE_SACL_PRESENT, SE_SACL_DEFAULTED, SE_DACL_UNTRUSTED, SE_SERVER_SECURITY, SE_DACL_AUTO_INHERIT_REQ, SE_SACL_AUTO_INHERIT_REQ, SE_DACL_AUTO_INHERITED, SE_SACL_AUTO_INHERITED, SE_DACL_PROTECTED, SE_SACL_PROTECTED, SE_RM_CONTROL_VALID and SE_SELF_RELATIVE.
svn path=/trunk/; revision=15944
2005-06-17 07:16:01 +00:00
Filip Navara
59801357f9 - Declare POLICY_NOTIFICATION_INFORMATION_CLASS and SECURITY_LOGON_SESSION_DATA.
- Fix declaration of CRITICAL_SECTION and RTL_CRITICAL_SECTION.

svn path=/trunk/; revision=15943
2005-06-17 07:12:16 +00:00
Alex Ionescu
314e0eaf59 Fix bug in gate code
svn path=/trunk/; revision=15942
2005-06-17 00:13:44 +00:00
Alex Ionescu
c2167ebb58 Fix strpbrk
svn path=/trunk/; revision=15941
2005-06-17 00:13:10 +00:00
Gé van Geldorp
66c72376e1 Declare Guarded Mutex functions and export them
svn path=/trunk/; revision=15940
2005-06-16 22:15:43 +00:00
Hervé Poussineau
f104c62bd6 Add "depends" target for makefiles
svn path=/trunk/; revision=15939
2005-06-16 21:02:52 +00:00
James Tabor
11ae17704c Plugging in CallMsgFilter.
svn path=/trunk/; revision=15938
2005-06-16 20:47:47 +00:00
James Tabor
1284e1351f Pluged in CallMsgFilter.
svn path=/trunk/; revision=15937
2005-06-16 20:47:09 +00:00
Hervé Poussineau
192c84808f Use <ifnot property="ARCH" value="i386"> instead of <if property="ARCH" value="unknown">, because ARCH would never be defined to unknown
svn path=/trunk/; revision=15936
2005-06-16 20:46:48 +00:00
James Tabor
2054ea72e9 Pluged in CallMsgFilter, I tested this and no crashes on real hardware.
svn path=/trunk/; revision=15935
2005-06-16 20:46:39 +00:00
Hervé Poussineau
8f5dd38cdd Implement <ifnot>
svn path=/trunk/; revision=15934
2005-06-16 20:37:50 +00:00
Gé van Geldorp
2cc8819bc6 Fix warning
svn path=/trunk/; revision=15933
2005-06-16 09:25:51 +00:00
Hartmut Birr
f31239f089 Changed InterlockedIncrement and InterlockedDecrement to return the modified value.
svn path=/trunk/; revision=15932
2005-06-15 23:08:33 +00:00
Hartmut Birr
c8ba8dd860 Removed intrlck.c, because it is already in lib\rtl.
svn path=/trunk/; revision=15931
2005-06-15 23:00:10 +00:00
Hartmut Birr
3ab1c49a3e Removed strpbrk.c.
svn path=/trunk/; revision=15930
2005-06-15 22:52:03 +00:00
Hartmut Birr
251cbb167f Add an optimized version of strpbrk to the string library.
svn path=/trunk/; revision=15929
2005-06-15 22:47:12 +00:00
Hartmut Birr
60410fb891 Used the assembler source for the i386 architecture.
svn path=/trunk/; revision=15928
2005-06-15 22:39:03 +00:00
KJK::Hyperion
cba0f39ae7 No reason KiDoubleFaultHandler should return a value - in fact it doesn't return at all
svn path=/trunk/; revision=15927
2005-06-15 21:55:36 +00:00
Steven Edwards
f050a320ca Added new better tracert replacement by Ged Murphy
svn path=/trunk/; revision=15926
2005-06-15 20:24:31 +00:00
Steven Edwards
4345881c2a Use w32api
svn path=/trunk/; revision=15925
2005-06-15 20:05:54 +00:00
Steven Edwards
6dfaa9b3a5 some magic to make w32api happy when using a [arch]-linux compiler rather than mingw32
svn path=/trunk/; revision=15924
2005-06-15 19:45:28 +00:00
Maarten Bosma
87ee9dfafb delete .cvsignore
svn path=/trunk/; revision=15923
2005-06-15 17:51:54 +00:00
Maarten Bosma
84321058f9 removed rules.mak and outdated entries from readme.txt
svn path=/trunk/; revision=15922
2005-06-15 17:42:12 +00:00
Maarten Bosma
f30aac562d remove old makefile
svn path=/trunk/; revision=15921
2005-06-15 17:37:14 +00:00
Maarten Bosma
3bf9dce002 Created XML makefiles for rosapps. You need to checkout /rosapps in your /reactos folder to use it. This projects do not build: /lib/dflat32 and /welcome (I don't know if they did before). Winemine does not work. (but it builds) /test makefiles are not done yet.
svn path=/trunk/; revision=15920
2005-06-15 17:19:52 +00:00
Hervé Poussineau
0d5c780913 Add Green driver, that emulates a VT100 compatible server.
Input won't work as long as we don't have a kdbclass driver.Add stubs for IOCTL_USB_GET_NODE_CONNECTION_NAME, IOCTL_USB_GET_NODE_CONNECTION_INFORMATION, IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION

svn path=/trunk/; revision=15919
2005-06-15 17:11:36 +00:00
KJK::Hyperion
390d16bed5 Removed empty directory
svn path=/trunk/; revision=15918
2005-06-14 22:08:13 +00:00
Filip Navara
9e9a326ead Add Nokia/Ericsson vitrual key codes.
svn path=/trunk/; revision=15917
2005-06-14 21:59:07 +00:00
Filip Navara
095faa8449 - Remove KeAttachProcess and KeDetachProcess prototypes from winddk.h.
- Remove non-public object manager stuff from W32API and ROS headers.

svn path=/trunk/; revision=15916
2005-06-14 20:41:49 +00:00
Filip Navara
a6b2363ea0 Use KeStackAttachProcess/KeUnstackDetachProcess instead of KeAttachProcess/KeDetachProcess.
svn path=/trunk/; revision=15915
2005-06-14 20:24:02 +00:00
Filip Navara
56f5461bff Revert r15906 change.
svn path=/trunk/; revision=15914
2005-06-14 18:39:12 +00:00
Gregor Anich
88e9416cb8 Fix compilation.
svn path=/trunk/; revision=15913
2005-06-14 18:33:59 +00:00
Hartmut Birr
83ff161361 It was a bad idea to manipulate the length of the given unicode string if we don't like the the starting back slash.
svn path=/trunk/; revision=15912
2005-06-14 18:33:02 +00:00
Alex Ionescu
d101bc4e2d Add an ARC Header for future purposes (PPC, ARM, etc, ARCLoader) and implement KeFindConfigurationNextEntry and fix the definition
svn path=/trunk/; revision=15911
2005-06-14 17:37:07 +00:00
Filip Navara
f4ff6e70b3 Accidently removed one line in the last commit ... gotta love this header hell. :/
svn path=/trunk/; revision=15910
2005-06-14 14:44:11 +00:00
Filip Navara
83210a64d6 A bit of W32API magic.
svn path=/trunk/; revision=15909
2005-06-14 13:50:23 +00:00
Filip Navara
17990a22f5 Fix compilation error (try 2).
svn path=/trunk/; revision=15908
2005-06-14 13:46:32 +00:00
Filip Navara
cd1a3da016 Fix compilation error.
svn path=/trunk/; revision=15907
2005-06-14 13:45:31 +00:00
Filip Navara
b2970c097e - Fix the declarations of PDRIVER_CANCEL, KeGetCurrentProcessorNumber and KPCR in ROS headers.
- Fix the declarations of KeGetCurrentProcessorNumber, PIO_QUERY_DEVICE_ROUTINE, THREAD_STATE, KPCR and KeAttachProcess in W32API headers.
- Remove KeInitializeApc, KEVENT_PAIR and TERMINATION_PORT declarations from W32API, they don't belong there.
- Correct the STDCALL order in callback declarations in winddk.h.

svn path=/trunk/; revision=15906
2005-06-14 13:10:40 +00:00
Hervé Poussineau
819d60094a Enumerate root hub connected to UHCI controller
Use Cromwell USB stack to initialize UHCI controller

svn path=/trunk/; revision=15905
2005-06-14 12:31:51 +00:00
Alex Ionescu
2e0ff75066 Remove excessive debugging messages used during testing
svn path=/trunk/; revision=15904
2005-06-14 03:35:23 +00:00
Alex Ionescu
28c50308c7 Fix OB Bug and port ObQueryNameString from my branch so Herve can get back to working on USB. Sorry for taking so long, hpoussin\!
svn path=/trunk/; revision=15903
2005-06-14 03:33:21 +00:00
Gé van Geldorp
9c3a32fd9e Re-apply r15878 as it wasn't the cause of the problems
svn path=/trunk/; revision=15902
2005-06-13 22:27:09 +00:00
Gé van Geldorp
08d5e5e7e5 We were changing the edi register, but not informing the compiler about this.
For certain optimization combinations, the compiler would assume edi was
unchanged. Fixed by adding %edi to the clobber list.

svn path=/trunk/; revision=15901
2005-06-13 22:24:28 +00:00
Hervé Poussineau
f5f855488d Handle DeviceId property
Change InstanceId to Serenum\Mouse

svn path=/trunk/; revision=15900
2005-06-13 21:51:42 +00:00
Hervé Poussineau
a189416191 Fix string returned by IoRegisterDeviceInterface()
svn path=/trunk/; revision=15899
2005-06-13 21:44:32 +00:00
Hervé Poussineau
d520f41934 Add registry entries related to USB hub driver
svn path=/trunk/; revision=15898
2005-06-13 20:51:07 +00:00
Hervé Poussineau
ed558f123b Silent some debug messages
svn path=/trunk/; revision=15897
2005-06-13 20:45:52 +00:00
Hervé Poussineau
925b767f99 Add usb hub driver. It is linked with cromwell usb stack
svn path=/trunk/; revision=15896
2005-06-13 20:41:59 +00:00
Hervé Poussineau
6b3ec8469e Disable some usb empty drivers. We will use thoses in drivers/usb/cromwell
svn path=/trunk/; revision=15895
2005-06-13 20:37:33 +00:00
KJK::Hyperion
f5b60bc69e longjmp should restore the stack pointer as it would be *after* setjmp returns. Since the PSEH implementation of setjmp is __stdcall, this value differs from the usual esp+4, because *after* return *two* doublewords are popped (return IP and parameter). Thanks to blight_ for reporting
svn path=/trunk/; revision=15894
2005-06-13 20:31:55 +00:00
Maarten Bosma
ca33e9fc4f set svn:eol-style native
svn path=/trunk/; revision=15893
2005-06-13 18:33:08 +00:00
Maarten Bosma
ab2a7524d0 remove empty dir
svn path=/trunk/; revision=15892
2005-06-13 18:09:27 +00:00
Maarten Bosma
9631980621 remove empty dir
svn path=/trunk/; revision=15891
2005-06-13 18:09:22 +00:00
Maarten Bosma
9038f375f7 remove empty dir
svn path=/trunk/; revision=15890
2005-06-13 18:09:16 +00:00
Maarten Bosma
c1d7682a91 remove empty dir
svn path=/trunk/; revision=15889
2005-06-13 18:09:11 +00:00
Maarten Bosma
c50ea61c80 remove empty dir
svn path=/trunk/; revision=15888
2005-06-13 18:09:05 +00:00
Maarten Bosma
d4e3987bad remove empty dir
svn path=/trunk/; revision=15887
2005-06-13 18:07:56 +00:00
Maarten Bosma
45c9cc8bde remove content of empty dir (cvsignore)
svn path=/trunk/; revision=15886
2005-06-13 18:06:30 +00:00
Gregor Anich
584e9b9488 Fix warnings in inline assembly (I hope this doesnt expose a GCC bug and thus break the build for others, using 3.4.2 myself and everything works)
svn path=/trunk/; revision=15884
2005-06-13 15:29:05 +00:00
KJK::Hyperion
e3502f710b did I miss a "the tree isn't supposed to build anymore" memo or what? fixes for compilation with GCC 3.3.3
svn path=/trunk/; revision=15883
2005-06-13 14:36:02 +00:00
Maarten Bosma
5347091d15 XML Makefiles
svn path=/trunk/; revision=15882
2005-06-13 13:21:34 +00:00
Magnus Olsen
0aec39dcbe revert back to 15869 for current change break 32 / 8 bpp for vbe drv, and vmware drv the mouse did not redaw some dialog box was wrong. and alot more
svn path=/trunk/; revision=15881
2005-06-13 02:02:21 +00:00
Magnus Olsen
99848068d0 32dib remove one of color fill optimizing until it can be fix for oarch=pentiun2 DBG=0 with vmware drv
svn path=/trunk/; revision=15880
2005-06-13 01:58:57 +00:00
Magnus Olsen
9d5a92b86b fix bug in color fill inline asm code. Did crash cirrus drv, vmware 5 drv and if the buffer was not align. Clean up inline asm code.
svn path=/trunk/; revision=15879
2005-06-12 19:23:40 +00:00
Gé van Geldorp
8ab10b3efd Clip lines totally outside the clip region
svn path=/trunk/; revision=15878
2005-06-12 19:06:38 +00:00
Hartmut Birr
f4732fef7d Print more informations on a BSOD by enabling the debug prints to the screen.
svn path=/trunk/; revision=15877
2005-06-12 16:20:10 +00:00
Casper Hornstrup
45a93411a7 Show execution time of tests
svn path=/trunk/; revision=15876
2005-06-12 15:33:34 +00:00
Martin Fuchs
4f0032f8d7 remove duplicate toolbar button
svn path=/trunk/; revision=15875
2005-06-12 14:09:39 +00:00
Gé van Geldorp
83804c9749 Allow logging of calls into display driver (disabled by default)
svn path=/trunk/; revision=15874
2005-06-12 13:11:36 +00:00
Martin Fuchs
53a8f66404 small adjustements:
- #ifdef for WINE specific menu item
- C style comment
- white space

svn path=/trunk/; revision=15873
2005-06-12 11:30:17 +00:00
Casper Hornstrup
ad1bdc040e Document well-known targets
svn path=/trunk/; revision=15872
2005-06-12 10:52:18 +00:00
Hartmut Birr
ad04a63867 Preinitialize the Provider to prevent from crashing if no sockets were given.
svn path=/trunk/; revision=15871
2005-06-12 10:33:22 +00:00
Hartmut Birr
95aa074b1e - Fixed the calculation of some offset values.
- Used the correct flag for testing of a bss section.

svn path=/trunk/; revision=15870
2005-06-12 10:25:49 +00:00
Hartmut Birr
b2f1b36fd9 - Fixed the inline assembler in DIB_16BPP_ColorFill.
- Calculated the color value outside of the loop in DIB_16BPP_ColorFill.

svn path=/trunk/; revision=15869
2005-06-12 10:23:04 +00:00
Casper Hornstrup
321c3545d8 Support module_depends target
svn path=/trunk/; revision=15868
2005-06-12 10:18:51 +00:00
Martin Fuchs
639193ca53 - standardize resource scripts: align code and remove tabs
- ifdef __WINE__ for ID_ABOUT_WINE

svn path=/trunk/; revision=15867
2005-06-12 10:14:37 +00:00
Casper Hornstrup
bfef768a76 Make test pass
svn path=/trunk/; revision=15866
2005-06-12 09:36:25 +00:00
Martin Fuchs
bef9eaff74 remove unnecessary paint code
svn path=/trunk/; revision=15865
2005-06-12 09:17:06 +00:00
Martin Fuchs
ed5cf2efc8 remove unsued compilation unit
svn path=/trunk/; revision=15864
2005-06-12 09:14:12 +00:00
Martin Fuchs
c25cc23eb8 remove unused variable
svn path=/trunk/; revision=15863
2005-06-12 09:13:45 +00:00
Aleksey Bragin
8addb6ae11 Fix pdo->fdo typo, causing serious errors, ending up driver unloadable at all.
svn path=/trunk/; revision=15862
2005-06-11 21:29:59 +00:00
Magnus Olsen
6eab0b40a0 fix fill color and hline asm code
thx tamlin to notice some mistake

svn path=/trunk/; revision=15861
2005-06-11 19:56:12 +00:00
Hervé Poussineau
03586e2534 Patch by Sylvain Petreolle <spetreolle@yahoo.fr>: Fix bug 646
- Remove duplicate dll entries in reactos.dff,
- Move some at their correct place.

svn path=/trunk/; revision=15860
2005-06-11 19:09:42 +00:00
Magnus Olsen
c1643db40b speed up 24bpp small fill and fill
svn path=/trunk/; revision=15859
2005-06-11 13:36:00 +00:00
Magnus Olsen
7c9de0d8d6 Speed up Fill and Small fill. for 16bpp
svn path=/trunk/; revision=15858
2005-06-11 12:13:28 +00:00
Magnus Olsen
c507c88f25 adding __volatile__ on all DIB32 inline asm to ensure it doesn't get modified when optimizations are enabled
Thx w3seek 

svn path=/trunk/; revision=15857
2005-06-11 10:19:33 +00:00
Magnus Olsen
1503cdc0b4 Fix align 4 problem with color fill and hline.
Now OARCH=pentium2 working with 32bpp


svn path=/trunk/; revision=15856
2005-06-11 09:53:14 +00:00
Hervé Poussineau
df3ceea77c Set svn:eol-style property to native
svn path=/trunk/; revision=15855
2005-06-10 22:54:11 +00:00
Alex Ionescu
2dc107e012 Support QEMU Hardware Acceleration
svn path=/trunk/; revision=15854
2005-06-10 21:46:16 +00:00
Hervé Poussineau
64bd0a6bd1 Add a pointer to the root hub PDO in the usb controller device extension
svn path=/trunk/; revision=15853
2005-06-10 21:25:55 +00:00
Aleksey Bragin
988bbc4f12 Add scrollbar to timezone selection comboboxes. Patch by unC0Rr.
svn path=/trunk/; revision=15852
2005-06-10 21:13:15 +00:00
Martin Fuchs
d92ffc0b93 Patch from WineHQ:
Mike McCormack <mike@codeweavers.com>
Fix more warnings.

svn path=/trunk/; revision=15851
2005-06-10 20:41:26 +00:00
Gé van Geldorp
15e83c5e04 Re-apply fix to dib16bpp and fix the root cause
svn path=/trunk/; revision=15850
2005-06-09 20:40:44 +00:00
Magnus Olsen
5ecd1f57d9 dib16_hline revert GvG change until some rewrite the asm code to handler the 4 align right. for now it does
the test 0x01,%%edi is wrong it must be test 0x03,%%edi
for not break cmd in 16bpp and other apps

svn path=/trunk/; revision=15849
2005-06-09 20:18:32 +00:00
Gé van Geldorp
bb18fc25e9 Speed up 24bpp fills
svn path=/trunk/; revision=15848
2005-06-09 19:04:32 +00:00
Magnus Olsen
ecb9480129 correct the spelling for some comment thx w3seek
svn path=/trunk/; revision=15847
2005-06-09 18:33:45 +00:00
Magnus Olsen
e4d12844dc fix a comment
svn path=/trunk/; revision=15846
2005-06-09 18:03:05 +00:00
Magnus Olsen
a89c7dcf3d fix a bug in hline for 16bpp it did not do Align to fullword boundary correct GvG did spot this lite bug. fix fill bug in 8bpp now it will boot agein thx waxdragon that did spot this problem.
svn path=/trunk/; revision=15845
2005-06-09 17:58:33 +00:00
James Tabor
ba8d788967 Added HcdInterfaceName from hpoussin new uhci devctrl.c.
svn path=/trunk/; revision=15844
2005-06-09 02:12:33 +00:00
James Tabor
26d0d00e72 Attached Linux device to Device Extension.
svn path=/trunk/; revision=15843
2005-06-09 02:01:06 +00:00
James Tabor
7240f0cf76 Fixing to start pnp of usb drivers.
svn path=/trunk/; revision=15842
2005-06-09 01:43:07 +00:00
Magnus Olsen
e87cc02785 add my self to CREDITS
svn path=/trunk/; revision=15841
2005-06-08 17:29:59 +00:00
Magnus Olsen
f0881728a7 Optimze DIB32_bitblt for both DGB=0 and DGB=1
Can not geting it faster with current c code


svn path=/trunk/; revision=15840
2005-06-08 16:28:41 +00:00
Gé van Geldorp
ec70aa71b0 Revert r15838 since it breaks the build
svn path=/trunk/; revision=15839
2005-06-07 23:11:35 +00:00
Gé van Geldorp
5fb6c9fc9c Add getnameinfoA/W
svn path=/trunk/; revision=15838
2005-06-07 22:04:54 +00:00
Filip Navara
e5541e23e6 Fix prototypes for non-GDI_DEBUG case.
svn path=/trunk/; revision=15837
2005-06-07 21:23:30 +00:00
Hartmut Birr
b494dd6e5e Changed back to the GPL.
svn path=/trunk/; revision=15836
2005-06-07 20:15:16 +00:00
Filip Navara
cb3ec720bd Fix a cut & paste mistake.
svn path=/trunk/; revision=15835
2005-06-07 20:10:16 +00:00
Filip Navara
7aea00d1d6 - Repair GDI handle debugging functionality.
- Fix locking in NtGdiGetTextFace.

svn path=/trunk/; revision=15834
2005-06-07 20:02:22 +00:00
Martin Fuchs
7a4b2f8d8f sync winefile resource wcripts with WINE and adjust INFO entries
svn path=/trunk/; revision=15833
2005-06-07 17:13:38 +00:00
Hartmut Birr
b4f774ec1e - Removed the process member from the memory area structure.
- Add the copyright notice and all programmers.

svn path=/trunk/; revision=15832
2005-06-07 17:07:34 +00:00
Filip Navara
cc0fc0d35c Implementation of DragDetect. Based on Wine code (C) 1993, 1994 Alexandre Julliard.
svn path=/trunk/; revision=15831
2005-06-07 16:54:15 +00:00
Filip Navara
4619446ed0 - Unlock GDI objects by pointer, not by handle.
- Fix a few invalid lock cases.
- Add support for shared GDI object locks and use it for locking surfaces.

svn path=/trunk/; revision=15830
2005-06-07 16:34:07 +00:00
Filip Navara
e7f345e0a2 Fix buffer size checks for IOCTL_VIDEO_SET_COLOR_REGISTERS.
svn path=/trunk/; revision=15829
2005-06-07 16:26:14 +00:00
Gregor Anich
d06d236296 Add 'l' suffix to shr in DIB_16BPP_VLine.
svn path=/trunk/; revision=15828
2005-06-07 15:13:14 +00:00
Gregor Anich
2b005b9bfa Remove a comment which i forgot to remove, oops.
svn path=/trunk/; revision=15827
2005-06-07 15:10:56 +00:00
Gregor Anich
85b03712d5 Assembly for DIB_16BPP_VLine, nearly no performance increase, but could be useful later anyway.
svn path=/trunk/; revision=15826
2005-06-07 15:09:02 +00:00
Thomas Bluemel
72448a5e50 use %lu instead of %d for unsigned formatting
svn path=/trunk/; revision=15825
2005-06-07 13:53:37 +00:00
Thomas Bluemel
1413f0bd4c delete obsolete folder
svn path=/trunk/; revision=15824
2005-06-07 13:51:58 +00:00
Eric Kohl
518bede98c Use #if 0 ... #endif to disable source code.
svn path=/trunk/; revision=15823
2005-06-06 20:39:25 +00:00
Eric Kohl
a344dd8f15 NtPlugPlayControl: Implement PLUGPLAY_GET_RELATED_DEVICE and PLUGPLAY_DEVICE_STATUS.
svn path=/trunk/; revision=15822
2005-06-06 20:31:56 +00:00
Hartmut Birr
700e2c8098 - Changed the calculation of the base address of an image section.
- Removed some unnecessary members from section object.  
- Changed the allocation of a section object back to paged pool.

svn path=/trunk/; revision=15821
2005-06-06 20:27:49 +00:00
Klemens Friedl
6193faf9cd cmd update:
* add 'help' command: list all available commands plus show a short description
* update english and german language resource files

svn path=/trunk/; revision=15820
2005-06-06 20:05:14 +00:00
Eric Kohl
794ac95666 Disable patch 15796 because it breaks the bootcd.
svn path=/trunk/; revision=15819
2005-06-06 19:34:36 +00:00
Hartmut Birr
5e938a6c68 Allocate the section object from non paged pool because the storage for a spin lock must be in non paged memory.
svn path=/trunk/; revision=15818
2005-06-05 23:07:51 +00:00
Hartmut Birr
9ea1665416 Fixed the clean rule.
svn path=/trunk/; revision=15817
2005-06-05 21:30:41 +00:00
Hartmut Birr
1272e9ca67 Revert my changes from rev 15805.
svn path=/trunk/; revision=15816
2005-06-05 21:24:36 +00:00
Hartmut Birr
f97e4e54cd Allocate the section segments from non paged pool because the storage for fast mutex must be in non paged memory.
svn path=/trunk/; revision=15815
2005-06-05 21:12:30 +00:00
Gé van Geldorp
be1ac79fa0 Implement /LOADSYMBOLS and /NOLOADSYMBOLS command line option
Note to self: send shipping address for coffee mug to Alex

svn path=/trunk/; revision=15814
2005-06-05 20:56:14 +00:00
Hervé Poussineau
170980ae6f Include French resources in explorer
svn path=/trunk/; revision=15813
2005-06-05 20:05:56 +00:00
Magnus Olsen
3ed044e92e more optimze of bitblt for dib32
svn path=/trunk/; revision=15812
2005-06-05 18:15:08 +00:00
Casper Hornstrup
012786bd8f Clean proxy makefiles on 'make clean'
svn path=/trunk/; revision=15810
2005-06-05 16:47:42 +00:00
Casper Hornstrup
5c0d2bc84c Remove old makefiles
svn path=/trunk/; revision=15809
2005-06-05 16:32:33 +00:00
Casper Hornstrup
2163a01133 Generate proxy makefiles in output tree.
svn path=/trunk/; revision=15808
2005-06-05 15:59:18 +00:00
James Tabor
4c7bbd9c39 Adding symbolic link to USBFDO.
svn path=/trunk/; revision=15807
2005-06-05 15:50:55 +00:00
Hartmut Birr
34fea9606b Forgot this file.
Make the bochs debug output in the very early boot phase available, if AUTO_ENABLE_BOCHS is defined.

svn path=/trunk/; revision=15806
2005-06-05 14:03:55 +00:00
Hartmut Birr
09b3ff1ebb Don't lock the kernel address space while solving faults from the paged pool.
It is possible, that someone try to access memory from paged pool 
while the kernel address space is already locked.

svn path=/trunk/; revision=15805
2005-06-05 14:01:58 +00:00
Casper Hornstrup
00457dbaa6 Document rbuild flags.
svn path=/trunk/; revision=15804
2005-06-05 12:53:22 +00:00
Martin Fuchs
ef499ee12a refresh window content after context menu popups only if any command has been executed
svn path=/trunk/; revision=15803
2005-06-05 12:20:07 +00:00
Casper Hornstrup
dba8d6b88a Correct dependencies for 'make <module>_install'
svn path=/trunk/; revision=15802
2005-06-05 12:08:39 +00:00
Casper Hornstrup
1aa91e26e5 * Support enabling/disabling modules depending on configuration.
* Enable halup for MP=0 configuration and halmp for MP=1 configuration.


svn path=/trunk/; revision=15801
2005-06-05 11:22:16 +00:00
Gé van Geldorp
34ef0d66de Use standard debug macros
svn path=/trunk/; revision=15800
2005-06-05 11:05:47 +00:00
Gé van Geldorp
0d7ebb711c Lucio Diaz-Flores Varela <reactos_translate@yahoo.es>
Add Spanish translation

svn path=/trunk/; revision=15799
2005-06-05 08:33:52 +00:00
James Tabor
a104816de4 Fixed Interface.
svn path=/trunk/; revision=15798
2005-06-05 00:40:40 +00:00
Eric Kohl
355593bafa - Create device instance key for root device node.
- Add DeviceReference value for each non-root device node.

svn path=/trunk/; revision=15796
2005-06-04 22:55:58 +00:00
Aleksey Bragin
607f793fc0 Fix a few critical typos/mistakes (like interruptvector/interruptlevel), stdcall for thread's func, etc. Also added some "hacks" into hub's thread, but at least it leads to first steps to device enumeration.
Driver (OHCI) bugchecks on my_pci_pool_allocation now (when trying to send URB).

svn path=/trunk/; revision=15795
2005-06-04 21:35:07 +00:00
Alex Ionescu
2fb48b3787 Fix filip's fixme and alex's fixme (ie: make IRP cancellation work properly). This should appease Hartmut even more =).
svn path=/trunk/; revision=15794
2005-06-04 21:07:00 +00:00
Martin Fuchs
14245cb4ed german resource for property dialog
svn path=/trunk/; revision=15793
2005-06-04 20:48:51 +00:00
Martin Fuchs
9dafeab3da sync winefile's header between WINE and ReactOS
svn path=/trunk/; revision=15792
2005-06-04 20:37:15 +00:00
Filip Navara
4b55dd45ab Correctly handle NOT operator in window style definitions.
svn path=/trunk/; revision=15788
2005-06-04 19:44:50 +00:00
Klemens Friedl
f40c4fef66 add property page winapi (not finished, I will implement it)
svn path=/trunk/; revision=15787
2005-06-04 19:21:15 +00:00
Magnus Olsen
633fbd38c8 fix head so it compile agein
svn path=/trunk/; revision=15786
2005-06-04 19:11:11 +00:00
Magnus Olsen
de07d08907 sorry revert to 15772
svn path=/trunk/; revision=15777
2005-06-04 18:43:39 +00:00
Magnus Olsen
33798a8e08 dib32 more speed optimze
svn path=/trunk/; revision=15774
2005-06-04 17:36:59 +00:00
Magnus Olsen
daaeafc22b small optimze and bug fix optimze color fill for DIB32_BltBit
svn path=/trunk/; revision=15772
2005-06-04 16:09:39 +00:00
Alex Ionescu
59b2cea3cd Sorry I was errm a bit...dizzy
svn path=/trunk/; revision=15771
2005-06-04 13:38:48 +00:00
Alex Ionescu
fd884b9ca2 Fix HEader
svn path=/trunk/; revision=15770
2005-06-04 13:24:50 +00:00
Alex Ionescu
e24313d28a Optimized DstInvert32
svn path=/trunk/; revision=15769
2005-06-04 13:20:34 +00:00
Hartmut Birr
e13bb66f6e Make the bochs debug output in the very early boot phase available, if AUTO_ENABLE_BOCHS is defined.
svn path=/trunk/; revision=15768
2005-06-04 10:05:20 +00:00
Alex Ionescu
651c6eedd3 Add inbv header, stub InvbDisplayString, fix BSOD to always show on screen like it should, make bugcheck macros show the bugcheck data in the debug output. I hope this appeases Hartmut a bit =)
svn path=/trunk/; revision=15763
2005-06-04 00:25:04 +00:00
Magnus Olsen
9f03cb709d more optimze of blt. icon draw lite faster
svn path=/trunk/; revision=15762
2005-06-03 23:21:21 +00:00
Hervé Poussineau
bf82efbfa5 Don't define asm macros that are not used
svn path=/trunk/; revision=15761
2005-06-03 22:44:38 +00:00
Gé van Geldorp
238b5dae79 Fix DBG := 0 build
svn path=/trunk/; revision=15760
2005-06-03 21:18:09 +00:00
Martin Fuchs
44917b7007 remove resrc1.h
svn path=/trunk/; revision=15759
2005-06-03 19:54:52 +00:00
Martin Fuchs
4a13ec527a split the big explorer resource file into smaller language specific rescource scripts
svn path=/trunk/; revision=15758
2005-06-03 19:36:03 +00:00
Magnus Olsen
1ec0b9da80 sorry foregt test one optimze
remove it until futer

svn path=/trunk/; revision=15757
2005-06-03 19:11:10 +00:00
Magnus Olsen
bf66d82efc optimze for bitblt dib32bpp.c
NOTSRCERASE, DSTINVERT
you can gain more speed from these

svn path=/trunk/; revision=15756
2005-06-03 18:57:53 +00:00
Klemens Friedl
3c262aeb05 update resource file (convert linux file to windows linebreak-compatible)
svn path=/trunk/; revision=15755
2005-06-03 18:33:15 +00:00
Klemens Friedl
c46d9a027b Add german language resource file
svn path=/trunk/; revision=15754
2005-06-03 18:23:18 +00:00
Klemens Friedl
a41298140f Add german language resource to the ReactOS Command Processor
(not completely finished, I will update it as soon as possible)

svn path=/trunk/; revision=15753
2005-06-03 18:21:50 +00:00
Maarten Bosma
5fd1b3d346 Some new features like Login, Config.h and Idle message
svn path=/trunk/; revision=15752
2005-06-03 17:28:53 +00:00
Hervé Poussineau
525d26d031 Wait the opening of mouclass device to connect the underlying mouse port driver
svn path=/trunk/; revision=15751
2005-06-03 17:09:47 +00:00
Magnus Olsen
5a2cbdf365 bitblt srcpy optimze it can be more optimze
svn path=/trunk/; revision=15750
2005-06-03 16:57:55 +00:00
Hervé Poussineau
47418050f9 Save DriverObject pointer to device extension
Use INTERFACE_TYPE type instead of ULONG
Use OBJ_KERNEL_HANDLE when opening \Device\PhysicalMemory

svn path=/trunk/; revision=15749
2005-06-03 16:56:27 +00:00
Hartmut Birr
2bb29cba04 Fixed the compiling with DBG set to 1.
svn path=/trunk/; revision=15748
2005-06-03 16:04:40 +00:00
Magnus Olsen
0bbffbfe78 activate 32 to 32 bitblt code
svn path=/trunk/; revision=15747
2005-06-03 12:30:09 +00:00
Hervé Poussineau
8c8bc52df8 Delete unneeded makefile
svn path=/trunk/; revision=15746
2005-06-03 12:03:44 +00:00
Gregor Anich
e631ea01ae DIB_32BPP_BitBlt: Fix ROP4_SRCCOPY case for 32bpp.
This file is ugly!

svn path=/trunk/; revision=15745
2005-06-03 01:45:26 +00:00
Magnus Olsen
f240bd9f61 blt fill did broke winquake fix it now.
svn path=/trunk/; revision=15744
2005-06-03 01:18:02 +00:00
Magnus Olsen
253b2e8c8a thx agein blight and alex.
we got alot faster blt for source copy for 
32bpp to 32bpp now.

svn path=/trunk/; revision=15743
2005-06-03 00:35:31 +00:00
Magnus Olsen
848d499f3d sorry wrong optimze for black and white fixing the start menu
svn path=/trunk/; revision=15742
2005-06-03 00:10:18 +00:00
Martin Fuchs
5416ad8915 Sync from Wine - Henning Gerhardt <henning.gerhardt@web.de>: Update German resource files
svn path=/trunk/; revision=15741
2005-06-02 22:14:53 +00:00
Martin Fuchs
d0551f0760 convert info strings to UTF-16
svn path=/trunk/; revision=15740
2005-06-02 22:09:06 +00:00
Martin Fuchs
9719715092 implemented file properties dialog (partly based on Rob D.'s winfile code)
svn path=/trunk/; revision=15739
2005-06-02 21:39:00 +00:00
Martin Fuchs
dcf3800a39 fix column headers
svn path=/trunk/; revision=15738
2005-06-02 21:32:21 +00:00
Aleksey Bragin
c7f2fa3f15 First version of Explorer's translation into Russian. Done by Dmitry Philippov, checked by me, DarkHobbit and others.
But still needs extensive checking.

svn path=/trunk/; revision=15737
2005-06-02 21:09:29 +00:00
Aleksey Bragin
ab4e0e3543 Changed dialog's size, and sizes of its elements, so russian translation looks nice in it.
By M. Zvyozdochkin.

svn path=/trunk/; revision=15736
2005-06-02 20:47:15 +00:00
Magnus Olsen
34b6e5c4e2 sorry did foregt ;
svn path=/trunk/; revision=15735
2005-06-02 20:47:11 +00:00
Aleksey Bragin
65c31ced72 Fix grammar typo (notinserted -> not inserted) in russian translation.
By M. Zvyozdochkin.

svn path=/trunk/; revision=15734
2005-06-02 20:38:18 +00:00
Steven Edwards
fbb262fc76 add cabinet.dll to the cd
svn path=/trunk/; revision=15733
2005-06-02 20:14:23 +00:00
Magnus Olsen
bd38382acb lite Optimze only for dib32bpp.c
thanks Blight for the inline asm for hline 
bitblt have got optimze for fill black and white color
only. more will come

svn path=/trunk/; revision=15732
2005-06-02 20:12:58 +00:00
Gregor Anich
83c66bb1c1 Make formatting of half-verbose output the same for linux as for windows (add quotes to the echos)
svn path=/trunk/; revision=15731
2005-06-02 19:56:12 +00:00
Emanuele Aliberti
4276c73ec9 svn propset
svn path=/trunk/; revision=15730
2005-06-02 13:20:04 +00:00
Emanuele Aliberti
da87b75712 SM/CSR: move win32k.sys loading from the SM to the Win32 user mode server.
svn path=/trunk/; revision=15729
2005-06-02 13:17:37 +00:00
Emanuele Aliberti
114fa63aa5 Correct midimap location.
svn path=/trunk/; revision=15728
2005-06-02 13:10:57 +00:00
Alex Ionescu
2565867874 Fix midimap/wavemap build
svn path=/trunk/; revision=15727
2005-06-02 03:21:17 +00:00
Steven Edwards
278d41accc this was moved
svn path=/trunk/; revision=15726
2005-06-02 02:12:48 +00:00
James Tabor
13d5ffb301 Removed makefiles.
svn path=/trunk/; revision=15725
2005-06-02 01:37:38 +00:00
James Tabor
bdcd967755 Fixed xml problem.
svn path=/trunk/; revision=15724
2005-06-02 01:36:20 +00:00
James Tabor
59a36a978f Fixed xml problem.
svn path=/trunk/; revision=15723
2005-06-02 01:36:07 +00:00
Hervé Poussineau
c5bcf76042 Don't close port if opening failed
svn path=/trunk/; revision=15722
2005-06-01 23:09:36 +00:00
Eric Kohl
793415253c - Start the logging thread from ServiceMain.
- Move UNICODE definition to the configuration file.
- Code cleanup.

svn path=/trunk/; revision=15721
2005-06-01 21:57:52 +00:00
James Tabor
372172fd93 Adding Cromwell to usb.
svn path=/trunk/; revision=15720
2005-06-01 21:55:36 +00:00
James Tabor
e8d9ee409c Adding Cromwell to usb.
svn path=/trunk/; revision=15719
2005-06-01 21:55:09 +00:00
Eric Kohl
8ebdfa0f0d Build the UNICODE version of the eventlog service.
svn path=/trunk/; revision=15718
2005-06-01 19:43:32 +00:00
Thomas Bluemel
592490d2ae fixed warnings
svn path=/trunk/; revision=15717
2005-06-01 19:01:12 +00:00
Magnus Olsen
1983bc6012 small optimze for StretchBlt
Thanks Alex for the idea with neg for statement
it is still a ref implemnet and have some limits


svn path=/trunk/; revision=15716
2005-06-01 18:11:26 +00:00
Casper Hornstrup
0e6919a8c0 Build with MP=1
svn path=/trunk/; revision=15715
2005-06-01 17:28:51 +00:00
Casper Hornstrup
2786a429ac Remove unneded file
svn path=/trunk/; revision=15714
2005-06-01 17:27:55 +00:00
Alex Ionescu
c5bf36a5de Fix some debug messages (do I need to patch this to wine?)
svn path=/trunk/; revision=15712
2005-06-01 01:59:05 +00:00
Alex Ionescu
18aa07be14 Fix some debug messages
svn path=/trunk/; revision=15711
2005-06-01 01:56:55 +00:00
Magnus Olsen
bf6e782ee1 small optimze for StretchBlt
now do only getpixel ones instead call hole time on getpixel for the color value when it stretch to biger BMP
the hole stretchblt need to be optimze this code are geting it working bit faster and it is reference implementation

svn path=/trunk/; revision=15710
2005-05-31 23:58:14 +00:00
Gé van Geldorp
17d0c2f684 Small present for ion
svn path=/trunk/; revision=15709
2005-05-31 22:06:18 +00:00
Klemens Friedl
2764274eb7 update wallpaper list
svn path=/trunk/; revision=15707
2005-05-31 20:47:11 +00:00
Casper Hornstrup
46fc8e6a4c Delete
svn path=/trunk/; revision=15706
2005-05-31 20:40:27 +00:00
Casper Hornstrup
f892959c3d MP configuration
svn path=/trunk/; revision=15705
2005-05-31 20:39:13 +00:00
Magnus Olsen
0a91aa1d44 strechblt
gain very lite perfomen boost

svn path=/trunk/; revision=15704
2005-05-31 19:44:36 +00:00
Casper Hornstrup
b4dae62ae5 Generate SMP friendly temporary filenames
svn path=/trunk/; revision=15703
2005-05-31 17:30:54 +00:00
Magnus Olsen
e346b7e2ce complete dummy hal
svn path=/trunk/; revision=15702
2005-05-31 15:46:26 +00:00
Magnus Olsen
64d4d57449 Fix a bugin strechblt. it can now zoom in or out in any bpp
still this need todo
/* FIXME :  MaskOrigin, BrushOrigin, ClipRegion, Mode ? */
/* This is a reference implementation, it hasn't been optimized for speed */



svn path=/trunk/; revision=15701
2005-05-31 15:19:10 +00:00
Hartmut Birr
63843d944f - Added a missing dereferencing in NtTerminateProcess.
- Don't access already freed memory while sending messages to the termination port (in PspExitThread).

svn path=/trunk/; revision=15700
2005-05-31 15:01:29 +00:00
Hartmut Birr
9029590177 Try always to open a file as named object first.
This is necessary for the redirection to NUL which is used by the new build system.

svn path=/trunk/; revision=15699
2005-05-31 14:56:55 +00:00
Hartmut Birr
17b55d1d60 Changed the indentation to a more readable format (no other changes).
svn path=/trunk/; revision=15698
2005-05-31 14:51:53 +00:00
Magnus Olsen
e79b3bf80c implement strechblt for all 8bpp this code are not optimze.
tested with winquake 8bpp to 16/32bpp. 
/* FIXME :  MaskOrigin, BrushOrigin, ClipRegion, Mode ? */
/* This is a reference implementation, it hasn't been optimized for speed */

svn path=/trunk/; revision=15697
2005-05-31 14:11:02 +00:00
Hervé Poussineau
48af34a807 Add registry entries for serial mouse driver
svn path=/trunk/; revision=15696
2005-05-31 13:49:41 +00:00
Hervé Poussineau
eddf35ba2a Don't try to detect serial ports at known I/O addresses. They have to be written in registry and enumerated by Root bus enumerator.
Get interrupt informations from AllocatedResourcesTranslated in IRP_MN_START_DEVICE

svn path=/trunk/; revision=15695
2005-05-31 10:35:22 +00:00
James Tabor
907751c162 Change Xml from msafd32.dll to msafd.dll.
svn path=/trunk/; revision=15694
2005-05-31 08:02:29 +00:00
Hartmut Birr
c46482a139 Build a correct console handle.
svn path=/trunk/; revision=15693
2005-05-30 23:22:15 +00:00
Hervé Poussineau
361b320cf8 Read resource requirements list for devices enumerated by Root bus
svn path=/trunk/; revision=15692
2005-05-30 23:01:37 +00:00
Hervé Poussineau
13ffb8ef14 Write resource requirements list in the registry, instead of its address
svn path=/trunk/; revision=15691
2005-05-30 22:55:09 +00:00
Gé van Geldorp
12628f673c Work around problem in wrc
svn path=/trunk/; revision=15690
2005-05-30 21:35:07 +00:00
Gé van Geldorp
e163d454bc Revert last change, it was causing build problems. Go back to causing run
problems instead (try Start/Run/Browse)

svn path=/trunk/; revision=15689
2005-05-30 20:37:29 +00:00
Hartmut Birr
1fac54757a Check for a valid console handle.
svn path=/trunk/; revision=15688
2005-05-30 20:13:35 +00:00
Hartmut Birr
e3d66fd5c6 - Don't duplicate the process handle.
- Do close the process and thread handle if the caller doesn't request it.

svn path=/trunk/; revision=15687
2005-05-30 20:11:44 +00:00
Aleksey Bragin
277b2da899 Add translation for "Templates" by unC0Rr
svn path=/trunk/; revision=15686
2005-05-30 19:45:04 +00:00
Gé van Geldorp
9948c2bbfa Revert some incorrect changes that were made during rbuild merge
svn path=/trunk/; revision=15685
2005-05-30 19:19:06 +00:00
Aleksey Bragin
1e05d99733 Added russian translation for lib/userenv. Done by Dimtry Philippov.
svn path=/trunk/; revision=15684
2005-05-30 18:46:49 +00:00
Filip Navara
61cbda4605 Don't lock the primary surface just to get info we already have.
svn path=/trunk/; revision=15681
2005-05-30 13:00:50 +00:00
Filip Navara
5417e5d19c Add MSVFW32 and MSWSOCK to the build.
svn path=/trunk/; revision=15680
2005-05-30 12:52:38 +00:00
Filip Navara
b84060f8e3 Remove redundant line...
svn path=/trunk/; revision=15679
2005-05-30 08:12:30 +00:00
Magnus Olsen
3eedff3253 fix winquake color glitc bug
the text are now whie instead for black

svn path=/trunk/; revision=15678
2005-05-30 07:27:22 +00:00
Magnus Olsen
30976b41c4 add rospref to defualt build
and remove a makefile that is not need it 
patch By WaxDragon

svn path=/trunk/; revision=15677
2005-05-29 22:33:25 +00:00
Gé van Geldorp
f46df32f70 Prevent kernel32.dll and winmm.dll from overlapping
svn path=/trunk/; revision=15676
2005-05-29 21:40:17 +00:00
Aleksey Bragin
554f18954d Added WS_VSCROLL to a language selection combobox (thx to unC0Rr)
svn path=/trunk/; revision=15675
2005-05-29 21:16:29 +00:00
Magnus Olsen
8c2b8755dc remove old makefile add xml makefile
svn path=/trunk/; revision=15674
2005-05-29 21:00:11 +00:00
Magnus Olsen
9cd1969b76 fix expand.exe compile and include on the bootcd
svn path=/trunk/; revision=15673
2005-05-29 20:58:38 +00:00
Alex Ionescu
4286032cc7 Fix function bug
svn path=/trunk/; revision=15672
2005-05-29 20:49:56 +00:00
Hervé Poussineau
7599760096 Read device instance IDs in registry instead of forcing 0000. This allows more than one instance for each device enumerated by Root bus.
Be ready to have resource requirements for each device instance (not used ATM)
Replace some ExAllocatePool/ExFreePool with ExAllocatePoolWithTag/ExFreePoolWithTag

svn path=/trunk/; revision=15671
2005-05-29 19:48:43 +00:00
Alex Ionescu
39e84ca95f Wrappers for debug builds only, like before.
svn path=/trunk/; revision=15670
2005-05-29 19:41:24 +00:00
Gé van Geldorp
045a7df56c Don't build as Unicode
svn path=/trunk/; revision=15669
2005-05-29 19:06:30 +00:00
Casper Hornstrup
3444049ffb Install explorer-cfg-template.xml
svn path=/trunk/; revision=15668
2005-05-29 16:07:35 +00:00
Alex Ionescu
0e1269ee48 Build at 2GB like before
svn path=/trunk/; revision=15667
2005-05-29 16:07:05 +00:00
Hartmut Birr
a67e88ab21 Change the object to non permanent if an error occurs (in NtCreateDirectoryObject).
svn path=/trunk/; revision=15666
2005-05-29 15:43:53 +00:00
Hartmut Birr
6ec730fc4c Reset the permanent flag if the object is changed to non permanent.
svn path=/trunk/; revision=15665
2005-05-29 15:41:24 +00:00
Hartmut Birr
717888776f Lock the directory while it is parsed.
svn path=/trunk/; revision=15664
2005-05-29 15:37:47 +00:00
Magnus Olsen
2c5946dd01 remove some unse Makefile.ros-template files
not longer need it

svn path=/trunk/; revision=15663
2005-05-29 15:17:38 +00:00
Filip Navara
8b4668efce Set entry point to zero.
svn path=/trunk/; revision=15662
2005-05-29 15:10:11 +00:00
Casper Hornstrup
f5fdc514d3 vgamp.sys, not vgamp.dll
svn path=/trunk/; revision=15661
2005-05-29 15:05:22 +00:00
Casper Hornstrup
ba885106f7 Install to system32
svn path=/trunk/; revision=15660
2005-05-29 14:51:17 +00:00
Casper Hornstrup
3cb2f38e73 Install more modules
svn path=/trunk/; revision=15659
2005-05-29 14:35:36 +00:00
Gé van Geldorp
204cfe40fe Use standard debug macros
svn path=/trunk/; revision=15658
2005-05-29 14:26:21 +00:00
Casper Hornstrup
93d4234a07 regsvr32.exe, not regsvr32.dll
svn path=/trunk/; revision=15657
2005-05-29 14:09:04 +00:00
Casper Hornstrup
750ce3d65a Autodetect nasm
svn path=/trunk/; revision=15656
2005-05-29 11:51:37 +00:00
Martin Fuchs
66500a1428 implement 'delete' command
svn path=/trunk/; revision=15655
2005-05-29 11:42:46 +00:00
Martin Fuchs
32ec815105 switch to SHFileOperation() for file copy and move operations
svn path=/trunk/; revision=15654
2005-05-29 09:58:47 +00:00
Martin Fuchs
ff58b88eaf handle copy/move for already existing target directories
svn path=/trunk/; revision=15653
2005-05-29 09:39:31 +00:00
Martin Fuchs
02fa1a2b59 implement file copying
svn path=/trunk/; revision=15652
2005-05-29 08:47:23 +00:00
Martin Fuchs
2a46b799fc refresh display after executing a context menu command
svn path=/trunk/; revision=15651
2005-05-29 08:38:23 +00:00
Filip Navara
5c43578bfd Fix ASSERT conditions.
svn path=/trunk/; revision=15650
2005-05-29 07:29:59 +00:00
Magnus Olsen
d593712681 remove some ros-tempöate from old building system
svn path=/trunk/; revision=15649
2005-05-29 01:04:44 +00:00
Thomas Bluemel
d1d04bc6c6 fix gcc4 warnings
svn path=/trunk/; revision=15648
2005-05-29 00:04:41 +00:00
Magnus Olsen
89f3ea02c7 this two file are not need any longer
svn path=/trunk/; revision=15647
2005-05-28 23:38:58 +00:00
Magnus Olsen
7e6a4cd48c Remove two file that are not need any longer
fix some compilings warings

svn path=/trunk/; revision=15646
2005-05-28 23:34:24 +00:00
Alex Ionescu
de71d516e8 disable assert until someone fixes this
svn path=/trunk/; revision=15645
2005-05-28 23:26:37 +00:00
Magnus Olsen
54805d4cf5 mising desk.rc in the xml files
de.rc and cz.rc a resuse id was change 

svn path=/trunk/; revision=15644
2005-05-28 23:16:12 +00:00
Alex Ionescu
2ca6508908 More fixes from yours truly
svn path=/trunk/; revision=15643
2005-05-28 23:06:49 +00:00
Alex Ionescu
a2efaabdcd more build fixes
svn path=/trunk/; revision=15642
2005-05-28 22:56:14 +00:00
Alex Ionescu
0ba1f085f1 more build fixes
svn path=/trunk/; revision=15641
2005-05-28 22:48:33 +00:00
Thomas Bluemel
3574d717a4 little fix
svn path=/trunk/; revision=15640
2005-05-28 22:40:04 +00:00
James Tabor
ad652aad95 Added usbuhci to xml file.
svn path=/trunk/; revision=15639
2005-05-28 22:25:51 +00:00
James Tabor
397ca71b9f Added usbohci to xml file.
svn path=/trunk/; revision=15638
2005-05-28 22:25:29 +00:00
James Tabor
a2497ea64c Added usbehci to xml file.
svn path=/trunk/; revision=15637
2005-05-28 22:25:09 +00:00
James Tabor
39b694fcf3 Added usb miniport to xml file.
svn path=/trunk/; revision=15636
2005-05-28 22:24:22 +00:00
James Tabor
8a624fa286 Added usb miniport to xml file.
svn path=/trunk/; revision=15635
2005-05-28 22:23:51 +00:00
Thomas Bluemel
12e17e01f0 make rbuild compile with gcc4
svn path=/trunk/; revision=15634
2005-05-28 22:22:25 +00:00
Alex Ionescu
2db9bd4682 Fix some build problems
svn path=/trunk/; revision=15633
2005-05-28 22:18:44 +00:00
Martin Fuchs
9a4b9913ce fix case problem of sv.rc third (and hopefully last ;-) time for unix+windows builds
svn path=/trunk/; revision=15632
2005-05-28 22:12:40 +00:00
Gé van Geldorp
bf1ac08f8f Make compiler happy
svn path=/trunk/; revision=15631
2005-05-28 22:08:49 +00:00
Gé van Geldorp
99a53a6f13 Robert Shearman <rob@codeweavers.com>
- Rename DllRegisterServer and DllUnregisterServer to avoid confusion
  with the COM functions of different signatures.

svn path=/trunk/; revision=15630
2005-05-28 22:04:24 +00:00
Gé van Geldorp
2ba2487f4b 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.
- Removed unnecessary code in the 16-bit DllEntryPoint function of some
  dlls, and also fixed its ordinal in a few places.
Mike McCormack <mike@codeweavers.com>
- Make WINMM_IData statically allocated.
- Make multimedia threads high priority.
Robert Reif <reif@earthlink.net>
- Change FIXME to WARN.
- Set thread priority for timer thread.
- Add timer thread priority test.

svn path=/trunk/; revision=15629
2005-05-28 22:01:15 +00:00
James Tabor
ae660b3636 Added def to xml file.
svn path=/trunk/; revision=15628
2005-05-28 22:00:46 +00:00
James Tabor
bcc09d453e Added def to xml file.
svn path=/trunk/; revision=15627
2005-05-28 22:00:27 +00:00
Alex Ionescu
da2d081ecb use right optimization setting
svn path=/trunk/; revision=15626
2005-05-28 21:46:37 +00:00
Gé van Geldorp
9259eba707 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.
Troy Rollo <wine@troy.rollo.name>
- Implement URLMonikerImpl_BindToStorage.
- Correct bug truncating downloaded files to 4096 bytes.
Jacek Caban <jack@itma.pwr.wroc.pl>
- Separated IBinding and IMoniker interfaces.
Mike McCormack <mike@codeweavers.com>
- Add the missing interface method PromptAction to
  IInternetZoneManager.
- Stub implementation for GetSoftwareUpdateInfo.
Francois Gouget <fgouget@free.fr>
- Update win32.api to match the current sources.
- Declare CoGetClassObjectFromURL() in urlmon.h.
Christian Costa <titan.costa@wanadoo.fr>
- Added stub implementation for CoGetClassObjectFromURL.

svn path=/trunk/; revision=15625
2005-05-28 21:44:21 +00:00
James Tabor
d07eefd752 Temp Fix until I figure out what is wrong with Asserts.
svn path=/trunk/; revision=15624
2005-05-28 21:40:01 +00:00
Gé van Geldorp
dfe4710889 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.
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- Test cases for URL_UNESCAPE and small fix.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.

svn path=/trunk/; revision=15623
2005-05-28 21:39:03 +00:00
James Tabor
3c412fecf4 Add Usbport to new build system.
svn path=/trunk/; revision=15622
2005-05-28 21:38:59 +00:00
James Tabor
b39c62c8bb Add Usbport to new build system.
svn path=/trunk/; revision=15621
2005-05-28 21:38:05 +00:00
Gé van Geldorp
74c1a38507 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.
Robert Shearman <rob@codeweavers.com>
- Rename MODULENAME_Dll* functions to Dll* for better consistency and
  type checking.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Use SUBLANG_NEUTRAL for French resources.

svn path=/trunk/; revision=15620
2005-05-28 21:34:33 +00:00
Magnus Olsen
e9c01796ad fix compilings warings
svn path=/trunk/; revision=15619
2005-05-28 21:32:23 +00:00
James Tabor
522e3d74e0 Add Usbhub to new build system.
svn path=/trunk/; revision=15618
2005-05-28 21:30:37 +00:00
Gé van Geldorp
05e1c2d4b7 Ge van Geldorp <gvg@reactos.com>
- Overlay icons for .lnk files with a small arrow in the lower left
  corner.
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.
- Removed unnecessary code in the 16-bit DllEntryPoint function of some
  dlls, and also fixed its ordinal in a few places.
- Comment out stub WEP entry points so that we can call WEP for builtin
  dlls too.
Juan Lang <juan_lang@yahoo.com>
- Fixes to IShellFolder::GetAttributesOf implementations, spotted by
  silverblade_:
  - a count of zero is allowed to GetAttributesOf if apidl is NULL
  - SFGAO_VALIDATE must be cleared upon return
- only log unsupported flags in ShellExecute
- environment variables are expanded, so SEE_MASK_DOENVSUBST is
  supported
Michael Jung <mjung@iss.tu-darmstadt.de>
- Add a new CLSID for UnixDosFolder, which is identical to UnixFolder,
  but does unix <-> dos path conversion for GetDisplayNameOf and
  ParseDisplayName.
- Make the root of the shell extension map to the root of the unix
  filesystem.
- More robustly query the SHGDN_FORPARSING flag in the shell32's folders
  GetDisplayNameOf methods.
- Fixed GetDisplayNameOf method to not depend on incorrect behaviour
  regarding the SHGDN_INFOLDER flag.
- Fixed MyComputer's GetDisplayNameOf method.
- Return a cloned PIDL by SHBrowseForFolder to avoid heap corruption.
- Fixed incorrect IShellFolder::EnumOjects API usage.
- Support for regular files (as opposed to directories).
- Display a drive icon for the unix root directory.
- Consider only the GIL_FORSHORTCUT flag in SIC_CompareEntries.
Stefan Doesinger <stefandoesinger@gmx.at>
- Handle cidl==0 in shfldr_desktop, shfldr_fs and shfldr_mycomp.
- Remove the dwAttributes member from the IGenericSFImpl class, it's
  not needed and can't be initialised in Initialize and InitializeEx.
Mike McCormack <mike@codeweavers.com>
- Split SHGetFileInfoW into two functions.
- Remove static variables in SHBrowseForFolder implementation.
- Split up the window procedure.
- Remove some unused include files.
- MSI advertised shortcuts don't require a product ID.
Peter Berg Larsen <pebl@math.ku.dk>
- Rewritten DoEnvironmentSubst16.
Kouji Sasaki <taro-x@justsystem.co.jp>
- Added the processing for determination of SFGAO_HASSUBFOLDER flag in
  SHELL32_GetItemAttribute function.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Huw Davies <huw@codeweavers.com>
- It makes no sense to have a left pointing arrow as the desktop icon.
  Replace it with something more appropiate.
Mike Hearn <mh@codeweavers.com>
- Fix SHELL_GetPathFromIDList[AW] to return the desktop path given an
  empty PIDL.

svn path=/trunk/; revision=15617
2005-05-28 21:30:32 +00:00
James Tabor
1a3b44f52a Add Usbd to new build system.
svn path=/trunk/; revision=15616
2005-05-28 21:30:02 +00:00
James Tabor
eeec0bf547 Add Usb Directory to new build system.
svn path=/trunk/; revision=15615
2005-05-28 21:29:20 +00:00
James Tabor
edd06a247e Add Usb Directory to new build system.
svn path=/trunk/; revision=15614
2005-05-28 21:28:11 +00:00
Magnus Olsen
a205dac113 remove soem warings for optimze build
svn path=/trunk/; revision=15613
2005-05-28 21:16:34 +00:00
Aleksey Bragin
282184ee88 Added vfatxlib support in the new build system
svn path=/trunk/; revision=15612
2005-05-28 21:08:56 +00:00
Magnus Olsen
a8575f00b3 check see if the fix have alread be done
fix secon time right unix case

svn path=/trunk/; revision=15610
2005-05-28 20:21:07 +00:00
Martin Fuchs
da712a816d fix unix build
svn path=/trunk/; revision=15609
2005-05-28 20:07:55 +00:00
Martin Fuchs
8262f1f8b1 remove duplicate file
svn path=/trunk/; revision=15608
2005-05-28 20:06:29 +00:00
Casper Hornstrup
a17b3fbff0 Remove unneeded files
svn path=/trunk/; revision=15607
2005-05-28 19:47:04 +00:00
Filip Navara
078f2e9f5f Fix a warning.
svn path=/trunk/; revision=15606
2005-05-28 19:38:54 +00:00
Casper Hornstrup
d11c96fa89 Add example of how to find the prefix
svn path=/trunk/; revision=15605
2005-05-28 19:38:17 +00:00
Casper Hornstrup
f4ad6d109c Use detected prefix
svn path=/trunk/; revision=15604
2005-05-28 19:35:23 +00:00
Filip Navara
080f82f9b4 Fix a few warnings...
svn path=/trunk/; revision=15603
2005-05-28 19:33:26 +00:00
Magnus Olsen
370ff8fa5f fix linux build
svn path=/trunk/; revision=15602
2005-05-28 19:24:13 +00:00
Filip Navara
b7166fefeb Define __NO_CTYPE_INLINES.
svn path=/trunk/; revision=15600
2005-05-28 18:45:55 +00:00
Casper Hornstrup
8d5843e406 -mi switch for rbuild to not have rbuild create install directories.
svn path=/trunk/; revision=15599
2005-05-28 18:43:25 +00:00
Magnus Olsen
ec7a4788aa fix compiling error
services\umpnpmgr\umpnpmgr.c:43:1: "DBG" redefined
<command line>:5:1: this is the location of the previous definition
make3: *** [obj-i386\services\umpnpmgr\umpnpmgr.o] Error 1

svn path=/trunk/; revision=15598
2005-05-28 18:13:11 +00:00
Casper Hornstrup
a330b25482 Correct documentation for ROS_PREFIX. Spotted by Sylvain Petreolle [spetreolle@yahoo.fr].
svn path=/trunk/; revision=15597
2005-05-28 18:10:26 +00:00
Hervé Poussineau
9d3eed8967 Use C99 syntax instead of C89 syntax because some compilers are not smart enough to detect and remove dead code
svn path=/trunk/; revision=15596
2005-05-28 17:45:01 +00:00
Martin Fuchs
60f7fbe06e fix pattern matching
svn path=/trunk/; revision=15595
2005-05-28 17:35:08 +00:00
Alex Ionescu
7717d6cb1a build acpi with w32api
svn path=/trunk/; revision=15594
2005-05-28 17:23:33 +00:00
Alex Ionescu
cd37d4427a Put dbg=1 as default again
svn path=/trunk/; revision=15593
2005-05-28 17:17:27 +00:00
Martin Fuchs
ee52bbdc1b implement file filtering (matching file name patterns and file types)
svn path=/trunk/; revision=15592
2005-05-28 17:13:56 +00:00
Casper Hornstrup
4828e6eaa4 Add depends target as suggested by Martin Fuchs
svn path=/trunk/; revision=15591
2005-05-28 16:51:42 +00:00
Filip Navara
cec1358fb1 Remove "assert" macro.
svn path=/trunk/; revision=15590
2005-05-28 16:47:15 +00:00
Alex Ionescu
c5d7317110 Build with optimizations
svn path=/trunk/; revision=15589
2005-05-28 16:43:25 +00:00
Alex Ionescu
0173e06e40 Build with optimizations
svn path=/trunk/; revision=15588
2005-05-28 16:42:50 +00:00
Alex Ionescu
bc13deab3b fix verbose setting
svn path=/trunk/; revision=15587
2005-05-28 16:34:23 +00:00
Casper Hornstrup
a9702af5a0 Support install target in proxy
svn path=/trunk/; revision=15586
2005-05-28 16:12:46 +00:00
Alex Ionescu
ae5e4b8581 Fix packet lib so it builds
svn path=/trunk/; revision=15585
2005-05-28 15:50:30 +00:00
KJK::Hyperion
28d278bd08 Workaround for GCC inline assembly bug, hopefully fixed for good. Builds for me in both checked and free
Bug details and status here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153


svn path=/trunk/; revision=15584
2005-05-28 15:41:09 +00:00
Casper Hornstrup
2990d277fb Merge 12735:15568 from xmlbuildsystem branch
svn path=/trunk/; revision=15583
2005-05-28 15:18:30 +00:00
Gé van Geldorp
f9ef57f5f1 Sync to Wine-20050524:
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.
- Comment out stub WEP entry points so that we can call WEP for builtin
  dlls too.
- Removed unnecessary code in the 16-bit DllEntryPoint function of some
  dlls, and also fixed its ordinal in a few places.
Hans Leidekker <hans@it.vu.nl>
- Stub implementation for SetupCopyOEMInfW.
Ivan Leo Puoti <ivanleo@gmail.com>
- Minor fix in SetupQueueCopySectionW.

svn path=/trunk/; revision=15582
2005-05-28 15:14:29 +00:00
Gé van Geldorp
020f1fc22b Sync to Wine-20050524:
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.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Provide minimal API documentation in advapi/eventlog.c to silence some
  winapi_check output.
- Move around functions in riched20, richedit and rpcrt4 to achieve the
  same goal.
Robert Shearman <rob@codeweavers.com>
- Fix RpcServerListen so that it doesn't return
  RPC_S_ALREADY_LISTENING when the only interfaces it is listening on
  are auto listens.
- Only synchronize with server thread when necessary and move this
  into RpcMgmtWaitServerListen.
Francois Gouget <fgouget@free.fr>
- Tweak the API documentation to silence winapi_check warnings.
Hartmut Birr <hartmut.birr@gmx.de>
- Clean up if named pipe is not available.
  (merge back from WineHQ)

svn path=/trunk/; revision=15581
2005-05-28 15:04:47 +00:00
Hervé Poussineau
98b2118f6b Activate NtGdiRealizePalette code and minor fixes
by Greatlord

svn path=/trunk/; revision=15580
2005-05-28 14:56:02 +00:00
Gé van Geldorp
0474d63d02 Sync to Wine-20050524:
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.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Provide minimal API documentation in advapi/eventlog.c to silence some
  winapi_check output.
- Move around functions in riched20, richedit and rpcrt4 to achieve the
  same goal.

svn path=/trunk/; revision=15579
2005-05-28 14:42:07 +00:00
Gé van Geldorp
9a3e5b9dad Sync to Wine-20050524:
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.
Ivan Leo Puoti <ivanleo@gmail.com>
- Fix crash in ME_GetRunSizeCommon(). Turn a FIXME into a TRACE.
Michael Stefaniuc <mstefani@redhat.de>
- Change an assert to a WARN.
Hannu Valtonen <Hannu.Valtonen@hut.fi>
- Use correct background color for the whole richedit control.
- Implement EM_LINESCROLL message handling
- Fix a problem with scrolling over the end of the text in
  WM_WHEELMOUSE.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Provide minimal API documentation in advapi/eventlog.c to silence some
  winapi_check output.
- Move around functions in riched20, richedit and rpcrt4 to achieve the
  same goal.
Krzysztof Foltman <wdev@foltman.com>
- Added stubs for a couple of missing 2.0 and 3.0 messages.
Phil Krylov <phil@newstar.rinet.ru>
- Fixed an error in my previous commit which caused an infinite loop in
  IE6 installer.

svn path=/trunk/; revision=15578
2005-05-28 14:40:26 +00:00
Magnus Olsen
8264539518 Implement NtGdiAnimatePalette (partly ripped from Wine)
by hpussin

svn path=/trunk/; revision=15577
2005-05-28 12:43:26 +00:00
Maarten Bosma
6cb9982a26 discription of the lists
svn path=/trunk/; revision=15576
2005-05-28 12:15:11 +00:00
Filip Navara
c5fc491484 There's no point in keeping two almost identical packet drivers in the SVN.
svn path=/trunk/; revision=15575
2005-05-28 11:38:11 +00:00
Filip Navara
f48663be6d Bye, bye "include/net/" directory...
svn path=/trunk/; revision=15574
2005-05-28 11:34:33 +00:00
Filip Navara
6b4900eb87 - Move LAN headers out of main include directory.
- Add few missing functions to ndis.h.

svn path=/trunk/; revision=15573
2005-05-28 11:30:26 +00:00
Filip Navara
9087951c85 Remove old NDIS headers.
svn path=/trunk/; revision=15572
2005-05-28 11:15:08 +00:00
Filip Navara
36043fe728 Cleanup AFD headers a bit.
svn path=/trunk/; revision=15571
2005-05-28 11:10:27 +00:00
Filip Navara
72742963f5 Use W32API.
svn path=/trunk/; revision=15570
2005-05-28 11:09:53 +00:00
Filip Navara
827234d64e Use W32API.
svn path=/trunk/; revision=15569
2005-05-28 11:09:34 +00:00
Casper Hornstrup
61768ec813 Add missing separators to RBUILD_XXX_OUT variables.
Patch by Mike Lerwill [mlist@ml-solutions.co.uk]


svn path=/branches/xmlbuildsystem/; revision=15568
2005-05-28 10:41:13 +00:00
Maarten Bosma
e550f533e4 !say
svn path=/trunk/; revision=15567
2005-05-28 10:23:48 +00:00
Gé van Geldorp
1768f9ec6b Sync to Wine-20050524:
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.
Robert Shearman <rob@codeweavers.com>
- Rename MODULENAME_Dll* functions to Dll* for better consistency and
  type checking.

svn path=/trunk/; revision=15566
2005-05-28 09:38:59 +00:00
Maarten Bosma
02c5fdf8d3 ArchBackmann readme. Allmost the same as http://reactos.com/wiki/index.php/ArchBlackmann
svn path=/trunk/; revision=15565
2005-05-28 09:38:28 +00:00
Gé van Geldorp
4b5e84217d Sync to Wine-20050524:
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.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Use SUBLANG_NEUTRAL for French resources.

svn path=/trunk/; revision=15564
2005-05-28 09:37:01 +00:00
Gé van Geldorp
873d2a6ee8 Sync to Wine-20050524:
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.
Michael Stefaniuc <mstefani@redhat.de>
- Reimplement VarMul(). It can multiply now all variants that the native
  (WinXP) function supports too.
- Fix VariantChangeType: calls to VarDecFromCy and VarDecFromDisp had
  source and destination swapped.
Richard Cohen <richard@daijobu.co.uk>
- Remove unused macro.
- Check for VT_I8 before testing it.
- VarMod returns DISP_E_OVERFLOW not E_INVALIDARG.
Robert Shearman <rob@codeweavers.com>
- Use I_RpcGetBuffer instead of HeapReAlloc for getting the Buffer
  memory.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Use SUBLANG_NEUTRAL for French resources.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Fix leftover negative sign in height parameter for transparent
  bitmap.
- Properly announce whether bitmap is transparent in get_Attributes.
- GIF transparency is now palette-index based, instead of RGB based.
- Keep original bitmap and XOR mask separate, so that get_Handle
  returns original bitmap.

svn path=/trunk/; revision=15563
2005-05-28 09:35:29 +00:00
Gé van Geldorp
8eff322fdd Sync to Wine-20050524:
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.
- Removed unnecessary code in the 16-bit DllEntryPoint function of some
  dlls, and also fixed its ordinal in a few places.
- Comment out stub WEP entry points so that we can call WEP for builtin
  dlls too.
Juan Lang <juan_lang@yahoo.com>
- Obvious fixes to PropVariantClear and PropVariantCopy for vector
  types.
- Add a comment, and a no-op cleanup.
- Differentiate between version 0 and version 1 property storages.
- Store property names in the code page of the property set.
- maintain proper byte order
- maintain PROPSETFLAG_ANSI flag based on codepage
- update comments
- Correct/improve error checking in IPropertyStorage.
- convert strings between property storage's code page and system code
  page
- add tests for setting code page
- fix tests and behavior to match WinXP
- Define and use endian conversion macros for big-endian machines.
Marcus Meissner <marcus@jet.franken.de>
- Move the Dll init function to compobj.c to avoid having global
  variables. Remove need of ole32_main.h.
- Make HGLOBALStream_* functions static.
- Make _xmalloc16() static.
- Staticify FTMarshalImpl definition.
Francois Gouget <fgouget@free.fr>
- Specify the proper call convention in the PropSysFreeString()
  implementation.
- Tweak the API documentation to silence winapi_check warnings.
Robert Shearman <rob@codeweavers.com>
- Add error messages on failure in file moniker load function.
- Fix incorrect pointer check in both monikers.
- Fix max size calculation of item moniker to match native.
- Add a generic moniker marshaler that works by saving & loading
  monikers to & from the stream.
- Use the generic moniker marshal in the file & item monikers and add
  a class factory for each.
- Implement IROTData::GetComparisonData for file & item monikers.
- Add a useful trace message.
- Fix more places where custom header size was calculated exclusive of
  the data size member.
- Optimize custom marshaling by getting size before calling the custom
  marshaler so we can write the header before and not use a second
  stream.
- Change remaining blocks of code with 2-space indentation to 4-space
  indentation.
- Make vtables const.
- Remove an unnecessary memcpy and let the compiler do the work.
- Write custom header up to and including size, not excluding.
- Add a stub implementation of CoIsHandlerConnected.
- Marshal objects & monikers into the ROT.
- Test for this behaviour.
Mike McCormack <mike@codeweavers.com>
- Remove unnecessary declarations and make functions static.
- Remove forward declarations.
- Make sure a stream can't be created in read only storage.
- Fix a memory leak in the ole storage implementation.
- Remove function prototypes.
Kevin Koltzau <kevin@plop.org>
- Implement Hash function on composite moniker.
Jeff Latimer <jeffl@defcen.gov.au>
- Implement the IEnumMoniker interface for the ROT and provide tests to
  exercise the interface.
Pierre d'Herbemont <stegefin@free.fr>
- Big Endian specific code fixes in order to conform with
  NONAMELESSSTRUCT.
Matthew Mastracci <matt@aclaro.com>
- Replace stub entry for StgOpenStorageEx with call to StgOpenStorage.
- Replace StgCreateStorageEx stub with call to StgCreateDocfile and add
  required STGFMT_* enumerations.

svn path=/trunk/; revision=15562
2005-05-28 09:30:04 +00:00
Hartmut Birr
dde52a04c5 Check for the complete initialisation of user mode modules.
svn path=/trunk/; revision=15561
2005-05-28 07:39:54 +00:00
Hartmut Birr
fcc81ed73f Print the complete image name on a fault.
svn path=/trunk/; revision=15560
2005-05-28 07:37:19 +00:00
Hartmut Birr
2ff428f5e5 Use correct flag while checking for uninitialized segments.
svn path=/trunk/; revision=15559
2005-05-28 07:34:54 +00:00
Hartmut Birr
a5a9986767 Don't try to resolve user mode page faults in the very early boot phase.
svn path=/trunk/; revision=15558
2005-05-28 07:32:23 +00:00
Hartmut Birr
f4df167bed Put the assembler functions into the .text section.
svn path=/trunk/; revision=15557
2005-05-28 07:26:38 +00:00
Alex Ionescu
09d22dbdea Build pci with w32api
svn path=/trunk/; revision=15556
2005-05-28 00:24:46 +00:00
Alex Ionescu
cc481fc89f Build beep with w32api
svn path=/trunk/; revision=15555
2005-05-28 00:12:41 +00:00
Hervé Poussineau
45aa5aa956 Use DHCP to get name servers IP addresses
svn path=/trunk/; revision=15554
2005-05-27 23:19:14 +00:00
Steven Edwards
1ce2f8440a use __USE_W32API
svn path=/trunk/; revision=15553
2005-05-27 22:18:48 +00:00
Steven Edwards
fc8a20b794 use -D__USE_W32API
svn path=/trunk/; revision=15552
2005-05-27 22:15:36 +00:00
Steven Edwards
f6f9cdcdbb use w32api
svn path=/trunk/; revision=15551
2005-05-27 21:51:26 +00:00
Hervé Poussineau
0a45432b70 Silent debug message
svn path=/trunk/; revision=15550
2005-05-27 20:35:59 +00:00
Magnus Olsen
c44e26473a Implement NtGdiGetSystemPaletteUse and NtGdiSetSystemPaletteUse
this code have been taken from wine 

svn path=/trunk/; revision=15549
2005-05-27 20:07:48 +00:00
Hervé Poussineau
0b6337b3d8 Don't free heap for string that we don't own
svn path=/trunk/; revision=15548
2005-05-27 19:43:07 +00:00
Casper Hornstrup
062423314c Merge 15329:15546 from trunk
svn path=/branches/xmlbuildsystem/; revision=15547
2005-05-27 19:29:24 +00:00
Magnus Olsen
4a940a2d8e Thx casper to notice a ID was mistagen by translate
svn path=/trunk/; revision=15546
2005-05-27 18:26:14 +00:00
Hartmut Birr
f30557e387 Dereference the event if the queue is freed in IntDereferenceMessageQueue.
svn path=/trunk/; revision=15545
2005-05-27 16:28:10 +00:00
Casper Hornstrup
04f5a8f558 Copy rpoolmgr.h from trunk
svn path=/branches/xmlbuildsystem/; revision=15544
2005-05-27 14:33:41 +00:00
Casper Hornstrup
0aa41d88e0 Delete
svn path=/branches/xmlbuildsystem/; revision=15543
2005-05-27 14:32:40 +00:00
Magnus Olsen
b73c53c40c fix memmory coruption in EnumDisplaySettingsExA
do not alloc memmory with heap. 

svn path=/trunk/; revision=15542
2005-05-27 14:22:06 +00:00
Magnus Olsen
68f4fc41bc fix stupied Ret uninitialized in IntChangeDisplaySettings for DGB=0 build
svn path=/trunk/; revision=15541
2005-05-27 00:32:24 +00:00
Magnus Olsen
71c9d2dddd partially implemented fullscreen in changedisplay setting
I can play winquake in fullscreen now :)


svn path=/trunk/; revision=15538
2005-05-26 22:41:31 +00:00
Gé van Geldorp
2d3d7c7078 Sync to Wine-20050524:
Alexander 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.
Aric Stewart <aric@codeweavers.com>
- Fix a few leaking object handles.
- Correct user component publication.
- Implement MsiEnumComponentQualifiers.
- Implement Publish Components in order for MsiGetQualifiedComponent
  apis to work. Also implement MsiGetQualifiedComponent, or at least some
  of the functionality as it is supposed to install stuff if it is
  absent, which it does not do yet.
- Correct query quoting based on Mike's patch.
  Also more error messages about return codes from custom actions and
  ignore an error that we should be ignoring.
- Double terminate SZ_MULTI properly.
- ClassInfo and ExtensionInfo are also written for ADVERTISED
  components.
- Write the RegOwner and RegCompany keys as blank if they do not exist
  when doing the RegisterUser action.
- Fix quoting on queries.
- Respect '+' and '*' in WriteRegistryValues to only create the key if
  it does not already exist. Prevents overwriting values with NULL.
- We cannot internally load the files in FileCost because that action
  may be skipped or not called. So do it in CostInitialize.
- Quote the file path in SelfRegModules.
- Do not write squished null guids to the feature registration.
- Correctly use short filenames from uncompressed file sources. Also
  default feature and component install states to ABSENT instead of
  UNKNOWN.
- Correct a problem with parse_data if binary data was not in full bytes.
- More properly handle uncompressed file sources, fix the creating and
  parsing of Source Directories.
- ExecuteAction runs the whole Execute table and not just from
  InstallValidate onward.  To do this make sure we do not do the
  costing initialization work again if it is already done (by checking
  the CostingComplete Property).
- A lot of work to refine feature states, setting the state affects
  the state of all child features and also respect features that want
  to default to something other than LOCAL.
- Fix a few leaking object handles.
- Correct user component publication.
- Implement MsiEnumComponentQualifiers.
- We have a stub for MsiGetUserInfoA we should use it.
- A few small fixes.
- Add a missing msiobj_release that was resulting in a leaked object
  with each MsiCreateRecord call.
- Fix a leaking handle.
- Make MsiCollectUserInfo more internally consistent.
  Thanks to Mike McCormack.
- Fix a leaking handle in MsiConfigureProductExW.
- Implement MsiGetProductCodeW.
- Implement MsiGetUserInfoW.
- Implement MsiCollectUserInfoA/W.
- Implement MsiQueryFeatureStateW.
- Correct a leaking hkey handle.
- Expand some handling of special properties in MsiGetProductInfo.
- Fix for the return codes for the Qualified component calls. They are
  not INSTALLSTATEs but rather success values.
- Quoting fixes.
Mike McCormack <mike@codeweavers.com>
- Make sure that dialogs are only created and destroyed in a single
  thread.
- Track memory allocations in the SQL parser.
- Create the ORDER BY view in a single call.
- Simplify parsing of the FROM keyword.
- Improve parser error checking.
- Simplify parsing of select query.
- remove the unused utf8 field of an expression
- make the parse result a single assignment at top level of parsing
- abort parsing on a memory allocation failure
- Only tables can be backquoted, strings must be single quoted.
- Declare MsiExportDatabase* in the spec file, and fix a typo.
- make sure to free the string table when closing the database
- don't free szPersist in MsiOpenDatabase if it's not a string
- Avoid some non-standard str functions.
Francois Gouget <fgouget@free.fr>
- Tweak the documentation to make winapi_check happy.
Juan Lang <juan_lang@yahoo.com>
- Don't fail in RegisterFonts if the Fonts table is missing.
- Partially implement AppSearch for RegLocator-type searches.
- Turn handled errors from ERRs to WARNs or TRACEs.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Use SUBLANG_NEUTRAL for French resources.
Stefan Leichter <Stefan.Leichter@camLine.com>
- Update version resource of msi.dll to current version shipped from
  windows update.
- Added minimal implementation of MsiCreateAndVerifyInstallerDirectory.
Marcus Meissner <marcus@jet.franken.de>
- Set PhysicalMemory property from system data.

svn path=/trunk/; revision=15537
2005-05-26 21:55:34 +00:00
Gé van Geldorp
15de547cc6 Sync to Wine-20050524:
Alexander 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.

svn path=/trunk/; revision=15536
2005-05-26 21:15:58 +00:00
Gé van Geldorp
cc65e33b46 Sync to Wine-20050524:
Alexander 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.

svn path=/trunk/; revision=15535
2005-05-26 21:09:49 +00:00
Gé van Geldorp
f4600fe75d Sync to Wine-20050524:
Alexander 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.

svn path=/trunk/; revision=15534
2005-05-26 21:07:55 +00:00
Gé van Geldorp
f4f457d418 Sync to Wine-20050524:
Alexander 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.

svn path=/trunk/; revision=15533
2005-05-26 21:06:20 +00:00
Gé van Geldorp
da5d24be89 Sync to Wine-20050524:
Alexandre Julliard <julliard@winehq.org>
- Removed unnecessary code in the 16-bit DllEntryPoint function of some
  dlls, and also fixed its ordinal in a few places.
- Added rules for building import libraries in the individual dll
  makefiles, and added support for building a .def.a static import
  library too.
- Don't convert the template name to Unicode, it's not used by the
  dialog anyway. Clear the window property on WM_DESTROY.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Use IShellFolder::GetDisplayNameOf instead of SHGetPathFromIDList to
  be able to browse shell namespace extensions.

svn path=/trunk/; revision=15532
2005-05-26 21:02:35 +00:00
Gé van Geldorp
120d7a64b9 Sync to Wine-20050524:
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.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Kouji Sasaki <taro-x@justsystem.co.jp>
- Added handling of WM_ENABLE message.
James Hawkins <truiken@gmail.com>
- Audit the List-View control.
- Select the item under the point (x,y) in MouseHover.
- Store the click point in LISTVIEW_INFO.
- Move mouse tracking to MouseMove.
- Use DragDetect instead of TrackMouse.
- Remove the unused TrackMouse function.
- Fixed centering of tab text.
Dimi Paun <dimi@lattica.com>
- Do not compute the hit test if we don't really need it.
- Make it more explicit how we deal with WS_DISABLED.
Felix Nawothnig <felix.nawothnig@t-online.de>
- Resize listview column to autofit on a doubleclick on the
  header-divider.
- Implemented WM_ENABLE.
- Rewrote item layouting - new code fixes bitmap/image position for
  non-left-aligned text, prevents jumping when resizing non-left-aligned
  text, implements clipping for images and correctly aligns bitmaps when
  an image is already there.
- Set iItem to index before notifying callback items.
Duane Clark <dclark@akamail.com>
- Misc rectangle fixes.
- The date should be initialized from local time.
Aric Stewart <aric@codeweavers.com>
- Handle WM_NCCALCSIZE in the tab control.
Hans Leidekker <hans@it.vu.nl>
- Fix uninitialized warnings.

svn path=/trunk/; revision=15531
2005-05-26 20:52:12 +00:00
Gé van Geldorp
088013d4a4 Sync to Wine-20050524:
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.
Gerold Jens Wucherpfennig <gjwucherpfennig@gmx.net>
- Initial FCI work (FCICreate and FCIDestroy).

svn path=/trunk/; revision=15530
2005-05-26 20:39:17 +00:00
Magnus Olsen
ec4b70a7b6 Fix more bugs in change display. when you press on aply in desk.cpl later on ok you did get change_display fail msg. fix the return code to reboot req. Remove switch statmenet for more that one flags can be send same time. example CDS_TEST + CDS_FULLSCREEN ..... and replace thuse with if statement instead.
svn path=/trunk/; revision=15529
2005-05-26 20:07:10 +00:00
Filip Navara
2d7d796368 Report 16bpp for modes where VBE returns 15bpp.
svn path=/trunk/; revision=15528
2005-05-26 19:58:58 +00:00
Filip Navara
db46d099bc - Revert hacks added by GreatLord in revisons 15521 and 15522.
- Fix mode enumeration code on few places.

svn path=/trunk/; revision=15527
2005-05-26 19:57:54 +00:00
Hartmut Birr
deab50cb8b Protected the handle table.
svn path=/trunk/; revision=15526
2005-05-26 19:22:45 +00:00
Steven Edwards
7d4d22763c work around include_next problem when cross-compiling
svn path=/trunk/; revision=15525
2005-05-26 17:17:29 +00:00
Magnus Olsen
98bc8544de change line 15 from #if DBG to #ifdef DBG
so head builds agein

svn path=/trunk/; revision=15524
2005-05-26 15:53:24 +00:00
Hervé Poussineau
7d9d552b40 Fix compile when DBG is set
svn path=/trunk/; revision=15523
2005-05-26 15:44:04 +00:00
Magnus Olsen
38b2ccb8dd add a commet why 24bits cards fails
and maby other card will fails 
in GetAvailableModes

svn path=/trunk/; revision=15522
2005-05-26 15:15:55 +00:00
Magnus Olsen
c7ae12e813 Fix the problem for 24 bits graphic card.
But it report color deep 15 are supported now. 
it solv the problem. Thanks WaxDragon
Hope filip does like this change. 

svn path=/trunk/; revision=15521
2005-05-26 14:46:23 +00:00
Alex Ionescu
db1bf61e23 Strip files on retail builds and do not send file/section alignment twice
svn path=/trunk/; revision=15520
2005-05-26 13:55:13 +00:00
Alex Ionescu
3f0ddf5160 DEBUG1 on checked only
svn path=/trunk/; revision=15519
2005-05-26 13:53:15 +00:00
Alex Ionescu
6b34120402 make PE loader more lenient with alignment. it could previously not load PEs that I can load on Windows
svn path=/trunk/; revision=15518
2005-05-26 13:52:30 +00:00
Alex Ionescu
ed141bff38 Set non-retail (checked) build as default. Developers should have no reason to use a retail build unless testing a final release version. This also speeds up compilation and reduces the number of compile errors due to developers building with dbg=0 and breaking dbg=1 code. Please do not code with dbg=0 without testing your patches in dbg=1.
svn path=/trunk/; revision=15517
2005-05-26 13:50:52 +00:00
Alex Ionescu
42db7235dc Do not print DPRINT1s on retail builds
svn path=/trunk/; revision=15516
2005-05-26 13:48:55 +00:00
Alex Ionescu
c8a85bc545 Enable and fix NE2000 settings so it works out-of-the-box for QEMU users
svn path=/trunk/; revision=15515
2005-05-26 13:47:21 +00:00
Alex Ionescu
ff1ad3a698 Fix debug messages which previously forced NDEBUG to be off
svn path=/trunk/; revision=15514
2005-05-26 13:45:48 +00:00
Alex Ionescu
1883e277ac Dynamically load and detect iphlpapi. Makes rpcrt4 work on systems without the DLL and also does not force every app on the system to load the network libraries like before
svn path=/trunk/; revision=15513
2005-05-26 13:45:08 +00:00
Alex Ionescu
acec4be2e4 Mark initial loader APIs are INIT_FUNCTION so they can be freed
svn path=/trunk/; revision=15512
2005-05-26 13:44:14 +00:00
Alex Ionescu
45e66d3fce Do not build debug PS function on reatail build
svn path=/trunk/; revision=15511
2005-05-26 13:43:52 +00:00
Alex Ionescu
be4adc56e9 Disable pool debug settings on a retail build and increase speed
svn path=/trunk/; revision=15510
2005-05-26 13:43:13 +00:00
Alex Ionescu
c013c83354 Don't compile ROS-specific tab-debug commands on a retail build
svn path=/trunk/; revision=15509
2005-05-26 13:42:41 +00:00
Alex Ionescu
2e7e95a597 Fix typos in debug messages
svn path=/trunk/; revision=15508
2005-05-26 13:42:07 +00:00
Alex Ionescu
d74a4d1b37 Don't compile pool debug apis on a retail build
svn path=/trunk/; revision=15507
2005-05-26 13:41:46 +00:00
Alex Ionescu
650c785b4a Don't allocate section segments in nonpaged pool
svn path=/trunk/; revision=15506
2005-05-26 13:41:04 +00:00
Alex Ionescu
97db2802cf Fix pool code to actually work when some other defines are used
svn path=/trunk/; revision=15505
2005-05-26 13:40:40 +00:00
Alex Ionescu
9e843895bf Do not allow virtual mem queries > 0x80000000 even if you're from kmode. Remove deprecated debug messages
svn path=/trunk/; revision=15504
2005-05-26 13:39:40 +00:00
Alex Ionescu
16982c81f8 Shut up i8042prt
svn path=/trunk/; revision=15503
2005-05-26 13:36:30 +00:00
Alex Ionescu
e46d7967c7 Don't free heap for string that we don't own
svn path=/trunk/; revision=15502
2005-05-26 13:35:08 +00:00
Maarten Bosma
a897f17cb4 PackageManager
svn path=/trunk/; revision=15501
2005-05-26 10:01:14 +00:00
Gé van Geldorp
b395078e1e Sync to Wine-20050524:
Michael Stefaniuc <mstefani@redhat.de>
- Change the type of 1 bit wide bitfields to unsigned.

svn path=/trunk/; revision=15500
2005-05-26 09:46:02 +00:00
Gé van Geldorp
1149b4b325 Sync to Wine-20050524:
Alexandre Julliard <julliard@winehq.org>
- Free delayed import modules on PROCESS_DETACH.
- Removed no longer used support for 32-bit register entry points.
- Added support in winebuild for specifying import libraries directly on
  the command line without the -l option.
- Changed the -d option to only mark the library as delayed, the actual
  loading is now done separately.
- Generate 16-bit resources in the proper format inside the module data,
  and get rid of the special case for builtins in NE_DefResourceHandler.
- Generate the 16-bit module header in the standard on-disk format, so
  that winebuild doesn't need to know about kernel internal structures.
- Moved the generated code segment for 16-bit builtins inside the module
  structure.
- Get rid of the BUILTIN16_DESCRIPTOR structure and directly register
  the MZ header instead.
- Use RaiseException instead of RtlRaiseException in 16-bit spec files
  since they already depend on kernel32.
- Renamed __wine_(un)register_dll_16 to __wine_dll_(un)register_16 for
  consistency with the 32-bit version, and also make the register
  function use the same prototype as the 32-bit one.
- Use the exported IMAGE_OS2_HEADER to generate the module header in the
  spec file, and moved the NE_MODULE structure definition to
  kernel16_private.h.
- Avoid referencing stackframe.h from outside kernel32.
- Moved data structures for 16-bit relay calls to winbase16.h and
  removed builtin16.h.
- Store the 16-bit stack pointer in the WOW32Reserved TEB field.
- Use RaiseException instead of RtlRaiseException for delayed entry
  points load failure to avoid creating a dependency on ntdll.

svn path=/trunk/; revision=15499
2005-05-26 09:44:59 +00:00
Hervé Poussineau
4f897f671b Fix DPRINT1 messages to display correctly memory ranges
svn path=/trunk/; revision=15498
2005-05-26 06:30:47 +00:00
Gé van Geldorp
d670d4f7e6 Implement sub-allocation of small requests
svn path=/trunk/; revision=15497
2005-05-25 22:36:35 +00:00
Aleksey Bragin
fcb49212d9 Now UHCI HCD driver supports recognizing Memory type of resource. Should help James Tabor's problem (VIA chipset, getting only memory resource as unrecognized, and thus driver failing loading).
svn path=/trunk/; revision=15496
2005-05-25 20:59:13 +00:00
Magnus Olsen
a76329673c New normal curosr by irc:mf
svn path=/trunk/; revision=15495
2005-05-25 14:25:19 +00:00
Alex Ionescu
46dd88ef81 Build usetup and ntoskrnl and winmm in gcc 4.0
svn path=/trunk/; revision=15494
2005-05-25 13:07:27 +00:00
Magnus Olsen
332a72f9b8 Correct bug do not enum other color deep that 8,16,24,32 it will create memmory leek other wise.
in the current code. 

svn path=/trunk/; revision=15493
2005-05-25 09:14:29 +00:00
Alex Ionescu
b09db8ab65 Nonpaged Pool Liberation Day: Allow PagedPool to be used earlier, allow fast mutex to be used earlier on debug builds. Allocate all Se stuff from PagedPool, set the right object types to use paged pool, allocate all strings from paged pool, allocate PE sections from paged pool, and a bunch of other things which should, imo, be in paged pool. If anyone has any contradicting proof, let me know...until then, enjoy ~4-6MB more NonPagedPool
svn path=/trunk/; revision=15492
2005-05-25 04:16:56 +00:00
Alex Ionescu
c1c8137afa Tag the MDL buffer
svn path=/trunk/; revision=15491
2005-05-25 02:20:01 +00:00
Alex Ionescu
007cd2d88a remove debug message
svn path=/trunk/; revision=15490
2005-05-25 01:49:50 +00:00
Magnus Olsen
4f7ea2284f Add 24bits mode strings
hope it fix qemu 

svn path=/trunk/; revision=15489
2005-05-25 00:04:12 +00:00
Alex Ionescu
53db168c0d Fix Tag Usage
svn path=/trunk/; revision=15487
2005-05-24 21:32:47 +00:00
Alex Ionescu
1d899ce8b3 Fix memory leaks in object manager, use tags and use some more public types
svn path=/trunk/; revision=15486
2005-05-24 21:21:34 +00:00
Alex Ionescu
ef8d82998d Fix DHCP from crashing, silence tcp and iphlp
svn path=/trunk/; revision=15485
2005-05-24 21:04:44 +00:00
Magnus Olsen
d92b106774 ChangeDisplay
1. Add debug msg
2. Corrent some return value for CDS_UPDATEREGISTRY
3. Remove #ifdef CDS_VIDEOPARAMETERS  


svn path=/trunk/; revision=15484
2005-05-24 19:52:43 +00:00
Magnus Olsen
d3f81ff12b add CDS_VIDEOPARAMETERS for changedisplay setting it was mising in our include files
svn path=/trunk/; revision=15483
2005-05-24 18:42:54 +00:00
Magnus Olsen
06a280398f VBE driver never write which reslutions it should use as defualt
therefor the change resultions did not working on bootcd 
do not remove this settings. from the reg. 
Thanks

svn path=/trunk/; revision=15482
2005-05-24 14:14:40 +00:00
Hervé Poussineau
d3881cf0ae Add ReactOS version at the start of the debug log
svn path=/trunk/; revision=15481
2005-05-23 20:31:53 +00:00
Hervé Poussineau
4ad1699bf6 Write keyboard identifier in right registry key
svn path=/trunk/; revision=15480
2005-05-23 19:30:22 +00:00
James Tabor
a1b9addb33 I give up! I fix the rest of the headers later.
svn path=/trunk/; revision=15479
2005-05-23 19:17:36 +00:00
James Tabor
15e364a635 Fixup sysinfo.c SystemProcessInfo header.
svn path=/trunk/; revision=15478
2005-05-23 18:59:21 +00:00
James Tabor
78d9f19627 Update include header and update waitreason list.
svn path=/trunk/; revision=15477
2005-05-23 17:13:23 +00:00
Magnus Olsen
ab215aa2bf 1. remove all hardcode strings to En.rc
2. make it unicode and anis 

svn path=/trunk/; revision=15476
2005-05-23 16:48:22 +00:00
Hervé Poussineau
d920c40eee Revert 15473 and 15474 as Alex doesn't like them
svn path=/trunk/; revision=15475
2005-05-23 08:50:29 +00:00
Hervé Poussineau
cc7ba13666 Add ReactOS version at the start of the debug log
svn path=/trunk/; revision=15474
2005-05-23 05:20:39 +00:00
Hervé Poussineau
58ba3012c1 Remove some debug messages at boot
svn path=/trunk/; revision=15473
2005-05-23 05:00:22 +00:00
James Tabor
336ae48375 Revert DPRINT1.
svn path=/trunk/; revision=15472
2005-05-22 22:12:12 +00:00
Hervé Poussineau
1da69bf5f7 Fix compile error when NDEBUG is not set
svn path=/trunk/; revision=15471
2005-05-22 22:04:57 +00:00
Hartmut Birr
8b6398a0e3 ObInsertObject must always return STATUS_OBJECT_NAME_COLLISION if an object with the same name exist.
svn path=/trunk/; revision=15470
2005-05-22 16:48:30 +00:00
Hartmut Birr
4eba3d8e71 Don't create the media change event as named object.
svn path=/trunk/; revision=15469
2005-05-22 16:44:36 +00:00
Emanuele Aliberti
5b45accaef svn propset {keyword, eol-type}
svn path=/trunk/; revision=15468
2005-05-22 16:10:10 +00:00
Emanuele Aliberti
6481ed1ea7 SM: change the way sessions are managed.
(it may be buggy)

svn path=/trunk/; revision=15467
2005-05-22 15:54:15 +00:00
James Tabor
f4e960c324 This is a CompareStringW hack to get (7z313.exe /Q) to install. If anyone else has a better way, go for it!
svn path=/trunk/; revision=15466
2005-05-22 12:29:10 +00:00
Eric Kohl
f564f62205 IoRegisterDeviceInterface: Create nested keys one-by-one.
svn path=/trunk/; revision=15465
2005-05-21 19:00:42 +00:00
Eric Kohl
2455ef0040 Add DeviceClasses key.
svn path=/trunk/; revision=15464
2005-05-21 17:49:58 +00:00
Aleksey Bragin
4c338fffcf Added russian translations for libs: mpr, msacm, msi, oledlg, shdocvw.
Thanks to: Mikhail Zvyzdochkin, Dmitry Phlilippov.

svn path=/trunk/; revision=15463
2005-05-21 17:26:59 +00:00
Hartmut Birr
0c4da041a5 Set STATUS_SUCCESS instead of STATUS_PIPE_CONNECTED in NpfsSignalAndRemoveListeningServerInstance.
svn path=/trunk/; revision=15462
2005-05-21 17:05:38 +00:00
Hartmut Birr
744548fc6a Revert to rev 15172.
svn path=/trunk/; revision=15461
2005-05-21 17:02:38 +00:00
Martin Fuchs
a62f884b0b - fixed for FOR _NO_EXTENSIONS mode
- implement ID_VIEW_SPLIT command

svn path=/trunk/; revision=15460
2005-05-21 16:45:50 +00:00
Hervé Poussineau
fb4635393e Remove some debug messages at boot (DPRINT1 changed to DPRINT)
SVN maintenance in ntoskrnl/ex/: set svn:eol-style and svn:keywords properties

svn path=/trunk/; revision=15459
2005-05-21 16:33:23 +00:00
Hervé Poussineau
d7e937747c Open file with FILE_SHARE_READ in LdrLoadModule
svn path=/trunk/; revision=15458
2005-05-21 15:49:48 +00:00
Hartmut Birr
ca088cc13c Don't interpret STATUS_PIPE_CONNECTED as error.
svn path=/trunk/; revision=15457
2005-05-21 13:39:09 +00:00
Thomas Bluemel
991909bc42 minor optimization
svn path=/trunk/; revision=15456
2005-05-21 12:57:34 +00:00
Eric Kohl
4b4c510e04 Implement ConcatenatePaths and MyGetFileTitle.
svn path=/trunk/; revision=15455
2005-05-21 12:23:07 +00:00
Hartmut Birr
385055dd76 Terminate the process on exit in NtProcessStartup.
svn path=/trunk/; revision=15454
2005-05-21 12:21:30 +00:00
Hartmut Birr
69350ef25a Free all allocated memory in ObpDeleteObject.
svn path=/trunk/; revision=15453
2005-05-21 12:19:26 +00:00
Hartmut Birr
40f2f130a0 Free the capture buffer in ObReferenceObjectByName.
svn path=/trunk/; revision=15452
2005-05-21 12:11:54 +00:00
Hartmut Birr
0eeb5caed9 Set the flag FO_DIRECT_DEVICE_OPEN after the call to IoCreateStreamFileObject in IoCreateFile.
svn path=/trunk/; revision=15451
2005-05-21 12:08:46 +00:00
James Tabor
f10f1f0548 Fix ups and Clean ups.
svn path=/trunk/; revision=15450
2005-05-21 11:29:53 +00:00
Aleksey Bragin
a8779d96c8 Enable built-in debug messages usage (via CONFIG_USB_DEBUG)
svn path=/trunk/; revision=15449
2005-05-21 08:44:40 +00:00
Martin Fuchs
a47cb4260c add explorer-cz.rc to textinclude section
svn path=/trunk/; revision=15448
2005-05-21 07:35:03 +00:00
James Tabor
b8102f68c3 Added Usb cromwell to build system.
svn path=/trunk/; revision=15447
2005-05-21 02:00:52 +00:00
James Tabor
1c7838cc35 Fixups.
svn path=/trunk/; revision=15446
2005-05-21 01:57:38 +00:00
James Tabor
6120955e45 Added PKEVENT to init_waitqueue_head.
svn path=/trunk/; revision=15445
2005-05-21 01:53:53 +00:00
James Tabor
d88e7782d0 Added PKEVENT to wake_up.
svn path=/trunk/; revision=15444
2005-05-21 01:39:32 +00:00
James Tabor
4f7a419fcc Clean up end of line.
svn path=/trunk/; revision=15443
2005-05-21 01:34:50 +00:00
James Tabor
3a9cdf8c34 Added libusbcore.a to makefile
svn path=/trunk/; revision=15442
2005-05-21 01:21:29 +00:00
Hervé Poussineau
8d1c8a184f Fix bus pointer for initial device
svn path=/trunk/; revision=15441
2005-05-20 22:31:55 +00:00
Hervé Poussineau
b2eee5bb0e SVN maintenance:
Set svn:eol-style and svn:keywords for files
Set svn:ignore for directories

svn path=/trunk/; revision=15440
2005-05-20 21:53:08 +00:00
Hervé Poussineau
e277f853b7 Modify some pci_hal funcs, fix obvious errors in code
svn path=/trunk/; revision=15439
2005-05-20 21:43:57 +00:00
Magnus Olsen
b8171c1fd9 Implement same behavor for cd * as ms cmd cd *
Left to implement is /D options for cd then it is same level as ms win2k cmd cd 

En.rc
Fix a options error for cd it did say cd -, but it it is cd .

svn path=/trunk/; revision=15438
2005-05-20 21:33:49 +00:00
Casper Hornstrup
8a4a3a4cb1 Support alternate name for hooked function
svn path=/branches/xmlbuildsystem/; revision=15437
2005-05-20 19:07:23 +00:00
Hartmut Birr
750d4fd13f - Create always the output file. If no debug section exist, do not create a rossym section.
svn path=/trunk/; revision=15436
2005-05-20 18:15:44 +00:00
Casper Hornstrup
19e160bf46 Don't echo executable name of test
svn path=/branches/xmlbuildsystem/; revision=15435
2005-05-20 15:15:19 +00:00
Casper Hornstrup
d04bf21da0 Implement 'make test'
svn path=/branches/xmlbuildsystem/; revision=15434
2005-05-20 15:12:32 +00:00
Casper Hornstrup
892a2cc592 Optimize SourceFile::ReadInclude
svn path=/branches/xmlbuildsystem/; revision=15433
2005-05-20 14:55:15 +00:00
Magnus Olsen
67c71ced7c Add new thing to cd.
Make cd pr* working

svn path=/trunk/; revision=15432
2005-05-20 12:55:09 +00:00
Art Yerkes
4a15530e10 Turned on -Werror
Propogate AdapterBinding rather than LogicalAdapter or MiniportBlock in places
where we handle a request since we might need the protocol that did the request
later on, get rid of LogicalAdapter completely as according to Filip, it's 
never needed.

Also, remove the Packet context hack in send complete if possible as this is
now unnecessary (we now send all needed information in the work item instead).

MiniQueueWorkItem, MiniDequeueWorkItem and MiniDoRequest were all changed to
take an AdapterBinding.
Added MiniRequestComplete, which handles a request complete.

Fixed hang in ipconfig and the tcpip control panel.

svn path=/trunk/; revision=15429
2005-05-20 08:06:27 +00:00
Filip Navara
188f2022f6 Lukáš "denzil" Frolka <d3nzil@gmail.com>
Czech translation of Explorer (some settings dialogs are still untranslated).

svn path=/trunk/; revision=15428
2005-05-20 06:21:01 +00:00
Steven Edwards
7fb3ebb9f9 move the rest of the alread defined tags to the private tag.h
svn path=/trunk/; revision=15427
2005-05-20 04:33:47 +00:00
Steven Edwards
3354ce28a8 started moving tags to a private internal header
svn path=/trunk/; revision=15426
2005-05-20 03:50:13 +00:00
Hervé Poussineau
50752743f5 Remove some debug messages at boot
svn path=/trunk/; revision=15425
2005-05-20 02:46:26 +00:00
Hervé Poussineau
1367527014 IopAssignDeviceResources():
Fix translated resource list for I/O ports and memory ranges
Fix raw resource list for interrupts

svn path=/trunk/; revision=15424
2005-05-20 02:37:51 +00:00
Phillip Susi
027e2bfa3a Removed invalid . from path in this usetup ini file as a temporary fix. Next step is to remove the darn ini file entirely
svn path=/trunk/; revision=15423
2005-05-20 02:21:53 +00:00
Steven Edwards
45d8d84765 adjust case on a header. Sorry Windows users. Do not use mixed case filenames.
svn path=/trunk/; revision=15422
2005-05-20 02:19:00 +00:00
Hervé Poussineau
6261f48b99 Set BusNumber and SlotNumber in resource requirements list
svn path=/trunk/; revision=15421
2005-05-20 01:54:10 +00:00
Hervé Poussineau
e34387f9c2 Remove some debug messages at boot
svn path=/trunk/; revision=15420
2005-05-20 01:10:00 +00:00
Hervé Poussineau
79361fcb93 Remove some debug messages at boot
svn path=/trunk/; revision=15419
2005-05-20 01:08:37 +00:00
Hervé Poussineau
725a500778 Set svn:keywords and svn:eol-style properties
Change some DPRINT1 to DPRINT in bug.c, clock.c, gate.c

svn path=/trunk/; revision=15418
2005-05-20 00:47:16 +00:00
Alex Ionescu
b1274d7f85 Ensure success
svn path=/trunk/; revision=15417
2005-05-20 00:17:35 +00:00
Alex Ionescu
04f9bb0465 Fix one of the added hacks. ObpCreateHAndle not exported anymore, and win32k now duplicates the handle nicely (Also faster since we don't have to attach/detach to csr anymore
svn path=/trunk/; revision=15416
2005-05-19 23:26:56 +00:00
Hervé Poussineau
026d788dcc IoGetDeviceProperty():
Fix DevicePropertyEnumeratorName
Implement DevicePropertyPhysicalDeviceObjectName

svn path=/trunk/; revision=15415
2005-05-19 22:04:45 +00:00
Hervé Poussineau
2e828da9a2 Don't create a new DriverObject if one is already existing
svn path=/trunk/; revision=15414
2005-05-19 22:02:34 +00:00
Casper Hornstrup
083a71c9f2 Option to disable automatic dependencies
svn path=/branches/xmlbuildsystem/; revision=15413
2005-05-19 19:53:01 +00:00
Steven Edwards
2342aee312 Watch the case damnit. Sorry Windows users
svn path=/branches/xmlbuildsystem/; revision=15412
2005-05-19 19:00:37 +00:00
Casper Hornstrup
72053cbd18 Don't put modules in project root to avoid overwriting the top-level makefile with a proxy makefile
svn path=/branches/xmlbuildsystem/; revision=15411
2005-05-19 18:38:04 +00:00
Magnus Olsen
765b83b774 Fix CD bug for
CD "program files"
cd did only working with CD program files 
now it support ""

svn path=/trunk/; revision=15410
2005-05-19 15:32:22 +00:00
Alex Ionescu
2df4b9dc13 Unnamed objects do not have a base directory.
svn path=/trunk/; revision=15409
2005-05-19 05:26:35 +00:00
Art Yerkes
1e16c56cc3 Don't free this MDL. The I/O manager now does it for us.
svn path=/trunk/; revision=15408
2005-05-19 03:36:20 +00:00
Alex Ionescu
e1553447e9 Don't free io completion packet twice
svn path=/trunk/; revision=15407
2005-05-19 03:24:43 +00:00
Art Yerkes
29d29f5ff5 Corrected uninitialized timeout variable. Will be needed later when ARP calls
are present in iphlpapi.

svn path=/trunk/; revision=15406
2005-05-19 02:53:52 +00:00
Alex Ionescu
f39cc83ebf fix boot on vmware
svn path=/trunk/; revision=15405
2005-05-19 01:58:24 +00:00
Alex Ionescu
c6eb354e8b fix compiling
svn path=/trunk/; revision=15404
2005-05-19 01:46:49 +00:00
Phillip Susi
5d4d912efd Rewrote usetup's file copy and cabinet extraction code to use memory mapped files
This increased performance and the code is cleaner
Still needs a bit more cleaning up, but so far, looks good, needs some testing



svn path=/trunk/; revision=15403
2005-05-19 00:59:40 +00:00
Hervé Poussineau
7403e34ca9 Basic resources device allocation (doesn't prevent conflicts)
Send allocated resources in IRP_MN_START_DEVICE

svn path=/trunk/; revision=15402
2005-05-18 22:05:11 +00:00
Hervé Poussineau
3e43a2215b Use translated resources list to get informations about interrupt
svn path=/trunk/; revision=15401
2005-05-18 21:48:41 +00:00
Alex Ionescu
3d90c8bdad Revert accidental commit
svn path=/trunk/; revision=15400
2005-05-18 21:28:12 +00:00
Hervé Poussineau
4507d7ac14 Implement IRP_MN_QUERY_RESOURCE_REQUIREMENTS
svn path=/trunk/; revision=15399
2005-05-18 21:23:54 +00:00
Magnus Olsen
7646e46a35 Swdish translations by irc:anders1 proofread by Andreas Bjerkeholt, Wacko and by Me (GreatLord)
svn path=/trunk/; revision=15398
2005-05-18 20:19:22 +00:00
Magnus Olsen
4cb823eb9e Swdish translations by irc:anders1 proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=15397
2005-05-18 19:58:27 +00:00
Magnus Olsen
f9b7791ad3 Swdish translations by irc:anders1 proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=15396
2005-05-18 19:46:40 +00:00
Alex Ionescu
00fe79ff10 Object Manager Patch. This patch continues the work done in the previous patch and makes the following changes in order to support OB 2.0 (it basically temporarily fixes a highly incorrect implementation so that caller code will be ready to work with the OB 2.0 without change):
1) The documented Object Create Information Structure and semantics implemented. All Object Attributes and passed data from user-mode is now probed and saved into this object create structure when ObCreateObject is called.
2) ObCreateObject does NOT PERFORM ANY OTHER OPERATION EXCEPT CREATING THE OBJECT ANYMORE. ObCreateObject will NOT insert the Object into the tree and other operations. These are now done correctly by ObInsertObject. Therefore, the biggest hurdle was changing pieces of code which assumed ObCreateObject would be enough.
3) ObInsertObject uses the captured create info for all operations isntead of the Object Attributes.
4) ObFindObject now uses the captured info as well.
5) The OBject name and directory are now stored in the documented Object Name Information, always allocated and freed from non paged pool.

HACKS:
5) Because the registry code is horribly broken and doesn't use ObFindObjectByName, the old ObFindObject had to be temporarily duplicated into CmpFindObject.
7) Win32k used ObInsertObject in CsrInsertObject as a way to create a handle inside csrss. However, OBInsertObject now does more then this. As a temporary hack, ObpCreateHandle is exported from the kernel and called from win32k. A fix needs to be done for this, but I don't know the design of win32k+csrss well enough to find a solution.
8) SEH has been commented out in some places of the new probing code because it breaks smss and explorer. These need to be investigated (seh did not exist in the previous code, so this is not really a hack)
9) Named objects with a parent directory are NOT allowed. However because of bugs in kernel32, the new check has been temporarily disabled. (this check did not exist in the previous code, so this is not really a hack)

The next patch will add a proper ObFindObject which will support a more complete Parse Procedure with context and security information. This is needed for proper registry access (requested by Eric Kohl) and for proper functionality of the Desktop/File creation, which should use the Parse routine, and not the Create Handle Routine. This will also make it possible to remove some previous hacks and pave the way for a fixed Iop/IoCreateFile

svn path=/trunk/; revision=15395
2005-05-18 19:26:47 +00:00
Alex Ionescu
dfedb99675 Prettify usetup a bit, show a warranty page before continuing installation (not a license agreement, simply a message stating this is a beta foss product with no warranty), make progressbars have a double border and change the copy file dialog a bit. Also changed setupldr and ntoskrnl to have a more unified text-mode look/appearance when installing. The effect is really nice and the blue screen with gray status-bar appears as soon as the CD boots and takes you all the way to usetup without any breakages or black/blue/black/blue fades and confusing messages. Also, fixed ntoskrnl not to break into KDBG if /NODEBUG is set.
svn path=/trunk/; revision=15394
2005-05-18 19:08:00 +00:00
Alex Ionescu
474cd6a3e3 Fix usetup. This hack needs to remain even though it's incorrect since it's what ROS expects. I am working on rewriting IoCreateFile so these hacks can go away. Please do not remove it
svn path=/trunk/; revision=15392
2005-05-18 17:17:34 +00:00
Magnus Olsen
baed69574e Fix unicode / ansi build problem for -D_DEBUG build
a old bug in cmd. 
Bug report 629 in bugzila 
fix by tinus and his patch at bugzila


 

svn path=/trunk/; revision=15390
2005-05-17 21:18:04 +00:00
Alex Ionescu
a04f8e62fe Implement mouse packet timeout. Fixes right-click menu appearing incorrectly on qemu if debuggins is used. Patch by Tinus
svn path=/trunk/; revision=15389
2005-05-17 20:51:39 +00:00
Alex Ionescu
e3757a0fb1 make cabman report error when file doesnt exist. Patch by Usurp
svn path=/trunk/; revision=15388
2005-05-17 20:43:27 +00:00
Hartmut Birr
e3ac1e89d5 Fixed rsym for executables without any debug informations.
svn path=/trunk/; revision=15387
2005-05-17 20:28:57 +00:00
Alex Ionescu
2e000e7b38 Sorry for the nonatomic commit
svn path=/trunk/; revision=15386
2005-05-17 19:16:21 +00:00
Alex Ionescu
437e9f05fc Sorry for the nonatomic commit
svn path=/trunk/; revision=15383
2005-05-17 19:06:59 +00:00
Alex Ionescu
fe3de87064 Share NtDevice/FsIoControlFile, fixes NtFsControlFile to have same functionality as NtDev...
svn path=/trunk/; revision=15382
2005-05-17 19:04:57 +00:00
Hartmut Birr
7efa574035 - Reference the file object in IopSecurityFile.
- Don't set FO_DIRECT_DEVICE_OPEN in IoCreateStreamFileObject.  
- Disabled the setting of IRP_NOCACHE, because vfat cannot handle cached and non cached requests for the same file.  
- Set the correct device object in NtWriteFile.


svn path=/trunk/; revision=15381
2005-05-17 19:00:12 +00:00
Alex Ionescu
1612126bbb Fix bug in memory mapping which caused large applications to BSOD the system. Abiword setup now works and other large apps should be fixed as well
svn path=/trunk/; revision=15380
2005-05-17 18:04:23 +00:00
Hervé Poussineau
7e68975e35 Don't empty the DriverObject extension if it is already initialized and filled
svn path=/trunk/; revision=15379
2005-05-17 17:39:50 +00:00
Casper Hornstrup
ca46632061 Enable warnings
svn path=/branches/xmlbuildsystem/; revision=15378
2005-05-17 17:28:40 +00:00
Casper Hornstrup
e8fbafa083 Disable -O2
svn path=/branches/xmlbuildsystem/; revision=15377
2005-05-17 17:19:10 +00:00
Magnus Olsen
9c34575fb2 Dorp last sync with wine and userhook
Before we can sync with wine we need to rewrite the enum 
and reg of device so it working fine in reactos and windows.

Add svn rev 15043 + only userhooks for the mouse
at last the mouse are working in tribles windows mode
but in full screen it is bit chopy. Not tested tribles 
in reactos with the new code. 







svn path=/trunk/; revision=15376
2005-05-17 15:20:24 +00:00
Magnus Olsen
db5b39ab3f fix a small bug in dinput the last sync with wine did not go well
still some bugs left

svn path=/trunk/; revision=15375
2005-05-17 12:30:52 +00:00
Casper Hornstrup
cb0e7b1029 Build sm
svn path=/branches/xmlbuildsystem/; revision=15371
2005-05-17 06:17:35 +00:00
Magnus Olsen
a5726f4420 Drop GDI version of dinput complete and add user hook version of dinput
keyboard.c thx GvG for finding the problem in reactos with user hook and implement userhook

mouse.c keep one gdi stuff left but rewrite it to userhook poll mouse 
poll mouse need to be rewrite so it fix last bug for user hook it is it move the mouse to another locations but it should 
stand still. when it insate. then we can share the code with wine 

svn path=/trunk/; revision=15358
2005-05-16 20:42:36 +00:00
Magnus Olsen
86d573abdf drop Keyboard.c gdi version
svn path=/trunk/; revision=15357
2005-05-16 20:36:26 +00:00
Aleksey Bragin
07f2451e95 One more fix to resource DPRINTs, now they are correct, for each resource.
svn path=/trunk/; revision=15349
2005-05-16 19:24:15 +00:00
Aleksey Bragin
c9c8f865f2 Changed Memory to Port resource, also fixed incorrect DPRINT (thanks to hpoussin!)
svn path=/trunk/; revision=15348
2005-05-16 19:12:48 +00:00
Hervé Poussineau
903edc501a Don't send multiple IRP_MJ_PNP/IRP_MN_START_DEVICE in case of a device with lower/upper filters
svn path=/trunk/; revision=15347
2005-05-16 18:08:55 +00:00
Hervé Poussineau
d0ea6a10df Define interrupt resource as required
svn path=/trunk/; revision=15345
2005-05-16 17:19:10 +00:00
Hervé Poussineau
4cb90117fa Report memory and I/O ranges even if they are not the first reported resources by PCI device
svn path=/trunk/; revision=15344
2005-05-16 15:56:01 +00:00
Casper Hornstrup
c3bfe63c19 Correct entry point of win32k.sys
svn path=/branches/xmlbuildsystem/; revision=15340
2005-05-16 12:34:01 +00:00
Casper Hornstrup
3d5d32ed36 Merge 15268:15329 from trunk
svn path=/branches/xmlbuildsystem/; revision=15339
2005-05-16 12:32:10 +00:00
Casper Hornstrup
5673e6c39d Enable warnings
svn path=/branches/xmlbuildsystem/; revision=15338
2005-05-16 12:18:02 +00:00
Casper Hornstrup
0a8ee28a63 Do automatic dependency checking for pre-compiled header files
svn path=/branches/xmlbuildsystem/; revision=15337
2005-05-16 11:41:54 +00:00
Maarten Bosma
b5f744a25a PackageManager
svn path=/trunk/; revision=15336
2005-05-16 11:14:04 +00:00
Gé van Geldorp
9190f5135f Support partition-less disks
svn path=/trunk/; revision=15334
2005-05-16 11:06:57 +00:00
Maarten Bosma
ca8a9b2dff PackageManger: Globle Makefile
svn path=/trunk/; revision=15333
2005-05-16 11:04:21 +00:00
Maarten Bosma
0b6d2a809b PackageManager: German Translation and CreateOptions()
svn path=/trunk/; revision=15332
2005-05-16 10:53:46 +00:00
Casper Hornstrup
42715b124a Allow warnings
svn path=/branches/xmlbuildsystem/; revision=15331
2005-05-16 10:30:13 +00:00
Alex Ionescu
3d2c746433 Fix win32k. For real. I swear.
svn path=/trunk/; revision=15330
2005-05-16 00:52:43 +00:00
Alex Ionescu
0139f35fc0 Fix win32k
svn path=/trunk/; revision=15329
2005-05-16 00:38:44 +00:00
Casper Hornstrup
c6947c142e Add missing file
svn path=/branches/xmlbuildsystem/; revision=15328
2005-05-16 00:02:09 +00:00
Casper Hornstrup
82acb7297a Depend on generated RPC headers
svn path=/branches/xmlbuildsystem/; revision=15327
2005-05-15 23:43:28 +00:00
Alex Ionescu
6b86cb4406 Fix build, clean up headers, add public stuff to public headers
svn path=/trunk/; revision=15326
2005-05-15 23:24:11 +00:00
Casper Hornstrup
6208798644 Remove unused file
svn path=/branches/xmlbuildsystem/; revision=15325
2005-05-15 22:13:08 +00:00
Casper Hornstrup
4a429cdae4 Build and run tests
svn path=/branches/xmlbuildsystem/; revision=15324
2005-05-15 22:07:07 +00:00
Emanuele Aliberti
6a7f1b10c5 Make gcc 3.4.2 compile.
svn path=/trunk/; revision=15323
2005-05-15 21:41:22 +00:00
Emanuele Aliberti
468b7ba0f2 Correct a comment.
svn path=/trunk/; revision=15322
2005-05-15 21:39:10 +00:00
Gé van Geldorp
83deefac8c Handle case where a directory contains a '." but the
filename doesn't (i.e. has no extension)

svn path=/trunk/; revision=15321
2005-05-15 21:28:44 +00:00
Magnus Olsen
52b95ec424 change from atoi to sprintf
linux does not support itoa 

svn path=/trunk/; revision=15320
2005-05-15 21:11:37 +00:00
Alex Ionescu
19ea176f6d Properly create the Object Type Type and remove previous hacks added
svn path=/trunk/; revision=15319
2005-05-15 19:40:57 +00:00
Gé van Geldorp
d02a50d521 Don't let msvcrt import itself and fix the resulting problems
svn path=/branches/xmlbuildsystem/; revision=15318
2005-05-15 18:10:51 +00:00
Alex Ionescu
cf6037ee37 Make Object Type creation compatible with OB 2.0 from the caller's point of view. Use real structures for Object Type and ObjectType Initializer. Added two more hacks that I'll remove in the next commit
svn path=/trunk/; revision=15317
2005-05-15 17:59:33 +00:00
Casper Hornstrup
fa1312ce09 Generate proxy makefiles
svn path=/branches/xmlbuildsystem/; revision=15315
2005-05-15 15:56:06 +00:00
Casper Hornstrup
1c116b83ca Remove unused file
svn path=/branches/xmlbuildsystem/; revision=15314
2005-05-15 15:51:58 +00:00
Casper Hornstrup
a7b4b8b3ec Install rpcrt4.dll, samlib.dll, and setup.exe
svn path=/branches/xmlbuildsystem/; revision=15313
2005-05-15 14:30:35 +00:00
Casper Hornstrup
64b6731731 Overwrite registry only if the source files change
svn path=/branches/xmlbuildsystem/; revision=15312
2005-05-15 14:18:45 +00:00
Hartmut Birr
523c60c5d5 Don't push an already freed irp to the list (in IoFreeIrp).
svn path=/trunk/; revision=15311
2005-05-15 13:59:57 +00:00
Casper Hornstrup
7a812470b6 Re-insert makefile code for non-DLLs which was removed by accident
svn path=/branches/xmlbuildsystem/; revision=15310
2005-05-15 13:57:03 +00:00
Casper Hornstrup
01e18d413a Install explorer.exe in C:\WINDOWS
svn path=/branches/xmlbuildsystem/; revision=15309
2005-05-15 13:21:54 +00:00
Casper Hornstrup
dff44c9f17 Support modules with no base install directory
svn path=/branches/xmlbuildsystem/; revision=15308
2005-05-15 13:20:45 +00:00
Martin Fuchs
f6b3f734ac refresh available drive bar buttons after connecting to network drives or activating manual refresh
svn path=/trunk/; revision=15307
2005-05-15 12:13:17 +00:00
Casper Hornstrup
93b4d98160 Install .inf files in C:\WINDOWS\inf
svn path=/branches/xmlbuildsystem/; revision=15306
2005-05-15 12:06:12 +00:00
Casper Hornstrup
72dcc562ad Don't rename c_437.nls, c_1252.nls, and l_intl.nls on installation
svn path=/branches/xmlbuildsystem/; revision=15305
2005-05-15 12:04:02 +00:00
Casper Hornstrup
9017f3f4f6 Generate hooks and stubs for tests
svn path=/branches/xmlbuildsystem/; revision=15304
2005-05-15 11:58:48 +00:00
Martin Fuchs
d008691568 use the correct ids in options menu
svn path=/trunk/; revision=15303
2005-05-15 11:46:20 +00:00
Martin Fuchs
ba43f28c68 fix for window refresh in shell mode
svn path=/trunk/; revision=15302
2005-05-15 11:10:32 +00:00
Magnus Olsen
f20d4d059e Partiy implement long filename support
example filefilefile.txt can store now with cdmake
but not filefilefiles.txt have not check why it say not a iso9660 name 


svn path=/trunk/; revision=15301
2005-05-15 10:33:33 +00:00
Martin Fuchs
ac178266c3 ugly macro hack to use alloca() while keeping Wine's developers happy
svn path=/trunk/; revision=15300
2005-05-15 09:55:56 +00:00
Gé van Geldorp
c141408f1d user32 is becoming a big boy, give it some more space
svn path=/branches/xmlbuildsystem/; revision=15299
2005-05-15 09:41:00 +00:00
Gé van Geldorp
a0b63f65da Work around broken binutils which creates relocation
entries for the Export Table.

svn path=/branches/xmlbuildsystem/; revision=15298
2005-05-15 09:38:53 +00:00
Hervé Poussineau
5cec531950 Open port before sending IOCTLs
svn path=/trunk/; revision=15297
2005-05-15 09:30:25 +00:00
Hervé Poussineau
e1aa22c032 Correct implementation of IOCTL_SERIAL_SET_BAUD_RATE
Don't test FileObject in IRP_MJ_CREATE as it may be not valid

svn path=/trunk/; revision=15296
2005-05-15 09:29:30 +00:00
Gé van Geldorp
b7d6b92188 Remove local definitions for stuff which is now
present in our headers

svn path=/trunk/; revision=15295
2005-05-15 08:30:35 +00:00
Magnus Olsen
efe2391a80 fix uninitialized waring so gcc 3.4.3 can compile it
svn path=/trunk/; revision=15294
2005-05-15 06:49:01 +00:00
Alex Ionescu
036efb7e10 Removed incorrect Create/DuplicationNotify callbacks and replaced by a more correct Open callback which is what a windows driver would get. This is needed because of some changes I'm trying to make to get Parse routines to work properly, so I had to add two hacks for now, they will be removed within 2-3 commits
svn path=/trunk/; revision=15293
2005-05-15 04:56:52 +00:00
Casper Hornstrup
982dce03b5 Generate files for host zlib in object and output directories
svn path=/branches/xmlbuildsystem/; revision=15292
2005-05-14 22:55:21 +00:00
Gé van Geldorp
133454688d Don't include standard startup code
svn path=/branches/xmlbuildsystem/; revision=15291
2005-05-14 21:35:54 +00:00
Magnus Olsen
63d3f7d1a8 fix Warining msg used uninitialized for gcc 3.4.3
svn path=/trunk/; revision=15290
2005-05-14 20:57:23 +00:00
Martin Fuchs
34a8e38b0f add some additional translated czech strings from Wine
svn path=/trunk/; revision=15289
2005-05-14 20:07:51 +00:00
Martin Fuchs
d642e38ba1 rename czech resource file to sync wih Wine's filename
svn path=/trunk/; revision=15288
2005-05-14 19:58:30 +00:00
Martin Fuchs
6ebb2ab38d add polish resource file
svn path=/trunk/; revision=15286
2005-05-14 19:16:44 +00:00
Martin Fuchs
43e61f63ab fix Wine version of sort order switching
svn path=/trunk/; revision=15285
2005-05-14 19:16:24 +00:00
Gé van Geldorp
2832134fbc Implement WH_MOUSE_LL hook
svn path=/trunk/; revision=15284
2005-05-14 19:09:02 +00:00
Martin Fuchs
c7e747c1fa implement switching of file sort order
svn path=/trunk/; revision=15283
2005-05-14 18:57:07 +00:00
Magnus Olsen
dfc6fbe27e Activate serial mouse for livecd
now it support both ps2 and serial mouse

svn path=/trunk/; revision=15282
2005-05-14 18:04:53 +00:00
Gé van Geldorp
c1557a2be1 Present for GreatLord:
Implement WH_KEYBOARD_LL hook

svn path=/trunk/; revision=15281
2005-05-14 18:03:31 +00:00
Casper Hornstrup
e44380e9a3 Extract WINE resources at compile-time
svn path=/branches/xmlbuildsystem/; revision=15280
2005-05-14 17:57:31 +00:00
Casper Hornstrup
1732348d39 Only pass GCC specific options to GCC
svn path=/branches/xmlbuildsystem/; revision=15279
2005-05-14 15:07:11 +00:00
Casper Hornstrup
f326ceb70f Merge r15277 to trunk
svn path=/trunk/; revision=15278
2005-05-14 14:14:01 +00:00
Casper Hornstrup
91c4967ba6 Compile with DBG=1
svn path=/branches/xmlbuildsystem/; revision=15277
2005-05-14 14:08:31 +00:00
Emanuele Aliberti
4954251a04 distribute the sm system utility even if it does little now
svn path=/trunk/; revision=15276
2005-05-14 13:57:55 +00:00
Emanuele Aliberti
e6b395d0e7 compile the sm system utility
svn path=/trunk/; revision=15275
2005-05-14 13:43:55 +00:00
Emanuele Aliberti
e70c95d52f Little fix to compile with gcc 3.4.2
svn path=/trunk/; revision=15274
2005-05-14 12:54:53 +00:00
Casper Hornstrup
9d474ab0bd Merge 14981:15268 from trunk
svn path=/branches/xmlbuildsystem/; revision=15273
2005-05-14 12:37:12 +00:00
Martin Fuchs
0d88632d20 sync to Wine Patch: format_bytes()
svn path=/trunk/; revision=15272
2005-05-14 12:32:44 +00:00
Casper Hornstrup
72a6942f36 Copy w32api from trunk
svn path=/branches/xmlbuildsystem/; revision=15271
2005-05-13 21:23:37 +00:00
Casper Hornstrup
a73b954aba Remove w32api from branch
svn path=/branches/xmlbuildsystem/; revision=15270
2005-05-13 21:21:57 +00:00
Alex Ionescu
030580a782 Cleanup ntlock/unlockfile with proper io semantics..same stuff as previous patches
svn path=/trunk/; revision=15269
2005-05-13 21:07:40 +00:00
Casper Hornstrup
49d849fa8d Update installation instructions
svn path=/branches/xmlbuildsystem/; revision=15268
2005-05-13 19:47:30 +00:00
Casper Hornstrup
d32ad9196b Support compilerflag within IFs
svn path=/branches/xmlbuildsystem/; revision=15267
2005-05-13 19:17:44 +00:00
Casper Hornstrup
92bdf77b07 Cleanup template configuration file
svn path=/branches/xmlbuildsystem/; revision=15266
2005-05-13 19:01:46 +00:00
Martin Fuchs
6f61a478e8 display free and total disk space
svn path=/trunk/; revision=15265
2005-05-13 17:11:16 +00:00
Martin Fuchs
3feb9db02b adjustments for GCC and MinGW
svn path=/trunk/; revision=15264
2005-05-13 15:35:55 +00:00
Martin Fuchs
a0cb9c83ab - error handling for network connection dialogs
- implement "format disk" dialog

svn path=/trunk/; revision=15263
2005-05-13 15:32:04 +00:00
Martin Fuchs
bccd9d6a2c malloc.h include
svn path=/trunk/; revision=15262
2005-05-13 14:53:40 +00:00
Martin Fuchs
9759ec3705 implement network connect and disconnect dialogs
svn path=/trunk/; revision=15261
2005-05-13 14:48:10 +00:00
Martin Fuchs
37de341023 display source path in "move file" dialog
svn path=/trunk/; revision=15260
2005-05-13 14:21:37 +00:00
Martin Fuchs
6ff7821b69 fix comment, declare parameter type as constant
svn path=/trunk/; revision=15259
2005-05-13 10:27:19 +00:00
Martin Fuchs
e81b6ac90b replace numeric resource identifiers by their defined constants
svn path=/trunk/; revision=15258
2005-05-13 09:35:15 +00:00
Martin Fuchs
3d27af4e77 Wine compatibility changes
svn path=/trunk/; revision=15257
2005-05-13 09:09:07 +00:00
Alex Ionescu
2981638f77 Fix IRP structure (add missing member) and optimize io completion by allowing the io completion packet to be piggybacked on the IRP. Also make io completion use the cpu lookaside lists now as well as the paged pool as a last-chance attempt
svn path=/trunk/; revision=15256
2005-05-13 05:41:24 +00:00
Alex Ionescu
6d1d9cbac8 Implement Lookaside List allocation and release for IRPs on Per-CPU Lists, or global system lists if the per-cpu has been exhausted. This should tremendously reduce memory fragmentation and speed up I/o noticeably. Also, don't allocate IRPs with quota charge when they shouldn't.
svn path=/trunk/; revision=15255
2005-05-13 04:49:54 +00:00
Alex Ionescu
9ca493afb5 Fix lookaside structures, rewrite lookaside code to use new structures, remove some excess abstraction, correct export incorrectly exported as fastcall, fix up macros, add basic init code to allocate lookaside lists for IRPs as well as per-cpu lookaside lists for irps and completion packets
svn path=/trunk/; revision=15254
2005-05-13 03:34:13 +00:00
Art Yerkes
5510552add Fixed wrong STATUS_BUFFER_TOO_SMALL return to documented success return
in the buffer too small case.

svn path=/trunk/; revision=15253
2005-05-13 02:05:15 +00:00
Hervé Poussineau
dcb2ef8cd7 Change ASSERTs to assert on existent variables
svn path=/trunk/; revision=15252
2005-05-12 21:46:50 +00:00
Hervé Poussineau
7f0e11f913 White space cleanup, correct indentation
svn path=/trunk/; revision=15251
2005-05-12 21:45:20 +00:00
Hervé Poussineau
0af5d166a2 fdo.c: don't allocate a buffer with a SERENUM_TAG, because it is freed in ntoskrnl.
misc.c: correct comment
serenum.h: remove ExFreePoolWithTag macro and use function exported by ntoskrnl

svn path=/trunk/; revision=15250
2005-05-12 21:41:21 +00:00
Magnus Olsen
27e330b72b Remove all hardcode string to En.rc
so it can be translaterem

svn path=/trunk/; revision=15249
2005-05-12 21:10:10 +00:00
Casper Hornstrup
ec7d8b2029 Merge 12736:14980 from trunk
svn path=/branches/xmlbuildsystem/; revision=15248
2005-05-12 21:03:51 +00:00
Magnus Olsen
6873af6255 Did forget include En.rc :)
svn path=/trunk/; revision=15247
2005-05-12 20:26:34 +00:00
Magnus Olsen
3ad5fab2d4 Remove all hardcode string to En.rc
so it can be translate

svn path=/trunk/; revision=15246
2005-05-12 20:04:02 +00:00
Aleksey Bragin
0eff533e7c Added MessageBoxes in case of registry funcs errors
svn path=/trunk/; revision=15245
2005-05-12 19:46:14 +00:00
Casper Hornstrup
9c85c4d513 Generate make rules for creating directories if they don't exist
svn path=/branches/xmlbuildsystem/; revision=15244
2005-05-12 19:32:15 +00:00
Magnus Olsen
08142b98ea Remove all hardcode string to En.rc
so it can be translate

svn path=/trunk/; revision=15243
2005-05-12 19:31:10 +00:00
Magnus Olsen
d344ac5409 Add hex value to Color syntax so it working fine
Color x 
x = a - f



svn path=/trunk/; revision=15242
2005-05-12 18:20:41 +00:00
Thomas Bluemel
03800ad522 svn path=/trunk/; revision=15241 2005-05-12 18:08:25 +00:00
Alex Ionescu
c24c77ccaf Fix uninit var
svn path=/trunk/; revision=15240
2005-05-12 18:05:22 +00:00
Magnus Olsen
fbeb0ec2cd Add syntax Color x
x = 0 to 9 Now color are working as it should


svn path=/trunk/; revision=15239
2005-05-12 17:30:52 +00:00
Magnus Olsen
1add9174ff Fix two spelling error
thx dnordenberg to notice them

svn path=/trunk/; revision=15238
2005-05-12 16:44:39 +00:00
Alex Ionescu
5fe9818563 Small fix.
svn path=/trunk/; revision=15237
2005-05-12 11:54:08 +00:00
Magnus Olsen
ade7456218 really small optimze remove lenvalu * sizeof(WCHAR) so it doing it only one time
svn path=/trunk/; revision=15236
2005-05-12 05:01:23 +00:00
Alex Ionescu
32962bc31c cleanup NtDeviceIoControlFile a bit...remove some redundant stuff
svn path=/trunk/; revision=15235
2005-05-12 04:17:43 +00:00
Brian Palmer
942e1f4649 Remove old DJGPP NTVDM patch files.
svn path=/trunk/; revision=15234
2005-05-12 03:00:49 +00:00
Brian Palmer
4b2a42963f Support getting the boot drive from the BIOS or the value in the BPB.
svn path=/trunk/; revision=15233
2005-05-12 02:57:13 +00:00
Casper Hornstrup
d927b8d8fe Generate static libraries in intermediate directory
svn path=/branches/xmlbuildsystem/; revision=15232
2005-05-11 20:58:40 +00:00
Alex Ionescu
b693fc160a Fix incorrect call to ntopenprocess
svn path=/trunk/; revision=15231
2005-05-11 20:45:48 +00:00
Thomas Bluemel
23e79dcdb3 remove explicit bugcheck in NtOpenProcess when the caller supplies a thread CID of -1, looks like this was added for debug purpose and accidently committed.
svn path=/trunk/; revision=15230
2005-05-11 20:04:48 +00:00
Martin Fuchs
30ec640bd2 Synchronisation with ibrowser source code
svn path=/trunk/; revision=15229
2005-05-11 19:15:36 +00:00
Martin Fuchs
f5b2c461dc eliminate GCC4 warnings
svn path=/trunk/; revision=15228
2005-05-11 19:13:20 +00:00
Martin Fuchs
b269a8333e Synchronisation with explorer source code
svn path=/trunk/; revision=15227
2005-05-11 19:12:26 +00:00
Martin Fuchs
7862b7c070 Makefile maintainancement
svn path=/trunk/; revision=15226
2005-05-11 19:12:03 +00:00
Martin Fuchs
7313b15dbd eliminate GCC4 warnings
svn path=/trunk/; revision=15225
2005-05-11 19:11:27 +00:00
Martin Fuchs
267f11a8b4 eliminate GCC4 warnings (patch by Thomas Weidenmueller)
svn path=/trunk/; revision=15224
2005-05-11 19:08:36 +00:00
Casper Hornstrup
be0cf8ed70 Use mingw convention for import libraries (libmodule.a)
svn path=/branches/xmlbuildsystem/; revision=15223
2005-05-11 17:37:46 +00:00
Martin Fuchs
4358dbd01a fix listbox insert algorithmus
svn path=/trunk/; revision=15222
2005-05-11 17:30:21 +00:00
Casper Hornstrup
7dfdcabef9 Rebuild import library if definition file is modified
svn path=/branches/xmlbuildsystem/; revision=15221
2005-05-11 17:12:24 +00:00
Thomas Bluemel
8ece706e06 revert the changes i accidently committed
svn path=/trunk/; revision=15220
2005-05-11 17:03:00 +00:00
Thomas Bluemel
abef9ffacb fixed warnings
svn path=/trunk/; revision=15218
2005-05-11 16:50:39 +00:00
Thomas Bluemel
58d25e229d fixed function prototype
svn path=/trunk/; revision=15217
2005-05-11 16:15:25 +00:00
Martin Fuchs
36551f7fd9 fix for updated MinGW headers: comditional compilation for HSHELL_RUDEAPPACTIVATED
svn path=/trunk/; revision=15216
2005-05-11 15:24:59 +00:00
Martin Fuchs
4dd64b9022 some more spelling fixes
svn path=/trunk/; revision=15215
2005-05-11 14:50:00 +00:00
Martin Fuchs
a0b46d6812 Sync to Wine:
date: 2005/02/25 14:07:56
Jon Griffiths <jon_p_griffiths@yahoo.com>
Documentation spelling fixes.

svn path=/trunk/; revision=15214
2005-05-11 14:49:24 +00:00
Martin Fuchs
aa88e039cb Sync to Wine: (rewritten bug fix)
date: 2004/12/14 11:43:30
Piotr Caban <pio13@poczta.onet.pl>
Fixed display bug.

svn path=/trunk/; revision=15213
2005-05-11 14:46:42 +00:00
Martin Fuchs
dfd0cd04aa Sync to Wine:
date: 2004/11/30 21:38:57
Eric Pouech <pouech-eric@wanadoo.fr>
Const correctness fixes.

svn path=/trunk/; revision=15212
2005-05-11 14:36:40 +00:00
Martin Fuchs
7b801b61fd - Sync to Wine:
date: 2004/11/24 18:28:31;  author: julliard
Avoid using the MAKEPOINTS macro, it's broken on big endian.

- Fix of this patch: use screen relative coordinates for ShellFolderContextMenu()

svn path=/trunk/; revision=15211
2005-05-11 14:33:51 +00:00
Martin Fuchs
9b8bfb6e8b Sync to Wine:
date: 2005/02/23 20:58:09
Henning Gerhardt <henning.gerhardt@web.de>
Small fix for the German resource file.

date: 2005/02/15 20:46:19
Henning Gerhardt <henning.gerhardt@web.de>
Add/updated German resources.

svn path=/trunk/; revision=15210
2005-05-11 14:19:23 +00:00
Martin Fuchs
1b32c4c9b7 Sync to wine:
date: 2005/02/14 11:12:30
Marcelo Duarte <wine-devel@bol.com.br>
Update the resources for Portuguese.

date: 2005/02/10 17:14:15
Américo José Melo <mmodem00@netvisao.pt>
Francois Gouget <fgouget@codeweavers.com>
Translate the Wine resources to Portuguese.

svn path=/trunk/; revision=15209
2005-05-11 14:18:24 +00:00
Martin Fuchs
2bccb359f2 Sync to Wine:
date: 2005/01/26 19:42:40
Hans Leidekker <hans@it.vu.nl>
Don't use utf8 in rc files.

svn path=/trunk/; revision=15208
2005-05-11 14:16:05 +00:00
Martin Fuchs
319058265a sync to wine:
date: 2005/02/16 21:10:59
Alex VillacÝs Lasso <a_villacis@palosanto.com>
Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.

date: 2005/01/03 14:45:36
JosÚ Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
Added Spanish translation.


date: 2004/11/21 15:49:24
JosÚ Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
Updated Spanish translations.

svn path=/trunk/; revision=15207
2005-05-11 14:14:33 +00:00
Martin Fuchs
605a9b8e50 add chech and svedish resource files
svn path=/trunk/; revision=15206
2005-05-11 14:11:40 +00:00
Thomas Bluemel
4fb7ebe206 use proper scancode to create upper-case hex numbers directly
svn path=/trunk/; revision=15205
2005-05-11 13:20:34 +00:00
Magnus Olsen
fc2d392cac use _wcsupr to make swedish chater display right when it change langues
this fix maby also fix rus langues display right now after langues change


svn path=/trunk/; revision=15204
2005-05-11 09:56:24 +00:00
Maarten Bosma
26bfaa0941 Set language to czech not to english in cz.rc
svn path=/trunk/; revision=15203
2005-05-10 13:03:40 +00:00
Hervé Poussineau
b4a414fec7 Allow a NULL PeripheralType in IoQueryDeviceDescription
svn path=/trunk/; revision=15202
2005-05-10 09:38:20 +00:00
Hervé Poussineau
c32fd82fbf Implement IoInvalidateDeviceRelations
svn path=/trunk/; revision=15201
2005-05-10 09:34:20 +00:00
Thomas Bluemel
fa832dae41 fixed some more warnings
svn path=/trunk/; revision=15200
2005-05-10 08:15:08 +00:00
Thomas Bluemel
e55b576d82 fixed some more warnings
svn path=/trunk/; revision=15199
2005-05-10 08:04:08 +00:00
Thomas Bluemel
d421003cd4 - disable -Werror for lib/mesa32 to get it to compile with GCC4, however, an upgrade to 6.2.1 would solve these problems
- fixed a few more warnings, the the tree should now fully compile and work with GCC4

svn path=/trunk/; revision=15198
2005-05-10 06:17:54 +00:00
Magnus Olsen
184f23e0a5 Swedish charaters was gone. it should also commit to wine
svn path=/trunk/; revision=15197
2005-05-10 06:13:39 +00:00
Alex Ionescu
2670be2117 Reuse buffer in IopQueryNameFile, since it's temporary and the first one we allocate is already large enough. Also block out SEH in ntread/write file since it seems to crash some user mode code.
svn path=/trunk/; revision=15196
2005-05-09 23:39:08 +00:00
Alex Ionescu
de8ae0fbd2 Revert most of IoCreateStreamFileObject... it's wrong but needs to be wrong for now.
svn path=/trunk/; revision=15195
2005-05-09 22:35:43 +00:00
Phillip Susi
dfcf0aade2 Fixed backwards access check that was causing NtWriteFile to fail when given a read only buffer
svn path=/trunk/; revision=15194
2005-05-09 22:12:43 +00:00
Thomas Bluemel
6ed3a8cd3f fixed some more warnings
svn path=/trunk/; revision=15193
2005-05-09 22:05:47 +00:00
Hartmut Birr
78fdef703c Removed the deallocation of the irp on error after IoBuildSynchronousFsdRequest in NtRead/WriteFile.
There is no irp at this point. If the exception handler is hit, the irp isn't set.

svn path=/trunk/; revision=15192
2005-05-09 21:28:01 +00:00
Alex Ionescu
3c1ebc7084 Fix rc file
svn path=/trunk/; revision=15191
2005-05-09 20:14:10 +00:00
Alex Ionescu
1f40540008 Implement Access State support (SeCreate/DeleteAccessState and SeSetAccessStateGenericMapping. Based on a patch by Javier M. Mellid
svn path=/trunk/; revision=15190
2005-05-09 19:57:41 +00:00
Alex Ionescu
786ed0c605 unmix cases
svn path=/trunk/; revision=15189
2005-05-09 19:08:49 +00:00
Alex Ionescu
61d93abfe3 grr
svn path=/trunk/; revision=15188
2005-05-09 19:05:41 +00:00
Filip Navara
43a5877d27 tinus <o112w8r02@sneakemail.com>
Use ExFreePool instead of RtlFreeUnicodeString.

svn path=/trunk/; revision=15187
2005-05-09 16:00:21 +00:00
Magnus Olsen
581f944e3e Remove ntvdmpat.exe it is not need any longe it was for djgpp
svn path=/trunk/; revision=15186
2005-05-09 12:32:10 +00:00
Steven Edwards
e92888a801 strip the whitespace one more time
svn path=/trunk/; revision=15185
2005-05-09 11:03:44 +00:00
Steven Edwards
3546d3215b correct typo in header to fix the build
svn path=/trunk/; revision=15184
2005-05-09 11:02:48 +00:00
Magnus Olsen
86c0dfdf7e update swedish translation by Harteex
svn path=/trunk/; revision=15183
2005-05-09 10:06:58 +00:00
Magnus Olsen
3280490f6d Fix spellinng error in En.rc
STRING_DIR_HELP8 it should not be "Dirs" it must be "Files"
then it was a "command" wrong spelling in one place


 

svn path=/trunk/; revision=15182
2005-05-09 09:52:48 +00:00
Magnus Olsen
dfd6899631 remove doublecate string STRING_CHCP_ERROR2 and replace it with STRING_ERROR_INVALID_PARAM_FORMAT
Fr.rc and En.rc 
STRING_CHCP_ERROR2 been remove

svn path=/trunk/; revision=15181
2005-05-09 08:43:05 +00:00
Magnus Olsen
32bf2f5e5e remove doublecate string STRING_CHCP_ERROR3 and replace it with STRING_ERROR_INVALID_PARAM_FORMAT
Fr.rc
change STRING_CHCP_ERROR3 to STRING_ERROR_INVALID_PARAM_FORMAT

En.rc 
STRING_CHCP_ERROR3 been remove

svn path=/trunk/; revision=15180
2005-05-09 08:23:18 +00:00
Magnus Olsen
395512ca9a wrong string where being use when you type echo
thx David Nordenberg for notify me about it

svn path=/trunk/; revision=15179
2005-05-09 06:14:54 +00:00
Alex Ionescu
37707ad1a6 Make the remaning code match the current formatting instead of being really ugly, and make some changes to IoCreateFileStreamObject (which is wrong anyways, since it's doing what *Lite should do)
svn path=/trunk/; revision=15178
2005-05-09 04:31:04 +00:00
Alex Ionescu
834acf81da Fix IopSecurityFile: Do not use BuildFsd, create IRP manually for sync/async, support assigning SD to device instead of file, and signal unimplemented set sd to device, simplify code for file object setting and remove duplication, wait on right event and return the matching status. moved static io security function to se subsystem and renamed it from default to world to better match what it's doing
svn path=/trunk/; revision=15177
2005-05-09 03:58:35 +00:00
Alex Ionescu
db63a3b1ad Fix NtSetInformationFile: Cleanup FileCompletionInformation case, use Tag. Use right device object, read FileObject->FinalStatus, use right flags to IO manager can do the cleanup and buffered io semantics, support sync or async waiting
svn path=/trunk/; revision=15176
2005-05-09 03:02:36 +00:00
Alex Ionescu
02a4600eb8 Fix NtWriteFile: Get right Deviceobject, Use FileObject->FinalStatus, use FileObject-.CurrentByteOffset if ByteOffset == FILE_USER_FILE_POINTER_POSITION, add SEH, use right event requested access, set IRP_WRITE_OPERATION flag, add support for IRP_NOCACHE and add support for SL_WRITE_THROUGH if FO_WRITE_THROUGH is enabled.
svn path=/trunk/; revision=15175
2005-05-09 02:15:03 +00:00
Steven Edwards
71b6d3cb0f strip whitespace from end of lines
svn path=/trunk/; revision=15174
2005-05-09 02:04:53 +00:00
Steven Edwards
5c173216a2 strip whitespace from end of lines
svn path=/trunk/; revision=15173
2005-05-09 01:50:07 +00:00
Steven Edwards
7cecaf25e8 strip whitespace from end of lines
svn path=/trunk/; revision=15172
2005-05-09 01:46:57 +00:00
Steven Edwards
baa31fc9e5 strip whitespace from end of lines
svn path=/trunk/; revision=15171
2005-05-09 01:46:46 +00:00
Steven Edwards
c31bbf06e5 strip whitespace from end of lines
svn path=/trunk/; revision=15170
2005-05-09 01:44:13 +00:00
Steven Edwards
189e9fae5c strip whitespace from end of lines
svn path=/trunk/; revision=15169
2005-05-09 01:43:41 +00:00
Steven Edwards
395f5dc9e5 strip whitespace from end of lines
svn path=/trunk/; revision=15168
2005-05-09 01:43:25 +00:00
Steven Edwards
6a73e87d9b strip whitespace from end of lines
svn path=/trunk/; revision=15167
2005-05-09 01:42:07 +00:00
Steven Edwards
ae4b8f6e93 strip whitespace from end of lines
svn path=/trunk/; revision=15166
2005-05-09 01:41:26 +00:00
Steven Edwards
eace72f07c strip whitespace from end of lines
svn path=/trunk/; revision=15165
2005-05-09 01:41:02 +00:00
Steven Edwards
e4be245882 strip whitespace from end of lines
svn path=/trunk/; revision=15164
2005-05-09 01:38:29 +00:00
Alex Ionescu
2d9fea6a7c Fix KDBG and enable IRP_NOCACHE for ReadFile. Also disable SEH for Buffer since PRobeForWrite has a bug and cannot probe past a page
svn path=/trunk/; revision=15163
2005-05-09 01:14:42 +00:00
Alex Ionescu
9248a9d298 Fix uninitailzied variable on dbg=0
svn path=/trunk/; revision=15162
2005-05-09 01:06:39 +00:00
Alex Ionescu
4dbcb4368f Grrr..it's getting late or something. CORRECT fix.
svn path=/trunk/; revision=15161
2005-05-09 01:01:18 +00:00
Alex Ionescu
261e754d28 Sorry, wrong version got commited
svn path=/trunk/; revision=15160
2005-05-09 00:41:55 +00:00
Magnus Olsen
4cced63916 remove last hardcode string to En.rc
need translate to other langes new strings in En.rc
are IDS_DNS_ERROR, IDS_SOCKET_ERROR, IDS_GET_SRV_ERROR, IDS_CON_SRV_ERROR 

svn path=/trunk/; revision=15159
2005-05-09 00:38:57 +00:00
Alex Ionescu
2ba13f06b1 Fix a previous bug and fix NtReadFile: Read FileObject Status, Set Read Operation, support IRP_NOCACHE (ReactOS doesn't like this because of some other bug i'm investigating), use right event reqeuested access, add SEH
svn path=/trunk/; revision=15158
2005-05-09 00:33:23 +00:00
Magnus Olsen
dd19f592a2 Remove all hardcode string from format to En.rc
so it can be translate

svn path=/trunk/; revision=15157
2005-05-09 00:05:15 +00:00
Magnus Olsen
31dea0cce5 Udate french langues and make it unicode
by Usurp

Set eol-style on resurce.h

svn path=/trunk/; revision=15156
2005-05-08 22:02:16 +00:00
Thomas Bluemel
6dd1154d67 Patch by tinus: use the right access mode. fixes bug 627
svn path=/trunk/; revision=15155
2005-05-08 21:55:28 +00:00
Magnus Olsen
a2d9c4e1e9 set eol style
svn path=/trunk/; revision=15154
2005-05-08 21:54:32 +00:00
Magnus Olsen
096abbc0b1 forget the .rc file
svn path=/trunk/; revision=15153
2005-05-08 21:51:23 +00:00
Magnus Olsen
689829649e My and W3seek patch to make format ansi and unicode independen
it is first step to make a rc files for format

svn path=/trunk/; revision=15152
2005-05-08 21:50:39 +00:00
Alex Ionescu
3dfbc26474 Fix NtQueryDirectoryFile to wait on right status, to actually use the event that the user gives, to select the right device and sync/async wait mode and always use FileIndex = 0 since nothing else can be used for this API.
svn path=/trunk/; revision=15151
2005-05-08 20:20:14 +00:00
Magnus Olsen
67627091db Reomve string STRING_CMD_INVALIDDRIVE in En.rc it was doublcate of STRING_FREE_ERROR1
thanks Usurp for finding it 

svn path=/trunk/; revision=15150
2005-05-08 20:15:54 +00:00
Thomas Bluemel
54f6a09bb2 prevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not in bytes! Please guys, read the documentation of the function _before_ you use it...
svn path=/trunk/; revision=15149
2005-05-08 19:22:28 +00:00
Klemens Friedl
539af1d0d0 update taskmgr german language resource file
svn path=/trunk/; revision=15148
2005-05-08 19:14:18 +00:00
Thomas Bluemel
51d7b8f785 fixed more uninitialized variables warnings
svn path=/trunk/; revision=15147
2005-05-08 19:10:23 +00:00
Thomas Bluemel
87bab86c6b don't generate lvalue assignment code
svn path=/trunk/; revision=15145
2005-05-08 18:32:57 +00:00
Magnus Olsen
65305e4968 Remove two hardcode string to En.rc it is IDS_Not_Responding, IDS_Running
thx irc: potapnik for notice one of them 


svn path=/trunk/; revision=15144
2005-05-08 18:20:39 +00:00
Casper Hornstrup
df8fe14cb4 Remove unneeded w32api files
svn path=/trunk/; revision=15143
2005-05-08 18:07:35 +00:00
Casper Hornstrup
c78d3be5ff Re-add local w32api changes
svn path=/trunk/; revision=15142
2005-05-08 18:02:41 +00:00
Casper Hornstrup
01df92bcb4 Copy w32api 2.5 to trunk
svn path=/trunk/; revision=15141
2005-05-08 17:44:37 +00:00
Casper Hornstrup
701c28c2d1 Delete old w32api
svn path=/trunk/; revision=15140
2005-05-08 17:43:21 +00:00
Magnus Olsen
6ad1c42efb Remove last hardcode string I have check the soure 3more time after I found some more hardcode string
at last every hardcode string are gone in cmd and place in En.rc
new strings in en.rc
STRING_COPY_FILE , STRING_DELETE_WIPE, STRING_FOR_ERROR, STRING_SCREEN_COL, STRING_SCREEN_ROW, STRING_TIMER_TIME

remove some unlsess value in chcp it is no longer in use thanks we are  chaching the codepage hole time. 

svn path=/trunk/; revision=15136
2005-05-08 17:33:17 +00:00
Alex Ionescu
59b1628118 forgot this guy
svn path=/trunk/; revision=15133
2005-05-08 16:50:18 +00:00
Hartmut Birr
578153056c Changed the trap prolog, each exception can have its own trap handler.
svn path=/trunk/; revision=15132
2005-05-08 16:07:43 +00:00
Hartmut Birr
647ee2a30d Fixed the unlocking of pages from a mdl.
svn path=/trunk/; revision=15131
2005-05-08 16:02:38 +00:00
Hartmut Birr
5fd03c29e4 Free the irp after a close operation.
svn path=/trunk/; revision=15130
2005-05-08 16:00:59 +00:00
Hartmut Birr
6e529ef561 Fixed the stack switching.
It isn't possible to access memory between changing the stack and setting the cr3 register. 
A page fault needs a valid kmode stack which is possible not available.

svn path=/trunk/; revision=15129
2005-05-08 15:59:07 +00:00
Gé van Geldorp
f4ce8b5664 Fix for nasm 0.98
svn path=/trunk/; revision=15124
2005-05-08 15:40:25 +00:00
Magnus Olsen
e622b8798b found some hard code string move them to En.rc
them new are STRING_CMD_INVALIDDRIVE, STRING_CMD_SHELLINFO, STRING_VERSION_RUNVER
remove some #define strings that was not in use. 
update ver so it output svn version number and update copyright note 
it take the copyright and buildversion from <reactos/resource.h> and <reactos/buildno.h> 
so we only need change it on one place

svn path=/trunk/; revision=15123
2005-05-08 14:48:24 +00:00
Casper Hornstrup
1513e26e14 Relink executable if definition file changes.
svn path=/branches/xmlbuildsystem/; revision=15122
2005-05-08 14:39:46 +00:00
Casper Hornstrup
f614754ad3 Be consistent when passing --dll argument to gcc
svn path=/branches/xmlbuildsystem/; revision=15121
2005-05-08 14:30:04 +00:00
Casper Hornstrup
d8679de61a Build non-stripped version of ntoskrnl.exe if requested
svn path=/branches/xmlbuildsystem/; revision=15120
2005-05-08 13:45:50 +00:00
Magnus Olsen
d963f8c48f "Sync to Wine-20050419" by GvG
update reactos specify patch by Magnus Olsen
markout better what is reactos specify code
but not all code are not mark

svn path=/trunk/; revision=15119
2005-05-08 11:51:28 +00:00
Hartmut Birr
ad3d28c6d8 Free the irp after a close operation.
svn path=/trunk/; revision=15118
2005-05-08 10:33:45 +00:00
Hartmut Birr
83fb8b7c7c - Changed IopCompleteRequest back to the old schematics (rev 14933) with some minor corrections.
- The status results are always set before an event is signaled.    
- Some checks for ASYNC irp's were wrong (missing brackets, now replaced with SyncIrp).    
- Don't signal the FO event if it is the same as the UserEvent.  
- Set the IOSB on error for async irp's with a sync FO (fix bug #609).    

IMHO, the old schematics is wrong, because on error it is possible that an event
isn't signaled if the driver has previous returned STATUS_PENDING.   
In this case, the caller will wait forever.

svn path=/trunk/; revision=15117
2005-05-08 10:26:34 +00:00
Alex Ionescu
35deccffea Make rtl use a single header. Helps for PCH and will help for the new Headers (no need to change each file)
svn path=/trunk/; revision=15115
2005-05-08 05:14:46 +00:00
Steven Edwards
f60871a43b remove whitespace from end of lines
svn path=/trunk/; revision=15112
2005-05-08 04:22:15 +00:00
Steven Edwards
27479fb866 remove whitespace from end of lines
svn path=/trunk/; revision=15111
2005-05-08 04:07:56 +00:00
Thomas Bluemel
917fe293f6 more fixes for GCC4
svn path=/trunk/; revision=15110
2005-05-08 03:09:14 +00:00
Thomas Bluemel
1d36259d85 Don't declare constants as export and later define it as static. This is not allowed by GCC4.
svn path=/trunk/; revision=15109
2005-05-08 02:30:45 +00:00
Steven Edwards
93f075f207 remove whitespace from end of lines
svn path=/trunk/; revision=15108
2005-05-08 02:16:32 +00:00
Steven Edwards
1e81d3ff1f remove whitespace from end of lines
svn path=/trunk/; revision=15107
2005-05-08 02:15:21 +00:00
Steven Edwards
476cbed37c remove whitespace from end of lines
svn path=/trunk/; revision=15106
2005-05-08 02:11:54 +00:00
Magnus Olsen
f6b87bd320 Fireball patch for fixing RtlUnicodeStringToInteger and RtlCharToInteger
<Fireball> Imported WINE's RtlUnicodeStringToInteger and RtlCharToInteger - they were seriously broken in our revision. Thanks to GreatLord for his help pointing out this bug with me :)

svn path=/trunk/; revision=15092
2005-05-07 22:17:03 +00:00
Steven Edwards
456be5d16b remove trailing whitespace at end of lines
svn path=/trunk/; revision=15091
2005-05-07 21:24:31 +00:00
Magnus Olsen
1c29a40c45 doubicate res id my fualt
now everthing should print out right strings


svn path=/trunk/; revision=15090
2005-05-07 20:47:57 +00:00
Hartmut Birr
8005202506 - initialize a user profile before loading syssetup.dll.
- this makes it possible to install ros over an existing ros.

svn path=/trunk/; revision=15089
2005-05-07 20:20:46 +00:00
Magnus Olsen
8dd7ee7eb4 Fix a old bug in dir it did only accpet lower letters as param
change from ansi _toupper to tchar  _totupper 
it is now both uncide and ansi compatible

svn path=/trunk/; revision=15088
2005-05-07 20:02:50 +00:00
Magnus Olsen
fb0b90fd1b Andreas Bjerkeholt : Swedish translation, proofread by David Nordenberg
svn path=/trunk/; revision=15087
2005-05-07 18:20:23 +00:00
Magnus Olsen
00eb5279ca remove a debug msg after me
svn path=/trunk/; revision=15086
2005-05-07 17:57:12 +00:00
Magnus Olsen
db7dc4e7d1 Add *. to dir but it does not working in ros but in windows fine
some bug in ros 

svn path=/trunk/; revision=15085
2005-05-07 17:48:25 +00:00
Alex Ionescu
cd5450f6f9 Implement FsRtlAllocateResource, FsRtlIsPagingFile, FsRtlBalanceReads. Fix some incorrect function prototypes, rename mdl.c to fastio.c and add some more functions to it. Implement FsRtlGetfileSize to use fastio, combine dbcsname.c and name.c and pretty-fy the array, clean up some ugly formatting. Create context.c and move stream/file context routines there.
svn path=/trunk/; revision=15084
2005-05-07 17:44:54 +00:00
Magnus Olsen
534059e50f Remove the two last langues string it was doublecate
small change to STRING_PATH_ERROR1 in En.rc and Fr.rc
thanks Usurp for notice it



svn path=/trunk/; revision=15083
2005-05-07 15:58:58 +00:00
Alex Ionescu
881487dc6c FILE_BASIC_INFORMATION is 0x28 bytes and aligned on a 8byte boundary. Thanks to Hartmut for notifying me of a bug
svn path=/trunk/; revision=15082
2005-05-07 15:40:03 +00:00
Magnus Olsen
8e7e661c54 implement VOID ConOutResPuts (UINT resID), VOID ConErrResPuts (UINT resID) to outpust msg from rc files
it take less memmory now, and it is bit faster 

CMD_ModuleHandle 
contain GetModuleHandle and it is only execute in main() in cmd 
it optimze for lite more speed in cmd

Langues changes
in En.rc follow new strings have been add and can be translate
STRING_ERROR_WRONG_DATE
STRING_SET_ERROR

svn path=/trunk/; revision=15081
2005-05-07 15:31:07 +00:00
Eric Kohl
104e05622a Implement AssertFail and GetSetFileTimestamp.
svn path=/trunk/; revision=15080
2005-05-07 15:22:32 +00:00
Alex Ionescu
0abe7f6039 Implement FsRtlMdlRead, FsRtlMdlReadComplete, FsMdlReadCompleteDev, FsRtlMdlWRiteComplete, FsRtlMdlWriteCompleteDev, FsRtlPrepareMdlWrite, CcMdlReadCompleted, CcMdlWriteComplete, CcMdlReadCompleteDev
svn path=/trunk/; revision=15079
2005-05-07 15:19:33 +00:00
Magnus Olsen
e18192ed67 Forget change two line in chcp so it did not compile
svn path=/trunk/; revision=15078
2005-05-07 12:04:59 +00:00
Magnus Olsen
a418e5094f the name GetCodePage and OutCodePage is a bit misleading, change it to InputCodePage and OutputCodePage
svn path=/trunk/; revision=15077
2005-05-07 11:54:22 +00:00
Magnus Olsen
e23d422877 Add cache for codepage so it does not call hole time on csrss when it wring out text
it will incress the speed.  Thx w3seek and kjk for the idea.

svn path=/trunk/; revision=15076
2005-05-07 11:14:58 +00:00
Casper Hornstrup
fcd3eba58a Make expat a static library
svn path=/branches/xmlbuildsystem/; revision=15075
2005-05-07 08:32:28 +00:00
Casper Hornstrup
0f6993a1eb Correct typo
svn path=/branches/xmlbuildsystem/; revision=15074
2005-05-07 08:15:07 +00:00
Casper Hornstrup
9b6d13c91b Correctly forward exports to NTDLL
svn path=/branches/xmlbuildsystem/; revision=15073
2005-05-07 08:08:12 +00:00
Casper Hornstrup
2bf694521a Smdll is a native DLL. Thanks to Ge van Geldorp for figuring this out.
svn path=/branches/xmlbuildsystem/; revision=15072
2005-05-07 07:46:54 +00:00
Alex Ionescu
a027f33c15 Update Fast I/O Dispatch routines to proper defintions, and move some stuff into io defines instead of internal native types. Remove outdated data due to newest IFS.
svn path=/trunk/; revision=15071
2005-05-07 06:09:56 +00:00
Alex Ionescu
f11525033d Fix driver loading. patch by tinus
svn path=/trunk/; revision=15070
2005-05-07 01:17:36 +00:00
Alex Ionescu
ee7e1eefbe More IRP Completion changes. Use proper stack count and other semantics, as documented in NT File System Internals. These changes don't break anything :P
svn path=/trunk/; revision=15069
2005-05-07 01:13:04 +00:00
Alex Ionescu
7ed5318927 Update ETHREAD to latest version.
svn path=/trunk/; revision=15068
2005-05-07 00:37:48 +00:00
Thomas Bluemel
c38185a947 ReadFile should return 0 to lpNumberOfBytesRead if NtReadFile returned STATUS_END_OF_FILE for synchronous operations
svn path=/trunk/; revision=15067
2005-05-07 00:21:06 +00:00
Alex Ionescu
3d44032203 Fix win32k to use new EPROCESS defintion
svn path=/trunk/; revision=15066
2005-05-06 22:55:52 +00:00
Alex Ionescu
8c4f9d3417 Update EPROCESS to latest version. Basic Fast Referencing Stubs to allow Token access. Needs to be implemented. Use ActiveProcessLinks instead of ros-specific list.
svn path=/trunk/; revision=15065
2005-05-06 22:54:40 +00:00
Gé van Geldorp
c9ff7749cf Link against static lib instead of dll
svn path=/branches/xmlbuildsystem/; revision=15064
2005-05-06 22:38:00 +00:00
Thomas Bluemel
6ab4605c43 upgrade to PSEH2 (note, the new macros are still named _SEH_*, not _SEH2_*!)
svn path=/trunk/; revision=15063
2005-05-06 22:25:30 +00:00
Aleksey Bragin
9c40b2406e Patch by tinus: Resolves issue of keyboard detection when e.g. booting ReactOS under VMWare with no keyboard grabbed.
svn path=/trunk/; revision=15062
2005-05-06 21:18:20 +00:00
Magnus Olsen
069ef02dff <tinus_> "Forgotten file from commit 14982"
svn path=/trunk/; revision=15061
2005-05-06 20:45:30 +00:00
Magnus Olsen
d01fb36f3c HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt\Parameters","SampleRate",0x00010001,0x00000060
60 are the dec value but it have not be convort to hex that is 0x3c

legmet value are, e.g., 10, 20, 40,   60, 80, 100, 200.'
in dec in hex 0x0a, 0x14, 0x28, 0x3c, 0x50, 0x64,  0xc8

svn path=/trunk/; revision=15060
2005-05-06 20:12:37 +00:00
Gé van Geldorp
6bd014f928 Update status
svn path=/trunk/; revision=15059
2005-05-06 19:42:39 +00:00
Gé van Geldorp
1bac2f80fc Sync to Wine-20050419:
Peter Berg Larsen <pebl@math.ku.dk>
- Janitorial: Get rid of strncpy/strncpyW.

svn path=/trunk/; revision=15057
2005-05-06 19:18:46 +00:00
Gé van Geldorp
03a1e1b191 Sync to Wine-20050419:
Robert Reif <reif@earthlink.net>
- Stub out DRVM_MAPPER_RECONFIGURE support.
- Correctly handle where waveOutGetPosition changes timepos.wType
  because the requested type is not supported.
- Added Jeremy White's waveOutGetPosition fix to waveInGetPosition.
- Fix memory leak in error path.
- Provide default implementation of waveInPrepareHeader and
  waveInUnprepareHeader if driver doesn't support them.
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Spanish translations updated.
Peter Berg Larsen <pebl@math.ku.dk>
- Assorted memleak fixes. Found on Michael Stefaniuc smatch list.
Jeremy White <jwhite@codeweavers.com>
- Do not fallback to defaults if a driver, mapper, or midi is specified
  in the registry; consolidate MMDRV_Init() into a single function.
Robert Reif <reif@earthlink.net>
- Fix memory leak when there are too many drivers.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Correct and complete some api documentation.
Filip Navara <xnavara@volny.cz>
- Specify correct buffer size in GetPrivateProfileStringW calls.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Jason Edmeades <us@the-edmeades.demon.co.uk>
- Avoid trap in mixerGetLineControlsA when cControls is uninitialized
  and MIXER_GETLINECONTROLSSF_ONEBYTYPE requested.

svn path=/trunk/; revision=15056
2005-05-06 19:16:10 +00:00
Gé van Geldorp
c963e3149a Fix filename case
svn path=/trunk/; revision=15055
2005-05-06 19:11:20 +00:00
Casper Hornstrup
610edc2729 Correct typo
svn path=/trunk/; revision=15054
2005-05-06 19:06:59 +00:00
Magnus Olsen
9736e48f66 Thx w3seek that pointout a bug in ConInString it should have been in fristplase GetConsoleCP() instead for GetConsoleOutputCP
svn path=/trunk/; revision=15053
2005-05-06 17:30:45 +00:00
Magnus Olsen
3f0b1b9276 At last unicode version of cmd are now output text with right code page
so charater on other langues like swedish, french, ... will display right now

svn path=/trunk/; revision=15052
2005-05-06 17:10:21 +00:00
Thomas Bluemel
b62466eed1 - fixed TransactNamedPipe to properly wait on completion for synchronous operations
- prevent completion port notification by not passing an APC context to the kernel when the low-order bit of the event handle is set (for asynchronous operations)

svn path=/trunk/; revision=15051
2005-05-06 16:47:09 +00:00
Gé van Geldorp
bb1d3b119b Sync to Wine-20050419:
Peter Berg Larsen <pebl@math.ku.dk>
- Strncpy elimination.
- Janitorial: Get rid of strncpy/strncpyW.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Troy Rollo <wine@troy.rollo.name>
- Corrections to UrlIsW and UrlIsA.
- URL_IS_OPAQUE results depend only on the scheme, not on the URL.
- URL_IS_FILEURL also only depends on the scheme ("file:").
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Robert Shearman <rob@codeweavers.com>
- Fix SHCopyKey to treat string parameter correctly as source path
  instead of destination path.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc).
- Implement @188,190,195,200,256,478,481.
- IUnknown_EnableModeless() also handles IOleInPlaceActiveObject.
- Tests and small fix for PathMakePretty().
- Fix a crash and test failure with early native dlls.

svn path=/trunk/; revision=15050
2005-05-06 16:23:24 +00:00
Aleksey Bragin
c72be4b69c Make intl.cpl really switch InstallLanguage and Default entries of NLS\Language key. Problem with freeldr solved in hacky way - it writes now e.g. "0409" and not "00000409", as it generally should.
svn path=/trunk/; revision=15049
2005-05-06 16:21:30 +00:00
Thomas Bluemel
ecba32de75 - fixed ConnectNamedPipe to properly wait on completion for synchronous operations
- prevent completion port notification by not passing an APC context to the kernel when the low-order bit of the event handle is set (for asynchronous operations)

svn path=/trunk/; revision=15048
2005-05-06 16:07:51 +00:00
Casper Hornstrup
e5c1f57b80 Add <module>_install target
svn path=/branches/xmlbuildsystem/; revision=15047
2005-05-06 16:05:37 +00:00
Casper Hornstrup
7dec8061f1 Add missing files
svn path=/branches/xmlbuildsystem/; revision=15046
2005-05-06 16:02:04 +00:00
Thomas Bluemel
f16e5b9e1d - fixed DeviceIoControl to properly wait on completion for synchronous operations
- prevent completion port notification by not passing an APC context to the kernel when the low-order bit of the event handle is set (for asynchronous operations)

svn path=/trunk/; revision=15045
2005-05-06 15:55:28 +00:00
Casper Hornstrup
df0195a558 More sane default image base addresses
svn path=/branches/xmlbuildsystem/; revision=15044
2005-05-06 14:12:25 +00:00
Thomas Bluemel
496308ed56 - fixed Read/WriteFile(Ex) and properly wait on completion for synchronous operations
- prevent completion port notification by not passing an APC context to the kernel when the low-order bit of the event handle is set (for asynchronous operations)

svn path=/trunk/; revision=15043
2005-05-06 14:02:45 +00:00
Hartmut Birr
c565a223c9 Revert my last changes.
svn path=/trunk/; revision=15042
2005-05-06 13:35:27 +00:00
Casper Hornstrup
ede9da6bd0 Build dhcp
svn path=/branches/xmlbuildsystem/; revision=15041
2005-05-06 12:22:35 +00:00
Hartmut Birr
7fb90fae33 Do not modify the stack layout of a function by using inline assembler.
svn path=/trunk/; revision=15040
2005-05-06 12:17:29 +00:00
Hervé Poussineau
71b3a2ede3 Revert ntoskrnl/cm/regobj.c back to revision 14017
svn path=/trunk/; revision=15039
2005-05-06 11:53:35 +00:00
Casper Hornstrup
3528760e8e Add missing file
svn path=/branches/xmlbuildsystem/; revision=15038
2005-05-06 11:20:10 +00:00
Thomas Bluemel
5ff8364d66 minor corrections to match the behavior of wine's implementation
svn path=/trunk/; revision=15037
2005-05-06 11:02:47 +00:00
Casper Hornstrup
3dc17696df Don't strip relocation information from DLLs
svn path=/branches/xmlbuildsystem/; revision=15036
2005-05-06 10:45:24 +00:00
Casper Hornstrup
ae18ba571a Set svn:eol-style=native
svn path=/branches/xmlbuildsystem/; revision=15035
2005-05-06 10:38:30 +00:00
Casper Hornstrup
751a4e3a06 Add missing leading underscores in symbols
svn path=/branches/xmlbuildsystem/; revision=15034
2005-05-06 10:17:43 +00:00
Magnus Olsen
6687b53ab8 David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=15033
2005-05-06 08:27:46 +00:00
Magnus Olsen
b6759ac808 Swedish translations by David Nordenberg
svn path=/trunk/; revision=15032
2005-05-06 08:21:12 +00:00
Alex Ionescu
b33f21c67e Update some more kernel structures
svn path=/trunk/; revision=15031
2005-05-06 00:11:25 +00:00
Thomas Bluemel
72be0f4961 open the module image file with read access rights instead of full access rights
svn path=/trunk/; revision=15030
2005-05-06 00:11:14 +00:00
Thomas Bluemel
03912150d8 create a token handle with TOKEN_QUERY access rights which is required to query the user information in RtlFormatCurrentUserKeyPath
svn path=/trunk/; revision=15029
2005-05-06 00:09:08 +00:00
Thomas Bluemel
83a2899311 don't leak the registry path string after initializing a driver
svn path=/trunk/; revision=15028
2005-05-06 00:07:05 +00:00
Alex Ionescu
5267e6247e Update KPROCESS structure to latest version and document all its fields on the Wiki page. Move Kernel Structures to ke.h from ps.h, remove stuff from ntifs.h that shouldnt be there
svn path=/trunk/; revision=15027
2005-05-05 22:40:05 +00:00
Gé van Geldorp
b36a075a86 Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Spanish translations updated.
Hans Leidekker <hans@it.vu.nl>
- Dutch resource translation.

svn path=/trunk/; revision=15026
2005-05-05 22:36:25 +00:00
Hartmut Birr
a2a2ab569b Fixed InterlockedClearBit.
svn path=/trunk/; revision=15025
2005-05-05 22:24:27 +00:00
Gé van Geldorp
a3cf83ca68 Sync to Wine-20050419:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Mike McCormack <mike@codeweavers.com>
- Remove an unused function.
- Eliminate casts of the return value of HeapAlloc.
- Convert path to unicode, rearrange to remove forward declaration.
- Remove forward declarations of interface methods.
- Remove some dead code and some ifdefs.
- Use api definitions, remove duplicate code.
- Fix usage of STGM_ enumerations, remove forward declaration.
- Fix up PIDL dumping code.
- Fix a regression in the file open dialog.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc).
Huw Davies <huw@codeweavers.com>
- Fix the icon resource ids (most were off by one).
- Fix IExtractIcon_{GetIconLocation,Extract} to use -ve icon resource
  ids and fix bugs relating to confusion between resource ids and the
  system imagelist indicies.
- Extend the system imagelist initialization hack to load both +ve and
  -ve resource ids.
- Add a printer icon (that'll be used by an upcoming printer folder
  patch).
- When we're hiding file extensions then SetNameOf should append the
  original extension if SHGDN_FORPARSING isn't set.
- The flags passed to SetNameOf refer to the dst string not the src
  pidl.
- If ICommDlgBrowser_OnDefaultCommand returns anything other than S_OK
  then we should call the default handler.
- Directory items should have the SFGOA_FILESYSANCESTOR attribute.
  Add a test for this and cleanup the shlfolder test a bit.
- Better icon handling for some special folders.
- Identify and add defines for a bunch of shell icons.
- Add a unicode pidl type.
- Improve support for PT_YAGUID.
- Improve IShellLink debugging.
Steven Edwards <steven_ed4153@yahoo.com>
- Register Shell Drag and Drop Helper.
Juan Lang <juan_lang@yahoo.com>
- Use Unicode string result from GetDisplayNameOf if it isn't
  representable using ANSI.
- Correct registering shell folders (values in Shell Folders key weren't
  getting written).
Martin Fuchs <martin-fuchs@gmx.net>
- switch to correct shell desktop context menu
- launch desk.cpl when activating the desktop context menu entry
  "properties"
- don't send WM_COMMAND if we didn't get a shell view window
- Correct comments of some export ordinals.
Peter Berg Larsen <pebl@math.ku.dk>
- Replace strncpy with memcpy or lstrcpyn.
Troy Rollo <wine@troy.rollo.name>
- Fix SEGV for non-fully-qualified destination paths.
- Don't fail ShFileOperationW if FOF_ALLOWUNDO is passed.
Filip Navara <xnavara@volny.cz>
- _dbg_ILGetNext returns NULL if pidl->mkid.cb is zero, fix the loops
  accordingly.
Aric Stewart <aric@codeweavers.com>
- For ShellExecuteExA we need to copy out the hProcess value from the W
  structure.

svn path=/trunk/; revision=15024
2005-05-05 22:16:20 +00:00
Gé van Geldorp
ee1685bd2e Sync to Wine-20050419:
Mike McCormack <mike@codeweavers.com>
- Add stub for FaultInIEFeature.

svn path=/trunk/; revision=15023
2005-05-05 21:07:02 +00:00
Hervé Poussineau
fe7b55c2c1 SVN maintenance: Set eol style to native and add keywords
svn path=/trunk/; revision=15022
2005-05-05 20:52:14 +00:00
Hervé Poussineau
cb0daf73fd RtlFreeUnicodeString -> ExFreePool changes
svn path=/trunk/; revision=15021
2005-05-05 20:19:01 +00:00
Gé van Geldorp
6758bb095b Sync to Wine-20050419:
Hans Leidekker <hans@it.vu.nl>
- Stub implementation for SetupCopyOEMInfW.
Peter Berg Larsen <pebl@math.ku.dk>
- Janitorial: Get rid of strncpy/strncpyW.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Juan Lang <juan_lang@yahoo.com>
- Implement SetupDiClassNameFromGuidExA.

svn path=/trunk/; revision=15020
2005-05-05 20:14:39 +00:00
Hervé Poussineau
30cd41fa52 Forgot to commit this file with revision 15013
svn path=/trunk/; revision=15019
2005-05-05 19:36:25 +00:00
Gé van Geldorp
dff6294185 Sync to Wine-20050419:
Robert Shearman <rob@codeweavers.com>
- Fix deadlock caused by not leaving the critical section on all code
  paths.
- RpcMgmtStopServerListen should not affect auto-listen interfaces.
- Implement stub for RpcRevertToSelfEx.
- Change the more verbose files to use a new debug channel, "rpc."
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Ralf S. Engelschall <rse@engelschall.com>
- Fix incorrect random multicast MAC address creation.

svn path=/trunk/; revision=15018
2005-05-05 19:17:25 +00:00
Casper Hornstrup
1fef01891c Merge 14551:14980 from trunk
svn path=/branches/xmlbuildsystem/; revision=15017
2005-05-05 19:15:25 +00:00
Gé van Geldorp
d0bf4f6953 Sync to Wine-20050419:
Remove no longer needed files.

svn path=/trunk/; revision=15016
2005-05-05 19:11:20 +00:00
Magnus Olsen
6af3fc11fe swedish translation by Andreas Bjerkeholt
svn path=/trunk/; revision=15015
2005-05-05 19:05:42 +00:00
Gé van Geldorp
e14533d20a Sync to Wine-20050419:
Krzysztof Foltman <wdev@foltman.com>
- removed trailing spaces from some files
- tab support
- indent support
- PageUp key support.
- Support for "normal" scroll bar functionality (line and page
  scrolling).
- made string operations consistent wrt whitespace handling (which
  should greatly improve stability of the wrap code and eliminate
  regressions of the most recent versions)
- completely new scrollbar handling (much more reliable) and related
  redraw fixes
- Page Down handler (no Page Up yet, fixing wrap/redraw/scrollbar bugs
  was of higher priority)
- RTF reader doesn't use RichEdit messages anymore (which saves on
  unnecessary repaints)
- added unicode character support to RTF import (like: \u12345 ?)
- small fixes
- fixed whitespace identification bug
- removed drawing of paragraph marks
- improved stub implementations for IRichEditOle
- Unknown destinations are now correctly skipped (so loading an RTF
  file generated by, for example, OpenOffice doesn't produce lots of
  garbage anymore).
- Format stack for RTF groups (so that RTF reader can correctly read
  what RTF writer wrote :) )
- EM_STREAMIN can now deal with undo in a reasonable manner (no
  multiple undo actions in one EM_STREAMIN).
- Related changes to undo code (umIgnore mode is now handled
  correctly).
- Numerous improvements in the RTF reader: it reads some character
  attributes now (you will have proper small print in license agreements
  now).
- Fixed a memory overwrite bug in conversion from CHARFORMAT2A to
  CHARFORMAT2W.
- Optimized repaint of the area below the text.
- ME_JoinRuns didn't mark the paragraph for rewrapping, fixed.
- Removed PostQuitMessage(0) from WM_DESTROY handler (duh!).
- Use of EM_GETOLEINTERFACE is reported with FIXME instead of TRACE
  (any app using this message is likely to encounter major problems).
- WM_COPY (and WM_CUT) can now put both Unicode and RTF format (thanks
  to Phil Krylov's RTF generator code).
- New message implemented - WM_PASTE.
- RTF reader: rtfPlain implemented (kind of).
- RTF writer: rewritten main loop (the old one crashed in some
  circumstances when SFF_SELECTION was used).
- The meaning of the rewrap flag got inverted (MEPF_REWRAP instead of
  MEPF_WRAPPED) for consistency.
- Major code cleanups in rewrap/repaint code, leading to "smarter"
  behaviour wrt repainting selections.
- Old font management replaced by the cache-based one, which keeps
  maximum of 10 HFONTs at once, instead of one per a couple of runs.
- EM_CANPASTE implemented
- updated TODO list (including list of (un)implemented messages)
- fixed WM_PASTE (the previous version might not close the clipboard
  if it didn't contain a usable format)
- scrollbar operations (like clicking on arrows) should update
  scrollbar's current position
Gerald Pfeifer <gerald@pfeifer.com>
- Make ME_ArrowLeft() return a value in every case.
Phil Krylov <phil@newstar.rinet.ru>
- Make RTF reader fall back to simple text if a correct RTF header is
  not detected. This should fix some installers.
- Made RTF reader and writer handle codepages mostly similar to the
  original riched20.dll.
- Fixed support for RTF documents using ANSI charset and added support
  for multibyte charsets, so that BIG5 and UTF-8 RTF documents are
  working now.
- Replaced slow and outdated character set handling in RTF reader by
  Unicode/codepages support. Added charset->codepage conversion.
- Implemented hash table lookup for RTF keywords in RTF reader.
- Added "generator" RTF destination handling.
- Initial implementation of EM_STREAMOUT and RTF writer.
- Fixed \u keyword to output signed 16-bit values. Also fixed CP_SYMBOL
  conversion and the detection of the default font's codepage.
- Improved RTF export.
Mike McCormack <mike@codeweavers.com>
- Remove casts and unused code.
Hannu Valtonen <Hannu.Valtonen@hut.fi>
- Added mousewheel support.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Use "" for Windows includes in dlls, instead of <>.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Jason Edmeades <us@the-edmeades.demon.co.uk>
- Correct memory allocation macro.

svn path=/trunk/; revision=15014
2005-05-05 19:00:49 +00:00
Hervé Poussineau
f71087e736 ExFreePool -> ExFreePoolWithTag changes
svn path=/trunk/; revision=15013
2005-05-05 18:59:14 +00:00
Gé van Geldorp
7bd0add306 Sync to Wine-20050419:
Peter Berg Larsen <pebl@math.ku.dk>
- Replace strncpy with memcpy or lstrcpyn.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.

svn path=/trunk/; revision=15012
2005-05-05 18:32:46 +00:00
Gé van Geldorp
df82a2a2a8 Sync to Wine-20050419:
Daniel Remenak <dtremenak@gmail.com>
- Implemented VarIdiv.
- Return DISP_E_DIVBYZERO instead of crashing when asked to divide a
  variant by zero.
- Remove unused variable in _copy_arg.
Marcus Meissner <meissner@suse.de>
- Serialize NULL pointer interfaces correctly.
- Fixed VT_BSTR|VT_BYREF marshalling.
- Added VT_I4|VT_BYREF marshalling.
- Fixed ppvObject serializer (deref twice instead of once).
- Actually pass back return value of remote call in type marshaller.
- Format VT_UI1, VT_I1, VT_UI2, VT_I2 correctly.
- Added IDispatch::GetIDsOfNames() special case serializing.
- Handle VT_PTR / NULL marshalling correctly.
Mike Hearn <mike@navi.cx>
- Fix BSTR tracing in the typelib marshaller.
- Fix PARAMFLAG_FOUT typo in the tmarshaller.
Mike Hearn <mh@codeweavers.com>
Robert Shearman <rob@codeweavers.com>
- Implement VT_BYREF | VT_BSTR marshalling.
- Add more integer types for marshaling and unmarshaling.
- Implement VT_BYREF | VT_BSTR unmarshaling.
- Don't allocate memory for TKIND_DISPATCH/TKIND_INTERFACE
  unmarshaling as it will be lost in the success case and interferes
  with the failure case.
Robert Shearman <rob@codeweavers.com>
- Add outer unknown support for typelib marshaler.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Fix leftover negative sign in height parameter for transparent
  bitmap.
- Properly announce whether bitmap is transparent in get_Attributes.
- GIF transparency is now palette-index based, instead of RGB based.
- Keep original bitmap and XOR mask separate, so that get_Handle
  returns original bitmap.
- Initialize [orig|himetric][Width|Height] for PICTYPE_ICON case.
- Fix failure to notice the use of a GIF palette index greater or equal
  to 128 for transparency.
- After Float->string conversion via sprintfW(), VarDecFromR[4|8] is
  forced to use US locale for string->Decimal conversion, to agree with
  sprintfW().

svn path=/trunk/; revision=15011
2005-05-05 18:29:41 +00:00
Gé van Geldorp
61e422828e Sync to Wine-20050419:
Juan Lang <juan_lang@yahoo.com>
- Implement PropSys{Alloc|Free}String, and support BSTRs in
  PropVariant{Clear|Copy} using them.
- Begin implementing IPropertyStorage.
- Add traces, add unit tests for IPropertyStorage, and fix the problems
  they caught.
- Implement FmtIdToPropStgName & PropStgNameToFmtId, with tests.
- add write support to IPropertyStorage, with tests
- misc. cleanups the tests turned up
- Add a comment about byte order, change types to reduce casting and not
  cast away constness.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Change prototypes so gcc with some warnings doesn't bark.
- Correct and complete some api documentation.
Mike McCormack <mike@codeweavers.com>
- Eliminate forward declarations, make functions static.
- Eliminate casts of the return value of HeapAlloc.
- Remove function prototypes, make functions static.
- StgOpenStorage shouldn't open zero length storage files.
- Remove unnecessary function prototypes.
Robert Shearman <rob@codeweavers.com>
- Add critsec debugging info.
- Move the modal loop called during RPCs into CoWaitForMultipleHandles.
- Use a mutex for long remoting calls to IRemUnknown methods.
- Remove locking in apartment_disconnectproxies as it is not needed.
- Use PostMessage instead of SendMessage so we can run the message
  loop or not as appropriate.
- Rename apartment functions to become more object-oriented.
- Rename register_ifstub to marshal_object to more accurately describe
  what it does.
- Add new function, apartment_getoxid, to prepare for a possible
  future patch where remoting is started on demand.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc).
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Huw Davies <huw@codeweavers.com>
- Don't close reg key if the open failed.
- WriteFmtUserTypeStg doesn't pull a CLSID from the registry - it's
  unclear when (if at all) this gets written.
Alexandre Julliard <julliard@winehq.org>
- Fixed a buffer overflow.
Joris Huizer <jorishuizer@planet.nl>
- A few memory checks avoiding memory leaks.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Zero out an invalidated runningObjectTableInstance pointer.
Dimitrie O. Paun <dpaun@rogers.com>
- Remove the need for the non-standard (Close|Delete)MetaFile16().
Troy Rollo <wine@troy.rollo.name>
- ix test for STGM_SHARE_EXCLUSIVE on nameless DocFiles.

svn path=/trunk/; revision=15010
2005-05-05 18:16:09 +00:00
Thomas Bluemel
6b48fc81ad implemented RegOpenUserClassesRoot (doesn't work in reactos because there's no symbolic link \Registry\User\<SID>_Classes yet)
svn path=/trunk/; revision=15009
2005-05-05 17:45:00 +00:00
Hervé Poussineau
bcbeeea71f Change ExFreePool to ExFreePoolWithTag
Don't call RtlFreeUnicodeString if the string wasn't created by RtlAnsiStringToUnicodeString or RtlUpcaseUnicodeString
Implement ExRosQueryNonPagedPoolTag
Add BAD_POOL_CALLER code

svn path=/trunk/; revision=15008
2005-05-05 17:20:10 +00:00
Eric Kohl
11670a0523 Implement OpenAndMapFileForRead, RetreiveFileSecurity, StampFileSecurity, TakeOwnershipOfFile and UnmapAndCloseFile.
svn path=/trunk/; revision=15007
2005-05-05 16:16:28 +00:00
Thomas Bluemel
de9188501b the registry functions shouldn't change the last error, instead they should just return the error code.
svn path=/trunk/; revision=15006
2005-05-05 16:15:08 +00:00
Magnus Olsen
f2454371af Update the swedish translation by
David Nordenberg 



svn path=/trunk/; revision=15005
2005-05-05 16:05:46 +00:00
Hervé Poussineau
a3d0da6d95 Don't desallocate non allocated memory
svn path=/trunk/; revision=15004
2005-05-05 15:39:36 +00:00
Thomas Bluemel
b9c033f3ec - ported BuildTrusteeWithObjectsAndNameA/W and BuildTrusteeWithObjectsAndSidA/W from wine
- implemented RegOpenCurrentUser
- directly forward GetSecurityDescriptorLength to NTDLL.RtlLengthSecurityDescriptorguard dumping the stack trace to prevent infinite exception loopsguard dumping the stack trace to prevent infinite exception loops

svn path=/trunk/; revision=15003
2005-05-05 15:39:27 +00:00
Hervé Poussineau
9961bb7d69 Better handle of wrong arguments in IoRegisterDeviceInterface
svn path=/trunk/; revision=15002
2005-05-05 15:39:09 +00:00
Thomas Bluemel
0f4b0fd412 guard dumping the stack trace to prevent infinite exception loops
svn path=/trunk/; revision=15001
2005-05-05 15:38:32 +00:00
Hervé Poussineau
e5443b9351 Call Fs notifications at PASSIVE_LEVEL by using a guarded mutex
Use ExFreePoolWithTag instead of ExFreePool

svn path=/trunk/; revision=15000
2005-05-05 13:27:00 +00:00
Thomas Bluemel
da6a50d93f directly use HeapAlloc/Free in midl_user_allocate and midl_user_free instead of the depreciated GlobalAlloc/Free functions
svn path=/trunk/; revision=14999
2005-05-05 13:24:39 +00:00
Thomas Bluemel
cb363f4f7d use SERVICES_ACTIVE_DATABASE if the caller didn't specify a database for OpenSCManager()
svn path=/trunk/; revision=14998
2005-05-05 12:58:03 +00:00
Alex Ionescu
264cee75a3 Simply fix up the formatting, there were tabs and 3 spaces and 4 spaces and 2 spaces identation. No code was harmed.
svn path=/trunk/; revision=14997
2005-05-05 12:35:09 +00:00
Thomas Bluemel
74d7b0c5f4 prevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not in bytes!
svn path=/trunk/; revision=14996
2005-05-05 12:25:40 +00:00
Thomas Bluemel
e85ca23849 don't dereference lpTokenAttributes if the caller passed NULL to DuplicateTokenEx
svn path=/trunk/; revision=14995
2005-05-05 12:21:43 +00:00
Magnus Olsen
d22f099901 Usurp
fransch translations
fix right help string printing out on screen wrong strings was loading when you need help
incress the string buffer for loading strings from rc example for dir /?
remove duplicate STRING_PARAM_ERROR

solv bugzila bug 618 


svn path=/trunk/; revision=14994
2005-05-05 12:03:43 +00:00
Hartmut Birr
3fdefd1abf - Use the WIN32 option to select the correct mkdir.
svn path=/trunk/; revision=14993
2005-05-05 11:28:49 +00:00
Hartmut Birr
76a83ce1cc - Detect msys on windows as a linux system.
- Creating of the bootcd will not work. There is somewhere a path with 'c:/'.

svn path=/trunk/; revision=14992
2005-05-05 11:26:32 +00:00
Hartmut Birr
159160db0d - Fixed the parameters for NtOpenFile in InternalFindFirstFile.
- Closed the opened directory on error in InternalFindFirstFile.

svn path=/trunk/; revision=14991
2005-05-05 11:07:28 +00:00
Hartmut Birr
43e3abdd99 - Return the length in VfatDirectoryControl.
svn path=/trunk/; revision=14990
2005-05-05 11:05:05 +00:00
Hartmut Birr
5e49963c1a - Free always the name string and the completion context in IopDeleteFile.
- Fixed the check for synchronous operations in NtQueryDirectoryFile.

svn path=/trunk/; revision=14989
2005-05-05 11:03:27 +00:00
Hartmut Birr
4200c75f3b - Guard the copying to the IOSB.
- Do the main processing on success or if previous STATUS_PENDING was returned. 
  Do not use some of the IRP and FO flags at this point.   
- Set all results before signaling the events.  
- Signal the FO event previous the user event.    
- Made the code a little bit shorter.


svn path=/trunk/; revision=14988
2005-05-05 10:59:34 +00:00
Hervé Poussineau
e80efe27d7 SVN maintenance:
Delete wine_unicode.map
Add *.map to ignore list

svn path=/trunk/; revision=14987
2005-05-05 09:59:38 +00:00
Casper Hornstrup
0bb263067a Copy wininet to branch
svn path=/branches/xmlbuildsystem/; revision=14986
2005-05-05 09:48:22 +00:00
Casper Hornstrup
0922a0e8e5 Delete wininet
svn path=/branches/xmlbuildsystem/; revision=14985
2005-05-05 09:45:38 +00:00
Thomas Bluemel
483c08b898 - fixed RegSetValueEx to take the null-terminating byte for strings into account when the caller forgot it
- capture the driver service name string in NtLoadDriver

svn path=/trunk/; revision=14984
2005-05-05 02:46:17 +00:00
Thomas Bluemel
079656c5c4 only create handles with access rights needed for the operation
svn path=/trunk/; revision=14983
2005-05-05 00:07:27 +00:00
Magnus Olsen
7a3fb8af07 tinus
implement MouseResolution setting

Me (Magnus Olsen)
remove old psuax drv from hiveinst.inf and add tinus mouse drv settings
add MouseResolution setting to reg


svn path=/trunk/; revision=14982
2005-05-04 23:06:15 +00:00
Thomas Bluemel
0e71d1e88d prevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not in bytes!
svn path=/trunk/; revision=14981
2005-05-04 22:32:43 +00:00
Thomas Bluemel
c1b7289bd6 prevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not in bytes!
svn path=/trunk/; revision=14980
2005-05-04 22:21:55 +00:00
Thomas Bluemel
410ddcfe72 correctly use tchar.h again and build a unicode version by default
svn path=/trunk/; revision=14979
2005-05-04 22:18:43 +00:00
Thomas Bluemel
6a0f65e223 it's valid to pass lpTargetHandle = NULL to DuplicateHandle()
svn path=/trunk/; revision=14978
2005-05-04 21:23:13 +00:00
Gé van Geldorp
600cfcc505 Fix GDB stub:
- Initialize WrapperTable routines as early as possible
- Initialize debug port (hard coded to COM2, 115200 baud for now)
- Don't limit runnable thread on startup

svn path=/trunk/; revision=14977
2005-05-04 20:38:43 +00:00
Thomas Bluemel
68b564e30a make correct use of tchar.h in taskmgr and build it as unicode by default
svn path=/trunk/; revision=14976
2005-05-04 19:29:28 +00:00
Maarten Bosma
587ddda1d5 Steven Wilson: update tlist to use new process info struct names
svn path=/trunk/; revision=14975
2005-05-04 18:53:47 +00:00
Magnus Olsen
6039178c86 David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt and small change from Kris Engeman
svn path=/trunk/; revision=14974
2005-05-04 18:10:12 +00:00
Martin Fuchs
8ec74d5f10 restore toolbar bitmap
svn path=/trunk/; revision=14973
2005-05-04 17:59:36 +00:00
Magnus Olsen
7e2d943420 Swedish åäö was gone in the translation after some commit.
I which we can split all langues to own .rc files. 
so this can not be happen agien

Thx  Harteex for fixing åäö in the .rc file 

svn path=/trunk/; revision=14972
2005-05-04 17:41:27 +00:00
Magnus Olsen
35b46085ea filip0402 : patch for taskmgr to remove some hardcode string tested by Harteex
svn path=/trunk/; revision=14971
2005-05-04 16:54:48 +00:00
Hervé Poussineau
60bdc5ad60 Set Thread->SystemThread to TRUE when creating a system thread. Patch by Filip Navara
svn path=/trunk/; revision=14970
2005-05-04 16:00:39 +00:00
Aleksey Bragin
d534342503 RegOpenKey, RegOpenKeyEx A/W imported and ported from WINE. This keeps the current test set in advapi32_test registry on 85/0 level
svn path=/trunk/; revision=14969
2005-05-04 15:53:54 +00:00
Aleksey Bragin
8460c6e770 NtOpenKey modified to correctly behave when wrong input params are given (according to WINE tests).
svn path=/trunk/; revision=14968
2005-05-04 15:27:05 +00:00
Hervé Poussineau
ed23d5951d Fix flags checking in I8042ReadData (patch by Tinus_)
Check error codes returned by IoCreateDevice
Replace ExFreePool by ExFreePoolWithTag

svn path=/trunk/; revision=14967
2005-05-04 13:28:34 +00:00
Alex Ionescu
985abe1494 Fix horrible bug where Queued Threads were treated like Threads on the Ready list. I was aware of this bug for months and it's fixed in my new scheduler but now that tinus has seen it happen, I'm comitting the fix temporarly in trunk.
svn path=/trunk/; revision=14966
2005-05-03 23:24:26 +00:00
Magnus Olsen
151078eab1 bugfix from, tinus mailto:o112w8r02@sneakemail.com
fixining http://reactos.com/bugzilla/show_bug.cgi?id=616#c1
bug in mozila 

There's a small bug in usetup/bootsup.c which makes it fail formatting the disk.
It tries to read the bootsector image on the cdrom for write access (which
succeeds), then tries to read from the handle (which fails).

svn path=/trunk/; revision=14965
2005-05-03 23:18:21 +00:00
Hartmut Birr
5255b326ec Do always set the UserIosb of an irp in IoSecondStageCompletion.
svn path=/trunk/; revision=14964
2005-05-03 21:42:35 +00:00
Hervé Poussineau
f2b9954c3f Add French translation for sndvol32 (Patch by Usurp)
Set properties for Cz.rc and Sv.rc

svn path=/trunk/; revision=14963
2005-05-03 21:25:41 +00:00
Magnus Olsen
0d5f3d84cb Implement WSAStringToAddressA
svn path=/trunk/; revision=14962
2005-05-03 18:37:51 +00:00
Magnus Olsen
4732ce19d1 Implement WSAStringToAddressW
svn path=/trunk/; revision=14961
2005-05-03 17:22:52 +00:00
Hervé Poussineau
d6ce9d647e Remove Disk driver for Bochs.
It doesn't compile and shouldn't be usefull as we have a normal disk driver in drivers/storage/disk

svn path=/trunk/; revision=14960
2005-05-03 13:14:59 +00:00
Martin Fuchs
aa0e827382 rosshell: printer and network folder in start menu
svn path=/trunk/; revision=14959
2005-05-03 12:15:27 +00:00
Alex Ionescu
e49c3dc30f revert accidental commit
svn path=/trunk/; revision=14958
2005-05-03 11:56:46 +00:00
Martin Fuchs
61ce6acfa9 context menu interface pointer cleanup
svn path=/trunk/; revision=14957
2005-05-03 09:32:10 +00:00
Martin Fuchs
7b8809480b small optimization for the last change
svn path=/trunk/; revision=14956
2005-05-03 09:21:42 +00:00
Martin Fuchs
63415000fe display custom folders in start menu root
svn path=/trunk/; revision=14955
2005-05-03 08:04:58 +00:00
Martin Fuchs
7bb756385c context menu interface pointer cleanup
svn path=/trunk/; revision=14954
2005-05-03 08:03:46 +00:00
Hartmut Birr
c853c0b6e3 Open/create all files with the necessary rights.
svn path=/trunk/; revision=14951
2005-05-02 20:30:29 +00:00
Hartmut Birr
98c1f41b90 - Check first for a valid returned object in ObOpenObjectByName.
- Free always the remaining path string if an error is returned in ObOpenObjectByName.

svn path=/trunk/; revision=14950
2005-05-02 19:12:31 +00:00
Hervé Poussineau
82eacd2e6d Add i8042prt.sys and kbdclass.sys to boot cd
Remove leftover of keyboard.sys and psaux.sys drivers
(Pointed by Usurp)

svn path=/trunk/; revision=14949
2005-05-02 16:35:58 +00:00
Emanuele Aliberti
143f5e1f74 Move VMS subtree in the proper place.
svn path=/trunk/; revision=14948
2005-05-02 14:15:56 +00:00
Filip Navara
51e5c11dc8 Fix Alex's completely wrong fix for NtUserScrollWindowEx (aka bug #606).
svn path=/trunk/; revision=14947
2005-05-02 14:05:38 +00:00
Alex Ionescu
6c331c3529 Fix many of the scrollbar issues. However, MDI Scrollbars are still not working perfectly. Patch by tinus <o112w8r02@sneakemail.com>. Fixes bug 606
svn path=/trunk/; revision=14946
2005-05-02 11:42:41 +00:00
Alex Ionescu
dff743f85a Don't call internal function which checks parameters since our parameter is kernel mode.
svn path=/trunk/; revision=14945
2005-05-02 11:38:48 +00:00
Hervé Poussineau
252332e971 Don't free unicode strings in case of error
svn path=/trunk/; revision=14944
2005-05-02 11:03:54 +00:00
Art Yerkes
dabd9ab597 Fix KDSERIAL.
svn path=/trunk/; revision=14943
2005-05-02 07:04:36 +00:00
Alex Ionescu
f19732f822 Same kind of fixes for NtFlushBuffersFile
svn path=/trunk/; revision=14942
2005-05-02 05:27:32 +00:00
Alex Ionescu
fb52d69134 Fix NtQueryInformationFile. Use right device object in case of FO_DIRECT_DEVICE_OPEN, use local event, set proper flags so that the I/O manager does the copying and freeing of the buffers, respect syyncronous I/O. Same kind of fixes for IoQueryFileInformation
svn path=/trunk/; revision=14941
2005-05-02 05:15:20 +00:00
Martin Fuchs
7997eff27f implement owner drawn context menus for winefile
svn path=/trunk/; revision=14940
2005-05-01 23:19:48 +00:00
Hervé Poussineau
f4bf96a034 Fix garbage text output with cmd.exe in GUI mode.
Thanks to Hartmut for pointing me the problem

svn path=/trunk/; revision=14939
2005-05-01 22:30:13 +00:00
Alex Ionescu
b099687f31 Byebye decrepit drivers
svn path=/trunk/; revision=14938
2005-05-01 22:29:18 +00:00
Alex Ionescu
24f249ab54 Remove incorrect change
svn path=/trunk/; revision=14936
2005-05-01 22:20:13 +00:00
Alex Ionescu
f3a824a347 remove accidental commit
svn path=/trunk/; revision=14935
2005-05-01 22:06:38 +00:00
Alex Ionescu
f38095c406 Remove incorrect change
svn path=/trunk/; revision=14934
2005-05-01 21:57:57 +00:00
Alex Ionescu
13c655b516 Do not signal event twice. Thanks to Gunnar for finding the bug
svn path=/trunk/; revision=14933
2005-05-01 21:51:57 +00:00
Martin Fuchs
8441c8115e merge ROS Shell without integrated explorer part into trunk
svn path=/trunk/; revision=14932
2005-05-01 21:22:13 +00:00
Thomas Bluemel
38055bc7ed DeleteFile should create a handle with DELETE access rights
svn path=/trunk/; revision=14931
2005-05-01 21:19:04 +00:00
Hervé Poussineau
9420d88967 SVN maintenance on new directories/files
svn path=/trunk/; revision=14929
2005-05-01 21:03:02 +00:00
Filip Navara
27fff4b070 Potapnik <jirka@studioprojekt.cz>
Czech translation of Registry Editor.

svn path=/trunk/; revision=14928
2005-05-01 20:53:29 +00:00
Filip Navara
a5584f9242 Potapnik <jirka@studioprojekt.cz>
Czech translation of VMWInst, Welcome and WinLogon (with one change by me).

svn path=/trunk/; revision=14927
2005-05-01 20:48:20 +00:00
Alex Ionescu
a70444fab1 i8042prt driver by tinus.
svn path=/trunk/; revision=14926
2005-05-01 20:38:29 +00:00
Magnus Olsen
82b7f31f61 reverted them back from ekohl change it create
alot of problem example chater are not being display right
if you switch reactos to another langues. 

svn path=/trunk/; revision=14925
2005-05-01 20:30:41 +00:00
Hervé Poussineau
fbad02ab35 Please give names to your PDOs. Should correct the boot on non-ACPI systems.
svn path=/trunk/; revision=14924
2005-05-01 20:20:59 +00:00
Martin Fuchs
7562cce403 more rosshell separations
svn path=/branches/lean-explorer/; revision=14923
2005-05-01 20:12:06 +00:00
Martin Fuchs
2547a93939 experimental ROS Shell without integrated explorer part
svn path=/branches/lean-explorer/; revision=14922
2005-05-01 20:02:30 +00:00
Alex Ionescu
aa1fd35178 Fix IopCloseFile: Use IRP_SYNC_API flag, use local stack event, get the right deviceobject if FO_DIRECT_DEVICE_OPEN is set, set IRP_CLOSE_OPERATION flag.
svn path=/trunk/; revision=14921
2005-05-01 19:46:51 +00:00
Alex Ionescu
f7695b0f53 Fix IopDeleteFile: Use IRP_SYNC_API flag, use local stack event, fix memory leak (Free completion context), dereference completion port, get the right deviceobject if FO_DIRECT_DEVICE_OPEN is set
svn path=/trunk/; revision=14920
2005-05-01 19:36:00 +00:00
Thomas Bluemel
722d9a84e4 fixed some warnings with gcc4 (mostly assignment differs in signedness warnings)
svn path=/trunk/; revision=14919
2005-05-01 19:30:06 +00:00
Magnus Olsen
832cfa1af7 Fix so it can compile agein
svn path=/trunk/; revision=14918
2005-05-01 18:23:08 +00:00
Magnus Olsen
62bf02deb7 Remove some hardcode strings
to En.rc

svn path=/trunk/; revision=14917
2005-05-01 17:32:09 +00:00
Magnus Olsen
7a4df43bd1 Move english langues to own .rc file (En.rc) so it be more easy to maintain all langues
svn path=/trunk/; revision=14916
2005-05-01 15:18:45 +00:00
Magnus Olsen
6ee6ce325b Move english langues to own .rc file (En.rc) so it be more easy to maintain all langues
svn path=/trunk/; revision=14915
2005-05-01 14:53:57 +00:00
Magnus Olsen
dfa965f933 Andreas Bjerkeholt: Swedish translation, proofread by David Nordenberg
svn path=/trunk/; revision=14914
2005-05-01 14:42:04 +00:00
Magnus Olsen
27da6bdc5d David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=14913
2005-05-01 14:39:01 +00:00
Eric Kohl
2603ff574e - Use fixed message buffer size.
- Don't translate command options.
- Only use _one_ message buffer per function.
- Fix indentation mess.

svn path=/trunk/; revision=14912
2005-05-01 13:58:30 +00:00
Martin Fuchs
ca6a77b739 restore the IDS_TERMINATE strings trashed by the commit in rev. 14769
Could please someone with a swedish environment check if the character encoding in codepage 1252 is correct?

svn path=/trunk/; revision=14911
2005-05-01 12:56:25 +00:00
Art Yerkes
196bd4d6aa Added HOST=mingw32-linux64 setting.
Fixed various small breakage for linux64 host.

svn path=/trunk/; revision=14910
2005-05-01 11:24:07 +00:00
Filip Navara
515d8e34ac tinus <o112w8r02@sneakemail.com>
Call the shell hook on showing/hiding window.

svn path=/trunk/; revision=14909
2005-05-01 11:15:11 +00:00
Hartmut Birr
ea130b3ba2 Made the loading of resource strings more unicode compatibly.
svn path=/trunk/; revision=14908
2005-05-01 10:28:58 +00:00
Hartmut Birr
7ce3991a5c Return the correct data length for FSCTL_PIPE_GET_STATE.
svn path=/trunk/; revision=14907
2005-05-01 09:53:19 +00:00
Hartmut Birr
65deeff1c1 Fixed the calculation of timeout values.
svn path=/trunk/; revision=14906
2005-05-01 09:51:06 +00:00
Hartmut Birr
d226234328 Print symbol names if DBG is defined.
svn path=/trunk/; revision=14905
2005-05-01 09:49:45 +00:00
Filip Navara
ecba11e64f Potapnik <jirka@studioprojekt.cz>
Czech translation of Task Manager statusbar messages.

svn path=/trunk/; revision=14904
2005-05-01 09:45:35 +00:00
Filip Navara
d13148cece Forgot to change the sprintf statements in revision 14902.
svn path=/trunk/; revision=14903
2005-05-01 09:29:20 +00:00
Filip Navara
3ce5a90320 Move the statusbar strings to resources.
svn path=/trunk/; revision=14902
2005-05-01 09:23:12 +00:00
Eric Kohl
ccbb2fb84b Use default locale until ReactOS fully suports all required locale functions!
svn path=/trunk/; revision=14901
2005-05-01 09:07:31 +00:00
Filip Navara
334e2d762a Fix coordinate mapping of unmodRect in DefWndDoSizeMove.
svn path=/trunk/; revision=14900
2005-05-01 08:25:33 +00:00
Filip Navara
0c23b97544 Set the message point/time for keyboard and hotkey messages.
svn path=/trunk/; revision=14899
2005-05-01 08:03:41 +00:00
Filip Navara
4913443e7e Change the default system menu icon in MDI_AugmentFrameMenu to application icon (based on patch by tinus <o112w8r02@sneakemail.com>).
svn path=/trunk/; revision=14898
2005-05-01 07:10:47 +00:00
Gé van Geldorp
dd735b0384 svn maintenance
svn path=/trunk/; revision=14897
2005-05-01 07:08:18 +00:00
Filip Navara
4fee912dfe - Merge changes to MDI_AugmentFrameMenu from Wine (fixes part of bug #606).
- Fix deleting of bitmap in MDI_RestoreFrameMenu.

svn path=/trunk/; revision=14896
2005-05-01 07:05:13 +00:00
Gé van Geldorp
d679231534 svn maintenance
svn path=/trunk/; revision=14895
2005-05-01 06:38:51 +00:00
Thomas Bluemel
6e1ab38590 fixed uninitialized variable warning
svn path=/trunk/; revision=14894
2005-04-30 22:45:58 +00:00
Eric Kohl
8f40adc5eb NtQueryInformationFile/NtSetInformationFile:
- Check for information class specific access rights.
- Clean-up some indentation mess.

svn path=/trunk/; revision=14893
2005-04-30 22:00:26 +00:00
Aleksey Bragin
be9f61a8b9 Fixed RegEnumValueA/W behaviour when output buffers are too small. This fixes 20+ tests from "advapi32_test registry" (now it has only 2 failures - but that's a reduced tests set!).
I beg my pardon for reformatting these two funcs and fixing bugs in one commit, I will do it in different commits in the future.

svn path=/trunk/; revision=14891
2005-04-30 21:11:34 +00:00
Magnus Olsen
acb9e6951d forget this file
thx <hpoussin>

svn path=/trunk/; revision=14890
2005-04-30 21:07:32 +00:00
Magnus Olsen
671be67001 Remove all hardcode string to En.rc
Hopplyfull all hardcoing string are gone now 


svn path=/trunk/; revision=14888
2005-04-30 19:00:46 +00:00
Filip Navara
a14761769e Potapnik <jirka@studioprojekt.cz>
Czech translation of Task Manager.

svn path=/trunk/; revision=14887
2005-04-30 18:55:44 +00:00
Phillip Susi
96f75639c4 Renamed another makefile in the xmlbuildsystem branch that had the wrong case
svn path=/branches/xmlbuildsystem/; revision=14886
2005-04-30 18:52:55 +00:00
Filip Navara
7765507978 Potapnik <jirka@studioprojekt.cz>
Czech translations of appwiz, control, desk, intl, ncpa, sysdm and timedate.

svn path=/trunk/; revision=14885
2005-04-30 18:49:41 +00:00
Alex Ionescu
9ff89d4fd7 Add hack for ROS's weird behavior. Will investigate but this lets you boot for now
svn path=/trunk/; revision=14884
2005-04-30 17:43:18 +00:00
Hartmut Birr
d7ea77e414 Set the readed size within the irp.
svn path=/trunk/; revision=14883
2005-04-30 17:37:11 +00:00
Alex Ionescu
f04a0c4e50 Remove debug message
svn path=/trunk/; revision=14882
2005-04-30 17:30:05 +00:00
Phillip Susi
ba9cb9156c Fixed another makefile with the wrong case in the xmlbuildsystem branch
svn path=/branches/xmlbuildsystem/; revision=14881
2005-04-30 17:22:34 +00:00
Phillip Susi
d13badb58d makefile was spelled with a lower case in the xmlbuild branch,
but with upper case M in the trunk.  This was causing problems with
svn switch on win32 due to the name conflict.  


svn path=/branches/xmlbuildsystem/; revision=14880
2005-04-30 17:15:58 +00:00
Phillip Susi
9550da5a54 Fixed up a few missing includes that were preventing builds
svn path=/branches/xmlbuildsystem/; revision=14879
2005-04-30 16:37:06 +00:00
Magnus Olsen
7b4892749e Remove all hardcode string to En.rc
Hopplyfull all hardcoing string are gone now 
in cmd


svn path=/trunk/; revision=14878
2005-04-30 16:21:06 +00:00
Magnus Olsen
f1dad288cd Remove all hardcode string to En.rc
for all file 

This changes are only for  ver.c
Remove hardcode dev list to cmd.rc

update mailing adress for bug report to ros-dev@reactos.com
sugestion by GvG 

I did leave copyright year hardcode in ver.c


svn path=/trunk/; revision=14877
2005-04-30 15:46:59 +00:00
Hervé Poussineau
5c87a8787a Register GUID_DEVINTERFACE_COMPORT for serial devices
Register GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR for serenum devices
Fix some comments

svn path=/trunk/; revision=14876
2005-04-30 15:04:10 +00:00
Hervé Poussineau
8293cc1006 Patch by Tinus_: Check for right error code returned by ZwOpenSymbolicLinkObject
svn path=/trunk/; revision=14875
2005-04-30 14:53:41 +00:00
Hervé Poussineau
71486fdc01 Don't double define GUID_DEVICE_INTERFACE_ARRIVAL and GUID_DEVICE_INTERFACE_REMOVAL in include/ntos/ntpnp.h and w32api/include/ddk/wdmguid.h
svn path=/trunk/; revision=14874
2005-04-30 14:36:05 +00:00
Gé van Geldorp
c15811bc14 Change BootDrive/BootPartition examples to BootPath
svn path=/trunk/; revision=14873
2005-04-30 14:15:38 +00:00
Hervé Poussineau
08b9a8878b I forgot to dereference FileObject in IoSetDeviceInterfaceState
svn path=/trunk/; revision=14872
2005-04-30 13:53:39 +00:00
Magnus Olsen
6510ad1387 Remove all hardcode string to En.rc
svn path=/trunk/; revision=14871
2005-04-30 13:35:52 +00:00
Magnus Olsen
e705463f4a Remove all hardcode string to En.rc
svn path=/trunk/; revision=14870
2005-04-30 13:13:36 +00:00
Magnus Olsen
04dd142850 Remove all hardcode string to En.rc
svn path=/trunk/; revision=14869
2005-04-30 12:36:36 +00:00
Magnus Olsen
39458d7a85 Remove all hardcode string to En.rc
svn path=/trunk/; revision=14868
2005-04-30 11:53:15 +00:00
Magnus Olsen
fcedc0bf07 Remove all hardcode string to En.rc
from misc.c, move.c pause.c, prompt.c

svn path=/trunk/; revision=14867
2005-04-30 11:16:47 +00:00
Hervé Poussineau
b8bccfb8b4 Implement IoRegisterPlugPlayNotification, IoUnregisterPlugPlayNotification
Implement IoSetDeviceInterfaceState
Fix IoRegisterDeviceInterface
Add prototype for ExFreePoolWithTag

namespc.c: change STATUS_UNSUCCESSFUL to STATUS_OBJECT_NAME_INVALID

SVN maintenance in ntoskrnl/kd/wrappers/

svn path=/trunk/; revision=14866
2005-04-30 09:39:09 +00:00
Filip Navara
847279d106 Denzil <d3nzil@gmail.com>
Czech translation of Package Manager (with minor corrections by myself).

svn path=/trunk/; revision=14865
2005-04-30 05:08:13 +00:00
Filip Navara
eddbd1a4e3 tinus <o112w8r02@sneakemail.com>
Change the backtrace command to show current EIP too.

svn path=/trunk/; revision=14864
2005-04-30 04:43:17 +00:00
Magnus Olsen
6985385b7d Remove all hardcode string to En.rc
from locale.c

svn path=/trunk/; revision=14863
2005-04-29 19:49:50 +00:00
Thomas Bluemel
827c16db5f - added stubs for NtSuspendProcess and NtResumeProcess
- the ProcessDebugPort information class is read-only on NT5.1+

svn path=/trunk/; revision=14862
2005-04-29 16:41:52 +00:00
Alex Ionescu
aff5e61f45 IRP Completion Fixes for 2nd-Stage:
- Free ALL Mdls, not just the first
- Don't copy buffered data just because the Device Object is buffered. Check if the IRP is.
- Don't handle MajorFunctions differenty, use flags which are now correctly set in order to determine course of action.
- Free memory by using flag.
- Don't remove IRP from Thread List too soon.
- Don't use FileObject fields after dereferencing it.
- Don't call IO Completion if there is already an APC routine.
- Signal FileObject/UserEvent properly depending on cases.
- Don't call UserAPC and set events like before if the IRP actually failed.

svn path=/trunk/; revision=14861
2005-04-29 14:38:05 +00:00
Aleksey Bragin
11e90a8e41 Import from WINE 25.04.05 (just because we have old version sitting in our SVN, which shows failures even on WinXP).
Now "advapi32_test registry" has 0 failures on Windows XP Pro. (and generally should have 0 failures under ROS too...)

svn path=/trunk/; revision=14860
2005-04-29 11:25:55 +00:00
Hervé Poussineau
aa182938a2 Remove debug message
svn path=/trunk/; revision=14859
2005-04-29 07:35:01 +00:00
Alex Ionescu
19a014905e And look who made a dumber mistake ;). Thanks WaxDragon
svn path=/trunk/; revision=14858
2005-04-29 02:13:42 +00:00
Magnus Olsen
b35cd289ca Swedish translations by Kris Engeman
svn path=/trunk/; revision=14857
2005-04-28 23:17:13 +00:00
Magnus Olsen
2a0755fbb0 Translate by Andreas Bjerkeholt (harteex@gmail.com)
svn path=/trunk/; revision=14856
2005-04-28 23:15:26 +00:00
Hervé Poussineau
cc5a10001c SVN maintenance:
Add svn:eol-style = native
Add svn:keywords = author date id revision

svn path=/trunk/; revision=14855
2005-04-28 23:14:54 +00:00
Magnus Olsen
32d6f2faa4 David Nordenberg: Swedish translation
svn path=/trunk/; revision=14854
2005-04-28 23:11:04 +00:00
Alex Ionescu
e606cb3718 Remove rant. H&E are very competent developers and made a typical bug that anyone could've made. I was just pissed for having lost an hour finding it ;)
svn path=/trunk/; revision=14853
2005-04-28 22:39:50 +00:00
Magnus Olsen
0dd12c923f Remove all hardcode string to En.rc
from memmory.c

svn path=/trunk/; revision=14852
2005-04-28 22:05:26 +00:00
Hervé Poussineau
1e92d6dfb5 Don't pass a NULL pointer as offset when creating a IRP_MJ_READ irp.
svn path=/trunk/; revision=14851
2005-04-28 21:56:36 +00:00
Magnus Olsen
cadb55139f Remove all hardcode string to En.rc
from free.c, goto.c, if.c label.c 

svn path=/trunk/; revision=14850
2005-04-28 21:17:07 +00:00
Aleksey Bragin
23c9abb0b3 Fix (registry.c:325, dated 20050425) test failure. Description: Added RegOpenKeyA/W check for input param (if it's NULL pointer, returning error)
svn path=/trunk/; revision=14849
2005-04-28 20:26:06 +00:00
Magnus Olsen
492c96c8f9 change _T((LPTSTR)szMsg)) to (LPTSTR)szMsg)
thanks royce3 he did see my small mistage

Remove all hardcode string to En.rc 
from for.c


svn path=/trunk/; revision=14848
2005-04-28 20:00:37 +00:00
Magnus Olsen
5571662474 Remove all hardcode string to En.rc
from echo.c and error.c

svn path=/trunk/; revision=14847
2005-04-28 17:44:34 +00:00
Aleksey Bragin
9e858b535b Added Nls\Locale registry tree, it corresponds to locales I imported from WINE a few revisions ago.
svn path=/trunk/; revision=14846
2005-04-28 14:48:28 +00:00
Magnus Olsen
b6ef59c124 Fix all these warings
libnurbs/nurbtess/sampleComp.cc: In function `void sampleCompLeft(Real*, Real*, vertexArray*, Int, Int, vertexArray*, Int, Int, gridBoundaryChain*, Int, Int, Int, Int, Int, Int, primStream*)':
libnurbs/nurbtess/sampleComp.cc:162: warning: 'gridMidIndex1' might be used uninitialized in this function
libnurbs/nurbtess/sampleComp.cc:162: warning: 'gridMidIndex2' might be used uninitialized in this function

libnurbs/nurbtess/sampleCompRight.cc: In function `void sampleCompRight(Real*, Real*, vertexArray*, Int, Int, vertexArray*, Int, Int, gridBoundaryChain*, Int, Int, Int, Int, Int, Int, primStream*)':
libnurbs/nurbtess/sampleCompRight.cc:75: warning: 'gridMidIndex1' might be used uninitialized in this function
libnurbs/nurbtess/sampleCompRight.cc:75: warning: 'gridMidIndex2' might be used uninitialized in this function

svn path=/trunk/; revision=14845
2005-04-28 13:55:35 +00:00
Aleksey Bragin
4e01611563 Imported locales information from WINE. Sorry it isn't done the "right way" (store all info in locales.nls as WinXP does), but for now I think this way will do.
Also some locales aren't imported because their info contains unicode characters, and I didn't want to switch kernel32 from windres to wrc.

svn path=/trunk/; revision=14844
2005-04-28 13:54:19 +00:00
Aleksey Bragin
af4afa4f65 Imported LANG_ and SUBLANG_ defines from WINE
svn path=/trunk/; revision=14843
2005-04-28 13:50:32 +00:00
Magnus Olsen
4a2a65e916 Fix all these waring by initaielize them where they are declare
libutil/quad.c: In function `gluPartialDisk':
libutil/quad.c:451: warning: 'texLow' might be used uninitialized in this function
libutil/quad.c:451: warning: 'texHigh' might be used uninitialized in this function
libutil/quad.c: In function `gluSphere':
libutil/quad.c:720: warning: 'sintemp2' might be used uninitialized in this function
libutil/quad.c:720: warning: 'sintemp3' might be used uninitialized in this function
libutil/quad.c:720: warning: 'sintemp4' might be used uninitialized in this function
libutil/quad.c:721: warning: 'costemp2' might be used uninitialized in this function
libutil/quad.c:721: warning: 'costemp3' might be used uninitialized in this function
libutil/quad.c:721: warning: 'costemp4' might be used uninitialized in this function

svn path=/trunk/; revision=14842
2005-04-28 13:38:30 +00:00
Magnus Olsen
dada212f2a fix this waring
libutil/mipmap.c: In function `gluBuild3DMipmaps':
libutil/mipmap.c:7382: warning: 'proxyTarget' might be used uninitialized in this function
by initialized the value when it declare


svn path=/trunk/; revision=14841
2005-04-28 13:19:23 +00:00
Magnus Olsen
fadd959c12 fix waring with insiate iter
libutil/mipmap.c: In function `gluScaleImage':
libutil/mipmap.c:5105: warning: 'iter' might be used uninitialized in this function

remve outindex it is not being use at all 
libutil/mipmap.c: In function `scaleInternalPackedPixel':
libutil/mipmap.c:5990: warning: 'outindex' might be used uninitialized in this function


svn path=/trunk/; revision=14840
2005-04-28 13:01:57 +00:00
Steven Edwards
6184590544 we have two copies of a better calc floating around
svn path=/trunk/; revision=14839
2005-04-28 03:37:01 +00:00
Alex Ionescu
f43691583f My mistake
svn path=/trunk/; revision=14838
2005-04-28 00:57:35 +00:00
Alex Ionescu
defaccea55 IO Manager Cleanup continues:
- Removed many extra files that expanded the I/O Manager too much. We usually stick with the standard of
      one object/class per file, like io/device.c or io/controller.c, so it was very confusing to have some
      objects split up in 5 or 6 different files, some containing only one api. Additionally, even a third
      system was used, were objects were bunched up together by class. This mess was so bad that NtCreateFile,
      IopCreateFile, IoCreateFile, IopDeleteFile, NtDeleteFile and NtWriteFile were in 5 different files (as an
      example).
    - Cleaned up some IRP code and fixed a couple of bugs, mainly:
        - Write I/O Type in IRP
        - Write proper IRP Flags where they shoudl be used (Will help for completing requests when i clean up that code)
        - Do *NOT* zero out buffers or data that shouldn't be zeroed. Scsiport actually dependen on this incorrect
          behaviour. Code should never depend on a buffer being zeroed!
        - Remove a lot of duplicated code and helper/alternate functions that weren't really useful.
        - Free MDL and IRP on some failures where we didn't
     - Alphabetized some of the large io files for easier lookup of functions. This and the deletions have resulted
       in a completely bloated diff file. I will provide a cleaned up diff on request by manually downloading the
       old revision and copy/pasting the new code directly above it. The functions which we touched are: 
           - IoAllocateIrp
           - IoBuild[A]SyncronousFsdRequest
           - IoBuildDeviceIoControlRequest
           - IoInitializeIrp
           - IoPageRead, IoSynchronousPageWrite

svn path=/trunk/; revision=14837
2005-04-28 00:54:59 +00:00
Hartmut Birr
612461644d Fixed the check for a created first thread.
svn path=/trunk/; revision=14836
2005-04-27 21:57:24 +00:00
Hartmut Birr
a6d944ecfc Close only the Nls directory handle if the directory was created.
svn path=/trunk/; revision=14835
2005-04-27 21:55:02 +00:00
Hartmut Birr
5e1d995563 Fixed _SEH2_END.
svn path=/trunk/; revision=14834
2005-04-27 21:51:55 +00:00
Hartmut Birr
2c12af40a1 Guarded some calls to handle functions with KeEnterCriticalRegion/KeLeaveCriticalRegion in PsDeleteCidHandle.
svn path=/trunk/; revision=14833
2005-04-27 21:47:34 +00:00
Hartmut Birr
d38a2745a9 Made the physical memory section permanent.
svn path=/trunk/; revision=14832
2005-04-27 21:44:27 +00:00
Hartmut Birr
68f8b9f89b Reinitialized the palette entries after setting the video mode in DrvAssertMode.
svn path=/trunk/; revision=14831
2005-04-27 21:10:44 +00:00
Aleksey Bragin
06ff525737 Added language 0419 (russian) into NLS\Language
svn path=/trunk/; revision=14830
2005-04-27 19:46:41 +00:00
Art Yerkes
2e9d113d86 turned off DEBUG output (thanks to gge for pointing it out).
svn path=/trunk/; revision=14829
2005-04-27 19:04:20 +00:00
Magnus Olsen
f00d82e494 remove ddalphablt worng functions
it should have been NtGdiDdAddAlphaBlt

svn path=/trunk/; revision=14828
2005-04-26 22:28:24 +00:00
Magnus Olsen
3bd5362791 implement NtGdiDdBlt and NtGdiDdAlphaBlt
NtGdiDdAlphaBlt are not supportet by microsoft 
so we report unsupport directx function 


svn path=/trunk/; revision=14827
2005-04-26 22:02:32 +00:00
Aleksey Bragin
dd182c1076 A few locales entries added, though we have currently only 4 locales imported from wine (france, eng, enu, german)
svn path=/trunk/; revision=14826
2005-04-26 21:26:06 +00:00
Aleksey Bragin
037d9d7e8b More DPRINTs added for better tracing of locale-related calls, but NDEBUG is defined.
svn path=/trunk/; revision=14825
2005-04-26 21:23:43 +00:00
Aleksey Bragin
23e1c587a2 Minor changes into a way locales are get and listed
svn path=/trunk/; revision=14824
2005-04-26 21:21:32 +00:00
Gé van Geldorp
c5106fcc0a Sync to Wine-20050419:
Mike McCormack <mike@codeweavers.com>
- Load and display bitmaps in the dialogs.
- Make sure there's only one place we allocate dialog controls.
- Rename dupstrW to strdupW, and remove duplicate definition.
- Move definition of string manipulation functions to msipriv.h.
- Split out database functions, remove dependence on wine/unicode.h.
- Fix loading of the summary information.
- test cases for summary information
- fix memory leaks
- Implement summary information loading and saving.
- Declare MsiExportDatabase* in the spec file, and fix a typo.
- Replace instances of HeapAlloc/MultiByteToWideChar with the internally
  defined strdupAtoW.
- Use strdup, implement MsiDatabaseImportA.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Peter Berg Larsen <pebl@math.ku.dk>
- Janitorial: Get rid of strncpy/strncpyW.
- Remove 2 identicals calls to strlenW.
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Spanish translations updated.
Aric Stewart <aric@codeweavers.com>
- Implement Publish Components in order for MsiGetQualifiedComponent
  apis to work. Also implement MsiGetQualifiedComponent, or at least some
  of the functionality as it is supposed to install stuff if it is
  absent, which it does not do yet.
- Make sure the GUID of the typelib we are registering matches the guid
  requested from MSI. If not search the given typelib file to find the
  typelib requested to register.
- If running in UI mode, then display the UI mode dialogs at the end of
  the installs.
Steven Edwards <steven_ed4153@yahoo.com>
- Avoid using ver.h in favor of winver.h.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Hans Leidekker <hans@it.vu.nl>
- Dutch resource translation.
Marcus Meissner <meissner@suse.de>
- Fixed MsiDatabaseImportA, MsiDatabaseImportW, and
  MsiCreateAndVerifyInstallerDirectory stub parameter counts.
Juan Lang <juan_lang@yahoo.com>
- Log missing environment vars for easier debugging.

svn path=/trunk/; revision=14823
2005-04-26 20:39:02 +00:00
Gé van Geldorp
f668ceb14f Sync to Wine-20050419:
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Spanish translations updated.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.

svn path=/trunk/; revision=14822
2005-04-26 20:05:25 +00:00
Gé van Geldorp
6119adfe22 Sync to Wine-20050419:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
- SBSP_ABSOLUTE is 0 so we cannot do (wFlags & SBSP_ABSOLUTE).
- Add COMDLG32_DumpSBSPFlags().
Eric Pouech <pouech-eric@wanadoo.fr>
- Added proper definition for PRINTDLGEX[AW] structures.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Juan Lang <juan_lang@yahoo.com>
- Change a fixme to a warn, and use W version of call.
Peter Berg Larsen <pebl@math.ku.dk>
- Replace strncpy with memcpy or lstrcpyn.
- Janitorial: Get rid of strncpy/strncpyW.

svn path=/trunk/; revision=14821
2005-04-26 19:18:13 +00:00
Hartmut Birr
c292d7ed88 - Preinitialise the com port infos with default values.
- Set the baud rate also in SerialPortInfo.

svn path=/trunk/; revision=14820
2005-04-26 19:06:19 +00:00
Gé van Geldorp
b55b368e31 Re-apply 14698 - 14762 and fix resulting problem
svn path=/trunk/; revision=14819
2005-04-26 18:18:36 +00:00
Magnus Olsen
9b91fad21c Implement NtGdiDdCanCreateSurface
not tested 

svn path=/trunk/; revision=14818
2005-04-26 17:19:06 +00:00
Hartmut Birr
c087372392 - Used SysProcessorTimeInfo to calculate the idle time.
- Fixed the allocation of SysProcessorTimeInfo.  
- Used the process creation time as second unique id.


svn path=/trunk/; revision=14817
2005-04-26 16:28:38 +00:00
Alex Ionescu
946594bdc0 Implement IoRaiseHardError, combine error stuff, fix hideously wrong implementatin of Controller Objects.
svn path=/trunk/; revision=14816
2005-04-26 14:51:18 +00:00
Alex Ionescu
c6c78c3133 Fixedd CTM for sedwards. happy birthday to me
svn path=/trunk/; revision=14815
2005-04-26 13:17:44 +00:00
Alex Ionescu
d54cf3af82 Enable flags only for 3.4.3, should fix the build for people with versions below. Disabled on 4.0 since they are automatic
svn path=/trunk/; revision=14814
2005-04-26 12:35:32 +00:00
Thomas Bluemel
72612ded64 don't request write access in NtReadVirtualMemory, this should fix the listdlls.exe issues
svn path=/trunk/; revision=14813
2005-04-26 09:40:30 +00:00
Art Yerkes
869e1792b8 Fixes by WaxDragon:
- Implement get* integer reading.
- Properly implement ipv4addrs (validates a set of IPv4 addresses)
- Limit returned DNS servers to 1 until we fix iphlpapi.

svn path=/trunk/; revision=14812
2005-04-26 07:11:02 +00:00
Alex Ionescu
940803cd14 Do not strip if KDBG is used
svn path=/trunk/; revision=14811
2005-04-26 05:13:49 +00:00
Alex Ionescu
ae45230c20 Change optimization settings for retail builds. Change to -Os for smaller executables which are not slower, and enable more advanced optimizations. funitatatime is already included by default in GCC 4.0. Strip debug info from retail builds, since we don't parse the symbols anyways. I hope these options don't break anything, they don't for me; Debugging is unaffected.
svn path=/trunk/; revision=14810
2005-04-26 05:10:58 +00:00
Alex Ionescu
da26306086 Fix compilation with optimizations
svn path=/trunk/; revision=14809
2005-04-26 04:58:32 +00:00
Hartmut Birr
02202bd8b1 Fixed the initialising of bochs debug.
svn path=/trunk/; revision=14808
2005-04-25 20:35:37 +00:00
Alex Ionescu
b92778d49a Remove excess header
svn path=/trunk/; revision=14807
2005-04-25 19:43:50 +00:00
Alex Ionescu
d06c1ef5e9 Remove dbg.h and move it to kd.h, it was getting confusing to have so many debug files. Also fixes hal to compile
svn path=/trunk/; revision=14806
2005-04-25 19:42:48 +00:00
Alex Ionescu
a3bf890534 Merge in wrappers with DBG setting as requested
svn path=/trunk/; revision=14805
2005-04-25 18:31:20 +00:00
Alex Ionescu
a893ce48dd Fix compilation problem..
svn path=/trunk/; revision=14804
2005-04-25 18:29:16 +00:00
Hartmut Birr
7519345381 Replaced a dirty hack by another.
svn path=/trunk/; revision=14803
2005-04-25 17:57:57 +00:00
Alex Ionescu
6f666f0ad4 Simplify and correct KiDebugService
svn path=/trunk/; revision=14802
2005-04-25 16:17:35 +00:00
Alex Ionescu
3ebd40dd0f Add GDB = 1 to makefile to compile-in the GDB Wrapper. These options will be better manged with rbuild
svn path=/trunk/; revision=14801
2005-04-25 15:20:15 +00:00
Alex Ionescu
6458f12f54 Added KiDebugService. Will optimize soon to use common Exit code
svn path=/trunk/; revision=14800
2005-04-25 15:02:11 +00:00
Alex Ionescu
e160c0fb26 KD System Rewrite:
- Totally dynamic based on the principle of Native Providers built-in the Kernel (like Screen, 
      FileLog and Serial) and a pluggable Wrapper which is optionally compiled (Bochs, GDB)
    - Nothing changed in KDBG, except for that its settings (KDSERIAL/KDNOECHO) are now stored in
      KdbDebugState instead.
    - Wrappers are currently built uncondtionally. With rbuild, I'll make them easily removable.
    - Debug Log code simplified greatly, sped up and now supports printing even the first boot messages,
      which wasn't supported before.
    - Removed most of KDBG compile-time settings, ones which are needed are in include/dbg as macros now.
    - Left in some kdbg init code and break code, but it could be made to be used as a 'wrapper' for those
      functions. I will do it later.
    - Made a hack for KdpEnterDebuggerException..it seems to be called differently and at different times
      for GDB vs KDBG and I couldn't unite them.
    - KdpServiceDispatcher now does both the documented and ros-internal debug functions and will eventually
      be called through INT2D from keyboard.sys instead of as an API.

All in all, this patch makes KD  separated from KDBG and creates a pluggable architecture for creating future wrappers that don't require changing tons of code in the future. It improves the debug
log by printing even the earliest debug messages to it and it removes many of the manual ifdef(KDBG) but making them automatic though a single macro file. It makes extra debugging functionality optional and it
allows removal of a private API from our exports.

svn path=/trunk/; revision=14799
2005-04-25 14:44:48 +00:00
Gé van Geldorp
753a3c0e99 Sync to Wine-20050419:
Juan Lang <juan_lang@yahoo.com>
- Always initialize header file name, to prevent "#include (null)"
  statements in generated files.
- Put space between include directive and include file.
- Add proxy/stub options to widl man page.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Add support for single in idl files.
- Keep types sorted in alphabetical order.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.

svn path=/trunk/; revision=14798
2005-04-25 10:58:34 +00:00
Gé van Geldorp
2b5f3c76a1 Sync to Wine-20050419:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Michael Lin <mlin@corvu.com.au>
- Change menu item options to use optional comma.

svn path=/trunk/; revision=14797
2005-04-25 09:12:35 +00:00
Gé van Geldorp
c782c3c14d Sync to Wine-20040419:
Jon Griffiths <jon_p_griffiths@yahoo.com>
- -Wunsigned fixes.
Alexandre Julliard <julliard@winehq.org>
- Use the correct file name in the "generated automatically" comments.
- Don't crash on xrealloc(0) (found by Jon Griffiths).
Marcus Meissner <meissner@suse.de>
- Use correct movw instead of movl when handling segment registers.

svn path=/trunk/; revision=14796
2005-04-25 08:26:29 +00:00
Gé van Geldorp
1900553907 SVN maintenance
svn path=/trunk/; revision=14794
2005-04-25 07:13:04 +00:00
Thomas Bluemel
a075aaef57 add missing typecast
svn path=/trunk/; revision=14793
2005-04-24 20:12:14 +00:00
Eric Kohl
4fd3eee227 Implement the time format page for the regional settings control panel.
svn path=/trunk/; revision=14792
2005-04-24 14:49:56 +00:00
Maarten Bosma
63b33dd9b3 PackageManager: HTML Log
svn path=/trunk/; revision=14791
2005-04-24 10:37:17 +00:00
Alex Ionescu
88d6fe5cb4 Don't use hack for trap frames anymore, read TempEsp and TempSegSs for kernel-mode traps during debugging.
svn path=/trunk/; revision=14790
2005-04-23 20:02:39 +00:00
Alex Ionescu
5673eb73b9 Use fake frame in KDBG mode, not DBG
svn path=/trunk/; revision=14789
2005-04-23 19:23:00 +00:00
Casper Hornstrup
e2239c25dc ROS_BUILDNOSTRIP environment variable to control building of non-symbol-stripped executable output files
svn path=/branches/xmlbuildsystem/; revision=14788
2005-04-23 18:41:02 +00:00
Alex Ionescu
8057554d01 forgot to delete this one too
svn path=/trunk/; revision=14787
2005-04-23 18:17:11 +00:00
Casper Hornstrup
f76d62cff1 Use correct case
svn path=/branches/xmlbuildsystem/; revision=14786
2005-04-23 18:16:59 +00:00
Alex Ionescu
a1151864cc Share compiler-generated asm exports between ntdll and ntoskrnl (stuff like aullshr, alldiv, etc
svn path=/trunk/; revision=14785
2005-04-23 18:15:39 +00:00
Alex Ionescu
1d0c612395 Remove MDA support
svn path=/trunk/; revision=14784
2005-04-23 18:00:59 +00:00
Alex Ionescu
9a7799d8b8 Delete cruft
svn path=/trunk/; revision=14783
2005-04-23 17:56:10 +00:00
Casper Hornstrup
abe602feed Don't detect host compiler on Linux
svn path=/branches/xmlbuildsystem/; revision=14782
2005-04-23 17:24:13 +00:00
Casper Hornstrup
dea6a7d878 Allow warnings for now (for real this time)
svn path=/branches/xmlbuildsystem/; revision=14781
2005-04-23 17:11:51 +00:00
Casper Hornstrup
a29d2466ef Allow warnings for now
svn path=/branches/xmlbuildsystem/; revision=14780
2005-04-23 17:09:59 +00:00
Alex Ionescu
7f7e3e1cf6 Add more detailed comment about ThreadListEntry so people don't get confused liek I did
svn path=/trunk/; revision=14779
2005-04-23 16:23:57 +00:00
Alex Ionescu
6c66ab6c64 Move removing process from active list to PspDeleteProcess instead of PspExitProcess. This way we don't have to do it manually after ObInsertObject failure in PspCreateProces. Also, set the Process Query Time at the end of Process Creation, since the process doesn't really exist before then. Thanks to Hartmut for finding the bugs.
svn path=/trunk/; revision=14778
2005-04-23 16:17:27 +00:00
Alex Ionescu
e60561fb17 Move removing process from active list to PspDeleteProcess instead of PspExitProcess. This way we don't have to do it manually after ObInsertObject failure in PspCreateProces. Also, set the Process Query Time at the end of Process Creation, since the process doesn't really exist before then. Thanks to Hartmut for finding the bus.
svn path=/trunk/; revision=14777
2005-04-23 16:16:59 +00:00
Hartmut Birr
efa3efe5bb Fixed restoring of registers.
svn path=/trunk/; revision=14776
2005-04-23 16:09:06 +00:00
Magnus Olsen
b331ee2104 Swedish translation
Andreas Bjerkeholt (harteex@gmail.com) 

svn path=/trunk/; revision=14775
2005-04-23 14:16:48 +00:00
Magnus Olsen
18ca7ef010 Swedish translation by Kris Engeman
irc : nick "Wacko"

svn path=/trunk/; revision=14774
2005-04-23 14:14:16 +00:00
Magnus Olsen
e3f6aacd83 forget use lates winfile.rc
svn path=/trunk/; revision=14773
2005-04-23 14:09:44 +00:00
Magnus Olsen
7a1c9f6f2d Fix a bug in sv.rc so it can compile
and it is working now in ros


svn path=/trunk/; revision=14772
2005-04-23 14:01:43 +00:00
Magnus Olsen
a893ac134a reverit swedish translation
svn path=/trunk/; revision=14771
2005-04-23 13:42:15 +00:00
Magnus Olsen
aeb0176d0e David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=14770
2005-04-23 13:39:53 +00:00
Magnus Olsen
b37e882082 2005-04-07 For swedish translations in explorer
* David Nordenberg: Fixed & on two idetical letters and switched to codepage 1252

svn path=/trunk/; revision=14769
2005-04-23 13:36:06 +00:00
Hartmut Birr
8235965b9e Fixed the smp build.
svn path=/trunk/; revision=14768
2005-04-23 12:44:42 +00:00
Hartmut Birr
d00288c263 - Initialized the process create time.
- Fixed some minor bugs.

svn path=/trunk/; revision=14767
2005-04-23 10:18:43 +00:00
Hartmut Birr
4db3d406aa Removed a wrong additional reference in IoCreateDevice.
svn path=/trunk/; revision=14766
2005-04-23 10:16:18 +00:00
Gé van Geldorp
ed7c0b9e7c Revert freeldr back to revision 14697
svn path=/trunk/; revision=14765
2005-04-23 10:15:49 +00:00
Hartmut Birr
493afd1118 Do not remove an entry from the parent for twice.
svn path=/trunk/; revision=14764
2005-04-23 10:14:29 +00:00
Hartmut Birr
ff121124b1 Remove the thread from the list when terminating.
svn path=/trunk/; revision=14763
2005-04-23 10:11:37 +00:00
Alex Ionescu
3ff5700950 And these should've been added...
svn path=/trunk/; revision=14762
2005-04-23 06:45:56 +00:00
Alex Ionescu
9732c7adea Bug in previous commit...these should've been deleted
svn path=/trunk/; revision=14761
2005-04-23 06:43:39 +00:00
Alex Ionescu
665e646216 Small Debugging Services re-arrangement. /dbgk created for User-Mode debugging and Native Debug Objects (implemented an experimental NtCreateDebugObject. Untested and doesn't work since the DbgkObjectType isn't created yet. Added dbgk.h with the basic structures for now. Removed /dbg and split up code in ex/debug.c for executive and rtl/debug.c for RunTime Library Debug calls. Kdbg now dedicated in /kdbg.
svn path=/trunk/; revision=14760
2005-04-23 06:41:25 +00:00
Art Yerkes
45ae6da0c6 Fixes a problem reported by WaxDragon when acquiring the nameserver address
from DHCP.  This needs to be rechecked but seems harmless.

svn path=/trunk/; revision=14759
2005-04-23 05:43:35 +00:00
Alex Ionescu
98f1613a52 Implement KiServiceExit2 which restores debug registers and exits with IRET, used during user-mode return without a syscall
svn path=/trunk/; revision=14758
2005-04-23 05:00:10 +00:00
Alex Ionescu
e43b4d5c1a Terminate System Thread after execution...forgot to add this for some reason.Thanks to WaxDragon for reporting it
svn path=/trunk/; revision=14756
2005-04-23 04:19:35 +00:00
Alex Ionescu
1928c25d73 Add KDBG debugging hack from old code and convert it to fit new one. Not enabled yet because it underflows the stack after a while (researching why). Also complete KeContextToTrapFrame and have Ke386InitThreadWithContext call it to handle creating the Initial Trap Frame
svn path=/trunk/; revision=14754
2005-04-23 04:12:26 +00:00
Art Yerkes
18ac7f07b6 Don't try to discover if we didn't find any interfaces we like. When we get
PnP, we'll need to do discover when the first interface appears.

svn path=/trunk/; revision=14751
2005-04-23 00:40:44 +00:00
Eric Kohl
e8c40d4eee advapi32.dll: Implement QueryServiceStatus.
services.exe: Implement OpenSCManagerA, OpenServiceA, OpenServiceW and QueryServiceStatus.

svn path=/trunk/; revision=14750
2005-04-23 00:01:37 +00:00
Hervé Poussineau
2160c0c245 Add Green driver, that emulates a VT100 compatible server.
Input won't work as long as we don't have a kdbclass driver.

svn path=/trunk/; revision=14749
2005-04-22 19:57:03 +00:00
Filip Navara
5b43b8d8b1 Fix one more typo...Spotted by gasmann.
svn path=/trunk/; revision=14748
2005-04-22 15:26:14 +00:00
Casper Hornstrup
b7d6aeae38 * Use freeldr.sys for livecd
* Install registry hives in the right place on the livecd


svn path=/branches/xmlbuildsystem/; revision=14747
2005-04-22 15:06:58 +00:00
Casper Hornstrup
03858e9151 Correct install name
svn path=/branches/xmlbuildsystem/; revision=14746
2005-04-22 15:03:28 +00:00
Filip Navara
8af30ee387 Fix a typo. Spotted by Potapnik.
svn path=/trunk/; revision=14745
2005-04-22 14:58:22 +00:00
Filip Navara
bf338a8003 Denzil <d3nzil@gmail.com>
Czech translation of Calc, SndVol32, WineFile and Autorun applications.

svn path=/trunk/; revision=14744
2005-04-22 13:54:08 +00:00
Alex Ionescu
3b57e224a1 Fix win32k building
svn path=/trunk/; revision=14743
2005-04-22 13:17:35 +00:00
Alex Ionescu
4b4d215e36 Thread Creation and Context Switching re-write, plus Idle/First Thread minimization attempt. Full changelog on ML, too large to post here
svn path=/trunk/; revision=14742
2005-04-22 12:52:25 +00:00
Art Yerkes
725d5b0050 Removed a useless temporary from router setting.
Use option 6, DHO_DOMAIN_NAME_SERVERS to get name servers from dhcp server.
Fix wrong variable in nameserver setting.
Router and Nameserver now correctly acquired from DHCP.

svn path=/trunk/; revision=14741
2005-04-22 12:46:27 +00:00
Alex Ionescu
264ff7e6d2 Switch to NT5
svn path=/trunk/; revision=14740
2005-04-22 12:43:16 +00:00
Alex Ionescu
8d6d8aaf57 Put back GUI Shell
svn path=/trunk/; revision=14739
2005-04-22 12:42:35 +00:00
Casper Hornstrup
4e8835798a * Remove empty line
* Rearrange some dependencies


svn path=/branches/xmlbuildsystem/; revision=14738
2005-04-22 10:12:37 +00:00
Art Yerkes
d7b7ff3672 tcpmisc.h:
- Correct wrongly sized struct IPAddrEntry.
dhcp: dhclient.c and dispatch.c
- remove lots of #if 0
- remove instances of script_go and associated stuff
- write stub check_arp pending ARP api functions being implemented
- introduced S_STATIC state for adapters
dhcp: api.c:
- Do add_protocol and send_discover when telling an adapter to lease.
- Do remove_protocol when we make an adapter static.
dhcp: adapter.c:
- Add infrastructure for finding the adapter key in the registry
- Check for IP address settings and apply as static if set, otherwise dynamic
tcpip: *info and lan:
- Set info types to DEBUG_INFO and DEBUG_DATALINK everywhere
tcpip: lan:
- Remove kernel IP configuration.
bootdata:
- Added dhcp service and make it start.
- Removed static IP address settings from the default configuration
- Removed old JS bootcode


svn path=/trunk/; revision=14737
2005-04-22 09:45:17 +00:00
Casper Hornstrup
2f6df3a9cf Clean object files for static libraries
svn path=/branches/xmlbuildsystem/; revision=14736
2005-04-22 09:19:18 +00:00
Gé van Geldorp
9ac6146c7b Sync to Wine-20050419:
Robert Shearman <rob@codeweavers.com>
- Fix TB_GETBUTTONSIZE to return the correct width/height for no
  buttons.
- Use ES_AUTOHSCROLL for edit box.
- Fix size passed to SPI_NONCLIENTMETRICS.
- iSelectedImage is allowed to be 0.
- Use SetWindowPos to move the buddy window into position instead of
  destroying it and recreating it at the new position.
- Clear the background in WM_VSCROLL to avoid problems with
  antialiased text drawing on top of itself multiple times.
Dimitrie O. Paun <dpaun@rogers.com>
- Use {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}().
- Fix a memory leak in toolbar. Avoid casts.
- Complete unicodification of the toolbar common control.
- Move a header comment for consistency with the other controls.
- Very small alignment fixes.
- Add support for LVN_ODSTATECHANGED.
- Minor typo fixes.
- Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are
  supposed to use to draw into.
- Complete unicodification of the propsheet common control.
- Complete unicodification of the flatsb common control.
- Pull the WM_TIMER handling into its own function.
- ANIMATE_DrawFrame shouldn't worry about locking, the lock should be
  held by the caller.
- Delete the critical section when freeing up the infoPtr.
- Audit the control against Comctl32.dll version 6.0.
- Proper handling of GWL_STYLE.
- Implement WM_CLOSE. Fix WM_SIZE implementation.
- Small cleanups.
- Cleanup and simplify the painting code.
- Fix a potential bug along the way.
- Unicodification and typesafe interfaces.
- Complete unicodification.
- Complete unicodification of the rebar common control.
- Add Robert Shearman's explanation about WM_NCPAINT.
- Move testing comments in a more appropriate place.
- Proper handling for GWL_STYLE.
- Store and use hwndSelf in the PAGER_INFO.
- Pass the infoPtr around instead of hwnd.
- Use proper types in the function signatures.
- Fix a few return statements.
- MonthCal unicodification.
- Tab unicodification.
- Keep track of WS_DISABLED explicitely, as it doesn't generate a
  WM_STYLECHANGED message.
- Minor cleanups.
- Complete unicodification of the tooltips common control.
- Complete the unicodification of comctl32undoc.
- Complete unicodification of the header common control.
- Complete unicodification of the treeview common control.
- Audit the code against Comctl32.dll version 6.0.
- Handle notification and styles as in the other controls.
- Maintain the const for strings throughout parsing.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
- Eliminate HeapAlloc casts.
Alexandre Julliard <julliard@winehq.org>
- Revert changes to the painting code, the WM_CTLCOLORSTATIC message
  should not be sent from the animation thread.
Duane Clark <dclark@akamail.com>
- Misc rectangle fixes.
- The date should be initialized from local time.
- Monday is day number '1'.
- Set day of week when a day is selected in the calender.
- Use fixed width fields in datetime.
- DTS_TIMEFORMAT is a two bit field, so test accordingly.
- Reposition and resize the updown control when the datetime control is
  resized.
- Respond to updown inputs.
- The datetime should be initialized with local time.
- Add support for direct keyboard input to numeric fields.
- Hour '0' corresponds to 12AM.
Vitaliy Margolen <wine-devel@kievinfo.com>
- Draw only visible tabs.
- Don't redraw if no information has changed.
- Fixed endless redraw loop if app using callback for images and/or
  text.
- Keep color changes made by app for the current draw cycle.
- Send notifies after invalidating changed areas.
- Don't use custom draw returned colors for control.
C. Scott Ananian <cscott@cscott.net>
- UPDOWN_GetBuddyInt should not fail when the control is empty.
Peter Berg Larsen <pebl@math.ku.dk>
- Replace strncpy with memcpy or lstrcpyn.
Huw Davies <huw@codeweavers.com>
- The depth of the colour bitmap needs to match that of the screen.
Jason Edmeades <us@the-edmeades.demon.co.uk>
- Make the treeview correctly search when the top index is selected.
Evan Deaubl <wine@warpedview.com>
- TREEVIEW_DoSelectItem should not do any of the TVGN_FIRSTVISIBLE work
  if the newSelect parameter is NULL.
Eric Pouech <pouech-eric@wanadoo.fr>
- Removed excessive statement (break after return or goto, not useful
  break, not needed vars...)

svn path=/trunk/; revision=14735
2005-04-21 21:01:05 +00:00
Maarten Bosma
7909dfa511 PackageManager: Uploaded forgotten File
svn path=/trunk/; revision=14734
2005-04-21 16:28:44 +00:00
Casper Hornstrup
ef5b027655 Generate temporary files at the root of the directory
svn path=/branches/xmlbuildsystem/; revision=14733
2005-04-21 16:18:29 +00:00
Aleksey Bragin
702e2a0488 EnumSystemLocalesW() implementation. Certainly not full (doesn't support INSTALLED/SUPPORTED/etc flags) - but at least it does what is needed - enumerate locales.
Other stuff is coming soon so intl.cpl could work.

svn path=/trunk/; revision=14732
2005-04-21 14:49:17 +00:00
Casper Hornstrup
e3bf054824 Use ROS_INTERMEDIATE and ROS_OUTPUT environment variables
svn path=/branches/xmlbuildsystem/; revision=14731
2005-04-21 13:05:54 +00:00
Aleksey Bragin
d6eec68dd8 Added xbox video driver information (by GvG), I hope it doesn't interfere anyone, and there will be no need to patch registry everytime to boot under xbox.
svn path=/trunk/; revision=14730
2005-04-21 12:58:20 +00:00
Casper Hornstrup
4f605b66c3 Clean-as-you-go mode to remove generated files as soon as possible to minimize disk space requirements
svn path=/branches/xmlbuildsystem/; revision=14729
2005-04-21 12:54:15 +00:00
Casper Hornstrup
376f9fd35c Document ROS_PREFIX environment variable
svn path=/branches/xmlbuildsystem/; revision=14728
2005-04-21 09:52:11 +00:00
Casper Hornstrup
7f1e0b51b2 Autodetect compiler
svn path=/branches/xmlbuildsystem/; revision=14727
2005-04-21 09:38:45 +00:00
Gé van Geldorp
5568b1261a - Protect multiboot info from being overwritten
- Pass command line to MachInit() funcs

svn path=/trunk/; revision=14725
2005-04-21 09:29:02 +00:00
Gé van Geldorp
ee219b0e23 Sync to Wine-20050419:
Peter Berg Larsen <pebl@math.ku.dk>
- Eliminate a strncpy and remove unused variable.

svn path=/trunk/; revision=14724
2005-04-20 22:05:23 +00:00
Eric Kohl
37d076fdc0 Move RtlAreAllAccessesGranted, RtlAreAnyAccessesGranted and RtlMapGenericMask to the shared runtime library.
svn path=/trunk/; revision=14723
2005-04-20 20:58:16 +00:00
Casper Hornstrup
5c61988e18 Don't put \ at end of path
svn path=/branches/xmlbuildsystem/; revision=14722
2005-04-20 20:48:55 +00:00
Gé van Geldorp
4dd2fef625 Roman Hoegg <roman.hoegg@unisg.ch>
Add configuration stuff for Swiss German keyboard

svn path=/trunk/; revision=14721
2005-04-20 19:52:45 +00:00
Hervé Poussineau
a93d293fa7 Implement IoRegisterDeviceInterface
svn path=/trunk/; revision=14720
2005-04-20 19:38:39 +00:00
Maarten Bosma
101713f39a PackageManager: Corrected default setting
svn path=/trunk/; revision=14719
2005-04-20 19:33:48 +00:00
Maarten Bosma
31d0c28c6d PackageManager: Options.xml
svn path=/trunk/; revision=14718
2005-04-20 19:01:30 +00:00
Royce Mitchell III
31390cae28 latest version of ArchBlackmann
svn path=/trunk/; revision=14717
2005-04-20 18:16:32 +00:00
Casper Hornstrup
40242e030f Don't link kernel-mode modules to kernel32.dll
svn path=/branches/xmlbuildsystem/; revision=14716
2005-04-20 17:57:26 +00:00
Hervé Poussineau
fde9a780c8 Don't hardcode "Reactos.xml" name
svn path=/branches/xmlbuildsystem/; revision=14715
2005-04-20 16:01:19 +00:00
Casper Hornstrup
fed5678a4c Fix build error
svn path=/branches/xmlbuildsystem/; revision=14714
2005-04-20 15:19:09 +00:00
Maarten Bosma
ffb29d1f85 PackageManager: Changed download Server back to http://svn.reactos.com
svn path=/trunk/; revision=14712
2005-04-20 12:52:36 +00:00
Alex Ionescu
0bc300d64d Remove bogus error message. It is normal for Mutex creation to fail since the Object will alredy exist after the first time it's created
svn path=/trunk/; revision=14711
2005-04-20 12:52:13 +00:00
Alex Ionescu
27a6253e6c Don't relocate shell32 and gdi32. Changed their base addresses so they fit better
svn path=/trunk/; revision=14710
2005-04-20 12:46:39 +00:00
Gé van Geldorp
7792b4bfea You can ask for e.g. GWL_STYLE for the desktop window,
but GWL_WNDPROC is off-limits for all windows if your
process didn't create it

svn path=/trunk/; revision=14709
2005-04-20 07:25:14 +00:00
Thomas Bluemel
6ba7e5d2cd don't access pagable memory at dispatch level in NtQueryDirectoryObject
svn path=/trunk/; revision=14708
2005-04-19 22:45:48 +00:00
Gé van Geldorp
9da5e3306e Hervé Poussineau <poussine@freesurf.fr>
Solve quarrel between GDB stub and serenum

svn path=/trunk/; revision=14707
2005-04-19 22:33:09 +00:00
Thomas Bluemel
377ffd2516 convert the device object to a temporary device before deleting it
svn path=/trunk/; revision=14706
2005-04-19 21:47:05 +00:00
Casper Hornstrup
ca82812967 Support 'make livecd'
svn path=/branches/xmlbuildsystem/; revision=14705
2005-04-19 20:52:49 +00:00
Thomas Bluemel
353f0bf39d use anonymous events for synchronization
svn path=/trunk/; revision=14704
2005-04-19 17:13:34 +00:00
Thomas Bluemel
932dc7e607 - Delete named objects from the namespace when the last handle is closed, unless the object is a permanent object
- IoCreateDevice should create a permanent object for named devices

svn path=/trunk/; revision=14703
2005-04-19 17:12:03 +00:00
Thomas Bluemel
995ac8a5b2 import wininet.h from wine to solve conflicts with the w32api headers
svn path=/trunk/; revision=14702
2005-04-19 15:06:18 +00:00
Thomas Bluemel
a0ef12d39e fix typo
svn path=/trunk/; revision=14701
2005-04-19 10:40:37 +00:00
Thomas Bluemel
77089de5b6 directly redirect MapGenericMask to ntdll
svn path=/trunk/; revision=14700
2005-04-19 10:36:11 +00:00
Gé van Geldorp
2200dc3562 Make disk partition handling architecture dependent, as not
all architectures have partitions

svn path=/trunk/; revision=14698
2005-04-19 08:51:16 +00:00
Alex Ionescu
68a209fb2b damn fingers were too fast. sorry, reverting
svn path=/trunk/; revision=14697
2005-04-19 06:26:01 +00:00
Alex Ionescu
05c22b76ae Use MmDeleteKernelStack and remove KeReleaseThread
svn path=/trunk/; revision=14696
2005-04-19 06:24:15 +00:00
Alex Ionescu
c683236f8a Use MmDeleteKernelStack and remove KeReleaseThread
svn path=/trunk/; revision=14695
2005-04-19 06:22:36 +00:00
Steven Edwards
cf1a2b10ac done with wininet import
svn path=/trunk/; revision=14694
2005-04-19 05:01:47 +00:00
Steven Edwards
00c9609713 added wine wininet.h
svn path=/trunk/; revision=14693
2005-04-19 05:00:05 +00:00
Steven Edwards
87aa47161b imported wininet from wine
svn path=/trunk/; revision=14692
2005-04-19 04:57:39 +00:00
Steven Edwards
38de497b18 imported in to the trunk
svn path=/trunk/; revision=14691
2005-04-19 04:50:10 +00:00
Steven Edwards
0c3c1a51b0 removing wininet for reimport
svn path=/trunk/; revision=14690
2005-04-19 04:49:49 +00:00
Steven Edwards
2607bc5f85 imported in to the trunk
svn path=/trunk/; revision=14689
2005-04-19 04:48:51 +00:00
Filip Navara
096c2a1089 Reenable ControlService and fix syntax errors in svcctl.idl.
svn path=/trunk/; revision=14686
2005-04-18 22:11:46 +00:00
Gé van Geldorp
645c3e7497 Fix copy/paste error
svn path=/trunk/; revision=14685
2005-04-18 22:00:52 +00:00
Filip Navara
08807e03af Don't use pointer to freed memory.
svn path=/trunk/; revision=14684
2005-04-18 21:50:08 +00:00
Eric Kohl
e2e4bed006 Disable ControlService() because of a bug in WIDL.
svn path=/trunk/; revision=14683
2005-04-18 21:34:11 +00:00
Thomas Bluemel
88e83d47c5 don't query additional information for the system idle process (which doesn't work anyway)
svn path=/trunk/; revision=14682
2005-04-18 21:03:33 +00:00
Hervé Poussineau
b3dee30733 Implement IOCTL_VIDEO_QUERY_AVAIL_MODES, IOCTL_VIDEO_QUERY_CURRENT_MODE, IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES
Add checks to input/output structure sizes
Move prototypes to new file vgamp.h

svn path=/trunk/; revision=14681
2005-04-18 20:18:06 +00:00
Maarten Bosma
aeac4dceb8 PackageManager: Changed Makefiles
svn path=/trunk/; revision=14680
2005-04-18 19:56:45 +00:00
Maarten Bosma
eb5d74fe5e PackageManager: TARGET_INSTALLDIR = bin
svn path=/trunk/; revision=14679
2005-04-18 19:41:15 +00:00
Thomas Bluemel
9c23880fd4 fix uninitialized variable
svn path=/trunk/; revision=14678
2005-04-18 19:26:12 +00:00
Maarten Bosma
0331e3dfe8 PackageManager: added missing package.h
svn path=/trunk/; revision=14677
2005-04-18 19:22:50 +00:00
Alex Ionescu
58f9a46b3e Fix remaining System Process information structure issues and fix compilation
svn path=/trunk/; revision=14676
2005-04-18 18:24:06 +00:00
Alex Ionescu
6e2aa454ad Fix Process/Thread information structures to match Windows 2000 and have proper structure. Fix bug in ntdll related to OpenProcess
svn path=/trunk/; revision=14675
2005-04-18 17:48:01 +00:00
Alex Ionescu
5817ae7a54 Fix Process/Thread information structures to match Windows 2000 and have proper structure. Fix bug in ntdll related to OpenProcess
svn path=/trunk/; revision=14674
2005-04-18 17:46:59 +00:00
Alex Ionescu
db6c8885b6 Fix incorrect replacement
svn path=/trunk/; revision=14673
2005-04-18 16:25:53 +00:00
Alex Ionescu
c614ba1a5e Remove excess debugging
svn path=/trunk/; revision=14672
2005-04-18 15:51:21 +00:00
Alex Ionescu
610dd8e8bc Use official THREAD_STATE enumeration for thread states
svn path=/trunk/; revision=14671
2005-04-18 15:49:57 +00:00
Alex Ionescu
6733de66c9 Fix win32k
svn path=/trunk/; revision=14670
2005-04-18 14:56:52 +00:00
Alex Ionescu
c030bd043b Forgot this...sorry..it was 3am
svn path=/trunk/; revision=14669
2005-04-18 14:13:03 +00:00
Gé van Geldorp
5845a581f2 Roman Hoegg <roman.hoegg@unisg.ch>
Add support for Swiss German keyboards

svn path=/trunk/; revision=14668
2005-04-18 13:27:16 +00:00
Alex Ionescu
5da996d016 Implement PsGetVersion. OSR and other sources say that the build number is a mix of high and low word, where the high represents checked or free
svn path=/trunk/; revision=14667
2005-04-18 05:47:13 +00:00
Alex Ionescu
234a011028 Fix Access Bug. cmd.exe and taskmgr work again, but there remains a bug with the process list
svn path=/trunk/; revision=14666
2005-04-18 05:25:07 +00:00
Alex Ionescu
2b66d8f4fb Fix incorrect OpenProcess implementation in kernel32 and make it tidier. I'm now seeing a bug with Access rights...
svn path=/trunk/; revision=14665
2005-04-18 05:12:36 +00:00
Alex Ionescu
9cafa059bd Fix Process not being deleted
svn path=/trunk/; revision=14664
2005-04-18 04:55:48 +00:00
Alex Ionescu
6829bd8c8b Implement PsSetLegoNotifyRoutine and PsRemoveCreateThreadNotifyroutine. Clean up ps/thread.c, move things to their own subsystem, do proper TEB Allocation with MmCreateTeb, remove TEB EPROCESS hack fields. Rename PsFrezeAllThreads to KeFreezeAllThreads and implement a working version.
svn path=/trunk/; revision=14663
2005-04-18 04:46:06 +00:00
Alex Ionescu
f4d2ac0b1e Remove ps/create.c, it did not fit with the current model of abstraction. Major cleanup of ps/process.c, created ps/notify.c and ps/quota.c. Implemented NtOpenProcess, PsRemoveLoadImageNotifyRoutine, PsGetCurrentProcessSessionId
svn path=/trunk/; revision=14662
2005-04-18 02:12:30 +00:00
Alex Ionescu
781c6b374f Forgot this
svn path=/trunk/; revision=14661
2005-04-18 02:11:19 +00:00
Alex Ionescu
7740536c18 Mini-merge from my local changes. Rewrite of Process Creation. Notable improvements:
- Subsystemization of Process Creation code. Memory code done by new Mm functions (not all used yet),
      Kernel code done by Ke*, etc.
    - Written to be compatible with the information in "Windows Internals".
    - Optimized and cleaned up.
    - ObInsertObject is now called at the end, fixing a plethora of wrong things that were covered with FIXMEs.
    - PEB is allocated with a Memory Area, and so will TEB soon, which allows 4KB allocation without 64KB gra
      nularity.
    - System DLL Mapping/Loading has been changed to be cached at system bootup, resulting in faster code.
    
Also changed Peb to report NT 5.0

NOTE: Messy, more to come soon. The full benefits of this patch won't be realized until the complete changes
      are in.

svn path=/trunk/; revision=14660
2005-04-18 00:42:31 +00:00
Thomas Bluemel
a9920ccd9d fixed warning
svn path=/trunk/; revision=14659
2005-04-17 20:46:36 +00:00
Eric Kohl
30e7e912c2 ADVAPI32.DLL / SERVICES.EXE:
Implement ControlService()

RPCRT4.DLL:
Disable a bogus buffer overflow check in NdrSimpleStructMarshall.

svn path=/trunk/; revision=14658
2005-04-17 19:56:50 +00:00
Art Yerkes
631838f4a3 Fixed the repeating DHCPOFFER/DHCPACK. I was assuming that the lease timeout
was relative but it's been adjusted by the time we get here.

Thanks to hpoussineau for helping with this bug.

svn path=/trunk/; revision=14657
2005-04-17 19:47:44 +00:00
Eric Kohl
e0dda3685a Support out-pointers to structs.
svn path=/trunk/; revision=14656
2005-04-17 19:45:06 +00:00
Thomas Bluemel
c9a0b04418 fixed warning and minor portability fix
svn path=/trunk/; revision=14655
2005-04-17 19:33:50 +00:00
Thomas Bluemel
3e18dad277 fixed warning and minor portability fix
svn path=/trunk/; revision=14654
2005-04-17 19:32:24 +00:00
Art Yerkes
ddc52fc76c Don't set a zero timeout for a lease. Zero here is taken to mean infinite.
svn path=/trunk/; revision=14653
2005-04-17 19:16:39 +00:00
Emanuele Aliberti
45d0cf852c sm info ssid - implemented
svn path=/trunk/; revision=14651
2005-04-17 17:50:48 +00:00
Alex Ionescu
d4449cd58d Put in alphabetical order, remove IopCreateDevice, and remove incorrect implementation tag for EFi functions
svn path=/trunk/; revision=14650
2005-04-17 16:26:44 +00:00
Eric Kohl
8c8090fc65 - Move generated files to the top of the file list.
- Rename generated file svcctl.h to svcctl_c.h.

svn path=/trunk/; revision=14647
2005-04-17 11:01:00 +00:00
Art Yerkes
99bd564c01 Add sufficient permission to the TCP handle to configure the IP address.
svn path=/trunk/; revision=14646
2005-04-17 08:00:01 +00:00
Art Yerkes
4c0e95ce09 More cleaning. Mostly working DHCP. IP address is automatically discovered
and configured on the first ethernet adapter.

svn path=/trunk/; revision=14645
2005-04-17 07:58:24 +00:00
Art Yerkes
aa0b005b38 Needed infrastructure for DHCP:
Corrected adapter index problem in iinfo.c.  Now the index returned is from
 IF->Index.
ninfo: ditto.
ip.c: Expose IPAddInterfaceRoute and IPRemoveInterfaceRoute for use by
 set ip address IOCTL.
if.c: Allow deleting of TCP context.
main.c: Turn off debugging in CVS.

svn path=/trunk/; revision=14644
2005-04-17 07:55:24 +00:00
Alex Ionescu
24b6532712 IoCreateDevice Changes:
- IoAllocateVpb renamed to IopAllocateVpb and made cleaner
    - Let ObCreateObject do all the memory allocation since the extra data belongs to the
      object and it should be responsible for allocating it. No more extra pool allocations
      or deallocations.
    - Zero out everythign a single time.
    - Remove useless code duplication
    - Use proper I/O Manager types for the object headers.
    - Honour Exclusive Flag, and Has Name Flag.
    - Only initialize event if there is a volume.
    - Initialize a VPB for Virtual Disks also.
    - Set up Device Object Extension properly
    - Set DO_DEVICE_INITIALIZING flag.
    - Use proper sector sizes, don't hardcode 512 (should be 2048 for cds)
    - Actually insert the object into the object table with ObInsertObject. This might seem
      useless, but remember that's simply because ROS has a broken Ob Manager which does way
      too much in ObCreateObject. It will be easier to use the rewrite if this is done properly.
    - Set the right sizes in some places.

svn path=/trunk/; revision=14643
2005-04-17 04:20:16 +00:00
Art Yerkes
f4c3dd909b Make the broadcast address all 1's.
svn path=/trunk/; revision=14642
2005-04-16 22:11:59 +00:00
Art Yerkes
0ed727c9f8 Fixed multiple bind of DHCP client port. Later, we need to implement
per adapter binding.

svn path=/trunk/; revision=14641
2005-04-16 22:10:55 +00:00
Alex Ionescu
d70abfc25b More I/O Stuff that was leftover in the old branch. Yes I'm still on break, I'm just comitting
my local work to avoid duplication.

    - Implemented IoRegisterBootDriverReinitialization, but routines don't actually get called yet.
    - Created IopGetDeviceObjectPointer to deal with the case when the pointer is needed for an attach;
      when this happens, a special (documented) flag should be sent to the driver, so that it can do any
      internal routines to be ready for an attach.
    - Fixed IoAttachDevice to use the Safe Attach routine and sent the IO_ATTACH_DEVICE_API flag (See above)
    - Fixed IoAttachDeviceToDeviceStack to call the safe function.
    - Optimized IoAttachDeviceByPointer
    - Implemented IoAttachDeviceToDeviceStackSafe. Support Device Extension Attach semantics.
    - Added various checks for unload/delete flags (that we never supported). Checks are pretty useless for now
      since we don't use the flags, but I've added one during IoDeleteDevice.
    - Implemented IoEnumerateDeviceObjectList. Should work, but untested.
    - Implemented IoGetDeviceAttachmentBaseRef.
    - Optimized IoGetRelatedDeviceObject.
    - Made IoGetDeviceObjectPointer call the internal routine (see #2 above).
    - Implemented IoDetachDevice.
    - Removed IoOpenDeviceInstanceKey and IoQueryDeviceEnumInfo. Obsoleted, unimplemented, undocumented NT4 APIs.
    - Various Attach/Detach fixes.

svn path=/trunk/; revision=14640
2005-04-16 21:41:32 +00:00
Alex Ionescu
39ef71436d Add file object flags, complete DEVOBJ_EXTENSION, and implement: IoIsFileOriginRemote, IoGetLowerDeviceObject, IoGetdiskDeviceObject, IoGetRequestorSessionId, IoGetRequestorProcessId
svn path=/trunk/; revision=14639
2005-04-16 19:38:14 +00:00
Alex Ionescu
9d6033ebad Fix WaitAll bug. Previously, not all Wait Objects in a WaitAll were checked for signaling, which meant as soon as one was signaled, all were supposed to be satisfied. Worse however, only one object would get satisfied anyways, because of a second bug which hid the first during my testing. Now, all wait all objects must be signaled before satsifcation, and satisfaction is correctly done on all the objects. Reg tested with multithrdwin, which did not properly work before. Thanks to w3seek for notifying me of this bug.
svn path=/trunk/; revision=14638
2005-04-16 17:48:46 +00:00
Maarten Bosma
88594a14de PackageManager: Ported GUI to C
svn path=/trunk/; revision=14637
2005-04-16 17:09:12 +00:00
Hervé Poussineau
f5129193e2 Implement FSCTL_IS_VOLUME_DIRTY and FSCTL_MARK_VOLUME_DIRTY
svn path=/trunk/; revision=14636
2005-04-16 16:04:38 +00:00
Eric Kohl
5942162766 ADVAPI32.DLL:
- Implement LockServiceDatabase and UnlockServiceDatabase.

SERVICES.EXE:
- Add stubs: ScmrLockServiceDatabase, ScmrUnlockDerviceDatabase, SamrNotifyBootConfigStatus, and ScmrCreateServiceW.
- Store and check access rights.

svn path=/trunk/; revision=14635
2005-04-16 12:50:33 +00:00
Maarten Bosma
837c3298c7 PackageManager: Little fix
svn path=/trunk/; revision=14634
2005-04-16 11:48:26 +00:00
Maarten Bosma
887849790a PackageManager: Changed download server to my own webspace. Because http://svn.reactos.com is still offline.
svn path=/trunk/; revision=14633
2005-04-16 11:42:44 +00:00
Maarten Bosma
58096a81e6 PackageManager: Converted cmdline interface to C
svn path=/trunk/; revision=14632
2005-04-16 11:11:52 +00:00
Hervé Poussineau
1eb9c1db51 Allow interrupts indicating an empty buffer only if some bytes are pending
This should correct the boot in Qemu

svn path=/trunk/; revision=14631
2005-04-15 22:14:13 +00:00
Eric Kohl
91ec410e2f Use RPC for making calls to the Service Control Manager.
svn path=/trunk/; revision=14630
2005-04-15 22:02:37 +00:00
Art Yerkes
1a1051e787 Removed need for separately prefixed binutils.
svn path=/trunk/; revision=14629
2005-04-15 19:33:51 +00:00
Eric Kohl
9a53101c31 Support in-pointers to structs.
svn path=/trunk/; revision=14628
2005-04-15 17:56:40 +00:00
Hervé Poussineau
fc68dda45d Add ASSERTs
Correct a bug when processing IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / TargetDeviceRelation (serenum)
Don't breakpoint if NDEBUG is defined (serenum)
Allow to write more than 16 bytes in one IRP_MJ_WRITE (serial)

svn path=/trunk/; revision=14627
2005-04-15 15:56:19 +00:00
Thomas Bluemel
df118afc6f use the correct version of KeGetCurrentIrql for MP
svn path=/trunk/; revision=14626
2005-04-15 10:52:29 +00:00
Alex Ionescu
956f376f4f Implemented Guarded Mutex, a drop-in replacement for Fast Mutex (the correct one, not the one ROS incorrectly implements) on NT 5.2. Not fully tested yet, so nothing switched to it and probably not usable. Also made KeGetCurrentThread/Irql become inlined, since this should create quite a speed boost. Made KeLeaveCriticalRegion deliver APCs if possible, and made Crit regions macros usable from outside ntoskrnl thanks to a new NT 5.2 API (KiCheckForKernelApcDelivery). Guarded Mutex code based on Filip Navara.
svn path=/trunk/; revision=14625
2005-04-15 06:24:35 +00:00
Art Yerkes
3e3c9e9775 Use DriverDesc in the registry as the adapter name since the ndis name OID
seems generally unimplemented.  What a pain.

svn path=/trunk/; revision=14624
2005-04-15 00:48:25 +00:00
Hervé Poussineau
34eabf82b5 Change debug messages to more neutral ones
svn path=/trunk/; revision=14623
2005-04-14 22:41:48 +00:00
Emanuele Aliberti
b47adbe03f Simple Win32/text application to query the SM (incomplete/untested).
svn path=/trunk/; revision=14621
2005-04-14 21:46:14 +00:00
Martin Fuchs
adcb1f9fef charn <charn89@hotmail.com>:
A function for desktopbar.cpp that controls how the taskbar can be resized.

svn path=/trunk/; revision=14620
2005-04-14 20:32:00 +00:00
Martin Fuchs
3d7368e673 from ThomasLa <sikker2004@yahoo.com>:
Corrected DE.rc language controls
Modifed EN.rc
implemented part of screensaver functions

Shows Screensavers
Get Some Values from registry
get default screensaver
implemented delete screensavers

svn path=/trunk/; revision=14619
2005-04-14 20:23:02 +00:00
Thomas Bluemel
c6c92ec896 add some missing gdi functions to the driver function table
svn path=/trunk/; revision=14618
2005-04-14 15:47:03 +00:00
Thomas Bluemel
33bd174f16 define KGATE in win32api
svn path=/trunk/; revision=14617
2005-04-14 15:45:14 +00:00
Casper Hornstrup
849d82764b repos test
svn path=/branches/xmlbuildsystem/; revision=14616
2005-04-14 15:42:56 +00:00
Casper Hornstrup
9e82ebc2fb repos test
svn path=/branches/xmlbuildsystem/; revision=14615
2005-04-14 15:26:31 +00:00
Casper Hornstrup
ea46a589a2 repos test
svn path=/branches/xmlbuildsystem/; revision=14614
2005-04-14 15:21:25 +00:00
Casper Hornstrup
a268dab596 repos test
svn path=/branches/xmlbuildsystem/; revision=14613
2005-04-14 15:14:19 +00:00
Casper Hornstrup
808b0255b6 repos test
svn path=/branches/xmlbuildsystem/; revision=14612
2005-04-14 15:10:41 +00:00
Casper Hornstrup
8aa43261af repos test
svn path=/branches/xmlbuildsystem/; revision=14611
2005-04-14 15:06:21 +00:00
Casper Hornstrup
3a085e784e ci test
svn path=/branches/xmlbuildsystem/; revision=14610
2005-04-14 15:02:30 +00:00
Casper Hornstrup
347e371970 test
svn path=/branches/xmlbuildsystem/; revision=14609
2005-04-14 14:54:58 +00:00
Casper Hornstrup
9201a30848 test
svn path=/branches/xmlbuildsystem/; revision=14607
2005-04-14 14:30:33 +00:00
Casper Hornstrup
ff1ef6813c test
svn path=/branches/xmlbuildsystem/; revision=14606
2005-04-14 14:27:25 +00:00
Art Yerkes
a4ca03679f Sorry, forgot header for API dll communication.
svn path=/trunk/; revision=14605
2005-04-13 06:55:26 +00:00
Alex Ionescu
3b6c6f0a94 Kernel Gates. Ultra-lightweight and exclusive Wait Objects used in NT 5.2+ as high-speed events. Code is untested, so it's not added to the build until I'm back in May.
svn path=/trunk/; revision=14603
2005-04-13 01:12:08 +00:00
Art Yerkes
b9df1e262e Added DHCP and dhcpcapi to the makefile.
svn path=/trunk/; revision=14602
2005-04-12 23:33:29 +00:00
Art Yerkes
abe286b572 Patch by tinus_ to fix a persistent problem with kdbg. Fixes the y umlaut
bug.

svn path=/trunk/; revision=14601
2005-04-12 23:27:59 +00:00
Art Yerkes
d91b173cb3 First instance of DHCP client API. Not tested yet. Next, the control
panel.

svn path=/trunk/; revision=14600
2005-04-12 23:25:14 +00:00
Art Yerkes
1df2f8903a Added client API interface.
svn path=/trunk/; revision=14599
2005-04-12 23:23:26 +00:00
Emanuele Aliberti
b27e166698 SM: some server side code for SM_API_QUERY_INFORMATION
svn path=/trunk/; revision=14598
2005-04-12 21:25:58 +00:00
Hervé Poussineau
95cdf6e471 Remove unneeded hack. DriverEntry is now called only once.
svn path=/trunk/; revision=14597
2005-04-11 22:38:53 +00:00
Hervé Poussineau
63e93fb6ba Respect OBJ_OPENIF flag in ObCreateObject
svn path=/trunk/; revision=14596
2005-04-11 22:38:05 +00:00
Hervé Poussineau
c568ca436d Open \Windows directory if it exists
svn path=/trunk/; revision=14595
2005-04-11 22:37:46 +00:00
Hervé Poussineau
40c9a57fa2 Don't call DriverEntry more than once. Fix suggested by Filip Navara.
svn path=/trunk/; revision=14594
2005-04-11 22:29:31 +00:00
Thomas Bluemel
9a3b51ea9a support kernel handles, creating them is however not yet supported
svn path=/trunk/; revision=14593
2005-04-11 21:50:15 +00:00
Maarten Bosma
e70a05cabf Package Manager: fixed HotKeys (thanks to w3seek) *shamed*
svn path=/trunk/; revision=14592
2005-04-11 20:27:20 +00:00
Casper Hornstrup
1c89a135da Have the object files of a module depend on the build file that contain the module
svn path=/branches/xmlbuildsystem/; revision=14591
2005-04-11 18:45:48 +00:00
Maarten Bosma
abd513250f PackageManager: Bug fix
svn path=/trunk/; revision=14590
2005-04-11 17:59:52 +00:00
Hervé Poussineau
4b77a4d92d Filip Navara <xnavara@volny.cz>: Use correct service name in IopInitializeDriverModule
svn path=/trunk/; revision=14589
2005-04-11 17:28:14 +00:00
Art Yerkes
298503a6e4 Commit for blight: fix stack alignment.
svn path=/trunk/; revision=14588
2005-04-11 15:43:04 +00:00
Aleksey Bragin
093d9f292c Initial version of uhci driver import from Linux 2.5 kernel. Currently compiles and links, but not usable (most probably will bugcheck when loaded).
Also a lot of compile warnings exist.
I will update UsbStack wiki page sometime soon to reflect direction of my work.

svn path=/trunk/; revision=14587
2005-04-11 12:49:25 +00:00
Art Yerkes
7af94c863d Use the right set (the referenced file objects) to compare when killing
exclusive select objects.  This fixes the select leakage observed when
running Xircon.

svn path=/trunk/; revision=14586
2005-04-11 08:41:58 +00:00
Art Yerkes
d34cc750d8 Fixed warning, uninitialized length. Sorry, I did this in a different way
and missed one use of NewBufferLen.  Not sure why I don't see the 'might be
used uninitialized' warning.

svn path=/trunk/; revision=14585
2005-04-11 08:07:41 +00:00
Art Yerkes
9166ff8f34 lock: Fixes suggested by w3seek:
protect the remaining MmProbeAndLockPages
don't return from the exception handler

read: Hopefully the last indecision in here:

Avoid using AFD_EVENT_CLOSE until the socket is really toast.
Use AFD_EVENT_DISCONNECT instead when we've got an EOF, but still have
buffered data.
I was doing this socket fiddling without a callout block.  Fixed.

svn path=/trunk/; revision=14584
2005-04-11 06:03:20 +00:00
Aleksey Bragin
7bbf6258d7 Started implementing Locale property page of intl.cpl appltet. It already provides choices for locale, the only thing it doesn't do - actually set chosen locale. Also it doesn't work under ReactOS.
svn path=/trunk/; revision=14583
2005-04-10 21:01:13 +00:00
Casper Hornstrup
fb03ace091 Support -Werror
svn path=/branches/xmlbuildsystem/; revision=14582
2005-04-10 19:44:11 +00:00
Emanuele Aliberti
810d009783 SM: initial work on SM_API_QUERY_INFORMATION (client side; ROS specific).
SM: fixed connection data in callback SM->subsystem_server during ss registration

svn path=/trunk/; revision=14581
2005-04-10 19:08:23 +00:00
Maarten Bosma
c1a2f01875 PackageManager: Cmdline fix
svn path=/trunk/; revision=14580
2005-04-10 17:03:40 +00:00
Hartmut Birr
0ba6cce82a Added dependency tracking.
svn path=/trunk/; revision=14579
2005-04-10 16:45:30 +00:00
Hartmut Birr
85197737c3 Set a better value for gap3 on read/write requests.
svn path=/trunk/; revision=14578
2005-04-10 16:44:00 +00:00
Hartmut Birr
a6e0f1b9c1 Made the hard coded value for the HUT a little bit longer.
svn path=/trunk/; revision=14577
2005-04-10 16:41:32 +00:00
Maarten Bosma
e45867b698 PackageManager: Depencies
svn path=/trunk/; revision=14576
2005-04-10 15:34:15 +00:00
Casper Hornstrup
6d5cdde45c Merge 13831:14550 from trunk
svn path=/branches/xmlbuildsystem/; revision=14575
2005-04-10 14:32:30 +00:00
Aleksey Bragin
56ec91131c Change OsLoadOptions back to the default value
svn path=/trunk/; revision=14574
2005-04-10 14:16:38 +00:00
Aleksey Bragin
b94afd8f6e Add russian keyboard layout to HKLM\...\KeyboardLayours, and also add kbdru.dll into reactos.dff (as pointed again by unC0Rr :-))
svn path=/trunk/; revision=14573
2005-04-10 14:02:31 +00:00
Aleksey Bragin
a16cc05ef2 Added kbdru.dll into build process
svn path=/trunk/; revision=14572
2005-04-10 11:37:57 +00:00
Aleksey Bragin
cc161feeb5 Fix incorrect file name of kgbgb.dll to kbduk.dll (by unC0Rr), added kbdru.dll into keyboard layouts
svn path=/trunk/; revision=14571
2005-04-10 11:35:19 +00:00
Aleksey Bragin
c9481ea29c Fixed incorrect version (was 1010h) to 1000h, as reported by XP's kbdru.dll
svn path=/trunk/; revision=14570
2005-04-10 11:18:05 +00:00
Aleksey Bragin
2663d38106 Some minor additions to support newer versions of uhci driver (though doesn't even compile atm).
svn path=/trunk/; revision=14569
2005-04-10 10:20:10 +00:00
Hartmut Birr
71160a6cae - Fixed the destination path for installing freeldr on a floppy.
- Used NtOpenFile for accessing the mbr or the boot sector.

svn path=/trunk/; revision=14568
2005-04-10 10:16:37 +00:00
Phillip Susi
d36e7a745d Fixed freeldr fat16 boot sector to use the bios provided boot device number instead of the ( usually invalid ) one in the boot sector header.
svn path=/trunk/; revision=14567
2005-04-10 05:00:27 +00:00
Filip Navara
56f3c4ed58 - Pass correct parameters to MmLocateMemoryAreaByAddress in MmLockPagableDataSection.
- Change UNIMPLEMENTED to DPRINT1 in MmLockPagableSectionByHandle.

svn path=/trunk/; revision=14566
2005-04-10 04:02:54 +00:00
Gé van Geldorp
b1cf1bfa05 Fix "make bootcd"
svn path=/trunk/; revision=14565
2005-04-09 22:37:15 +00:00
Aleksey Bragin
52c1eca7aa Implemented kbdru.dll, tested under Windows XP - works great. Though I would appreciate more thorough testing.
svn path=/trunk/; revision=14564
2005-04-09 17:33:47 +00:00
Hartmut Birr
3985d6c980 Close the desktop handle after getting the object pointer.
svn path=/trunk/; revision=14563
2005-04-09 17:10:25 +00:00
Maarten Bosma
a16ba46cd2 svn path=/trunk/; revision=14562 2005-04-09 13:48:31 +00:00
Hartmut Birr
02d3095664 Fixed the dereferencing of an existing named object in IoCreateFile.
svn path=/trunk/; revision=14561
2005-04-09 09:40:44 +00:00
Hartmut Birr
6256db0836 ObCreateObject should return an existing named object if one already exist.
svn path=/trunk/; revision=14560
2005-04-09 09:37:32 +00:00
Hervé Poussineau
366a70a52a GCC 3.3.3 detects uninitialized variable where it is not the case. Workaround problem by moving initialization at the top of function.
svn path=/trunk/; revision=14559
2005-04-08 22:19:39 +00:00
Hartmut Birr
322cd3e113 - Don't allow to create objects in the nt name space for twice.
- Create a stream file object in IoCreateFile if a deviceobject is opening.

svn path=/trunk/; revision=14558
2005-04-08 20:38:08 +00:00
Hartmut Birr
c5ccc1106a Csrss should only open the '\Windows' directory.
svn path=/trunk/; revision=14557
2005-04-08 20:29:30 +00:00
Klemens Friedl
a6bdb724d0 update makefile (add ros-get)
svn path=/trunk/; revision=14556
2005-04-08 19:31:08 +00:00
Casper Hornstrup
af941b419a Copy riched20
svn path=/branches/xmlbuildsystem/; revision=14555
2005-04-08 19:18:01 +00:00
Casper Hornstrup
b69e3dfd1d Delete riched20
svn path=/branches/xmlbuildsystem/; revision=14554
2005-04-08 19:16:52 +00:00
Maarten Bosma
c6237266d7 PackageManager
Created the commandline Interface
Deleated subcategries

svn path=/trunk/; revision=14553
2005-04-08 19:09:20 +00:00
Casper Hornstrup
e07a1f6200 Copy makefile
svn path=/branches/xmlbuildsystem/; revision=14552
2005-04-08 19:03:04 +00:00
Casper Hornstrup
62a2326dfb Delete Makefile
svn path=/branches/xmlbuildsystem/; revision=14551
2005-04-08 18:59:37 +00:00
Casper Hornstrup
a95618a8a5 Build when DBG=1
svn path=/branches/xmlbuildsystem/; revision=14550
2005-04-08 17:24:30 +00:00
Magnus Olsen
2cb97d1370 New document icon from Mindflyer <mf@mufunyo.net>
svn path=/trunk/; revision=14549
2005-04-08 16:59:16 +00:00
Steven Edwards
76644e2b9b wow it really does work on linux now
svn path=/branches/xmlbuildsystem/; revision=14548
2005-04-08 16:58:29 +00:00
Royce Mitchell III
601ea5384b use tags for pool allocations, and reformat code
svn path=/trunk/; revision=14547
2005-04-08 13:14:15 +00:00
Royce Mitchell III
18cff7ccc9 use tags for pool allocations, and reformat code
svn path=/trunk/; revision=14546
2005-04-08 13:02:23 +00:00
Royce Mitchell III
dac8f53fe5 use tags for pool allocations, and reformat code
svn path=/trunk/; revision=14545
2005-04-08 12:54:37 +00:00
Art Yerkes
d57bccaddf Adapter: some info display.
Socket: implemented send and recv.

svn path=/trunk/; revision=14544
2005-04-08 11:08:26 +00:00
Art Yerkes
c0282425ac Read: Generalized EOF condition slightly.
Remember to check for failure when locking address buffer.
Lock: SEH to protect from bad address length ptr.

svn path=/trunk/; revision=14543
2005-04-08 11:04:13 +00:00
Royce Mitchell III
e2303991a6 raddr2line utility
moved code common betw rsym and raddr2line to rsym_common.c
simplified tools/Makefile

svn path=/trunk/; revision=14542
2005-04-08 05:35:20 +00:00
Art Yerkes
034bf04901 Initialize these in case handle locking fails.
svn path=/trunk/; revision=14541
2005-04-08 01:11:32 +00:00
Casper Hornstrup
eb4fea4ab7 * Clean object files
* Clean generated files for cabman


svn path=/branches/xmlbuildsystem/; revision=14540
2005-04-07 20:28:35 +00:00
Casper Hornstrup
991efa7f22 Add missing file
svn path=/branches/xmlbuildsystem/; revision=14539
2005-04-07 19:57:05 +00:00
Casper Hornstrup
19592be8c0 Use order-only prerequisites for directories to prevent spurious rebuilds when building on non-FAT volumes
svn path=/branches/xmlbuildsystem/; revision=14538
2005-04-07 19:39:39 +00:00
Thomas Bluemel
bdd0224945 forward CommConfigDialogA to CommConfigDialogW
svn path=/trunk/; revision=14537
2005-04-07 18:01:29 +00:00
Thomas Bluemel
2acf2098b8 - don't redefine public structures in taskmgr
- minor taskmgr changes and make better use of PCH
- fixed definition of SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION and depending code

svn path=/trunk/; revision=14536
2005-04-07 13:25:34 +00:00
Thomas Bluemel
b995b11c1d fixed warnings
svn path=/trunk/; revision=14535
2005-04-07 13:11:46 +00:00
Magnus Olsen
98b6f6bd7b Remove more hardcode string to En.rc
svn path=/trunk/; revision=14534
2005-04-07 11:24:38 +00:00
Casper Hornstrup
a15b6d2023 Add the files where they are located
svn path=/branches/xmlbuildsystem/; revision=14533
2005-04-06 22:27:22 +00:00
Casper Hornstrup
1ea35be664 Correct some wrong dependencies for 'make bootcd'
svn path=/branches/xmlbuildsystem/; revision=14532
2005-04-06 20:49:49 +00:00
Thomas Bluemel
68c2c91476 reformat some code to make it readably
svn path=/trunk/; revision=14530
2005-04-06 18:30:09 +00:00
Thomas Bluemel
237d12dc8e Saveliy Tretiakov <saveliyt@mail.ru>:
- Implemented CommConfigDialogA and CommConfigDialogW
- Removed @unimplemented comments for some implemented functions

svn path=/trunk/; revision=14529
2005-04-06 17:40:25 +00:00
Thomas Bluemel
95a75efe29 add image base address for serialui.dll
svn path=/trunk/; revision=14528
2005-04-06 17:08:17 +00:00
Thomas Bluemel
cf7a330bf0 use unicode functions only and some minor fixes to preserve 64bit compatibility
svn path=/trunk/; revision=14527
2005-04-06 17:04:28 +00:00
Royce Mitchell III
b8442ebcdd fix uninitialized variable warnings
svn path=/trunk/; revision=14526
2005-04-06 12:32:14 +00:00
Hervé Poussineau
2cec8d9d65 Saveliy Tretiakov <saveliyt@mail.ru>
- Started serialui dll
- Implemented drvCommConfigDialogA and drvCommConfigDialogW

svn path=/trunk/; revision=14525
2005-04-06 11:14:57 +00:00
Hervé Poussineau
b82483c76c Verify that allocated resource list is not NULL in IRP_MN_START_DEVICE.
svn path=/trunk/; revision=14524
2005-04-06 06:09:01 +00:00
Royce Mitchell III
7b78b8092c patch by kjk::hyperion, fix syntax of gcc inline asm
svn path=/trunk/; revision=14523
2005-04-06 04:03:41 +00:00
Steven Edwards
bbba49d610 remove the use of windows.h in some places where it is not needed
svn path=/trunk/; revision=14522
2005-04-05 23:04:24 +00:00
Alex Ionescu
16290c9195 Use w32api... hope this does something? Just trying to help steven.
svn path=/trunk/; revision=14521
2005-04-05 21:41:03 +00:00
Casper Hornstrup
f81cbc31f1 Accept ROS_INSTALL environment variable
svn path=/branches/xmlbuildsystem/; revision=14520
2005-04-05 20:24:26 +00:00
Steven Edwards
49388de0ac fixed rosapps a bit. disabled tests for now. will fix them tonight
svn path=/trunk/; revision=14519
2005-04-05 19:42:40 +00:00
Steven Edwards
c773a28861 more w32api conversion. Send errors.h to the Trash Can
svn path=/trunk/; revision=14518
2005-04-05 19:30:34 +00:00
Steven Edwards
bd3a9da15f fixed header usage. Please avoid using windows.h
svn path=/trunk/; revision=14517
2005-04-05 19:22:30 +00:00
Steven Edwards
ff86185830 remove windows.h
svn path=/trunk/; revision=14516
2005-04-05 19:19:44 +00:00
Steven Edwards
1cb1df84c1 __USE_W32API
svn path=/trunk/; revision=14515
2005-04-05 19:17:21 +00:00
Steven Edwards
8a7c057498 __USE_W32API
svn path=/trunk/; revision=14514
2005-04-05 19:14:37 +00:00
Steven Edwards
d3ab2ca78a use -D__USE_W32API
svn path=/trunk/; revision=14513
2005-04-05 19:13:51 +00:00
Hervé Poussineau
353bc6197c Add serial port enumerator driver:
- Enumerate legacy mice
- Should also detect PnP serial devices even if they are not yet reported
It is implemented as an upper filter for serial port driver (serial.sys)
Add corresponding registry entries

svn path=/trunk/; revision=14512
2005-04-05 19:04:07 +00:00
Steven Edwards
c6779bb5c2 use -D__USE_W32API
svn path=/trunk/; revision=14511
2005-04-05 18:59:56 +00:00
Casper Hornstrup
dcdd51410c Rebuild source if a header is changed
svn path=/branches/xmlbuildsystem/; revision=14510
2005-04-05 18:49:53 +00:00
Casper Hornstrup
f6d915eecc Simplify directory handling
svn path=/branches/xmlbuildsystem/; revision=14509
2005-04-05 18:20:45 +00:00
Casper Hornstrup
13fb77b90b Generate registry hives on 'make install'
svn path=/branches/xmlbuildsystem/; revision=14507
2005-04-05 17:22:02 +00:00
Hartmut Birr
785882957e - Changed the calculation of the current sector count to read or write from both sides of a floppy in one step.
- Set the EOT sector always to the last sector of a floppy.

svn path=/trunk/; revision=14506
2005-04-05 17:12:52 +00:00
Hartmut Birr
80eabf0040 Initialize the maximum length of the device description to allocate more than map register.
svn path=/trunk/; revision=14505
2005-04-05 17:07:56 +00:00
Hartmut Birr
1a0cac4ee8 Set the correct CurrentVa in the call to IoFlushAdapterBuffers.
svn path=/trunk/; revision=14504
2005-04-05 15:53:09 +00:00
Hartmut Birr
e1d5086ebf Changed back to IoBuildSynchronousFsdRequest.
svn path=/trunk/; revision=14503
2005-04-05 15:51:02 +00:00
Thomas Bluemel
2177dfcfd2 free work items after processing them
svn path=/trunk/; revision=14502
2005-04-05 15:08:18 +00:00
Hervé Poussineau
47632d3088 Print date and time formats according to regional settings
svn path=/trunk/; revision=14501
2005-04-05 12:34:38 +00:00
Hervé Poussineau
f477aa0a0f Remove useless code (ACPI now reports resources correctly)
Change ULONG to ULONG_PTR for IoStatus.Information field

svn path=/trunk/; revision=14500
2005-04-05 12:00:37 +00:00
Hervé Poussineau
849f32b6b5 Implement IRP_MN_QUERY_RESOURCES (Irq, IO ports, DMA)
svn path=/trunk/; revision=14499
2005-04-05 12:00:13 +00:00
Royce Mitchell III
f165c00432 add some asserts
svn path=/trunk/; revision=14498
2005-04-05 05:12:16 +00:00
Art Yerkes
13027a8afa Added acknowledgement (thank tinus and sorry I didn't put this in the first
commit).

svn path=/trunk/; revision=14497
2005-04-04 23:48:11 +00:00
Art Yerkes
cb76d1fab2 First import of DHCP client service.
No pipe created yet.  Event model up and running.
Does not produce a dhcp offer yet but working on that.

svn path=/trunk/; revision=14496
2005-04-04 23:45:33 +00:00
Hervé Poussineau
e26cc4962b Fix file properties
svn path=/trunk/; revision=14495
2005-04-04 23:17:28 +00:00
Hervé Poussineau
04bbda156c Move variable declarations at the start of functions
svn path=/trunk/; revision=14494
2005-04-04 23:12:21 +00:00
Hartmut Birr
f4a430511e Check for an valid mdl pointer before calling IoFreeMdl in IoReadWriteCompletion.
svn path=/trunk/; revision=14493
2005-04-04 23:11:19 +00:00
Hartmut Birr
1844746db4 Fixed some bugs, which have prevented the using of isa dma channels.
svn path=/trunk/; revision=14492
2005-04-04 23:09:15 +00:00
Hervé Poussineau
e0dfaf1c5b Allow ACPI detection and legacy detection for serial ports
Detect serial debug port and prevent its management by serial driver
Activate serial driver in registry

svn path=/trunk/; revision=14491
2005-04-04 23:00:52 +00:00
Hervé Poussineau
d9bef42fde Correct IOCTL_SERIAL_CLEAR_STATS and IOCTL_SERIAL_PURGE
Manage read errors (overrun, parity, ...)
Use output buffer even if Uart is ready to transmit

svn path=/trunk/; revision=14490
2005-04-04 22:48:51 +00:00
Casper Hornstrup
c8c43a85a3 Install generated files
svn path=/branches/xmlbuildsystem/; revision=14489
2005-04-04 22:05:08 +00:00
Casper Hornstrup
19fa7f20af Support installation of generated files
svn path=/branches/xmlbuildsystem/; revision=14488
2005-04-04 20:50:55 +00:00
Casper Hornstrup
77b574742c Let dependencies control 'make install'
svn path=/branches/xmlbuildsystem/; revision=14487
2005-04-04 19:39:44 +00:00
Alex Ionescu
ff0ad6c8cb Compile with w32api...gift for Steven
svn path=/trunk/; revision=14486
2005-04-04 03:55:43 +00:00
Hervé Poussineau
6514e33a95 Replace polling mode in IRP_MJ_READ by an interrupt mode.
It is a lot less CPU consuming...

svn path=/trunk/; revision=14485
2005-04-03 21:36:15 +00:00
Hervé Poussineau
ad17913046 Add WaitAll and WaitAny values
svn path=/trunk/; revision=14484
2005-04-03 21:31:41 +00:00
Casper Hornstrup
de09c8d285 Partial 'make install' implementation
svn path=/branches/xmlbuildsystem/; revision=14483
2005-04-03 19:25:58 +00:00
Eric Kohl
aed77eddbd Support marshalling of 'unique' strings.
svn path=/trunk/; revision=14482
2005-04-03 19:15:14 +00:00
Klemens Friedl
be04afc103 ReactOS Package Manager
More information:
http://reactos.com/wiki/index.php/ReactOS_Package_Manager

* Maarten Bosma (Dr. Fred)
* Klemens Friedl (frik85)

svn path=/trunk/; revision=14481
2005-04-03 19:06:49 +00:00
Hartmut Birr
f22d019858 Removed some calls to NtOpenProcess. They aren't necessary because the process data structure contains already a process handle.
svn path=/trunk/; revision=14480
2005-04-03 15:47:15 +00:00
Emanuele Aliberti
4e0cf9abb6 WinTrust.dll: Update EXPORTS table
svn path=/trunk/; revision=14479
2005-04-03 14:38:42 +00:00
Martin Fuchs
a9f4f32734 activate printer folder menu
svn path=/trunk/; revision=14478
2005-04-03 14:32:47 +00:00
Magnus Olsen
af2755d461 minor change that I did forget
svn path=/trunk/; revision=14477
2005-04-03 13:45:23 +00:00
Magnus Olsen
2f4cc70e0f Remove more hardcode string to En.rc
svn path=/trunk/; revision=14476
2005-04-03 13:40:15 +00:00
Hartmut Birr
7f6485630b Since a process id is only unique if the associated process is not deleted,
we must prevent the deleting of the process. An opened handle does this.

svn path=/trunk/; revision=14475
2005-04-03 13:04:10 +00:00
Eric Kohl
938d6d1baf Support 'ref' and 'unique' attributes for pointers.
svn path=/trunk/; revision=14474
2005-04-03 12:49:25 +00:00
Martin Fuchs
0341aa671d protect system image list
svn path=/branches/lean-explorer/; revision=14473
2005-04-03 12:14:30 +00:00
Martin Fuchs
d840ae26ad protect system image list
svn path=/trunk/; revision=14473
2005-04-03 12:14:30 +00:00
Casper Hornstrup
dff399ada6 Add missing file
svn path=/branches/xmlbuildsystem/; revision=14472
2005-04-03 11:58:31 +00:00
Casper Hornstrup
c4387e8d7d Verbose mode
svn path=/branches/xmlbuildsystem/; revision=14471
2005-04-03 11:57:34 +00:00
Martin Fuchs
89e885955c show logoff dialog in lean explorer
svn path=/branches/lean-explorer/; revision=14470
2005-04-03 11:38:08 +00:00
Martin Fuchs
b01de1ffd4 show logoff dialog in lean explorer
svn path=/trunk/; revision=14470
2005-04-03 11:38:08 +00:00
Martin Fuchs
359d3bc253 display "log off" dialog, add "terminate" menu entry
svn path=/trunk/; revision=14469
2005-04-03 11:23:03 +00:00
Casper Hornstrup
2c65178fde Detect compiler -pipe support
svn path=/branches/xmlbuildsystem/; revision=14468
2005-04-03 10:46:08 +00:00
Magnus Olsen
315c267eef Remove more hardcode string to En.rc
svn path=/trunk/; revision=14467
2005-04-03 10:16:56 +00:00
Casper Hornstrup
1cb006090f Avoid spurious error messages during make clean
svn path=/branches/xmlbuildsystem/; revision=14466
2005-04-03 10:05:52 +00:00
Hartmut Birr
32fce0a991 Initialized the event with the object instead of the handle.
svn path=/trunk/; revision=14465
2005-04-03 10:05:00 +00:00
Martin Fuchs
e56e6b57c7 fix SDI shell browser
svn path=/trunk/; revision=14464
2005-04-03 09:16:20 +00:00
Magnus Olsen
1e7d27e8c9 Remove more hardcode string to En.rc
svn path=/trunk/; revision=14463
2005-04-02 22:19:12 +00:00
Casper Hornstrup
78c796560d Generate map files
svn path=/branches/xmlbuildsystem/; revision=14462
2005-04-02 21:45:38 +00:00
Casper Hornstrup
d7fdb5701e Generate map files
svn path=/branches/xmlbuildsystem/; revision=14461
2005-04-02 21:45:16 +00:00
Magnus Olsen
2c4319bbb7 Remove more hardcode string to En.rc
svn path=/trunk/; revision=14460
2005-04-02 21:06:44 +00:00
Steven Edwards
3acecc6fd4 another one bytes the dust. messages.h is gone
svn path=/trunk/; revision=14459
2005-04-02 21:02:31 +00:00
Magnus Olsen
70ccaeb797 Did forget the info I did change
it is remove all hardcode string to En.rc
to make it easy to translate

svn path=/trunk/; revision=14458
2005-04-02 20:27:41 +00:00
Magnus Olsen
cc05ff6eb8 svn path=/trunk/; revision=14457 2005-04-02 20:23:01 +00:00
Steven Edwards
93ccc29d64 here you go
svn path=/trunk/; revision=14456
2005-04-02 19:52:29 +00:00
Steven Edwards
0f301d785a __USE_W32API
svn path=/trunk/; revision=14455
2005-04-02 19:47:52 +00:00
Hartmut Birr
ff278d3830 Changed the indentation to a human readable format (no code change).
svn path=/trunk/; revision=14454
2005-04-02 19:33:08 +00:00
Thomas Bluemel
8a17f1f08d corrected file name so it matches the include in slayer.rc
svn path=/trunk/; revision=14453
2005-04-02 19:26:54 +00:00
Steven Edwards
2f69ef0ae5 another one bytes the dust
svn path=/trunk/; revision=14452
2005-04-02 19:13:54 +00:00
Martin Fuchs
38024cdd26 fix termination of "search program" dialog
svn path=/trunk/; revision=14451
2005-04-02 18:24:13 +00:00
Casper Hornstrup
8d784c14d4 Document ROS_TEMPORARY environment variable
svn path=/branches/xmlbuildsystem/; revision=14450
2005-04-02 18:01:18 +00:00
Casper Hornstrup
d72d41723c Have rbuild create the output directories
svn path=/branches/xmlbuildsystem/; revision=14449
2005-04-02 16:46:08 +00:00
Martin Fuchs
275c59c4d4 "minimize all": only minimize windows with valid positions
svn path=/trunk/; revision=14448
2005-04-02 16:18:09 +00:00
Hartmut Birr
fccdd32ffd Dereference the object if the type doesn't match in ObmReferenceObjectByHandle.
svn path=/trunk/; revision=14447
2005-04-02 16:17:08 +00:00
Martin Fuchs
7e355fdee2 update Jamfile
svn path=/trunk/; revision=14446
2005-04-02 16:16:53 +00:00
Hartmut Birr
b82d7998fa Do only dereference the desktop window if the handle was valid in IntMouseInput.
svn path=/trunk/; revision=14445
2005-04-02 16:13:11 +00:00
Hartmut Birr
c5fcba3366 Added the string for IDS_PROGRAMFILES.
svn path=/trunk/; revision=14444
2005-04-02 15:58:25 +00:00
Hartmut Birr
d5c7b7443b - Fixed ExTimerRundown.
- Fixed adding and removing of timers to the wake list.  
- Fixed the reinserting of the timer apc.  
- Don't unlock the timer twice in NtSetTimer.

svn path=/trunk/; revision=14443
2005-04-02 15:55:15 +00:00
Eric Kohl
23ffe8c3f8 NdrSendReceive: Update the message buffer info after the call to I_RpcSendReceive.
svn path=/trunk/; revision=14442
2005-04-02 15:11:36 +00:00
Martin Fuchs
87c424ef42 reactivate control panel folder
svn path=/trunk/; revision=14441
2005-04-02 14:26:56 +00:00
Hervé Poussineau
ce4cbf5e57 Correct timeout issues when reading
Pend read IRPs
Lots of small issues

svn path=/trunk/; revision=14440
2005-04-02 14:16:47 +00:00
Martin Fuchs
11fe38608b fix tray icon config dialog for the first icon
svn path=/trunk/; revision=14439
2005-04-02 11:40:58 +00:00
Martin Fuchs
c5c1a87719 switch to search icon in search dialog
svn path=/trunk/; revision=14438
2005-04-02 11:21:46 +00:00
Martin Fuchs
00bf273c43 merge from trunk: enable multiline tooltips
svn path=/branches/lean-explorer/; revision=14437
2005-04-02 11:09:39 +00:00
Martin Fuchs
6369325505 merge from trunk: launch shell DDE server
svn path=/branches/lean-explorer/; revision=14436
2005-04-02 11:00:58 +00:00
Martin Fuchs
f2cca3cd47 merge from trunk: hide login screen to make the login on XP faster
svn path=/branches/lean-explorer/; revision=14435
2005-04-02 10:59:49 +00:00
Martin Fuchs
45ba821ec5 terminate shell service objects thread if there is nothing to do
svn path=/trunk/; revision=14434
2005-04-02 10:48:16 +00:00
Steven Edwards
5875f60018 __USE_W32API
svn path=/trunk/; revision=14433
2005-04-02 05:43:37 +00:00
Steven Edwards
afa13639b8 bunch of w32api fixes. ascii.h is gonecd ..! coff.h was unused and quite a few others were redunant and could be moved. If you try to build a app in the ROS build system without using __USE_W32API or Unicode beware it won't build as it shouldn't. Also partinfo was really broken so someone needs to fix this. If not I will attempt to w32api'ise it in the morning.
svn path=/trunk/; revision=14432
2005-04-02 05:37:20 +00:00
Steven Edwards
f8ec26b8ae avoid the use of ver.h in favor of winver.h
svn path=/trunk/; revision=14431
2005-04-02 00:49:10 +00:00
Gunnar Dalsnes
95daa63b61 -move rtl thread/process stuff from ntdll to rtl and make ntoskrnl\ldr\init.c use those
-fix RtlCreateUserProcess to create the thread suspended and update all users of RtlCreateUserProcess to manually resume the thread

svn path=/trunk/; revision=14430
2005-04-02 00:18:46 +00:00
Steven Edwards
c8e0c8df83 nevermind. It helps to do a make bootcd in the terminal that has the value and /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin to mingw defined.
svn path=/trunk/; revision=14429
2005-04-02 00:11:50 +00:00
Steven Edwards
450aa4ce11 mingw32-linux is not setting ARCH=i386....this fixes the bootcd for now
svn path=/trunk/; revision=14428
2005-04-02 00:05:16 +00:00
Steven Edwards
8b21b47868 use the w32api headers
svn path=/trunk/; revision=14426
2005-04-01 21:44:22 +00:00
Steven Edwards
e231640a15 remove my WinCE support attempt
svn path=/trunk/; revision=14425
2005-04-01 21:19:23 +00:00
Steven Edwards
8e401adc6b remove my WinCE support attempt
svn path=/trunk/; revision=14424
2005-04-01 21:18:43 +00:00
Casper Hornstrup
321673ceb9 Put winebuild output in intermediate directory
svn path=/branches/xmlbuildsystem/; revision=14423
2005-04-01 19:31:52 +00:00
Hartmut Birr
e31b75dfe5 - Route the stream file objects also through the close path.
- Calculate the size of the fcb hash table depend on the file system type.

svn path=/trunk/; revision=14422
2005-04-01 18:35:34 +00:00
Hartmut Birr
7bf6af0dce - Use IoBuildAsynchronousFsdRequest instead IoBuildSynchronousFsdRequest in NtRead/WriteFile.
- Guard the calls to IoBuildAsynchronousFsdRequest with an exception frame.

svn path=/trunk/; revision=14421
2005-04-01 18:22:17 +00:00
Hartmut Birr
de83dfa5b8 Raise the exception in MmProbeAndLockPages always with STATUS_ACCESS_VIOLATION.
svn path=/trunk/; revision=14420
2005-04-01 18:19:46 +00:00
Casper Hornstrup
75065f4320 Build stubs generated by winebuild
svn path=/branches/xmlbuildsystem/; revision=14419
2005-04-01 18:18:18 +00:00
Hartmut Birr
4ea628ccaa Guard the calls to MmProbeAndLockPages and IoPrepareIrpBuffer with an exception frame and do free allocated resources if an exception occurs.
svn path=/trunk/; revision=14418
2005-04-01 18:17:47 +00:00
Steven Edwards
fc9d1af415 move another SDK header to the SDK
svn path=/trunk/; revision=14417
2005-04-01 18:06:50 +00:00
Steven Edwards
af98825fd6 use -D__USE_W32API for tgetopt
svn path=/trunk/; revision=14416
2005-04-01 18:00:22 +00:00
Magnus Olsen
a8708688d2 Swedish translation
David Nordenberg 
dnordenberg@users.sourceforge.net

proofread by 
Andreas Bjerkeholt
harteex@gmail.com,



svn path=/trunk/; revision=14415
2005-04-01 11:42:40 +00:00
Magnus Olsen
671ba3795b minor update
Swedish translation
Andreas Bjerkeholt
harteex@gmail.com,

proofread by 
David Nordenberg 
dnordenberg@users.sourceforge.net


svn path=/trunk/; revision=14414
2005-04-01 11:29:14 +00:00
Magnus Olsen
5ca5fa5dd7 David Nordenberg: New copy from english resource translated to Swedish,
old one was missing 95% of its content.
	  proofread by Andreas Bjerkeholt

svn path=/trunk/; revision=14413
2005-04-01 10:19:45 +00:00
Magnus Olsen
dee9cfe25c minor changs by
Swedish translation
Andreas Bjerkeholt
harteex@gmail.com,

and 
proofread by 
David Nordenberg 
dnordenberg@users.sourceforge.net


svn path=/trunk/; revision=14412
2005-04-01 09:54:56 +00:00
Magnus Olsen
0cd3294365 Swedish translation
Andreas Bjerkeholt
harteex@gmail.com,

proofread by 
David Nordenberg 
dnordenberg@users.sourceforge.net


svn path=/trunk/; revision=14411
2005-04-01 09:38:01 +00:00
Magnus Olsen
ed14a2c656 Swedish translation
David Nordenberg 
dnordenberg@users.sourceforge.net

proofread by 
Andreas Bjerkeholt
harteex@gmail.com,



svn path=/trunk/; revision=14410
2005-04-01 09:10:32 +00:00
Magnus Olsen
6edcaa7b93 Swedish translation
David Nordenberg 
dnordenberg@users.sourceforge.net  
with some help from Andreas

proofread by 
Andreas Bjerkeholt
harteex@gmail.com,





svn path=/trunk/; revision=14409
2005-04-01 09:06:13 +00:00
Magnus Olsen
ca512a7b11 Swedish translation
David Nordenberg 
dnordenberg@users.sourceforge.net

proofread by 
Andreas Bjerkeholt
harteex@gmail.com,



svn path=/trunk/; revision=14408
2005-04-01 09:03:09 +00:00
Magnus Olsen
ce23c3c042 Swedish translation
David Nordenberg 
dnordenberg@users.sourceforge.net

proofread by 
Andreas Bjerkeholt
harteex@gmail.com,



svn path=/trunk/; revision=14407
2005-04-01 08:56:53 +00:00
Magnus Olsen
8cd95a438b * David Nordenberg: fixed minor things in swedish translation
dnordenberg@users.sourceforge.net

svn path=/trunk/; revision=14406
2005-04-01 08:54:01 +00:00
Magnus Olsen
5696ea2bc9 Swedish translation
David Nordenberg 
dnordenberg@users.sourceforge.net

proofread by 
Andreas Bjerkeholt
harteex@gmail.com,



svn path=/trunk/; revision=14405
2005-04-01 08:51:57 +00:00
Steven Edwards
a9bcd9387d moved this to the wrong folder
svn path=/trunk/; revision=14404
2005-04-01 05:12:15 +00:00
Steven Edwards
fd0f414659 move some SDK headers to the SDK, convert filenames and include statements to lowercase as everything else is in lowercase
svn path=/trunk/; revision=14403
2005-04-01 05:04:40 +00:00
Gunnar Dalsnes
0b60acbc3c -move ppb from ntdll to rtl
smapiexec.c: free ppb on failure. resume thread (RtlCreateUserProcess is supposed to create the thread suspended)

svn path=/trunk/; revision=14402
2005-04-01 00:39:52 +00:00
Art Yerkes
8a147bd7bb PowerPC also uses 4k pages.
svn path=/trunk/; revision=14401
2005-04-01 00:30:29 +00:00
Art Yerkes
0699457c1d PowerPC architecture files. Few Mach function are implemented.
The biggest things to note here:
1) We have to probe the pci bridge to find out the amount of available
memory on older macs.  We use the base model boot-time assumption that
linux uses and leave it till later to find our max memory.
2) Open firmware proxy functionality is divided in two parts.  FreeLDR
is responsible for providing data to and getting it from Open firmware
in big-endian format in memory.  The ofproxy function itself is
responsible for shifting the arguments and calling the target big endian
function.  The good thing here is that we share open firmware functions
between the xcoff part and FreeLDR.

svn path=/trunk/; revision=14400
2005-04-01 00:22:30 +00:00
Steven Edwards
346e718bc8 Some cleanup of crt.a feel free to remove header duplication and use 'precomp.h' in more places to speed build times
svn path=/trunk/; revision=14399
2005-04-01 00:20:29 +00:00
Art Yerkes
3a1a462a26 Powerpc math header.
svn path=/trunk/; revision=14398
2005-04-01 00:17:10 +00:00
Art Yerkes
c0212e2720 Changes to use stdarg rather than assume that arguments are on the stack
and in the correct order.  Tested on i386 and powerpc.

svn path=/trunk/; revision=14397
2005-04-01 00:15:04 +00:00
Gunnar Dalsnes
7df5d3e7e1 mmfuncs.h: add MmGetSystemAddressForMdlSafe/MmMapLockedPagesSpecifyCache defs.
matherr.c: remove _exception struct since its already in math.h
path: simply file exsitence check
iomgr: simplify/use standard generic file mappings flags
misc.

svn path=/trunk/; revision=14396
2005-04-01 00:04:15 +00:00
Steven Edwards
5b6820630a remove these control panels, they never worked
svn path=/trunk/; revision=14395
2005-03-31 22:40:23 +00:00
Steven Edwards
bf30d232a0 add a inline strupr for us Unix folk
svn path=/branches/xmlbuildsystem/; revision=14394
2005-03-31 19:54:03 +00:00
Hervé Poussineau
eeabdc3329 Add OBJ_KERNEL_HANDLE value
svn path=/trunk/; revision=14393
2005-03-31 19:33:50 +00:00
Gregor Anich
3d737b9d74 Fix little bug.
svn path=/trunk/; revision=14392
2005-03-31 18:26:31 +00:00
Gregor Anich
91203bfc8d * Move the KdbEntryCount (check for exception inside KDB) into the critical section to prevent KDB from not handling simultaneous exceptions correctly.
* Flush input when KDB is entered.
* Detect if terminal is connected and filter out escape sequences if no terminal is present.

svn path=/trunk/; revision=14389
2005-03-31 16:08:09 +00:00
Thomas Bluemel
97db1efac1 don't bugcheck on object type mismatch in PsLookupCidHandle
svn path=/trunk/; revision=14388
2005-03-31 14:23:11 +00:00
Alex Ionescu
fd13cf7e83 Clean up catch.c
svn path=/trunk/; revision=14387
2005-03-31 13:52:49 +00:00
Art Yerkes
8df3d41437 Added boot carrier for freeldr. I'm at the point where I need to do
something about the mac disklabel, because freeldr is trying to read
a PC partition table.  I'll need to sleep on it a bit.

svn path=/trunk/; revision=14386
2005-03-31 09:30:29 +00:00
Thomas Bluemel
1d13fa9747 initialize variables
svn path=/trunk/; revision=14384
2005-03-30 20:19:47 +00:00
Alex Ionescu
6f4ae1108e Return status on failure.
svn path=/trunk/; revision=14383
2005-03-30 00:44:52 +00:00
Alex Ionescu
4069692f64 Add SEH...thanks to Hardon for noticing the bugs
svn path=/trunk/; revision=14382
2005-03-30 00:32:38 +00:00
Thomas Bluemel
c1442ae332 - added stub for PoQueueShutdownWorkItem required by XP's ntfs.sys
- added stubs for KeAcquireInStackQueuedSpinLock and KeReleaseInStackQueuedSpinLock

svn path=/trunk/; revision=14381
2005-03-29 17:29:02 +00:00
Thomas Bluemel
9ad486dd0a - ported RtlVerifyVersionInfo from wine
- moved version functions in kernel32 into their own file

svn path=/trunk/; revision=14380
2005-03-29 15:22:44 +00:00
Thomas Bluemel
911b9d27ae move chkstk.s from ntdll to rtl because _alloca_probe needs to be exported by ntoskrnl as well
svn path=/trunk/; revision=14379
2005-03-29 14:27:46 +00:00
Thomas Bluemel
7c238e511f implemented RtlValidateUnicodeString, thanks to "mephistopheles" for providing some pseudeo code
svn path=/trunk/; revision=14378
2005-03-29 02:09:42 +00:00
Magnus Olsen
dea5b1d43f Swedish translation
David Nordenberg 
dnordenberg@users.sourceforge.net

proofread by 
Andreas Bjerkeholt
harteex@gmail.com,

steven : Will commit it to wine also 

svn path=/trunk/; revision=14377
2005-03-28 19:29:59 +00:00
Magnus Olsen
0c492c87b9 Swedish translation
David Nordenberg 
dnordenberg@users.sourceforge.net

proofread by 
Andreas Bjerkeholt
harteex@gmail.com,

changes only for swedish user
steven : Will commit it to wine also 
IDD_TBCUSTOMIZE, LTEXT "Knappar i..." changed width to 85

svn path=/trunk/; revision=14376
2005-03-28 19:25:02 +00:00
Magnus Olsen
29937a5a8c Swedish translation
Andreas Bjerkeholt
harteex@gmail.com,

proofread by 
David Nordenberg 
dnordenberg@users.sourceforge.net


svn path=/trunk/; revision=14375
2005-03-28 19:03:06 +00:00
Magnus Olsen
f9764318f4 New driver ico from Mindflyer <mf@mufunyo.net>
svn path=/trunk/; revision=14374
2005-03-28 18:52:52 +00:00
Hartmut Birr
7189768d70 - Used different overlapped structures for read and write operations on the server side.
- Check for pending i/o requests.

svn path=/trunk/; revision=14373
2005-03-28 18:47:19 +00:00
Hartmut Birr
a48a01798c - Put the wait entry into the DriverContext of the irp instead to allocated it from pool.
- Lock the data list on both ends of the pipe, if we disconnect the pipe.    
- Implemented a read and a write event on each end of the pipe.  
- Implemented a list for read requests to deliver the requests in the correct sequence.  
- Do not end a read request if the pipe was connected and if the buffer wasn't filled completely.

svn path=/trunk/; revision=14372
2005-03-28 18:42:53 +00:00
Alex Ionescu
9b5646acd0 Make w3seek happy. Setting OPTIMIZE=yes as en enviro-var (do NOT add to config) will force optimizations for debug builds too (not recommended). Previous commit was a mistake.
svn path=/trunk/; revision=14371
2005-03-28 18:37:39 +00:00
Magnus Olsen
a57d7a6f93 remove res
svn path=/trunk/; revision=14370
2005-03-28 18:12:31 +00:00
Magnus Olsen
16b0e06b8f Remove the exteran icon file as request from
GvG and other. for the maintain betwin reactos and wine
should be more easy. The new icon from MF are now instead embeded in th shres.rc 

svn path=/trunk/; revision=14369
2005-03-28 18:10:32 +00:00
Alex Ionescu
ea49ca93dd Make w3seek happy. Setting OPTIMIZE=yes as en enviro-var (do NOT add to config) will force optimizations for debug builds too (not recommended)
svn path=/trunk/; revision=14368
2005-03-28 17:27:20 +00:00
Thomas Bluemel
e7986f168f fix warning on optimized builds
svn path=/trunk/; revision=14367
2005-03-28 17:25:19 +00:00
Magnus Olsen
903225f24e did foget the icon form mf
svn path=/trunk/; revision=14366
2005-03-28 16:51:23 +00:00
Magnus Olsen
4d27307543 New ico from Mindflyer <mf@mufunyo.net>
svn path=/trunk/; revision=14365
2005-03-28 16:47:33 +00:00
Thomas Bluemel
713139d9ea release the adapter lock after queuing a work item for the request in ProRequet()
svn path=/trunk/; revision=14364
2005-03-28 16:04:18 +00:00
Thomas Bluemel
d295d5da57 release the dispatcher lock in KeReleaseMutant before raising an exception and handle the exception in NtReleaseMutant
svn path=/trunk/; revision=14363
2005-03-28 15:17:54 +00:00
Martin Fuchs
f3fc2ca494 enable multiline tooltips
svn path=/trunk/; revision=14362
2005-03-28 10:56:29 +00:00
Martin Fuchs
9b8f8ea446 launch all registered Shell Service Objects (Systray, network icons, ...)
svn path=/trunk/; revision=14361
2005-03-28 09:16:50 +00:00
Art Yerkes
f9a85ac5fb Make sure that the socket structure list does't accumulate duplicates.
svn path=/trunk/; revision=14360
2005-03-28 02:50:23 +00:00
Klemens Friedl
8030aa9a2c change the icon file
svn path=/trunk/; revision=14359
2005-03-27 21:34:41 +00:00
Klemens Friedl
fe96ab9edf change the icon file
svn path=/trunk/; revision=14358
2005-03-27 21:32:35 +00:00
Martin Fuchs
628501e0ac New ReactOS and start menu icons by Mindflyer <mf@mufunyo.net>
svn path=/trunk/; revision=14357
2005-03-27 20:46:17 +00:00
Klemens Friedl
bcfaaaf65b Remove the icon files, greatlrd add these icons (from Mindflyer) already to an other folder.
svn path=/trunk/; revision=14356
2005-03-27 20:12:36 +00:00
Klemens Friedl
0607c67b68 Remove all hardcode english phrases from the source code and add the phrases to the resource file.
svn path=/trunk/; revision=14355
2005-03-27 20:01:18 +00:00
Martin Fuchs
03a5f16ed9 - make Shell Hook Messages really work in Windows
- comments for SHELL32's RegisterShellHook()

svn path=/trunk/; revision=14354
2005-03-27 19:57:26 +00:00
Magnus Olsen
0baf2d03b1 New ico from Mindflyer <mf@mufunyo.net>
Swedish translation of explorer By
David Nordenberg dnordenberg@users.sourceforge.net

svn path=/trunk/; revision=14353
2005-03-27 19:57:20 +00:00
Magnus Olsen
761a68acf7 New ico from Mindflyer <mf@mufunyo.net>
svn path=/trunk/; revision=14352
2005-03-27 19:50:50 +00:00
Martin Fuchs
154128c1a0 launch shell DDE server
svn path=/trunk/; revision=14351
2005-03-27 18:13:43 +00:00
Martin Fuchs
cd0596ffa4 hide login screen to make the login on XP faster
svn path=/trunk/; revision=14350
2005-03-27 16:32:06 +00:00
Filip Navara
742ddb108f Fix memory leak I introduced in revision 14343 and fix buffer size calculation to save 4 bytes.
svn path=/trunk/; revision=14349
2005-03-27 13:03:30 +00:00
Eric Kohl
f39737088b Added handling of unsigned type. Patch by Jacek Caban (from WINE).
svn path=/trunk/; revision=14348
2005-03-27 13:02:06 +00:00
Hervé Poussineau
577b88645b Saveliy Tretiakov <saveliyt@mail.ru>
- Implement ClearCommError
- Correct badly implemented apis: ClearCommBreak, EscapeCommFunction, GetCommMask, GetCommModemStatus, GetCommState, GetCommTimeouts, PurgeComm, SetCommBreak, SetCommMask, SetCommTimeouts, SetCommState, SetupComm, TransmitCommChar, WaitCommEvent

svn path=/trunk/; revision=14346
2005-03-27 12:03:59 +00:00
Hervé Poussineau
fce0440b32 Fix handling of input and output buffers
svn path=/trunk/; revision=14345
2005-03-27 11:14:30 +00:00
Hervé Poussineau
f0e7b26df9 Mark Junker <mjscod@gmx.de>
Don't detect a 16550A UART if it is a 16550.

svn path=/trunk/; revision=14344
2005-03-27 11:13:25 +00:00
Filip Navara
5f113d7735 Correct DLL loading order and honour the LOAD_WITH_ALTERED_SEARCH_PATH flag.
svn path=/trunk/; revision=14343
2005-03-27 11:00:41 +00:00
Filip Navara
e332bc75f9 - Rewrite NtUserGetUpdateRect. It should return TRUE when the window needs to be pained, not only when the client update rect is non-empty.
- Return TRUE for windows with pending WM_NCPAINT message in IntIsWindowDirty.

svn path=/trunk/; revision=14342
2005-03-27 08:29:25 +00:00
KJK::Hyperion
212b767a54 Implemented PSEH wrapper for native compiler SEH. Changed copyright years
svn path=/trunk/; revision=14341
2005-03-27 01:57:26 +00:00
KJK::Hyperion
0a9a6b6359 Forgot to implement _SEH2_LEAVE. Also added some _SEH2 aliases to clean any possible ambiguity
svn path=/trunk/; revision=14340
2005-03-27 00:53:15 +00:00
KJK::Hyperion
4d4ec75256 _SEH2_HANDLE as a short-hand for _SEH2_EXCEPT(_SEH_STATIC_FILTER(_SEH_EXECUTE_HANDLER))
svn path=/trunk/; revision=14339
2005-03-27 00:44:53 +00:00
KJK::Hyperion
fde9c768e4 New syntax for PSEH. UNTESTED, any takers? It can be used like this:
_SEH2_TRY
{
 // Code that might raise an exception
}
_SEH2_EXCEPT(FilterFunc)
{
 // Handle the exception
}
_SEH2_END;

or like this:

_SEH2_TRY
{
 // Code that might raise an exception
}
_SEH2_FINALLY(UnwindFunc)
_SEH2_END;

or even like this (but PLEASE forget I said it):

_SEH2_TRY
{
 // Code that might raise an exception
}
_SEH2_EXCEPT(FilterFunc)
{
 // Handle the exception
}
_SEH2_FINALLY(UnwindFunc)
_SEH2_END;

_SEH2_TRY
{
 // Code that might raise an exception
}
_SEH2_END;

svn path=/trunk/; revision=14338
2005-03-27 00:41:31 +00:00
Emanuele Aliberti
b0c5a68699 Some stubbing and some stack sizes in exported symbols.
svn path=/trunk/; revision=14337
2005-03-26 22:10:04 +00:00
Filip Navara
5b1f9c5705 Fix return value of SwitchToThread.
svn path=/trunk/; revision=14336
2005-03-26 21:16:42 +00:00
Hartmut Birr
b4e10fa87d - Fixed the wrong check for KMUTEX objects in KeRundownThread.
- Fixed the endless loop in KeRundownThread.

svn path=/trunk/; revision=14335
2005-03-26 20:14:06 +00:00
Emanuele Aliberti
a24101498d Exported symbol list updated to 5.1-SP2
svn path=/trunk/; revision=14334
2005-03-26 17:52:32 +00:00
Magnus Olsen
3210fa3a76 Fix some more bugs thanks to Tribes.
Now the mouse y cordinate works fine
Set right timestap on the event. 
Remove time delay on 50ms 
new code for 50ms event calction.

Todo
why does the Tribes get wrong x,y cordinate.
why does the mouse limit area setup are wrong.




svn path=/trunk/; revision=14333
2005-03-26 16:41:45 +00:00
Magnus Olsen
24a420afcf Fix a small bug I introdues and fix a old bug for tribes
svn path=/trunk/; revision=14330
2005-03-26 11:58:43 +00:00
Magnus Olsen
cb6b20b96e more bugfix for Tribes
but still choppy mouse but not equal as last time

svn path=/trunk/; revision=14329
2005-03-26 11:16:14 +00:00
Art Yerkes
614603eeb9 Added tools needed to build the ppc boot program.
svn path=/trunk/; revision=14328
2005-03-26 10:19:48 +00:00
Magnus Olsen
fdd9078191 Fix some bugs for Tirbes in GetDeivceData
remove to call for geting mouse data. That
are not need it. rest are bugs fix for Tirbes.

Left Todo
The mouse are bit choppy. The mouse area you 
can move the mouse are not being set up right.

svn path=/trunk/; revision=14327
2005-03-26 09:38:23 +00:00
Thomas Bluemel
00018abc54 always wake waiting threads when releasing the last recursion
svn path=/trunk/; revision=14326
2005-03-26 00:10:34 +00:00
Hervé Poussineau
f51f04e53e Implement IntChangeDisplaySettings in a crappy way. Feel free to improve it!
svn path=/trunk/; revision=14325
2005-03-25 23:23:35 +00:00
Hervé Poussineau
554ba464bc Call ChangeDisplaySettingsEx.
We need to implement a test phase to verify that new settings are correct.

svn path=/trunk/; revision=14324
2005-03-25 23:21:00 +00:00
Thomas Bluemel
f14bd21382 grant correct access rights when duplicating a handle
svn path=/trunk/; revision=14323
2005-03-25 23:11:20 +00:00
Thomas Bluemel
2cf86ba40d minor optimization fix for single linked lists
svn path=/trunk/; revision=14322
2005-03-25 22:53:57 +00:00
Casper Hornstrup
a4ca6d5949 Always overwrite output file
svn path=/branches/xmlbuildsystem/; revision=14321
2005-03-25 22:40:56 +00:00
Eric Kohl
63fa5da683 Generate code without L-value casts. Fix remaining issues.
svn path=/trunk/; revision=14320
2005-03-25 21:29:11 +00:00
Royce Mitchell III
8ac9a09484 patch by Filip Navara:
IopCreateDeviceNode should allocate from NonPagedPool, not PagedPool... (the memory is accessed at DISPATCH_LEVEL)

svn path=/trunk/; revision=14319
2005-03-25 19:34:26 +00:00
Casper Hornstrup
fa082a4797 Build template HAL
svn path=/branches/xmlbuildsystem/; revision=14318
2005-03-25 19:28:55 +00:00
Casper Hornstrup
f94bae987b Add missing files
svn path=/branches/xmlbuildsystem/; revision=14317
2005-03-25 18:48:51 +00:00
Thomas Bluemel
71cda6ad2a only return the token handle if creating it succeeded
svn path=/trunk/; revision=14316
2005-03-25 18:13:31 +00:00
Royce Mitchell III
c122f61bfc reorder GenerateRules() to get rid of unnecessary if()
svn path=/branches/xmlbuildsystem/; revision=14315
2005-03-25 17:08:30 +00:00
Casper Hornstrup
b184fdc029 Output rules for objectlibrary files
svn path=/branches/xmlbuildsystem/; revision=14314
2005-03-25 16:32:46 +00:00
Filip Navara
e11896f814 Fix a typo.
svn path=/trunk/; revision=14313
2005-03-25 15:48:03 +00:00
Casper Hornstrup
55b0952903 Revert part of previous change
svn path=/branches/xmlbuildsystem/; revision=14312
2005-03-25 14:37:08 +00:00
Casper Hornstrup
3756253ddf Generate object macros before target macros
svn path=/branches/xmlbuildsystem/; revision=14311
2005-03-25 14:31:00 +00:00
Hartmut Birr
2b55bc2731 - Implemented NpfsCleanup.
- Moved most of the code from NpfsClose to NpfsCleanup.  
- If a pipe handle is closed, remove the fcb from the wait list and cancel a connecting irp if one is waiting.

svn path=/trunk/; revision=14310
2005-03-25 13:40:33 +00:00
Casper Hornstrup
4aa22b18ad Enable rbuild_test again
svn path=/branches/xmlbuildsystem/; revision=14309
2005-03-25 13:02:35 +00:00
Filip Navara
a106e5c2e0 Fix uninitialized variable warnings.
svn path=/trunk/; revision=14308
2005-03-25 12:00:56 +00:00
Hartmut Birr
0341276444 Reverted my last changes which allows to read from a listening pipe.
svn path=/trunk/; revision=14307
2005-03-25 11:45:48 +00:00
Hartmut Birr
bb8e4bcd9e Fixed the return value and last error in ConnectNamedPipe if a overlapped structure is given.
svn path=/trunk/; revision=14306
2005-03-25 11:25:44 +00:00
Hartmut Birr
79d1ef572c Added a missing unlock.
svn path=/trunk/; revision=14305
2005-03-25 11:05:10 +00:00
Filip Navara
97ae5f94b5 Fix compilation.
svn path=/trunk/; revision=14299
2005-03-24 13:17:23 +00:00
Art Yerkes
0ecfffa8a0 This is change 1 of 2.
AddIPAddress and DeleteIPAddress are now implemented all the way down.
Next we need the dhcp service live enough to assign the address from userland,
then we can remove the IP address setting from the kernel.

svn path=/trunk/; revision=14298
2005-03-24 10:46:52 +00:00
Hervé Poussineau
632a47580b - Add synchronization on input and output buffers
- Respect timeouts on IRP_MJ_READ
- Get right buffer in read/write routines

svn path=/trunk/; revision=14297
2005-03-24 07:50:41 +00:00
Hartmut Birr
974ee62e85 - Guarded the calls to IoSetCancelRoutine with IoAcquireCancelSpinLock/IoReleaseCancelSpinLock.
- Used a fastmutex as lock for the data queue.  
- Used paged pool for the data buffers.  
- Allowed the server to read (and to wait) on a listening pipe.  
- Implemented the non blocking read operations.

svn path=/trunk/; revision=14296
2005-03-23 22:11:20 +00:00
Hartmut Birr
7889b35088 Set the share disposition of an interrupt according to the value from the resource.
svn path=/trunk/; revision=14295
2005-03-23 21:51:40 +00:00
Emanuele Aliberti
b929be435f old Win9x drivers subsystem id
svn path=/trunk/; revision=14294
2005-03-23 21:51:08 +00:00
Hervé Poussineau
2a60fd0675 SUBLANG_NEUTRAL -> SUBLANG_ENGLISH_US because ReactOS searches for english/US if no more suitable langage is found
svn path=/trunk/; revision=14293
2005-03-23 21:06:02 +00:00
Hartmut Birr
1821eebb12 Fixed the calling convention of the cancel routine.
svn path=/trunk/; revision=14292
2005-03-23 19:05:42 +00:00
Thomas Bluemel
8e6267fd39 revert my changes
svn path=/trunk/; revision=14275
2005-03-23 13:26:38 +00:00
Emanuele Aliberti
58042e8e21 updated an absolete comment
svn path=/trunk/; revision=14274
2005-03-22 23:34:08 +00:00
Hervé Poussineau
64574d47b1 - Implement IOCTL_SERIAL_GET_COMMSTATUS, IOCTL_SERIAL_PURGE, IOCTL_SET_QUEUE_SIZE
- Add a hack in IOCTL_SERIAL_GET_BAUD_RATE to get it working with mode.exe

svn path=/trunk/; revision=14273
2005-03-22 22:10:44 +00:00
Hervé Poussineau
c75445a9d4 Christoph von Wittich <Christoph@ApiViewer.de>
- Extract hard-coded english sentences from settings.c and put them into resources
- Add corresponding german translations
- Correct some control locations in german and english resource files
- Show only resolutions >= 640x480

svn path=/trunk/; revision=14271
2005-03-22 20:16:41 +00:00
Gé van Geldorp
59904f6ca5 Forgotten file in r13928
svn path=/trunk/; revision=14270
2005-03-22 19:32:17 +00:00
Thomas Bluemel
7a236ead2e forgot this file
svn path=/trunk/; revision=14269
2005-03-22 17:46:44 +00:00
Thomas Bluemel
8d780ebc45 fixed a few race conditions during thread/process termination leading to dead-locks
svn path=/trunk/; revision=14268
2005-03-22 17:32:15 +00:00
Thomas Bluemel
c0b7a5108d improve readability by removing obsolete gotos and for loops where appropriate
svn path=/trunk/; revision=14267
2005-03-22 17:17:02 +00:00
Royce Mitchell III
810c5e38ec forgot this file
svn path=/branches/xmlbuildsystem/; revision=14266
2005-03-22 07:29:02 +00:00
Royce Mitchell III
8102c0deae eliminate rmkdir and generate directory dependencies the right way.
treat ROS_TEMPORARY, ROS_INTERMEDIATE, and ROS_OUTPUT as potential different directories.
major refactor of mingw backend to simplify things, and fix some output bugs, as well as reduce makefile.auto size a bit.
create all macros before we start writing rules ( create all target macros before any other ), this fixes bug with macros being empty because they're used before they're defined

svn path=/branches/xmlbuildsystem/; revision=14265
2005-03-22 07:25:53 +00:00
Alex Ionescu
2700763b70 Fix really really big Mutex/APC bug. Killing GUI Threads from taskmanager should now work flawlessly, and gui apps should work better; the bug had probably tiny important impact in them
svn path=/trunk/; revision=14264
2005-03-22 03:06:03 +00:00
Thomas Bluemel
efa9275d99 forgot to remove debug messages
svn path=/trunk/; revision=14263
2005-03-22 03:05:46 +00:00
Thomas Bluemel
ef30b93924 silence obsolete debug message
svn path=/trunk/; revision=14262
2005-03-22 02:35:54 +00:00
Thomas Bluemel
a642687b55 fixed thread/process termination bugs that might have caused crashes. due to a apc bug gui threads terminating gui threads doesn't work. Alex is going to take care of it.
svn path=/trunk/; revision=14261
2005-03-22 02:32:14 +00:00
Hervé Poussineau
fe8ad2a13b Sylvain Petreolle <spetreolle@yahoo.fr>
- Translate sysdm.cpl into french
- Fix misplaced icons and text boxes
- Add default values into network identification

svn path=/trunk/; revision=14260
2005-03-21 23:37:02 +00:00
Aleksey Bragin
9cc07a82a9 Nice "About Explorer" icon, by Mindflyer.
svn path=/trunk/; revision=14259
2005-03-21 22:10:10 +00:00
Hervé Poussineau
725a3c2f57 Change REG_MULTI_SZ entry values to readable form.
svn path=/trunk/; revision=14258
2005-03-21 22:07:06 +00:00
Filip Navara
8c984877c4 Move the process object dereference from NtTerminateProcess to PspExitProcess (comments inside).
svn path=/trunk/; revision=14257
2005-03-21 21:33:31 +00:00
Filip Navara
49b1d66ec3 - Advance the CurrentEntry pointer before terminating thread in PspTerminateProcessThreads.
- Lock the process in NtTerminateProcess to prevent race conditions.

svn path=/trunk/; revision=14256
2005-03-21 20:11:52 +00:00
Gunnar Dalsnes
561b4db8e9 readd incorrectly removed access mapping
svn path=/trunk/; revision=14255
2005-03-21 17:13:55 +00:00
Gunnar Dalsnes
4dcc066ed7 CopyAcceleratorTableA: dont access lpAccelDst it its NULL (w3seek)
svn path=/trunk/; revision=14254
2005-03-21 17:11:48 +00:00
Gregor Anich
0ac49e9d42 Use a work item only for calling KdSystemDebugControl with code 10 (which is Tab + K, or "Enter Kernel Debugger") because sometimes when the system crashes work items do not work anymore. Thanks to Filip for pointing out the problem.
svn path=/trunk/; revision=14253
2005-03-21 17:09:06 +00:00
Hervé Poussineau
160084df80 Based on work by Saveliy Tretiakov (saveliyt@mail.ru)
Implement IOCTL_SERIAL_GET_PROPERTIES

svn path=/trunk/; revision=14252
2005-03-21 12:41:54 +00:00
Hervé Poussineau
28a24e8079 - Implement GetCommProperties (Saveliy Tretiakov <saveliyt@mail.ru>)
- Remove a test in GetCommState that shouldn't exist

svn path=/trunk/; revision=14251
2005-03-21 10:32:15 +00:00
Filip Navara
e5d49d1493 Fix a typo in write_function_stubs.
svn path=/trunk/; revision=14250
2005-03-21 08:43:01 +00:00
Filip Navara
07647a0b62 Specify correct access rights in NtOpenProcess when sending control events.
svn path=/trunk/; revision=14249
2005-03-21 08:32:22 +00:00
Filip Navara
fd19aa00e6 Correctly draw the titlebar as active or inactive during the processing of WM_NCACTIVATE message.
svn path=/trunk/; revision=14248
2005-03-21 01:59:21 +00:00
Filip Navara
2315100314 - Cleanup DefWndDoButton function.
- Fix some loops where GetMessage was inadvertently used.

svn path=/trunk/; revision=14247
2005-03-21 01:34:02 +00:00
Filip Navara
3a6ab460dd - Move WINDOWOBJECT_NEED_INTERNALPAINT flag handling to NtGdiBeginPaint.
- Fix IntGetPaintMessage to not return TRUE when no message was returned.
- IntIsWindowDirty shouldn't check for the WINDOWOBJECT_NEED_NCPAINT flag (at least not now).

svn path=/trunk/; revision=14246
2005-03-21 00:55:16 +00:00
Emanuele Aliberti
b1367292b1 cleaned a wrong comment (copy&paste)
svn path=/trunk/; revision=14245
2005-03-20 23:01:48 +00:00
Emanuele Aliberti
a90ec8327c SM: init system reading the registry
CSR: register with SM for IMAGE_SUBSYSTEM_WINDOWS_CUI

svn path=/trunk/; revision=14244
2005-03-20 22:55:05 +00:00
Casper Hornstrup
297bfe4644 Test module type support
svn path=/branches/xmlbuildsystem/; revision=14241
2005-03-20 21:58:30 +00:00
Filip Navara
8b0ad6b22f Minor correction to my r14237 commit. Forgot to delete "++".
svn path=/trunk/; revision=14239
2005-03-20 21:44:58 +00:00
Filip Navara
a9c2167a20 Reorder the source file lists so we, lousy people, building with DEPENDENCIES=no can also enjoy the blessing of the PnP gods.
svn path=/trunk/; revision=14238
2005-03-20 21:40:00 +00:00
Filip Navara
17a549a975 Generate code without L-value casts.
svn path=/trunk/; revision=14237
2005-03-20 21:35:12 +00:00
Thomas Bluemel
86a52339fb revert changes from CreateFileA
svn path=/trunk/; revision=14236
2005-03-20 20:46:16 +00:00
Eric Kohl
b718e3cc4e - Add stubs: CM_GetChild, CM_GetChild_Ex, CM_GetParent, CM_GetPaarent_Ex, CM_GetSibling, CM_GetSibling_Ex, CM_Locate_DevNodeA, CM_Locate_DevNodeW, CM_Locate_DevNode_ExA, CM_Locate_DevNode_ExW
- Implement:  CM_GetVersion, CM_GetVersion_Ex, CM_Connect_MachineA, CM_Connect_MachineW, CM_Disconnect_Machine.
- Implement RPC server in umpnpmgr.dll to reply to calls to CM_GetVersion/CM_GetVersion_Ex.

svn path=/trunk/; revision=14235
2005-03-20 20:43:46 +00:00
Filip Navara
a0da8855ea There's no need to call PropertySheet twice.
svn path=/trunk/; revision=14234
2005-03-20 20:28:19 +00:00
Thomas Bluemel
b407470ef1 added support for template directories (copy ntfs extended attributes) to CreateDirectoryEx()
svn path=/trunk/; revision=14233
2005-03-20 20:27:56 +00:00
Filip Navara
34484a48d9 Initialize the "toc" field in the pdb_lookup structure in order
to prevent pdb_free_lookup from trying to delete invalid pointers.

svn path=/trunk/; revision=14232
2005-03-20 19:11:52 +00:00
Thomas Bluemel
0f4cfdb301 - added support for template files (copy ntfs extended attributes) to CreateFile()
- mask out file flags from dwFlagsAndAttributes before passing them to NtCreateFile as file attributes

svn path=/trunk/; revision=14231
2005-03-20 18:55:54 +00:00
Filip Navara
b4d371d7d2 Don't use uninitialized variable in _SHExpandEnvironmentStrings.
svn path=/trunk/; revision=14230
2005-03-20 18:40:57 +00:00
Hervé Poussineau
e8ecbebd7d Based on work by Mark Junker <mjscod@gmx.de>
- Detect UART type
- Clear transmit/receive FIFO if applicable

svn path=/trunk/; revision=14229
2005-03-20 18:30:09 +00:00
Magnus Olsen
0936234d7d LPUNKNOWN pUnkOuter did check it was NULL and return
forget it should be not equal with NULL it return 
thx to mifritscher did the first test to find my mistake

svn path=/trunk/; revision=14228
2005-03-20 18:20:59 +00:00
Gunnar Dalsnes
124f38a790 GetBinaryTypeA, CopyFileExA, CreateFileA, DeleteFileA, MoveFileWithProgressA: Use common A2W conv. routines
svn path=/trunk/; revision=14227
2005-03-20 17:39:11 +00:00
Gunnar Dalsnes
de75c774c3 removed faulty FilenameA2U (returned ptr to stack var)
remove faulty init of StaticUnicodeString (now done in ntdll)

svn path=/trunk/; revision=14226
2005-03-20 17:26:58 +00:00
Magnus Olsen
08482c30b1 start add hardware interface to hal
we now map the hal to directdraw 

follow api are implement in the ddraw for hal
but all hal api are not implement in the kernel
if you got louky it maby working with nvida driver now. 

untested yet. 

svn path=/trunk/; revision=14225
2005-03-20 17:24:11 +00:00
Gunnar Dalsnes
bab510233f init StaticUnicodeString
svn path=/trunk/; revision=14224
2005-03-20 17:22:24 +00:00
Thomas Bluemel
de138c3bb4 - fixed access rights and shared access checks in IoSetShareAccess()
- remove obsolete checks in IoCheckShareAccess() and IoUpdateShareAccess() to simplify them

svn path=/trunk/; revision=14223
2005-03-20 15:54:22 +00:00
Thomas Bluemel
8b9646ca2a - only mask out the generic rights flags in RtlMapGenericMask()
- only deny access when requested rights can't be granted in IoCheckDesiredAccess()

svn path=/trunk/; revision=14222
2005-03-20 13:53:54 +00:00
Magnus Olsen
fb157f301a this waring break the head for me
pnp.c:141: warning: 'Affinity' might be used uninitialized in this function
{standard input}: Assembler messages:

initialized it with Affinity = 0;

svn path=/trunk/; revision=14221
2005-03-20 13:32:27 +00:00
Filip Navara
d73103f0f2 Fix a cut & paste error.
svn path=/trunk/; revision=14220
2005-03-20 13:10:57 +00:00
Filip Navara
2d8afa8978 Allow the lpTemplateDirectory parameter to be NULL in CreateDirectoryExA.
svn path=/trunk/; revision=14219
2005-03-20 13:10:11 +00:00
Eric Kohl
439e6fd789 Improve error messages.
Don't start counting the type_offset for each new fuction. It is a global offset.
Use only basic types in type- and proc-strings (e.g. unsigned long -> long).


svn path=/trunk/; revision=14218
2005-03-20 13:06:11 +00:00
Filip Navara
05bc884b35 - Rename bitblt.c to more generic bitmap.c.
- Normalize BITMAPINFO structure in CreateDIBSection before sending it to win32k.

svn path=/trunk/; revision=14217
2005-03-20 12:30:06 +00:00
Hervé Poussineau
abb9dfec3b Add legacy detection of COM3 and COM4
Be ready for PnP serial ports
Don't hardcode base addresses and irq twice

svn path=/trunk/; revision=14216
2005-03-20 12:15:51 +00:00
Hervé Poussineau
fcc7d2acc7 Implement IoReportDetectedDevice
svn path=/trunk/; revision=14215
2005-03-20 12:15:33 +00:00
Filip Navara
4cae592ec2 Fix nasty condition when we were subtracting AlignedAddress (which happened to be aligned to 0x80000000) from HighestAddress (which is MmSystemRangeStart - 1 == 0x7fffffff) and then using it for length comparsion.
svn path=/trunk/; revision=14214
2005-03-20 12:04:30 +00:00
Filip Navara
b0fb19733c Fix the AdjustTokenPrivileges call once more.
svn path=/trunk/; revision=14213
2005-03-20 11:35:39 +00:00
Thomas Bluemel
0e847f36a6 fixed AdjustTokenPrivileges() call
svn path=/trunk/; revision=14212
2005-03-20 11:22:50 +00:00
Magnus Olsen
a98111e50f Complete the dummy of HAL.
CreateDirectDraw and CreateDirectDrawEx
will return a pointer of ddraw object.
only hardware acclration support are being add.
noting real working yet. 

svn path=/trunk/; revision=14211
2005-03-20 09:58:10 +00:00
Hartmut Birr
f0e4451f31 Fixed the required access rights for formating a disk.
svn path=/trunk/; revision=14210
2005-03-20 09:46:13 +00:00
Filip Navara
572aa1faf4 Minor correction to NtAdjustPrivilegesToken to keep it from returning total junk.
svn path=/trunk/; revision=14209
2005-03-20 01:58:54 +00:00
Filip Navara
c29c8b9124 Revert the last change to device stack attaching.
svn path=/trunk/; revision=14208
2005-03-20 00:53:24 +00:00
Filip Navara
621ded7636 Attach the PDOs to device stack and report device unique IDs if available.
svn path=/trunk/; revision=14207
2005-03-20 00:33:36 +00:00
Magnus Olsen
e7f2044681 did forget these two file
svn path=/trunk/; revision=14206
2005-03-19 23:52:04 +00:00
Magnus Olsen
8b29e58251 update directx d3d and draw header to Wine-20050310
so the work on ddraw dll can continue. 



svn path=/trunk/; revision=14205
2005-03-19 23:47:52 +00:00
Filip Navara
edda3944bc Forgot to add this file in revision 14203.
svn path=/trunk/; revision=14204
2005-03-19 22:50:11 +00:00
Filip Navara
1e7a5224aa - Replace the ColorMap pointer in BITMAPOBJ with palette handle and
correctly free it when the bitmap is about to be destroyed. Also
  get rid of some palette leaks when DIBs were selected into device
  context.
- Refine GDI32 -> Win32k interface for creating and managing brushes.
  Remove NtGdiCreateBrushIndirect, NtGdiCreateDIBPatternBrush,
  NtGdiCreateDIBPatternBrushPt and NtGdiFixBrushOrgEx syscalls and
  add NtGdiCreateDIBBrush.
- Implement basic support for DIB pattern brushes.
- Add user mode helper routine for "normalizing" BITMAPINFO structure.
- Add definition for BITMAPV5HEADER.

svn path=/trunk/; revision=14203
2005-03-19 22:15:02 +00:00
Filip Navara
db3d786f03 Specify correct buffer size in GetPrivateProfileStringW calls.
svn path=/trunk/; revision=14202
2005-03-19 21:48:33 +00:00
Magnus Olsen
8da44c3750 add more code.
start create a protype of hal, that can be use also for
software emulation mode. 

svn path=/trunk/; revision=14201
2005-03-19 20:39:25 +00:00
Alex Ionescu
a04bad112d Oops
svn path=/trunk/; revision=14200
2005-03-19 20:29:19 +00:00
Alex Ionescu
396ff5690c Correct NtW32call to call correct kernel function, add placeholder for SEH, implement KeUserModeCallback (right now a copy of the old code). Part I of an incomplete W32Callback rewrite, just to set up the groundwork to make testing easier. Might look ugly/messy now but it'll be clean soon
svn path=/trunk/; revision=14199
2005-03-19 20:26:46 +00:00
Filip Navara
52a70e745d Fix indentation.
svn path=/trunk/; revision=14198
2005-03-19 19:52:36 +00:00
Thomas Bluemel
6c8fad94ac - correctly deny access to handles when rights requested can't be granted
- map generic rights correctly
- various fixes where handles with inappropriate access rights were created

svn path=/trunk/; revision=14197
2005-03-19 19:13:01 +00:00
Emanuele Aliberti
6f3c732b92 winsta.dll raw stubs
svn path=/trunk/; revision=14196
2005-03-19 18:31:14 +00:00
Magnus Olsen
9cb33ba90d geting update version of ddraw.h working with gdi32.h
thanks filip. 

svn path=/trunk/; revision=14195
2005-03-19 18:28:01 +00:00
Magnus Olsen
dd212d63c9 update the ddraw.h header ageinst Wine-20050310
so the work on ddraw dll can continue. 

this header file have been modify to geting reactos compile and add one struct and fix some protypes that was wrong.

svn path=/trunk/; revision=14194
2005-03-19 18:26:45 +00:00
Filip Navara
ee054cd0f4 Export the HOST variable even on Windows.
svn path=/trunk/; revision=14193
2005-03-19 17:22:02 +00:00
Aleksey Bragin
1ca3f8ce13 Fix a very small typo - "VfatFormat() done" to "VfatxFormat() done"
svn path=/trunk/; revision=14192
2005-03-19 17:11:15 +00:00
Magnus Olsen
229fed0315 lite more code.
nothing works yet. 
add some check see if the parama are right. 

svn path=/trunk/; revision=14191
2005-03-19 10:22:52 +00:00
Martin Fuchs
e24c42bb6b - unregister task manager window at termination
svn path=/trunk/; revision=14190
2005-03-19 09:37:46 +00:00
Martin Fuchs
cf95dc8b1b - remove old experimental shell hook code
svn path=/trunk/; revision=14189
2005-03-19 09:37:24 +00:00
Hartmut Birr
0692378689 Added two missing dereferencing calls in ObReferenceObjectByHandle.
Checked also for NtCurrentThread in NtDuplicateObject.  
Used the return value from InterlockedIncrement to check for a correct handle count.

svn path=/trunk/; revision=14188
2005-03-19 09:18:58 +00:00
Hartmut Birr
c2a04f5107 Added two missing dereferencing calls in NtTerminateThread.
svn path=/trunk/; revision=14187
2005-03-19 09:14:21 +00:00
Filip Navara
e54de54618 - Fix acpi_os_get_thread_id to return 1-based thread ids (instead of zero-based ones).
- Zero the owner_id field while initializing acpi_gbl_acpi_mutex_info.

svn path=/trunk/; revision=14186
2005-03-19 02:18:49 +00:00
Royce Mitchell III
8b3af26269 fix warning that is really a bug - from looking at the code, wDevID, is a UINT, not a UINT_16
svn path=/trunk/; revision=14185
2005-03-19 01:37:47 +00:00
Alex Ionescu
e389f0c999 Implement timer expiring too fast for KeDelayExecutionThread. Dedicated to filip
svn path=/trunk/; revision=14184
2005-03-18 23:26:44 +00:00
Martin Fuchs
0412c84cea register ourselved as task manager window to make the RegisterShellHookWindow() call working [thanks to Filip :)]
svn path=/trunk/; revision=14183
2005-03-18 23:00:54 +00:00
Martin Fuchs
a5b6da0234 cleanup of latest RegisterShellHookWindow() changes
svn path=/trunk/; revision=14182
2005-03-18 20:34:01 +00:00
Gunnar Dalsnes
846dc1aebe -remove incorrect handle count check when deleting files
-reformat code

svn path=/trunk/; revision=14181
2005-03-18 19:36:36 +00:00
Hervé Poussineau
f0bec76acd Fix a warning with some compilers about non-initialized variable.
This can't really happen in real execution, but let's be the compiler happy ;)

svn path=/trunk/; revision=14180
2005-03-18 19:00:48 +00:00
Hervé Poussineau
64944b49f7 Don't double-define STATUS_ARRAY_BOUNDS_EXCEEDED
svn path=/trunk/; revision=14179
2005-03-18 17:45:59 +00:00
Hervé Poussineau
301637bbde Implement partly IoReportResourceForDetection() and IoReportDetectedDevice(), just enough to support serial driver
svn path=/trunk/; revision=14178
2005-03-18 16:51:39 +00:00
Hervé Poussineau
08da4a07b0 Implement legacy detection (it should be able to detect the first two serial ports)
Implement reading by polling (expect lots of bugs!)
Use receive and send queues
Better handling of some IRPs
Lots of small bugs fixes

svn path=/trunk/; revision=14177
2005-03-18 16:01:35 +00:00
Thomas Bluemel
343e3f7bdc can't receive the cid from a KTHREAD structure, fixes compiling with debugging enabled
svn path=/trunk/; revision=14176
2005-03-18 13:52:21 +00:00
Alex Ionescu
c2c6049107 Update ETHREAD fields and termination port stucture to XP, and do necessary code changes. This makes reaping even faster. It's 2:30am, i hope there's no bugs ;-)
svn path=/trunk/; revision=14175
2005-03-18 07:19:30 +00:00
Alex Ionescu
eb54434d27 Thread/Process Termination/Repeaing Rewrite + Fixes
---------------------------------------------------

    - ps/cid.c: 
            * Moved CID Lookup functions here
            
    - ps/security.c: 
            * Moved all security related functions here. Makes other files neater and security functions
              easier to locate.
              
    - ps/thread.c: 
            * Moved most of the Thread Scheduling/Dispatching code that belongs in the Kernel to /ke and
              renamed functions from Ps to Ki.
            * Implemented PsIsSystemThread.
            * Removed Reaper Thread Init (now obsolete).
            * Renamed PiDeleteThread to PspDeleteThread.
            * Moved Thread State functions from tinfo.c to here.
            
    - ps/process.c:
            * Removed Query/Set Process functions and moved to ps/query.c
            * Renamed PiDeletePRocess to PspDeleteProcess
            * Removed obsoleted Process Termination functions, moved persistent one to kill.c
    
    - ps/create.c:
            * Moved the security APIs to security.c
            * Correctly implemented PsCreateSystemThread to actually create system threads.
        
            
    - ps/suspend.c
            * Rewrote Nt Executive functions to use Kernel functions.
            * Moved Ps* Routines into ke/kthread.c and fixed them. The implementation was wrong in
              some aspects, especially the issue of the APC looping around the KeWaitXxx call and the
              fact that the routines excluded/ignored the FreezeCount.
            
    - ps/debug.c
            * Fixed completely broken implementation of Get/SetThreadContext. The old version crashed
              when called and did not work at all. Suspend Regression test now works.
            * Moved Context<->TrapFrame functions to ke/i386/
            * Combined Set/GetThreadContext APCs into a single one, and used special context structure.
            
    - ps/query.c:
            * Moved Thread/Process Query/Set Routines here.
            
    - ps/tinfo.c:
            * Removed.
            
    - ps/kill.c
            * Removed complicated Process Termination semantics and useless Attach/Detach in favor for
              a much more lightweight function which performs the same tasks as before and actually works.
              TaskManager can now terminate foreign processes.
            * Rewrote Thread Reaping to use the HyperCritical Work Queue instead of manually controlled
              thread. This results in much less code as well as an increase in speed and less micro
              management. The reaper is PspReapRoutine. Closing CMD.EXE now works properly without
              requiring masks that were added as hacks to allow it.
            * Renamed PiTerminateProcessThreads to PspTerminateProcessThreads. Fixed it to work with new
              termination code.
            * Added PspDeleteProcess to handle Process Object deletion. Kills the CID Handle here as done
              by Hartmut.
            * Added PspDeletethread here.
            * Renamed and rewrote PsTerminateCurrentThread to PspExitThread. Used NT Implementation out-
              lined in Windows Internals, Chapter 13. Uses less locks, a more concise order of actions,
              actually parses the Termination Ports, handles Dbgk notification. Timers are now rundown,
              and Mutex rundown is in a dedicated Kernel function. Final termination handled by KeTerminate
              Thread as documented.
            * Renamed PsTerminateOtherThread to PspTerminateThreadByPointer and modified implementation to
              be compatible with the changes above.
            * Renamed and regrouped Process Termination into PspExitProcess. Also implemented as described
              above, and moved each subsystem specific termination helper into its own subsytem.
            * Improved NtTerminateProcess and added more debugging messages.
            * Improved NtTerminateThread and added check against System Thread and made it compatible with
              new implementation.
            * Corrected PsTerminateSystemThread now that we support System Threads.
            * Corrected NtRegisterThreadTerminatePort to use same structure name as on windows for the 
              port, and added tag to pool allocation (documented in pooltag.txt)
    
    include/internal/*.h:
    
            * Defined Scheduler Functions and misc new functions or renamed functions.
            
    ke/apc.c:
    
            * Fixed critical bug where APCs were not delivered at all if the thread wastion and cancels any timers that are associated
              to a thread, as well as their APCs and DPCs.
      
    REGRESSIONS FOUND: NONE
    
    BUGS/REGRESSIOSN FIXED:
                * Thread/Get Set Context now works.
                * Suspend Regression test now works.
                * Task manager can now kill foreign processes, even hung ones (like it should).
                * ExitProcess/closing cmd.exe with the 'x' button now works correctly without hacks.
      KNOWN ISSUES: I left a bit of a mess in the headers and some stuff still needs to be moved into the right 
                  places. I just wanted to have this first part ready first, so that it won't get too big.

svn path=/trunk/; revision=14174
2005-03-18 05:53:04 +00:00
Art Yerkes
604f4f13c1 Added simple dword OID query to lan.
Correct oper status, admin status and type settings in iinfo.
Small fixes in lan.c for adapter name.

svn path=/trunk/; revision=14173
2005-03-18 03:26:12 +00:00
Art Yerkes
59c145b801 Don't let sign extension mess us up here.
svn path=/trunk/; revision=14172
2005-03-18 02:56:29 +00:00
Filip Navara
e52a450d86 - Correctly initialize the standard handles for console-less applications.
- Simplify _isatty and fix it to not set the errno for "invalid" handles.

svn path=/trunk/; revision=14171
2005-03-18 02:10:50 +00:00
Steven Edwards
b4e1db6c92 Lined up Buttons.
Removed my broken attempt at understaind comboboxes.
Cleaned up WM_INITDIALOG.

svn path=/trunk/; revision=14170
2005-03-18 00:56:34 +00:00
Filip Navara
e995509c26 It's not exactly wise to call GetFileTime and CloseHandle with invalid handle, so don't do it.
svn path=/trunk/; revision=14169
2005-03-17 23:52:28 +00:00
Filip Navara
b8419654bd Don't try to release mutex with NULL handle. Also prevent releasing the same mutex twice.
svn path=/trunk/; revision=14168
2005-03-17 23:16:12 +00:00
Filip Navara
310a5bcfb7 Don't try to duplicate NULL handles.
svn path=/trunk/; revision=14167
2005-03-17 22:40:19 +00:00
Filip Navara
a384c6e670 (GDIOBJ_SetOwnership): Don't try to decrease the GDI object counter for global handles since they're not associated with process.
svn path=/trunk/; revision=14166
2005-03-17 22:00:19 +00:00
Magnus Olsen
02755a61f0 more stuff for ddraw.dll not tested yet.
svn path=/trunk/; revision=14165
2005-03-17 20:15:44 +00:00
Hartmut Birr
eabbaacd53 Don't close the handle if the write back does fail (in NtOpenProcessTokenEx).
svn path=/trunk/; revision=14164
2005-03-17 19:35:16 +00:00
Steven Edwards
fc4c441263 Dedicated to Alex.
I give to you "The ReactOS License Manager"

No its just a dummy dialog I wrote to learn how to make
Control Panel Applets. Please don't implement this.

svn path=/trunk/; revision=14163
2005-03-17 19:03:55 +00:00
Hartmut Birr
100f53e3ab - Moved the deleting of the process id from PiTerminateProcess to PiDeleteProcessWorker.
- Checked the status at the end of NtOpenProcessTokenEx.

svn path=/trunk/; revision=14162
2005-03-17 18:51:20 +00:00
Aleksey Bragin
a392c38668 One more assert added, but unfortunately it isn't triggered currently...
svn path=/trunk/; revision=14161
2005-03-17 16:09:12 +00:00
Filip Navara
f60f345d30 - Don't try to kill non-existing timers.
- Close dialog using EndDialog instead of DestroyWindow.

svn path=/trunk/; revision=14160
2005-03-17 13:17:05 +00:00
Filip Navara
643a182dd0 Now that CSRSS is getting unloaded we must unregister the primitive message queue when it's about to be destroyed.
svn path=/trunk/; revision=14159
2005-03-17 13:07:28 +00:00
Gunnar Dalsnes
cd4a8585a8 scanf: fix handling of %n token
svn path=/trunk/; revision=14157
2005-03-17 00:31:40 +00:00
Gunnar Dalsnes
9019d252be scanf: fix handling of %n token
svn path=/trunk/; revision=14154
2005-03-16 23:59:41 +00:00
Robert Kopferl
847aa89893 To do once more a little piece os2ss
svn path=/trunk/; revision=14153
2005-03-16 23:51:26 +00:00
Magnus Olsen
1020ee4805 add regsvr.c from wine as frist implement of ddraw.
so it can registrate it selv into the register. 

svn path=/trunk/; revision=14152
2005-03-16 23:23:44 +00:00
Magnus Olsen
c72257a26f small change to start to implement ddraw.dll
svn path=/trunk/; revision=14151
2005-03-16 23:21:00 +00:00
Magnus Olsen
d1274928bb small change to start to implement ddraw.dll
svn path=/trunk/; revision=14150
2005-03-16 23:17:33 +00:00
Gé van Geldorp
8753158ddb Add riched20.dll, msi.dll and msiexec.exe to bootcd
svn path=/trunk/; revision=14149
2005-03-16 22:52:55 +00:00
Hervé Poussineau
b6ef4c6ee6 Better NtUserEnumDisplayDevices stub
svn path=/trunk/; revision=14148
2005-03-16 22:27:47 +00:00
Hervé Poussineau
96b374677d Implement resolution and color depth selection.
Applying new settings doesn't work due to unimplemented NtUserChangeDisplaySettings

svn path=/trunk/; revision=14147
2005-03-16 22:19:12 +00:00
Gé van Geldorp
4dde3a1c21 Fix eol-style
svn path=/trunk/; revision=14146
2005-03-16 22:18:42 +00:00
Filip Navara
37c4d8279f Initialize the pGdiInfo->flRaster field to zero.
svn path=/trunk/; revision=14145
2005-03-16 21:28:21 +00:00
Klemens Friedl
c79360a933 Mindflyer, a.k.a. mf <mf@mufunyo.net>
alternative icon files
* mycomputer icon
* terminal icon

svn path=/trunk/; revision=14144
2005-03-16 21:18:33 +00:00
Filip Navara
baefc0115b Fix some logic in port management code.
svn path=/trunk/; revision=14143
2005-03-16 21:03:51 +00:00
Thomas Bluemel
d86736989a Rouven Wessling <rouven@rouvenwessling.de>:
calc:
- fixed spelling mistakes
ncpa, aclui:
- German translation

svn path=/trunk/; revision=14142
2005-03-16 20:36:02 +00:00
Filip Navara
11c6007bb9 Ulrich Czekalla <ulrich@codeweavers.com>
Set WS_EX_CONTROLPARENT when dialog has DS_CONTROL.
Mike McCormack <mike@codeweavers.com>
Strip WS_CAPTION and WS_SYSMENU for child dialogs.

svn path=/trunk/; revision=14141
2005-03-16 20:13:55 +00:00
Aleksey Bragin
31046fef6e Ivan Semenoff <ivans77@mail.ru>
Fixed a bug in RtlClearBits (asserting if startingindex+count is more than size, instead of silently continuing processing).

svn path=/trunk/; revision=14140
2005-03-16 19:27:45 +00:00
Hervé Poussineau
4d47498931 Saveliy Tretiakov <saveliyt@mail.ru>
- Only one file may be open on a port at any given time
- Implemented IOCTL_SERIAL_GET_STATS and IOCTL_SERIAL_CLEAR_STATS

svn path=/trunk/; revision=14139
2005-03-16 19:24:41 +00:00
Gé van Geldorp
ba0f1263e4 Reapply Wine-20050310 changes, this time with the changes
to the include files. Where's CIS when you need it :P

svn path=/trunk/; revision=14138
2005-03-16 17:30:11 +00:00
Gregor Anich
9577665661 Rename patch to binpatch in apps/utils
svn path=/trunk/; revision=14137
2005-03-16 16:25:54 +00:00
Gregor Anich
c165636757 Rename patch to binpatch.
svn path=/trunk/; revision=14136
2005-03-16 16:24:20 +00:00
Gregor Anich
a00d9b33dc Simple patch-creation tool (not much tested, but should work)
svn path=/trunk/; revision=14135
2005-03-16 14:01:52 +00:00
Hervé Poussineau
534636f9ce Revert revision 14118 changes
svn path=/trunk/; revision=14134
2005-03-16 12:33:26 +00:00
Magnus Olsen
9189284a9d implemnet NtGdiDdGetDriverInfo and NtGdiDdWaitForVerticalBlank
it is untested. 

svn path=/trunk/; revision=14133
2005-03-16 11:50:24 +00:00
Hervé Poussineau
89cc6c3c47 Christoph von Wittich <Christoph@ApiViewer.de>
Added Unicode support and fixes cannot compile problem

svn path=/trunk/; revision=14132
2005-03-16 11:26:14 +00:00
Gé van Geldorp
080bf05b6d Thomas Larsen <sikker2004@yahoo.com>
- Danish Translation

svn path=/trunk/; revision=14131
2005-03-16 09:45:26 +00:00
Gé van Geldorp
f07f87eb09 Thomas Larsen <sikker2004@yahoo.com>
- Danish translation

svn path=/trunk/; revision=14130
2005-03-16 09:42:40 +00:00
Gé van Geldorp
bb2b8992b4 Thomas Larsen <sikker2004@yahoo.com>
- updated danish language

svn path=/trunk/; revision=14129
2005-03-16 09:22:30 +00:00
Gé van Geldorp
53ac0de2ad Thomas Larsen <sikker2004@yahoo.com>
- added danish language

svn path=/trunk/; revision=14128
2005-03-16 09:19:12 +00:00
Gé van Geldorp
03cf4fc8db Thomas Larsen <sikker2004@yahoo.com>
- added danish language

svn path=/trunk/; revision=14127
2005-03-16 09:16:13 +00:00
Gé van Geldorp
6b116da4a1 Thomas Larsen <sikker2004@yahoo.com>
- added danish language

svn path=/trunk/; revision=14126
2005-03-16 09:13:28 +00:00
Gé van Geldorp
206cbe2545 Thomas Larsen <sikker2004@yahoo.com>
- added danish language

svn path=/trunk/; revision=14125
2005-03-16 09:10:23 +00:00
Art Yerkes
ff056457a2 consw has not been needed for a long time.
svn path=/trunk/; revision=14124
2005-03-16 09:02:07 +00:00
Gé van Geldorp
e95a8de179 Update status
svn path=/trunk/; revision=14120
2005-03-16 08:34:44 +00:00
Gé van Geldorp
23265de0b9 Sync to Wine-20050310:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Beginning of a shell namespace extension to browse the unix
  filesystem.
- Fixed parsing of ITEMIDLIST in InitializeTreeView.
- Added some documentation.
- Fixed a crash occuring when the user double-clicks a leaf item.
Dimitrie O. Paun <dpaun@rogers.com>
- Add support for .exe's with exported functions.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
- Add the -noname flag to match the Platform SDK.
- Don't hardcode ordinals if which are not hardcoded on Windows.
Juan Lang <juan_lang@yahoo.com>
- Convert more API calls to Unicode.
- Convert tabs to space, wrap long lines, make indenting consistent.
- Convert a few calls to Unicode.
Mike McCormack <mike@codeweavers.com>
- handle IFileSystemBindData in ISF_Desktop_fnParseDisplayName
- more Unicode conversion
- handle IFileSystemBindData in IShellFolder::ParseDisplayName
- convert IShellFolder::ParseDisplayName to use Unicode
- Remove tabs and make formatting consistent.
- Reindent some code to improve readability.
- Define some extra SHFGI values.
- Remove tabs and reformat.
- Use lstrcmpiA in preference to strcasecmp.
- Make lstr* functions inline inside Wine.
- implement loading and saving of MSI advertised shortcut info
- make more test cases pass
- read and write the location block
- improve the binary compatibility of lnk files
- Cleanup, create unicode versions of _ILCreateFromPath,
  _ILCreateGuidFromStr, and _ILCreateFromFindData.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
Hans Leidekker <hans@it.vu.nl>
- Revert wrong -noname markup for Drag*, DoEnvironmentSubst and
  SHGetNewLinkInfo{A,W}.
- Also mark stub exports -noname when they are exported by ordinal
  only on win98/2k.
- Implementation level stubs for SheChangeDirA, SheGetDirA,
  SHHelpShortcuts_RunDLL{A,W}.
- New spec file stubs for Control_RunDLLAsUserW,
  FixupOptionalComponents, OCInstall, SHChangeNotifySuspendResume,
  SHCreateProcessAsUserW, SHExtractIconsW,
  SHInvokePrinterCommand{A,W}, SHIsFileAvailableOffline,
  SHLoadNonloadedIconOverlayIdentifiers, SHPathPrepareForWrite{A,W},
  ShellExec_RunDLL{,A,W}, SHGetIconOverlayIndex{A,W}.
- Mark exports -noname when they are exported by ordinal only on
  win98/2k.
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
Filip Navara <xnavara@volny.cz>
- Don't crash if ShellFolder doesn't implement the IID_ISFHelper
  interface.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
  SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
- Convert winemenubuilder to unicode.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
  resources, so that Spanish locales other than Spain also use Spanish
  resources.
Marcus Meissner <marcus@jet.franken.de>
- Output some more informations.
- Mark one global variable static.
Huw Davies <huw@codeweavers.com>
- SetPath("") should return S_OK.
  SetPath("nonexistent_path") should return S_FALSE.
- Don't prepend '\\' to the subkey name.
Joris Huizer <jorishuizer@planet.nl>
- renamed file_operation_delete and to shfileops_delete
- renamed file_operation_checkFlags to shfileops_check_flags
- added helper function shfileops_do_operation()
- added helper function shfileops_get_parent_attr()
- added helper function shfileops_get_parent_attr2()
- various cleanups in SHFileOperationW using these functions
Ge van Geldorp <gvg@reactos.com>
- Error numbers >= 32 are to be expected.

svn path=/trunk/; revision=14118
2005-03-16 07:51:01 +00:00
Alex Ionescu
4bf67aaf0f Fix dillo/vncviewer regressions (semaphore bug). thanks to art and waxdragon for notifying me of the regressions.
svn path=/trunk/; revision=14117
2005-03-16 03:12:32 +00:00
Gé van Geldorp
fbfe053b9b Don't crash when debugger asks for invalid memory location
svn path=/trunk/; revision=14116
2005-03-15 23:47:13 +00:00
Filip Navara
82c445e96b Accidently forgot to disable the debug messages.
svn path=/trunk/; revision=14115
2005-03-15 23:33:54 +00:00
Filip Navara
1fa5efe3d7 Don't use uninitialized variable in FdoQueryBusRelations.
svn path=/trunk/; revision=14114
2005-03-15 23:27:36 +00:00
Filip Navara
40b71ac19d Fix broken logic in PoInit.
svn path=/trunk/; revision=14113
2005-03-15 23:02:51 +00:00
Filip Navara
3f249a0a67 Set the ACPI flag in loader block *after* performing the ACPI detection.
svn path=/trunk/; revision=14112
2005-03-15 23:02:12 +00:00
Gregor Anich
d001f75197 Improve the WNDOBJ implementation a bit... There are still some problems with the visible area when a window is overlapped by another one...
svn path=/trunk/; revision=14111
2005-03-15 22:26:12 +00:00
Gé van Geldorp
d24e173122 Don't disable debugging just because we want the debug
prints to go to the screen or serial port

svn path=/trunk/; revision=14110
2005-03-15 22:14:22 +00:00
Gregor Anich
43bfb5dd4e Allow mapping of MDLs which describe I/O memory (device memory) into usermode. I hope the changes are correct :-/
svn path=/trunk/; revision=14109
2005-03-15 22:07:05 +00:00
Filip Navara
23475fc1f9 Don't access the Irp->User* fields in NpfsSignalAndRemoveListeningServerInstance. The I/O manager will safely do that for us.
svn path=/trunk/; revision=14108
2005-03-15 22:06:41 +00:00
Gé van Geldorp
cea2f0f1d2 Aric Stewart <aric@codeweavers.com>
- The values are quoted and spaces added, so having spaces in the
  properties results in spaces in the values which is incorrect.

svn path=/trunk/; revision=14107
2005-03-15 21:46:14 +00:00
Gé van Geldorp
67b97bc9ef Sync to Wine-20050310:
Jeremy White <jwhite@codeweavers.com>
- Aggressively round up to the proper alignment when reporting position
  on streams where we are converting up.
- When we are converting from one sample rate to another, we do have to
  adjust when calculating TIME_SAMPLES.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
  resources, so that Spanish locales other than Spain also use Spanish
  resources.
Robert Reif <reif@earthlink.net>
- Added parameter checking to timeGetDevCaps.
- Added timer tests.
Christian Costa <titan.costa@wanadoo.fr>
- Added some more cases to MCI_MapMsgAtoW.
- Fixed offsets calculations.

svn path=/trunk/; revision=14106
2005-03-15 21:44:42 +00:00
Steven Edwards
f4ccfedf3e Use the new ReactOS icon for the boot cd.
svn path=/trunk/; revision=14105
2005-03-15 21:39:07 +00:00
Gé van Geldorp
aafd813531 Francois Gouget <fgouget@free.fr>
- Add a comment explaining why CDLGetLongPathName[AW] and
  IsJITInProgress have hardcoded ordinals.

svn path=/trunk/; revision=14104
2005-03-15 21:38:57 +00:00
Gé van Geldorp
33d7cd5d53 Sync to Wine-20050310:
Dmitry Timoshkov <dmitry@codeweavers.com>
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
  SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
Thomas Weidenmueller <wine-patches@reactsoft.com>
- Forward to user32 when appropriate.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
  resources, so that Spanish locales other than Spain also use Spanish
  resources.

svn path=/trunk/; revision=14103
2005-03-15 21:36:47 +00:00
Gé van Geldorp
ef5b410045 Sync to Wine-20050310:
Jonathan Ernst <Jonathan@ErnstFamily.ch>
- Add French resources.
Henning Gerhardt <henning.gerhardt@web.de>
- Add/updated German resources.
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
- Use "MS Shell Dlg" everywhere except for Japanese.
Juan Lang <juan_lang@yahoo.com>
- Fix a crash if the Mozilla ActiveX control doesn't implement
  DllCanUnloadNow.

svn path=/trunk/; revision=14102
2005-03-15 21:30:32 +00:00
Gunnar Dalsnes
cb05e516a2 fixed GetTempFileNameA/W by ripping from wine
impl. GetLongPathNameA/W by ripping from wine
impl. EnumResourceNamesA/W by ripping from wine
Use common routines for filename A2W/W2A conversion (wine inspired)
impl. ReadDirectoryChangesW (kmode part is not workin yet)
fixed RtlSetCurrentDirectory_U (dont convert to long path)

svn path=/trunk/; revision=14101
2005-03-15 19:40:22 +00:00
Hartmut Birr
e035ce116b On smp machines, unmap all low memory pages (except page 2 and 3).
svn path=/trunk/; revision=14100
2005-03-15 17:38:54 +00:00
Hartmut Birr
2423a80b6b Prevent from accessing DpcEvent in the KPCR structure, because it is currently a NULL pointer.
svn path=/trunk/; revision=14099
2005-03-15 17:35:27 +00:00
Filip Navara
37ac253ad6 Fix debug messages.
svn path=/trunk/; revision=14098
2005-03-15 15:58:36 +00:00
Filip Navara
68ed284f6e Cleanup misleading code.
svn path=/trunk/; revision=14097
2005-03-15 15:57:45 +00:00
Hervé Poussineau
9b56503fc8 Disable serial driver as it is in conflit with sermouse and debug output
svn path=/trunk/; revision=14096
2005-03-15 14:47:41 +00:00
Royce Mitchell III
ecf13d206b have buildno invocation conform to VERBOSE setting
svn path=/branches/xmlbuildsystem/; revision=14095
2005-03-15 14:02:22 +00:00
Gé van Geldorp
2850638aad Sync to Wine-20050310:
Americo Jose Melo <mmodem00@netvisao.pt>
Francois Gouget <fgouget@codeweavers.com>
- Translate the Wine resources to Portuguese.
Alex Villacfs Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
  resources, so that Spanish locales other than Spain also use Spanish
  resources.
Juan Lang <juan_lang@yahoo.com>
- Implement SetupDiGetClassDevsA/W, SetupDiEnumDeviceInterfaces,
  SetupDiDestroyDeviceInfoList, and SetupDiGetDeviceInterfaceDetailA for
  serial ports.
Hans Leidekker <hans@it.vu.nl>
- Don't use utf8 in rc files.
Ge van Geldorp <gvg@reactos.com>
- eol-style fixes

svn path=/trunk/; revision=14094
2005-03-15 11:38:15 +00:00
Gé van Geldorp
d4a5e08d97 Sync to Wine-20050310:
Alexandre Julliard <julliard@winehq.org>
- Avoid spaces before preprocessor directives, that's not portable.
Robert Shearman <rob@codeweavers.com>
- Add a stub implementation of RpcImpersonateClient.
- More tracing, particularly on error paths.
- ERROR_IO_PENDING is expected, so don't return an error.
Mike Hearn <mh@codeweavers.com>
- Suppress some useless warnings in the RPC runtime, and make a few
  TRACEs that were reporting problems into WARNs.

svn path=/trunk/; revision=14093
2005-03-15 09:22:34 +00:00
Gé van Geldorp
402686e69a Sync to Wine-20050310:
Mike McCormack <mike@codeweavers.com>
- Forward the RichEdit 1.0 control to the RichEdit 2.0 control.
- Don't clear ES_AUTO[HV]SCROLL in the edit control created by
  richedit.
- Remove unused declaration.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Jason Edmeades <us@the-edmeades.demon.co.uk>
- Make the edit field created from a richedit control which was created
  with ES_DISABLENOSCROLL, not have the ES_NUMBER style and hence accept
  alphanumeric input.

svn path=/trunk/; revision=14092
2005-03-15 09:08:16 +00:00
Gé van Geldorp
67347846ec Sync to Wine-20050310:
import

svn path=/trunk/; revision=14091
2005-03-15 09:04:29 +00:00
Gé van Geldorp
0eb4051a93 Make room for vendor import
svn path=/trunk/; revision=14090
2005-03-15 09:01:28 +00:00
Gé van Geldorp
f20f399309 Sync to Wine-20050310:
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
  resources, so that Spanish locales other than Spain also use Spanish
  resources.
- eol-style stuff

svn path=/trunk/; revision=14088
2005-03-15 08:10:52 +00:00
Royce Mitchell III
06e37a6a8a I give up, make's "directory target" support has a fatal flaw, converting to "dummy file" system
svn path=/branches/xmlbuildsystem/; revision=14087
2005-03-15 03:51:11 +00:00
James Tabor
e7005a9352 eol-style native
svn path=/trunk/; revision=14086
2005-03-15 00:23:19 +00:00
Gé van Geldorp
f9279fd739 Sync to Wine-20050310:
Jacek Caban <jack@itma.pwr.wroc.pl>
- Implemented GetRecordInfoFromTypeInfo and GetRecordInfoFromGuid.
- Beginnig implementation of IRecordInfo.
- More implementation of IRecordInfo.
Maxime Bellenge <maxime.bellenge@laposte.net>
- Implements OleLoadPicturePath.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Use variant macros instead of accessing the union directly.
- Documentation spelling fixes.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Implement OleFontImpl_QueryTextMetrics.
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
  resources, so that Spanish locales other than Spain also use Spanish
  resources.
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Add a stub for OleLoadPicturePath().
Huw Davies <huw@codeweavers.com>
- The typelib cache should take the typelib resource index into
  account.
Mike Hearn <mh@codeweavers.com>
- Allow loading of builtin typelibs.
Marcus Meissner <marcus@jet.franken.de>
- Check for overflows with ClrUsed.

svn path=/trunk/; revision=14085
2005-03-14 23:44:13 +00:00
Gé van Geldorp
9bc71c43a2 Sync to Wine-20050310
svn path=/trunk/; revision=14084
2005-03-14 23:25:39 +00:00
Gé van Geldorp
9a10a39940 Sync to Wine-20050310:
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
Mike McCormack <mike@codeweavers.com>
- Implement and test IPropertySetStorage.
- Fix more incorrect uses of STGM_ enumerations.
- Add struct StorageBaseImpl at the start of derived structures instead
  of trying to keep the first members the same.
- StgOpenStorage shouldn't open zero length storage files.
- Shared reading of storage files requires STGM_TRANSACTED.
- Test and fix grfMode handling in StgOpenDocfile.
- Implement StgSetTimes.
Robert Shearman <rob@codeweavers.com>
- Better tracing.
- Small cleanup of creation functions.
- Rename apartment functions to become more object-oriented.
- Rename register_ifstub to marshal_object to more accurately describe
  what it does.
- Add new function, apartment_getoxid, to prepare for a possible
  future patch where remoting is started on demand.
- Move marshaling state machine into stub manager from ifstub.
- Add additional needed states for table-weak marshaling, as shown by
  tests.
- Protect external reference count from underflows/overflows.
- Make COM use the RPC runtime as the backend for RPC calls. Based on a
  patch by Ove Ksven.
- Invoke objects in STA's in the correct thread by sending messages to
  the hidden apartment window.
- Use I_RpcGetBuffer, instead of our own buffer routines to fix an
  occasional test crash caused by heap corruption.
- Zero the memory block passed to RpcServerRegisterIfEx so we don't
  pass garbage in some of the fields we don't fill in.
- Return the correct error code from create_server and fix two handle
  leaks.
- TODO update.
- Remove cruft left over from previous RPC backend implementation in
  the apartment structure.
- Don't pass an IPID by value for proxy_manager_create_ifproxy.
- Disable more of RPC_UnregisterInterface to prevent the RPC runtime
  using freed memory.
- Rename various external RPC backend functions so that they all have
  the same "RPC_" prefix.
- Reduce the timeout of the function that connects to a local server
  to 30s, like native.
- Make each ifproxy have its own channel buffer to fix a bug where a
  proxy with multiple interfaces could invoke the wrong stub buffer on
  the server.
- The Global Interface Table should do table-strong marshaling instead
  of normal marshaling so that an interface can be retrieved more than
  one time.
Mike Hearn <mh@codeweavers.com>
- Avoid infinite loop when doing a typelib marshalled
  IUnknown::QueryInterface by only doing an extra QI if requested IID is
  not equal to marshalled IID.
Rob Shearman <rob@codeweavers.com>
Mike Hearn <mh@codeweavers.com>
- Add re-entrancy tests to the test suite.
- Run RPCs on a new thread client side so we can pump the message
  loop.
Juan Lang <juan_lang@yahoo.com>
- Fix the calling convention of DllCanUnloadNow.
- Move vtbl to end of file and get rid of unnecessary prototypes.
- Implement StgCreatePropSetStg.
Joris Huizer <jorishuizer@planet.nl>
- A few memory checks avoiding memory leaks.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Added some TRACE statements.

svn path=/trunk/; revision=14083
2005-03-14 23:17:44 +00:00
Gé van Geldorp
8c43665c8d Sync to Wine-20050310
svn path=/trunk/; revision=14082
2005-03-14 22:56:02 +00:00
Gé van Geldorp
5df62c8577 Sync to Wine-20050310:
Ulrich Czekalla <ulrich@codeweavers.com>
- Add support for radio buttons.
- Allocate space for terminating null.
- Fix a memory leak.
- Prevent accessing freed memory in failure case.
Mike McCormack <mike@codeweavers.com>
- Add a border to the edit control, add some more controls.
- Implement SQL delete query.
- Move product, feature and component enumeration functions to
  registry.c.
- Make sure strings are null terminated.
- Fix up the summary information code a little.
- Allow MsiViewExecute to be called twice on the same query.
- Implement MsiDatabaseGetPrimaryKeys.
- MsiGetComponentPath should allow null pointers for pcchBuf and
  lpPathBuf.
- Remove const declaration from non-const function.
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Added MSI Spanish resources.
Juan Lang <juan_lang@yahoo.com>
- Implement MsiEnumRelatedProducts.
- make sure msihandle2msiinfo is correctly matched with msiobj_release
- don't do redundant NULL checks
- Don't hardcode windows or system directories, correct a typo.
- Fix a regression in AppSearch.
Jonathan Ernst <Jonathan@ErnstFamily.ch>
- Add French resources.
Henning Gerhardt <henning.gerhardt@web.de>
- Add/updated German resources.
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Alexandre Julliard <julliard@winehq.org>
- Avoid spaces before preprocessor directives, that's not portable.
Aric Stewart <aric@codeweavers.com>
- Text reformatting patch to clean up all the static strings.
- Implement the action RegisterFonts.
- Add the ExecuteAction handler.
- Store the keypath, and do refcounting and registration of SharedDLLs.
- Fix a bug with handing dword values in the registry.
- Fix bugs with writing registry keys where value == NULL.
- Make use of msidefs.h.
- Lay some groundwork for uninstalls.
- Update the installed state for components during CostFinalize. Laying
  groundwork to be able to start processing uninstall logic as well.
- Fixed problems with my code for finding the PackageCode.
- Stubs for MsiUseFeature.
- Do some basic work with registry component paths.
- Make sure formats like [\\]] and [\\[] work properly.
Steven Edwards <steven@codeweavers.com>
- Correct typo.
Marcus Meissner <marcus@jet.franken.de>
- Output some more informations.
- Mark one global variable static.

svn path=/trunk/; revision=14081
2005-03-14 22:54:57 +00:00
Emanuele Aliberti
9cc503a1b2 SMDLL + SMLIB (static code in SMSS.EXE)
SM now self registers for IMAGE_SUBSYSTEM_NATIVE.

svn path=/trunk/; revision=14080
2005-03-14 22:38:12 +00:00
Gé van Geldorp
f689818f82 Sync to Wine-20050310:
Marcelo Duarte <wine-devel@bol.com.br>
- Use "MS Shell Dlg" everywhere except for Japanese.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
  resources, so that Spanish locales other than Spain also use Spanish
  resources.

svn path=/trunk/; revision=14079
2005-03-14 22:28:58 +00:00
Gé van Geldorp
cb8820f660 Sync to Wine-20050310:
Alexandre Julliard <julliard@winehq.org>
- Make sure to always pass valid QS_* flags to
  MsgWaitForMultipleObjects.
Christian Costa <titan.costa@wanadoo.fr>
- Implemented GetProperty method for keyboard device.

svn path=/trunk/; revision=14078
2005-03-14 22:24:35 +00:00
Gé van Geldorp
86f13a4752 Sync to Wine-20050310:
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
  SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
  resources, so that Spanish locales other than Spain also use Spanish
  resources.
Troy Rollo <wine@troy.rollo.name>
- Fix stack object overrun when an application calls ChooseFontA.
Mike Hearn <mh@codeweavers.com>
- Respect the flags member of the CHOOSEFONT structure, and don't
  attempt to process bogus strings.

svn path=/trunk/; revision=14077
2005-03-14 22:21:18 +00:00
Royce Mitchell III
effadc5c83 reformat and simplify before adding functionality
svn path=/branches/xmlbuildsystem/; revision=14076
2005-03-14 21:59:25 +00:00
Hervé Poussineau
78237daf70 Add registry entries for serial driver
svn path=/trunk/; revision=14075
2005-03-14 21:30:25 +00:00
Hervé Poussineau
df94eae35b Start of the serial driver:
Handle write support and some IOCTL codes
First serial port is mapped to COM3 and second serial port is mapped to COM4. This prevents conflicts with existing code.

svn path=/trunk/; revision=14074
2005-03-14 20:59:50 +00:00
Royce Mitchell III
defea05242 reorder dependencies to fix $(ECHO_CC) output
svn path=/branches/xmlbuildsystem/; revision=14073
2005-03-14 20:38:32 +00:00
Royce Mitchell III
9195e788b1 reorder dependencies to fix $(ECHO_CC) output
svn path=/branches/xmlbuildsystem/; revision=14072
2005-03-14 20:30:45 +00:00
Royce Mitchell III
22e89b83ae fix dlltool target directory dependencies
add buildno's output to clean:

svn path=/branches/xmlbuildsystem/; revision=14071
2005-03-14 20:06:14 +00:00
Casper Hornstrup
d12b2619f0 Report why a file is marked for rebuild
svn path=/branches/xmlbuildsystem/; revision=14070
2005-03-14 19:42:00 +00:00
Royce Mitchell III
944769bcd5 list directory dependencies last, so that $(ECHO_FOO) prints the right thing. also use $@ where possible to reduce makefile.auto size a bit
svn path=/branches/xmlbuildsystem/; revision=14069
2005-03-14 19:38:13 +00:00
Casper Hornstrup
9b336ed130 Depend on the object file directory, not the object file.
svn path=/branches/xmlbuildsystem/; revision=14068
2005-03-14 19:31:25 +00:00
Royce Mitchell III
e7018c4009 echo [WMC] commands
remove some unnecessary indirect dependencies
have rbuild mkdir commands depend directly on RMKDIR_TARGET
don't have object files depend on themselves!
add rmkdir, rsym, and wmc phony targets

svn path=/branches/xmlbuildsystem/; revision=14067
2005-03-14 19:11:03 +00:00
Casper Hornstrup
346a557406 * Build bin2res and cabman in bootstrap makefiles
* Remove make directory hack as it wasn't needed anyway


svn path=/branches/xmlbuildsystem/; revision=14066
2005-03-14 18:51:29 +00:00
Thomas Bluemel
42819f010e revert the changes i accidently made, sorry
svn path=/trunk/; revision=14065
2005-03-14 16:10:21 +00:00
Thomas Bluemel
9309c80c1b implemented the SystemInterruptInformation information class to fill the structure with empty data to make process explorer shut up
svn path=/trunk/; revision=14064
2005-03-14 16:04:12 +00:00
Thomas Bluemel
3f89e7fa88 ignore alignment checks for unimplemented information classes in NtQuery/SetInformationProcess(). This gets sysinternals' ProcessExplorer to run
svn path=/trunk/; revision=14063
2005-03-14 15:23:44 +00:00
Thomas Bluemel
5672781aa4 safely access buffers in NtReadVirtualMemory()
svn path=/trunk/; revision=14062
2005-03-14 15:22:46 +00:00
Thomas Bluemel
2f460387c0 fixed copy+paste mistake
svn path=/trunk/; revision=14061
2005-03-14 14:30:43 +00:00
Thomas Bluemel
666973de7f dereference processes when enumerating them was cancelled. Accidently removed that.
svn path=/trunk/; revision=14060
2005-03-14 13:42:38 +00:00
Thomas Bluemel
437f357dd1 report idling statistics from the idle process, not from the system process
svn path=/trunk/; revision=14059
2005-03-14 13:24:46 +00:00
Thomas Bluemel
009fddf0b2 group idle threads into the idle process
svn path=/trunk/; revision=14058
2005-03-14 13:18:29 +00:00
Gé van Geldorp
61c807a7ec Sync to Wine-20050310:
Martijn Vernooij <yuxdwa702@sneakemail.com>
- Scroll instead of repainting when expanding/collapsing trees.
- Don't repaint on hover if 'hot tracking' isn't on.
Francois Gouget <fgouget@free.fr>
- Add the -noname flag to match the Platform SDK.
- Assorted spelling fixes.
Maxime Bellenge <maxime.bellenge@laposte.net>
- Take into account the new size of a column when the header size
  change.
- Correctly displays the text with ellipsis when there is not enough
  room in a header item and an image from an imagelist is displayed on
  the right of the text.
- Fix SetItem so that items don't get wrongly re-ordered.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
  SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
- Remove unneeded calls to TAB_GetInfoPtr(), const fixes, inline small
  funcs & remove unused parameters.
Dimitrie O. Paun <dpaun@rogers.com>
- Fix indentation for consistency with the rest of the file.
- Unicodification. Small cleanups.
Filip Navara <navaraf@reactos.com>
- Implement SB_SETBORDERS.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
  resources, so that Spanish locales other than Spain also use Spanish
  resources.
Robert Shearman <rob@codeweavers.com>
- Fix one more place where the code assumes row indices are
  zero-based.
- Document a known bug in the layout code.
- Make row number be zero-based.
- Improvements to dumping functions to not dump out fields that may
  not have been filled in.
Michael Stefaniuc <mstefani@redhat.de>
- ImageList_LoadImage{A,W} were basicaly a cut'n'paste of each
  other. Removed the A variant and did a A->W translation.
- ImageList_LoadImageW: get the bitmap size from the image itself and
  not from the mask (ImageList_LoadImageA did that).

svn path=/trunk/; revision=14057
2005-03-14 11:34:02 +00:00
Gé van Geldorp
11039e6faf Sync to Wine-20050310:
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
Alexandre Julliard <julliard@winehq.org>
- Allow specifying extended control styles also in standard dialogs
  (reported by Michael Lin).
- Avoid spaces before preprocessor directives, that's not portable.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.

svn path=/trunk/; revision=14056
2005-03-14 11:01:02 +00:00
Gé van Geldorp
61dcda8178 Sync to Wine-20050310:
Merge back WineHQ commits

svn path=/trunk/; revision=14055
2005-03-14 10:44:46 +00:00
Gé van Geldorp
e51a2aab8f Re-import because of SVN problems
svn path=/trunk/; revision=14053
2005-03-14 10:36:02 +00:00
Gé van Geldorp
97445cc205 Sync to Wine-20050310:
Dimitrie O. Paun <dpaun@rogers.com>
- Add support for .exe's with exported functions.

svn path=/trunk/; revision=14052
2005-03-14 10:32:28 +00:00
James Tabor
4b9a323664 Fixed up rc file names.
svn path=/trunk/; revision=14050
2005-03-14 07:21:20 +00:00
Alex Ionescu
8b97b835f2 Support Priority Boosting during Wait Satisfaction and Thread Abortion, and use it where necessary. Should provide a bit more responsiveness.
svn path=/trunk/; revision=14049
2005-03-14 06:44:31 +00:00
Alex Ionescu
3d801bebec Forgot this file.
svn path=/trunk/; revision=14048
2005-03-14 05:54:58 +00:00
Alex Ionescu
6a7ba78c91 Dispatching & Queue Rewrite II:
- Rewrote wait code. It is now cleaner, more optimized and faster. All waiting
      functions are now clearly differentiated instead of sharing code. These functions
      are called up to a dozen times a second, so having dedicated code for each of
      them is a real boost in speed.
    - Fixed several queue issues, made a dedicated queue wait/wake function (you are not
      supposed to use KeWaitFor on a queue, and this is also a speed boost), and make it
      compatible with new wait code.
    - Optimized Work Queue code to be much smaller and better organized, by using an 
      array instead of hard-coded multiple static variables. Also, add support for the
      real NT structures and implementation, paving the road for Dynamic Work Items, which
      also have timeouts, and deadlock dection + debug info.
    - Simplified PsBlockThread and made it compatible with wait code.
    - Added support for priority boosting when unwaiting a thread; will use later, as well
      as put proper boosting for dispatch objects.
    - Inlined all dispatcher lock functions and header initialization for speed.
    - Moved executive wait code into ob.

svn path=/trunk/; revision=14047
2005-03-14 05:54:32 +00:00
Alex Ionescu
e33a78f93b Do not assume that a debugger is present only because we are debugging to a file or to the screen. This corrects bugchecks not to launch an INT3 where no debugger is actually there to catch it.
svn path=/trunk/; revision=14046
2005-03-14 04:51:51 +00:00
Thomas Bluemel
cfdb595cc6 Alex Ionescu <ionucu@videotron.ca>
Dispatcher Objects Rewrite (minus Queues, coming in next patch).
	Global Changes:
 
		- Use KOBJECT enumerations for all objects, remove obsoleted ros-internal enumeration.
		- Reformatting, commenting, and addition of Debug Prints for easier debugging
		- Properly create Executive Objects. They don't need a creation routine.
		- Make sure to properly lock and release the Dispatcher Database.
 
	Mutex/Mutant:
 
		- Correct MUTANT_BASIC_INFORMATION
		- Return previous state in Kernel Functions, intead of 1 or 0 all the time.
		- Initialize listhead properly
		- Removed code duplication between mutant and mutex release.
		- Fix bugs in release
		- Add proper exeption if the mutex is not owned.
 
	Kernel Queues:
 
		- Optimize the code
		- Use Inserted Flag
 
	Timers:
 
		- Some changes in setting the default data to allow KiInsertTimer to be called internally 
		  by the wait code in the next patch.
 
	Events:
 
		- Optimize and simplify KeInitializeEvent
		- Implement KeInitializeEventPair
		- Fix KePulseEvent. It was completely messed up and also used unneeded Interlocked function.
		- Fix KeResetEvent. It was not locking the dispatcher lock but using Interlocked.
		- Fix KeSetEvent. It was not differentiating between Notification and Sycronization events 
		  and also signaling the Event even if nobody was waiting on it.
 
	Semaphores:
 
		- Fix KeReleaseSemaphore. It was not checking if nobody was waiting on it before unwaiting the thread.
		- Fix not releasing dispatcher database before raising an exception.
		- Add check to NtCreateSemaphore to make sure the counts make sense.
 
	Event Pairs:
 
		- Remove Thread Event Pair. They are only used for NT4 QuickLPC which is obsoleted.
		- Use KeInitializeEventPair

svn path=/trunk/; revision=14045
2005-03-14 02:08:17 +00:00
Thomas Bluemel
865a496525 don't receive the previous mode before the current thread was created, this should finally fix the boot.
svn path=/trunk/; revision=14044
2005-03-14 01:47:18 +00:00
Magnus Olsen
78dbb934c2 GetDeviceData
fix the choppy mouse in UT and fix some other small bugs.
I can now use the mouse with out any problem in UT


svn path=/trunk/; revision=14043
2005-03-14 00:36:02 +00:00
Gé van Geldorp
05df4eff43 tinus <o112w8r02@sneakemail.com>:
Use RegisterShellHookWindow

svn path=/trunk/; revision=14042
2005-03-13 23:10:25 +00:00
Gé van Geldorp
fa4bd57bed tinus <o112w8r02@sneakemail.com>:
Implement RegisterShellHookWindow

svn path=/trunk/; revision=14041
2005-03-13 23:08:51 +00:00
Thomas Bluemel
f1fa92f6fc initialize the handle tables before creating them
svn path=/trunk/; revision=14040
2005-03-13 23:03:31 +00:00
Casper Hornstrup
30c142ef2d Build winebuild by bootstrap makefiles
svn path=/branches/xmlbuildsystem/; revision=14039
2005-03-13 22:33:13 +00:00
Casper Hornstrup
f6646e9181 Add missing file
svn path=/branches/xmlbuildsystem/; revision=14038
2005-03-13 21:59:51 +00:00
Gé van Geldorp
c367070483 Allow cancelling of listen IRPs
svn path=/trunk/; revision=14037
2005-03-13 21:47:04 +00:00
Gé van Geldorp
6f699ce531 arty:
Always keep port numbers in network byte order

svn path=/trunk/; revision=14036
2005-03-13 21:41:44 +00:00
Thomas Bluemel
a8ea6a6ab4 don't use the current process' pid if no process specified.
svn path=/trunk/; revision=14035
2005-03-13 21:37:54 +00:00
Casper Hornstrup
eb194612c3 * Correct dependencies for ROS_INTERMEDIATE <> . in generated makefile
* GNU make don't support depending on a directory, so simulate the dependency using a file


svn path=/branches/xmlbuildsystem/; revision=14034
2005-03-13 21:34:47 +00:00
Eric Kohl
a3e183bd64 Remove debug printf().
svn path=/trunk/; revision=14033
2005-03-13 21:34:15 +00:00
Casper Hornstrup
e160a25508 * Introduce ROS_OUTPUT
* Correct dependencies for ROS_INTERMEDIATE <> . in bootstrap makefiles
* GNU make don't support depending on a directory, so simulate the dependency using a file


svn path=/branches/xmlbuildsystem/; revision=14032
2005-03-13 21:30:35 +00:00
Eric Kohl
7019953f42 Remove debug printf().
svn path=/trunk/; revision=14031
2005-03-13 21:29:49 +00:00
Casper Hornstrup
7fb6d76a2b -P switch to set root path for files when creating cabinet
svn path=/branches/xmlbuildsystem/; revision=14030
2005-03-13 21:02:04 +00:00
Casper Hornstrup
5c5c83ecb2 Build msacm32.dll
svn path=/branches/xmlbuildsystem/; revision=14029
2005-03-13 20:55:16 +00:00
Emanuele Aliberti
fd01d2046a LsaQueryInfoTrustedDomain stub added
svn path=/trunk/; revision=14028
2005-03-13 20:42:48 +00:00
Thomas Bluemel
57946d8a9a Alex Ionescu <ionucu@videotron.ca>
- Use optimized semantics as previously decided (OPTIMIZED = 1 if DBG = 0)

svn path=/trunk/; revision=14027
2005-03-13 18:55:01 +00:00
Royce Mitchell III
785ffdc0da set eol-style=native
svn path=/trunk/; revision=14026
2005-03-13 18:54:37 +00:00
James Tabor
e19f4b7bd9 Fix paste error.
svn path=/trunk/; revision=14025
2005-03-13 18:51:46 +00:00
James Tabor
7ac15d3bbf Fixup for *nix port
svn path=/trunk/; revision=14024
2005-03-13 18:47:13 +00:00
James Tabor
1bb6977546 Fixup for *nix port
svn path=/trunk/; revision=14023
2005-03-13 18:43:44 +00:00
Thomas Bluemel
b1ce653a14 Alex Ionescu <ionucu@videotron.ca>
- Fix implementation of NT Profile Objects. Structures are guesses, but seem pretty close to the NT ones... a lot of stuff based on David Welch's old implementation, but simplified the way profiles are managed extensively, and also using the same buckethash mechanism as NT, this is required for compatibility with Nt Native APIs that use Profile Objects.
- Removed KDBG internal profile management and associated files. I will re-write the Profiler to use NT Profile Objects, which will allow us more extensibilty while profiling and also greater compatibility with NT.

svn path=/trunk/; revision=14022
2005-03-13 18:41:59 +00:00
Thomas Bluemel
b607cb6445 fixed HANDLE_TABLE structure
svn path=/trunk/; revision=14021
2005-03-13 18:39:38 +00:00
Royce Mitchell III
3d00595df2 c version of wine's 'make_ctests' script
svn path=/trunk/; revision=14020
2005-03-13 18:08:10 +00:00
Royce Mitchell III
539c296fa7 -Wall -Werror and fix warnings
svn path=/trunk/; revision=14019
2005-03-13 17:24:17 +00:00
Royce Mitchell III
5751b32540 -Wall -Werror and fix warnings
svn path=/trunk/; revision=14018
2005-03-13 17:18:33 +00:00
Hartmut Birr
e9ae9105f5 Added a keep-alive reference to each key object.
Lock the registry while accessing sub keys of a key object.  
Implemented a worker thread which removes all unused key objects.  
Fixed a bug which shows keys twice if a key is already opened.

svn path=/trunk/; revision=14017
2005-03-13 17:03:42 +00:00
Emanuele Aliberti
2d250ad2a7 ea@reactos.com
- make SmExecuteProgram work
- implement SmCompleteSession (untested)

svn path=/trunk/; revision=14016
2005-03-13 17:01:59 +00:00
Emanuele Aliberti
12da975bfd ea@reactos.com
Make SmConnectApiPort more safe.

svn path=/trunk/; revision=14015
2005-03-13 17:00:19 +00:00
Hartmut Birr
779a7eeb41 Removed CloseInProcess from object header structure.
svn path=/trunk/; revision=14014
2005-03-13 16:44:15 +00:00
Hartmut Birr
aed77689d2 Added two missing calls to KeLeaveCriticalRegion.
svn path=/trunk/; revision=14013
2005-03-13 16:41:05 +00:00
Martin Fuchs
85fdc76fb2 launch display properties dialog via desktop context menu
svn path=/trunk/; revision=14012
2005-03-13 15:43:02 +00:00
Martin Fuchs
c9f8b0e7e0 remove temporary desktop context menu code from explorer
svn path=/trunk/; revision=14011
2005-03-13 15:30:29 +00:00
Martin Fuchs
0418e694e6 a little context menu code cleanup
svn path=/trunk/; revision=14010
2005-03-13 15:29:53 +00:00
Eric Kohl
28eb04c4db Fix gcc warnings in generated client stub.
svn path=/trunk/; revision=14009
2005-03-13 14:49:59 +00:00
Thomas Bluemel
29bd3ad1f9 revert changes to the config file. I accidently committed it, sorry.
svn path=/trunk/; revision=14008
2005-03-13 14:29:09 +00:00
Thomas Bluemel
d288e05d38 - fixed handle table structures
- implement generic executive handle tables (since there don't exist documents that describe the parameters of most of these functions (which are kernel internal only), i made them up as required)
- adjusted OB's handle manager to use ex handle tables
- adjusted the client id manager to use ex handle tables

svn path=/trunk/; revision=14007
2005-03-13 14:21:47 +00:00
Aleksey Bragin
a3c3364289 Removed excess copy of accidently inserted twice russian language resources.
svn path=/trunk/; revision=14006
2005-03-13 13:59:06 +00:00
Aleksey Bragin
27f383b70d Fixed typos, removed excess copy of accidently inserted twice russian language resources, also fixed "To add new program, click Install" (was cut, so now height increased to 16).
svn path=/trunk/; revision=14005
2005-03-13 13:47:45 +00:00
Magnus Olsen
84a36613f5 getdevicedata
Make the mouse less choopy. 
But it still choopy. It need implement real buffer.
instead it being fild when it is call.

Fix the buffer seq are in right order.


 

svn path=/trunk/; revision=14004
2005-03-13 10:45:23 +00:00
Casper Hornstrup
4c6320805b Make tests build again
svn path=/branches/xmlbuildsystem/; revision=14003
2005-03-13 10:33:15 +00:00
Eric Kohl
53170a9c19 Implement [string] attribute for pointers to char and wchar_t.
svn path=/trunk/; revision=14002
2005-03-13 10:24:34 +00:00
Hartmut Birr
d6c9cf0a41 Use KeGetCurrentPrcb instead of KeGetCurrentKPCR.
svn path=/trunk/; revision=14001
2005-03-13 09:19:33 +00:00
Hartmut Birr
e6bf69e0ae Use only one access to the spinlock in the assertion, because the value may change between two access' on smp machines.
svn path=/trunk/; revision=14000
2005-03-13 09:14:59 +00:00
Hartmut Birr
0d216dc91a Ignore exception 15 in KiTrapHandler.
svn path=/trunk/; revision=13999
2005-03-13 09:10:36 +00:00
Hartmut Birr
0618186aa6 Initialized the key name before each call to ZwCreateKey in IopCreateDeviceKeyPath.
svn path=/trunk/; revision=13998
2005-03-13 09:08:26 +00:00
Hartmut Birr
154d6c64f8 Define IPI_REQUEST_FREEZE.
svn path=/trunk/; revision=13997
2005-03-13 09:06:14 +00:00
Royce Mitchell III
fbff6fe0f0 don't end a string if the last character outputted was an escape, will cause output file to be invalid
svn path=/trunk/; revision=13996
2005-03-13 07:38:40 +00:00
Royce Mitchell III
9a2cf81bc4 don't end a string if the last character outputted was an escape, will cause output file to be invalid
svn path=/branches/xmlbuildsystem/; revision=13995
2005-03-13 07:37:33 +00:00
Royce Mitchell III
4f130648e1 added validation for <directory>'s name attribute
create dk/nkm/lib if it doesn't exist

svn path=/branches/xmlbuildsystem/; revision=13994
2005-03-13 06:31:38 +00:00
Royce Mitchell III
c181edef3c fix some dependencies
get rid of unnecessary phony targets
eliminate unnecessary makefile.auto dependencies
silence gcc when detecting pch

svn path=/branches/xmlbuildsystem/; revision=13993
2005-03-13 05:32:52 +00:00
James Tabor
b2f5efa2cf Fix up opps.
svn path=/trunk/; revision=13992
2005-03-13 04:25:09 +00:00
James Tabor
29f3606a01 Fix up Linux port.
svn path=/trunk/; revision=13991
2005-03-13 04:23:35 +00:00
Royce Mitchell III
cc39e7793a hack fix 'hostzlib' circular dependency, added a couple more stub makefiles, added 'rbuild' phony target
svn path=/branches/xmlbuildsystem/; revision=13990
2005-03-13 03:16:16 +00:00
Steven Edwards
bf89d5df7d added winetest gui program. Does not interact with server yet and requires advapi32 and comctl32 tests to be built.
svn path=/trunk/; revision=13989
2005-03-13 01:54:53 +00:00
Magnus Olsen
0bf2971d1a getmousedevice buffer
UT2004 the mouse are less choopy on my computer now.
and small bug fix. it maby still exists some bug left.

svn path=/trunk/; revision=13988
2005-03-13 01:10:46 +00:00
Magnus Olsen
bc1cb8bf6e Fix the mouse for Unreal tormnet 2004, it is working now
have not test it to 100%. But hoppfull it is last fix, geting games that need dinput working now with opengl.

svn path=/trunk/; revision=13987
2005-03-13 00:13:07 +00:00
Gé van Geldorp
108b495229 Allow inter-thread timer setting but not inter-process
svn path=/trunk/; revision=13986
2005-03-12 22:42:38 +00:00
Thomas Bluemel
2a13486746 Alex Ionescu <ionucu@videotron.ca>
- Remove ke/critical.c and move its functions into ke/apc.c
- Reformat ke/apc.c code which I had written messed up (due to MSVC)
- Add a bit more commenting.

svn path=/trunk/; revision=13985
2005-03-12 22:31:22 +00:00
Thomas Bluemel
322dbd6fba Thomas Weidenmueller <w3seek@reactos.com>
- Fix various security structures and constants
- Add code to capture quality of service structures and ACLs
- Secure buffer access in NtQueryInformationToken, NtSetInformationToken, NtNotifyChangeDirectoryFile and NtQueryDirectoryFile

svn path=/trunk/; revision=13984
2005-03-12 22:16:02 +00:00
Magnus Olsen
6830474b06 Now UT2004 start, but the mouse does not work or ?
Still some problem with the mouse buffer on getdevicedata.But it does not freze any longer.

svn path=/trunk/; revision=13983
2005-03-12 22:10:11 +00:00
Thomas Bluemel
7bc94f8976 Alex Ionescu <ionucu@videotron.ca>
- Remove ke/error.c and add its functions into ke/catch.c where they belong.
- Create ex/error.c and move Executive functions present in ke/error.c to it.
- Implement NtRaiseHardError and move it from ke/error.c to ex/error.c.
- Increase Exceptions Dispatched count in dispatch code and comment code more throughly.

svn path=/trunk/; revision=13982
2005-03-12 21:26:29 +00:00
Thomas Bluemel
566c2840b9 Alex Ionescu <ionucu@videotron.ca>
- Reorganized Bootup code. Most of the Executive initialization is now in ex/init.c
- Remove ExPostSystemEvent.
- Sped up Command-line parasing and wrote a function specificalyl for it, to ease extensibility
- Sped up and optimized loading modules from FreeLoader. The data is only looked up once and then the pointers are cached for easy re-use.
- Moved KeGetRecommendedSharedDataAlignmented to ke/main.c and implemented it.
- Moved subsystem-specific intialization to their own subsystem, like Io in ioinit and Cm in CmInit.

svn path=/trunk/; revision=13981
2005-03-12 21:08:29 +00:00
Klemens Friedl
523d77cc92 resource icon added
svn path=/trunk/; revision=13980
2005-03-12 20:59:36 +00:00
Klemens Friedl
0c969fe931 add icon (flags)
svn path=/trunk/; revision=13979
2005-03-12 20:36:23 +00:00
Magnus Olsen
0aa810f5e1 Small bug fix
do not crash UT2004 any longer, but it freze ut2004 
screen. still some problem with getdevicedata for
the mouse. it is the mouse buffer problem. more
apps will work better now. 

svn path=/trunk/; revision=13978
2005-03-12 20:29:51 +00:00
Thomas Bluemel
7fd17a9a85 Alex Ionescu <ionucu@videotron.ca>
- Clean up IO Completion Code
- Properly delete an IO Completion. The IRPs were not freed, resulting in memory leaks

Thomas Weidenmueller <w3seek@reactos.com>
- Add SEH to IO Completion Code

svn path=/trunk/; revision=13977
2005-03-12 19:58:53 +00:00
Klemens Friedl
b21f552e3b * add combobox (select language/region)
* german & english resource files

svn path=/trunk/; revision=13976
2005-03-12 19:46:27 +00:00
Thomas Bluemel
fd962e2f04 Alex Ionescu <ionucu@videotron.ca>
- Fixed formatting mess in ke/dpc.c (which I had made when I wrote it due to MSVC).
- Add more comments where needed.
- Properly Initialize a Threaded DPC.

Thomas Weidenmueller <w3seek@reactos.com>
- Use Prcb directly in KeInitDpc.

svn path=/trunk/; revision=13975
2005-03-12 19:45:37 +00:00
Thomas Bluemel
b2a42182ef Alex Ionescu <ionucu@videotron.ca>
- Removed ke/alert.c and moved its functions where they belong.
- Commented and organized KeInitializeThread.
- Began switch to true KOBJECT enumeration used in NT.
- Implemented KeAlertResumeThread and NtAlertResumeThread.
- Harmonized Formatting in ke/kthread.c

svn path=/trunk/; revision=13974
2005-03-12 19:23:04 +00:00
Klemens Friedl
a8f6850b9f Add registry keys for language support
svn path=/trunk/; revision=13973
2005-03-12 19:22:30 +00:00
Thomas Bluemel
64c70941d3 Alex Ionescu <ionucu@videotron.ca>
- Remove branch leftover in debug message.
- Uncondtionally enable setting the Window Station Atom Table.

svn path=/trunk/; revision=13972
2005-03-12 18:15:54 +00:00
Thomas Bluemel
052a86b641 Alex Ionescu <ionucu@videotron.ca>
- Clean up formatting of ke/process.c (which I had messed up at the time due to MSVC)
- Acknowledge Blight's work
- Implement KeRemoveServiceDescriptorTable
- Remove ex/napi.c and move the Tables into ke/process.c

svn path=/trunk/; revision=13971
2005-03-12 18:10:03 +00:00
Thomas Bluemel
62fe406292 Alex Ionescu <ionucu@videotron.ca>
Fix wrong assertion.

svn path=/trunk/; revision=13970
2005-03-12 17:02:43 +00:00
Filip Navara
f954a88f34 Alex Ionescu <ionucu@videotron.ca>
Various bugcheck code improvements:
- Fix bugcheck code and make debugging easier for unhandled exceptions/spinlocks.
- Fix a race condition with TAB+B,
- Fix irql to be high_level.
- Fix calling unsafe function by caching bugcode data.
- Fix support for smp by using IPI.
- Fix not-breakpointing when no debugger is there.
- Implement KeBugCheck callbacks with reason.
- Fix callbacks not being called.
- Fix proper breakpoint during bugcheck.
Filip Navara <xnavara@volny.cz>
- Move the bugcheck initialization code into Ke (was in Ex on Alex's branch).

svn path=/trunk/; revision=13969
2005-03-12 16:01:30 +00:00
Filip Navara
5307ffb9c6 Alex Ionescu <ionucu@videotron.ca>
Move win32k callbacks to win32k where they belong. Registration is done with Ps function just like on XP+. Also allows non-win32k stuff to manage their own desktops and window stations.

svn path=/trunk/; revision=13968
2005-03-12 14:15:49 +00:00
Thomas Bluemel
510dc740a5 include ctype.h for isalpha()
svn path=/trunk/; revision=13967
2005-03-12 13:50:48 +00:00
Eric Kohl
8871c0355a Implement [in], [out] and [in, out] support for pointers to basic types.
svn path=/trunk/; revision=13966
2005-03-12 13:23:09 +00:00
Filip Navara
466b206539 Alex Ionescu <ionucu@videotron.ca>
- Add KeGetCurrentPrcb function and use it where appropriate.
- Fix returning of values in ExGetCurrentProcessorCpuUsage and ExGetCurrentProcessorCounts.
- Move ExIsProcessorFeaturePresent from ex/init.c to ex/sysinfo.c.

svn path=/trunk/; revision=13965
2005-03-12 09:40:07 +00:00
Gé van Geldorp
17f773cb7d Fix htons
svn path=/trunk/; revision=13964
2005-03-12 09:21:59 +00:00
Hartmut Birr
653d79d129 Lock the kernel address space instead the process' one, if the pages are located in kernel space.
Unlock the address space on error.


svn path=/trunk/; revision=13963
2005-03-12 09:14:38 +00:00
Filip Navara
57787bb881 Thomas Weidenmueller <w3seek@reactos.com>
- Implement support for vectored exception handlers.
- Add code for querying process cookie.

svn path=/trunk/; revision=13962
2005-03-12 08:54:41 +00:00
Art Yerkes
724d399a3f Some improvements I've been sitting on.
Set SEL_FIN if we need to in TCPReceiveData.
Clear out pending IRP queues properly when shutting down.
Lock the tcp when getting or setting the address.

svn path=/trunk/; revision=13961
2005-03-12 07:52:16 +00:00
Art Yerkes
e58c615243 Changed bare words to strings so we don't get complaints about unterminated
char constants.

svn path=/trunk/; revision=13957
2005-03-12 05:46:45 +00:00
Royce Mitchell III
49594687df more *nix compatibility fixes
svn path=/branches/xmlbuildsystem/; revision=13956
2005-03-12 04:55:41 +00:00
Royce Mitchell III
c5097fd3dc set *nix-compatible paths for tools
svn path=/branches/xmlbuildsystem/; revision=13955
2005-03-12 04:39:20 +00:00
Steven Edwards
3db0384e86 added Wine tests for advapi32. (untested)
svn path=/trunk/; revision=13954
2005-03-12 04:32:00 +00:00
Royce Mitchell III
0e37d806a5 detect windows instead of assuming it
svn path=/trunk/; revision=13953
2005-03-12 04:20:35 +00:00
Royce Mitchell III
af64b1423c put windows-detection code in makefile, don't make proxy.mak silent
svn path=/branches/xmlbuildsystem/; revision=13952
2005-03-12 04:14:09 +00:00
Steven Edwards
3ed09e40d9 Should be winetests not winetest.
svn path=/trunk/; revision=13951
2005-03-12 04:11:24 +00:00
Steven Edwards
e8451b25d5 Added Wine regression tests for comctl32. (Untested)
svn path=/trunk/; revision=13950
2005-03-12 04:09:57 +00:00
Filip Navara
eab893a17c Minor touch ups to the tools version check to get it working on Linux.
svn path=/trunk/; revision=13949
2005-03-12 02:04:08 +00:00
Filip Navara
7c7a235e5f Steven Edwards <steven_ed4153@yahoo.com>
Revert incorrect change - KD_DEBUG_BOOTLOG => KD_DEBUG_FILELOG, /DEBUGPORT=BOOTLOG => /DEBUGPORT=FILE.

svn path=/trunk/; revision=13948
2005-03-12 01:11:06 +00:00
Filip Navara
5bbfa0aa1d Don't use intermediate objects linked with "ld -r". There's a bug in binutils that causes the data section relocations to be stripped.
svn path=/trunk/; revision=13947
2005-03-12 00:54:06 +00:00
Filip Navara
fe2a7b4489 Alex Ionescu <ionucu@videotron.ca>
Add definitions for WORKER_THREAD_RETURNED_AT_BAD_IRQL, MANUALLY_INITIATED_CRASH and IMPERSONATING_WORKER_THREAD bug check codes.

svn path=/trunk/; revision=13946
2005-03-12 00:51:55 +00:00
Filip Navara
94066e01ef Alex Ionescu <ionucu@videotron.ca>
Pass an ACPI flag from FreeLdr to the kernel and replace the usage of ACPI compile time option with it.

svn path=/trunk/; revision=13945
2005-03-12 00:49:18 +00:00
Royce Mitchell III
b62f2bb179 rename more makefiles, preparation for local makefiles to work with xml build system
svn path=/branches/xmlbuildsystem/; revision=13944
2005-03-12 00:23:38 +00:00
Art Yerkes
b89e71762d Changed sizeof(RemoteAddress) to sizeof(*RemoteAddress). Now address
returns work in accept.

svn path=/trunk/; revision=13943
2005-03-12 00:02:24 +00:00
Filip Navara
b6926c02fc Alex Ionescu <ionucu@videotron.ca>
Relocate kernel if the /3GB switch is supplied in kernel parameters.

svn path=/trunk/; revision=13941
2005-03-11 23:38:59 +00:00
Royce Mitchell III
99ba4dfee6 fix case bug with wpp's makefile
svn path=/branches/xmlbuildsystem/; revision=13940
2005-03-11 23:13:03 +00:00
Royce Mitchell III
87cbce76ad remove obsoleted makefiles and config files, tools/Makefile -> tools/tools.mak, fix bugs in buildno's makefile.
svn path=/branches/xmlbuildsystem/; revision=13938
2005-03-11 23:06:43 +00:00
Art Yerkes
6cc6c8571b Swap the port part of the address so it's reported correctly.
svn path=/trunk/; revision=13937
2005-03-11 21:13:11 +00:00
Royce Mitchell III
b832dffe13 beginning of local stub makefiles, to allow building from subdirectories ( I'm explicitly not allowing a full clean from a subdirectory )
svn path=/branches/xmlbuildsystem/; revision=13931
2005-03-11 14:07:48 +00:00
Royce Mitchell III
022b0bff73 don't assume zlib's include directory will work for hostzlib library
svn path=/branches/xmlbuildsystem/; revision=13925
2005-03-11 07:51:43 +00:00
Royce Mitchell III
96a66ee4c7 host vs target refactoring, <module> has two new attributes 'host' and 'prefix' ( this should fix sedwards' host.zlib.a issue, and also forgot to commit change to buildno's makefile in support of new macros in top-level makefile ( which should fix build bug arty experiencing re buildno.h )
svn path=/branches/xmlbuildsystem/; revision=13924
2005-03-11 07:46:22 +00:00
Royce Mitchell III
4a91158ed5 remove unnessary @true, and create some macros to clean things up
svn path=/branches/xmlbuildsystem/; revision=13923
2005-03-11 07:41:19 +00:00
Royce Mitchell III
107eec449d more efficient detection of C++ modules, fixed bug in C++ pch support, always clean pch files, even if pch not being used
svn path=/branches/xmlbuildsystem/; revision=13917
2005-03-10 20:34:08 +00:00
Royce Mitchell III
af9bc63975 simplified verbosity
svn path=/branches/xmlbuildsystem/; revision=13915
2005-03-10 19:56:46 +00:00
Royce Mitchell III
6e18ca3d45 remove incorrect <pch>
svn path=/branches/xmlbuildsystem/; revision=13914
2005-03-10 17:46:44 +00:00
Royce Mitchell III
bc13f5f38b add <pch> to existing xml files that support pch on trunk
svn path=/branches/xmlbuildsystem/; revision=13913
2005-03-10 16:50:29 +00:00
Royce Mitchell III
838a6c6422 accidentally commited testing changes
svn path=/branches/xmlbuildsystem/; revision=13912
2005-03-10 16:43:31 +00:00
Royce Mitchell III
56532e03e1 Makefile.auto -> makefile.auto
svn path=/branches/xmlbuildsystem/; revision=13911
2005-03-10 16:42:28 +00:00
Royce Mitchell III
75224f16af enable PCH support for ntoskrnl
svn path=/branches/xmlbuildsystem/; revision=13909
2005-03-10 14:06:14 +00:00
Royce Mitchell III
54abe91bd0 PCH support
svn path=/branches/xmlbuildsystem/; revision=13908
2005-03-10 14:05:41 +00:00
Royce Mitchell III
cadb20c83d don't try to create ROS_INTERMEDIATE directories if ROS_INTERMEDIATE isn't defined
svn path=/branches/xmlbuildsystem/; revision=13902
2005-03-09 23:38:37 +00:00
Royce Mitchell III
11b45e8535 simplified <if> handling ( and fixed several bugs, too )
cleaned up devcpp backend to compile with these changes

svn path=/branches/xmlbuildsystem/; revision=13901
2005-03-09 22:29:18 +00:00
Royce Mitchell III
dd650dbfae fixed some dependency issues, verbose support, 'make clean' gets more
svn path=/branches/xmlbuildsystem/; revision=13899
2005-03-09 08:12:30 +00:00
Royce Mitchell III
c2a87f42ad set eolstyle to native
svn path=/branches/xmlbuildsystem/; revision=13898
2005-03-09 08:04:40 +00:00
Royce Mitchell III
ba7ccda6fb adjust newlines around rsym command
svn path=/branches/xmlbuildsystem/; revision=13889
2005-03-08 21:02:50 +00:00
Royce Mitchell III
d37606edee add newline at EOF to suppress warning
svn path=/branches/xmlbuildsystem/; revision=13888
2005-03-08 20:50:42 +00:00
Steven Edwards
dcdeb7b0c0 another fix
svn path=/branches/xmlbuildsystem/; revision=13887
2005-03-08 20:40:35 +00:00
Steven Edwards
d5c61075a9 more lower case changes for Makefile -> makefile
svn path=/branches/xmlbuildsystem/; revision=13885
2005-03-08 20:19:07 +00:00
Steven Edwards
9aff2f9419 lower case please
svn path=/branches/xmlbuildsystem/; revision=13884
2005-03-08 20:12:43 +00:00
Royce Mitchell III
0be0bb57b2 detect PCH support ( not doing anything more than detection yet )
svn path=/branches/xmlbuildsystem/; revision=13878
2005-03-08 17:14:07 +00:00
Casper Hornstrup
79f349c48f Have Makefile.auto depend on xml build files
svn path=/branches/xmlbuildsystem/; revision=13872
2005-03-08 11:15:39 +00:00
Casper Hornstrup
025de74d84 Escape "
svn path=/branches/xmlbuildsystem/; revision=13869
2005-03-07 18:31:10 +00:00
Casper Hornstrup
e9c4096fb7 Use inline message tables
svn path=/branches/xmlbuildsystem/; revision=13862
2005-03-06 22:00:23 +00:00
Casper Hornstrup
57919b0e61 Run rsym on images
svn path=/branches/xmlbuildsystem/; revision=13861
2005-03-06 21:24:06 +00:00
Casper Hornstrup
3ddf79a918 Export symbols in HALs
svn path=/branches/xmlbuildsystem/; revision=13859
2005-03-06 19:49:19 +00:00
Casper Hornstrup
9fbf269e59 Don't generate intermediate archives
svn path=/branches/xmlbuildsystem/; revision=13854
2005-03-06 13:49:10 +00:00
Art Yerkes
8fa490af68 This directory contained both [Mm]akefile, which were identical. Makefile
removed.

svn path=/branches/xmlbuildsystem/; revision=13848
2005-03-06 07:38:54 +00:00
Casper Hornstrup
bb4eed2c43 Put remaining files on the cd
svn path=/branches/xmlbuildsystem/; revision=13840
2005-03-05 23:22:44 +00:00
Casper Hornstrup
e014ae4003 Build HALs
svn path=/branches/xmlbuildsystem/; revision=13838
2005-03-05 22:20:15 +00:00
Casper Hornstrup
1358decfb3 Copy msiexec from trunk
svn path=/branches/xmlbuildsystem/; revision=13837
2005-03-05 22:13:47 +00:00
Casper Hornstrup
1048e15cc5 Delete msiexec
svn path=/branches/xmlbuildsystem/; revision=13836
2005-03-05 22:12:26 +00:00
Casper Hornstrup
efe22d2e07 Merge 13511:13830 from trunk
svn path=/branches/xmlbuildsystem/; revision=13833
2005-03-05 20:50:25 +00:00
Martin Fuchs
7274c581f6 add ibrowser to XML build
svn path=/branches/xmlbuildsystem/; revision=13830
2005-03-05 17:52:12 +00:00
Royce Mitchell III
83cac15e73 per-module clean rules, make cabman more *nix/msys friendly
This fix made it so I was able to successfully build a 22.4MB ReactOS.iso from the xmlbuildsystem branch! ( now to test it... )

svn path=/branches/xmlbuildsystem/; revision=13823
2005-03-05 05:13:38 +00:00
Royce Mitchell III
c4f496eb04 disable warning about missing file ( make handles this situation correctly regardless )
svn path=/branches/xmlbuildsystem/; revision=13820
2005-03-04 19:07:02 +00:00
Royce Mitchell III
d4da224325 let make do some more work for us
svn path=/branches/xmlbuildsystem/; revision=13819
2005-03-04 18:51:17 +00:00
Casper Hornstrup
1ae869295f Copy non-generated files to cd
svn path=/branches/xmlbuildsystem/; revision=13808
2005-03-03 21:26:27 +00:00
Casper Hornstrup
6125e67003 Support for copying non-generated files to cd
svn path=/branches/xmlbuildsystem/; revision=13807
2005-03-03 21:00:30 +00:00
Casper Hornstrup
6af904f645 Copy bootstrap files to cd
svn path=/branches/xmlbuildsystem/; revision=13803
2005-03-02 22:56:41 +00:00
Casper Hornstrup
7f24916383 Add bootstrap tag to specify that files are to be copied to the CD
svn path=/branches/xmlbuildsystem/; revision=13797
2005-03-02 21:24:02 +00:00
Casper Hornstrup
633526eb0b Build cdmake
svn path=/branches/xmlbuildsystem/; revision=13758
2005-02-26 20:17:44 +00:00
Casper Hornstrup
6349cfaf50 Set base address of modules
svn path=/branches/xmlbuildsystem/; revision=13757
2005-02-26 19:29:51 +00:00
Casper Hornstrup
4ef89a29c6 Support for non-standard module base addresses
svn path=/branches/xmlbuildsystem/; revision=13755
2005-02-26 17:11:06 +00:00
Royce Mitchell III
3324a119a4 fix NUL, move macros to the bootstrap makefile as necessary
svn path=/branches/xmlbuildsystem/; revision=13746
2005-02-25 21:21:53 +00:00
Royce Mitchell III
e1134dc2fc silence clean rule
svn path=/branches/xmlbuildsystem/; revision=13744
2005-02-25 20:04:44 +00:00
Royce Mitchell III
0ce702e83f fixed 'make all' and added some missing clean:: rules
svn path=/branches/xmlbuildsystem/; revision=13743
2005-02-25 20:00:27 +00:00
Royce Mitchell III
f650bdd243 generate buildno.h and it's cousins before makefile.auto, so it's sure to exist before processing makefile.auto
svn path=/branches/xmlbuildsystem/; revision=13742
2005-02-25 19:38:11 +00:00
Casper Hornstrup
170bf2d5d5 Merge 13159:13510 from trunk
svn path=/branches/xmlbuildsystem/; revision=13590
2005-02-15 21:24:19 +00:00
Casper Hornstrup
92afa4fc63 Copy msimg32
svn path=/branches/xmlbuildsystem/; revision=13589
2005-02-15 20:55:59 +00:00
Casper Hornstrup
2b09e16837 Remove msimg32
svn path=/branches/xmlbuildsystem/; revision=13588
2005-02-15 20:49:41 +00:00
Casper Hornstrup
69101c3619 Branch setupapi (again)
svn path=/branches/xmlbuildsystem/; revision=13510
2005-02-12 16:47:02 +00:00
Casper Hornstrup
2c0578844f Remove setupapi (again)
svn path=/branches/xmlbuildsystem/; revision=13509
2005-02-12 16:43:03 +00:00
Casper Hornstrup
cdc4cb09c4 Branch setupapi
svn path=/branches/xmlbuildsystem/; revision=13508
2005-02-12 16:11:43 +00:00
Casper Hornstrup
bbb19c02cc Remove setupapi
svn path=/branches/xmlbuildsystem/; revision=13507
2005-02-12 16:08:13 +00:00
Casper Hornstrup
07a8c86438 Add stub GNU makefile
svn path=/branches/xmlbuildsystem/; revision=13506
2005-02-12 15:11:48 +00:00
Casper Hornstrup
760ebcb3e3 * Run build tools after parsing build files
* Generate roscfg.h


svn path=/branches/xmlbuildsystem/; revision=13496
2005-02-11 19:13:01 +00:00
Steven Edwards
63b4ab39e4 define _MAX_PATH as well
svn path=/branches/xmlbuildsystem/; revision=13472
2005-02-08 22:50:55 +00:00
Casper Hornstrup
d441fe88f2 Generate reactos.cab
svn path=/branches/xmlbuildsystem/; revision=13470
2005-02-08 22:21:16 +00:00
Martin Fuchs
ddef57fcd4 owner drawn context menus for lean explorer version
svn path=/branches/lean-explorer/; revision=13440
2005-02-06 14:03:25 +00:00
Casper Hornstrup
0dd134f1a2 Build snmpapi and network applications
svn path=/branches/xmlbuildsystem/; revision=13435
2005-02-06 11:01:22 +00:00
Casper Hornstrup
11d1cdd366 Build services
svn path=/branches/xmlbuildsystem/; revision=13432
2005-02-06 10:23:29 +00:00
Casper Hornstrup
8c410194a0 Build smss and system applications
svn path=/branches/xmlbuildsystem/; revision=13428
2005-02-05 22:48:07 +00:00
Casper Hornstrup
75df7c5bca * Build ntvdm
* Add win32cui module type support


svn path=/branches/xmlbuildsystem/; revision=13426
2005-02-05 19:16:14 +00:00
Casper Hornstrup
56ff0d9653 * Build csrss and win32csr
* NativeCUI module type support


svn path=/branches/xmlbuildsystem/; revision=13424
2005-02-05 18:52:38 +00:00
Casper Hornstrup
900f042f61 Build twain_32, ws2help, opengl32, syssetup, urlmon, shdocvw, wininet, userenv, wsock32, and wshirda
svn path=/branches/xmlbuildsystem/; revision=13407
2005-02-04 20:46:46 +00:00
Royce Mitchell III
2212e07d3e compatibility fixes
svn path=/branches/xmlbuildsystem/; revision=13401
2005-02-03 23:54:02 +00:00
Casper Hornstrup
cb6d12288b * Build midimap, netapi32, lz32, setupapi, mpr, olepro32, msimg32, secur32
* Build msafd, riched32, msgina, mmdrv, samlib, msvcrt20, mesa32


svn path=/branches/xmlbuildsystem/; revision=13399
2005-02-03 21:55:43 +00:00
Casper Hornstrup
d7abcec443 Build keyboard layout DLLs
svn path=/branches/xmlbuildsystem/; revision=13395
2005-02-03 19:14:46 +00:00
Art Yerkes
75acfdfa72 Add a . to an empty path to make a relative path, before the initial /
is added.

svn path=/branches/xmlbuildsystem/; revision=13393
2005-02-03 15:43:51 +00:00
Casper Hornstrup
9dd8914484 * Parse .cpp, .rc, and .s files
* #include_next support


svn path=/branches/xmlbuildsystem/; revision=13390
2005-02-02 22:30:55 +00:00
Steven Edwards
54687f3ee6 MAX_PATH is PATH_MAX on Posix
svn path=/branches/xmlbuildsystem/; revision=13388
2005-02-02 20:10:14 +00:00
Casper Hornstrup
5987025ab4 Use automatic dependencies to mark files to be rebuilt.
svn path=/branches/xmlbuildsystem/; revision=13385
2005-02-01 20:49:03 +00:00
Casper Hornstrup
6052ab4bd7 Generate automatic dependencies.
svn path=/branches/xmlbuildsystem/; revision=13371
2005-01-31 18:25:55 +00:00
Casper Hornstrup
adeb8563b5 Started on automatic dependencies support
svn path=/branches/xmlbuildsystem/; revision=13353
2005-01-28 19:11:22 +00:00
Steven Edwards
2c0281bda7 define stricmp to strcasecmp for the Unix build
svn path=/branches/xmlbuildsystem/; revision=13320
2005-01-26 20:23:50 +00:00
Casper Hornstrup
610b936ad0 Add missing file
svn path=/branches/xmlbuildsystem/; revision=13250
2005-01-24 18:47:52 +00:00
Casper Hornstrup
04f77b12fe Add documentation
svn path=/branches/xmlbuildsystem/; revision=13225
2005-01-23 12:47:42 +00:00
Casper Hornstrup
3ccd7d62e9 * Build epsapi, dxguid, devenum, imm32, dinput8, dsound, expat, glu32, vfatlib
* Build dbghelp, gdiplus, dxdiagn, imagehlp, strmiids, dinput, fmifs, psapi 


svn path=/branches/xmlbuildsystem/; revision=13222
2005-01-23 01:33:35 +00:00
Casper Hornstrup
ab4b7a72aa * Build crtdll
* Add module attribute "mangledsymbols" to control --kill-at option for dlltool in order to allow preservation of mangled symbols


svn path=/branches/xmlbuildsystem/; revision=13221
2005-01-22 22:00:17 +00:00
Casper Hornstrup
421cfcb760 Add missing file
svn path=/branches/xmlbuildsystem/; revision=13218
2005-01-22 18:08:28 +00:00
Casper Hornstrup
28243f499d Build control panel applets
svn path=/branches/xmlbuildsystem/; revision=13217
2005-01-22 18:06:37 +00:00
Casper Hornstrup
d0acee6af8 * Invoke cabman when building a CD
* Entrypoint attribute on <module> to override default entrypoint
* Use entrypoint _DrvEnableDriver@12 for display drivers


svn path=/branches/xmlbuildsystem/; revision=13216
2005-01-22 17:38:31 +00:00
Casper Hornstrup
ac58a35d34 * Build cabman and zlib
* Add iso module type


svn path=/branches/xmlbuildsystem/; revision=13214
2005-01-22 15:27:06 +00:00
Royce Mitchell III
cd93112435 This fixes the small problem that generated files were being added to the Dev-C++ project even though they didn't yet exist. - patch by Trevor McCort
svn path=/branches/xmlbuildsystem/; revision=13213
2005-01-22 15:09:36 +00:00
Casper Hornstrup
87f69aaf32 * Build freeldr
* Add BootLoader and ObjectLibrary module types
* Add <compilerflag> tag


svn path=/branches/xmlbuildsystem/; revision=13211
2005-01-22 14:07:45 +00:00
Casper Hornstrup
7b13462f5a Build comdlg32, oleaut32, wine_unicode, winspool, shell32, and shlwapi
svn path=/branches/xmlbuildsystem/; revision=13193
2005-01-21 21:06:40 +00:00
Royce Mitchell III
23a949dd32 attribute 'first' of <file> must be 'true' or 'false'
remove an obsolete comment

svn path=/branches/xmlbuildsystem/; revision=13191
2005-01-21 18:15:10 +00:00
Casper Hornstrup
f7201d8993 Build cabinet, advpack, rpcrt4, ole32, version, cards, and uuid
svn path=/branches/xmlbuildsystem/; revision=13190
2005-01-21 18:09:02 +00:00
Casper Hornstrup
5ce17b05d1 Modules are built in the intermediate directory.
svn path=/branches/xmlbuildsystem/; revision=13171
2005-01-20 23:05:36 +00:00
Casper Hornstrup
45e6d4dd39 Fix copy/paste error.
svn path=/branches/xmlbuildsystem/; revision=13169
2005-01-20 22:24:30 +00:00
Casper Hornstrup
49d3351175 * Build bin2res, winmm, comctl32, aclui, acledit
* Correct dependencies for build tool invocations
* Normalize paths in the generated makefile


svn path=/branches/xmlbuildsystem/; revision=13168
2005-01-20 22:19:01 +00:00
Royce Mitchell III
a04e56cbf4 beginnings of dev-c++ backend - patch by Trevor McCort
svn path=/branches/xmlbuildsystem/; revision=13155
2005-01-20 06:42:22 +00:00
Royce Mitchell III
03c9d860ba require attributes to have values
svn path=/branches/xmlbuildsystem/; revision=13154
2005-01-20 06:36:37 +00:00
Steven Edwards
dc266b8b95 hard code mingw32-* for cross-compile, this is bad.
svn path=/branches/xmlbuildsystem/; revision=13153
2005-01-20 06:29:08 +00:00
Royce Mitchell III
0b93b06fee mark off area where variables need to differ for *nix
svn path=/branches/xmlbuildsystem/; revision=13152
2005-01-20 06:09:07 +00:00
Casper Hornstrup
4b9c656dd5 * Build freetype, win32k, and video drivers
* Generate module.spec.def, not module.def


svn path=/branches/xmlbuildsystem/; revision=13135
2005-01-19 19:49:57 +00:00
Royce Mitchell III
6a6a71b2f1 added 'first' attribute to <file>
svn path=/branches/xmlbuildsystem/; revision=13129
2005-01-19 01:37:35 +00:00
Royce Mitchell III
6f056ee7ce msvc6 compatibility
svn path=/branches/xmlbuildsystem/; revision=13124
2005-01-18 17:00:47 +00:00
Casper Hornstrup
9b92b2cc9a Build storage drivers
svn path=/branches/xmlbuildsystem/; revision=13103
2005-01-17 21:40:12 +00:00
Art Yerkes
dc88ce8729 More commits of the same. SVN is being a bit picky about resolved
conflicts.

svn path=/branches/xmlbuildsystem/; revision=13099
2005-01-17 16:27:28 +00:00
Art Yerkes
076c15efdb - Add a NUL definition, as well as rmkdir
- Create directory targets for intermediate files area
- .def files are in the source tree in our current scheme

svn path=/branches/xmlbuildsystem/; revision=13098
2005-01-17 16:26:11 +00:00
Casper Hornstrup
b71ea907b8 * Build networking components
* WINE DLL support


svn path=/branches/xmlbuildsystem/; revision=13086
2005-01-16 22:26:26 +00:00
Casper Hornstrup
b854348f4e Build input device drivers
svn path=/branches/xmlbuildsystem/; revision=13085
2005-01-16 18:39:32 +00:00
Casper Hornstrup
c5557e2907 Clean intermediate files.
svn path=/branches/xmlbuildsystem/; revision=13084
2005-01-16 18:30:40 +00:00
Casper Hornstrup
e7a44a6878 Build filesystems
svn path=/branches/xmlbuildsystem/; revision=13083
2005-01-16 18:14:04 +00:00
Casper Hornstrup
cca9835bf1 Build device drivers
svn path=/branches/xmlbuildsystem/; revision=13082
2005-01-16 17:24:37 +00:00
Casper Hornstrup
14af027c76 Build bus drivers
svn path=/branches/xmlbuildsystem/; revision=13081
2005-01-16 16:45:53 +00:00
Casper Hornstrup
772c512c90 Export functions in .def files
svn path=/branches/xmlbuildsystem/; revision=13080
2005-01-16 16:18:52 +00:00
Casper Hornstrup
fd7f52294b Don't include full path for --dllname
svn path=/branches/xmlbuildsystem/; revision=13079
2005-01-16 14:23:35 +00:00
Casper Hornstrup
40a6da67c4 * KernelModeDriver module support
* Build afd.sys


svn path=/branches/xmlbuildsystem/; revision=13078
2005-01-16 13:51:33 +00:00
Casper Hornstrup
41c7d92f46 Add resources to existing modules.
svn path=/branches/xmlbuildsystem/; revision=13077
2005-01-16 11:52:30 +00:00
Art Yerkes
9f8bfdb6c1 Added xml for ip libs.
svn path=/branches/xmlbuildsystem/; revision=13075
2005-01-16 11:02:12 +00:00
Art Yerkes
1231f84084 Corrected filename trap.S -> trap.s
svn path=/branches/xmlbuildsystem/; revision=13072
2005-01-16 09:24:00 +00:00
Royce Mitchell III
c5e94f140e msys compatibility fix
svn path=/branches/xmlbuildsystem/; revision=13071
2005-01-15 23:15:04 +00:00
Royce Mitchell III
2735c4ca05 remove unnecessary call to c_str()
svn path=/branches/xmlbuildsystem/; revision=13070
2005-01-15 23:14:53 +00:00
Casper Hornstrup
8df8ba2e6a Refactor GenerateGlobalCFlagsAndProperties
svn path=/branches/xmlbuildsystem/; revision=13069
2005-01-15 23:00:02 +00:00
Casper Hornstrup
d451f1d1f2 Windres support.
svn path=/branches/xmlbuildsystem/; revision=13068
2005-01-15 22:32:01 +00:00
Casper Hornstrup
c5b25f41e4 * Use objects rather than archive when linking ntoskrnl
* Remove unused file except.s
* Remove duplicate strtok() in ntoskrnl


svn path=/branches/xmlbuildsystem/; revision=13062
2005-01-15 19:00:35 +00:00
Casper Hornstrup
f429c942db If test
svn path=/branches/xmlbuildsystem/; revision=13061
2005-01-15 17:59:06 +00:00
Casper Hornstrup
d3a30bf22d * LinkerFlag tag support
* Build addsys, libwine.a, user32.dll, advapi32.dll, gdi32.dll, msvcrt.dll, and welcome.exe


svn path=/branches/xmlbuildsystem/; revision=13055
2005-01-15 13:52:36 +00:00
Royce Mitchell III
65f058c4f0 *nix compatibility
svn path=/branches/xmlbuildsystem/; revision=13049
2005-01-14 21:40:55 +00:00
Steven Edwards
0cefd55620 get the new buildsystem to mostly work for cross-compiling. Thanks Casper, Royce, etc.
svn path=/branches/xmlbuildsystem/; revision=13048
2005-01-14 21:14:48 +00:00
Steven Edwards
ffdcbc9c60 started working on cross-compile support
svn path=/branches/xmlbuildsystem/; revision=13046
2005-01-14 20:41:45 +00:00
Filip Navara
f3367f398b We're not supposed to build elf.c, it's template file.
svn path=/branches/xmlbuildsystem/; revision=13041
2005-01-14 14:11:13 +00:00
Royce Mitchell III
30921fb72c better config.template.xml
svn path=/branches/xmlbuildsystem/; revision=13040
2005-01-14 14:10:41 +00:00
Royce Mitchell III
e35d70d940 add csq library to ntoskrnl
svn path=/branches/xmlbuildsystem/; revision=13039
2005-01-14 13:29:27 +00:00
Royce Mitchell III
dbc5b96c09 use ntoskrnl's def file when running dlltool, otherwise not all of ntoskrnl's exports make it into final executable.
svn path=/branches/xmlbuildsystem/; revision=13038
2005-01-14 06:51:37 +00:00
Royce Mitchell III
46db98e48d kill the output exe files in a clean, too
svn path=/branches/xmlbuildsystem/; revision=13020
2005-01-13 05:10:33 +00:00
Royce Mitchell III
b657e0b0bf generate clean rules
svn path=/branches/xmlbuildsystem/; revision=13019
2005-01-13 05:01:22 +00:00
Royce Mitchell III
90d59a4287 create phony targets for each module name, so you can type 'make ntoskrnl' instead of having to type 'make ./ntoskrnl/ntoskrnl.exe'
svn path=/branches/xmlbuildsystem/; revision=13018
2005-01-13 04:17:53 +00:00
Royce Mitchell III
babc7c7c8a generate output rules for files under <if>
svn path=/branches/xmlbuildsystem/; revision=13017
2005-01-13 04:13:20 +00:00
Royce Mitchell III
84c57ede37 bugfixes to new <if> and related code
svn path=/branches/xmlbuildsystem/; revision=13016
2005-01-13 03:43:10 +00:00
Royce Mitchell III
c869f797fb add support for <if> and <property>
svn path=/branches/xmlbuildsystem/; revision=13015
2005-01-13 02:46:46 +00:00
Royce Mitchell III
31f4493219 fix variable cases
svn path=/branches/xmlbuildsystem/; revision=13012
2005-01-13 02:26:05 +00:00
Casper Hornstrup
37ff0b66b5 * Keep project level includes and defines in PROJECT_CFLAGS
* Win32dll module type support
* Build kernel32.dll


svn path=/branches/xmlbuildsystem/; revision=12985
2005-01-12 19:42:07 +00:00
Royce Mitchell III
a868feb94a forgot to recurse If elements when generating macros
svn path=/branches/xmlbuildsystem/; revision=12966
2005-01-12 14:07:55 +00:00
Royce Mitchell III
9264ed7582 support for <if> tag
.PHONY must be output before the target gets defined


svn path=/branches/xmlbuildsystem/; revision=12944
2005-01-12 06:02:58 +00:00
Royce Mitchell III
4846c7b4a2 bugfix - patch by filip navara
svn path=/branches/xmlbuildsystem/; revision=12943
2005-01-12 05:01:49 +00:00
Casper Hornstrup
6858112b10 Build ntdll.dll.
svn path=/branches/xmlbuildsystem/; revision=12926
2005-01-11 20:02:58 +00:00
Royce Mitchell III
444e4297dd create a couple more variables to reduce makefile size
preparations for <if> support

svn path=/branches/xmlbuildsystem/; revision=12925
2005-01-11 18:20:30 +00:00
Royce Mitchell III
72a0e1e6b7 make sure parentElement is set properly for <xi:include> elements
svn path=/branches/xmlbuildsystem/; revision=12918
2005-01-10 14:03:21 +00:00
Casper Hornstrup
b663342f01 * Nasm support
* Hal, rosrtl, pseh, string modules
* Build ntoskrnl


svn path=/branches/xmlbuildsystem/; revision=12913
2005-01-09 21:26:16 +00:00
Royce Mitchell III
e5130a546a added xi:fallback support
fixed some memory leaks in Project
detect and report "end of file looking for end tag" instead of just crashing

svn path=/branches/xmlbuildsystem/; revision=12911
2005-01-09 19:16:35 +00:00
Casper Hornstrup
51221a2b14 Fix compilation.
svn path=/branches/xmlbuildsystem/; revision=12910
2005-01-09 17:24:09 +00:00
Casper Hornstrup
f361174e9b GCC assembler support.
svn path=/branches/xmlbuildsystem/; revision=12908
2005-01-09 16:36:57 +00:00
Royce Mitchell III
d16f78506a use enum instead of string in more places
svn path=/branches/xmlbuildsystem/; revision=12902
2005-01-09 03:43:26 +00:00
Royce Mitchell III
03e6c98e63 add 'location' information to a couple exceptions that should have it
fixed bug I introduced in MingwBackend::ProcessModule()
fixed bug in std::map usage, apparently map<const char*,...> is a bad idea
let make do some work, create variables to hold include list for each module

svn path=/branches/xmlbuildsystem/; revision=12901
2005-01-09 03:29:46 +00:00
Royce Mitchell III
10324ce772 replaced Backend Factory's vector with a map.
added a map of the MingwModuleHandlers that's created at startup time

svn path=/branches/xmlbuildsystem/; revision=12900
2005-01-09 01:58:53 +00:00
Casper Hornstrup
0f4b9848d1 Put global includes last.
svn path=/branches/xmlbuildsystem/; revision=12899
2005-01-09 01:25:16 +00:00
Casper Hornstrup
8fc0497edb Fix compile error
svn path=/branches/xmlbuildsystem/; revision=12898
2005-01-09 01:13:31 +00:00
Casper Hornstrup
2ddad45463 Precondition dependencies.
svn path=/branches/xmlbuildsystem/; revision=12897
2005-01-09 01:10:43 +00:00
Casper Hornstrup
87d6ec37a6 Invocation of buildtool modules.
svn path=/branches/xmlbuildsystem/; revision=12891
2005-01-08 19:38:51 +00:00
Casper Hornstrup
30e8e25cb7 BuildTool module type support.
svn path=/branches/xmlbuildsystem/; revision=12887
2005-01-08 12:54:43 +00:00
Royce Mitchell III
3e6eb979d8 use ROS_TEMPORARY and ROS_INTERMEDIATE to allow builder to override locations for created files. Fix name conflict with temporary files
svn path=/branches/xmlbuildsystem/; revision=12882
2005-01-08 06:36:03 +00:00
Royce Mitchell III
2f837bf69e don't allow duplicate module names
svn path=/branches/xmlbuildsystem/; revision=12881
2005-01-08 05:22:02 +00:00
Royce Mitchell III
aead7a68f9 <include> now has attribute 'base' which allows to specify subdirectory of another module
svn path=/branches/xmlbuildsystem/; revision=12880
2005-01-08 04:33:01 +00:00
Royce Mitchell III
774f167e5e xml nodes now store the location they were parsed from; invalidbuildexceptions now required a location of the error; don't allow modules to process xml until all modules are created; don't allow libraries, defines, includes, etc to process xml until all modules have processed; don't allow module to link against itself or a non-existant module; don't allow library to specify non-existant module;
svn path=/branches/xmlbuildsystem/; revision=12879
2005-01-08 03:37:32 +00:00
Royce Mitchell III
de7c566b05 Don't pass objects ( particularly vectors ) by value unless absolutely necessary. Also applied some const-correctness
svn path=/branches/xmlbuildsystem/; revision=12878
2005-01-08 02:33:09 +00:00
Casper Hornstrup
5f69cb429e Static library module type.
svn path=/branches/xmlbuildsystem/; revision=12877
2005-01-08 00:25:48 +00:00
Casper Hornstrup
49a2dd8017 Include and define support.
svn path=/branches/xmlbuildsystem/; revision=12876
2005-01-07 21:46:18 +00:00
Martin Fuchs
679e6f6c09 fix case of XML.o
svn path=/branches/xmlbuildsystem/; revision=12870
2005-01-07 15:36:40 +00:00
Royce Mitchell III
4e235dbcc9 parse, but ignore, <? ?> tags - eliminated duplicate code ala FixSeparator() - fix path separator issues
svn path=/branches/xmlbuildsystem/; revision=12868
2005-01-07 13:48:53 +00:00
Casper Hornstrup
f7257ee1be * Generate kernel
* Add static library module type
* Add build script for kjs


svn path=/branches/xmlbuildsystem/; revision=12856
2005-01-06 22:22:13 +00:00
Casper Hornstrup
b1ec82cd59 Generate dependencies for kernel module type.
svn path=/branches/xmlbuildsystem/; revision=12855
2005-01-06 20:38:14 +00:00
Martin Fuchs
505695d368 migrate substitution keywords to SVN
svn path=/branches/xmlbuildsystem/; revision=12851
2005-01-06 13:34:15 +00:00
Royce Mitchell III
8e5e9a4925 fix gcc warning
svn path=/branches/xmlbuildsystem/; revision=12848
2005-01-06 03:52:12 +00:00
Royce Mitchell III
199fca493d forgot to remove and unneeded #include
svn path=/branches/xmlbuildsystem/; revision=12847
2005-01-06 03:49:38 +00:00
Royce Mitchell III
1900ede13b much better factory implementation - thanks art yerkes
svn path=/branches/xmlbuildsystem/; revision=12846
2005-01-06 03:27:24 +00:00
Royce Mitchell III
477157b4d4 Factories for Backend creation
svn path=/branches/xmlbuildsystem/; revision=12845
2005-01-06 02:55:11 +00:00
Royce Mitchell III
8051633a4c file & line # reporting on xml syntax errors
svn path=/branches/xmlbuildsystem/; revision=12844
2005-01-06 02:06:44 +00:00
Royce Mitchell III
c6916243d1 fixed some warnings, and added some asserts
svn path=/branches/xmlbuildsystem/; revision=12843
2005-01-06 01:35:01 +00:00
Casper Hornstrup
7d876c4d0c Parse libraries.
svn path=/branches/xmlbuildsystem/; revision=12840
2005-01-05 22:36:17 +00:00
Casper Hornstrup
91d97cbc91 Parse module type.
svn path=/branches/xmlbuildsystem/; revision=12839
2005-01-05 21:29:54 +00:00
Casper Hornstrup
1568981925 Generate MinGW makefile in the backend.
svn path=/branches/xmlbuildsystem/; revision=12837
2005-01-05 20:59:10 +00:00
Casper Hornstrup
222bde955c Handle modules.
svn path=/branches/xmlbuildsystem/; revision=12836
2005-01-05 19:47:10 +00:00
Royce Mitchell III
b9bffbca54 beginnings of makefile output
svn path=/branches/xmlbuildsystem/; revision=12826
2005-01-05 19:02:00 +00:00
Royce Mitchell III
00a8526f83 allow for other build systems
svn path=/branches/xmlbuildsystem/; revision=12824
2005-01-05 18:48:45 +00:00
Royce Mitchell III
f2f4ddff19 specify output filename
svn path=/branches/xmlbuildsystem/; revision=12823
2005-01-05 18:16:55 +00:00
Royce Mitchell III
f97516bc1c assume HOST is set to mingw32-windows until someone who knows how can have make fail when HOST isn't set
svn path=/branches/xmlbuildsystem/; revision=12822
2005-01-05 18:13:56 +00:00
Royce Mitchell III
5793157884 small XMLFile cleanup
svn path=/branches/xmlbuildsystem/; revision=12821
2005-01-05 17:59:08 +00:00
Royce Mitchell III
039d7779de pch.h can be used as pre-compiled header
svn path=/branches/xmlbuildsystem/; revision=12818
2005-01-05 05:09:38 +00:00
Royce Mitchell III
4ee64fd1b7 handle comments while parsing, instead of returning them to the user
svn path=/branches/xmlbuildsystem/; revision=12816
2005-01-05 03:47:55 +00:00
Royce Mitchell III
0b755662dd don't define macros that conflict with MinGW system header files, causes very cryptic error messages
svn path=/branches/xmlbuildsystem/; revision=12815
2005-01-05 02:57:58 +00:00
Casper Hornstrup
4e36b04d0d MinGW backend.
svn path=/branches/xmlbuildsystem/; revision=12805
2005-01-04 22:40:08 +00:00
Casper Hornstrup
6f22300491 Add project and module tests.
svn path=/branches/xmlbuildsystem/; revision=12801
2005-01-04 21:29:09 +00:00
Casper Hornstrup
8b3d554adb Exception handling.
svn path=/branches/xmlbuildsystem/; revision=12797
2005-01-04 20:37:48 +00:00
Royce Mitchell III
6332037cc9 fix gcc incompatibilities
svn path=/branches/xmlbuildsystem/; revision=12795
2005-01-04 19:06:48 +00:00
Royce Mitchell III
9d52adaf02 ssprintf() family of functions for std::string + printf functionality
svn path=/branches/xmlbuildsystem/; revision=12794
2005-01-04 18:38:31 +00:00
Casper Hornstrup
47c197a607 Move project to its own file.
svn path=/branches/xmlbuildsystem/; revision=12793
2005-01-04 18:24:21 +00:00
Royce Mitchell III
ac754b1f06 break XML-parsing stuff into it's own files, and fix 'make test'
svn path=/branches/xmlbuildsystem/; revision=12792
2005-01-04 17:53:26 +00:00
Casper Hornstrup
650cbe59a3 Kill warnings.
svn path=/branches/xmlbuildsystem/; revision=12791
2005-01-04 17:19:43 +00:00
Royce Mitchell III
ee24430c57 parse a module's files into a vector ( conditions are still a TODO )
svn path=/branches/xmlbuildsystem/; revision=12789
2005-01-04 14:46:06 +00:00
Royce Mitchell III
b6ce86818c handle xml comments and added handling for some possible error conditions
svn path=/branches/xmlbuildsystem/; revision=12788
2005-01-04 14:27:27 +00:00
Royce Mitchell III
eced4673d4 each XMLElement now stores a pointer to it's parent node, so the tree can be traversed from the bottom
svn path=/branches/xmlbuildsystem/; revision=12787
2005-01-04 14:02:04 +00:00
Royce Mitchell III
0e49eb5441 create virtual attribute "top_href" for <xi:include> that is a path relative to top level of project to make it easier to generate non-recursive makefiles
svn path=/branches/xmlbuildsystem/; revision=12786
2005-01-04 13:40:05 +00:00
Royce Mitchell III
83a90b1ff8 use ntoskrnl/module.xml
svn path=/branches/xmlbuildsystem/; revision=12784
2005-01-04 07:05:31 +00:00
Royce Mitchell III
767c4f1f9e xml file for ntoskrnl module
svn path=/branches/xmlbuildsystem/; revision=12783
2005-01-04 07:05:04 +00:00
Royce Mitchell III
7b85a3019d support for <xi:include href="foo/foo.xml">, including the "relative path-mucking" necessary
svn path=/branches/xmlbuildsystem/; revision=12782
2005-01-04 07:03:59 +00:00
Royce Mitchell III
4b6d28c5a2 proper destruction for Project objects
svn path=/branches/xmlbuildsystem/; revision=12778
2005-01-04 04:09:04 +00:00
Royce Mitchell III
0b41f2cc93 initial code to step through tree looking for modules, and calculating their relative paths, for now just print out our findings and clean up.
svn path=/branches/xmlbuildsystem/; revision=12777
2005-01-04 04:04:32 +00:00
Royce Mitchell III
24bc72075e don't pass vector<pointer> by value unless you are looking for trouble, also fixed Assert() to take stdargs to make it's usage simpler and less error-prone. Also fixed IsTrue(), etc, to take file and line info by args and created macros to pass that info automatically.
svn path=/branches/xmlbuildsystem/; revision=12775
2005-01-04 03:10:07 +00:00
Royce Mitchell III
ac0d1d2023 get rid of transitory junk
svn path=/branches/xmlbuildsystem/; revision=12770
2005-01-03 23:24:12 +00:00
Royce Mitchell III
7db6de29fc 1) vector<BaseClass> = bad juju, must use vector<BaseClass*>
2) BaseClass must have virtual dtor
3) make Run() pure virtual

svn path=/branches/xmlbuildsystem/; revision=12769
2005-01-03 23:21:25 +00:00
Casper Hornstrup
0f703e6c9b Add small testing framework.
svn path=/branches/xmlbuildsystem/; revision=12767
2005-01-03 23:04:52 +00:00
Casper Hornstrup
5b5cae1d8f Add makefile for rbuild.
svn path=/branches/xmlbuildsystem/; revision=12762
2005-01-03 20:43:23 +00:00
Royce Mitchell III
af0029cf63 moved rbuild.cpp per Casper's request
svn path=/branches/xmlbuildsystem/; revision=12759
2005-01-03 19:29:19 +00:00
Royce Mitchell III
1698e638a2 XML parsing working with my local sample build script. Now we need to start coding the makefile-generation
svn path=/branches/xmlbuildsystem/; revision=12743
2005-01-03 01:02:26 +00:00
Casper Hornstrup
4aa419fcb5 Add sample build script.
svn path=/branches/xmlbuildsystem/; revision=12739
2005-01-02 22:17:02 +00:00
Martin Fuchs
49f4d8010f Handle "." and ".." as special direcory names and move them at the very first beginning of directory listings
svn path=/branches/lean-explorer/; revision=10889
2004-09-17 16:56:47 +00:00
Martin Fuchs
62f920f0c7 display lean explorer version in about dialog
svn path=/branches/lean-explorer/; revision=10573
2004-08-16 19:12:31 +00:00
Martin Fuchs
6f15da7d91 fix clean target for new standard makefiles
svn path=/branches/lean-explorer/; revision=10399
2004-08-04 21:42:33 +00:00
Martin Fuchs
a3a634bd46 fix clean target for new standard makefiles
svn path=/branches/lean-explorer/; revision=10398
2004-08-04 21:42:33 +00:00
Steven Edwards
6c3634add7 Fix building the lean explorer
svn path=/branches/lean-explorer/; revision=10391
2004-08-04 14:21:52 +00:00
Martin Fuchs
cdf16e21fe get version number to display from RES_STR_PRODUCT_VERSION
svn path=/branches/lean-explorer/; revision=10373
2004-08-03 19:43:45 +00:00
Martin Fuchs
91aa9f2a2a get version number to display from RES_STR_PRODUCT_VERSION
svn path=/branches/lean-explorer/; revision=10372
2004-08-03 19:43:45 +00:00
Martin Fuchs
3010e741cd get version number to display from RES_STR_PRODUCT_VERSION
svn path=/branches/lean-explorer/; revision=10371
2004-08-03 19:43:45 +00:00
Martin Fuchs
b4b7900286 implement IServiceprovider interface
svn path=/branches/lean-explorer/; revision=10335
2004-08-01 09:26:27 +00:00
Martin Fuchs
94b18145e8 implement IServiceprovider interface
svn path=/branches/lean-explorer/; revision=10334
2004-08-01 09:26:27 +00:00
Martin Fuchs
3419d837b4 use same startmenu entries height as MS explorer
svn path=/branches/lean-explorer/; revision=10323
2004-07-31 08:53:19 +00:00
Martin Fuchs
aaaf91d697 precompiled header support for the lean version of explorer
svn path=/branches/lean-explorer/; revision=10293
2004-07-26 18:41:36 +00:00
Martin Fuchs
ef27e16221 eliminate useless GCC warning
svn path=/branches/lean-explorer/; revision=10282
2004-07-24 20:15:47 +00:00
Martin Fuchs
a5b6fb6224 recalculate start menu root position for any call
svn path=/branches/lean-explorer/; revision=10280
2004-07-24 20:09:31 +00:00
The ReactOS Team
953956d508 This commit was manufactured by cvs2svn to create branch
'lean-explorer'.

svn path=/branches/lean-explorer/; revision=10195
2004-07-18 13:03:06 +00:00
Martin Fuchs
64e7f90242 fix root path for folders opened from the desktop
svn path=/branches/lean-explorer/; revision=10136
2004-07-15 21:19:05 +00:00
Martin Fuchs
bb344f6544 ignore unexpected exceptions while extracting icons
svn path=/branches/lean-explorer/; revision=10134
2004-07-15 21:04:20 +00:00
Martin Fuchs
e92def1b07 scroll mode for very long start menus in lean explorer branch
svn path=/branches/lean-explorer/; revision=10131
2004-07-15 20:20:39 +00:00
The ReactOS Team
9dd56c39d7 This commit was manufactured by cvs2svn to create branch
'lean-explorer'.

svn path=/branches/lean-explorer/; revision=10130
2004-07-15 20:20:39 +00:00
Martin Fuchs
89c345f0f6 remove useless comment
svn path=/branches/lean-explorer/; revision=9772
2004-06-20 19:28:54 +00:00
Martin Fuchs
d80f04c021 adjustments for GCC 3.4
svn path=/branches/lean-explorer/; revision=9710
2004-06-18 17:05:44 +00:00
Martin Fuchs
6936b33b44 fix Entry::read_tree() and get_next_path_component()
svn path=/branches/lean-explorer/; revision=9104
2004-04-12 15:55:36 +00:00
Steven Edwards
61f0b4504d I hope I didnt mess up committing this to the lean-branch.....
Add Windows Explorer menus (File, Edit, View, Tools - Disabled atm)
Merge "explorer -install" support to lean-explorer.
Merge some of the traynotify cleanups.

svn path=/branches/lean-explorer/; revision=9049
2004-04-09 19:02:59 +00:00
Steven Edwards
ea30a0dc0f Testing something
svn path=/branches/lean-explorer/; revision=9048
2004-04-09 18:55:23 +00:00
Martin Fuchs
e7cd739664 option "display version on desktop background"
svn path=/branches/lean-explorer/; revision=8909
2004-03-28 20:32:23 +00:00
Martin Fuchs
283e814418 option "display version on desktop background"
svn path=/branches/lean-explorer/; revision=8908
2004-03-28 20:32:23 +00:00
Martin Fuchs
b7d05c55c1 lean version comments
svn path=/branches/lean-explorer/; revision=8812
2004-03-20 13:55:58 +00:00
Martin Fuchs
54fff5eacf UNICODE fix for Tooltips
svn path=/branches/lean-explorer/; revision=8740
2004-03-14 22:27:44 +00:00
Martin Fuchs
aa1994fbc7 resize taskbar buttons on WM_SIZE
svn path=/branches/lean-explorer/; revision=8730
2004-03-14 18:51:36 +00:00
Martin Fuchs
655eff3fef move create_absolute_pidl() member function implementation from Enry into WinEntry
svn path=/branches/lean-explorer/; revision=8707
2004-03-14 12:11:19 +00:00
Martin Fuchs
821980ba92 french translation for some start menu entries from Gge
svn path=/branches/lean-explorer/; revision=8692
2004-03-13 20:05:33 +00:00
Martin Fuchs
02818cac57 small 'Explorer' string adjustment for french
svn path=/branches/lean-explorer/; revision=8671
2004-03-12 21:20:03 +00:00
Martin Fuchs
2906835b92 adjust start button to text size
svn path=/branches/lean-explorer/; revision=8669
2004-03-12 21:12:28 +00:00
Martin Fuchs
a16e73576f adjust start button to text size
svn path=/branches/lean-explorer/; revision=8668
2004-03-12 21:12:28 +00:00
Martin Fuchs
982fa99488 add opened files to the "recent documents" list
svn path=/branches/lean-explorer/; revision=8522
2004-03-03 20:29:52 +00:00
Martin Fuchs
2436649677 add opened files to the "recent documents" list
svn path=/branches/lean-explorer/; revision=8521
2004-03-03 20:29:52 +00:00
Martin Fuchs
9f36b56be8 up/down navigation for shell views in SDI mode
svn path=/branches/lean-explorer/; revision=8461
2004-02-28 23:32:05 +00:00
Martin Fuchs
6788d779df disable context information for lean release builds
svn path=/branches/lean-explorer/; revision=8455
2004-02-28 17:38:55 +00:00
Martin Fuchs
d22ce95a23 "up" button
svn path=/branches/lean-explorer/; revision=8454
2004-02-28 17:38:34 +00:00
Martin Fuchs
1ed75817b2 - fix for restoring applications using task bar buttons
- project file maintainancement
- docu update

svn path=/branches/lean-explorer/; revision=8451
2004-02-28 16:41:55 +00:00
Martin Fuchs
696e9fab75 - fix for restoring applications using task bar buttons
- project file maintainancement
- docu update

svn path=/branches/lean-explorer/; revision=8450
2004-02-28 16:41:55 +00:00
Martin Fuchs
c0442f2fa3 compatibility fix for "Sleipnir" web browser: minimizing by clicks on taskbar
svn path=/branches/lean-explorer/; revision=8449
2004-02-28 16:05:34 +00:00
Martin Fuchs
df7a6033ec desktop switching: allow applications to be visible only on one desktop
svn path=/branches/lean-explorer/; revision=8447
2004-02-28 15:14:39 +00:00
Martin Fuchs
153276234c remember last foreground window when switching desktops
svn path=/branches/lean-explorer/; revision=8439
2004-02-28 13:45:33 +00:00
Martin Fuchs
91554083e0 remember last foreground window when switching desktops
svn path=/branches/lean-explorer/; revision=8437
2004-02-28 13:45:32 +00:00
Martin Fuchs
3b06f79ff4 another foreground window fix for clicks on notification icons
svn path=/branches/lean-explorer/; revision=8435
2004-02-28 10:57:02 +00:00
Martin Fuchs
55b5f0c114 implemented 'minimize all' feature
svn path=/branches/lean-explorer/; revision=8432
2004-02-28 10:27:39 +00:00
Martin Fuchs
1f3fa7df38 disable start menu entries for non-existing folders
svn path=/branches/lean-explorer/; revision=8417
2004-02-26 21:52:34 +00:00
Martin Fuchs
fb350b3059 fix admin and printer folders
svn path=/branches/lean-explorer/; revision=8415
2004-02-26 21:28:48 +00:00
Martin Fuchs
2c1003c0c6 include explorer windows in desktop switching
svn path=/branches/lean-explorer/; revision=8414
2004-02-26 21:20:51 +00:00
Martin Fuchs
9fe0326582 avoid displaying context menu for application button _and_ desktop bar at the same time
svn path=/branches/lean-explorer/; revision=8412
2004-02-26 20:38:33 +00:00
Martin Fuchs
83fbf6968d docu update
svn path=/branches/lean-explorer/; revision=8410
2004-02-26 20:26:11 +00:00
Martin Fuchs
2211cc9503 fix foreground window handling when clicking on notification area icons
svn path=/branches/lean-explorer/; revision=8409
2004-02-26 20:20:44 +00:00
Martin Fuchs
eb17639f37 resize taskbar buttons according to number of running applications
svn path=/branches/lean-explorer/; revision=8405
2004-02-26 19:47:39 +00:00
Martin Fuchs
73a9af76fa resize taskbar buttons according to number of running applications
svn path=/branches/lean-explorer/; revision=8404
2004-02-26 19:47:39 +00:00
Martin Fuchs
4f32541e64 fix taksbar icons after closing previous applications
svn path=/branches/lean-explorer/; revision=8380
2004-02-25 20:21:30 +00:00
Martin Fuchs
ea3d021bfd set background brush for the short moment of displaying the background color while moving foreground windows
svn path=/branches/lean-explorer/; revision=8374
2004-02-25 19:29:13 +00:00
Martin Fuchs
b5a4206184 fixed bug #224
svn path=/branches/lean-explorer/; revision=8372
2004-02-25 18:58:34 +00:00
Martin Fuchs
3f5fd6a3b2 fixed more GDI handle leaks
svn path=/branches/lean-explorer/; revision=8356
2004-02-24 22:15:41 +00:00
Martin Fuchs
f537ac11a5 - launch task manager
- set foregroundwindow when opening start menu (CTRL-ESC shortcut)

svn path=/branches/lean-explorer/; revision=8353
2004-02-24 20:00:03 +00:00
Martin Fuchs
48da412f74 keyboard navigation in start menu using first character of display names
svn path=/branches/lean-explorer/; revision=8343
2004-02-23 22:16:54 +00:00
Martin Fuchs
7bbbc66715 fixed icon handle leak in notification area
svn path=/branches/lean-explorer/; revision=8338
2004-02-23 20:39:16 +00:00
Martin Fuchs
479967c7f3 strip down resource images
svn path=/branches/lean-explorer/; revision=8270
2004-02-19 20:57:27 +00:00
Martin Fuchs
982ba5e7ea - eiminated compiler warning
- removed NTFS streams support since it never displayed in this version

svn path=/branches/lean-explorer/; revision=8247
2004-02-18 19:38:36 +00:00
Martin Fuchs
a8cf2dad56 SDI interface for lean explorer
svn path=/branches/lean-explorer/; revision=8240
2004-02-18 00:01:02 +00:00
Martin Fuchs
1707fd147a disable autostart if the SHIFT key is pressed
svn path=/branches/lean-explorer/; revision=8224
2004-02-17 20:20:03 +00:00
Martin Fuchs
361d931d0c - disable lazy icon extraction in start menu to be as fast as possible
- convert settings start menus into buttons

svn path=/branches/lean-explorer/; revision=8217
2004-02-16 23:32:30 +00:00
Martin Fuchs
d6a11826cd first draft of a lean explorer version
svn path=/branches/lean-explorer/; revision=8214
2004-02-16 22:53:38 +00:00
The ReactOS Team
aea6a56335 This commit was manufactured by cvs2svn to create branch
'lean-explorer'.

svn path=/branches/lean-explorer/; revision=8213
2004-02-16 22:53:38 +00:00
6805 changed files with 925346 additions and 697851 deletions

View File

@@ -0,0 +1,46 @@
<?xml version="1.0"?>
<!--
Copyright (C) 2005 Casper S. Hornstrup
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-->
<project name="ReactOS.ApiStatus" default="publish">
<property name="reactos.dir" value="reactos" />
<property name="apistatus.xsl" value="rapistatus.xsl" />
<property name="apistatus.xml" value="rapistatus.xml" />
<property name="apistatus.html" value="index2.html" />
<include buildfile="config.include" />
<target name="publish">
<delete dir="${reactos.dir}" if="${directory::exists(reactos.dir)}" />
<exec program="svn" commandline="export -r HEAD ${source.url} ${reactos.dir}" />
<exec program="rgenstat" commandline="reactos\apistatus.lst ${apistatus.xml}" />
<style style="${apistatus.xsl}" destdir="${reactos.dir}" in="${apistatus.xml}" out="${apistatus.html}" />
<copy todir="${publish.dir}" overwrite="true">
<fileset basedir=".">
<include name="${apistatus.xml}" />
<include name="${apistatus.html}" />
</fileset>
</copy>
<delete>
<fileset basedir=".">
<include name="${apistatus.xml}" />
<include name="${apistatus.html}" />
</fileset>
</delete>
<delete dir="${reactos.dir}" if="${directory::exists(reactos.dir)}" />
</target>
</project>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2005 Casper S. Hornstrup
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-->
<project>
<property name="source.url" value="svn://svn.reactos.com/trunk/reactos" />
<property name="publish.dir" value="C:\api" />
</project>

View File

@@ -76,22 +76,28 @@
<xsl:call-template name="ELEMENT">
<xsl:with-param name="class">c</xsl:with-param>
</xsl:call-template>
<xsl:apply-templates/>
<xsl:apply-templates>
<xsl:with-param name="base"><xsl:value-of select="@base"/></xsl:with-param>
</xsl:apply-templates>
</DIV>
</xsl:template>
<!-- function -->
<xsl:template match="functions">
<xsl:apply-templates select="function">
<xsl:sort select="@name"/>
<xsl:param name="base"/>
<xsl:apply-templates select="f">
<xsl:sort select="@n"/>
<xsl:with-param name="base"><xsl:value-of select="$base"/></xsl:with-param>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="functions/function">
<xsl:template match="functions/f">
<xsl:param name="base"/>
<DIV>
<xsl:call-template name="ELEMENT">
<xsl:with-param name="class">f</xsl:with-param>
<xsl:with-param name="base"><xsl:value-of select="$base"/></xsl:with-param>
</xsl:call-template>
<xsl:apply-templates/>
</DIV>
@@ -102,6 +108,7 @@
<xsl:template name="ELEMENT">
<xsl:param name="class"/>
<xsl:param name="base"/>
<xsl:param name="image"/>
<xsl:attribute name="class">
<xsl:value-of select="$class"/>
@@ -109,17 +116,17 @@
</xsl:attribute>
<xsl:call-template name="toggle"/>
<xsl:choose>
<xsl:when test="./node() and local-name() != 'component' and @implemented = 'true'">
<img src="i.gif" class="i"/>
<xsl:when test="local-name() != 'component' and @i = 'true'">
<img src="i.gif" class="i"/>
</xsl:when>
<xsl:when test="./node() and local-name() != 'component' and @implemented = 'false'">
<img src="u.gif" class="u"/>
<xsl:when test="local-name() != 'component' and @i = 'false'">
<img src="u.gif" class="u"/>
</xsl:when>
<xsl:when test="./node() and local-name() = 'component' and @complete >= 100">
<img src="sc.gif"/>
<xsl:when test="local-name() = 'component' and @complete >= 100">
<img src="sc.gif"/>
</xsl:when>
<xsl:otherwise>
<img src="tb.gif" with="12" height="12"/>
<xsl:value-of select="@i"/><img src="tb.gif" with="12" height="12"/>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
@@ -131,7 +138,10 @@
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="name"/>
<xsl:call-template name="file"/>
<xsl:call-template name="n"/>
<xsl:call-template name="file">
<xsl:with-param name="base"><xsl:value-of select="$base"/></xsl:with-param>
</xsl:call-template>
<xsl:call-template name="status"/>
</xsl:template>
@@ -173,9 +183,16 @@
</xsl:if>
</xsl:template>
<xsl:template name="n">
<xsl:if test="@n">
<SPAN class="l"><xsl:value-of select="@n"/></SPAN>
</xsl:if>
</xsl:template>
<xsl:template name="file">
<xsl:if test="@file">
<SPAN class="h"><xsl:value-of select="@file"/></SPAN>
<xsl:param name="base"/>
<xsl:if test="@f">
<SPAN class="h"><xsl:value-of select="$base"/><xsl:value-of select="@f"/></SPAN>
</xsl:if>
</xsl:template>

View File

@@ -0,0 +1,8 @@
<?php
/* Rename to config.php */
define(ISO_BASE_URL, "http://www.server.com/iso/");
define(ISO_PATH, "C:\\iso\\");
?>

View File

@@ -0,0 +1,230 @@
<?php
include ('config.php');
function dm_usort_cmp ($a, $b) {
if ($a == $b) return 0;
return ($a > $b) ? -1 : 1;
}
function dm_usort_cmp_desc ($a, $b) {
if ($a == $b) return 0;
return ($a > $b) ? 1 : -1;
}
function printHeader()
{
?>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ReactOS Revison ISOs</title>
<meta name="generator" content="Editpad">
<meta name="keywords" content="OS, ReactOS, operating system">
<meta name="author" content="ReactOS Project (ros-dev@reactos.com)">
<style>
.box
{
padding: 0px;
background-color: #88aadd;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #000000;
border-top: 1px solid #f0f0f0;
border-bottom: 1px solid #000000;
}
</style>
</head>
<body bgcolor="#88aadd">
<form method="post" action="">
<?php
}
function printMenu($revision)
{
?>
<table border="0" class="box" cellpadding="5">
<tr>
<td height="2px">
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<b>Branch:</b>
</td>
<td>
<select name="branch" tabindex="1">
<?php
$d = dir(ISO_PATH);
$i = 0;
$dirlist = array();
while (false !== ($entry = $d->read())) {
if ((strcasecmp($entry, ".") != 0) && (strcasecmp($entry, "..") != 0) && is_dir(ISO_PATH . "\\" . $entry) == "dir") {
$dirlist[$i++] = $entry;
}
}
$d->close();
if (is_array($dirlist)) {
usort($dirlist, "dm_usort_cmp");
reset($dirlist);
while (list($key, $val) = each($dirlist)) {
$branch = $val;
if ($branch == $_POST["branch"] || (!isset($_POST["branch"]) && $branch == "trunk"))
$selected = " selected";
else
$selected = "";
echo "<option$selected>$branch</option>";
}
}
?>
</select>
</td>
<td>
&nbsp;
</td>
<td>
<b>Revision:</b>
</td>
<td>
<?php
echo "<input type=\"text\" name=\"revision\" size=\"10\" maxlength=\"10\" tabindex=\"2\" value=\"" . $revision . "\"></input>";
?>
</td>
<td>
&nbsp;
</td>
<td>
<input type="submit" name="getiso" value="Download" tabindex="3" style="border: 1px solid #000000"></input>
</td>
</tr>
<tr>
<td colspan="7">
<hr size="2" width="100%" />
</td>
</tr>
<tr>
<td colspan="4">
<input type="submit" name="getnextiso" value="Next ISO" tabindex="4" style="border: 1px solid #000000"></input>
</td>
<td colspan="3" align="right">
<input type="submit" name="getlatestiso" value="Latest ISO" tabindex="5" style="border: 1px solid #000000"></input>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="2px">
</td>
</tr>
</table>
<?php
}
function printFooter()
{
?>
</form>
<script>
var revision = document.getElementById('revision');
if (revision) revision.focus();
</script>
</body>
</html>
<?php
}
function locateRevisionISO($branch, $revision, $latest)
{
$revision = intval($revision);
$path = ISO_PATH . "\\" . $branch;
$d = dir($path);
$i = 0;
$filelist = array();
while (false !== ($entry = $d->read())) {
if (is_dir($path . "\\" . $entry) != "dir")
$filelist[$i++] = $entry;
}
$d->close();
if (is_array($filelist)) {
$sortFunction = $latest ? "dm_usort_cmp" : "dm_usort_cmp_desc";
usort($filelist, $sortFunction);
reset($filelist);
while (list($key, $filename) = each($filelist)) {
if (ereg('ReactOS-' . $branch . '-r([0-9]*).iso', $filename, $regs))
{
$thisRevision = intval($regs[1]);
if (($latest) && ($thisRevision < $revision))
return $regs[1];
else if ($thisRevision > $revision)
return $regs[1];
$lastRevision = $thisRevision;
}
}
}
return "";
}
function getNextRevisionISO($branch, $revision)
{
return locateRevisionISO($branch, $revision, false);
}
function getLatestRevisionISO($branch)
{
return locateRevisionISO($branch, 999999, true);
}
function main()
{
$branch = $_POST["branch"];
$revision = $_POST["revision"];
$filename = "ReactOS-" . $branch . "-r" . $revision . ".iso";
if (file_exists(ISO_PATH . $branch . "\\" . $filename))
{
$location = ISO_BASE_URL . $branch . "/" . $filename;
header("Location: $location");
return;
}
else
{
printHeader();
printMenu($_POST["revision"]);
echo "<br><b>No ISO exist for branch '" . $branch . "' and revision " . $revision . ".</b><br><br>";
printFooter();
}
}
if (!empty($_POST["getiso"]) && !empty($_POST["branch"]) && !empty($_POST["revision"]) && is_numeric($_POST["revision"]))
main();
else if (!empty($_POST["getnextiso"]) && !empty($_POST["branch"]) && !empty($_POST["revision"]) && is_numeric($_POST["revision"]))
{
printHeader();
printMenu(getNextRevisionISO($_POST["branch"], $_POST["revision"]));
printFooter();
}
else if (!empty($_POST["getlatestiso"]) && !empty($_POST["branch"]))
{
printHeader();
printMenu(getLatestRevisionISO($_POST["branch"]));
printFooter();
}
else
{
printHeader();
printMenu($_POST["revision"]);
printFooter();
}
?>

View File

@@ -9,59 +9,111 @@
#include "File.h"
#include "ssprintf.h"
#include "trim.h"
#include "IRCClient.h"
#include "config.h"
using std::string;
using std::vector;
const char* ArchBlackmann = "ArchBlackmann";
//vector<string> tech, module, dev, stru, period, status, type, func, irql, curse, cursecop;
vector<string> tech, module, dev, stru, period;
void ImportList ( vector<string>& list, const char* filename )
class List
{
File f ( filename, "r" );
public:
string name;
bool macro;
std::vector<std::string> list;
string tag;
int last;
List() { last = -1; }
List ( const char* _name, bool _macro ) : name(_name), macro(_macro)
{
tag = ssprintf("%%%s%%",_name);
last = -1;
}
};
vector<List> lists;
vector<string> ops;
void ImportList ( const char* listname, bool macro )
{
lists.push_back ( List ( listname, macro ) );
List& list = lists.back();
File f ( ssprintf("%s.txt",listname).c_str(), "r" );
string line;
while ( f.next_line ( line, true ) )
list.push_back ( line );
list.list.push_back ( line );
}
const char* ListRand ( const vector<string>& list )
const char* ListRand ( List& list )
{
return list[rand()%list.size()].c_str();
vector<string>& l = list.list;
if ( !l.size() )
{
static string nothing;
nothing = ssprintf ( "<list '%s' empty>", list.name.c_str() );
return nothing.c_str();
}
else if ( l.size() == 1 )
return l[0].c_str();
int sel = list.last;
while ( sel == list.last )
sel = rand()%l.size();
list.last = sel;
return l[sel].c_str();
}
string TechReply()
const char* ListRand ( int i )
{
string t = ListRand(tech);
return ListRand ( lists[i] );
}
int GetListIndex ( const char* listname )
{
for ( int i = 0; i < lists.size(); i++ )
{
if ( !stricmp ( lists[i].name.c_str(), listname ) )
return i;
}
return -1;
}
List& GetList ( const char* listname )
{
return lists[GetListIndex(listname)];
}
const char* ListRand ( const char* list )
{
int i = GetListIndex ( list );
if ( i < 0 )
return NULL;
return ListRand(i);
}
string TaggedReply ( const char* listname )
{
string t = ListRand(listname);
string out;
const char* p = t.c_str();
while ( *p )
{
if ( *p == '%' )
{
if ( !strnicmp ( p, "%dev%", 5 ) )
bool found = false;
for ( int i = 0; i < lists.size() && !found; i++ )
{
out += ListRand(dev);
p += 5;
if ( lists[i].macro && !strnicmp ( p, lists[i].tag.c_str(), lists[i].tag.size() ) )
{
out += ListRand(i);
p += lists[i].tag.size();
found = true;
}
}
else if ( !strnicmp ( p, "%period%", 8 ) )
{
out += ListRand(period);
p += 8;
}
else if ( !strnicmp ( p, "%module%", 8 ) )
{
out += ListRand(module);
p += 8;
}
else if ( !strnicmp ( p, "%stru%", 6 ) )
{
out += ListRand(stru);
p += 6;
}
else
if ( !found )
out += *p++;
}
const char* p2 = strchr ( p, '%' );
@@ -76,14 +128,68 @@ string TechReply()
return out;
}
string gobble ( string& s, const char* delim )
{
const char* p = s.c_str();
p += strspn ( p, delim );
const char* p2 = strpbrk ( p, delim );
if ( !p2 ) p2 = p + strlen(p);
string out ( p, p2-p );
p2 += strspn ( p2, delim );
s = string ( p2 );
return out;
}
bool isop ( const string& who )
{
for ( int i = 0; i < ops.size(); i++ )
{
if ( ops[i] == who )
return true;
}
return false;
}
// do custom stuff with the IRCClient from your subclass via the provided callbacks...
class MyIRCClient : public IRCClient
{
File flog;
clock_t brake_silence;
// wait another 30 mins to brake the silence
#define NOIDLE brake_silence = clock () + 30 * CLK_TCK * 60
void CheckIdle ( void )
{
while (true) // _inRun
{
while (clock() < brake_silence)
Sleep(10000);
string out = TaggedReply("idle");
if ( !strnicmp ( out.c_str(), "/me ", 4 ) )
Action ( CHANNEL, &out[4] );
else
PrivMsg ( CHANNEL, out );
NOIDLE;
}
}
static void THREADAPI CallMe ( MyIRCClient* irc )
{
irc->CheckIdle();
}
public:
MyIRCClient()
{
flog.open ( "arch.log", "w+" );
NOIDLE;
ThreadPool::Instance().Launch ( (ThreadPoolFunc*)MyIRCClient::CallMe, this );
flog.open ( "arch.log", "r+" );
}
// see IRCClient.h for documentation on these callbacks...
bool OnConnected()
@@ -92,6 +198,33 @@ public:
}
bool OnJoin ( const string& user, const string& channel )
{
//printf ( "user '%s' joined channel '%s'\n", user.c_str(), channel.c_str() );
return true;
}
bool OnPart ( const std::string& user, const std::string& channel )
{
std::vector<std::string>::iterator it = ops.begin();
for ( ; it != ops.end(); it++ )
{
if ( *it == user )
{
printf ( "remove '%s' to ops list\n", user.c_str() );
ops.erase ( it );
}
}
return true;
}
bool OnNick ( const std::string& oldNick, const std::string& newNick )
{
for ( int i = 0; i < ops.size(); i++ )
{
if ( ops[i] == oldNick )
{
printf ( "op '%s' changed nick to '%s'\n", oldNick.c_str(), newNick.c_str() );
ops[i] = newNick;
return true;
}
}
return true;
}
bool OnEndChannelUsers ( const string& channel )
@@ -100,32 +233,270 @@ public:
}
bool OnPrivMsg ( const string& from, const string& text )
{
//flog.flush();
printf ( "<%s> %s\n", from.c_str(), text.c_str() );
flog.printf ( "<%s> %s\n", from.c_str(), text.c_str() );
return PrivMsg ( from, "hey, your tongue doesn't belong there!" );
if ( !isop(from) )
return PrivMsg ( from, "hey, your tongue doesn't belong there!" );
else if ( strnicmp ( text.c_str(), "!say ", 5 ) )
return PrivMsg ( from, "Talk to me on normal Chanel" );
string say = trim(&text[5]);
if ( !strnicmp ( say.c_str(), "/me ", 4 ) )
return Action ( CHANNEL, trim(&say[4]) );
else
return PrivMsg ( CHANNEL, trim(say) );
}
bool OnChannelMsg ( const string& channel, const string& from, const string& text )
{
fflush ( flog );
printf ( "%s <%s> %s\n", channel.c_str(), from.c_str(), text.c_str() );
flog.printf ( "%s <%s> %s\n", channel.c_str(), from.c_str(), text.c_str() );
string text2(text);
NOIDLE; // add 30 mins till idle
bool found_name = false;
string text2 ( text );
strlwr ( &text2[0] );
if ( !strnicmp ( text2.c_str(), ArchBlackmann, strlen(ArchBlackmann) ) )
if ( !strnicmp ( text.c_str(), BOTNAME, strlen(BOTNAME) ) )
found_name = true;
string s ( text );
if ( found_name )
gobble ( s, " \t" ); // remove bot name
// command
if ( s[0] == '!' )
{
string reply = ssprintf("%s: %s", from.c_str(), TechReply().c_str());
flog.printf ( "TECH-REPLY: %s\n", reply.c_str() );
return PrivMsg ( channel, reply );
bool from_op = isop(from);
string cmd = gobble ( s, " \t" );
// from all
if ( false && cmd == "!svn" && from == "TechBot" ) // || cmd == "!help" && !TechBotOnline
{
PrivMsg ( channel, "For my help try !what." );
}
// from normel user
else if ( !from_op )
{
if ( cmd == "!grovel" )
{
string out = ssprintf(TaggedReply("nogrovel").c_str(),from.c_str());
if ( !strnicmp ( out.c_str(), "/me ", 4 ) )
return Action ( channel, &out[4] );
else
return PrivMsg ( channel, out );
}
else if ( cmd == "!what" )
{
return PrivMsg ( channel, ssprintf("For you, %s, I only support the \"!grovel\" command.", from.c_str()).c_str() );
}
else if ( cmd == "!grovel" || cmd == "!kiss" || cmd == "!hug"
|| cmd == "!give" || cmd == "!what" || cmd == "!add" || cmd == "!remove" )
{
PrivMsg ( channel, ssprintf("%s: I only take commands from ops",from.c_str()) );
}
}
// from op
else if ( cmd == "!grovel" )
{
string out = ssprintf(TaggedReply("grovel").c_str(),from.c_str());
if ( !strnicmp ( out.c_str(), "/me ", 4 ) )
return Action ( channel, &out[4] );
else
return PrivMsg ( channel, out );
}
else if ( cmd == "!kiss" )
{
if ( s.size() )
return Action ( channel, ssprintf("kisses %s",s.c_str()) );
else
return PrivMsg ( channel, ssprintf("%s: huh?",from.c_str()) );
}
else if ( cmd == "!hug" )
{
if ( s.size() )
return Action ( channel, ssprintf("hugs %s",s.c_str()) );
else
return PrivMsg ( channel, ssprintf("%s: huh?",from.c_str()) );
}
else if ( cmd == "!give" )
{
string who = gobble(s," \t");
if ( who.size() && s.size() )
return Action ( channel, ssprintf("gives %s a %s",who.c_str(),s.c_str()) );
else
return PrivMsg ( channel, ssprintf("%s: huh?",from.c_str()) );
}
else if ( cmd == "!what" )
{
PrivMsg ( channel, "For ops I support the following commands:" );
PrivMsg ( channel, "!grovel" );
PrivMsg ( channel, "!kiss" );
PrivMsg ( channel, "!hug" );
PrivMsg ( channel, "!give" );
PrivMsg ( channel, "!say (the input is a private message)" );
PrivMsg ( channel, "!add" );
PrivMsg ( channel, "!remove" );
PrivMsg ( channel, " - for more info see wiki" );
}
else if ( cmd == "!add" )
{
string listname = gobble ( s, " \t" );
int i = GetListIndex ( listname.c_str() );
if ( i == -1 )
return PrivMsg ( channel, ssprintf("%s: I don't have a list named '%s'",from.c_str(),listname.c_str()) );
List& list = lists[i];
if ( s[0] == '\"' || s[0] == '\'' )
{
char delim = s[0];
const char* p = &s[1];
const char* p2 = strchr ( p, delim );
if ( !p2 )
return PrivMsg ( channel, ssprintf("%s: Couldn't add, unmatched quotes",from.c_str()) );
s = string ( p, p2-p );
}
for ( i = 0; i < list.list.size(); i++ )
{
if ( list.list[i] == s )
return PrivMsg ( channel, ssprintf("%s: entry already exists in list '%s'",from.c_str(),listname.c_str()) );
}
if ( !stricmp ( listname.c_str(), "curse" ) )
strlwr ( &s[0] );
list.list.push_back ( s );
{
File f ( ssprintf("%s.txt",list.name.c_str()), "w" );
for ( i = 0; i < list.list.size(); i++ )
f.printf ( "%s\n", list.list[i].c_str() );
}
return PrivMsg ( channel, ssprintf("%s: entry added to list '%s'",from.c_str(),listname.c_str()) );
}
else if ( cmd == "!remove" )
{
string listname = gobble ( s, " \t" );
int i = GetListIndex ( listname.c_str() );
if ( i == -1 )
return PrivMsg ( channel, ssprintf("%s: I don't have a list named '%s'",from.c_str(),listname.c_str()) );
List& list = lists[i];
if ( s[0] == '\"' || s[0] == '\'' )
{
char delim = s[0];
const char* p = &s[1];
const char* p2 = strchr ( p, delim );
if ( !p2 )
return PrivMsg ( channel, ssprintf("%s: Couldn't add, unmatched quotes",from.c_str()) );
s = string ( p, p2-p );
}
std::vector<std::string>::iterator it = list.list.begin();
for ( ; it != list.list.end(); it++ )
{
if ( *it == s )
{
list.list.erase ( it );
{
File f ( ssprintf("%s.txt",list.name.c_str()), "w" );
it = list.list.begin();
for ( ; it < list.list.end(); it++ )
f.printf ( "%s\n", it->c_str() );
}
return PrivMsg ( channel, ssprintf("%s: entry removed from list '%s'",from.c_str(),listname.c_str()) );
}
}
return PrivMsg ( channel, ssprintf("%s: entry doesn't exist in list '%s'",from.c_str(),listname.c_str()) );
}
else
{
if (found_name)
return PrivMsg ( channel, ssprintf("%s: huh?",from.c_str()) );
}
} // if (command)
bool found_curse = false;
static vector<string>& curse = GetList("curse").list;
text2 = " " + text2 + " ";
for ( int i = 0; i < curse.size() && !found_curse; i++ )
{
if ( strstr ( text2.c_str(), curse[i].c_str() ) )
found_curse = true;
}
if ( found_curse )
{
static List& cursecop = GetList("cursecop");
return PrivMsg ( channel, ssprintf("%s: %s", from.c_str(), ListRand(cursecop)) );
}
string botname (BOTNAME);
strlwr ( &botname[0] );
//botname = " " + botname + " ";
if ( strstr(text2.c_str(), botname.c_str()) || strstr(text2.c_str(), " arch ") || found_name )
{
string out = ssprintf("%s: %s", from.c_str(), TaggedReply("tech").c_str());
flog.printf ( "TECH-REPLY: %s\n", out.c_str() );
if ( !strnicmp ( out.c_str(), "/me ", 4 ) )
return Action ( channel, &out[4] );
else
return PrivMsg ( channel, out );
}
return true;
}
} // On Chanel Message
bool OnChannelMode ( const string& channel, const string& mode )
{
//printf ( "OnChannelMode(%s,%s)\n", channel.c_str(), mode.c_str() );
return true;
}
bool OnUserModeInChannel ( const string& src, const string& channel, const string& user, const string& mode )
bool OnUserModeInChannel ( const string& src, const string& channel, const string& mode, const string& target )
{
//printf ( "OnUserModeInChannel(%s,%s%s,%s)\n", src.c_str(), channel.c_str(), user.c_str(), mode.c_str() );
printf ( "OnUserModeInChannel(%s,%s,%s,%s)\n", src.c_str(), channel.c_str(), mode.c_str(), target.c_str() );
const char* p = mode.c_str();
if ( !p )
return true;
while ( *p )
{
switch ( *p++ )
{
case '+':
while ( *p != 0 && *p != ' ' )
{
if ( *p == 'o' )
{
printf ( "adding '%s' to ops list\n", target.c_str() );
ops.push_back ( target );
}
break;
}
break;
case '-':
while ( *p != 0 && *p != ' ' )
{
if ( *p == 'o' )
{
std::vector<std::string>::iterator it = ops.begin();
for ( ; it != ops.end(); it++ )
{
if ( *it == target )
{
printf ( "remove '%s' to ops list\n", target.c_str() );
ops.erase ( it );
}
}
break;
}
}
}
}
return true;
}
bool OnMode ( const string& user, const string& mode )
@@ -135,64 +506,103 @@ public:
}
bool OnChannelUsers ( const string& channel, const vector<string>& users )
{
printf ( "[%s has %i users]: ", channel.c_str(), users.size() );
//printf ( "[%s has %i users]: ", channel.c_str(), users.size() );
for ( int i = 0; i < users.size(); i++ )
{
if ( i )
if ( users[i][0] == '@' )
ops.push_back ( &users[i][1] );
/*if ( i )
printf ( ", " );
printf ( "%s", users[i].c_str() );
printf ( "%s", users[i].c_str() );*/
}
printf ( "\n" );
//printf ( "\n" );
return true;
}
bool OnKick ( void )
{
Join(CHANNEL);
return true;
}
bool OnBanned ( const std::string& channel )
{
Sleep(10000);
return Join(CHANNEL);
}
};
int main ( int argc, char** argv )
{
srand ( time(NULL) );
ImportList ( tech, "tech.txt" );
ImportList ( stru, "stru.txt" );
ImportList ( dev, "dev.txt" );
ImportList ( period, "period.txt" );
ImportList ( module, "module.txt" );
ImportList ( "dev", true );
ImportList ( "func", true );
ImportList ( "dev", true );
ImportList ( "func", true );
ImportList ( "irql", true );
ImportList ( "module", true );
ImportList ( "period", true );
ImportList ( "status", true );
ImportList ( "stru", true );
ImportList ( "type", true );
ImportList ( "tech", false );
ImportList ( "curse", false );
ImportList ( "cursecop", false );
ImportList ( "grovel", false );
ImportList ( "nogrovel", false );
ImportList ( "idle", false );
#ifdef _DEBUG
printf ( "initializing IRCClient debugging\n" );
IRCClient::SetDebug ( true );
printf ( "calling suStartup()\n" );
suStartup();
printf ( "creating IRCClient object\n" );
MyIRCClient irc;
printf ( "connecting to freenode\n" );
if ( !irc.Connect ( "212.204.214.114" ) ) // irc.freenode.net
#endif//_DEBUG
while (true)
{
printf ( "couldn't connect to server\n" );
return -1;
printf ( "calling suStartup()\n" );
suStartup();
printf ( "creating IRCClient object\n" );
MyIRCClient irc;
printf ( "connecting to freenode\n" );
if ( !irc.Connect ( SERVER ) ) // irc.freenode.net
{
printf ( "couldn't connect to server\n" );
Sleep(10000);
continue;
}
printf ( "sending user command\n" );
if ( !irc.User ( BOTNAME, "reactos.com", SERVER, "ArchBlackmann" ) )
{
printf ( "USER command failed, retying ...\n" );
Sleep(10000);
continue;
}
printf ( "sending nick\n" );
if ( !irc.Nick ( BOTNAME ) )
{
printf ( "NICK command failed, retying ...\n" );
Sleep(10000);
continue;
}
printf ( "setting mode\n" );
if ( !irc.Mode ( MODE ) )
{
printf ( "MODE command failed, retying ...\n" );
Sleep(10000);
continue;
}
printf ( "joining channel\n" );
if ( !irc.Join ( CHANNEL ) )
{
printf ( "JOIN command failed, retying ...\n" );
Sleep(10000);
continue;
}
printf ( "entering irc client processor\n" );
irc.Run ( false ); // do the processing in this thread...
}
printf ( "sending user command\n" );
if ( !irc.User ( "ArchBlackmann", "", "irc.freenode.net", "Arch Blackmann" ) )
{
printf ( "USER command failed\n" );
return -1;
}
printf ( "sending nick\n" );
if ( !irc.Nick ( "ArchBlackmann" ) )
{
printf ( "NICK command failed\n" );
return -1;
}
printf ( "setting mode\n" );
if ( !irc.Mode ( "+i" ) )
{
printf ( "MODE command failed\n" );
return -1;
}
printf ( "joining #ReactOS\n" );
if ( !irc.Join ( "#ReactOS" ) )
{
printf ( "JOIN command failed\n" );
return -1;
}
printf ( "entering irc client processor\n" );
irc.Run ( false ); // do the processing in this thread...
return 0;
}

View File

@@ -110,6 +110,10 @@ SOURCE=.\chomp.h
# End Source File
# Begin Source File
SOURCE=.\config.h
# End Source File
# Begin Source File
SOURCE=.\cram_md5.cpp
# End Source File
# Begin Source File

View File

@@ -14,8 +14,8 @@
#define nelem(x) ( sizeof(x) / sizeof(x[0]) )
#endif//nelem
using File::filesize_t;
using File::fileoff_t;
typedef File::filesize_t filesize_t;
typedef File::fileoff_t fileoff_t;
fileoff_t File::seek ( fileoff_t offset )

View File

@@ -18,7 +18,7 @@
class File
{
public:
#ifdef _MSC_VER
#ifdef WIN32
typedef __int64 fileoff_t;
typedef unsigned __int64 filesize_t;
#else//_MSC_VER

View File

@@ -10,12 +10,13 @@
#include <sstream>
#include "IRCClient.h"
#include "md5.h"
#include "MD5.h"
#include "cram_md5.h"
#include "trim.h"
#include "chomp.h"
#include "SplitJoin.h"
#include "base64.h"
#include "config.h"
using std::string;
using std::stringstream;
@@ -23,6 +24,8 @@ using std::vector;
bool IRCClient::_debug = true;
// see rfc1459 for IRC-Protocoll Reference
IRCClient::IRCClient()
: _timeout(10*60*1000), _inRun(false)
{
@@ -51,7 +54,9 @@ bool
IRCClient::Nick ( const string& nick )
{
_nick = nick;
return Send ( "NICK " + _nick + "\n" );
Send ( "NICK " + _nick + "\n" );
PrivMsg ("NickServ", "IDENTIFY " + (string)PASS);
return true;
}
bool
@@ -75,13 +80,19 @@ IRCClient::Mode ( const string& channel, const string& mode, const string& targe
bool
IRCClient::Join ( const string& channel )
{
return Send ( "JOIN " + channel + "\n" );
return Send("JOIN " + channel + "\n");
}
bool
IRCClient::PrivMsg ( const string& to, const string& text )
{
return Send ( "PRIVMSG " + to + " :" + text + "\n" );
return Send ( "PRIVMSG " + to + " :" + text + '\n' );
}
bool
IRCClient::Action ( const string& to, const string& text )
{
return Send ( "PRIVMSG " + to + " :" + (char)1 + "ACTION " + text + (char)1 + '\n' );
}
bool
@@ -139,7 +150,7 @@ int IRCClient::Run ( bool launch_thread )
{
ThreadPool::Instance().Launch ( (ThreadPoolFunc*)IRCClient::Callback, this );
return 1;
}
}
_inRun = true;
if ( _debug ) printf ( "IRCClient::Run() - waiting for responses\n" );
string buf;
@@ -226,10 +237,41 @@ int IRCClient::Run ( bool launch_thread )
printf ( "!!!:OnRecv failure 5 (PRIVMSG w/o target): %s", buf.c_str() );
continue;
}
if ( tgt[0] == '#' )
OnChannelMsg ( tgt, src, text );
if ( *p == 1 )
{
p++;
p2 = strchr ( p, ' ' );
if ( !p2 ) p2 = p + strlen(p);
cmd = string ( p, p2-p );
strlwr ( &cmd[0] );
p = p2 + 1;
p2 = strchr ( p, 1 );
if ( !p2 )
{
printf ( "!!!:OnRecv failure 6 (no terminating \x01 for initial \x01 found: %s", buf.c_str() );
continue;
}
text = string ( p, p2-p );
if ( cmd == "action" )
{
if ( tgt[0] == '#' )
OnChannelAction ( tgt, src, text );
else
OnPrivAction ( src, text );
}
else
{
printf ( "!!!:OnRecv failure 7 (unrecognized \x01 command '%s': %s", cmd.c_str(), buf.c_str() );
continue;
}
}
else
OnPrivMsg ( src, text );
{
if ( tgt[0] == '#' )
OnChannelMsg ( tgt, src, text );
else
OnPrivMsg ( src, text );
}
}
else if ( cmd == "mode" )
{
@@ -237,38 +279,53 @@ int IRCClient::Run ( bool launch_thread )
//printf ( "[MODE] src='%s' cmd='%s' tgt='%s' text='%s'", src.c_str(), cmd.c_str(), tgt.c_str(), text.c_str() );
//OnMode (
// self mode change:
// [MODE] src=Relic3_14 cmd=mode tgt=Relic3_14 text=+i
// [MODE] src=Nick cmd=mode tgt=Nick text=+i
// channel mode change:
// [MODE] src=Royce3 cmd=mode tgt=#Royce3 text=+o Relic3_14
// [MODE] src=Nick cmd=mode tgt=#Channel text=+o Nick
if ( tgt[0] == '#' )
{
p = text.c_str();
p2 = strchr ( p, ' ' );
if ( !p2 )
OnChannelMode ( tgt, text );
else
if ( p2 && *p2 )
{
string user ( p, p2-p );
string mode ( p, p2-p );
p = p2 + 1;
p += strspn ( p, " " );
OnUserModeInChannel ( src, tgt, user, p );
OnUserModeInChannel ( src, tgt, mode, trim(p) );
}
else
OnChannelMode ( tgt, text );
}
else
OnMode ( tgt, text );
}
else if ( cmd == "join" )
{
mychannel = text;
OnJoin ( src, text );
}
else if ( cmd == "part" )
{
OnPart ( src, text );
}
else if ( cmd == "nick" )
{
OnNick ( src, text );
}
else if ( cmd == "kick" )
{
OnKick ();
}
else if ( isdigit(cmd[0]) )
{
int i = atoi(cmd.c_str());
switch ( i )
{
case 1: // "Welcome!" - i.e. it's okay to issue commands now...
OnConnected();
break;
case 353: // user list for channel....
{
p = text.c_str();
@@ -291,6 +348,7 @@ int IRCClient::Run ( bool launch_thread )
OnChannelUsers ( channel, users );
}
break;
case 366: // END of user list for channel
{
p = text.c_str();
@@ -300,6 +358,38 @@ int IRCClient::Run ( bool launch_thread )
OnEndChannelUsers ( channel );
}
break;
case 474: // You are banned
{
p = text.c_str();
p2 = strpbrk ( p, " :" );
if ( !p2 ) continue;
string channel ( p, p2-p );
OnBanned ( channel );
}
break;
case 433: // Nick in Use
{
string nick = _nick;
Nick (nick + "_");
PrivMsg ("NickServ", "GHOST " + nick + " " + PASS);
// HACK HACK HACK
Mode ( "+i" );
Join ( CHANNEL ); // this is because IRC client does not review if his commands were sucessfull
Sleep ( 1000 );
Nick ( nick );
}
break;
case 2: //MOTD
case 376: //MOTD
case 372:
break;
default:
if ( _debug ) printf ( "unknown command %i: %s", i, buf.c_str() );
break;
@@ -307,7 +397,13 @@ int IRCClient::Run ( bool launch_thread )
}
else
{
if ( _debug ) printf ( "unrecognized ':' response: %s", buf.c_str() );
if ( strstr ( buf.c_str(), "ACTION" ) )
{
printf ( "ACTION: " );
for ( int i = 0; i < buf.size(); i++ )
printf ( "%c(%xh)", buf[i], (unsigned)(unsigned char)buf[i] );
}
else if ( _debug ) printf ( "unrecognized ':' response: %s", buf.c_str() );
}
}
else

View File

@@ -12,9 +12,11 @@
class IRCClient : public suBufferedRecvSocket
{
public:
IRCClient();
std::string mychannel;
static bool GetDebug() { return _debug; }
static bool SetDebug ( bool debug ) { bool old = _debug; _debug = debug; return old; }
@@ -48,6 +50,9 @@ public:
// send message to someone or some channel
bool PrivMsg ( const std::string& to, const std::string& text );
// send /me to someone or some channel
bool Action ( const std::string& to, const std::string& text );
// leave a channel
bool Part ( const std::string& channel, const std::string& text );
@@ -59,32 +64,51 @@ public:
// OnConnected: you just successfully logged into irc server
virtual bool OnConnected() = 0;
// OnJoin: you just successfully joined this channel
virtual bool OnJoin ( const std::string& user, const std::string& channel ) = 0;
virtual bool OnNick ( const std::string& oldNick, const std::string& newNick ) { return true; }
// OnJoin: someone just successfully joined a channel you are in ( also sent when you successfully join a channel )
virtual bool OnJoin ( const std::string& user, const std::string& channel ) { return true; }
// OnPart: someone just left a channel you are in
virtual bool OnPart ( const std::string& user, const std::string& channel ) { return true; }
// OnPrivMsg: you just received a private message from a user
virtual bool OnPrivMsg ( const std::string& from, const std::string& text ) = 0;
virtual bool OnPrivMsg ( const std::string& from, const std::string& text ) { return true; }
virtual bool OnPrivAction ( const std::string& from, const std::string& text ) { return true; }
// OnChannelMsg: you just received a chat line in a channel
virtual bool OnChannelMsg ( const std::string& channel, const std::string& from,
const std::string& text ) = 0;
const std::string& text ) { return true; }
// OnChannelAction: you just received a "/me" line in a channel
virtual bool OnChannelAction ( const std::string& channel, const std::string& from,
const std::string& text ) { return true; }
// OnChannelMode: notification of a change of a channel's mode
virtual bool OnChannelMode ( const std::string& channel, const std::string& mode ) = 0;
virtual bool OnChannelMode ( const std::string& channel, const std::string& mode )
{ return true; }
// OnUserModeInChannel: notification of a mode change of a user with respect to a channel.
// f.ex.: this will be called when someone is oped in a channel.
virtual bool OnUserModeInChannel ( const std::string& src, const std::string& channel,
const std::string& user, const std::string& mode ) = 0;
const std::string& mode, const std::string& target ) { return true; }
// OnMode: you will receive this when you change your own mode, at least...
virtual bool OnMode ( const std::string& user, const std::string& mode ) = 0;
virtual bool OnMode ( const std::string& user, const std::string& mode ) { return true; }
// notification of what users are in a channel ( you may get multiple of these... )
virtual bool OnChannelUsers ( const std::string& channel, const std::vector<std::string>& users ) = 0;
virtual bool OnChannelUsers ( const std::string& channel, const std::vector<std::string>& users )
{ return true; }
// OnKick: if the client has been kicked
virtual bool OnKick ( void ) { return true; }
// OnKick: if the client has been kicked
virtual bool OnBanned ( const std::string& channel ) { return true; }
// notification that you have received the entire list of users for a channel
virtual bool OnEndChannelUsers ( const std::string& channel ) = 0;
virtual bool OnEndChannelUsers ( const std::string& channel ) { return true; }
// OnPing - default implementation replies to PING with a valid PONG. required on some systems to
// log in. Most systems require a response in order to stay connected, used to verify a client hasn't

View File

@@ -53,7 +53,7 @@ public:
{
ASSERT ( i < _end );
reserve ( i + 1 );
_arr[i].reset ( ptr );
_arr[i].reset ( p );
}
void push_back ( auto_ptr<T>& p )

View File

@@ -0,0 +1,7 @@
#define SERVER "irc.freenode.net"
#define BOTNAME "ArchBlackmann"
#define CHANNEL "#ReactOS"
#define MODE "+i"
#define PASS "ilovebunnies"

View File

@@ -2,7 +2,7 @@
// This file is (C) 2004 Royce Mitchell III
// and released under the BSD & LGPL licenses
#include "md5.h"
#include "MD5.h"
#include "cram_md5.h"
#include "base64.h"

View File

@@ -0,0 +1,27 @@
shit
fuck
pussy
ass
ass-
-ass
dumbass
jackass
fatass
asshole
smartass
cunt
fucker
bitch
dick
penile
stfu
omfg
lmao
ass.
-ass.
semprini
goat.cx
ekush
akshor
poop
guten morgen

View File

@@ -0,0 +1,10 @@
You should have your mouth washed out with soap!
This is a clean channel... please watch your language
Please try to keep it clean
Hey, there's children present ( I'm not even a year old yet! )
Could you find a less-offensive way to express yourself, please?
Such language :(
Those aren't nice words to use
Oh, my poor innocent ears :(
Help! My mind is being corrupted!
filthy mouths are not appreciated here

View File

@@ -11,4 +11,5 @@ Exception
blight_
jimtabor
mtempel
Gge
Gge
Alex_Ionescu

580
irc/ArchBlackmann/func.txt Normal file
View File

@@ -0,0 +1,580 @@
CcCanIWrite
CcCopyRead
CcCopyWrite
CcDeferWrite
CcFastCopyRead
CcFastCopyWrite
CcFlushCache
CcGetDirtyPages
CcGetFileObjectFromBcb
CcGetFileObjectFromSectionPtrs
CcGetFlushedValidData
CcGetLsnForFileObject
CcInitializeCacheMap
CcIsThereDirtyData
CcMapData
CcMdlRead
CcMdlReadComplete
CcMdlWriteAbort
CcMdlWriteComplete
CcPinMappedData
CcPinRead
CcPrepareMdlWrite
CcPreparePinWrite
CcPurgeCacheSection
CcRemapBcb
CcRepinBcb
CcScheduleReadAhead
CcSetAdditionalCacheAttributes
CcSetBcbOwnerPointer
CcSetDirtyPageThreshold
CcSetDirtyPinnedData
CcSetFileSizes
CcSetLogHandleForFile
CcSetReadAheadGranularity
CcUninitializeCacheMap
CcUnpinData
CcUnpinDataForThread
CcUnpinRepinnedBcb
CcWaitForCurrentLazyWriterActivity
CcZeroData
DbgLoadImageSymbols
DbgQueryDebugFilterState
DbgSetDebugFilterState
EVENT_TYPE
ExAcquireResourceExclusive
ExAcquireResourceExclusiveLite
ExAcquireResourceSharedLite
ExAcquireSharedStarveExclusive
ExAcquireSharedWaitForExclusive
ExAllocateFromZone
ExAllocatePool
ExAllocatePoolWithQuota
ExAllocatePoolWithQuotaTag
ExAllocatePoolWithTag
ExConvertExclusiveToSharedLite
ExCreateCallback
ExDeleteNPagedLookasideList
ExDeletePagedLookasideList
ExDeleteResource
ExDeleteResourceLite
ExDisableResourceBoostLite
ExEnumHandleTable
ExExtendZone
ExFreePool
ExGetCurrentProcessorCounts
ExGetCurrentProcessorCpuUsage
ExGetExclusiveWaiterCount
ExGetPreviousMode
ExGetSharedWaiterCount
ExInitializeNPagedLookasideList
ExInitializePagedLookasideList
ExInitializeResource
ExInitializeResourceLite
ExInitializeZone
ExInterlockedAddLargeInteger
ExInterlockedAddUlong
ExInterlockedDecrementLong
ExInterlockedExchangeUlong
ExInterlockedExtendZone
ExInterlockedIncrementLong
ExInterlockedInsertHeadList
ExInterlockedInsertTailList
ExInterlockedPopEntryList
ExInterlockedPushEntryList
ExInterlockedRemoveHeadList
ExIsProcessorFeaturePresent
ExIsResourceAcquiredExclusiveLite
ExIsResourceAcquiredSharedLite
ExLocalTimeToSystemTime
ExNotifyCallback
ExPostSystemEvent
ExQueryPoolBlockSize
ExQueueWorkItem
ExRaiseAccessViolation
ExRaiseDatatypeMisalignment
ExRaiseException
ExRaiseHardError
ExRaiseStatus
ExRegisterCallback
ExReinitializeResourceLite
ExReleaseResource
ExReleaseResourceForThread
ExReleaseResourceForThreadLite
ExRosDumpPagedPoolByTag
ExRosQueryPoolTag
ExSetResourceOwnerPointer
ExSetTimerResolution
ExSystemExceptionFilter
ExSystemTimeToLocalTime
ExTryToAcquireResourceExclusiveLite
ExUnregisterCallback
ExUuidCreate
ExVerifySuite
FsRtlAcquireFileExclusive
FsRtlAddMcbEntry
FsRtlAddToTunnelCache
FsRtlAllocateFileLock
FsRtlAllocatePool
FsRtlAllocatePoolWithQuota
FsRtlAllocatePoolWithQuotaTag
FsRtlAllocatePoolWithTag
FsRtlAllocateResource
FsRtlAreNamesEqual
FsRtlBalanceReads
FsRtlCheckLockForReadAccess
FsRtlCheckLockForWriteAccess
FsRtlCopyRead
FsRtlCopyWrite
FsRtlFastCheckLockForRead
FsRtlFastCheckLockForWrite
FsRtlFastUnlockAll
FsRtlFastUnlockAllByKey
FsRtlFastUnlockSingle
FsRtlFindInTunnelCache
FsRtlFreeFileLock
FsRtlGetFileSize
FsRtlGetNextFileLock
FsRtlGetNextMcbEntry
FsRtlIncrementCcFastReadNoWait
FsRtlIncrementCcFastReadNotPossible
FsRtlIncrementCcFastReadResourceMiss
FsRtlIncrementCcFastReadWait
FsRtlInitializeFileLock
FsRtlInitializeMcb
FsRtlInitializeTunnelCache
FsRtlInsertPerFileObjectContext
FsRtlInsertPerStreamContext
FsRtlIsDbcsInExpression
FsRtlIsFatDbcsLegal
FsRtlIsHpfsDbcsLegal
FsRtlIsNameInExpression
FsRtlLookupLastLargeMcbEntryAndIndex
FsRtlLookupLastMcbEntry
FsRtlLookupMcbEntry
FsRtlLookupPerFileObjectContext
FsRtlLookupPerStreamContextInternal
FsRtlMdlRead
FsRtlMdlReadComplete
FsRtlMdlReadCompleteDev
FsRtlMdlReadDev
FsRtlMdlWriteComplete
FsRtlMdlWriteCompleteDev
FsRtlNotifyChangeDirectory
FsRtlNotifyCleanup
FsRtlNotifyFilterChangeDirectory
FsRtlNotifyFilterReportChange
FsRtlNotifyFullChangeDirectory
FsRtlNotifyFullReportChange
FsRtlNotifyReportChange
FsRtlNotifyUninitializeSync
FsRtlNumberOfRunsInMcb
FsRtlPostPagingFileStackOverflow
FsRtlPostStackOverflow
FsRtlPrepareMdlWrite
FsRtlPrepareMdlWriteDev
FsRtlPrivateLock
FsRtlProcessFileLock
FsRtlRegisterFileSystemFilterCallbacks
FsRtlReleaseFile
FsRtlRemoveMcbEntry
FsRtlRemovePerFileObjectContext
FsRtlRemovePerStreamContext
FsRtlResetLargeMcb
FsRtlSyncVolumes
FsRtlTeardownPerStreamContexts
FsRtlTruncateMcb
FsRtlUninitializeFileLock
FsRtlUninitializeMcb
HalAdjustResourceList
HalAllocateCommonBuffer
HalAssignSlotResources
HalCalibratePerformanceCounter
HalFlushCommonBuffer
HalFreeCommonBuffer
HalGetAdapter
HalGetBusData
HalGetBusDataByOffset
HalGetDmaAlignmentRequirement
HalMakeBeep
HalQueryDisplayParameters
HalQueryRealTimeClock
HalReadDmaCounter
HalRequestIpi
HalSetBusData
HalSetBusDataByOffset
HalSetDisplayParameters
HalSetRealTimeClock
HalStartNextProcessor
IoAcquireCancelSpinLock
IoAcquireRemoveLockEx
IoAcquireVpbSpinLock
IoAllocateAdapterChannel
IoAllocateController
IoAllocateDriverObjectExtension
IoAllocateErrorLogEntry
IoAllocateIrp
IoAllocateMdl
IoAllocateWorkItem
IoAssignResources
IoAttachDevice
IoAttachDeviceByPointer
IoAttachDeviceToDeviceStack
IoAttachDeviceToDeviceStackSafe
IoBuildAsynchronousFsdRequest
IoBuildDeviceIoControlRequest
IoBuildPartialMdl
IoBuildSynchronousFsdRequest
IoCallDriver
IoCancelFileOpen
IoCancelIrp
IoCheckQuerySetFileInformation
IoCheckQuerySetVolumeInformation
IoCheckQuotaBufferValidity
IoCheckShareAccess
IoCompleteRequest
IoConnectInterrupt
IoCreateController
IoCreateDevice
IoCreateDisk
IoCreateDriver
IoCreateFile
IoCreateFileSpecifyDeviceObjectHint
IoCreateNotificationEvent
IoCreateStreamFileObject
IoCreateStreamFileObjectEx
IoCreateStreamFileObjectLite
IoCreateSymbolicLink
IoCreateSynchronizationEvent
IoCreateUnprotectedSymbolicLink
IoDeleteController
IoDeleteDevice
IoDeleteDriver
IoDeleteSymbolicLink
IoDetachDevice
IoDisconnectInterrupt
IoEnqueueIrp
IoEnumerateDeviceObjectList
IoFlushAdapterBuffers
IoForwardIrpSynchronously
IoFreeAdapterChannel
IoFreeController
IoFreeErrorLogEntry
IoFreeIrp
IoFreeMapRegisters
IoFreeMdl
IoFreeWorkItem
IoGetAttachedDevice
IoGetAttachedDeviceReference
IoGetBaseFileSystemDeviceObject
IoGetBootDiskInformation
IoGetConfigurationInformation
IoGetCurrentProcess
IoGetDeviceAttachmentBaseRef
IoGetDeviceInterfaceAlias
IoGetDeviceInterfaces
IoGetDeviceObjectPointer
IoGetDeviceProperty
IoGetDeviceToVerify
IoGetDiskDeviceObject
IoGetDriverObjectExtension
IoGetFileObjectGenericMapping
IoGetInitialStack
IoGetLowerDeviceObject
IoGetRelatedDeviceObject
IoGetRequestorProcess
IoGetRequestorProcessId
IoGetRequestorSessionId
IoGetStackLimits
IoGetTopLevelIrp
IoInitializeIrp
IoInitializeRemoveLockEx
IoInitializeTimer
IoInvalidateDeviceRelations
IoInvalidateDeviceState
IoIsFileOriginRemote
IoIsOperationSynchronous
IoIsSystemThread
IoIsValidNameGraftingBuffer
IoMakeAssociatedIrp
IoMapTransfer
IoOpenDeviceInstanceKey
IoOpenDeviceInterfaceRegistryKey
IoOpenDeviceRegistryKey
IoPageRead
IoPnPDeliverServicePowerNotification
IoQueryDeviceDescription
IoQueryDeviceEnumInfo
IoQueryFileDosDeviceName
IoQueryFileInformation
IoQueryVolumeInformation
IoQueueThreadIrp
IoQueueWorkItem
IoRaiseHardError
IoRaiseInformationalHardError
IoReadDiskSignature
IoReadPartitionTableEx
IoRegisterBootDriverReinitialization
IoRegisterDeviceInterface
IoRegisterDriverReinitialization
IoRegisterFileSystem
IoRegisterFsRegistrationChange
IoRegisterLastChanceShutdownNotification
IoRegisterPlugPlayNotification
IoRegisterShutdownNotification
IoReleaseCancelSpinLock
IoReleaseRemoveLockAndWaitEx
IoReleaseRemoveLockEx
IoReleaseVpbSpinLock
IoRemoveShareAccess
IoReportDetectedDevice
IoReportHalResourceUsage
IoReportResourceForDetection
IoReportResourceUsage
IoReportTargetDeviceChange
IoReportTargetDeviceChangeAsynchronous
IoRequestDeviceEject
IoReuseIrp
IoSetCompletionRoutineEx
IoSetDeviceInterfaceState
IoSetDeviceToVerify
IoSetFileOrigin
IoSetHardErrorOrVerifyDevice
IoSetInformation
IoSetIoCompletion
IoSetPartitionInformationEx
IoSetShareAccess
IoSetStartIoAttributes
IoSetSystemPartition
IoSetThreadHardErrorMode
IoSetTopLevelIrp
IoStartNextPacket
IoStartNextPacketByKey
IoStartPacket
IoStartTimer
IoStopTimer
IoSynchronousInvalidateDeviceRelations
IoSynchronousPageWrite
IoUnregisterFileSystem
IoUnregisterFsRegistrationChange
IoUnregisterPlugPlayNotification
IoUnregisterShutdownNotification
IoUpdateShareAccess
IoValidateDeviceIoControlAccess
IoVerifyPartitionTable
IoVerifyVolume
IoVolumeDeviceToDosName
IoWMIAllocateInstanceIds
IoWMIDeviceObjectToInstanceName
IoWMIExecuteMethod
IoWMIHandleToInstanceName
IoWMIOpenBlock
IoWMIQueryAllData
IoWMIQueryAllDataMultiple
IoWMIQuerySingleInstance
IoWMIQuerySingleInstanceMultiple
IoWMIRegistrationControl
IoWMISetNotificationCallback
IoWMISetSingleInstance
IoWMISetSingleItem
IoWMISuggestInstanceName
IoWMIWriteEvent
IoWriteErrorLogEntry
IoWritePartitionTableEx
KPRIORITY
KdPortGetByte
KdPortPollByte
KdPortPutByte
Ke386QueryIoAccessMap
Ke386SetIoAccessMap
KeAcquireInterruptSpinLock
KeAreApcsDisabled
KeCapturePersistentThreadState
KeDeregisterBugCheckReasonCallback
KeFindConfigurationEntry
KeFindConfigurationNextEntry
KeFlushEntireTb
KeFlushQueuedDpcs
KeGetRecommendedSharedDataAlignment
KeIsExecutingDpc
KeQueryActiveProcessors
KeQueryPerformanceCounter
KeQueryPriorityThread
KeQueryRuntimeThread
KeQuerySystemTime
KeQueryTickCount
KeQueryTimeIncrement
KeRaiseIrql
KeRaiseIrqlToDpcLevel
KeRaiseUserException
KeReadStateEvent
KeRegisterBugCheckCallback
KeRegisterBugCheckReasonCallback
KeReleaseInterruptSpinLock
KeReleaseMutant
KeReleaseMutex
KeReleaseSemaphore
KeReleaseSpinLock
KeReleaseSpinLockFromDpcLevel
KeReleaseSpinLockFromDpcLevel
KeRemoveByKeyDeviceQueue
KeRemoveByKeyDeviceQueueIfBusy
KeRemoveDeviceQueue
KeRemoveEntryDeviceQueue
KeRemoveSystemServiceTable
KeRestoreFloatingPointState
KeRevertToUserAffinityThread
KeRosDumpStackFrames
KeRosGetStackFrames
KeRosPrintAddress
KeSaveFloatingPointState
KeSetDmaIoCoherency
KeSetEvent
KeSetEventBoostPriority
KeSetIdealProcessorThread
KeSetKernelStackSwapEnable
KeSetProfileIrql
KeSetSystemAffinityThread
KeSetTimeIncrement
KeTerminateThread
KeUserModeCallback
KeWaitForMutexObject
KeWaitForSingleObject
KiCoprocessorError
KiUnexpectedInterrupt
LONG
LdrFindResourceDirectory_U
MmAddPhysicalMemory
MmAddVerifierThunks
MmAdjustWorkingSetSize
MmAdvanceMdl
MmAllocateContiguousMemory
MmAllocateContiguousMemorySpecifyCache
MmAllocateMappingAddress
MmAllocateNonCachedMemory
MmBuildMdlForNonPagedPool
MmCanFileBeTruncated
MmCreateMdl
MmCreateSection
MmDbgTranslatePhysicalAddress
MmDisableModifiedWriteOfSection
MmFlushImageSection
MmForceSectionClosed
MmFreeContiguousMemory
MmFreeMappingAddress
MmFreeNonCachedMemory
MmGetPhysicalAddress
MmGetPhysicalMemoryRanges
MmGetSystemRoutineAddress
MmGetVirtualForPhysical
MmGrowKernelStack
MmIsAddressValid
MmIsDriverVerifying
MmIsNonPagedSystemAddressValid
MmIsRecursiveIoFault
MmIsThisAnNtAsSystem
MmIsVerifierEnabled
MmLockPagableDataSection
MmLockPagableImageSection
MmLockPagableSectionByHandle
MmMapIoSpace
MmMapLockedPages
MmMapLockedPagesWithReservedMapping
MmMapMemoryDumpMdl
MmMapUserAddressesToPage
MmMapVideoDisplay
MmMapViewInSessionSpace
MmMapViewInSystemSpace
MmMapViewOfSection
MmMarkPhysicalMemoryAsBad
MmMarkPhysicalMemoryAsGood
MmPageEntireDriver
MmPrefetchPages
MmProbeAndLockPages
MmProbeAndLockProcessPages
MmProbeAndLockSelectedPages
MmProtectMdlSystemAddress
MmQuerySystemSize
MmRemovePhysicalMemory
MmResetDriverPaging
MmSecureVirtualMemory
MmSetAddressRangeModified
MmSetBankedSection
MmSizeOfMdl
MmTrimAllSystemPagableMemory
MmUnlockPagableImageSection
MmUnlockPages
MmUnmapIoSpace
MmUnmapLockedPages
MmUnmapReservedMapping
MmUnmapVideoDisplay
MmUnmapViewInSessionSpace
MmUnmapViewInSystemSpace
MmUnmapViewOfSection
MmUnsecureVirtualMemory
OUT
ObCreateObject
PEJOB
PEPROCESS
PKBUGCHECK_CALLBACK_RECORD
PKDEVICE_QUEUE_ENTRY
PKIRQL
PULONG
PVOID
PW32_THREAD_CALLBACK
PoCallDriver
PoRegisterDeviceForIdleDetection
PoRegisterSystemState
PoRequestPowerIrp
PoSetDeviceBusy
PoSetPowerState
PoSetSystemState
PoStartNextPowerIrp
PoUnregisterSystemState
ProbeForRead
ProbeForWrite
PsAssignImpersonationToken
PsCreateSystemProcess
PsCreateSystemThread
PsGetCurrentProcessId
PsGetCurrentThreadId
PsImpersonateClient
PsReferenceImpersonationToken
PsReferencePrimaryToken
PsRevertThreadToSelf
PsRevertToSelf
PsTerminateSystemThread
READ_PORT_BUFFER_UCHAR
READ_PORT_BUFFER_ULONG
READ_PORT_BUFFER_USHORT
READ_PORT_UCHAR
READ_PORT_ULONG
READ_PORT_USHORT
SeAssignSecurityEx
SeAuditHardLinkCreation
SeAuditingFileEvents
SeAuditingFileEventsWithContext
SeAuditingFileOrGlobalEvents
SeAuditingHardLinkEvents
SeAuditingHardLinkEventsWithContext
SeCaptureSecurityDescriptor
SeCaptureSubjectContext
SeCloseObjectAuditAlarm
SeCreateAccessState
SeCreateClientSecurityFromSubjectContext
SeFilterToken
SeImpersonateClientEx
SePrivilegeObjectAuditAlarm
SeQueryInformationToken
SeQuerySessionIdToken
SeReleaseSecurityDescriptor
SeSetSecurityDescriptorInfoEx
SeTokenIsAdmin
SeTokenIsRestricted
SeTokenIsWriteRestricted
WRITE_PORT_BUFFER_UCHAR
WRITE_PORT_BUFFER_ULONG
WRITE_PORT_BUFFER_USHORT
WRITE_PORT_UCHAR
WRITE_PORT_ULONG
WRITE_PORT_USHORT

View File

@@ -0,0 +1,10 @@
/me bows humbly and begs %s's forgiveness
%s is soo cool... I hope to be like him some day
/me hides in a corner and hopes %s doesn't beat him with the whipping noodle again
/me prostrates at %s's feet and begs his majesty's forgiveness
%s: please don't hurt me!
I'm not worthy... I'm not worthy...
/me sings %s's praises to the world!
/me thinks %s is smarter than %dev%
%s: oh please may I defrag your sock drawer?
/me gives %s a cookie, hoping it will make up for breaking %func% the other day...

View File

@@ -0,0 +1 @@
/me is bored

View File

@@ -0,0 +1,9 @@
PASSIVE_LEVEL
APC_LEVEL
DISPATCH_LEVEL
PROFILE_LEVEL
CLOCK1_LEVEL
IPI_LEVEL
POWER_LEVEL
HIGH_LEVEL
SYNCH_LEVEL

View File

@@ -0,0 +1,38 @@
TARGET := ArchBlackmann.exe
.PHONY: all
all: $(TARGET)
CPP=mingw32-g++
CFLAGS := -DWIN32 -D_DEBUG -D_CONSOLE -D_MBCS
LFLAGS :=
LIBS := -lstdc++ -lws2_32
SRCS := ArchBlackmann.cpp \
base64.cpp \
chomp.cpp \
cram_md5.cpp \
File.cpp \
IRCClient.cpp \
MD5.cpp \
panic.cpp \
ReliMT.cpp \
SockUtils.cpp \
SplitJoin.cpp \
ssprintf.cpp \
ThreadPool.cpp \
trim.cpp
OBJS := $(SRCS:.cpp=.o)
$(TARGET): $(OBJS)
$(CPP) $(LFLAGS) -o $@ $(OBJS) $(LIBS)
.cpp.o: $<
$(CPP) $(CFLAGS) -c $< -o $@
.PHONY: clean
clean:
-@del $(TARGET)
-@del $(OBJS)

View File

@@ -0,0 +1,5 @@
/me slaps %s with a large trout
recycle(%s)
Did I hear something? Musta been a %s-fly... Where's that fly-swatter?
%s: go away son, you bother me....
/me beats %s with the whipping noodle

View File

@@ -0,0 +1,44 @@
This doc can be also found on the wiki.
ArchBlackman is a IRC-Chat bot of the #reactos irc channel. He has been coded by Royce3 and DrFred (mbosma) currently runs him.
If some one use a swear word he'll tell him not to do so and you can also ask him something technical about reactos. :)
Besides this he also knows some commands. The systax for giving him commands "ArchBlackmann: !grovel". (don't forget to address him)
- !grovel - This is the only command that non ops can do (No Parameter)
- !kiss <person>
- !hug <person>
- !give <someone> <something>
- !say <something> - You can tell him to say something on the channel via PrivateMessage
ArchBlackmann know what he should say from some text files. They can be found on the svn-dir. But can also edit them online if you are op using:
- !add <list> <item>
- !remove <list> <item>
List that are used directly to create responses are:
- tech - here are the sentences ArchBlackmann says when he finds his name
- curse - this are the curses he looks for
- cursecop - this the responces to them
- grovel - this is said when an op does the grovel command
- nogrovel - this when someone else does it
The remaining lists are not used directly, but by the other lists.
They are:
- dev
- func
- irql
- module
- period
- status
- stru
- type
And they are used like this:
/me thinks %s is smarter than %dev%

View File

@@ -551,7 +551,7 @@ static bool numberfl(std::string& f, long double __n, char exp_sign, int size,
return true;
}
static int string(std::string& f, const char* s, int len, int field_width, int precision, int flags)
static int stringa(std::string& f, const char* s, int len, int field_width, int precision, int flags)
{
int i, done = 0;
if (s == NULL)
@@ -654,7 +654,7 @@ std::string ssvprintf ( const char *fmt, va_list args )
long double _ldouble;
double _double;
const char *s;
const unsigned short* sw;
const wchar_t* sw;
int result;
std::string f;
@@ -793,12 +793,12 @@ std::string ssvprintf ( const char *fmt, va_list args )
case 's':
if (qualifier == 'l' || qualifier == 'w') {
/* print unicode string */
sw = va_arg(args, wchar_t *);
sw = (const wchar_t*)va_arg(args, wchar_t *);
result = stringw(f, sw, -1, field_width, precision, flags);
} else {
/* print ascii string */
s = va_arg(args, char *);
result = string(f, s, -1, field_width, precision, flags);
result = stringa(f, s, -1, field_width, precision, flags);
}
if (result < 0)
{
@@ -811,10 +811,10 @@ std::string ssvprintf ( const char *fmt, va_list args )
if (qualifier == 'h') {
/* print ascii string */
s = va_arg(args, char *);
result = string(f, s, -1, field_width, precision, flags);
result = stringa(f, s, -1, field_width, precision, flags);
} else {
/* print unicode string */
sw = va_arg(args, wchar_t *);
sw = (const wchar_t*)va_arg(args, wchar_t *);
result = stringw(f, sw, -1, field_width, precision, flags);
}
if (result < 0)
@@ -846,7 +846,7 @@ std::string ssvprintf ( const char *fmt, va_list args )
s = pas->Buffer;
len = pas->Length;
}
result = string(f, s, -1, field_width, precision, flags);
result = stringa(f, s, -1, field_width, precision, flags);
}
if (result < 0)
return -1;

View File

@@ -0,0 +1,654 @@
RPC_NT_ALREADY_LISTENING
RPC_NT_ALREADY_REGISTERED
RPC_NT_CALL_FAILED
RPC_NT_CALL_FAILED_DNE
RPC_NT_CANT_CREATE_ENDPOINT
RPC_NT_INVALID_BINDING
RPC_NT_INVALID_ENDPOINT_FORMAT
RPC_NT_INVALID_NETWORK_OPTIONS
RPC_NT_INVALID_NET_ADDR
RPC_NT_INVALID_RPC_PROTSEQ
RPC_NT_INVALID_STRING_BINDING
RPC_NT_INVALID_STRING_UUID
RPC_NT_INVALID_TIMEOUT
RPC_NT_NOT_LISTENING
RPC_NT_NO_BINDINGS
RPC_NT_NO_CALL_ACTIVE
RPC_NT_NO_ENDPOINT_FOUND
RPC_NT_NO_PROTSEQS
RPC_NT_NO_PROTSEQS_REGISTERED
RPC_NT_OBJECT_NOT_FOUND
RPC_NT_OUT_OF_RESOURCES
RPC_NT_PROTOCOL_ERROR
RPC_NT_PROTSEQ_NOT_SUPPORTED
RPC_NT_SERVER_TOO_BUSY
RPC_NT_SERVER_UNAVAILABLE
RPC_NT_SS_IN_NULL_CONTEXT
RPC_NT_TYPE_ALREADY_REGISTERED
RPC_NT_UNKNOWN_IF
RPC_NT_UNKNOWN_MGR_TYPE
RPC_NT_WRONG_KIND_OF_BINDING
STATUS_ABANDONED
STATUS_ABANDONED_WAIT_0
STATUS_ABANDONED_WAIT_63
STATUS_ABIOS_INVALID_COMMAND
STATUS_ABIOS_INVALID_LID
STATUS_ABIOS_INVALID_SELECTOR
STATUS_ABIOS_LID_ALREADY_OWNED
STATUS_ABIOS_LID_NOT_EXIST
STATUS_ABIOS_NOT_LID_OWNER
STATUS_ABIOS_NOT_PRESENT
STATUS_ABIOS_SELECTOR_NOT_AVAILABLE
STATUS_ACCESS_DENIED
STATUS_ACCESS_VIOLATION
STATUS_ACCOUNT_DISABLED
STATUS_ACCOUNT_EXPIRED
STATUS_ACCOUNT_LOCKED_OUT
STATUS_ACCOUNT_RESTRICTION
STATUS_ADAPTER_HARDWARE_ERROR
STATUS_ADDRESS_ALREADY_ASSOCIATED
STATUS_ADDRESS_ALREADY_EXISTS
STATUS_ADDRESS_CLOSED
STATUS_ADDRESS_NOT_ASSOCIATED
STATUS_AGENTS_EXHAUSTED
STATUS_ALERTED
STATUS_ALIAS_EXISTS
STATUS_ALLOCATE_BUCKET
STATUS_ALLOTTED_SPACE_EXCEEDED
STATUS_ALREADY_COMMITTED
STATUS_ALREADY_DISCONNECTED
STATUS_ALREADY_WIN32
STATUS_APP_INIT_FAILURE
STATUS_ARBITRATION_UNHANDLED
STATUS_ARRAY_BOUNDS_EXCEEDED
STATUS_AUDIT_FAILED
STATUS_BACKUP_CONTROLLER
STATUS_BAD_COMPRESSION_BUFFER
STATUS_BAD_CURRENT_DIRECTORY
STATUS_BAD_DESCRIPTOR_FORMAT
STATUS_BAD_DEVICE_TYPE
STATUS_BAD_DLL_ENTRYPOINT
STATUS_BAD_FUNCTION_TABLE
STATUS_BAD_IMPERSONATION_LEVEL
STATUS_BAD_INHERITANCE_ACL
STATUS_BAD_INITIAL_PC
STATUS_BAD_INITIAL_STACK
STATUS_BAD_LOGON_SESSION_STATE
STATUS_BAD_MASTER_BOOT_RECORD
STATUS_BAD_NETWORK_NAME
STATUS_BAD_NETWORK_PATH
STATUS_BAD_REMOTE_ADAPTER
STATUS_BAD_SERVICE_ENTRYPOINT
STATUS_BAD_STACK
STATUS_BAD_TOKEN_TYPE
STATUS_BAD_VALIDATION_CLASS
STATUS_BAD_WORKING_SET_LIMIT
STATUS_BEGINNING_OF_MEDIA
STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT
STATUS_BREAKPOINT
STATUS_BUFFER_OVERFLOW
STATUS_BUFFER_TOO_SMALL
STATUS_BUS_RESET
STATUS_CANCELLED
STATUS_CANNOT_DELETE
STATUS_CANNOT_IMPERSONATE
STATUS_CANNOT_LOAD_REGISTRY_FILE
STATUS_CANT_ACCESS_DOMAIN_INFO
STATUS_CANT_DISABLE_MANDATORY
STATUS_CANT_OPEN_ANONYMOUS
STATUS_CANT_TERMINATE_SELF
STATUS_CANT_WAIT
STATUS_CARDBUS_NOT_SUPPORTED
STATUS_CHECKING_FILE_SYSTEM
STATUS_CHILD_MUST_BE_VOLATILE
STATUS_CLIENT_SERVER_PARAMETERS_INVALID
STATUS_COMMITMENT_LIMIT
STATUS_CONFLICTING_ADDRESSES
STATUS_CONNECTION_ABORTED
STATUS_CONNECTION_ACTIVE
STATUS_CONNECTION_COUNT_LIMIT
STATUS_CONNECTION_DISCONNECTED
STATUS_CONNECTION_INVALID
STATUS_CONNECTION_IN_USE
STATUS_CONNECTION_REFUSED
STATUS_CONNECTION_RESET
STATUS_CONTROL_C_EXIT
STATUS_CONVERT_TO_LARGE
STATUS_COULD_NOT_INTERPRET
STATUS_CRC_ERROR
STATUS_CTL_FILE_NOT_SUPPORTED
STATUS_DATATYPE_MISALIGNMENT
STATUS_DATA_ERROR
STATUS_DATA_LATE_ERROR
STATUS_DATA_NOT_ACCEPTED
STATUS_DATA_OVERRUN
STATUS_DEBUG_ATTACH_FAILED
STATUS_DELETE_PENDING
STATUS_DEVICE_ALREADY_ATTACHED
STATUS_DEVICE_BUSY
STATUS_DEVICE_CONFIGURATION_ERROR
STATUS_DEVICE_DATA_ERROR
STATUS_DEVICE_DOES_NOT_EXIST
STATUS_DEVICE_NOT_CONNECTED
STATUS_DEVICE_NOT_PARTITIONED
STATUS_DEVICE_NOT_READY
STATUS_DEVICE_OFF_LINE
STATUS_DEVICE_PAPER_EMPTY
STATUS_DEVICE_POWERED_OFF
STATUS_DEVICE_POWER_FAILURE
STATUS_DEVICE_PROTOCOL_ERROR
STATUS_DFS_EXIT_PATH_FOUND
STATUS_DFS_UNAVAILABLE
STATUS_DIRECTORY_NOT_EMPTY
STATUS_DISK_CORRUPT_ERROR
STATUS_DISK_FULL
STATUS_DISK_OPERATION_FAILED
STATUS_DISK_RECALIBRATE_FAILED
STATUS_DISK_RESET_FAILED
STATUS_DLL_INIT_FAILED
STATUS_DLL_INIT_FAILED_LOGOFF
STATUS_DLL_NOT_FOUND
STATUS_DOMAIN_CONTROLLER_NOT_FOUND
STATUS_DOMAIN_CTRLR_CONFIG_ERROR
STATUS_DOMAIN_EXISTS
STATUS_DOMAIN_LIMIT_EXCEEDED
STATUS_DOMAIN_TRUST_INCONSISTENT
STATUS_DRIVER_CANCEL_TIMEOUT
STATUS_DRIVER_ENTRYPOINT_NOT_FOUND
STATUS_DRIVER_INTERNAL_ERROR
STATUS_DRIVER_ORDINAL_NOT_FOUND
STATUS_DRIVER_UNABLE_TO_LOAD
STATUS_DUPLICATE_NAME
STATUS_DUPLICATE_OBJECTID
STATUS_EAS_NOT_SUPPORTED
STATUS_EA_CORRUPT_ERROR
STATUS_EA_LIST_INCONSISTENT
STATUS_EA_TOO_LARGE
STATUS_END_OF_FILE
STATUS_END_OF_MEDIA
STATUS_ENTRYPOINT_NOT_FOUND
STATUS_EOM_OVERFLOW
STATUS_EVALUATION_EXPIRATION
STATUS_EVENTLOG_CANT_START
STATUS_EVENTLOG_FILE_CHANGED
STATUS_EVENTLOG_FILE_CORRUPT
STATUS_EVENT_DONE
STATUS_EVENT_PENDING
STATUS_EXTRANEOUS_INFORMATION
STATUS_FAIL_CHECK
STATUS_FATAL_APP_EXIT
STATUS_FILEMARK_DETECTED
STATUS_FILES_OPEN
STATUS_FILE_CLOSED
STATUS_FILE_CORRUPT_ERROR
STATUS_FILE_DELETED
STATUS_FILE_FORCED_CLOSED
STATUS_FILE_INVALID
STATUS_FILE_IS_A_DIRECTORY
STATUS_FILE_IS_OFFLINE
STATUS_FILE_LOCK_CONFLICT
STATUS_FILE_RENAMED
STATUS_FLOAT_DENORMAL_OPERAND
STATUS_FLOAT_DIVIDE_BY_ZERO
STATUS_FLOAT_INEXACT_RESULT
STATUS_FLOAT_INVALID_OPERATION
STATUS_FLOAT_OVERFLOW
STATUS_FLOAT_STACK_CHECK
STATUS_FLOAT_UNDERFLOW
STATUS_FLOPPY_BAD_REGISTERS
STATUS_FLOPPY_ID_MARK_NOT_FOUND
STATUS_FLOPPY_UNKNOWN_ERROR
STATUS_FLOPPY_VOLUME
STATUS_FLOPPY_WRONG_CYLINDER
STATUS_FOUND_OUT_OF_SCOPE
STATUS_FREE_VM_NOT_AT_BASE
STATUS_FS_DRIVER_REQUIRED
STATUS_FT_MISSING_MEMBER
STATUS_FT_ORPHANING
STATUS_FT_READ_RECOVERING_FROM_BACKUP
STATUS_FT_WRITE_RECOVERY
STATUS_FULLSCREEN_MODE
STATUS_GENERIC_NOT_MAPPED
STATUS_GRACEFUL_DISCONNECT
STATUS_GROUP_EXISTS
STATUS_GUARD_PAGE_VIOLATION
STATUS_GUIDS_EXHAUSTED
STATUS_GUID_SUBSTITUTION_MADE
STATUS_HANDLES_CLOSED
STATUS_HANDLE_NOT_CLOSABLE
STATUS_HOST_UNREACHABLE
STATUS_ILLEGAL_CHARACTER
STATUS_ILLEGAL_DLL_RELOCATION
STATUS_ILLEGAL_FLOAT_CONTEXT
STATUS_ILLEGAL_FUNCTION
STATUS_ILLEGAL_INSTRUCTION
STATUS_ILL_FORMED_PASSWORD
STATUS_ILL_FORMED_SERVICE_ENTRY
STATUS_IMAGE_ALREADY_LOADED
STATUS_IMAGE_CHECKSUM_MISMATCH
STATUS_IMAGE_MACHINE_TYPE_MISMATCH
STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE
STATUS_IMAGE_MP_UP_MISMATCH
STATUS_IMAGE_NOT_AT_BASE
STATUS_INCOMPATIBLE_FILE_MAP
STATUS_INFO_LENGTH_MISMATCH
STATUS_INSTANCE_NOT_AVAILABLE
STATUS_INSTRUCTION_MISALIGNMENT
STATUS_INSUFFICIENT_LOGON_INFO
STATUS_INSUFFICIENT_RESOURCES
STATUS_INSUFF_SERVER_RESOURCES
STATUS_INTEGER_DIVIDE_BY_ZERO
STATUS_INTEGER_OVERFLOW
STATUS_INTERNAL_DB_CORRUPTION
STATUS_INTERNAL_DB_ERROR
STATUS_INTERNAL_ERROR
STATUS_INVALID_ACCOUNT_NAME
STATUS_INVALID_ACL
STATUS_INVALID_ADDRESS
STATUS_INVALID_ADDRESS_COMPONENT
STATUS_INVALID_ADDRESS_WILDCARD
STATUS_INVALID_BLOCK_LENGTH
STATUS_INVALID_BUFFER_SIZE
STATUS_INVALID_CID
STATUS_INVALID_COMPUTER_NAME
STATUS_INVALID_CONNECTION
STATUS_INVALID_DEVICE_REQUEST
STATUS_INVALID_DEVICE_STATE
STATUS_INVALID_DISPOSITION
STATUS_INVALID_DOMAIN_ROLE
STATUS_INVALID_DOMAIN_STATE
STATUS_INVALID_EA_FLAG
STATUS_INVALID_EA_NAME
STATUS_INVALID_FILE_FOR_SECTION
STATUS_INVALID_GROUP_ATTRIBUTES
STATUS_INVALID_HANDLE
STATUS_INVALID_HW_PROFILE
STATUS_INVALID_ID_AUTHORITY
STATUS_INVALID_IMAGE_FORMAT
STATUS_INVALID_IMAGE_LE_FORMAT
STATUS_INVALID_IMAGE_NE_FORMAT
STATUS_INVALID_IMAGE_NOT_MZ
STATUS_INVALID_IMAGE_PROTECT
STATUS_INVALID_IMAGE_WIN_16
STATUS_INVALID_INFO_CLASS
STATUS_INVALID_LDT_DESCRIPTOR
STATUS_INVALID_LDT_OFFSET
STATUS_INVALID_LDT_SIZE
STATUS_INVALID_LEVEL
STATUS_INVALID_LOCK_SEQUENCE
STATUS_INVALID_LOGON_HOURS
STATUS_INVALID_LOGON_TYPE
STATUS_INVALID_MEMBER
STATUS_INVALID_NETWORK_RESPONSE
STATUS_INVALID_OPLOCK_PROTOCOL
STATUS_INVALID_OWNER
STATUS_INVALID_PAGE_PROTECTION
STATUS_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_1
STATUS_INVALID_PARAMETER_10
STATUS_INVALID_PARAMETER_11
STATUS_INVALID_PARAMETER_12
STATUS_INVALID_PARAMETER_2
STATUS_INVALID_PARAMETER_3
STATUS_INVALID_PARAMETER_4
STATUS_INVALID_PARAMETER_5
STATUS_INVALID_PARAMETER_6
STATUS_INVALID_PARAMETER_7
STATUS_INVALID_PARAMETER_8
STATUS_INVALID_PARAMETER_9
STATUS_INVALID_PARAMETER_MIX
STATUS_INVALID_PIPE_STATE
STATUS_INVALID_PLUGPLAY_DEVICE_PATH
STATUS_INVALID_PORT_ATTRIBUTES
STATUS_INVALID_PORT_HANDLE
STATUS_INVALID_PRIMARY_GROUP
STATUS_INVALID_QUOTA_LOWER
STATUS_INVALID_READ_MODE
STATUS_INVALID_SECURITY_DESCR
STATUS_INVALID_SERVER_STATE
STATUS_INVALID_SID
STATUS_INVALID_SUB_AUTHORITY
STATUS_INVALID_SYSTEM_SERVICE
STATUS_INVALID_UNWIND_TARGET
STATUS_INVALID_USER_BUFFER
STATUS_INVALID_VARIANT
STATUS_INVALID_VIEW_SIZE
STATUS_INVALID_VLM_OPERATION
STATUS_INVALID_VOLUME_LABEL
STATUS_INVALID_WORKSTATION
STATUS_IN_PAGE_ERROR
STATUS_IO_DEVICE_ERROR
STATUS_IO_PRIVILEGE_FAILED
STATUS_IO_REPARSE_DATA_INVALID
STATUS_IO_REPARSE_TAG_INVALID
STATUS_IO_REPARSE_TAG_MISMATCH
STATUS_IO_REPARSE_TAG_NOT_HANDLED
STATUS_IO_TIMEOUT
STATUS_IP_ADDRESS_CONFLICT1
STATUS_IP_ADDRESS_CONFLICT2
STATUS_KERNEL_APC
STATUS_KEY_DELETED
STATUS_KEY_HAS_CHILDREN
STATUS_LAST_ADMIN
STATUS_LICENSE_QUOTA_EXCEEDED
STATUS_LICENSE_VIOLATION
STATUS_LINK_FAILED
STATUS_LINK_TIMEOUT
STATUS_LM_CROSS_ENCRYPTION_REQUIRED
STATUS_LOCAL_DISCONNECT
STATUS_LOCAL_USER_SESSION_KEY
STATUS_LOCK_NOT_GRANTED
STATUS_LOGIN_TIME_RESTRICTION
STATUS_LOGIN_WKSTA_RESTRICTION
STATUS_LOGON_FAILURE
STATUS_LOGON_NOT_GRANTED
STATUS_LOGON_SERVER_CONFLICT
STATUS_LOGON_SESSION_COLLISION
STATUS_LOGON_SESSION_EXISTS
STATUS_LOGON_TYPE_NOT_GRANTED
STATUS_LOG_FILE_FULL
STATUS_LOG_HARD_ERROR
STATUS_LONGJUMP
STATUS_LOST_WRITEBEHIND_DATA
STATUS_LPC_REPLY_LOST
STATUS_LUIDS_EXHAUSTED
STATUS_MAPPED_ALIGNMENT
STATUS_MAPPED_FILE_SIZE_ZERO
STATUS_MARSHALL_OVERFLOW
STATUS_MEDIA_CHANGED
STATUS_MEDIA_CHECK
STATUS_MEDIA_WRITE_PROTECTED
STATUS_MEMBERS_PRIMARY_GROUP
STATUS_MEMBER_IN_ALIAS
STATUS_MEMBER_IN_GROUP
STATUS_MEMBER_NOT_IN_ALIAS
STATUS_MEMBER_NOT_IN_GROUP
STATUS_MEMORY_NOT_ALLOCATED
STATUS_MESSAGE_NOT_FOUND
STATUS_MISSING_SYSTEMFILE
STATUS_MORE_ENTRIES
STATUS_MORE_PROCESSING_REQUIRED
STATUS_MUTANT_LIMIT_EXCEEDED
STATUS_MUTANT_NOT_OWNED
STATUS_NAME_TOO_LONG
STATUS_NETLOGON_NOT_STARTED
STATUS_NETWORK_ACCESS_DENIED
STATUS_NETWORK_BUSY
STATUS_NETWORK_CREDENTIAL_CONFLICT
STATUS_NETWORK_NAME_DELETED
STATUS_NETWORK_UNREACHABLE
STATUS_NET_WRITE_FAULT
STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
STATUS_NOLOGON_SERVER_TRUST_ACCOUNT
STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT
STATUS_NONCONTINUABLE_EXCEPTION
STATUS_NONEXISTENT_EA_ENTRY
STATUS_NONEXISTENT_SECTOR
STATUS_NONE_MAPPED
STATUS_NOTIFY_CLEANUP
STATUS_NOTIFY_ENUM_DIR
STATUS_NOT_ALL_ASSIGNED
STATUS_NOT_A_DIRECTORY
STATUS_NOT_A_REPARSE_POINT
STATUS_NOT_CLIENT_SESSION
STATUS_NOT_COMMITTED
STATUS_NOT_FOUND
STATUS_NOT_IMPLEMENTED
STATUS_NOT_LOCKED
STATUS_NOT_LOGON_PROCESS
STATUS_NOT_MAPPED_DATA
STATUS_NOT_MAPPED_VIEW
STATUS_NOT_REGISTRY_FILE
STATUS_NOT_SAME_DEVICE
STATUS_NOT_SERVER_SESSION
STATUS_NOT_SUPPORTED
STATUS_NOT_TINY_STREAM
STATUS_NO_BROWSER_SERVERS_FOUND
STATUS_NO_CALLBACK_ACTIVE
STATUS_NO_DATA_DETECTED
STATUS_NO_EAS_ON_FILE
STATUS_NO_EVENT_PAIR
STATUS_NO_GUID_TRANSLATION
STATUS_NO_IMPERSONATION_TOKEN
STATUS_NO_INHERITANCE
STATUS_NO_LDT
STATUS_NO_LOGON_SERVERS
STATUS_NO_LOG_SPACE
STATUS_NO_MATCH
STATUS_NO_MEDIA
STATUS_NO_MEDIA_IN_DEVICE
STATUS_NO_MEMORY
STATUS_NO_MORE_EAS
STATUS_NO_MORE_ENTRIES
STATUS_NO_MORE_FILES
STATUS_NO_MORE_MATCHES
STATUS_NO_PAGEFILE
STATUS_NO_QUOTAS_NO_ACCOUNT
STATUS_NO_SECURITY_ON_OBJECT
STATUS_NO_SPOOL_SPACE
STATUS_NO_SUCH_ALIAS
STATUS_NO_SUCH_DEVICE
STATUS_NO_SUCH_DOMAIN
STATUS_NO_SUCH_FILE
STATUS_NO_SUCH_GROUP
STATUS_NO_SUCH_LOGON_SESSION
STATUS_NO_SUCH_MEMBER
STATUS_NO_SUCH_PACKAGE
STATUS_NO_SUCH_PRIVILEGE
STATUS_NO_SUCH_USER
STATUS_NO_TOKEN
STATUS_NO_TRUST_LSA_SECRET
STATUS_NO_TRUST_SAM_ACCOUNT
STATUS_NO_USER_SESSION_KEY
STATUS_NO_YIELD_PERFORMED
STATUS_NT_CROSS_ENCRYPTION_REQUIRED
STATUS_NULL_LM_PASSWORD
STATUS_OBJECTID_EXISTS
STATUS_OBJECT_EXISTS
STATUS_OBJECT_NAME_COLLISION
STATUS_OBJECT_NAME_EXISTS
STATUS_OBJECT_NAME_INVALID
STATUS_OBJECT_NAME_NOT_FOUND
STATUS_OBJECT_PATH_INVALID
STATUS_OBJECT_PATH_NOT_FOUND
STATUS_OBJECT_PATH_SYNTAX_BAD
STATUS_OBJECT_TYPE_MISMATCH
STATUS_OPEN_FAILED
STATUS_OPLOCK_BREAK_IN_PROCESS
STATUS_OPLOCK_NOT_GRANTED
STATUS_ORDINAL_NOT_FOUND
STATUS_PAGEFILE_CREATE_FAILED
STATUS_PAGEFILE_QUOTA
STATUS_PAGEFILE_QUOTA_EXCEEDED
STATUS_PARITY_ERROR
STATUS_PARTIAL_COPY
STATUS_PARTITION_FAILURE
STATUS_PASSWORD_EXPIRED
STATUS_PASSWORD_MUST_CHANGE
STATUS_PASSWORD_RESTRICTION
STATUS_PATH_NOT_COVERED
STATUS_PENDING
STATUS_PIPE_BROKEN
STATUS_PIPE_BUSY
STATUS_PIPE_CLOSING
STATUS_PIPE_CONNECTED
STATUS_PIPE_DISCONNECTED
STATUS_PIPE_EMPTY
STATUS_PIPE_LISTENING
STATUS_PIPE_NOT_AVAILABLE
STATUS_PLUGPLAY_NO_DEVICE
STATUS_PORT_ALREADY_SET
STATUS_PORT_CONNECTION_REFUSED
STATUS_PORT_DISCONNECTED
STATUS_PORT_MESSAGE_TOO_LONG
STATUS_PORT_UNREACHABLE
STATUS_POSSIBLE_DEADLOCK
STATUS_PREDEFINED_HANDLE
STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED
STATUS_PRINT_CANCELLED
STATUS_PRINT_QUEUE_FULL
STATUS_PRIVILEGED_INSTRUCTION
STATUS_PRIVILEGE_NOT_HELD
STATUS_PROCEDURE_NOT_FOUND
STATUS_PROCESS_IN_JOB
STATUS_PROCESS_IS_TERMINATING
STATUS_PROCESS_NOT_IN_JOB
STATUS_PROFILING_AT_LIMIT
STATUS_PROFILING_NOT_STARTED
STATUS_PROFILING_NOT_STOPPED
STATUS_PROPSET_NOT_FOUND
STATUS_PROTOCOL_UNREACHABLE
STATUS_PWD_HISTORY_CONFLICT
STATUS_PWD_TOO_RECENT
STATUS_PWD_TOO_SHORT
STATUS_QUOTA_EXCEEDED
STATUS_QUOTA_LIST_INCONSISTENT
STATUS_RANGE_LIST_CONFLICT
STATUS_RANGE_NOT_FOUND
STATUS_RANGE_NOT_LOCKED
STATUS_RECEIVE_EXPEDITED
STATUS_RECEIVE_PARTIAL
STATUS_RECEIVE_PARTIAL_EXPEDITED
STATUS_RECOVERY_FAILURE
STATUS_REDIRECTOR_HAS_OPEN_HANDLES
STATUS_REDIRECTOR_NOT_STARTED
STATUS_REDIRECTOR_PAUSED
STATUS_REDIRECTOR_STARTED
STATUS_REGISTRY_CORRUPT
STATUS_REGISTRY_IO_FAILED
STATUS_REGISTRY_QUOTA_LIMIT
STATUS_REGISTRY_RECOVERED
STATUS_REMOTE_DISCONNECT
STATUS_REMOTE_NOT_LISTENING
STATUS_REMOTE_RESOURCES
STATUS_REMOTE_SESSION_LIMIT
STATUS_REPARSE
STATUS_REPLY_MESSAGE_MISMATCH
STATUS_REQUEST_ABORTED
STATUS_REQUEST_NOT_ACCEPTED
STATUS_RESOURCE_DATA_NOT_FOUND
STATUS_RESOURCE_LANG_NOT_FOUND
STATUS_RESOURCE_NAME_NOT_FOUND
STATUS_RESOURCE_NOT_OWNED
STATUS_RESOURCE_TYPE_NOT_FOUND
STATUS_RETRY
STATUS_REVISION_MISMATCH
STATUS_RXACT_COMMITTED
STATUS_RXACT_COMMIT_FAILURE
STATUS_RXACT_COMMIT_NECESSARY
STATUS_RXACT_INVALID_STATE
STATUS_RXACT_STATE_CREATED
STATUS_SAM_INIT_FAILURE
STATUS_SECRET_TOO_LONG
STATUS_SECTION_NOT_EXTENDED
STATUS_SECTION_NOT_IMAGE
STATUS_SECTION_PROTECTION
STATUS_SECTION_TOO_BIG
STATUS_SEGMENT_NOTIFICATION
STATUS_SEMAPHORE_LIMIT_EXCEEDED
STATUS_SERIAL_COUNTER_TIMEOUT
STATUS_SERIAL_MORE_WRITES
STATUS_SERIAL_NO_DEVICE_INITED
STATUS_SERVER_DISABLED
STATUS_SERVER_HAS_OPEN_HANDLES
STATUS_SERVER_NOT_DISABLED
STATUS_SERVICE_NOTIFICATION
STATUS_SETMARK_DETECTED
STATUS_SHARED_IRQ_BUSY
STATUS_SHARING_PAUSED
STATUS_SHARING_VIOLATION
STATUS_SINGLE_STEP
STATUS_SOME_NOT_MAPPED
STATUS_SPECIAL_ACCOUNT
STATUS_SPECIAL_GROUP
STATUS_SPECIAL_USER
STATUS_STACK_OVERFLOW
STATUS_STACK_OVERFLOW_READ
STATUS_SUCCESS
STATUS_SUSPEND_COUNT_EXCEEDED
STATUS_SYNCHRONIZATION_REQUIRED
STATUS_SYSTEM_PROCESS_TERMINATED
STATUS_THREAD_IS_TERMINATING
STATUS_THREAD_NOT_IN_PROCESS
STATUS_THREAD_WAS_SUSPENDED
STATUS_TIMEOUT
STATUS_TIMER_NOT_CANCELED
STATUS_TIMER_RESOLUTION_NOT_SET
STATUS_TIMER_RESUME_IGNORED
STATUS_TIME_DIFFERENCE_AT_DC
STATUS_TOKEN_ALREADY_IN_USE
STATUS_TOO_LATE
STATUS_TOO_MANY_ADDRESSES
STATUS_TOO_MANY_COMMANDS
STATUS_TOO_MANY_CONTEXT_IDS
STATUS_TOO_MANY_GUIDS_REQUESTED
STATUS_TOO_MANY_LINKS
STATUS_TOO_MANY_LUIDS_REQUESTED
STATUS_TOO_MANY_NAMES
STATUS_TOO_MANY_NODES
STATUS_TOO_MANY_OPENED_FILES
STATUS_TOO_MANY_PAGING_FILES
STATUS_TOO_MANY_SECRETS
STATUS_TOO_MANY_SESSIONS
STATUS_TOO_MANY_SIDS
STATUS_TOO_MANY_THREADS
STATUS_TRANSACTION_ABORTED
STATUS_TRANSACTION_INVALID_ID
STATUS_TRANSACTION_INVALID_TYPE
STATUS_TRANSACTION_NO_MATCH
STATUS_TRANSACTION_NO_RELEASE
STATUS_TRANSACTION_RESPONDED
STATUS_TRANSACTION_TIMED_OUT
STATUS_TRUSTED_DOMAIN_FAILURE
STATUS_TRUSTED_RELATIONSHIP_FAILURE
STATUS_TRUST_FAILURE
STATUS_UNABLE_TO_DECOMMIT_VM
STATUS_UNABLE_TO_DELETE_SECTION
STATUS_UNABLE_TO_FREE_VM
STATUS_UNABLE_TO_LOCK_MEDIA
STATUS_UNABLE_TO_UNLOAD_MEDIA
STATUS_UNDEFINED_CHARACTER
STATUS_UNEXPECTED_IO_ERROR
STATUS_UNEXPECTED_MM_CREATE_ERR
STATUS_UNEXPECTED_MM_EXTEND_ERR
STATUS_UNEXPECTED_MM_MAP_ERROR
STATUS_UNEXPECTED_NETWORK_ERROR
STATUS_UNHANDLED_EXCEPTION
STATUS_UNKNOWN_REVISION
STATUS_UNMAPPABLE_CHARACTER
STATUS_UNRECOGNIZED_MEDIA
STATUS_UNRECOGNIZED_VOLUME
STATUS_UNSUCCESSFUL
STATUS_UNSUPPORTED_COMPRESSION
STATUS_UNWIND
STATUS_USER_APC
STATUS_USER_EXISTS
STATUS_USER_MAPPED_FILE
STATUS_USER_SESSION_DELETED
STATUS_VALIDATE_CONTINUE
STATUS_VARIABLE_NOT_FOUND
STATUS_VDM_HARD_ERROR
STATUS_VERIFY_REQUIRED
STATUS_VIRTUAL_CIRCUIT_CLOSED
STATUS_VOLUME_DISMOUNTED
STATUS_VOLUME_MOUNTED
STATUS_WAIT_0
STATUS_WAIT_63
STATUS_WAKE_SYSTEM_DEBUGGER
STATUS_WAS_LOCKED
STATUS_WAS_UNLOCKED
STATUS_WORKING_SET_LIMIT_RANGE
STATUS_WORKING_SET_QUOTA
STATUS_WRONG_PASSWORD
STATUS_WRONG_PASSWORD_CORE
STATUS_WRONG_VOLUME
STATUS_WX86_BREAKPOINT
STATUS_WX86_CONTINUE
STATUS_WX86_CREATEWX86TIB
STATUS_WX86_EXCEPTION_CHAIN
STATUS_WX86_EXCEPTION_CONTINUE
STATUS_WX86_EXCEPTION_LASTCHANCE
STATUS_WX86_FLOAT_STACK_CHECK
STATUS_WX86_INTERNAL_ERROR
STATUS_WX86_SINGLE_STEP
STATUS_WX86_UNSIMULATE

View File

@@ -18,7 +18,7 @@ Don't you know going around dereferncing null pointers all day can be hazardous
Well, duh!
There's a bit in cr3 for problems like that.
Just add a field to the %stru% to keep track of it!
Don't worry about it... the garbage collector in the kernel will clean it up for you.
Don't worry about it... the garbage collector in %module% will clean it up for you.
Did I do that?
Didn't %dev% fix that already?
Yes, I think I've seen that bug before... no... that was another program.
@@ -43,7 +43,7 @@ Hmm.. that seems to have been introduced by my last commit... I bet CVS mixed up
It can't possibly be my fault, so I don't care.
I'm not experiencing that problem, perhaps it's all in your mind.
Well... like a good friend of mine said... "Don't Panic!"
It just shows you how far ReactOS has come along! A year ago a bug like that wouldn't have even been possible!
It just shows you how far ReactOS has come along! A %period% ago a bug like that wouldn't have even been possible!
Just surround the code with an #if 0/#endif block, it solves all my problems!
You know.. if %dev% would just finish %module% for us, we wouldn't be having this problem.
I say we move on to the next function, since we can't seem to figure this one out.
@@ -54,8 +54,20 @@ ask %dev%
Thank you for that amazingly keen insight, Commander Obvious.
Sorry, can't help you right now, trying to track down this bug %dev% caused in %module%
I dont know about that, but I just fixed a problem in %module% for %dev%
How should I know? I'm still trying to figure out this main() thing... ooh! wanna see what I did in the kernel?
How should I know? I'm still trying to figure out this main() thing... ooh! wanna see what I did in %module%?
lol!
*wink*
;)
42
It's gonna take me %period%s to fix all %dev%'s bugs in %module% :(
It's gonna take me over %period% to fix all %dev%'s bugs in %module% :(
How could %func% return %status%!? It bet %dev% broke it! I didn't touch it... honest! no.. really! (me hides)
It's fine if you get %status% there ... just ignore the destruction, and call %func% instead.
%dev% said %status% isn't really an error in this context because we expect %module% to be toast by now
heh, I'm still trying to figure out why %func% is returning %status% when I call it from %module%...
%dev% said it's okay to ignore that as long as you're below %irql%
erm, what do you mean?
damn, I do that all the time
if you want a reply that sounds right, I'd say that %func% support for that is vital to the future of %module%
Sounds like you're having a problem with %func%. I hate that thing... don't talk to me about it.
Just return %status% and forget about it. Someone else will fix it, later.
Blah blah blah... sheesh... can't you figure out *anything*?

1000
irc/ArchBlackmann/type.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +0,0 @@
*.exe
*.o
*.sym

5
os2/apps/directory.xml Normal file
View File

@@ -0,0 +1,5 @@
<group>
<directory name="bepslep">
<xi:include href="bepslep/bepslep.xml" />
</directory>
</group>

340
os2/copying Normal file
View File

@@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

11
os2/directory.xml Normal file
View File

@@ -0,0 +1,11 @@
<group>
<directory name="apps">
<xi:include href="apps/directory.xml" />
</directory>
<directory name="lib">
<xi:include href="lib/directory.xml" />
</directory>
<directory name="server">
<xi:include href="server/os2srv.xml" />
</directory>
</group>

5
os2/lib/directory.xml Normal file
View File

@@ -0,0 +1,5 @@
<group>
<directory name="doscalls">
<xi:include href="doscalls/doscalls.xml" />
</directory>
</group>

View File

@@ -1,5 +0,0 @@
*.exe
*.o
*.sym
*.dll
*.coff

View File

@@ -1 +0,0 @@
*.o

View File

@@ -1,4 +1,4 @@
/* $Id: devices.cpp,v 1.5 2004/01/31 01:29:11 robertk Exp $
/* $Id$
*/
/*
*

View File

@@ -1,38 +1,4 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "OS2 subsystem base services\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "doscalls\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "doscalls.dll\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS-OS/2 subsystem base services\0"
#define REACTOS_STR_INTERNAL_NAME "doscalls\0"
#define REACTOS_STR_ORIGINAL_FILENAME "doscalls.dll\0"
#include <reactos/version.rc>

View File

@@ -0,0 +1,23 @@
<module name="doscalls" type="nativedll">
<importlibrary definition="doscalls.def" />
<include base="doscalls">../../include</include>
<linkerflag>-lgcc</linkerflag>
<directory name="devices">
<file>devices.cpp</file>
<file>ioctl_async.cpp</file>
</directory>
<directory name="file">
<file>directory.cpp</file>
<file>openclose.cpp</file>
</directory>
<directory name="memory">
<file>memory.cpp</file>
</directory>
<directory name="misc">
<file>doscalls.cpp</file>
<file>error.cpp</file>
</directory>
<directory name="run">
<file>process.cpp</file>
</directory>
</module>

View File

@@ -1 +0,0 @@
*.o

View File

@@ -1,4 +1,4 @@
/* $Id: directory.cpp,v 1.1 2002/09/04 22:19:47 robertk Exp $
/* $Id$
*/
/*
*

View File

@@ -1,4 +1,4 @@
/* $Id: openclose.cpp,v 1.5 2004/01/31 01:29:11 robertk Exp $
/* $Id$
*/
/*
*

View File

@@ -0,0 +1,40 @@
// TODO: HEader: To be pasted
// INCL_DOSMEMMGR || !INCL_NOCOMMON
#define INCL_DOSMEMMGR
#undefine INCL_NOCOMMON
#include <os2.h>
// TODO: Expain that this is for memory alloc/free funcs of Os2 api
// TODO: Implement functions and give them bodies
ULONG DosAllocMem (PPVOID pBaseAddress, ULONG ulObjectSize,
ULONG ulAllocationFlags);
ULONG DosAllocSharedMem (PPVOID pBaseAddress, PCSZ pszName,
ULONG ulObjectSize, ULONG ulAllocationFlags);
ULONG DosFreeMem (PVOID pBaseAddress);
ULONG DosGetNamedSharedMem (PPVOID pBaseAddress, PCSZ pszSharedMemName,
ULONG ulAttributeFlags);
ULONG DosGetSharedMem (CPVOID pBaseAddress, ULONG ulAttributeFlags);
ULONG DosGiveSharedMem (CPVOID pBaseAddress, PID idProcessId,
ULONG ulAttributeFlags);
ULONG DosQueryMem (CPVOID pBaseAddress, PULONG pulRegionSize,
PULONG pulAllocationFlags);
ULONG DosSetMem (CPVOID pBaseAddress, ULONG ulRegionSize,
ULONG ulAttributeFlags);
ULONG DosSubAllocMem (PVOID pOffset, PPVOID pBlockOffset, ULONG ulSize);
ULONG DosSubFreeMem (PVOID pOffset, PVOID pBlockOffset, ULONG ulSize);
ULONG DosSubSetMem (PVOID pOffset, ULONG ulFlags, ULONG ulSize);
ULONG DosSubUnsetMem (PVOID pOffset);
// TODO: Add file to makefile

View File

@@ -1 +0,0 @@
*.o

View File

@@ -1,4 +1,4 @@
/* $Id: doscalls.cpp,v 1.1 2002/07/26 00:23:13 robertk Exp $
/* $Id$
*/
/*
*

View File

@@ -1,4 +1,4 @@
/* $Id: error.cpp,v 1.3 2003/01/07 16:23:11 robd Exp $
/* $Id$
*/
/*
*

View File

@@ -1 +0,0 @@
*.o

View File

@@ -1,4 +1,4 @@
/* $Id: process.cpp,v 1.6 2003/01/07 16:23:11 robd Exp $
/* $Id$
*/
/*
*
@@ -31,7 +31,7 @@ APIRET STDCALL DosSleep(ULONG msec)
}
/* $Id: process.cpp,v 1.6 2003/01/07 16:23:11 robd Exp $ */
/* $Id$ */
/* Terminates the current thread or the current Process.
Decission is made by action
FIXME: move this code to OS2.EXE */

14
os2/makefile Normal file
View File

@@ -0,0 +1,14 @@
all:
@echo To build "os2" there are two paths:
@echo ---
@echo 1. copy the os2 folder into the reactos\modules folder
@echo 2. link reactos/modules/os2 to os2
@echo UNIX
@echo cd $${ROS_SRC_ROOT}/reactos/modules
@echo ln -s $${ROS_SRC_ROOT}/os2 os2
@echo WINDOWS
@echo cd %%ROS_SRC_ROOT%%\reactos\modules
@echo junction os2 %%ROS_SRC_ROOT%%\os2
@echo ---
@echo Eventually you can run "make depends" in the %%ROS_SRC_ROOT%%\reactos
@echo directory to compile it.

View File

@@ -1,3 +0,0 @@
*.exe
*.o
*.sym

50
os2/server/dllmain.c Normal file
View File

@@ -0,0 +1,50 @@
/* $Id$
*
* dllmain.c - OS/2 Enviroment Subsystem Server
*
* ReactOS Operating System
*
* --------------------------------------------------------------------
*
* This software is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING.LIB. If not, write
* to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
* MA 02139, USA.
*
* --------------------------------------------------------------------
*/
#include "os2srv.h"
#define NDEBUG
#include <debug.h>
/* DLL entry point */
HANDLE Os2SrvDllHandle = 0;
/* FUNCTIONS *****************************************************************/
BOOL STDCALL
DllMain(HANDLE hDll,
DWORD dwReason,
LPVOID lpReserved)
{
if (DLL_PROCESS_ATTACH == dwReason)
{
Os2SrvDllHandle = hDll;
}
return TRUE;
}
/* EOF */

View File

@@ -1,34 +0,0 @@
# $Id: makefile,v 1.3 2003/01/12 02:03:06 robd Exp $
PATH_TO_TOP = ../../reactos
TARGET_TYPE = program
TARGET_NORC = yes
TARGET_APPTYPE = native
TARGET_NAME = os2ss
TARGET_INSTALLDIR = system32
TARGET_CFLAGS = -D__NTAPP__
TARGET_SDKLIBS = ntdll.a kernel32.a csrss.a
TARGET_GCCLIBS = stdc++
OBJECTS_API =
OBJECTS_MISC = \
$(TARGET_NAME).o
TARGET_OBJECTS = \
$(OBJECTS_API) \
$(OBJECTS_MISC)
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

3
os2/server/os2srv.def Normal file
View File

@@ -0,0 +1,3 @@
LIBRARY os2srv.dll
EXPORTS
ServerDllInitialization@8

13
os2/server/os2srv.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef _OS2SS_H_INCLUDED_
#define _OS2SS_H_INCLUDED_
/* PSDK/NDK Headers */
#include <stdio.h>
#include <windows.h>
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
#include <csr/server.h>
#endif /* ndef _OS2SS_H_INCLUDED_ */

4
os2/server/os2srv.rc Normal file
View File

@@ -0,0 +1,4 @@
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS-OS/2 Environment Subsystem Server\0"
#define REACTOS_STR_INTERNAL_NAME "os2srv\0"
#define REACTOS_STR_ORIGINAL_FILENAME "os2srv.dll\0"
#include <reactos/version.rc>

11
os2/server/os2srv.xml Normal file
View File

@@ -0,0 +1,11 @@
<module name="os2srv" type="nativedll">
<importlibrary definition="os2srv.def" />
<include base="os2srv">.</include>
<define name="__USE_W32API" />
<define name="_DISABLE_TIDENTS" />
<library>ntdll</library>
<library>csrsrv</library>
<file>dllmain.c</file>
<file>server.c</file>
<file>os2srv.rc</file>
</module>

View File

@@ -1,157 +0,0 @@
/* $Id: os2ss.cpp,v 1.2 2003/01/07 16:23:12 robd Exp $
*
* reactos/subsys/csrss/api/process.c
*
* "\windows\ApiPort" port process management functions
*
* ReactOS Operating System
*/
// TODO: Rewrite the whole file. This is just a copy
#include <ddk/ntddk.h>
#include <ntdll/rtl.h>
#include <ntos/synch.h>
extern "C" {
BOOL CsrServerInitialization(ULONG ArgumentCount, PWSTR *ArgumentArray);
VOID DisplayString(LPCWSTR lpwString);
//BOOL STDCALL CsrServerInitialization (ULONG ArgumentCount, PWSTR *ArgumentArray);
//VOID STDCALL DisplayString(LPCWSTR lpwString);
//VOID STDCALL PrintString (char* fmt, ...);
//NTSTATUS STDCALL NtDisplayString(IN PUNICODE_STRING DisplayString);
void
DisplayString(LPCWSTR lpwString)
{
UNICODE_STRING us;
RtlInitUnicodeString(&us, lpwString);
NtDisplayString(&us);
}
/*
void
PrintString(char* fmt,...)
{
char buffer[512];
va_list ap;
UNICODE_STRING UnicodeString;
ANSI_STRING AnsiString;
va_start(ap, fmt);
vsprintf(buffer, fmt, ap);
va_end(ap);
RtlInitAnsiString(&AnsiString, buffer);
RtlAnsiStringToUnicodeString(&UnicodeString,
&AnsiString,
TRUE);
NtDisplayString(&UnicodeString);
RtlFreeUnicodeString(&UnicodeString);
}
*/
}
/* server variables */
int NumProcesses;
/* Native image's entry point */
void NtProcessStartup (PPEB Peb)
{
PRTL_USER_PROCESS_PARAMETERS ProcParams;
PWSTR ArgBuffer;
PWSTR *argv;
ULONG argc = 0;
int i = 0;
int afterlastspace = 0;
OBJECT_ATTRIBUTES ObjectAttributes;
HANDLE CsrssInitEvent;
UNICODE_STRING UnicodeString;
NTSTATUS Status;
ProcParams = RtlNormalizeProcessParams (Peb->ProcessParameters);
argv = (PWSTR *)RtlAllocateHeap (Peb->ProcessHeap,
0, 512 * sizeof(PWSTR));
ArgBuffer = (PWSTR)RtlAllocateHeap (Peb->ProcessHeap,
0,
ProcParams->CommandLine.Length + sizeof(WCHAR));
memcpy (ArgBuffer,
ProcParams->CommandLine.Buffer,
ProcParams->CommandLine.Length + sizeof(WCHAR));
while (ArgBuffer[i])
{
if (ArgBuffer[i] == L' ')
{
argc++;
ArgBuffer[i] = L'\0';
argv[argc-1] = &(ArgBuffer[afterlastspace]);
i++;
while (ArgBuffer[i] == L' ')
i++;
afterlastspace = i;
}
else
{
i++;
}
}
if (ArgBuffer[afterlastspace] != L'\0')
{
argc++;
ArgBuffer[i] = L'\0';
argv[argc-1] = &(ArgBuffer[afterlastspace]);
}
RtlInitUnicodeString(&UnicodeString,
L"\\CsrssInitDone");
InitializeObjectAttributes(&ObjectAttributes,
&UnicodeString,
EVENT_ALL_ACCESS,
0,
NULL);
Status = NtOpenEvent(&CsrssInitEvent,
EVENT_ALL_ACCESS,
&ObjectAttributes);
if (!NT_SUCCESS(Status))
{
DbgPrint("CSR: Failed to open csrss notification event\n");
}
if (CsrServerInitialization (argc, argv) == TRUE)
{
NtSetEvent(CsrssInitEvent,
NULL);
RtlFreeHeap (Peb->ProcessHeap,
0, argv);
RtlFreeHeap (Peb->ProcessHeap,
0,
ArgBuffer);
/* terminate the current thread only */
NtTerminateThread( NtCurrentThread(), 0 );
}
else
{
DisplayString( L"CSR: Subsystem initialization failed.\n" );
RtlFreeHeap (Peb->ProcessHeap,
0, argv);
RtlFreeHeap (Peb->ProcessHeap,
0,
ArgBuffer);
/*
* Tell SM we failed.
*/
NtTerminateProcess( NtCurrentProcess(), 0 );
}
}

84
os2/server/server.c Normal file
View File

@@ -0,0 +1,84 @@
/* $Id$
*
* server.c - OS/2 Enviroment Subsystem Server - Initialization
*
* ReactOS Operating System
*
* --------------------------------------------------------------------
*
* This software is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING.LIB. If not, write
* to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
* MA 02139, USA.
*
* --------------------------------------------------------------------
*/
#include "os2srv.h"
//#define NDEBUG
#include <debug.h>
HANDLE Os2ApiPort = NULL;
/**********************************************************************
* NAME PRIVATE
* Os2StaticServerThread/1
*/
VOID STDCALL Os2StaticServerThread (PVOID x)
{
NTSTATUS Status = STATUS_SUCCESS;
PPORT_MESSAGE Request = (PPORT_MESSAGE) x;
PPORT_MESSAGE Reply = NULL;
ULONG MessageType = 0;
DPRINT("VMSSRV: %s called\n", __FUNCTION__);
MessageType = Request->u2.s2.Type;
DPRINT("VMSSRV: %s received a message (Type=%d)\n",
__FUNCTION__, MessageType);
switch (MessageType)
{
default:
Reply = Request;
Status = NtReplyPort (Os2ApiPort, Reply);
break;
}
}
/*=====================================================================
* PUBLIC API
*===================================================================*/
NTSTATUS STDCALL ServerDllInitialization (ULONG ArgumentCount,
LPWSTR *Argument)
{
NTSTATUS Status = STATUS_SUCCESS;
DPRINT("VMSSRV: %s called\n", __FUNCTION__);
// Get the listening port from csrsrv.dll
Os2ApiPort = CsrQueryApiPort ();
if (NULL == Os2ApiPort)
{
return STATUS_UNSUCCESSFUL;
}
// Register our message dispatcher
Status = CsrAddStaticServerThread (Os2StaticServerThread);
if (NT_SUCCESS(Status))
{
//TODO: perform the real OS/2 server internal initialization here
}
return Status;
}
/* EOF */

View File

@@ -1,154 +1,14 @@
# $Id: Makefile,v 1.7 2003/01/05 18:29:41 robd Exp $
#
# ReactOS POSIX+ Personality
#
PATH_TO_TOP = ../reactos
include $(PATH_TO_TOP)/rules.mak
POSIX_OTHER = server #lib
POSIX_TOOLS = mksystab
POSIX_LIBS = psxdll psxx
POSIX_APPS = baresh posixw32
POSIX_MODULES = $(POSIX_OTHER) $(POSIX_TOOLS) $(POSIX_LIBS) $(POSIX_APPS)
all: implib $(POSIX_MODULES)
implib: $(POSIX_MODULES:%=%_implib)
clean: $(POSIX_MODULES:%=%_clean)
install: $(POSIX_MODULES:%=%_install)
#dist: $(TOOLS_PATH)/rcopy$(EXE_POSTFIX) dist_clean dist_dirs \
# $(POSIX_MODULES:%=%_dist)
.PHONY: all implib clean
#.PHONY: all implib install dist
#
# Other POSIX+ Modules
#
$(POSIX_OTHER): %:
make -f Makefile -C $(POSIX_PATH)/$*
$(POSIX_OTHER:%=%_implib): %_implib:
make -f Makefile -C $(POSIX_PATH)/$* implib
$(POSIX_OTHER:%=%_clean): %_clean:
make -f Makefile -C $(POSIX_PATH)/$* clean
$(POSIX_OTHER:%=%_dist): %_dist:
make -f Makefile -C $(POSIX_PATH)/$* dist
$(POSIX_OTHER:%=%_install): %_install:
make -f Makefile -C $(POSIX_PATH)/$* install
.PHONY: $(POSIX_OTHER) $(POSIX_OTHER:%=%_implib) $(POSIX_OTHER:%=%_clean) $(POSIX_OTHER:%=%_install) $(POSIX_OTHER:%=%_dist)
#
# POSIX+ Tools
#
$(POSIX_TOOLS): %:
make -f Makefile -C $(POSIX_PATH)/tools/$*
$(POSIX_TOOLS:%=%_implib): %_implib:
make -f Makefile -C $(POSIX_PATH)/tools/$* implib
$(POSIX_TOOLS:%=%_clean): %_clean:
make -f Makefile -C $(POSIX_PATH)/tools/$* clean
$(POSIX_TOOLS:%=%_dist): %_dist:
make -f Makefile -C $(POSIX_PATH)/tools/$* dist
$(POSIX_TOOLS:%=%_install): %_install:
make -f Makefile -C $(POSIX_PATH)/tools/$* install
.PHONY: $(POSIX_LIBS) $(POSIX_LIBS:%=%_implib) $(POSIX_LIBS:%=%_clean) $(POSIX_LIBS:%=%_install) $(POSIX_LIBS:%=%_dist)
#
# POSIX+ DLLs
#
$(POSIX_LIBS): %:
make -f Makefile -C $(POSIX_PATH)/lib/$*
$(POSIX_LIBS:%=%_implib): %_implib:
make -f Makefile -C $(POSIX_PATH)/lib/$* implib
$(POSIX_LIBS:%=%_clean): %_clean:
make -f Makefile -C $(POSIX_PATH)/lib/$* clean
$(POSIX_LIBS:%=%_dist): %_dist:
make -f Makefile -C $(POSIX_PATH)/lib/$* dist
$(POSIX_LIBS:%=%_install): %_install:
make -f Makefile -C $(POSIX_PATH)/lib/$* install
.PHONY: $(POSIX_LIBS) $(POSIX_LIBS:%=%_implib) $(POSIX_LIBS:%=%_clean) $(POSIX_LIBS:%=%_install) $(POSIX_LIBS:%=%_dist)
#
# POSIX+ Programs
#
$(POSIX_APPS): %:
make -f Makefile -C $(POSIX_PATH)/apps/$*
$(POSIX_APPS:%=%_implib): %_implib:
make -f Makefile -C $(POSIX_PATH)/apps/$* implib
$(POSIX_APPS:%=%_clean): %_clean:
make -f Makefile -C $(POSIX_PATH)/apps/$* clean
$(POSIX_APPS:%=%_dist): %_dist:
make -f Makefile -C $(POSIX_PATH)/apps/$* dist
$(POSIX_APPS:%=%_install): %_install:
make -f Makefile -C $(POSIX_PATH)/apps/$* install
.PHONY: $(POSIX_APPS) $(POSIX_APPS:%=%_implib) $(POSIX_APPS:%=%_clean) $(POSIX_APPS:%=%_install) $(POSIX_APPS:%=%_dist)
etags:
find . -name "*.[ch]" -print | etags --language=c -
# EOF
#CFLAGS=-Iinclude
#all: lib/crt0w32.o
# make -C tools
# make -C lib
# make -C server
# make -C lib/psxdll
# make -C lib/psxx
# make -C apps/baresh
# make -C apps/posixw32
#lib/crt0w32.o: lib/crt0w32.c
#implib:
#clean:
# make -C lib clean
# make -C tools clean
# make -C server clean
# make -C lib/psxdll clean
# make -C lib/psxx clean
# make -C apps/baresh clean
# make -C apps/posixw32 clean
# - $(RM) lib/crt0w32.o
#include $(PATH_TO_TOP)/rules.mak
# EOF
all:
@echo To build "posix" there are two paths:
@echo ---
@echo 1. copy the posix folder into the reactos\modules folder
@echo 2. link reactos/modules/posix to posix
@echo UNIX
@echo cd $${ROS_SRC_ROOT}/reactos/modules
@echo ln -s $${ROS_SRC_ROOT}/posix posix
@echo WINDOWS
@echo cd %%ROS_SRC_ROOT%%\reactos\modules
@echo junction posix %%ROS_SRC_ROOT%%\posix
@echo ---
@echo Eventually you can run "make depends" in the %%ROS_SRC_ROOT%%\reactos
@echo directory to compile it.

340
posix/copying Normal file
View File

@@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

14
posix/directory.xml Normal file
View File

@@ -0,0 +1,14 @@
<group>
<directory name="tools">
<xi:include href="tools/directory.xml" />
</directory>
<directory name="apps">
<xi:include href="apps/directory.xml" />
</directory>
<directory name="lib">
<xi:include href="lib/directory.xml" />
</directory>
<directory name="server">
<xi:include href="server/psxsrv.xml" />
</directory>
</group>

View File

@@ -4,7 +4,7 @@ Emanuele Aliberti <ea@iol.it>
Robert Bergkvist <fragdance@hotmail.com>
Hartmut Birr <hartmut.birr@gmx.de>
Aleksey Bragin <aleksey@studiocerebral.com>
Richard Campbell <eek2121@comcast.net>
Richard Campbell <betam4x@gmail.com>
Gunnar Andre' Dalsnes <hardon@online.no>
Arindam Das
Boudewijn Dekker <ariadne@xs4all.nl>
@@ -46,6 +46,7 @@ Jason Weiler
David Welch <welch@cwcom.net>
Jonathan Wilson <jonwil@tpgi.com.au>
Art Yerkes <ayerkes@speakeasy.net>
Magnus Olsen (magnus@greatlord.com)
Graphic Design from

View File

@@ -7,67 +7,72 @@ ReactOS from http://www.reactos.com.
2. Building ReactOS
To build from Windows run 'make' (wihout the quotes) from the top directory.
To build from unix, edit rules.mak and change the PREFIX variable to the
correct value for your cross-compiler. Run 'export HOST=mingw32-linux' to
tell the ReactOS build system that it is building ReactOS on a linux machine.
Now run 'make'.
2.1 Building the binaries
To build ReactOS run 'make' (wihout the quotes) if you are building on Linux
or 'mingw32-make' if you are building on Windows (or ReactOS) from the top
directory.
2.2 Building a bootable CD image
To build a bootable CD image run 'make bootcd' (wihout the quotes) if you are
building on Linux or 'mingw32-make bootcd' if you are building on Windows (or
ReactOS) from the top directory. This will create a CD image with a filename,
ReactOS.iso, in the top directory.
3. Installation
The system can only be installed on the first partition on the first harddisk.
The partition must be formatted as FAT16 or FAT32. The system can only be
started from DOS and not from a Windows DOS-prompt.
ReactOS can only be installed on a machine that has a FAT16 or FAT32 partition
as the active (bootable) partition. The partition on which ReactOS is to be
installed (which may or may not be the bootable partition) must also be
formatted as FAT16 or FAT32. ReactOS Setup can format the partitions if
needed.
ReactOS can be installed from the source distribution or from the binary
ReactOS can be installed from the source distribution or from the bootable CD
distribution. The two ways to install ReactOS are explained below.
3.1 Installation from sources
To install ReactOS after building it, type 'make install'. This will create
the directory 'reactos' in the top directory. Copy this directory to the root
of your first partition on your first harddisk. This is usually c:\ on a
Windows machine.
If you don't have an existing ReactOS installation you want to upgrade, then
build a bootable CD as described above. Burn the CD image, boot from it, and
follow the instructions to install ReactOS.
If you don't want to copy the files manually every time you run a 'make install',
you can specify the directory where the files are to be copied to during
installation.
If you have an existing ReactOS installation you want to upgrade, then to
install ReactOS after building it, type 'make install' or
'mingw32-make install'. This will create the directory 'reactos' in the top
directory. Copy the contents of this directory over the existing installation.
In rules.mak find the variable INSTALL_DIR and change the assigned value to the
name of the directory where the files are to be copied to. If you are using
Windows this could be:
If you don't want to copy the files manually every time you run a
'make install' or 'mingw32-make install', then you can specify the directory
where the files are to be copied to during installation.
INSTALL_DIR = c:\reactos
Set the ROS_INSTALL environment variable. If you are on Windows this could be
done by:
If you are on linux this could be:
set ROS_INSTALL=c:\reactos
INSTALL_DIR = /mnt/windows/reactos
If you are on Linux this could be done by:
Save the changes to rules.mak and run 'make install' to install the files to
the new location. If you don't want to change rules.mak, you can specify the
installtion directory when invoking make. Run
'make INSTALL_DIR=c:\reactos install' to install to c:\reactos.
export ROS_INSTALL=/mnt/windows/reactos
Now run 'make install' or 'mingw32-make install' to install the files to the
new location.
3.2 Installation from binany distribution
3.2 Installation from bootable CD distribution
To install ReactOS from the binary distribution, extract the archive contents
to c:\reactos. Remember to extract the files with full paths.
4. Booting ReactOS
Startup in DOS mode. 'cd' to c:\reactos and type 'boot' and press <enter>.
A simple shell is started where you can use simple commands like 'cd' and 'dir'.
To install ReactOS from the bootable CD distribution, extract the archive
contents. Then burn the CD image, boot from it, and follow instructions.
5. Help
If you run into problems or have suggestions for making ReactOS better, please
surf to the address below and subscribe to one or more of the mailing lists.
visit the address below and subscribe to one or more of the mailing lists.
http://www.reactos.com/index.php?tab=discussion&section=lists
http://www.reactos.com/en/content/view/full/66
ReactOS Development Team

View File

@@ -1,5 +0,0 @@
# Main jamfile for ReactOS
SubDir ROS_TOP ;
SubInclude ROS_TOP Lib ;

View File

@@ -1,54 +0,0 @@
# customization for ReactOS goes here
# The SharedLibrary and SharedLibraryFromObjects rules were
# borrowed from here:
# http://www.differentpla.net/~roger/devel/jam/tutorial/shared_lib/index.html
SUFSHR = .dll ;
RM = rm ; # rm comes with MinGW, and the default del doesn't work in some cases
rule SharedLibrary
{
SharedLibraryFromObjects $(<) : $(>:S=$(SUFOBJ)) ;
Objects $(>) ;
}
rule SharedLibraryFromObjects
{
local _s _t ;
# Add grist to file names
# Add suffix to dll
_s = [ FGristFiles $(>) ] ;
_t = [ FAppendSuffix $(<) : $(SUFSHR) ] ;
if $(_t) != $(<)
{
DEPENDS $(<) : $(_t) ;
NOTFILE $(<) ;
}
# make compiled sources a dependency of target
DEPENDS exe : $(_t) ;
DEPENDS $(_t) : $(_s) ;
MakeLocate $(_t) : $(LOCATE_TARGET) ;
Clean clean : $(_t) ;
Link $(_t) : $(_s) ;
}
# nasm needs to know the output file first, or it doesn't
# recognize -I :(
actions As
{
$(AS) -o $(<) $(ASFLAGS) -I$(HDRS) $(>)
}
AS = nasm ;
# why isn't DEFINES working? :(
#DEFINES += _M_IX86 ;
CCFLAGS += -D_M_IX86 ;

File diff suppressed because it is too large Load Diff

80
reactos/ReactOS.xml Normal file
View File

@@ -0,0 +1,80 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<project name="ReactOS" makefile="makefile.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config.xml">
<xi:fallback>
<xi:include href="config.template.xml" />
</xi:fallback>
</xi:include>
<xi:include href="baseaddress.xml" />
<define name="_M_IX86" />
<if property="MP" value="1">
<define name="CONFIG_SMP" value="1" />
</if>
<if property="DBG" value="1">
<define name="DBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="DBG" value="0">
<compilerflag>-Os</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="KDBG" value="1">
<define name="KDBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<compilerflag>-Wpointer-arith</compilerflag>
<include>include</include>
<include>include/reactos</include>
<include>include/libs</include>
<include>include/drivers</include>
<include>include/subsys</include>
<include>w32api/include</include>
<include>w32api/include/ddk</include>
<directory name="apps">
<xi:include href="apps/directory.xml" />
</directory>
<directory name="boot">
<xi:include href="boot/boot.xml" />
</directory>
<directory name="bootdata">
<xi:include href="bootdata/bootdata.xml" />
</directory>
<directory name="drivers">
<xi:include href="drivers/directory.xml" />
</directory>
<directory name="hal">
<xi:include href="hal/directory.xml" />
</directory>
<directory name="include">
<xi:include href="include/directory.xml" />
</directory>
<directory name="lib">
<xi:include href="lib/directory.xml" />
</directory>
<directory name="media">
<xi:include href="media/directory.xml" />
</directory>
<directory name="modules">
<xi:include href="modules/directory.xml" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.xml" />
</directory>
<directory name="regtests">
<xi:include href="regtests/directory.xml" />
</directory>
<directory name="services">
<xi:include href="services/directory.xml" />
</directory>
<directory name="subsys">
<xi:include href="subsys/directory.xml" />
</directory>
</project>

View File

@@ -1,13 +0,0 @@
# $Id$
#
# ReactOS apps and tools makefile to generate Doxygen documentation
#
docu:
doxygen Doxyfile
.PHONY: docu
# EOF

View File

@@ -0,0 +1,3 @@
<directory name="utils">
<xi:include href="utils/directory.xml" />
</directory>

View File

@@ -1,162 +0,0 @@
#
# ReactOS system testsets makefile
#
PATH_TO_TOP = ../..
include $(PATH_TO_TOP)/rules.mak
# Testset applications
TEST_SETS = loadlib
TEST_KERNEL32 =
TEST_MSVCRT =
TEST_COM =
TEST_SEH =
TEST_REGRESSIONS =
all: $(TEST_SETS) $(TEST_KERNEL32) $(TEST_MSVCRT) $(TEST_COM) $(TEST_SEH) $(TEST_REGRESSIONS)
depends:
implib: $(TEST_SETS:%=%_implib) \
$(TEST_KERNEL32:%=%_implib) \
$(TEST_MSVCRT:%=%_implib) \
$(TEST_COM:%=%_implib) \
$(TEST_SEH:%=%_implib) \
$(TEST_REGRESSIONS:%=%_implib)
clean: $(TEST_SETS:%=%_clean) \
$(TEST_KERNEL32:%=%_clean) \
$(TEST_MSVCRT:%=%_clean) \
$(TEST_COM:%=%_clean) \
$(TEST_SEH:%=%_clean) \
$(TEST_REGRESSIONS:%=%_clean)
install: $(TEST_SETS:%=%_install) \
$(TEST_KERNEL32:%=%_install) \
$(TEST_MSVCRT:%=%_install) \
$(TEST_COM:%=%_install) \
$(TEST_SEH:%=%_install) \
$(TEST_REGRESSIONS:%=%_install)
.PHONY: all depends implib clean install
#
# Testset Applications
#
$(TEST_SETS): %:
$(MAKE) -C $*
$(TEST_SETS:%=%_implib): %_implib:
$(MAKE) -C $* implib
$(TEST_SETS:%=%_clean): %_clean:
$(MAKE) -C $* clean
$(TEST_SETS:%=%_install): %_install:
$(MAKE) -C $* install
.PHONY: $(TEST_SETS) $(TEST_SETS:%=%_implib) $(TEST_SETS:%=%_clean) $(TEST_SETS:%=%_install)
#
# Kernel32 Test Applications
#
$(TEST_KERNEL32): %:
$(MAKE) -C kernel32/$*
$(TEST_KERNEL32:%=%_implib): %_implib:
$(MAKE) -C kernel32/$* implib
$(TEST_KERNEL32:%=%_clean): %_clean:
$(MAKE) -C kernel32/$* clean
$(TEST_KERNEL32:%=%_install): %_install:
$(MAKE) -C kernel32/$* install
.PHONY: $(TEST_KERNEL32) $(TEST_KERNEL32:%=%_implib) $(TEST_KERNEL32:%=%_clean) $(TEST_KERNEL32:%=%_install)
#
# msvcrt Test Applications
#
$(TEST_MSVCRT): %:
$(MAKE) -C msvcrt/$*
$(TEST_MSVCRT:%=%_implib): %_implib:
$(MAKE) -C msvcrt/$* implib
$(TEST_MSVCRT:%=%_clean): %_clean:
$(MAKE) -C msvcrt/$* clean
$(TEST_MSVCRT:%=%_install): %_install:
$(MAKE) -C msvcrt/$* install
.PHONY: $(TEST_MSVCRT) $(TEST_MSVCRT:%=%_implib) $(TEST_MSVCRT:%=%_clean) $(TEST_MSVCRT:%=%_install)
#
# COM Test Applications
#
$(TEST_COM): %:
$(MAKE) -C com/$*
$(TEST_COM:%=%_implib): %_implib:
$(MAKE) -C com/$* implib
$(TEST_COM:%=%_clean): %_clean:
$(MAKE) -C com/$* clean
$(TEST_COM:%=%_install): %_install:
$(MAKE) -C com/$* install
.PHONY: $(TEST_COM) $(TEST_COM:%=%_implib) $(TEST_COM:%=%_clean) $(TEST_COM:%=%_install)
#
# SEH Test Applications
#
$(TEST_SEH): %:
$(MAKE) -C seh/$*
$(TEST_SEH:%=%_implib): %_implib:
$(MAKE) -C seh/$* implib
$(TEST_SEH:%=%_clean): %_clean:
$(MAKE) -C seh/$* clean
$(TEST_SEH:%=%_install): %_install:
$(MAKE) -C seh/$* install
.PHONY: $(TEST_SEH) $(TEST_SEH:%=%_implib) $(TEST_SEH:%=%_clean) $(TEST_SEH:%=%_install)
#
# Regression Test Applications
#
$(TEST_REGRESSIONS): %:
$(MAKE) -C regres/$*
$(TEST_REGRESSIONS:%=%_implib): %_implib:
$(MAKE) -C regres/$* implib
$(TEST_REGRESSIONS:%=%_clean): %_clean:
$(MAKE) -C regres/$* clean
$(TEST_REGRESSIONS:%=%_install): %_install:
$(MAKE) -C regres/$* install
.PHONY: $(TEST_REGRESSIONS) $(TEST_REGRESSIONS:%=%_implib) $(TEST_REGRESSIONS:%=%_clean) $(TEST_REGRESSIONS:%=%_install)
etags:
find . -name "*.[ch]" -print | etags --language=c -
# EOF

View File

@@ -1,24 +0,0 @@
#
# $Id: makefile,v 1.0
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = loadlib
TARGET_CFLAGS = -Wall -Werror -D_USE_W32API -DUNICODE -D_UNICODE
TARGET_SDKLIBS = kernel32.a ntdll.a
TARGET_OBJECTS = $(TARGET_NAME).o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -1,27 +0,0 @@
#
# $Id: makefile,v 1.0
PATH_TO_TOP = ../../../..
TEST_ROOT = $(PATH_TO_TOP)/apps/testsets/test
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = fileio
#TARGET_CFLAGS = -I$(TEST_ROOT) -DDBG -DUNICODE -D_UNICODE
TARGET_CFLAGS = -I$(TEST_ROOT) -DDBG
TARGET_SDKLIBS = ntdll.a kernel32.a
TARGET_OBJECTS = $(TARGET_NAME).o wfileio.o main.o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -1,71 +0,0 @@
#
# ReactOS system utilities makefile
#
PATH_TO_TOP = ../..
include $(PATH_TO_TOP)/rules.mak
# Console system utilities
# cabman cat net objdir partinfo pice ps sc stats
UTIL_APPS = cat objdir partinfo pnpdump sc shutdown stats tickcount consw ps
UTIL_NET_APPS = arp finger ftp ipconfig netstat ping route telnet whois
all: $(UTIL_APPS) $(UTIL_NET_APPS)
depends:
implib: $(UTIL_APPS:%=%_implib) \
$(UTIL_NET_APPS:%=%_implib)
clean: $(UTIL_APPS:%=%_clean) \
$(UTIL_NET_APPS:%=%_clean)
install: $(UTIL_APPS:%=%_install) \
$(UTIL_NET_APPS:%=%_install)
.PHONY: all depends implib clean install
#
# Utility Applications
#
$(UTIL_APPS): %:
$(MAKE) -C $*
$(UTIL_APPS:%=%_implib): %_implib:
$(MAKE) -C $* implib
$(UTIL_APPS:%=%_clean): %_clean:
$(MAKE) -C $* clean
$(UTIL_APPS:%=%_install): %_install:
$(MAKE) -C $* install
.PHONY: $(UTIL_APPS) $(UTIL_APPS:%=%_implib) $(UTIL_APPS:%=%_clean) $(UTIL_APPS:%=%_install)
#
# GUI Utility Applications
#
$(UTIL_NET_APPS): %:
$(MAKE) -C net/$*
$(UTIL_NET_APPS:%=%_implib): %_implib:
$(MAKE) -C net/$* implib
$(UTIL_NET_APPS:%=%_clean): %_clean:
$(MAKE) -C net/$* clean
$(UTIL_NET_APPS:%=%_install): %_install:
$(MAKE) -C net/$* install
.PHONY: $(UTIL_NET_APPS) $(UTIL_NET_APPS:%=%_implib) $(UTIL_NET_APPS:%=%_clean) $(UTIL_NET_APPS:%=%_install)
etags:
find . -name "*.[ch]" -print | etags --language=c -
# EOF

View File

@@ -0,0 +1,615 @@
#include <conio.h>
#include <io.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
/** DEFINES *******************************************************************/
#define PATCH_BUFFER_SIZE 4096 /* Maximum size of a patch */
#define PATCH_BUFFER_MAGIC "\xde\xad\xbe\xef MaGiC MaRk "
#define SIZEOF_PATCH_BUFFER_MAGIC (sizeof (PATCH_BUFFER_MAGIC) - 1)
/** TYPES *********************************************************************/
typedef struct _PatchedByte
{
int offset; /*!< File offset of the patched byte. */
unsigned char expected; /*!< Expected (original) value of the byte. */
unsigned char patched; /*!< Patched (new) value for the byte. */
} PatchedByte;
typedef struct _PatchedFile
{
const char *name; /*!< Name of the file to be patched. */
int fileSize; /*!< Size of the file in bytes. */
int patchCount; /*!< Number of patches for the file. */
PatchedByte *patches; /*!< Patches for the file. */
} PatchedFile;
typedef struct _Patch
{
const char *name; /*!< Name of the patch. */
int fileCount; /*!< Number of files in the patch. */
PatchedFile *files; /*!< Files for the patch. */
} Patch;
/** FUNCTION PROTOTYPES *******************************************************/
static void printUsage();
/** GLOBALS *******************************************************************/
static Patch m_patch = { NULL, 0, NULL };
static int m_argc = 0;
static char **m_argv = NULL;
/* patch buffer where we put the patch info into */
static unsigned char m_patchBuffer[SIZEOF_PATCH_BUFFER_MAGIC + PATCH_BUFFER_SIZE] =
PATCH_BUFFER_MAGIC;
/** HELPER FUNCTIONS **********************************************************/
static void *
loadFile(const char *fileName, int *fileSize_)
{
FILE *f;
struct stat sb;
int fileSize;
void *p;
/* Open the file */
f = fopen(fileName, "rb");
if (f == NULL)
{
printf("Couldn't open file %s for reading!\n", fileName);
return NULL;
}
/* Get file size */
if (fstat(fileno(f), &sb) < 0)
{
fclose(f);
printf("Couldn't get size of file %s!\n", fileName);
return NULL;
}
fileSize = sb.st_size;
/* Load file */
p = malloc(fileSize);
if (p == NULL)
{
fclose(f);
printf("Couldn't allocate %d bytes for file %s!\n", fileSize, fileName);
return NULL;
}
if (fread(p, fileSize, 1, f) != 1)
{
fclose(f);
free(p);
printf("Couldn't read file %s into memory!\n", fileName);
return NULL;
}
/* Close file */
fclose(f);
*fileSize_ = fileSize;
return p;
}
static int
saveFile(const char *fileName, void *file, int fileSize)
{
FILE *f;
/* Open the file */
f = fopen(fileName, "wb");
if (f == NULL)
{
printf("Couldn't open file %s for writing!\n", fileName);
return -1;
}
/* Write file */
if (fwrite(file, fileSize, 1, f) != 1)
{
fclose(f);
printf("Couldn't write file %s!\n", fileName);
return -1;
}
/* Close file */
fclose(f);
return 0;
}
static int
compareFiles(
PatchedFile *patchedFile,
const char *originalFileName)
{
const char *patchedFileName = patchedFile->name;
unsigned char *origChunk, *patchedChunk;
int origSize, patchedSize, i, patchCount;
PatchedByte *patches = NULL;
int patchesArrayCount = 0;
/* Load both files */
origChunk = loadFile(originalFileName, &origSize);
if (origChunk == NULL)
return -1;
patchedChunk = loadFile(patchedFileName, &patchedSize);
if (patchedChunk == NULL)
{
free(origChunk);
return -1;
}
if (origSize != patchedSize)
{
free(origChunk);
free(patchedChunk);
printf("File size of %s and %s differs (%d != %d)\n",
originalFileName, patchedFileName,
origSize, patchedSize);
return -1;
}
/* Compare the files and record any differences */
printf("Comparing %s to %s", originalFileName, patchedFileName);
for (i = 0, patchCount = 0; i < origSize; i++)
{
if (origChunk[i] != patchedChunk[i])
{
patchCount++;
/* Resize patches array if needed */
if (patchesArrayCount < patchCount)
{
PatchedByte *newPatches;
newPatches = realloc(patches, patchCount * sizeof (PatchedByte));
if (newPatches == NULL)
{
if (patches != NULL)
free(patches);
free(origChunk);
free(patchedChunk);
printf("\nOut of memory (tried to allocated %d bytes)\n",
patchCount * sizeof (PatchedByte));
return -1;
}
patches = newPatches;
}
/* Fill in patch info */
patches[patchCount - 1].offset = i;
patches[patchCount - 1].expected = origChunk[i];
patches[patchCount - 1].patched = patchedChunk[i];
}
if ((i % (origSize / 40)) == 0)
printf(".");
}
printf(" %d changed bytes found.\n", patchCount);
/* Unload the files */
free(origChunk);
free(patchedChunk);
/* Save patch info */
patchedFile->fileSize = patchedSize;
patchedFile->patchCount = patchCount;
patchedFile->patches = patches;
return 0;
}
static int
outputPatch(const char *outputFileName)
{
unsigned char *patchExe, *patchBuffer;
int i, size, patchExeSize, patchSize, stringSize, stringOffset, patchOffset;
Patch *patch;
PatchedFile *files;
printf("Putting patch into %s...\n", outputFileName);
/* Calculate size of the patch */
patchSize = sizeof (Patch) + sizeof (PatchedFile) * m_patch.fileCount;
stringSize = strlen(m_patch.name) + 1;
for (i = 0; i < m_patch.fileCount; i++)
{
stringSize += strlen(m_patch.files[i].name) + 1;
patchSize += sizeof (PatchedByte) * m_patch.files[i].patchCount;
}
if ((stringSize + patchSize) > PATCH_BUFFER_SIZE)
{
printf("Patch is too big - %d bytes maximum, %d bytes needed\n",
PATCH_BUFFER_SIZE, stringSize + patchSize);
return -1;
}
/* Load patch.exe file into memory... */
patchExe = loadFile(m_argv[0], &patchExeSize);
if (patchExe == NULL)
{
return -1;
}
/* Try to find the magic mark for the patch buffer */
for (i = 0; i < (patchExeSize - SIZEOF_PATCH_BUFFER_MAGIC); i++)
{
if (memcmp(patchExe + i, m_patchBuffer, SIZEOF_PATCH_BUFFER_MAGIC) == 0)
{
patchBuffer = patchExe + i + SIZEOF_PATCH_BUFFER_MAGIC;
break;
}
}
if (!(i < (patchExeSize - SIZEOF_PATCH_BUFFER_MAGIC)))
{
free(patchExe);
printf("Couldn't find patch buffer magic in file %s - this shouldn't happen!!!\n", m_argv[0]);
return -1;
}
/* Pack patch together and replace string pointers by offsets */
patch = (Patch *)patchBuffer;
files = (PatchedFile *)(patchBuffer + sizeof (Patch));
patchOffset = sizeof (Patch) + sizeof (PatchedFile) * m_patch.fileCount;
stringOffset = patchSize;
patch->fileCount = m_patch.fileCount;
patch->files = (PatchedFile *)sizeof (Patch);
patch->name = (const char *)stringOffset;
strcpy(patchBuffer + stringOffset, m_patch.name);
stringOffset += strlen(m_patch.name) + 1;
for (i = 0; i < m_patch.fileCount; i++)
{
files[i].fileSize = m_patch.files[i].fileSize;
files[i].patchCount = m_patch.files[i].patchCount;
files[i].name = (const char *)stringOffset;
strcpy(patchBuffer + stringOffset, m_patch.files[i].name);
stringOffset += strlen(m_patch.files[i].name) + 1;
size = files[i].patchCount * sizeof (PatchedByte);
files[i].patches = (PatchedByte *)patchOffset;
memcpy(patchBuffer + patchOffset, m_patch.files[i].patches, size);
patchOffset += size;
}
size = patchSize + stringSize;
memset(patchBuffer + size, 0, PATCH_BUFFER_SIZE - size);
/* Save file */
if (saveFile(outputFileName, patchExe, patchExeSize) < 0)
{
free(patchExe);
return -1;
}
free(patchExe);
printf("Patch saved!\n");
return 0;
}
static int
loadPatch()
{
char *p;
Patch *patch;
int i;
p = m_patchBuffer + SIZEOF_PATCH_BUFFER_MAGIC;
patch = (Patch *)p;
if (patch->name == NULL)
{
return -1;
}
m_patch.name = p + (int)patch->name;
m_patch.fileCount = patch->fileCount;
m_patch.files = (PatchedFile *)(p + (int)patch->files);
for (i = 0; i < m_patch.fileCount; i++)
{
m_patch.files[i].name = p + (int)m_patch.files[i].name;
m_patch.files[i].patches = (PatchedByte *)(p + (int)m_patch.files[i].patches);
}
printf("Patch %s loaded...\n", m_patch.name);
return 0;
}
/** MAIN FUNCTIONS ************************************************************/
static int
createPatch()
{
int i, status;
const char *outputFileName;
/* Check argument count */
if (m_argc < 6 || (m_argc % 2) != 0)
{
printUsage();
return -1;
}
outputFileName = m_argv[3];
m_patch.name = m_argv[2];
/* Allocate PatchedFiles array */
m_patch.fileCount = (m_argc - 4) / 2;
m_patch.files = malloc(m_patch.fileCount * sizeof (PatchedFile));
if (m_patch.files == NULL)
{
printf("Out of memory!\n");
return -1;
}
memset(m_patch.files, 0, m_patch.fileCount * sizeof (PatchedFile));
/* Compare original to patched files and fill m_patch.files array */
for (i = 0; i < m_patch.fileCount; i++)
{
m_patch.files[i].name = m_argv[4 + (i * 2) + 1];
status = compareFiles(m_patch.files + i, m_argv[4 + (i * 2) + 0]);
if (status < 0)
{
for (i = 0; i < m_patch.fileCount; i++)
{
if (m_patch.files[i].patches != NULL)
free(m_patch.files[i].patches);
}
free(m_patch.files);
m_patch.files = NULL;
m_patch.fileCount = 0;
return status;
}
}
/* Output patch */
return outputPatch(outputFileName);
}
static int
applyPatch()
{
int c, i, j, fileSize, makeBackup;
unsigned char *file;
char *p;
const char *fileName;
char buffer[MAX_PATH];
if (m_argc > 1 && strcmp(m_argv[1], "-d") != 0)
{
printUsage();
return -1;
}
/* Load patch */
if (loadPatch() < 0)
{
printf("This executable doesn't contain a patch, use -c to create one.\n");
return -1;
}
if (m_argc > 1)
{
/* Dump patch */
printf("Patch name: %s\n", m_patch.name);
printf("File count: %d\n", m_patch.fileCount);
for (i = 0; i < m_patch.fileCount; i++)
{
printf("----------------------\n"
"File name: %s\n"
"File size: %d bytes\n",
m_patch.files[i].name, m_patch.files[i].fileSize);
printf("Patch count: %d\n", m_patch.files[i].patchCount);
for (j = 0; j < m_patch.files[i].patchCount; j++)
{
printf(" Offset 0x%x 0x%02x -> 0x%02x\n",
m_patch.files[i].patches[j].offset,
m_patch.files[i].patches[j].expected,
m_patch.files[i].patches[j].patched);
}
}
}
else
{
/* Apply patch */
printf("Applying patch...\n");
for (i = 0; i < m_patch.fileCount; i++)
{
/* Load original file */
fileName = m_patch.files[i].name;
applyPatch_retry_file:
file = loadFile(fileName, &fileSize);
if (file == NULL)
{
printf("File %s not found! ", fileName);
applyPatch_file_open_error:
printf("(S)kip, (R)etry, (A)bort, (M)anually enter filename");
do
{
c = getch();
}
while (c != 's' && c != 'r' && c != 'a' && c != 'm');
printf("\n");
if (c == 's')
{
continue;
}
else if (c == 'r')
{
goto applyPatch_retry_file;
}
else if (c == 'a')
{
return 0;
}
else if (c == 'm')
{
if (fgets(buffer, sizeof (buffer), stdin) == NULL)
{
printf("fgets() failed!\n");
return -1;
}
p = strchr(buffer, '\r');
if (p != NULL)
*p = '\0';
p = strchr(buffer, '\n');
if (p != NULL)
*p = '\0';
fileName = buffer;
goto applyPatch_retry_file;
}
}
/* Check file size */
if (fileSize != m_patch.files[i].fileSize)
{
free(file);
printf("File %s has unexpected filesize of %d bytes (%d bytes expected)\n",
fileName, fileSize, m_patch.files[i].fileSize);
if (fileName != m_patch.files[i].name) /* manually entered filename */
{
goto applyPatch_file_open_error;
}
return -1;
}
/* Ask for backup */
printf("Do you want to make a backup of %s? (Y)es, (N)o, (A)bort", fileName);
do
{
c = getch();
}
while (c != 'y' && c != 'n' && c != 'a');
printf("\n");
if (c == 'y')
{
char buffer[MAX_PATH];
snprintf(buffer, MAX_PATH, "%s.bak", fileName);
buffer[MAX_PATH-1] = '\0';
makeBackup = 1;
if (access(buffer, 0) >= 0) /* file exists */
{
printf("File %s already exists, overwrite? (Y)es, (N)o, (A)bort", buffer);
do
{
c = getch();
}
while (c != 'y' && c != 'n' && c != 'a');
printf("\n");
if (c == 'n')
makeBackup = 0;
else if (c == 'a')
{
free(file);
return 0;
}
}
if (makeBackup && saveFile(buffer, file, fileSize) < 0)
{
free(file);
return -1;
}
}
else if (c == 'a')
{
free(file);
return 0;
}
/* Patch file */
for (j = 0; j < m_patch.files[i].patchCount; j++)
{
int offset = m_patch.files[i].patches[j].offset;
if (file[offset] != m_patch.files[i].patches[j].expected)
{
printf("Unexpected value in file %s at offset 0x%x: expected = 0x%02x, found = 0x%02x\n",
fileName, offset, m_patch.files[i].patches[j].expected, file[offset]);
free(file);
return -1;
}
file[offset] = m_patch.files[i].patches[j].patched;
}
/* Save file */
if (saveFile(fileName, file, fileSize) < 0)
{
free(file);
return -1;
}
free(file);
}
printf("Patch applied sucessfully!\n");
}
return 0;
}
static void
printUsage()
{
printf("Usage:\n"
"%s -c - Create patch\n"
"%s -d - Dump patch\n"
"%s - Apply patch\n"
"\n"
"A patch can be created like this:\n"
"%s -c \"patch name\" output.exe file1.orig file1.patched[ file2.orig file2.patched[ ...]]\n",
m_argv[0], m_argv[0], m_argv[0], m_argv[0]);
}
int
main(
int argc,
char *argv[])
{
m_argc = argc;
m_argv = argv;
if (argc >= 2 && (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0))
{
printUsage();
return 0;
}
else if (argc >= 2 && argv[1][0] == '-')
{
if (strcmp(argv[1], "-c") == 0)
{
return createPatch();
}
else if (strcmp(argv[1], "-d") == 0)
{
return applyPatch();
}
else
{
printf("Unknown option: %s\n"
"Use -h for help.\n",
argv[1]);
return -1;
}
}
return applyPatch();
}

View File

@@ -6,7 +6,7 @@ int main(int argc, char* argv[])
int i;
FILE* in;
char ch;
for (i=1; i<argc; i++)
{
in = fopen(argv[i],"r");
@@ -15,7 +15,7 @@ int main(int argc, char* argv[])
printf("Failed to open file %s\n", argv[i]);
return(0);
}
while ((ch = fgetc(in)) != EOF)
{
putchar(ch);

View File

@@ -1,21 +0,0 @@
# $Id$
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = cat
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -1,30 +0,0 @@
/* $Id$
*
* DESCRIPTION: Console mode switcher
* PROGRAMMER: Art Yerkes
* REVISIONS
* 2003-07-26 (arty)
*/
#include <windows.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
void STDCALL SetConsoleHardwareState( HANDLE conhandle,
DWORD flags,
DWORD state );
int main(int argc, char* argv[])
{
if( argc > 1 ) {
SetConsoleHardwareState( GetStdHandle( STD_INPUT_HANDLE ),
0,
!strcmp( argv[1], "hw" ) );
}
return 0;
}
/* EOF */

View File

@@ -1,23 +0,0 @@
# $Id$
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = consw
TARGET_SDKLIBS = ntdll.a kernel32.a
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -1,5 +0,0 @@
@echo off
rem Turn off cosole, run a program, turn console on
\reactos\bin\consw sw
"%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"
\reactos\bin\consw hw

View File

@@ -0,0 +1,11 @@
<group>
<directory name="net">
<xi:include href="net/directory.xml" />
</directory>
<directory name="rosperf">
<xi:include href="rosperf/rosperf.xml" />
</directory>
<directory name="ps">
<xi:include href="ps/ps.xml" />
</directory>
</group>

View File

@@ -1,6 +1,6 @@
/*
* Load a device driver
*/
*/
#include <windows.h>
#include <ntos/zw.h>

View File

@@ -1,21 +0,0 @@
PATH_TO_TOP = ../../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = load
TARGET_CFLAGS = -DUNICODE -D_UNICODE
TARGET_SDKLIBS = ntdll.a
TARGET_OBJECTS = $(TARGET_NAME).o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -1,21 +0,0 @@
PATH_TO_TOP = ../../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = unload
TARGET_CFLAGS = -DUNICODE -D_UNICODE
TARGET_SDKLIBS = ntdll.a
TARGET_OBJECTS = $(TARGET_NAME).o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -1,6 +1,6 @@
/*
* Unload a device driver
*/
*/
#include <windows.h>
#include <ntos/zw.h>

View File

@@ -0,0 +1,733 @@
/*
*
* dumprecbin - dumps a recycle bin database
*
* Copyright (c) 2005 by Thomas Weidenmueller <w3seek@reactos.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* TODO: - Support for Vista recycle bins (read the DeleteInfo NTFS streams, also NT 5.x)
* - Support for INFO databases (win95)
*/
#include <windows.h>
#include <winternl.h>
#include <sddl.h>
#include <ntsecapi.h>
#include <stdio.h>
#include <ctype.h>
#include <tchar.h>
#ifndef NT_SUCCESS
#define NT_SUCCESS(status) ((LONG)(status) >= 0)
#endif
typedef struct _RECYCLE_BIN
{
struct _RECYCLE_BIN *Next;
PSID Sid;
WCHAR User[255];
WCHAR Path[MAX_PATH + 1];
} RECYCLE_BIN, *PRECYCLE_BIN;
typedef enum
{
ivUnknown = 0,
ivINFO2
} INFO_VERSION, *PINFO_VERSION;
typedef struct _INFO2_HEADER
{
DWORD Version;
DWORD Zero1;
DWORD Zero2;
DWORD RecordSize;
} INFO2_HEADER, *PINFO2_HEADER;
typedef struct _INFO2_RECORD
{
DWORD Unknown;
CHAR AnsiFileName[MAX_PATH];
DWORD RecordNumber;
DWORD DriveLetter;
FILETIME DeletionTime;
DWORD DeletedPhysicalSize;
WCHAR FileName[MAX_PATH - 2];
} INFO2_RECORD, *PINFO2_RECORD;
static HANDLE
OpenAndMapInfoDatabase(IN LPTSTR szFileName,
OUT PVOID *MappingBasePtr,
OUT PLARGE_INTEGER FileSize)
{
HANDLE hFile, hMapping = INVALID_HANDLE_VALUE;
hFile = CreateFile(szFileName,
FILE_READ_DATA,
FILE_SHARE_READ,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM,
NULL);
if (hFile != INVALID_HANDLE_VALUE)
{
if (GetFileSizeEx(hFile,
FileSize) &&
FileSize->QuadPart >= 0xF)
{
hMapping = CreateFileMapping(hFile,
NULL,
PAGE_READONLY,
0,
0,
NULL);
if (hMapping == NULL ||
!(*MappingBasePtr = MapViewOfFile(hMapping,
FILE_MAP_READ,
0,
0,
0)))
{
if (hMapping != NULL)
{
CloseHandle(hMapping);
}
hMapping = INVALID_HANDLE_VALUE;
}
}
CloseHandle(hFile);
}
return hMapping;
}
static VOID
UnmapAndCloseDatabase(IN HANDLE hMapping,
IN PVOID MappingBasePtr)
{
UnmapViewOfFile(MappingBasePtr);
CloseHandle(hMapping);
}
static INFO_VERSION
DetectDatabaseVersion(PVOID Header)
{
PINFO2_HEADER Info2 = (PINFO2_HEADER)Header;
INFO_VERSION Version = ivUnknown;
if (Info2->Version == 5 &&
Info2->Zero1 == 0 &&
Info2->Zero2 == 0 &&
Info2->RecordSize == 0x320)
{
Version = ivINFO2;
}
return Version;
}
static BOOL
IsValidRecycleBin(IN LPTSTR szPath)
{
TCHAR szFile[MAX_PATH + 1];
TCHAR szClsId[48];
INFO_VERSION DbVersion = ivUnknown;
_stprintf(szFile,
_T("%s\\desktop.ini"),
szPath);
/* check if directory contains a valid desktop.ini for the recycle bin */
if (GetPrivateProfileString(TEXT(".ShellClassInfo"),
TEXT("CLSID"),
NULL,
szClsId,
sizeof(szClsId) / sizeof(szClsId[0]),
szFile) &&
!_tcsicmp(_T("{645FF040-5081-101B-9F08-00AA002F954E}"),
szClsId))
{
HANDLE hDb;
LARGE_INTEGER FileSize;
PVOID pDbBase = NULL;
/* open the database and check the signature */
_stprintf(szFile,
_T("%s\\INFO2"),
szPath);
hDb = OpenAndMapInfoDatabase(szFile,
&pDbBase,
&FileSize);
if (hDb != INVALID_HANDLE_VALUE)
{
DbVersion = DetectDatabaseVersion(pDbBase);
UnmapAndCloseDatabase(hDb,
pDbBase);
}
}
return DbVersion != ivUnknown;
}
static BOOL
OpenLocalLSAPolicyHandle(IN ACCESS_MASK DesiredAccess,
OUT PLSA_HANDLE PolicyHandle)
{
LSA_OBJECT_ATTRIBUTES LsaObjectAttributes = {0};
NTSTATUS Status;
Status = LsaOpenPolicy(NULL,
&LsaObjectAttributes,
DesiredAccess,
PolicyHandle);
if (!NT_SUCCESS(Status))
{
SetLastError(LsaNtStatusToWinError(Status));
return FALSE;
}
return TRUE;
}
static BOOL
ConvertSIDToAccountName(IN PSID Sid,
OUT LPWSTR User)
{
DWORD AccountNameLen = 0;
DWORD DomainNameLen = 0;
SID_NAME_USE NameUse;
DWORD Error = ERROR_SUCCESS;
LPWSTR AccountName, DomainName;
BOOL Ret = FALSE;
if (!LookupAccountSidW(NULL,
Sid,
NULL,
&AccountNameLen,
NULL,
&DomainNameLen,
&NameUse))
{
Error = GetLastError();
if (Error == ERROR_NONE_MAPPED ||
Error != ERROR_INSUFFICIENT_BUFFER)
{
/* some unexpected error occured! */
goto ConvertSID;
}
}
AccountName = (LPWSTR)HeapAlloc(GetProcessHeap(),
0,
(AccountNameLen + DomainNameLen) * sizeof(WCHAR));
if (AccountName != NULL)
{
LSA_HANDLE PolicyHandle;
DomainName = AccountName + AccountNameLen;
if (!LookupAccountSidW(NULL,
Sid,
AccountName,
&AccountNameLen,
DomainName,
&DomainNameLen,
&NameUse))
{
goto BailFreeAccountName;
}
wcscpy(User,
AccountName);
Ret = TRUE;
if (OpenLocalLSAPolicyHandle(POLICY_LOOKUP_NAMES | POLICY_VIEW_LOCAL_INFORMATION,
&PolicyHandle))
{
PLSA_REFERENCED_DOMAIN_LIST ReferencedDomain;
PLSA_TRANSLATED_NAME Names;
PLSA_TRUST_INFORMATION Domain;
PLSA_UNICODE_STRING DomainName;
PPOLICY_ACCOUNT_DOMAIN_INFO PolicyAccountDomainInfo = NULL;
NTSTATUS Status;
Status = LsaLookupSids(PolicyHandle,
1,
&Sid,
&ReferencedDomain,
&Names);
if (NT_SUCCESS(Status))
{
if (ReferencedDomain != NULL &&
Names->DomainIndex >= 0)
{
Domain = &ReferencedDomain->Domains[Names->DomainIndex];
DomainName = &Domain->Name;
}
else
{
Domain = NULL;
DomainName = NULL;
}
switch (Names->Use)
{
case SidTypeAlias:
if (Domain != NULL)
{
/* query the domain name for BUILTIN accounts */
Status = LsaQueryInformationPolicy(PolicyHandle,
PolicyAccountDomainInformation,
(PVOID*)&PolicyAccountDomainInfo);
if (NT_SUCCESS(Status))
{
DomainName = &PolicyAccountDomainInfo->DomainName;
}
}
/* fall through */
case SidTypeUser:
{
if (Domain != NULL)
{
WCHAR *s;
/* NOTE: LSA_UNICODE_STRINGs are not always NULL-terminated! */
wcscpy(User,
AccountName);
wcscat(User,
L" (");
s = User + wcslen(User);
CopyMemory(s,
DomainName->Buffer,
DomainName->Length);
s += DomainName->Length / sizeof(WCHAR);
*(s++) = L'\\';
CopyMemory(s,
Names->Name.Buffer,
Names->Name.Length);
s += Names->Name.Length / sizeof(WCHAR);
*(s++) = L')';
*s = L'\0';
}
break;
}
case SidTypeWellKnownGroup:
{
break;
}
default:
{
_ftprintf(stderr,
_T("Unhandled SID type: 0x%x\n"),
Names->Use);
break;
}
}
if (PolicyAccountDomainInfo != NULL)
{
LsaFreeMemory(PolicyAccountDomainInfo);
}
LsaFreeMemory(ReferencedDomain);
LsaFreeMemory(Names);
}
LsaClose(PolicyHandle);
if (!NT_SUCCESS(Status))
{
Ret = FALSE;
goto BailFreeAccountName;
}
}
else
{
BailFreeAccountName:
HeapFree(GetProcessHeap(),
0,
AccountName);
goto ConvertSID;
}
}
ConvertSID:
if (!Ret)
{
LPWSTR StrSid;
Ret = ConvertSidToStringSidW(Sid,
&StrSid);
if (Ret)
{
wcscpy(User,
StrSid);
LocalFree((HLOCAL)StrSid);
}
}
return Ret;
}
static VOID
FreeRecycleBinsList(IN OUT PRECYCLE_BIN *RecycleBinsListHead)
{
PRECYCLE_BIN CurrentBin, NextBin;
CurrentBin = *RecycleBinsListHead;
while (CurrentBin != NULL)
{
NextBin = CurrentBin->Next;
LocalFree((HLOCAL)CurrentBin->Sid);
HeapFree(GetProcessHeap(),
0,
CurrentBin);
CurrentBin = NextBin;
}
*RecycleBinsListHead = NULL;
}
static BOOL
LocateRecycleBins(IN LPWSTR szDrive,
OUT PRECYCLE_BIN *RecycleBinsListHead)
{
TCHAR szRecBinPath[MAX_PATH + 1];
HANDLE FindResult;
WIN32_FIND_DATA FindData;
PRECYCLE_BIN NewBin;
BOOL Ret = FALSE;
FreeRecycleBinsList(RecycleBinsListHead);
/*
* search for recycle bins on volumes that support file security (NTFS)
*/
_stprintf(szRecBinPath,
_T("%lS\\RECYCLER\\*"),
szDrive);
FindResult = FindFirstFile(szRecBinPath,
&FindData);
if (FindResult != INVALID_HANDLE_VALUE)
{
do
{
if (FindData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY &&
_tcscmp(FindData.cFileName,
_T("..")) &&
_tcscmp(FindData.cFileName,
_T(".")))
{
PSID Sid;
if (ConvertStringSidToSid(FindData.cFileName,
&Sid))
{
_stprintf(szRecBinPath,
_T("%s\\RECYCLER\\%s"),
szDrive,
FindData.cFileName);
if (IsValidRecycleBin(szRecBinPath))
{
NewBin = (PRECYCLE_BIN)HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
sizeof(RECYCLE_BIN));
if (NewBin != NULL)
{
_tcscpy(NewBin->Path,
szRecBinPath);
/* convert the SID to an account name */
ConvertSIDToAccountName(Sid,
NewBin->User);
/* append the recycle bin */
*RecycleBinsListHead = NewBin;
RecycleBinsListHead = &NewBin->Next;
Ret = TRUE;
}
else
goto ContinueFreeSid;
}
else
{
ContinueFreeSid:
LocalFree((HLOCAL)Sid);
}
}
}
} while (FindNextFile(FindResult,
&FindData));
FindClose(FindResult);
}
/*
* search for recycle bins on volumes that don't support file security (FAT)
*/
_stprintf(szRecBinPath,
_T("%s\\Recycled"),
szDrive);
FindResult = FindFirstFile(szRecBinPath,
&FindData);
if (FindResult != INVALID_HANDLE_VALUE)
{
if (IsValidRecycleBin(szRecBinPath))
{
SID_IDENTIFIER_AUTHORITY WorldSia = {SECURITY_WORLD_SID_AUTHORITY};
PSID EveryoneSid;
/* create an Everyone SID */
if (AllocateAndInitializeSid(&WorldSia,
1,
SECURITY_WORLD_RID,
0,
0,
0,
0,
0,
0,
0,
&EveryoneSid))
{
NewBin = (PRECYCLE_BIN)HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
sizeof(RECYCLE_BIN));
if (NewBin != NULL)
{
_tcscpy(NewBin->Path,
szRecBinPath);
/* convert the SID to an account name */
ConvertSIDToAccountName(EveryoneSid,
NewBin->User);
/* append the recycle bin */
*RecycleBinsListHead = NewBin;
RecycleBinsListHead = &NewBin->Next;
Ret = TRUE;
}
else
FreeSid(EveryoneSid);
}
}
FindClose(FindResult);
}
return Ret;
}
static VOID
DiskFileNameFromRecord(OUT LPTSTR szShortFileName,
IN DWORD RecordNumber,
IN WCHAR cDriveLetter,
IN LPWSTR szFileName)
{
LPWSTR FileExt;
FileExt = wcsrchr(szFileName,
L'.');
if (FileExt != NULL)
{
_stprintf(szShortFileName,
_T("D%lC%d%lS"),
cDriveLetter,
RecordNumber,
FileExt);
}
else
{
_stprintf(szShortFileName,
_T("D%lC%d"),
cDriveLetter,
RecordNumber);
}
}
static BOOL
DumpRecycleBin(IN PRECYCLE_BIN RecycleBin)
{
WCHAR szFile[MAX_PATH + 1];
HANDLE hDb;
LARGE_INTEGER FileSize;
PVOID pDbBase = NULL;
INFO_VERSION Version = ivUnknown;
_tprintf(_T("Dumping recycle bin of \"%lS\":\n"),
RecycleBin->User);
_tprintf(_T("Directory: %lS\n\n"),
RecycleBin->Path);
_stprintf(szFile,
_T("%s\\INFO2"),
RecycleBin->Path);
hDb = OpenAndMapInfoDatabase(szFile,
&pDbBase,
&FileSize);
if (hDb != INVALID_HANDLE_VALUE)
{
Version = DetectDatabaseVersion(pDbBase);
/* dump the INFO2 database */
switch (Version)
{
case ivINFO2:
{
DWORD nRecords;
PINFO2_HEADER Info2Header = (PINFO2_HEADER)pDbBase;
PINFO2_RECORD Info2 = (PINFO2_RECORD)(Info2Header + 1);
int i = 0;
nRecords = (FileSize.QuadPart - sizeof(INFO2_HEADER)) / Info2Header->RecordSize;
while (nRecords != 0)
{
/* if the first character of the AnsiFileName is zero, the record
is considered deleted */
if (Info2->AnsiFileName[0] != '\0')
{
_tprintf(_T(" [%d] Record: #%d \"%lS\"\n"),
++i,
Info2->RecordNumber,
Info2->FileName);
DiskFileNameFromRecord(szFile,
Info2->RecordNumber,
(WCHAR)Info2->DriveLetter + L'a',
Info2->FileName);
_tprintf(_T(" Name on disk: \"%s\"\n"),
szFile);
_tprintf(_T(" Deleted size on disk: %d KB\n"),
Info2->DeletedPhysicalSize / 1024);
}
nRecords--;
Info2++;
}
break;
}
default:
break;
}
UnmapAndCloseDatabase(hDb,
pDbBase);
}
return FALSE;
}
static BOOL
SelectRecycleBin(IN LPWSTR szDrive)
{
BOOL Ret;
PRECYCLE_BIN RecycleBinsList = NULL;
Ret = LocateRecycleBins(szDrive,
&RecycleBinsList);
if (Ret)
{
if (RecycleBinsList->Next != NULL)
{
PRECYCLE_BIN CurrentBin = RecycleBinsList;
int n = 0, i = 0;
/* if there are multiple recycle bins ask the user which one to dump */
_tprintf(_T("There are several recycle bins on this drive. Select one:\n"));
while (CurrentBin != NULL)
{
_tprintf(_T(" [%d] %lS\n"),
++i,
CurrentBin->User);
CurrentBin = CurrentBin->Next;
n++;
}
_tprintf(_T("Enter the number: "));
DisplayPrompt:
_tscanf(_T("%d"),
&i);
if (i > n || i < 1)
{
_tprintf(_T("Please enter a number between 1 and %d: "),
n);
goto DisplayPrompt;
}
/* walk to the selected recycle bin */
CurrentBin = RecycleBinsList;
while (CurrentBin != NULL && i != 1)
{
CurrentBin = CurrentBin->Next;
i--;
}
/* dump it */
Ret = DumpRecycleBin(CurrentBin);
}
else
{
/* dump the first (and only) recycle bin */
Ret = DumpRecycleBin(RecycleBinsList);
}
}
else
{
_ftprintf(stderr,
_T("No recycle bins on this volume!\n"));
}
FreeRecycleBinsList(&RecycleBinsList);
return Ret;
}
static VOID
PrintHelp(VOID)
{
_ftprintf(stderr,
_T("Usage: dumprecbin C:\n"));
}
int
main(int argc,
char *argv[])
{
if (argc != 2 ||
strlen(argv[1]) != 2 || argv[1][1] != ':' ||
toupper(argv[1][0]) < 'A' || toupper(argv[1][0]) > 'Z')
{
PrintHelp();
return 1;
}
else
{
WCHAR szDrive[3];
_stprintf(szDrive,
_T("%lC:"),
argv[1][0]);
if (!SelectRecycleBin(szDrive))
return 1;
else
return 0;
}
}

View File

@@ -0,0 +1,13 @@
<module name="dumprecbin" type="win32cui" installbase="bin" installname="dumprecbin.exe">
<include base="dumprecbin">.</include>
<define name="__USE_W32API" />
<define name="UNICODE" />
<define name="_UNICODE" />
<define name="_WIN32_IE">0x0500</define>
<define name="_WIN32_WINNT">0x0600</define>
<define name="WINVER">0x0600</define>
<library>advapi32</library>
<library>kernel32</library>
<library>ntdll</library>
<file>dumprecbin.c</file>
</module>

View File

@@ -1,21 +0,0 @@
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = infinst
TARGET_SDKLIBS = comdlg32.a setupapi.a
TARGET_OBJECTS = infinst.o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -1,99 +1,602 @@
/*
* arp - display ARP cache from the IP stack parameters.
* ReactOS Win32 Applications
* Copyright (C) 2005 ReactOS Team
*
* This source code is in the PUBLIC DOMAIN and has NO WARRANTY.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Robert Dickenson <robd@reactos.org>, August 15, 2002.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <stdio.h>
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS arp utility
* FILE: apps/utils/net/arp/arp.c
* PURPOSE: view and manipulate the ARP cache
* PROGRAMMERS: Ged Murphy (gedmurphy@gmail.com)
* REVISIONS:
* GM 27/06/05 Created
*
*/
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
#include <time.h>
#include <iptypes.h>
#include <ipexport.h>
#include <string.h>
#include <ctype.h>
#include <winsock2.h>
#include <iphlpapi.h>
#include <snmp.h>
#include "trace.h"
#define WIN32_LEAN_AND_MEAN
#define UNICODE
#define _UNICODE
/*
* Globals
*/
const char SEPERATOR = '-';
int _CRT_glob = 0; // stop * from listing dir files in arp -d *
VOID SNMP_FUNC_TYPE SnmpSvcInitUptime();
DWORD SNMP_FUNC_TYPE SnmpSvcGetUptime();
/*
* function declerations
*/
DWORD DoFormatMessage(DWORD ErrorCode);
INT PrintEntries(PMIB_IPNETROW pIpAddRow);
INT DisplayArpEntries(PTCHAR pszInetAddr, PTCHAR pszIfAddr);
INT Addhost(PTCHAR pszInetAddr, PTCHAR pszEthAddr, PTCHAR pszIfAddr);
INT Deletehost(PTCHAR pszInetAddr, PTCHAR pszIfAddr);
VOID Usage(VOID);
////////////////////////////////////////////////////////////////////////////////
const char szUsage[] = { "\n" \
"Displays and modifies the IP Protocol to physical address translation tables\n" \
"used by address resolution protocol (ARP).\n" \
"\n" \
"ARP -s inet_addr eth_addr [if_addr]\n" \
"ARP -d inet_addr [if_addr]\n" \
"ARP -a [inet_addr] [-N if_addr]\n" \
"\n" \
" -a Displays the active ARP table by querying the current protocol\n" \
" data. If inet_addr is specified, the IP and physical addresses\n" \
" for the specified address are displayed. If more than one\n" \
" network interface is using ARP, each interfaces ARP table is\n" \
" displayed.\n" \
" -g Indentical to -a.\n" \
" inet_addr Specifies the IP address.\n" \
" -N if_addr Displays the ARP table for the specified interface only\n" \
" -d Deletes the host entry specified by inet_addr. inet_addr may be\n" \
" wildcarded with * to delete all host entries in the ARP table.\n" \
" -s Adds the host and associates the IP address inet_addr with the\n" \
" physical address eth_addr. The physical address must be specified\n" \
" as 6 hexadecimal characters delimited by hyphens. The new entry\n" \
" will become permanent in the ARP table.\n" \
" eth_addr Specifies the interface physical address.\n" \
" if_addr If present, this specifies the IP address of the interface whose\n" \
" address translation table should be modified. If not present, the\n" \
" first applicable interface will be used.\n" \
"Example:\n" \
" > arp -s 192.168.0.12 55-AA-55-01-02-03 .... Static entry creation.\n" \
" > arp -a .... ARP table display.\n" \
" > arp -d * .... Delete all ARP table entries.\n"
};
void usage(void)
/*
* convert error code into meaningful message
*/
DWORD DoFormatMessage(DWORD ErrorCode)
{
// fprintf(stderr,"USAGE:\n");
fputs(szUsage, stderr);
LPVOID lpMsgBuf;
DWORD RetVal;
/* double brackets to silence the assignment warning message */
if ((RetVal = FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
ErrorCode,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), /* Default language */
(LPTSTR) &lpMsgBuf,
0,
NULL ))) {
_tprintf(_T("%s"), (LPTSTR)lpMsgBuf);
LocalFree(lpMsgBuf);
/* return number of TCHAR's stored in output buffer
* excluding '\0' - as FormatMessage does*/
return RetVal;
}
else
return 0;
}
int main(int argc, char *argv[])
/*
*
* Takes an ARP entry and prints the IP address,
* the MAC address and the entry type to screen
*
*/
INT PrintEntries(PMIB_IPNETROW pIpAddRow)
{
TCHAR szComputerName[50];
DWORD dwSize = 50;
IN_ADDR inaddr;
TCHAR cMacAddr[20];
int nBytes = 500;
BYTE* pCache;
/* print IP addresses */
inaddr.S_un.S_addr = pIpAddRow->dwAddr;
_tprintf(_T(" %-22s"), inet_ntoa(inaddr));
if (argc > 1) {
usage();
return 1;
/* print MAC address */
_stprintf(cMacAddr, _T("%02x-%02x-%02x-%02x-%02x-%02x"),
pIpAddRow->bPhysAddr[0],
pIpAddRow->bPhysAddr[1],
pIpAddRow->bPhysAddr[2],
pIpAddRow->bPhysAddr[3],
pIpAddRow->bPhysAddr[4],
pIpAddRow->bPhysAddr[5]);
_tprintf(_T("%-22s"), cMacAddr);
/* print cache type */
switch (pIpAddRow->dwType)
{
case MIB_IPNET_TYPE_DYNAMIC : _tprintf(_T("dynamic\n"));
break;
case MIB_IPNET_TYPE_STATIC : _tprintf(_T("static\n"));
break;
case MIB_IPNET_TYPE_INVALID : _tprintf(_T("invalid\n"));
break;
case MIB_IPNET_TYPE_OTHER : _tprintf(_T("other\n"));
break;
}
SnmpSvcInitUptime();
GetComputerName(szComputerName, &dwSize);
_tprintf(_T("ReactOS ARP cache on Computer Name: %s\n"), szComputerName);
pCache = (BYTE*)SnmpUtilMemAlloc(nBytes);
Sleep(2500);
if (pCache != NULL) {
DWORD dwUptime = SnmpSvcGetUptime();
_tprintf(_T("SNMP uptime: %d\n"), dwUptime);
SnmpUtilMemFree(pCache);
} else {
_tprintf(_T("ERROR: call to SnmpUtilMemAlloc() failed\n"));
return 1;
}
return 0;
return EXIT_SUCCESS;
}
/*
*
* Takes optional parameters of an internet address and interface address.
* Retrieve all entries in the ARP cache. If an internet address is
* specified, display the ARP entry relating to that address. If an
* interface address is specified, display all entries relating to
* that interface.
*
*/
/* FIXME: allow user to specify an interface address, via pszIfAddr */
INT DisplayArpEntries(PTCHAR pszInetAddr, PTCHAR pszIfAddr)
{
INT iRet;
UINT i, k;
PMIB_IPNETTABLE pIpNetTable;
PMIB_IPADDRTABLE pIpAddrTable;
ULONG ulSize = 0;
struct in_addr inaddr, inaddr2;
DWORD dwSize = 0;
PTCHAR pszIpAddr;
TCHAR szIntIpAddr[20];
/* Return required buffer size */
GetIpNetTable(NULL, &ulSize, 0);
/* allocate memory for ARP address table */
pIpNetTable = (PMIB_IPNETTABLE) malloc(ulSize * sizeof(BYTE));
ZeroMemory(pIpNetTable, sizeof(*pIpNetTable));
/* get Arp address table */
if (pIpNetTable != NULL)
GetIpNetTable(pIpNetTable, &ulSize, TRUE);
else
{
_tprintf(_T("failed to allocate memory for GetIpNetTable\n"));
free(pIpNetTable);
exit(EXIT_FAILURE);
}
/* check there are entries in the table */
if (pIpNetTable->dwNumEntries == 0)
{
_tprintf(_T("No ARP entires found\n"));
free(pIpNetTable);
exit(EXIT_FAILURE);
}
/* try doing this in the way it's done above, it's clearer */
/* Retrieve the interface-to-ip address mapping
* table to get the IP address for adapter */
pIpAddrTable = (MIB_IPADDRTABLE *) malloc(dwSize);
GetIpAddrTable(pIpAddrTable, &dwSize, 0); // NULL ?
pIpAddrTable = (MIB_IPADDRTABLE *) malloc(dwSize);
//ZeroMemory(pIpAddrTable, sizeof(*pIpAddrTable));
if ((iRet = GetIpAddrTable(pIpAddrTable, &dwSize, TRUE)) != NO_ERROR)
{
_tprintf(_T("GetIpAddrTable failed: %d\n"), iRet);
_tprintf(_T("error: %d\n"), WSAGetLastError());
}
for (k=0; k < pIpAddrTable->dwNumEntries; k++)
{
if (pIpNetTable->table[0].dwIndex == pIpAddrTable->table[k].dwIndex)
{
//printf("debug print: pIpAddrTable->table[?].dwIndex = %lx\n", pIpNetTable->table[k].dwIndex);
inaddr2.s_addr = pIpAddrTable->table[k].dwAddr;
pszIpAddr = inet_ntoa(inaddr2);
strcpy(szIntIpAddr, pszIpAddr);
}
}
/* print header, including interface IP address and index number */
_tprintf(_T("\nInterface: %s --- 0x%lx \n"), szIntIpAddr, pIpNetTable->table[0].dwIndex);
_tprintf(_T(" Internet Address Physical Address Type\n"));
/* go through all ARP entries */
for (i=0; i < pIpNetTable->dwNumEntries; i++)
{
/* if the user has supplied their own internet addesss *
* only print the arp entry which matches that */
if (pszInetAddr)
{
inaddr.S_un.S_addr = pIpNetTable->table[i].dwAddr;
pszIpAddr = inet_ntoa(inaddr);
/* check if it matches, print it */
if (strcmp(pszIpAddr, pszInetAddr) == 0)
PrintEntries(&pIpNetTable->table[i]);
}
else
/* if an address is not supplied, print all entries */
PrintEntries(&pIpNetTable->table[i]);
}
free(pIpNetTable);
free(pIpAddrTable);
return EXIT_SUCCESS;
}
/*
*
* Takes an internet address, a MAC address and an optional interface
* address as arguments and checks their validity.
* Fill out an MIB_IPNETROW structure and insert the data into the
* ARP cache as a static entry.
*
*/
INT Addhost(PTCHAR pszInetAddr, PTCHAR pszEthAddr, PTCHAR pszIfAddr)
{
PMIB_IPNETROW pAddHost;
PMIB_IPADDRTABLE pIpAddrTable;
PMIB_IPNETTABLE pIpNetTable;
DWORD dwIpAddr = 0;
DWORD dwSize = 0;
ULONG ulSize = 0;
INT iRet, i, val;
TCHAR c;
/* error checking */
/* check IP address */
if (pszInetAddr != NULL)
{
if ((dwIpAddr = inet_addr(pszInetAddr)) == INADDR_NONE)
{
_tprintf(_T("ARP: bad IP address: %s\n"), pszInetAddr);
exit(EXIT_FAILURE);
}
}
else
{
Usage();
exit(EXIT_FAILURE);
}
/* check MAC address */
if (strlen(pszEthAddr) != 17)
{
_tprintf(_T("ARP: bad argument: %s\n"), pszEthAddr);
exit(EXIT_FAILURE);
}
for (i=0; i<17; i++)
{
if (pszEthAddr[i] == SEPERATOR)
continue;
if (!isxdigit(pszEthAddr[i]))
{
_tprintf(_T("ARP: bad argument: %s\n"), pszEthAddr);
exit(EXIT_FAILURE);
}
}
/* We need the IpNetTable to get the adapter index */
/* Return required buffer size */
GetIpNetTable(NULL, &ulSize, 0);
/* allocate memory for ARP address table */
pIpNetTable = (PMIB_IPNETTABLE) malloc(ulSize * sizeof(BYTE));
ZeroMemory(pIpNetTable, sizeof(*pIpNetTable));
/* get Arp address table */
if (pIpNetTable != NULL)
GetIpNetTable(pIpNetTable, &ulSize, TRUE);
else
{
_tprintf(_T("failed to allocate memory for GetIpNetTable\n"));
free(pIpNetTable);
return -1;
}
/* reserve memory on heap and zero */
pAddHost = (MIB_IPNETROW *) malloc(sizeof(MIB_IPNETROW));
ZeroMemory(pAddHost, sizeof(MIB_IPNETROW));
/* set dwIndex field to the index of a local IP address to
* indicate the network on which the ARP entry applies */
if (pszIfAddr)
sscanf(pszIfAddr, "%lx", &pAddHost->dwIndex);
else
{
/* map the IP to the index */
pIpAddrTable = (MIB_IPADDRTABLE *) malloc(dwSize);
GetIpAddrTable(pIpAddrTable, &dwSize, 0);
pIpAddrTable = (MIB_IPADDRTABLE *) malloc(dwSize);
if ((iRet = GetIpAddrTable(pIpAddrTable, &dwSize, TRUE)) != NO_ERROR)
{
_tprintf(_T("GetIpAddrTable failed: %d\n"), iRet);
_tprintf(_T("error: %d\n"), WSAGetLastError());
}
//printf("debug print: pIpNetTable->table[0].dwIndex = %lx\n", pIpNetTable->table[0].dwIndex);
/* needs testing. I get the correct index on my machine, but need others
* to test their card index. Any problems and we can use GetAdaptersInfo instead */
pAddHost->dwIndex = pIpNetTable->table[0].dwIndex;
free(pIpAddrTable);
}
/* Set MAC address to 6 bytes (typical) */
pAddHost->dwPhysAddrLen = 6;
/* Encode bPhysAddr into correct byte array */
for (i=0; i<6; i++)
{
val =0;
c = toupper(pszEthAddr[i*3]);
c = c - (isdigit(c) ? '0' : ('A' - 10));
val += c;
val = (val << 4);
c = toupper(pszEthAddr[i*3 + 1]);
c = c - (isdigit(c) ? '0' : ('A' - 10));
val += c;
pAddHost->bPhysAddr[i] = val;
}
/* copy converted IP address */
pAddHost->dwAddr = dwIpAddr;
/* set type to static */
pAddHost->dwType = MIB_IPNET_TYPE_STATIC;
/* Add the ARP entry */
if ((iRet = SetIpNetEntry(pAddHost)) != NO_ERROR)
{
DoFormatMessage(iRet);
free(pAddHost);
exit(EXIT_FAILURE);
}
free(pAddHost);
return EXIT_SUCCESS;
}
/*
*
* Takes an internet address and an optional interface address as
* arguments and checks their validity.
* Add the interface number and IP to an MIB_IPNETROW structure
* and remove the entry from the ARP cache.
*
*/
INT Deletehost(PTCHAR pszInetAddr, PTCHAR pszIfAddr)
{
PMIB_IPNETROW pDelHost;
PMIB_IPADDRTABLE pIpAddrTable;
PMIB_IPNETTABLE pIpNetTable;
ULONG ulSize = 0;
DWORD dwIpAddr = 0;
DWORD dwSize = 0;
INT iRet;
BOOL bFlushTable = FALSE;
/* error checking */
/* check IP address */
if (pszInetAddr != NULL)
{
/* if wildcard is given, set flag to delete all hosts */
if (strncmp(pszInetAddr, "*", 1) == 0)
bFlushTable = TRUE;
else if ((dwIpAddr = inet_addr(pszInetAddr)) == INADDR_NONE)
{
_tprintf(_T("ARP: bad IP address: %s\n"), pszInetAddr);
exit(EXIT_FAILURE);
}
}
else
{
Usage();
exit(EXIT_FAILURE);
}
/* We need the IpNetTable to get the adapter index */
/* Return required buffer size */
GetIpNetTable(NULL, &ulSize, 0);
/* allocate memory for ARP address table */
pIpNetTable = (PMIB_IPNETTABLE) malloc(ulSize * sizeof(BYTE));
ZeroMemory(pIpNetTable, sizeof(*pIpNetTable));
/* get Arp address table */
if (pIpNetTable != NULL)
GetIpNetTable(pIpNetTable, &ulSize, TRUE);
else
{
_tprintf(_T("failed to allocate memory for GetIpNetTable\n"));
free(pIpNetTable);
return -1;
}
pIpAddrTable = (MIB_IPADDRTABLE*) malloc(sizeof(MIB_IPADDRTABLE));
pDelHost = (MIB_IPNETROW *) malloc(sizeof(MIB_IPNETROW));
ZeroMemory(pIpAddrTable, sizeof(MIB_IPADDRTABLE));
ZeroMemory(pDelHost, sizeof(MIB_IPNETROW));
/* set dwIndex field to the index of a local IP address to
* indicate the network on which the ARP entry applies */
if (pszIfAddr)
sscanf(pszIfAddr, "%lx", &pDelHost->dwIndex);
else
{
/* map the IP to the index */
if (GetIpAddrTable(pIpAddrTable, &dwSize, 0) == ERROR_INSUFFICIENT_BUFFER)
pIpAddrTable = (MIB_IPADDRTABLE *) malloc(dwSize);
if ((iRet = GetIpAddrTable(pIpAddrTable, &dwSize, TRUE)) != NO_ERROR)
{
_tprintf(_T("GetIpAddrTable failed: %d\n"), iRet);
_tprintf(_T("error: %d\n"), WSAGetLastError());
}
/* needs testing. I get the correct index on my machine, but need others
* to test their card index. Any problems and we can use GetAdaptersInfo instead */
pDelHost->dwIndex = pIpNetTable->table[0].dwIndex;
}
if (bFlushTable == TRUE)
{
/* delete arp cache */
if ((iRet = FlushIpNetTable(pDelHost->dwIndex)) != NO_ERROR)
{
DoFormatMessage(iRet);
free(pIpAddrTable);
free(pDelHost);
return EXIT_FAILURE;
}
else
{
free(pIpAddrTable);
free(pDelHost);
return EXIT_SUCCESS;
}
}
else
/* copy converted IP address */
pDelHost->dwAddr = dwIpAddr;
/* Add the ARP entry */
if ((iRet = DeleteIpNetEntry(pDelHost)) != NO_ERROR)
{
DoFormatMessage(iRet);
free(pIpAddrTable);
free(pDelHost);
exit(EXIT_FAILURE);
}
free(pIpAddrTable);
free(pDelHost);
return EXIT_SUCCESS;
}
/*
*
* print program usage to screen
*
*/
VOID Usage(VOID)
{
_tprintf(_T("\nDisplays and modifies the IP-to-Physical address translation tables used by\n"
"address resolution protocol (ARP).\n"
"\n"
"ARP -s inet_addr eth_addr [if_addr]\n"
"ARP -d inet_addr [if_addr]\n"
"ARP -a [inet_addr] [-N if_addr]\n"
"\n"
" -a Displays current ARP entries by interrogating the current\n"
" protocol data. If inet_addr is specified, the IP and Physical\n"
" addresses for only the specified computer are displayed. If\n"
" more than one network interface uses ARP, entries for each ARP\n"
" table are displayed.\n"
" -g Same as -a.\n"
" inet_addr Specifies an internet address.\n"
" -N if_addr Displays the ARP entries for the network interface specified\n"
" by if_addr.\n"
" -d Deletes the host specified by inet_addr. inet_addr may be\n"
" wildcarded with * to delete all hosts.\n"
" -s Adds the host and associates the Internet address inet_addr\n"
" with the Physical address eth_addr. The Physical address is\n"
" given as 6 hexadecimal bytes separated by hyphens. The entry\n"
" is permanent.\n"
" eth_addr Specifies a physical address.\n"
" if_addr If present, this specifies the Internet address of the\n"
" interface whose address translation table should be modified.\n"
" If not present, the first applicable interface will be used.\n"
"Example:\n"
" > arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.\n"
" > arp -a .... Displays the arp table.\n\n"));
}
/*
*
* Program entry.
* Parse command line and call the required function
*
*/
INT main(int argc, char* argv[])
{
if ((argc < 2) || (argc > 5))
{
Usage();
return EXIT_FAILURE;
}
if (argv[1][0] == '-')
{
switch (argv[1][1])
{
case 'a': /* fall through */
case 'g':
if (argc == 2)
DisplayArpEntries(NULL, NULL);
else if (argc == 3)
DisplayArpEntries(argv[2], NULL);
else if ((argc == 4) && ((strcmp(argv[2], "-N")) == 0))
DisplayArpEntries(NULL, argv[3]);
else if ((argc == 5) && ((strcmp(argv[3], "-N")) == 0))
DisplayArpEntries(argv[2], argv[4]);
else
Usage();
return EXIT_FAILURE;
break;
case 'd': if (argc == 3)
Deletehost(argv[2], NULL);
else if (argc == 4)
Deletehost(argv[2], argv[3]);
else
Usage();
return EXIT_FAILURE;
break;
case 's': if (argc == 4)
Addhost(argv[2], argv[3], NULL);
else if (argc == 5)
Addhost(argv[2], argv[3], argv[4]);
else
Usage();
return EXIT_FAILURE;
break;
default:
Usage();
return EXIT_FAILURE;
}
}
else
Usage();
return EXIT_SUCCESS;
} /*
warning: suggest parentheses around assignment used as truth value
warning: char format, void arg (arg 2)*/

View File

@@ -1,6 +1,5 @@
/* $Id$ */
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS TCP/IPv4 Win32 arp\0"
#define REACTOS_STR_INTERNAL_NAME "arp\0"
#define REACTOS_STR_ORIGINAL_FILENAME "arp.exe\0"
#define REACTOS_STR_ORIGINAL_COPYRIGHT "Ged Murphy (gedmurphy@gmail.com)\0"
#include <reactos/version.rc>

View File

@@ -0,0 +1,11 @@
<module name="arp" type="win32cui" installbase="system32" installname="arp.exe">
<include base="arp">.</include>
<define name="__USE_W32API" />
<library>kernel32</library>
<library>iphlpapi</library>
<library>ws2_32</library>
<library>shlwapi</library>
<file>arp.c</file>
<file>arp.rc</file>
</module>

View File

@@ -1,19 +0,0 @@
PATH_TO_TOP = ../../../..
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = arp
TARGET_INSTALLDIR = system32
TARGET_CFLAGS = -D__USE_W32API
TARGET_SDKLIBS = user32.a snmpapi.a
TARGET_OBJECTS = $(TARGET_NAME).o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk

View File

@@ -1,53 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Diagnostic Trace
//
#include <stdio.h>
#include <stdarg.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <tchar.h>
#include "trace.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
void _DebugBreak(void)
{
DebugBreak();
}
void Trace(TCHAR* lpszFormat, ...)
{
va_list args;
int nBuf;
TCHAR szBuffer[512];
va_start(args, lpszFormat);
nBuf = _vsntprintf(szBuffer, sizeof(szBuffer)/sizeof(TCHAR), lpszFormat, args);
OutputDebugString(szBuffer);
// was there an error? was the expanded string too long?
//ASSERT(nBuf >= 0);
va_end(args);
}
void Assert(void* assert, TCHAR* file, int line, void* msg)
{
if (msg == NULL) {
printf("ASSERT -- %s occured on line %u of file %s.\n",
assert, line, file);
} else {
printf("ASSERT -- %s occured on line %u of file %s: Message = %s.\n",
assert, line, file, msg);
}
}
#else
void Trace(TCHAR* lpszFormat, ...) { };
void Assert(void* assert, TCHAR* file, int line, void* msg) { };
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////

View File

@@ -1,61 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Diagnostic Trace
//
#ifndef __TRACE_H__
#define __TRACE_H__
#ifdef _DEBUG
#ifdef _X86_
#define BreakPoint() _asm { int 3h }
#else
#define BreakPoint() _DebugBreak()
#endif
#ifndef ASSERT
#define ASSERT(exp) \
{ \
if (!(exp)) { \
Assert(#exp, __FILE__, __LINE__, NULL); \
BreakPoint(); \
} \
} \
#define ASSERTMSG(exp, msg) \
{ \
if (!(exp)) { \
Assert(#exp, __FILE__, __LINE__, msg); \
BreakPoint(); \
} \
}
#endif
//=============================================================================
// MACRO: TRACE()
//=============================================================================
#define TRACE Trace
#else // _DEBUG
//=============================================================================
// Define away MACRO's ASSERT() and TRACE() in non debug builds
//=============================================================================
#ifndef ASSERT
#define ASSERT(exp)
#define ASSERTMSG(exp, msg)
#endif
#define TRACE 0 ? (void)0 : Trace
#endif // !_DEBUG
void Assert(void* assert, TCHAR* file, int line, void* msg);
void Trace(TCHAR* lpszFormat, ...);
#endif // __TRACE_H__
/////////////////////////////////////////////////////////////////////////////

View File

@@ -0,0 +1,33 @@
<directory name="arp">
<xi:include href="arp/arp.xml" />
</directory>
<directory name="finger">
<xi:include href="finger/finger.xml" />
</directory>
<directory name="ftp">
<xi:include href="ftp/ftp.xml" />
</directory>
<directory name="ipconfig">
<xi:include href="ipconfig/ipconfig.xml" />
</directory>
<directory name="netstat">
<xi:include href="netstat/netstat.xml" />
</directory>
<directory name="ping">
<xi:include href="ping/ping.xml" />
</directory>
<directory name="route">
<xi:include href="route/route.xml" />
</directory>
<directory name="tcpsvcs">
<xi:include href="tcpsvcs/tcpsvcs.xml" />
</directory>
<directory name="telnet">
<xi:include href="telnet/telnet.xml" />
</directory>
<directory name="tracert">
<xi:include href="tracert/tracert.xml" />
</directory>
<directory name="whois">
<xi:include href="whois/whois.xml" />
</directory>

View File

@@ -41,16 +41,6 @@
* Had to remove local handling. Otherwise, same as whois.
*/
#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)finger.c 8.5 (Berkeley) 5/4/95";
#endif /* not lint */
/*
* Finger prints out information about users. It is not portable since
* certain fields (e.g. the full user name, office, and phone numbers) are
@@ -84,7 +74,6 @@ int lflag, mflag, pplan, sflag;
static void userlist(int, char **);
void usage();
void netfinger(char *);
int
main(int argc, char **argv)
@@ -161,10 +150,10 @@ userlist(int argc, char **argv)
fprintf(stderr, "Warning: Can't do local finger\n");
}
/* Start winsock */
/* Start winsock */
wVersionRequested = MAKEWORD( 1, 1 );
iErr = WSAStartup( wVersionRequested, &wsaData );
if ( iErr != 0 )
if ( iErr != 0 )
{
/* Tell the user that we couldn't find a usable */
/* WinSock DLL. */

View File

@@ -0,0 +1,12 @@
<module name="finger" type="win32cui" installbase="system32" installname="finger.exe">
<include base="finger">.</include>
<define name="__USE_W32API" />
<define name="__USE_W32_SOCKETS" />
<library>kernel32</library>
<library>ws2_32</library>
<file>finger.c</file>
<file>err.c</file>
<file>getopt.c</file>
<file>net.c</file>
<file>finger.rc</file>
</module>

View File

@@ -42,6 +42,8 @@ static char sccsid[] = "@(#)getopt.c 4.13 (Berkeley) 2/23/91";
#include <stdlib.h>
#include <string.h>
#include "getopt.h"
/*
* get option letter from argument vector
*/

View File

@@ -1,24 +0,0 @@
PATH_TO_TOP = ../../../..
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = finger
TARGET_SDKLIBS = ws2_32.a
TARGET_INSTALLDIR = system32
TARGET_CFLAGS = -D__USE_W32_SOCKETS
TARGET_OBJECTS = $(TARGET_NAME).o \
err.o \
getopt.o \
net.o
TARGET_GCCLIBS = iberty
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk

View File

@@ -33,11 +33,6 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef lint
static char sccsid[] = "@(#)net.c 8.4 (Berkeley) 4/28/95";
#endif /* not lint */
#include <sys/types.h>
#include <winsock2.h>
#include "unistd.h"
@@ -56,15 +51,15 @@ netfinger(char *name)
struct hostent *hp, def;
struct servent *sp;
struct sockaddr_in sin;
int s;
SOCKET s;
char *alist[1], *host;
/* If this is a local request */
if (!(host = rindex(name, '@')))
return;
*host++ = NULL;
if (isdigit(*host) && (defaddr.s_addr = inet_addr(host)) != -1) {
*host++ = '\0';
if (isdigit(*host) && (defaddr.s_addr = inet_addr(host)) != (unsigned long)-1) {
def.h_name = host;
def.h_addr_list = alist;
def.h_addr = (char *)&defaddr;
@@ -84,7 +79,7 @@ netfinger(char *name)
sin.sin_family = hp->h_addrtype;
bcopy(hp->h_addr, (char *)&sin.sin_addr, hp->h_length);
sin.sin_port = sp->s_port;
if ((s = socket(hp->h_addrtype, SOCK_STREAM, 0)) < 0) {
if ((s = socket(hp->h_addrtype, SOCK_STREAM, 0)) == INVALID_SOCKET) {
perror("finger: socket");
return;
}
@@ -115,7 +110,7 @@ netfinger(char *name)
* Otherwise, all high bits are stripped; if it isn't printable and
* it isn't a space, we can simply set the 7th bit. Every ASCII
* character with bit 7 set is printable.
*/
*/
lastc = 0;
while (recv(s, &c, 1, 0) == 1) {
c &= 0x7f;

View File

@@ -31,4 +31,6 @@ typedef long uid_t; // SunOS 5.5
#define index(s, c) strchr(s, c)
#define rindex(s, c) strrchr(s, c)
void netfinger(char *);
#endif

Some files were not shown because too many files have changed in this diff Show More