Thomas Bluemel [Sun, 31 Jul 2005 23:39:05 +0000 (23:39 +0000)]
fixed some warnings when compiling with -O3
svn path=/trunk/; revision=16928
Thomas Bluemel [Sun, 31 Jul 2005 21:51:04 +0000 (21:51 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=16927
Hartmut Birr [Sun, 31 Jul 2005 21:27:56 +0000 (21:27 +0000)]
- 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
Hartmut Birr [Sun, 31 Jul 2005 21:24:35 +0000 (21:24 +0000)]
Don't use INVALID_HANDLE_VALUE as HANDLE_DETACH_PROCESS.
svn path=/trunk/; revision=16925
Hartmut Birr [Sun, 31 Jul 2005 21:23:40 +0000 (21:23 +0000)]
- 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
Hartmut Birr [Sun, 31 Jul 2005 21:02:05 +0000 (21:02 +0000)]
Fixed a typo.
svn path=/trunk/; revision=16923
Thomas Bluemel [Sun, 31 Jul 2005 20:35:08 +0000 (20:35 +0000)]
fixed typo in a comment
svn path=/trunk/; revision=16922
Thomas Bluemel [Sun, 31 Jul 2005 18:52:36 +0000 (18:52 +0000)]
fixed success check in RtlpCreateAtomHandle, ExCreateHandle returns EX_INVALID_HANDLE in case of failure. Thx to Filip
svn path=/trunk/; revision=16921
Martin Fuchs [Sun, 31 Jul 2005 12:11:56 +0000 (12:11 +0000)]
set svn:eol-style to native
svn path=/trunk/; revision=16920
Filip Navara [Sun, 31 Jul 2005 11:06:50 +0000 (11:06 +0000)]
Fix NULL-terminating of symbol image names.
svn path=/trunk/; revision=16919
Filip Navara [Sun, 31 Jul 2005 10:22:29 +0000 (10:22 +0000)]
Implement the magic flag in RtlImageDirectoryEntryToData and make the Size parameter non-optional.
svn path=/trunk/; revision=16918
Filip Navara [Sun, 31 Jul 2005 09:48:12 +0000 (09:48 +0000)]
Revert #16904 and clarify the comment about the race condition.
svn path=/trunk/; revision=16917
Martin Fuchs [Sun, 31 Jul 2005 08:33:39 +0000 (08:33 +0000)]
set eol-style for all remaining XML files
svn path=/trunk/; revision=16916
Emanuele Aliberti [Sun, 31 Jul 2005 07:08:15 +0000 (07:08 +0000)]
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
Emanuele Aliberti [Sun, 31 Jul 2005 07:07:26 +0000 (07:07 +0000)]
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
Alex Ionescu [Sun, 31 Jul 2005 06:22:05 +0000 (06:22 +0000)]
- Silence some debug messages
- Modify base address of iphlpapi so it doesn't get relocated
- Implemented SetTaskmanWindow and SetProgmanWindow
svn path=/trunk/; revision=16913
Alex Ionescu [Sun, 31 Jul 2005 05:46:42 +0000 (05:46 +0000)]
Define NDEBUG
svn path=/trunk/; revision=16912
Alex Ionescu [Sun, 31 Jul 2005 05:43:10 +0000 (05:43 +0000)]
Silence debug messages
svn path=/trunk/; revision=16911
Alex Ionescu [Sun, 31 Jul 2005 03:27:04 +0000 (03:27 +0000)]
Fix error handle output.
svn path=/trunk/; revision=16910
James Tabor [Sun, 31 Jul 2005 00:17:57 +0000 (00:17 +0000)]
Correct build name. Should be Edit.exe.
svn path=/trunk/; revision=16909
Alex Ionescu [Sat, 30 Jul 2005 23:57:14 +0000 (23:57 +0000)]
Don't use CSRSS handles if we alreay have some (so we can inherit file handles, etc)
svn path=/trunk/; revision=16908
Alex Ionescu [Sat, 30 Jul 2005 23:43:45 +0000 (23:43 +0000)]
Decrease quantum during wait and during no-wait... mentionned by Shmuel Baron
svn path=/trunk/; revision=16907
Filip Navara [Sat, 30 Jul 2005 23:16:03 +0000 (23:16 +0000)]
Remove code that I accidently commited in revision 16905.
svn path=/trunk/; revision=16906
Filip Navara [Sat, 30 Jul 2005 23:08:26 +0000 (23:08 +0000)]
Ignore the "magic flag" in RtlImageDirectoryEntryToData.
svn path=/trunk/; revision=16905
Filip Navara [Sat, 30 Jul 2005 23:06:46 +0000 (23:06 +0000)]
Fix a race condition in quantum code. Spotted by Shmuel Baron.
svn path=/trunk/; revision=16904
Eric Kohl [Sat, 30 Jul 2005 19:31:52 +0000 (19:31 +0000)]
- Support conformant arrays as in and out parameters.
- Fix message buffer size calculation for client and server.
svn path=/trunk/; revision=16903
Aleksey Bragin [Sat, 30 Jul 2005 19:06:53 +0000 (19:06 +0000)]
Move NDEBUG higher so it actually works and doesn't output all debug messages (fix suggested by hpoussin).
svn path=/trunk/; revision=16902
Hartmut Birr [Sat, 30 Jul 2005 19:03:34 +0000 (19:03 +0000)]
If a mutex already exist, open it instead of create.
svn path=/trunk/; revision=16901
Hartmut Birr [Sat, 30 Jul 2005 19:00:33 +0000 (19:00 +0000)]
Initialized Basep8BitStringToUnicodeString
svn path=/trunk/; revision=16900
Hartmut Birr [Sat, 30 Jul 2005 18:55:25 +0000 (18:55 +0000)]
Check if the cpu supports the pae mode.
svn path=/trunk/; revision=16899
Hartmut Birr [Sat, 30 Jul 2005 18:52:33 +0000 (18:52 +0000)]
Made cmd unicode compatible.
svn path=/trunk/; revision=16898
Hartmut Birr [Sat, 30 Jul 2005 18:51:43 +0000 (18:51 +0000)]
Use FileGetString instead of ReadFile, because ReadFile doesn't return a null terminated string.
svn path=/trunk/; revision=16897
Hartmut Birr [Sat, 30 Jul 2005 18:32:18 +0000 (18:32 +0000)]
Put FindClose onto the correct position.
svn path=/trunk/; revision=16896
Emanuele Aliberti [Sat, 30 Jul 2005 16:53:09 +0000 (16:53 +0000)]
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
Filip Navara [Sat, 30 Jul 2005 16:25:35 +0000 (16:25 +0000)]
- Replace MODULE_OBJECT with LDR_DATA_TABLE_ENTRY.
- Export PsGetCurrentThread and PsGetCurrentProcess.
svn path=/trunk/; revision=16894
Hartmut Birr [Sat, 30 Jul 2005 13:49:41 +0000 (13:49 +0000)]
Reverted back to 16420, because it contains too many bugs.
svn path=/trunk/; revision=16893
Magnus Olsen [Sat, 30 Jul 2005 13:44:07 +0000 (13:44 +0000)]
fix waring kdump.c:246: warning: 'OldIrql' may be used uninitialized for dgb=0;
svn path=/trunk/; revision=16892
James Tabor [Sat, 30 Jul 2005 00:52:22 +0000 (00:52 +0000)]
Implement SetMenuItemBitmaps and fix bool flags.
svn path=/trunk/; revision=16891
James Tabor [Fri, 29 Jul 2005 23:37:11 +0000 (23:37 +0000)]
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
James Tabor [Fri, 29 Jul 2005 23:15:01 +0000 (23:15 +0000)]
Show SetMenuItemInfoA&W implemented.
svn path=/trunk/; revision=16889
Thomas Bluemel [Fri, 29 Jul 2005 23:04:48 +0000 (23:04 +0000)]
make the telProcessNetwork() thread function STDCALL!
svn path=/trunk/; revision=16888
Steven Edwards [Fri, 29 Jul 2005 23:03:42 +0000 (23:03 +0000)]
dos line endings
svn path=/trunk/; revision=16887
Thomas Bluemel [Fri, 29 Jul 2005 23:03:12 +0000 (23:03 +0000)]
- simplified BasepAnsiStringToHeapUnicodeString
- fixed linking (global variable Basep8BitStringToUnicodeString was missing)
- fixed typo in the debug print in SetThreadUILanguage
svn path=/trunk/; revision=16886
Steven Edwards [Fri, 29 Jul 2005 23:01:16 +0000 (23:01 +0000)]
turn on command options
svn path=/trunk/; revision=16885
Steven Edwards [Fri, 29 Jul 2005 22:53:33 +0000 (22:53 +0000)]
imported mkdosfs, added getopt.c for use with dosfsck
svn path=/trunk/; revision=16884
Steven Edwards [Fri, 29 Jul 2005 22:22:12 +0000 (22:22 +0000)]
Major fixes for partitions larger than 4GB. Thanks to Tamlin again.
svn path=/trunk/; revision=16883
Hartmut Birr [Fri, 29 Jul 2005 21:59:06 +0000 (21:59 +0000)]
- 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
Hartmut Birr [Fri, 29 Jul 2005 21:55:09 +0000 (21:55 +0000)]
Fixed some bugs in CreateProcessA which was introduced by r16730.
svn path=/trunk/; revision=16881
Filip Navara [Fri, 29 Jul 2005 18:11:04 +0000 (18:11 +0000)]
Fix definiton of DPRINT1 for non-DBG build.
svn path=/trunk/; revision=16879
Thomas Bluemel [Fri, 29 Jul 2005 18:01:01 +0000 (18:01 +0000)]
dynamically import functions from ntdll on startup
svn path=/trunk/; revision=16878
Thomas Bluemel [Fri, 29 Jul 2005 17:35:22 +0000 (17:35 +0000)]
silence debug messages when calling the SEH handler
svn path=/trunk/; revision=16877
Thomas Bluemel [Fri, 29 Jul 2005 17:31:59 +0000 (17:31 +0000)]
fix the SetThreadUILanguage stub
svn path=/trunk/; revision=16876
Magnus Olsen [Fri, 29 Jul 2005 17:11:11 +0000 (17:11 +0000)]
Implement GdiEntry14 (party tested see older commit msg)
svn path=/trunk/; revision=16875
Thomas Bluemel [Fri, 29 Jul 2005 16:53:27 +0000 (16:53 +0000)]
don't limit read/write access for kdb to umode mem
svn path=/trunk/; revision=16874
Steven Edwards [Fri, 29 Jul 2005 16:48:09 +0000 (16:48 +0000)]
Fixes by tamlin. It really works now.
svn path=/trunk/; revision=16873
Alex Ionescu [Fri, 29 Jul 2005 16:06:13 +0000 (16:06 +0000)]
- Don't always print TRACE/WARN on WINE DLLs. Thanks to Filip Navara.
svn path=/trunk/; revision=16872
Emanuele Aliberti [Fri, 29 Jul 2005 15:17:25 +0000 (15:17 +0000)]
Even if the Session Manager is a degenerate subsystem, keep its include files in the include/subsys tree.
svn path=/trunk/; revision=16871
Thomas Bluemel [Fri, 29 Jul 2005 15:11:26 +0000 (15:11 +0000)]
define __NO_CTYPE_INLINES to get DBG:=0 builds work again
svn path=/trunk/; revision=16870
Filip Navara [Fri, 29 Jul 2005 15:08:20 +0000 (15:08 +0000)]
Stop abusing the non-paged pool.
svn path=/trunk/; revision=16869
Filip Navara [Fri, 29 Jul 2005 15:00:02 +0000 (15:00 +0000)]
Fix the file to be actually compilable (with GAS 2.16.91).
svn path=/trunk/; revision=16868
Alex Ionescu [Fri, 29 Jul 2005 14:56:38 +0000 (14:56 +0000)]
- Add back and fix useful dprint.
svn path=/trunk/; revision=16867
Casper Hornstrup [Fri, 29 Jul 2005 14:36:11 +0000 (14:36 +0000)]
Add stylesheet header to xml
svn path=/trunk/; revision=16866
Filip Navara [Fri, 29 Jul 2005 13:58:25 +0000 (13:58 +0000)]
IoAllocateAdapterChannel should set CurrentIrp field in the wait context block.
svn path=/trunk/; revision=16865
Emanuele Aliberti [Fri, 29 Jul 2005 13:56:00 +0000 (13:56 +0000)]
Add posix, os2, and vms optional modules.
svn path=/trunk/; revision=16864
Filip Navara [Fri, 29 Jul 2005 13:54:13 +0000 (13:54 +0000)]
IoAllocateAdapterChannel should set CurrentIrp field in the wait context block.
svn path=/trunk/; revision=16863
Thomas Bluemel [Fri, 29 Jul 2005 13:50:05 +0000 (13:50 +0000)]
Saveliy Tretiakov <saveliyt@mail.ru>:
serialui returns error codes directly.
svn path=/trunk/; revision=16862
Emanuele Aliberti [Fri, 29 Jul 2005 13:46:03 +0000 (13:46 +0000)]
More details in the rosapps makefile message.
Split sysutils.
svn path=/trunk/; revision=16861
Filip Navara [Fri, 29 Jul 2005 13:30:22 +0000 (13:30 +0000)]
Initialize DescriptorTranslated->u.Interrupt.Level before calling HalGetInterruptVector. Remember, casting hides bugs! Debugged by Hervé Poussineau.
svn path=/trunk/; revision=16860
Thomas Bluemel [Fri, 29 Jul 2005 13:28:37 +0000 (13:28 +0000)]
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
Filip Navara [Fri, 29 Jul 2005 13:28:34 +0000 (13:28 +0000)]
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
James Tabor [Fri, 29 Jul 2005 12:20:28 +0000 (12:20 +0000)]
Sorry for the mess. Fixup debug prints.
svn path=/trunk/; revision=16857
Casper Hornstrup [Fri, 29 Jul 2005 12:19:26 +0000 (12:19 +0000)]
Display implemented/unimplemented icon for functions
svn path=/trunk/; revision=16856
Casper Hornstrup [Fri, 29 Jul 2005 11:40:01 +0000 (11:40 +0000)]
Browser XSLT support. Optimize for size.
svn path=/trunk/; revision=16855
Emanuele Aliberti [Fri, 29 Jul 2005 10:04:38 +0000 (10:04 +0000)]
Various fixex to make HEAD compile.
I hope I did break nothing.
svn path=/trunk/; revision=16854
Emanuele Aliberti [Fri, 29 Jul 2005 09:51:08 +0000 (09:51 +0000)]
Add PORT_MESSAGE_TYPE macro.
svn path=/trunk/; revision=16853
Emanuele Aliberti [Fri, 29 Jul 2005 09:30:41 +0000 (09:30 +0000)]
Various fixes to DPRINT parameter list.
Some were #if0'ed because they referenced non existing variables or parameters.
svn path=/trunk/; revision=16852
Emanuele Aliberti [Fri, 29 Jul 2005 09:25:26 +0000 (09:25 +0000)]
[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
Alex Ionescu [Fri, 29 Jul 2005 00:14:05 +0000 (00:14 +0000)]
- Fix debug header, spottted by Gunnar
svn path=/trunk/; revision=16850
Thomas Bluemel [Thu, 28 Jul 2005 23:29:44 +0000 (23:29 +0000)]
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
Thomas Bluemel [Thu, 28 Jul 2005 23:22:47 +0000 (23:22 +0000)]
don't generate meaningless lvalue typecast
svn path=/trunk/; revision=16848
Thomas Bluemel [Thu, 28 Jul 2005 23:19:22 +0000 (23:19 +0000)]
discard explicitly returned value
svn path=/trunk/; revision=16847
Alex Ionescu [Thu, 28 Jul 2005 22:43:24 +0000 (22:43 +0000)]
- 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
Magnus Olsen [Thu, 28 Jul 2005 22:34:11 +0000 (22:34 +0000)]
Implement GdiEntry13, GdiEntry15, GdiEntry16 (all are party tested)
svn path=/trunk/; revision=16845
Magnus Olsen [Thu, 28 Jul 2005 22:08:29 +0000 (22:08 +0000)]
Implement GdiEntry12 (8 of 16 are done and party tested)
svn path=/trunk/; revision=16844
Magnus Olsen [Thu, 28 Jul 2005 21:55:51 +0000 (21:55 +0000)]
implement GdiEntry 8, Implement GdiEntry 10
svn path=/trunk/; revision=16843
Magnus Olsen [Thu, 28 Jul 2005 21:34:00 +0000 (21:34 +0000)]
thx irc : unC0Rr did sport typo fault in GdiEntry3
svn path=/trunk/; revision=16842
Magnus Olsen [Thu, 28 Jul 2005 21:08:55 +0000 (21:08 +0000)]
implement GdiEntry7 (some part is untested)
svn path=/trunk/; revision=16841
Magnus Olsen [Thu, 28 Jul 2005 21:00:24 +0000 (21:00 +0000)]
implement GdiEntry6 (party untested)
svn path=/trunk/; revision=16840
Magnus Olsen [Thu, 28 Jul 2005 20:35:53 +0000 (20:35 +0000)]
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
Magnus Olsen [Thu, 28 Jul 2005 19:37:36 +0000 (19:37 +0000)]
set eol style native
svn path=/trunk/; revision=16838
Magnus Olsen [Thu, 28 Jul 2005 19:28:25 +0000 (19:28 +0000)]
implemet GdiEntry3 (2 of 16 are now implement) but some part is still untested
svn path=/trunk/; revision=16837
Filip Navara [Thu, 28 Jul 2005 19:23:11 +0000 (19:23 +0000)]
Add definition of PI_RESOURCE_ARBITER_ENTRY.
svn path=/trunk/; revision=16836
Steven Edwards [Thu, 28 Jul 2005 18:53:35 +0000 (18:53 +0000)]
some cleanups and I hope closer to making it work
svn path=/trunk/; revision=16835
Magnus Olsen [Thu, 28 Jul 2005 18:45:58 +0000 (18:45 +0000)]
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
Steven Edwards [Thu, 28 Jul 2005 18:34:01 +0000 (18:34 +0000)]
fixed opening of the device
svn path=/trunk/; revision=16833
Magnus Olsen [Thu, 28 Jul 2005 16:52:15 +0000 (16:52 +0000)]
add copyright note
svn path=/trunk/; revision=16832
Magnus Olsen [Thu, 28 Jul 2005 16:44:25 +0000 (16:44 +0000)]
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
Magnus Olsen [Thu, 28 Jul 2005 16:42:06 +0000 (16:42 +0000)]
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
Emanuele Aliberti [Thu, 28 Jul 2005 11:48:58 +0000 (11:48 +0000)]
Fix compilation (as hinted by Alex).
svn path=/trunk/; revision=16828
Casper Hornstrup [Thu, 28 Jul 2005 10:45:21 +0000 (10:45 +0000)]
Don't clean alias modules
svn path=/trunk/; revision=16827