Art Yerkes [Sat, 19 Feb 2005 23:24:38 +0000 (23:24 +0000)]
Finish zeroing fields that need it.
svn path=/trunk/; revision=13661
Aleksey Bragin [Sat, 19 Feb 2005 23:12:32 +0000 (23:12 +0000)]
Make OHCI+Core drivers really working, they are basically working now. Next thing to do is to make them working better (e.g. having a thread infinitely looping to serve irqs/other stuff isn't a good solution for multitasking OS) - add interrupt handler, spinlocks wrappers, waits etc.
svn path=/trunk/; revision=13660
Emanuele Aliberti [Sat, 19 Feb 2005 23:07:22 +0000 (23:07 +0000)]
CSRSS: silenced debug messages.
svn path=/trunk/; revision=13658
Aleksey Bragin [Sat, 19 Feb 2005 23:06:59 +0000 (23:06 +0000)]
Remove cromwell from default build for now (it can significantly slow down work without any usb devices really working)
svn path=/trunk/; revision=13657
Gé van Geldorp [Sat, 19 Feb 2005 23:05:09 +0000 (23:05 +0000)]
Don't use svn command line tool to get revision number
XML code stolen from the xmlbuildsystem branch, we need
to merge this when merging the xmlbuildsystem back into trunk
svn path=/trunk/; revision=13656
Emanuele Aliberti [Sat, 19 Feb 2005 22:59:17 +0000 (22:59 +0000)]
SM: added keys for env subsystem startup (not yet used)
svn path=/trunk/; revision=13655
Emanuele Aliberti [Sat, 19 Feb 2005 22:58:18 +0000 (22:58 +0000)]
SM: subsystem registration (partial)
- merged duplicate code in process creation
- experimental implementation of env subsystem registration
svn path=/trunk/; revision=13654
Emanuele Aliberti [Sat, 19 Feb 2005 22:56:59 +0000 (22:56 +0000)]
CSRSS: register CSRSS to manage IMAGE_SUBSYSTEM_WINDOWS_CUI (experimental).
svn path=/trunk/; revision=13653
Gé van Geldorp [Sat, 19 Feb 2005 22:30:27 +0000 (22:30 +0000)]
Import Wine Resource Compiler and use it for winedll's
svn path=/trunk/; revision=13652
Art Yerkes [Sat, 19 Feb 2005 22:22:45 +0000 (22:22 +0000)]
Zero queue fields needed for accept.
svn path=/trunk/; revision=13651
Thomas Bluemel [Sat, 19 Feb 2005 18:12:44 +0000 (18:12 +0000)]
silence debug message
svn path=/trunk/; revision=13645
Gregor Anich [Sat, 19 Feb 2005 16:36:51 +0000 (16:36 +0000)]
One could have the impression that I am bored ;-)
svn path=/trunk/; revision=13644
Thomas Bluemel [Sat, 19 Feb 2005 14:30:32 +0000 (14:30 +0000)]
revert my changes to RtlTryEnterCriticalSection()
svn path=/trunk/; revision=13643
Thomas Bluemel [Sat, 19 Feb 2005 13:44:56 +0000 (13:44 +0000)]
don't increment the lock count twice in RtlTryEnterCriticalSection() and added some more comments
svn path=/trunk/; revision=13642
Thomas Bluemel [Sat, 19 Feb 2005 13:13:17 +0000 (13:13 +0000)]
fixed RtlEnterCriticalSection not to fail on wrong assumptions and added comment on why the debug message "Critical section not initialized (guess)" is wrong
svn path=/trunk/; revision=13641
Thomas Bluemel [Sat, 19 Feb 2005 11:13:41 +0000 (11:13 +0000)]
don't pass NULL handles to NtGdiCombineRgn
svn path=/trunk/; revision=13640
Thomas Bluemel [Sat, 19 Feb 2005 03:38:43 +0000 (03:38 +0000)]
1. made the PEB structure match xp's layout
2. fixed GetVersionEx()
svn path=/trunk/; revision=13639
Gé van Geldorp [Fri, 18 Feb 2005 22:46:49 +0000 (22:46 +0000)]
Include svn revision in build string
svn path=/trunk/; revision=13638
Filip Navara [Fri, 18 Feb 2005 21:20:01 +0000 (21:20 +0000)]
Remove expat.dll from the list.
svn path=/trunk/; revision=13637
Gregor Anich [Fri, 18 Feb 2005 20:52:24 +0000 (20:52 +0000)]
Add shutdown message.
svn path=/trunk/; revision=13636
Gé van Geldorp [Fri, 18 Feb 2005 20:19:49 +0000 (20:19 +0000)]
Protect against bogus string offsets
svn path=/trunk/; revision=13635
Gregor Anich [Fri, 18 Feb 2005 18:28:49 +0000 (18:28 +0000)]
Fix KeUnstackDetachProcess.
svn path=/trunk/; revision=13634
Filip Navara [Fri, 18 Feb 2005 17:15:01 +0000 (17:15 +0000)]
Fix the detection of /3GB switch.
svn path=/trunk/; revision=13633
Thomas Bluemel [Fri, 18 Feb 2005 15:13:02 +0000 (15:13 +0000)]
don't call win32k for GetObjectType() and query the information directly from the shared handle table
svn path=/trunk/; revision=13632
Gunnar Dalsnes [Fri, 18 Feb 2005 13:53:21 +0000 (13:53 +0000)]
workaround for buggy mingw include search order on linux (gvg)
svn path=/trunk/; revision=13631
Thomas Bluemel [Fri, 18 Feb 2005 13:07:27 +0000 (13:07 +0000)]
minor fix
svn path=/trunk/; revision=13630
Thomas Bluemel [Fri, 18 Feb 2005 12:59:30 +0000 (12:59 +0000)]
only dump stack traces when GDI_DEBUG is enabled
svn path=/trunk/; revision=13629
Thomas Bluemel [Fri, 18 Feb 2005 12:54:17 +0000 (12:54 +0000)]
implemented reuse counters for gdi objects
svn path=/trunk/; revision=13628
Gé van Geldorp [Fri, 18 Feb 2005 09:17:56 +0000 (09:17 +0000)]
We don't have separate .sym files anymore
svn path=/trunk/; revision=13627
Gunnar Dalsnes [Fri, 18 Feb 2005 02:41:49 +0000 (02:41 +0000)]
remove duplicate typedef
svn path=/trunk/; revision=13626
Gunnar Dalsnes [Fri, 18 Feb 2005 02:28:16 +0000 (02:28 +0000)]
remove duplicate typedef
svn path=/trunk/; revision=13625
Thomas Bluemel [Fri, 18 Feb 2005 01:57:32 +0000 (01:57 +0000)]
1. implemented shared sections used for (shared) desktop heaps
2. map the gdi handle table to userland
svn path=/trunk/; revision=13624
Thomas Bluemel [Thu, 17 Feb 2005 16:41:28 +0000 (16:41 +0000)]
1. object type names are stored in ntoskrnl's image (which is nonpaged memory), so there's no need to allocate and copy them to new memory
2. fixed PsLookupThreadByThreadId() prototype
3. renamed the process list to PsActiveProcessHead and use fast mutexes to serialize access to it
svn path=/trunk/; revision=13623
Thomas Bluemel [Thu, 17 Feb 2005 15:11:36 +0000 (15:11 +0000)]
declare NtTerminateThread()
svn path=/trunk/; revision=13622
Thomas Bluemel [Thu, 17 Feb 2005 15:10:55 +0000 (15:10 +0000)]
fixed includes
svn path=/trunk/; revision=13621
Gunnar Dalsnes [Thu, 17 Feb 2005 14:35:47 +0000 (14:35 +0000)]
add missing include
svn path=/trunk/; revision=13620
Gunnar Dalsnes [Thu, 17 Feb 2005 14:06:19 +0000 (14:06 +0000)]
_T should not be defined here
svn path=/trunk/; revision=13619
Eric Kohl [Thu, 17 Feb 2005 12:46:56 +0000 (12:46 +0000)]
Build lsass.exe.
svn path=/trunk/; revision=13618
Eric Kohl [Thu, 17 Feb 2005 12:45:13 +0000 (12:45 +0000)]
- Make lsass.exe a win32 application.
- Load and initialize lsasrv.dll.
svn path=/trunk/; revision=13617
Gunnar Dalsnes [Thu, 17 Feb 2005 12:18:10 +0000 (12:18 +0000)]
forgot to change those two...
svn path=/trunk/; revision=13616
Gunnar Dalsnes [Thu, 17 Feb 2005 11:38:16 +0000 (11:38 +0000)]
add workarounds for mingw runtime version differences
gave directory routines a good cleanup (based on wine)
more tcharizing of routines
svn path=/trunk/; revision=13615
Gunnar Dalsnes [Thu, 17 Feb 2005 10:44:57 +0000 (10:44 +0000)]
fix typo
svn path=/trunk/; revision=13614
Gunnar Dalsnes [Thu, 17 Feb 2005 00:01:54 +0000 (00:01 +0000)]
remove more cruft
svn path=/trunk/; revision=13613
Casper Hornstrup [Wed, 16 Feb 2005 23:17:17 +0000 (23:17 +0000)]
Interpret numeric values as being hexadecimal values if they contain hex digits a-f
svn path=/trunk/; revision=13612
Gunnar Dalsnes [Wed, 16 Feb 2005 23:08:04 +0000 (23:08 +0000)]
hack into private crt headers
svn path=/trunk/; revision=13611
Casper Hornstrup [Wed, 16 Feb 2005 22:38:49 +0000 (22:38 +0000)]
Support private messages
svn path=/trunk/; revision=13610
Gunnar Dalsnes [Wed, 16 Feb 2005 22:30:50 +0000 (22:30 +0000)]
ntdll:
-critical.c: catch (more) invalid use
-impl. sscanf (stolen from wine)
crt:
-use native mingw headers and not private copies of them
-converted some routines to using tchar == impl. many missing unicode routines
-impl. sscanf and friends correctly (stolen from wine)
tchar.h:
-added lotsa missin stuff
svn path=/trunk/; revision=13609
Gunnar Dalsnes [Wed, 16 Feb 2005 22:29:48 +0000 (22:29 +0000)]
ntdll:
-critical.c: catch (more) invalid use
-impl. sscanf (stolen from wine)
crt:
-use native mingw headers and not private copies of them
-converted some routines to using tchar == impl. many missing unicode routines
-impl. sscanf and friends correctly (stolen from wine)
tchar.h:
-added lotsa missin stuff
svn path=/trunk/; revision=13608
Gunnar Dalsnes [Wed, 16 Feb 2005 22:29:16 +0000 (22:29 +0000)]
ntdll:
-critical.c: catch (more) invalid use
-impl. sscanf (stolen from wine)
crt:
-use native mingw headers and not private copies of them
-converted some routines to using tchar == impl. many missing unicode routines
-impl. sscanf and friends correctly (stolen from wine)
tchar.h:
-added lotsa missin stuff
svn path=/trunk/; revision=13607
Gunnar Dalsnes [Wed, 16 Feb 2005 22:22:42 +0000 (22:22 +0000)]
crt:
-use native mingw headers and not private copies of them
tchar.h:
-added lotsa missin stuff
svn path=/trunk/; revision=13606
Eric Kohl [Wed, 16 Feb 2005 21:59:00 +0000 (21:59 +0000)]
Add lsasrv.dll stub.
svn path=/trunk/; revision=13605
Casper Hornstrup [Wed, 16 Feb 2005 21:07:55 +0000 (21:07 +0000)]
Support multiple channels
svn path=/trunk/; revision=13604
Filip Navara [Wed, 16 Feb 2005 18:21:21 +0000 (18:21 +0000)]
Cast pointers to ULONG_PTR instead of ULONG.
svn path=/trunk/; revision=13603
Filip Navara [Wed, 16 Feb 2005 18:19:54 +0000 (18:19 +0000)]
Fix email address.
svn path=/trunk/; revision=13602
Filip Navara [Wed, 16 Feb 2005 18:12:15 +0000 (18:12 +0000)]
Fix a typo.
svn path=/trunk/; revision=13601
Filip Navara [Wed, 16 Feb 2005 18:10:12 +0000 (18:10 +0000)]
Fix definition of MIDL_SERVER_INFO structure.
svn path=/trunk/; revision=13600
Filip Navara [Wed, 16 Feb 2005 18:02:50 +0000 (18:02 +0000)]
Minor formatting change.
svn path=/trunk/; revision=13599
Art Yerkes [Wed, 16 Feb 2005 16:52:51 +0000 (16:52 +0000)]
Fix compilation with -O3 and fix bugs 484 and 505. win32k patches by Tinus.
svn path=/trunk/; revision=13598
Thomas Bluemel [Wed, 16 Feb 2005 16:45:51 +0000 (16:45 +0000)]
get rid of libunicode
svn path=/trunk/; revision=13597
Thomas Bluemel [Wed, 16 Feb 2005 16:44:54 +0000 (16:44 +0000)]
Forward to user32 when appropriate in shlwapi and removed dependencies to libunicode
svn path=/trunk/; revision=13596
Eric Kohl [Wed, 16 Feb 2005 15:44:34 +0000 (15:44 +0000)]
- Implement CaptureStringArg and CaptureAndConvertAnsiArg.
- FileExists: Restore error mode.
- Move configuration manager functions to a separate file.
- Add cfgmgr32.h.
svn path=/trunk/; revision=13595
Filip Navara [Wed, 16 Feb 2005 15:27:30 +0000 (15:27 +0000)]
File system drivers should forward the IRP_MJ_SHUTDOWN request to underlying storage drivers. Fixes bug #504.
svn path=/trunk/; revision=13594
Thomas Bluemel [Wed, 16 Feb 2005 14:01:34 +0000 (14:01 +0000)]
converted libexpat to a static library
svn path=/trunk/; revision=13593
Steven Edwards [Wed, 16 Feb 2005 03:17:36 +0000 (03:17 +0000)]
Add EOL to make gcc shutup.
svn path=/trunk/; revision=13592
James Tabor [Wed, 16 Feb 2005 00:24:12 +0000 (00:24 +0000)]
Update and sync Msiexec with Wine Cvs.
svn path=/trunk/; revision=13591
Filip Navara [Tue, 15 Feb 2005 19:43:17 +0000 (19:43 +0000)]
Fix inline assembler register specification (gcc.gnu.org/bugzilla/show_bug.cgi?id=10153).
svn path=/trunk/; revision=13587
Gé van Geldorp [Tue, 15 Feb 2005 19:26:13 +0000 (19:26 +0000)]
Use bitwise operators for ROUND_UP/DOWN and rename them
to ROUND_UP_POW2/ROUND_DOWN_POW2
svn path=/trunk/; revision=13585
Gé van Geldorp [Tue, 15 Feb 2005 17:25:01 +0000 (17:25 +0000)]
Fix ROUND_UP when N is a multiple of S. Proposed by unC0Rr.
svn path=/trunk/; revision=13584
Thomas Bluemel [Tue, 15 Feb 2005 15:46:22 +0000 (15:46 +0000)]
secured buffer access in NtCreateSection(), NtOpenSection(), NtMapViewOfSection(), NtQuerySection() and NtExtendSection()
svn path=/trunk/; revision=13583
Thomas Bluemel [Tue, 15 Feb 2005 14:37:53 +0000 (14:37 +0000)]
don't leak the captured file name in NtCreatePagingFile() when probing the other parameters failed
svn path=/trunk/; revision=13582
Thomas Bluemel [Tue, 15 Feb 2005 13:40:10 +0000 (13:40 +0000)]
distinguish kmode and umode alertability
svn path=/trunk/; revision=13581
Thomas Bluemel [Tue, 15 Feb 2005 11:46:31 +0000 (11:46 +0000)]
NtQueueApcThread always inserts a umode apc
svn path=/trunk/; revision=13580
Thomas Bluemel [Mon, 14 Feb 2005 22:50:15 +0000 (22:50 +0000)]
secured access to buffers in NtWaitForSingleObject(), NtWaitForMultipleObjects() and NtSignalAndWaitForSingleObject()
svn path=/trunk/; revision=13579
Thomas Bluemel [Mon, 14 Feb 2005 21:41:49 +0000 (21:41 +0000)]
fixed the NtRaiseHardError() prototype
svn path=/trunk/; revision=13578
Mike Nordell [Mon, 14 Feb 2005 21:07:25 +0000 (21:07 +0000)]
Fix broken DEVICE_NO_FLUSH handling for ATAPI devices, with augmentation to check the SupportedFeatures83 of the device. Thanks to tinus_ for finding and fixing.
svn path=/trunk/; revision=13577
Thomas Bluemel [Mon, 14 Feb 2005 21:00:05 +0000 (21:00 +0000)]
1. a few previous mode fixes
2. implemented NtSetDefaultHardErrorPort() with help of pseudo code from windowsitlibrary.com
svn path=/trunk/; revision=13576
Gé van Geldorp [Mon, 14 Feb 2005 18:39:15 +0000 (18:39 +0000)]
Sync to Wine-
20050211
svn path=/trunk/; revision=13573
Gé van Geldorp [Mon, 14 Feb 2005 18:36:46 +0000 (18:36 +0000)]
Delete old version in preparation of vendor drop
svn path=/trunk/; revision=13572
Eric Kohl [Mon, 14 Feb 2005 17:10:20 +0000 (17:10 +0000)]
Export splay-tree and generic table functions.
svn path=/trunk/; revision=13569
Thomas Bluemel [Mon, 14 Feb 2005 17:03:16 +0000 (17:03 +0000)]
don't walk all the timers as they're sorted.
svn path=/trunk/; revision=13568
Thomas Bluemel [Mon, 14 Feb 2005 16:49:36 +0000 (16:49 +0000)]
fixed typo and don't use memcpy to just copy a 32bit variable...
svn path=/trunk/; revision=13567
Thomas Bluemel [Mon, 14 Feb 2005 16:41:53 +0000 (16:41 +0000)]
don't remove the timer from the list before walking to the next timer. also handle over-due timers in KeSetTimerEx(). This should make the system bootable again.
svn path=/trunk/; revision=13566
Gé van Geldorp [Mon, 14 Feb 2005 15:55:32 +0000 (15:55 +0000)]
Sync to Wine-
20050211
Oleh R. Nykyforchyn <nick@pu.if.ua>
- Ukrainian codepage 21866 added and respective files corrected. Two
keyboard layouts (for Ukrainian and Russian) added.
svn path=/trunk/; revision=13562
Gé van Geldorp [Mon, 14 Feb 2005 15:04:09 +0000 (15:04 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- Properly implement DllCanUnloadNow ref counting.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
svn path=/trunk/; revision=13561
Gé van Geldorp [Mon, 14 Feb 2005 14:55:38 +0000 (14:55 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- use only stored result of Interlocked* in AddRef/Release
- expand TRACEs to display the ref count
Hans Leidekker <hans@it.vu.nl>
- Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W},
SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W},
SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}.
- Implement and test PathIsValidChar{A,W}.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Change the order of Src and Dst in CopyKey calls/functions.
svn path=/trunk/; revision=13560
Gé van Geldorp [Mon, 14 Feb 2005 14:50:45 +0000 (14:50 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- use only stored result of Interlocked* in AddRef/Release
- expand TRACEs to display the ref count
Hans Leidekker <hans@it.vu.nl>
- Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W},
SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W},
SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}.
- Implement and test PathIsValidChar{A,W}.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Change the order of Src and Dst in CopyKey calls/functions.
svn path=/trunk/; revision=13559
Eric Kohl [Mon, 14 Feb 2005 14:36:03 +0000 (14:36 +0000)]
- Implement RtlSetAttributesSecurityDescriptor, RtlInitializeGenericTableAvl, RtlNumberGenericTableElements and RtlNumberGenericTableElementsAvl.
svn path=/trunk/; revision=13558
Thomas Bluemel [Mon, 14 Feb 2005 11:57:51 +0000 (11:57 +0000)]
fixed some warnings
svn path=/trunk/; revision=13557
Thomas Bluemel [Mon, 14 Feb 2005 11:46:17 +0000 (11:46 +0000)]
don't leak a reference to the timer object when copying to the buffer failed in NtQueryTimer() and don't use uninitialized variable in NtSetTimer()
svn path=/trunk/; revision=13556
Gé van Geldorp [Mon, 14 Feb 2005 07:46:14 +0000 (07:46 +0000)]
netzimme@netscape.net
Make RTL8029 work with NE2000 driver
svn path=/trunk/; revision=13555
Alex Ionescu [Mon, 14 Feb 2005 05:36:04 +0000 (05:36 +0000)]
Reimplemented Kernel and Executive Timers. Use Microsoft documented structures, added locks to protect against race conditions, use dispatcher database, implement new features like wake timers, use thread timer lists, simplify timer list, add more comments and debug info, actually add apc/dpc functions which do what the should do, fix a couple of bugs, simplfiy absolute vs relative timers. I will do more testing and see wether an experimental Timer Tree patch (which greatly speeds up timer processing) is necessary.
svn path=/trunk/; revision=13554
Thomas Bluemel [Mon, 14 Feb 2005 00:32:09 +0000 (00:32 +0000)]
probe pointers in NtCreateToken. Still needs some work as access to the buffers needs to be secured
svn path=/trunk/; revision=13553
Thomas Bluemel [Mon, 14 Feb 2005 00:28:12 +0000 (00:28 +0000)]
secure access to buffers in NtAllocateLocallyUniqueId
svn path=/trunk/; revision=13552
Gé van Geldorp [Sun, 13 Feb 2005 23:10:36 +0000 (23:10 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- Properly implement DllCanUnloadNow ref counting. Make sure the mozilla
control is ready to unload as well.
- Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
Mike McCormack <mike@codeweavers.com>
- Stub definition for OpenUrl.
svn path=/trunk/; revision=13551
Emanuele Aliberti [Sun, 13 Feb 2005 23:03:17 +0000 (23:03 +0000)]
Resource script uses the new generic rc script.
svn path=/trunk/; revision=13550
Thomas Bluemel [Sun, 13 Feb 2005 23:01:33 +0000 (23:01 +0000)]
don't return value of uninitialized variable
svn path=/trunk/; revision=13549
Thomas Bluemel [Sun, 13 Feb 2005 22:56:12 +0000 (22:56 +0000)]
don't return value of uninitialized variable
svn path=/trunk/; revision=13548
Emanuele Aliberti [Sun, 13 Feb 2005 22:55:28 +0000 (22:55 +0000)]
SM - some more work
svn path=/trunk/; revision=13547
Gé van Geldorp [Sun, 13 Feb 2005 22:42:47 +0000 (22:42 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Mike McCormack <mike@codeweavers.com>
- Implement GetAdvise and SetAdvise.
Henning Gerhardt <henning.gerhardt@web.de>
- A small spelling fix and a small update (thank to Andreas Mohr).
- Update German resources.
Joris Huizer <jorishuizer@planet.nl>
- add file_operation_delete
- add file_operation_checkFlags
- use these in SHFileOperationW replacing inline code
svn path=/trunk/; revision=13544
Thomas Bluemel [Sun, 13 Feb 2005 22:00:36 +0000 (22:00 +0000)]
fixed wrong buffer check in NtDuplicateToken and added buffer checks in NtOpenThreadTokenEx
svn path=/trunk/; revision=13541