reactos.git
18 years agoremoved an ASSERT that occured when system ran out of GDI handles, and added more...
Royce Mitchell III [Tue, 7 Dec 2004 19:53:44 +0000 (19:53 +0000)]
removed an ASSERT that occured when system ran out of GDI handles, and added more correct error handling for the condition

svn path=/trunk/; revision=11974

18 years agoSync to Wine-20041201
Gé van Geldorp [Tue, 7 Dec 2004 19:35:19 +0000 (19:35 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

svn path=/trunk/; revision=11973

18 years agoSync to Wine-20041201
Gé van Geldorp [Tue, 7 Dec 2004 19:28:49 +0000 (19:28 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

svn path=/trunk/; revision=11972

18 years agoCode cleanup and sink with WindHq CVS.
James Tabor [Tue, 7 Dec 2004 08:13:01 +0000 (08:13 +0000)]
Code cleanup and sink with WindHq CVS.

svn path=/trunk/; revision=11971

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 23:55:46 +0000 (23:55 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.
Juan Lang <juan_lang@yahoo.com>
- Fix CSIDL_CONTROLS and CSIDL_PRINTERS PIDL types, and update tests now
  that they pass.
Robert Shearman <rob@codeweavers.com>
- Use more specific error codes than E_FAIL, where possible.
- Move vtable to end, give it the const modifier, and remove unneeded
  function declarations.
Juan Lang <juan_lang@yahoo.com>
- the correct registry location to override is User Shell Folders, not
  Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa
- the default values should be localizable
- some of the parameter checking and returned LPITEMIDLISTs were a bit
  off
- _SHExpandEnvironmentStrings should return input string if no % found
to expand, and should call ExpandEnvironmentStringsW if it doesn't
handle an environment variable directly.  Based on a patch from Dan
Kegel.
- Avoid copying invalid data on error.
- Update shell32's version to WinXP level.
Aric Stewart <aric@codeweavers.com>
- Implementation of PathCleanupSpec.
Fabrice Menard <menard.fabrice@wanadoo.fr>
- Some French translations added.
- Check the type of error returned by SHCreateDirectoryExW.
Rolf Kalbermatter <rolf.kalbermatter@citeng.com>
- Use SHCreateDirectoryEx function instead of doing explicit recursive
  directory creation.
- Fix bad memory allocation for unicode buffer.
- SHCreateDirectory should create intermediate directories if
  necessary.
- Remove extra boolean parameter in SHNotifyMoveFile as it is not
  used.
- Use in SHFileOperation the function SHNotifyCreateDirectory instead
  of SHCreateDirectoryEx as it does not anymore what is needed here.
- Fix several unsigned/signed mismatch warnings.
Alexandre Julliard <julliard@winehq.org>
- Avoid copying invalid data on error.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Tom Wickline <twickline@sitestar.net>
- Version resources cleanup.

svn path=/trunk/; revision=11970

18 years agocorrected the last error to check for when determining if the file already exists...
Gunnar Dalsnes [Mon, 6 Dec 2004 14:45:47 +0000 (14:45 +0000)]
corrected the last error to check for when determining if the file already exists (when using CreateFile with CREATE_NEW)

svn path=/trunk/; revision=11969

18 years ago-correct return value/last error
Gunnar Dalsnes [Mon, 6 Dec 2004 14:37:11 +0000 (14:37 +0000)]
-correct return value/last error
-make use of macros for stu conversion
-pass NULL timeout for INFINITE wait instead of waiting for 292000 years;-D

svn path=/trunk/; revision=11968

18 years ago-add TYPE_ALIGNMENT macro
Gunnar Dalsnes [Mon, 6 Dec 2004 14:34:43 +0000 (14:34 +0000)]
-add TYPE_ALIGNMENT macro
-add macros for easy conversion to system time units (100ns)
(dunno if this is the right place to put it)

svn path=/trunk/; revision=11967

18 years agoset correct last error
Gunnar Dalsnes [Mon, 6 Dec 2004 14:24:51 +0000 (14:24 +0000)]
set correct last error

svn path=/trunk/; revision=11966

18 years agoreplace NtCreateFile with ZwCreateFile
Gunnar Dalsnes [Mon, 6 Dec 2004 13:46:43 +0000 (13:46 +0000)]
replace NtCreateFile with ZwCreateFile

svn path=/trunk/; revision=11965

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 10:20:26 +0000 (10:20 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

svn path=/trunk/; revision=11964

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 10:15:04 +0000 (10:15 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

svn path=/trunk/; revision=11963

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 10:07:19 +0000 (10:07 +0000)]
Sync to Wine-20041201
Robert Shearman <rob@codeweavers.com>
- Add some function declarations to objbase.h.
- Add stubs for server ref counting.
- Implement HRESULT marshaling.
- Implement OleDuplicateData.
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.
Mike Hearn <mh@codeweavers.com>
- Improve OLE function documentation.
- Bail out with CO_E_NOTINITIALIZED when apt is null.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Remove bogus use of nStatCounter and hOleAut32 in CoSetState.
- Remove a comment about protecting per thread data by a critical section.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Mike Hearn <mh@codeweavers.com>
- Trace the OLE error info strings.

svn path=/trunk/; revision=11962

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 09:57:06 +0000 (09:57 +0000)]
Sync to Wine-20041201
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Ensure DllCanUnloadNow is a truly void function, and give it a unique
  name so it can be documented per-dll.
Tom Wickline <twickline@sitestar.net>
- Version resources cleanup.

svn path=/trunk/; revision=11961

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 09:51:03 +0000 (09:51 +0000)]
Sync to Wine-20041201
Mike McCormack <mike@codeweavers.com>
- CFM_GETSPEC always returns a space-separated list.
- Fix ofn.nFileOffset when multiple files are selected.

svn path=/trunk/; revision=11960

18 years agocommented out the progress page in setup because it doesn't currently do anything.
Richard Campbell [Mon, 6 Dec 2004 09:13:28 +0000 (09:13 +0000)]
commented out the progress page in setup because it doesn't currently do anything.

svn path=/trunk/; revision=11959

18 years agoFilip and Richard are both smoking something.
Alex Ionescu [Mon, 6 Dec 2004 08:41:38 +0000 (08:41 +0000)]
Filip and Richard are both smoking something.

Replaced syntax error and incorrect inversion.

dwUnknown is a reserved parameter (dwReserved is more correct) that is never used, but it's still incorrect to pass 0 because we should respect what the user is sending us.

svn path=/trunk/; revision=11958

18 years ago- More fixes related to the removal of the 'lib' prefix on various libraries.
Richard Campbell [Mon, 6 Dec 2004 08:33:42 +0000 (08:33 +0000)]
- More fixes related to the removal of the 'lib' prefix on various libraries.
- BootCD is working again now.

svn path=/trunk/; revision=11957

18 years agoFixed a typo that prevented ROS from booting properly.
Richard Campbell [Mon, 6 Dec 2004 08:01:57 +0000 (08:01 +0000)]
Fixed a typo that prevented ROS from booting properly.

svn path=/trunk/; revision=11956

18 years ago- Filip is smoking something :-)
Richard Campbell [Mon, 6 Dec 2004 07:14:47 +0000 (07:14 +0000)]
- Filip is smoking something :-)
- Replaced a syntax error with 0 for now, as we don't know anything about NtUserUpdatePerUserSystemParameters.

svn path=/trunk/; revision=11955

18 years ago- Basic implementation of (NtUser)UpdatePerUserSystemParameters.
Filip Navara [Mon, 6 Dec 2004 02:23:05 +0000 (02:23 +0000)]
- Basic implementation of (NtUser)UpdatePerUserSystemParameters.
- Move code querying for "PaintDesktopVersion" to NtUserUpdatePerUserSystemParameters.

svn path=/trunk/; revision=11954

18 years agofix broken ShareAccess set/update. makes 80+ wine regtests pass
Gunnar Dalsnes [Mon, 6 Dec 2004 00:26:47 +0000 (00:26 +0000)]
fix broken ShareAccess set/update. makes 80+ wine regtests pass

svn path=/trunk/; revision=11953

18 years agoSync to Wine-20041201
Gé van Geldorp [Sun, 5 Dec 2004 23:09:27 +0000 (23:09 +0000)]
Sync to Wine-20041201
Ulrich Czekalla <ulrich@codeweavers.com>
- Prevent the animation thread from waiting on itself when it stops.
Robert Shearman <rob@codeweavers.com>
- Remove unnecessary WNDPROC casts.
Alexandre Julliard <julliard@winehq.org>
- Avoid using the MAKEPOINTS macro, it's broken on big endian.
- Use correct type instead of void* in item linked list.
Dimitrie O. Paun <dpaun@rogers.com>
- Minor cleanups.
- Implement proper GWL_STYLE handling, proper reaction to style changes.
- Merge {{Inc,Dec}rement,Reset{Up,Down}}Field into one method. Fix a
  bunch of bugs in the process.  Implement DTM_[GS]ETMCFONT. Indentation
  fixes, cleanups.
- Use typesafe signature where possible.
- Use Unicode functions where possible.
- Send notification messages in the format dictated by
  infoPtr->notifyFormat.
- Audit the month calendar.
- Rename STATUSWINDOWINFO to STATUS_INFO, for consistency with other
  controls. Fix some prototypes. Always pass infoPtr around.
- Use only Unicode functions, it makes it easier to see we are fully
  Unicode compliant.
Robert Shearman <rob@codeweavers.com>
- Always remove WS_BORDER style from ComboBoxEx control.
- Correct the date of the completeness audit.
- Store the new style before redrawing and repositioning the control.
- Set cache bitmap dimensions correctly when a 0x0 image list is used.
- Optimize WM_STYLECHANGED handler to only redraw when a CCS_* style
  is changed, like native.
- bNtfUnicode is a dup' of bUnicode so remove it and fix the few
  places where it was used.
- Remove a load of useless NULL infoPtr checks.
- Hardcode the default padding like native instead of using a wacky formula.
- Replace some tabs with spaces and remove NMHDR casts.
- Implement TBN_RESTORE notification.
- Don't fill in any more information than native does for notifications.
- Store hit code in a signed integer so that we can see whether it is
  less than zero.
- Draw with ILD_TRANSPARENT instead of ILD_NORMAL to draw bitmaps from
  the native shell image list properly (reported by Thorsten Kani).
- Rewrite TOOLBAR_NotifyFormat to avoid side-effects.
James Hawkins <truiken@gmail.com>
- Fixed a few memory leaks.
Zach Gorman <zach@archetypeauction.com>
- Add the DT_NOPREFIX flag when calling DrawText() for single-line
  listview controls.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Pass infoPtr around in month calendar control.
- Add support for WM_SETFONT and WM_GETFONT messages.
- Dimensions of month calendar control should not depend on the client
  window size.
- Convert NativeFont control to unicode, use hbrBackground as in native.
- Do not retrieve infoPtr twice in ToolbarWindowProc entry.
- do not move updown control and buddy if an alignment was not requested
- in UDM_SETACCEL handler do not forget to update number of accelerators
- update arrows info in WM_LBUTTONDOWN as well as in WM_MOUSEMOVE
- use accelerators in WM_LBUTTONDOWN handler
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- Monthcal_SetRange: Set proper value for min date.
Thorsten Kani <beebix@gmx.net>
- Use address of tab_item.extra when building drawitemstruct.
- Don't add extra OFFSET_X/Y to the calculation of rcBitmap.top/left,
  just use GetSystemMetrics.
Huw Davies <huw@codeweavers.com>
- The default font for the treeview should be the icon title font.

svn path=/trunk/; revision=11952

18 years agoAnother lib prefix killed: libexpat.dll -> expat.dll
Gé van Geldorp [Sun, 5 Dec 2004 23:07:22 +0000 (23:07 +0000)]
Another lib prefix killed: libexpat.dll -> expat.dll

svn path=/trunk/; revision=11951

18 years agolibwine_unicode.dll is better known as wine_unicode.dll these days
Gé van Geldorp [Sun, 5 Dec 2004 23:03:22 +0000 (23:03 +0000)]
libwine_unicode.dll is better known as wine_unicode.dll these days

svn path=/trunk/; revision=11950

18 years ago- Fix RtlInitUnicodeStringEx for NULL case (spotted by Herv� Poussineau).
Filip Navara [Sun, 5 Dec 2004 21:42:54 +0000 (21:42 +0000)]
- Fix RtlInitUnicodeStringEx for NULL case (spotted by Herv� Poussineau).

svn path=/trunk/; revision=11949

18 years agoSync to Wine-20041201
Gé van Geldorp [Sun, 5 Dec 2004 21:30:16 +0000 (21:30 +0000)]
Sync to Wine-20041201
James Hawkins <truiken@gmail.com>
- Fix cabextract memory leak.

svn path=/trunk/; revision=11948

18 years ago- Implement RtlInitUnicodeStringEx.
Filip Navara [Sun, 5 Dec 2004 21:16:01 +0000 (21:16 +0000)]
- Implement RtlInitUnicodeStringEx.

svn path=/trunk/; revision=11947

18 years agohpoussin <poussine@freesurf.fr>:
Gé van Geldorp [Sun, 5 Dec 2004 16:31:51 +0000 (16:31 +0000)]
hpoussin <poussine@freesurf.fr>:
- Add full FATX support
- Add volume label setting to FAT volumes
- Change all ANSI_STRING to OEM_STRING (thanks Filip!)
- Correct one bug in VfatUpdateEntry
- Correct one bug in VfatShutdown
Fixes bugs 286, 434 and 442

svn path=/trunk/; revision=11946

18 years agoCopy "halup.dll" to bootcd as "hal.dll"
Gé van Geldorp [Sun, 5 Dec 2004 16:27:45 +0000 (16:27 +0000)]
Copy "halup.dll" to bootcd as "hal.dll"

svn path=/trunk/; revision=11945

18 years agoget rid of the "global" system process handle since handles are only vaild in the...
Thomas Bluemel [Sun, 5 Dec 2004 15:42:42 +0000 (15:42 +0000)]
get rid of the "global" system process handle since handles are only vaild in the context of the process that they belong to

svn path=/trunk/; revision=11944

18 years agoRemoved my preprocessor hack. DBG appeared to be getting swallowed.
Art Yerkes [Sun, 5 Dec 2004 08:39:09 +0000 (08:39 +0000)]
Removed my preprocessor hack.  DBG appeared to be getting swallowed.
Needs some investigation.

svn path=/trunk/; revision=11943

18 years agoKJK:Hyperion: new macro _SEH_STATIC_FILTER, some changes
Gunnar Dalsnes [Sun, 5 Dec 2004 06:05:52 +0000 (06:05 +0000)]
KJK:Hyperion: new macro _SEH_STATIC_FILTER, some changes

svn path=/trunk/; revision=11942

18 years ago- Allocate the MDI client context structure only once (and don't create a second...
Filip Navara [Sun, 5 Dec 2004 03:50:47 +0000 (03:50 +0000)]
- Allocate the MDI client context structure only once (and don't create a second one in WM_CREATE and leak the first one).
- Don't call SetScrollInfo with SB_BOTH.
- Don't add empty system icon to the client menu.

svn path=/trunk/; revision=11941

18 years ago- Fix conversion of messages from Unicode to Ansi and back.
Filip Navara [Sun, 5 Dec 2004 03:50:33 +0000 (03:50 +0000)]
- Fix conversion of messages from Unicode to Ansi and back.

svn path=/trunk/; revision=11940

18 years ago- Don't delete the "first bitmap" of memory DC. It's done by DeleteDC.
Filip Navara [Sun, 5 Dec 2004 01:13:29 +0000 (01:13 +0000)]
- Don't delete the "first bitmap" of memory DC. It's done by DeleteDC.

svn path=/trunk/; revision=11939

18 years ago- Rebar cursors must be destroyed with DestroyCursor and not with DeleteObject.
Filip Navara [Sun, 5 Dec 2004 01:12:56 +0000 (01:12 +0000)]
- Rebar cursors must be destroyed with DestroyCursor and not with DeleteObject.

svn path=/trunk/; revision=11938

18 years ago- Update .cvsignore files.
Filip Navara [Sun, 5 Dec 2004 00:40:28 +0000 (00:40 +0000)]
- Update .cvsignore files.
- Remove makefile.ros files from CVS.

svn path=/trunk/; revision=11937

18 years ago- Correctly destroy tooltip icons.
Filip Navara [Sun, 5 Dec 2004 00:22:03 +0000 (00:22 +0000)]
- Correctly destroy tooltip icons.
- Don't use DrawEdge with NULL device context.

svn path=/trunk/; revision=11936

18 years ago- Change DPRINT1 to DPRINT in NtUserCreateDesktop.
Filip Navara [Sun, 5 Dec 2004 00:20:41 +0000 (00:20 +0000)]
- Change DPRINT1 to DPRINT in NtUserCreateDesktop.
- Make the pattern brush bitmap objects global to prevent ownership problems.

svn path=/trunk/; revision=11935

18 years ago- Disable debugging messages.
Filip Navara [Sun, 5 Dec 2004 00:20:22 +0000 (00:20 +0000)]
- Disable debugging messages.

svn path=/trunk/; revision=11934

18 years agoafd/connect.c:
Art Yerkes [Sat, 4 Dec 2004 23:29:56 +0000 (23:29 +0000)]
afd/connect.c:
- only pend the irp if we got a pending return from tcpip.
afd/info.c:
- info stub for blocking mode info.
afd/main.c:
- added disconnect plumbing.
- some reformatting, add break after each inactive case.
afd/read.c:
- early return for already closed socket.
- function to correctly complete pending recv irps on a closed socket.
- fixed read completion bug, content properly zeroed before buffer is
  replenished.
- only attempt to fulfill read irps if we got data back.
- call ProcessClose in the no data case.
- major changes to AfdConnectedSocketRead due to connection close.  we now
  recognize the case where the request to tcpip returns zero bytes immediately
  and take action, doing processclose.
afd/tdi.c:
- Added TdiDisconnect.
route.c:
- router: fixed routing bug.  we used to reject the default route if the
  address didn't match at least one bit of the target network, even if the
  netmask is zero.
if.c:
- change RouterGetRoute to RouteGetRouteToDestination
tcp.c:
- simplify TCPReceiveData by removing eof clause.  not needed.
- added SEL_FIN branch in signalling.
- added TCPTranslateError to TCPConnect
- added TCPDisconnect
dispatch.c:
- Implement disconnect
ip_output.c:
- Make a contiguous area from each output packet.  We need to streamline this.
msafd:
- Added MsafdReturnWithErrno
- streamlined function returns with standardize errno selection.

svn path=/trunk/; revision=11933

18 years agoProbing functions 1 and 2 of device 0 on bus 0 completely freezes the Xbox,
Gé van Geldorp [Sat, 4 Dec 2004 22:52:59 +0000 (22:52 +0000)]
Probing functions 1 and 2 of device 0 on bus 0 completely freezes the Xbox,
blacklist those functions

svn path=/trunk/; revision=11932

18 years ago- Don't stop backtrace at the first address that can't be displayed with module name...
Filip Navara [Sat, 4 Dec 2004 22:13:09 +0000 (22:13 +0000)]
- Don't stop backtrace at the first address that can't be displayed with module name (ie. backtrace over syscalls).

svn path=/trunk/; revision=11931

18 years ago- Don't try to delete stock font.
Filip Navara [Sat, 4 Dec 2004 22:09:02 +0000 (22:09 +0000)]
- Don't try to delete stock font.

svn path=/trunk/; revision=11930

18 years ago- Correct freeing of heap memory.
Filip Navara [Sat, 4 Dec 2004 22:08:30 +0000 (22:08 +0000)]
- Correct freeing of heap memory.

svn path=/trunk/; revision=11929

18 years ago- Set the ownership of NCUpdateRegion before returning the WM_NCPAINT message, so...
Filip Navara [Sat, 4 Dec 2004 22:07:24 +0000 (22:07 +0000)]
- Set the ownership of NCUpdateRegion before returning the WM_NCPAINT message, so it's possible to delete it.

svn path=/trunk/; revision=11928

18 years agoForgot to remove the space reservation for hal_pagetable
Gé van Geldorp [Sat, 4 Dec 2004 21:48:45 +0000 (21:48 +0000)]
Forgot to remove the space reservation for hal_pagetable

svn path=/trunk/; revision=11927

18 years agoAdd beginnings of HAL for Xbox
Gé van Geldorp [Sat, 4 Dec 2004 21:43:37 +0000 (21:43 +0000)]
Add beginnings of HAL for Xbox

svn path=/trunk/; revision=11926

18 years agoUse MmMapIoSpace() instead of messing around with the page tables directly
Gé van Geldorp [Sat, 4 Dec 2004 21:40:55 +0000 (21:40 +0000)]
Use MmMapIoSpace() instead of messing around with the page tables directly
when mapping the video frame buffer for HAL

svn path=/trunk/; revision=11925

18 years agoCurrent versions of VMware provide a correct BIOS memory map
Gé van Geldorp [Sat, 4 Dec 2004 20:58:13 +0000 (20:58 +0000)]
Current versions of VMware provide a correct BIOS memory map

svn path=/trunk/; revision=11924

18 years ago- Implement SetMenuItemInfo[AW].
Filip Navara [Sat, 4 Dec 2004 19:53:55 +0000 (19:53 +0000)]
- Implement SetMenuItemInfo[AW].

svn path=/trunk/; revision=11923

18 years ago- Implement lstr[i]cmp[AW] using CompareString[AW] and properly handle NULL parameters.
Filip Navara [Sat, 4 Dec 2004 19:52:55 +0000 (19:52 +0000)]
- Implement lstr[i]cmp[AW] using CompareString[AW] and properly handle NULL parameters.

svn path=/trunk/; revision=11922

18 years ago- Implement QueueUserAPC.
Filip Navara [Sat, 4 Dec 2004 19:45:56 +0000 (19:45 +0000)]
- Implement QueueUserAPC.

svn path=/trunk/; revision=11921

18 years ago- Fix the return value of WaitForMultipleObjectsEx.
Filip Navara [Sat, 4 Dec 2004 19:31:26 +0000 (19:31 +0000)]
- Fix the return value of WaitForMultipleObjectsEx.

svn path=/trunk/; revision=11920

18 years ago- Implement QueueUserAPC.
Filip Navara [Sat, 4 Dec 2004 19:30:09 +0000 (19:30 +0000)]
- Implement QueueUserAPC.

svn path=/trunk/; revision=11919

18 years agofixed some function prototypes
Thomas Bluemel [Sat, 4 Dec 2004 19:28:47 +0000 (19:28 +0000)]
fixed some function prototypes

svn path=/trunk/; revision=11918

18 years agoLet HAL handle its own mapping of the video frame buffer
Gé van Geldorp [Sat, 4 Dec 2004 17:22:47 +0000 (17:22 +0000)]
Let HAL handle its own mapping of the video frame buffer

svn path=/trunk/; revision=11917

18 years agoRemove some unused files, little cosmetic changes.
Gregor Anich [Sat, 4 Dec 2004 17:10:52 +0000 (17:10 +0000)]
Remove some unused files, little cosmetic changes.

svn path=/trunk/; revision=11916

18 years agoAdded InterlockedCompareExchangePointer macro and 64 bit versions for Interlocked...
Gregor Anich [Sat, 4 Dec 2004 16:56:20 +0000 (16:56 +0000)]
Added InterlockedCompareExchangePointer macro and 64 bit versions for Interlocked[Compare]ExchangePointer macros for use in ntoskrnl.

svn path=/trunk/; revision=11915

18 years agoUse InterlockedCompareExchange64 instead of InterlockedCompareExchange for 64bit...
Gregor Anich [Sat, 4 Dec 2004 15:49:20 +0000 (15:49 +0000)]
Use InterlockedCompareExchange64 instead of InterlockedCompareExchange for 64bit builds.

svn path=/trunk/; revision=11914

18 years agoRemove "lib" suffix from "libwine" because it's added by the build system automatically.
Gregor Anich [Sat, 4 Dec 2004 15:45:38 +0000 (15:45 +0000)]
Remove "lib" suffix from "libwine" because it's added by the build system automatically.

svn path=/trunk/; revision=11913

18 years ago- Split up the handling if the fsd returns STATUS_NOT_IMPLEMENTED in MoveFileWithProg...
Hartmut Birr [Sat, 4 Dec 2004 15:38:22 +0000 (15:38 +0000)]
- Split up the handling if the fsd returns STATUS_NOT_IMPLEMENTED in MoveFileWithProgressW.
- Converted the destination name before calling NtSetInformationFile in MoveFileWithProgressW.

svn path=/trunk/; revision=11912

18 years agoImplement GetSystemDefaultUILanguage() and IsValidLocale().
Eric Kohl [Sat, 4 Dec 2004 13:59:41 +0000 (13:59 +0000)]
Implement GetSystemDefaultUILanguage() and IsValidLocale().

svn path=/trunk/; revision=11911

18 years agoPrefix libs in dk/w32 and dk/nkm with "lib" to make use of GCC -l switch possible.
Gregor Anich [Fri, 3 Dec 2004 23:37:44 +0000 (23:37 +0000)]
Prefix libs in dk/w32 and dk/nkm with "lib" to make use of GCC -l switch possible.

svn path=/trunk/; revision=11910

18 years agoReorganise HAL so multiple HAL versions can be built in parallel
Gé van Geldorp [Fri, 3 Dec 2004 20:10:45 +0000 (20:10 +0000)]
Reorganise HAL so multiple HAL versions can be built in parallel

svn path=/trunk/; revision=11909

18 years agoFix and add missing files, and will allow the use of bison as an option of choice.
James Tabor [Fri, 3 Dec 2004 06:21:44 +0000 (06:21 +0000)]
Fix and add missing files, and will allow the use of bison as an option of choice.

svn path=/trunk/; revision=11907

18 years agono need to copy the buffers to the stack
Thomas Bluemel [Thu, 2 Dec 2004 21:22:36 +0000 (21:22 +0000)]
no need to copy the buffers to the stack

svn path=/trunk/; revision=11906

18 years agothe time zone buffers need to be large enough, applications like firefox might attemp...
Thomas Bluemel [Thu, 2 Dec 2004 21:19:56 +0000 (21:19 +0000)]
the time zone buffers need to be large enough, applications like firefox might attempt to write into it

svn path=/trunk/; revision=11905

18 years ago- Remove duplicate definitions.
Filip Navara [Thu, 2 Dec 2004 21:01:11 +0000 (21:01 +0000)]
- Remove duplicate definitions.

svn path=/trunk/; revision=11904

18 years ago*** empty log message ***
Filip Navara [Thu, 2 Dec 2004 19:46:16 +0000 (19:46 +0000)]
*** empty log message ***

svn path=/trunk/; revision=11903

18 years ago- Update OLEAUT32 to Wine-20041202
Filip Navara [Thu, 2 Dec 2004 19:38:49 +0000 (19:38 +0000)]
- Update OLEAUT32 to Wine-20041202

svn path=/trunk/; revision=11902

18 years agoUse the GMT timezone by default.
Eric Kohl [Thu, 2 Dec 2004 14:09:25 +0000 (14:09 +0000)]
Use the GMT timezone by default.

svn path=/trunk/; revision=11901

18 years ago- RegQueryValueExA: Return the correct data size for binary data types.
Eric Kohl [Thu, 2 Dec 2004 14:08:27 +0000 (14:08 +0000)]
- RegQueryValueExA: Return the correct data size for binary data types.

svn path=/trunk/; revision=11900

18 years agoFixed handling of exceptions in memory read/write functions, moved ASSERT(0) to the...
Gregor Anich [Thu, 2 Dec 2004 01:33:02 +0000 (01:33 +0000)]
Fixed handling of exceptions in memory read/write functions, moved ASSERT(0) to the right place.

svn path=/trunk/; revision=11898

18 years agoI removed an old comment about replacing PAGESIZE with PAGE_SIZE, which somebody...
Emanuele Aliberti [Wed, 1 Dec 2004 23:51:11 +0000 (23:51 +0000)]
I removed an old comment about replacing PAGESIZE with PAGE_SIZE, which somebody else already did.

svn path=/trunk/; revision=11897

18 years agoCatch hang-up regtests, added _DispatcherTimeout macros for tests to specify timeout...
Gregor Anich [Wed, 1 Dec 2004 23:23:47 +0000 (23:23 +0000)]
Catch hang-up regtests, added _DispatcherTimeout macros for tests to specify timeout (default is 5000ms)

svn path=/trunk/; revision=11896

18 years ago*** empty log message ***
Emanuele Aliberti [Wed, 1 Dec 2004 23:05:37 +0000 (23:05 +0000)]
*** empty log message ***

svn path=/trunk/; revision=11895

18 years agoThx filps
Magnus Olsen [Wed, 1 Dec 2004 20:46:33 +0000 (20:46 +0000)]
Thx filps

> This is wrong and this file should be autogenerated. Only the
> dinput.spec file should be in CVS!
>
> - Filip

svn path=/trunk/; revision=11894

18 years ago- Get full OLEAUT32 to compile.
Filip Navara [Wed, 1 Dec 2004 20:06:15 +0000 (20:06 +0000)]
- Get full OLEAUT32 to compile.

svn path=/trunk/; revision=11893

18 years agoAlways use the PSEH names for NLG to avoid conflicts when _SEH_NO_NATIVE_NLG is defin...
Thomas Bluemel [Wed, 1 Dec 2004 19:20:53 +0000 (19:20 +0000)]
Always use the PSEH names for NLG to avoid conflicts when _SEH_NO_NATIVE_NLG is defined but <setjmp.h> is included nevertheless. This fixes the use of PSEH in win32k. Also declared the _SEHCompilerSpecificHandler as __inline so that GCC will ignore it when it's unused. This fixes the inclusion of <pseh.h> in a PCH
Patch by KJK

svn path=/trunk/; revision=11892

18 years agoremoved unused definitions
Thomas Bluemel [Wed, 1 Dec 2004 18:38:04 +0000 (18:38 +0000)]
removed unused definitions

svn path=/trunk/; revision=11891

18 years agoadd
Magnus Olsen [Wed, 1 Dec 2004 16:09:03 +0000 (16:09 +0000)]
add
opengl32.dll, glu32.dll, dinput.dll, dinput8.dll to reactos bootcd

svn path=/trunk/; revision=11890

18 years agoBuild
Magnus Olsen [Wed, 1 Dec 2004 16:07:57 +0000 (16:07 +0000)]
Build
Dxguid, dinput and dinput8
from reactos make file

svn path=/trunk/; revision=11889

18 years agoforget add file dinput.spec.def
Magnus Olsen [Wed, 1 Dec 2004 16:05:39 +0000 (16:05 +0000)]
forget add file dinput.spec.def
other wise dinput8 will not build

svn path=/trunk/; revision=11888

18 years agoforget add file dinput.spec.def
Magnus Olsen [Wed, 1 Dec 2004 15:58:32 +0000 (15:58 +0000)]
forget add file dinput.spec.def
other wise dinput will not build

svn path=/trunk/; revision=11887

18 years agoforget add file dinput.spec.def
Magnus Olsen [Wed, 1 Dec 2004 15:20:13 +0000 (15:20 +0000)]
forget add file dinput.spec.def
other wise dinput will not build

svn path=/trunk/; revision=11886

18 years agoSet timezone without changing the local time.
Eric Kohl [Wed, 1 Dec 2004 14:28:54 +0000 (14:28 +0000)]
Set timezone without changing the local time.

svn path=/trunk/; revision=11885

18 years ago- sanity check: assert DISPATCH_LEVEL for the dpc.
Art Yerkes [Wed, 1 Dec 2004 08:14:15 +0000 (08:14 +0000)]
- sanity check: assert DISPATCH_LEVEL for the dpc.
- Added a DEBUG_LOCK that shows lock activity.
- Moved crummy externs from event.c to tcp.h
- Withdraw TCPCancelReceiveRequest: i didn't mean to commit that
- Added signalled sockets list to TCP so that we don't do reentrant stuff from
  inside oskit.  The signal list holds sockets that have been identified by
  oskit as needing service.
- After packet receive and on the timer we drain this list, designalling each
  socket and completing relevant irps.
- According to msdn, the io cancellation routine must release the cancel spin
  lock, but we're entered with it acquired.  Our implementation in ntoskrnl
  matches this so the tcpip implementation was wrong.  Removed acquire.
- DDKAPI on DispCancelRequest.  Avoid some stack corruption on DPCs that now
  shows up.
- Make sure to IpMarkIrpPending and not edit flags by hand on Irps in dispatch.

svn path=/trunk/; revision=11884

18 years agominiport:
Art Yerkes [Wed, 1 Dec 2004 08:02:28 +0000 (08:02 +0000)]
miniport:
Make sure MiniQueueDpc is not called from PASSIVE_LEVEL.
Moved NdisMQueryInformationComplete so that the function and not the macro
is called from the DPC.  This was breaking stuff severely.
The adapter lock needn't be held when doing MiniDequeueWorkItem because we're
at DISPATCH_LEVEL already by virtue of being in a DPC target.
protocol:
Make sure MiniQueueWorkItem is called at DISPATCH_LEVEL.

svn path=/trunk/; revision=11883

18 years agomsiexec requires msi, so don't build that either, as it breaks the tree.
Richard Campbell [Wed, 1 Dec 2004 05:49:23 +0000 (05:49 +0000)]
msiexec requires msi, so don't build that either, as it breaks the tree.

svn path=/trunk/; revision=11882

18 years agoadd mouse support to dinput
Magnus Olsen [Tue, 30 Nov 2004 20:29:48 +0000 (20:29 +0000)]
add mouse support to dinput

note the mouse buffer are bit broke. do not expect some games working with the mouse

I hope this will dispary when gdi hooks comes

svn path=/trunk/; revision=11881

18 years agodon't build msi for now as it uses a 3rd party build utility until situation is cleared
Thomas Bluemel [Tue, 30 Nov 2004 20:21:33 +0000 (20:21 +0000)]
don't build msi for now as it uses a 3rd party build utility until situation is cleared

svn path=/trunk/; revision=11880

18 years agoAdded msi.dll and msiexec to the build system.
James Tabor [Tue, 30 Nov 2004 19:19:48 +0000 (19:19 +0000)]
Added msi.dll and msiexec to the build system.

svn path=/trunk/; revision=11879

18 years agoSync msiexec with winehq cvs
James Tabor [Tue, 30 Nov 2004 19:16:37 +0000 (19:16 +0000)]
Sync msiexec with winehq cvs

svn path=/trunk/; revision=11878

18 years agoFirst port of Wine projects msi.dll
James Tabor [Tue, 30 Nov 2004 19:10:50 +0000 (19:10 +0000)]
First port of Wine projects msi.dll

svn path=/trunk/; revision=11877

18 years agoconnect: Allow async connections, and assume that concurrent operations
Art Yerkes [Tue, 30 Nov 2004 04:49:50 +0000 (04:49 +0000)]
connect: Allow async connections, and assume that concurrent operations
(like write) can happen.
main: Allow empty EaInfo in open, re: async select and the special control
socket.
read + write: assertions
tdi: don't wait for connect to return, remove event.

svn path=/trunk/; revision=11876

18 years agoMake packet printing obey debug bits.
Art Yerkes [Tue, 30 Nov 2004 04:23:42 +0000 (04:23 +0000)]
Make packet printing obey debug bits.

svn path=/trunk/; revision=11875

18 years agoTurned off printing in oskittcp.
Art Yerkes [Tue, 30 Nov 2004 04:17:34 +0000 (04:17 +0000)]
Turned off printing in oskittcp.

svn path=/trunk/; revision=11874

18 years agocan't free non-allocated memory
Gunnar Dalsnes [Tue, 30 Nov 2004 02:28:00 +0000 (02:28 +0000)]
can't free non-allocated memory

svn path=/trunk/; revision=11873