Compare commits

...

9534 Commits

Author SHA1 Message Date
Robert Kopferl
ccc89d837b changed bild to RELEASE
svn path=/branches/ros-branch-0_2_4/; revision=10824
2004-09-11 20:56:35 +00:00
Filip Navara
b42c1a45c8 Merge from HEAD:
- Fix converting of UTF8 sequences in IntMultiByteToWideCharUTF8.
- Implement IntWideCharToMultiByteUTF8 since it's needed for saving Explorer configuration.

svn path=/branches/ros-branch-0_2_4/; revision=10756
2004-08-31 20:01:31 +00:00
Eric Kohl
76570593a5 Remove the 'Locale' page from the setup wizard because this page does not do anything useful yet.
svn path=/branches/ros-branch-0_2_4/; revision=10752
2004-08-31 14:53:36 +00:00
Hartmut Birr
20b94b8479 - Establish the pde's for the callback stack if the stack was recycled from the list.
svn path=/branches/ros-branch-0_2_4/; revision=10707
2004-08-27 10:44:26 +00:00
Hartmut Birr
088107aedd - Establish the pde for the thread structure within the process
before a switch to the process occurs.

svn path=/branches/ros-branch-0_2_4/; revision=10706
2004-08-27 10:38:17 +00:00
Robert Kopferl
4669c1c638 changed bild to RC1
svn path=/branches/ros-branch-0_2_4/; revision=10699
2004-08-26 20:58:02 +00:00
The ReactOS Team
8c3c1d4310 This commit was manufactured by cvs2svn to create branch
'ros-branch-0_2_4'.

svn path=/branches/ros-branch-0_2_4/; revision=10694
2004-08-26 16:48:46 +00:00
Magnus Olsen
7eaa01f5e9 fix
some waring msg  when it being compile
type
redefinition of `LPCOLESTR16'
redefinition of `OLECHAR16'
redefinition of `LPOLESTR16'

svn path=/trunk/; revision=10693
2004-08-26 16:48:46 +00:00
Gregor Anich
87bdedbed2 Change stabs handling of KDB - does no longer allocate a block of memory for each stub entry, instead each .sym file is loaded completely into (non-paged) memory.
svn path=/trunk/; revision=10692
2004-08-26 16:04:50 +00:00
Hartmut Birr
66ff876aa8 - Implemented GetACP() and GetOEMCP().
svn path=/trunk/; revision=10691
2004-08-26 16:03:09 +00:00
Hartmut Birr
3b571ec48d - Added more nls files.
svn path=/trunk/; revision=10690
2004-08-26 16:01:26 +00:00
Magnus Olsen
41b885d24d fix
waring msg  when it being compile

svn path=/trunk/; revision=10689
2004-08-26 15:11:50 +00:00
Gé van Geldorp
9dc1445d4c If SendMessageTimeout() times out, GetLastError() should return 0
svn path=/trunk/; revision=10688
2004-08-26 12:29:37 +00:00
Magnus Olsen
e90a1b168c fix
ntoskrnl so it can be compile with optimze -O2 or higher

svn path=/trunk/; revision=10687
2004-08-26 11:58:33 +00:00
Gé van Geldorp
5b3ce7b494 Fix MSVCRT compile-time error due to duplicate symbol definition
svn path=/trunk/; revision=10686
2004-08-26 07:54:47 +00:00
Gregor Anich
e9706d1315 Change <GL\\gl.h> to "GL/gl.h" include.
svn path=/trunk/; revision=10685
2004-08-26 02:04:48 +00:00
Gregor Anich
94ec82db25 Fix GL/glu.h include...
svn path=/trunk/; revision=10684
2004-08-26 01:54:03 +00:00
Gregor Anich
94d6abb6d2 Fix GL/gl.h include for cross-compiling from linux.
svn path=/trunk/; revision=10683
2004-08-26 01:52:06 +00:00
Gé van Geldorp
93b57832ce Avoid arithmetic overflow
svn path=/trunk/; revision=10682
2004-08-25 22:31:01 +00:00
Casper Hornstrup
6fa3492ab7 2004-08-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/cdmake/cdmake.c: Error out if extension is too long.

svn path=/trunk/; revision=10681
2004-08-25 20:47:22 +00:00
Gregor Anich
a8e8bea6fa Disable SSE - When Mesa with SSE enabled is ran in ReactOS/VMWare it crashes with SIGILL.
svn path=/trunk/; revision=10680
2004-08-25 20:20:09 +00:00
Gregor Anich
ca451d1442 Add OpenGL to the user libraries (glu32, mesa32, opengl32)
svn path=/trunk/; revision=10679
2004-08-25 15:58:12 +00:00
Filip Navara
1e7841a2e8 - Implement CcRepinBcb and CcGetFileObjectFromBcb.
- Partially implement CcUnpinRepinnedBcb, CcPinMappedData,
  CcPinRead, CcPreparePinWrite, CcInitializeCacheMap (Art Yerkes)
  and CcUninitializeCacheMap.
- Fix ReadCacheSegmentChain to handle correctly big request and
  check for MDL request memory overflow.
- Allow passing NULL BCB to CcSetFileSizes.
- Ensure that registry files are opened using lowercase file names.

svn path=/trunk/; revision=10678
2004-08-25 15:08:29 +00:00
Filip Navara
b8648c7bf4 - Do not depend on paths returned by FileNameInformation requests to be NULL terminated.
svn path=/trunk/; revision=10677
2004-08-25 15:04:19 +00:00
Filip Navara
e877ccfb63 - Fix masking out the write flags in IoCheckShareAccess and IoSetShareAccess.
svn path=/trunk/; revision=10676
2004-08-25 15:01:48 +00:00
Gregor Anich
cfc4008f6b Mesa version 6.1 import - Forgot the new Makefile/def file
svn path=/trunk/; revision=10675
2004-08-25 12:43:28 +00:00
Gregor Anich
d0f74a3f67 Mesa version 6.1 import.
svn path=/trunk/; revision=10674
2004-08-25 12:35:24 +00:00
Hartmut Birr
c56daa8b92 - Fixed the back-space-handling in ConioWriteConsole.
svn path=/trunk/; revision=10673
2004-08-25 10:37:14 +00:00
Filip Navara
2f4838080b Fix compilation with GCC 3.4.x
svn path=/trunk/; revision=10672
2004-08-24 18:27:53 +00:00
Filip Navara
0e272062f2 - Add definition of LOCALE_IDEFAULTMACCODEPAGE.
svn path=/trunk/; revision=10671
2004-08-24 17:36:15 +00:00
Filip Navara
489265e774 - Load also the last font file in the font directory.
svn path=/trunk/; revision=10670
2004-08-24 17:29:00 +00:00
Filip Navara
df072d8e25 - Always use non-antialiased font for consoles.
- Minor correction to multibyte character conversion for GUI consoles.
- Support for non-ENABLE_PROCESSED_OUTPUT and non-ENABLE_WRAP_AT_EOL_OUTPUT modes in ConioWriteConsole.
- Other minor fixes to get Wine Kernel32 Console test working.

svn path=/trunk/; revision=10669
2004-08-24 17:25:17 +00:00
Filip Navara
5e458f6f4e - Implementation of GetCPFileNameFromRegistry, GetNlsSectionName and IsValidCodePage.
- Partial implementation of MultiByteToWideChar and WideCharToMultiByte.
- Cleanup buffer allocation in some console functions.

svn path=/trunk/; revision=10668
2004-08-24 17:21:12 +00:00
Filip Navara
29fc781674 - Fix Get[System/Window]Directory[AW] for Buffer == NULL case.
- Fix return value of GetDriveType[AW].

svn path=/trunk/; revision=10667
2004-08-24 17:15:42 +00:00
Filip Navara
ccec5bfedd - Remove dereferencing non-referenced FileObject in error cases.
svn path=/trunk/; revision=10666
2004-08-24 17:08:18 +00:00
Filip Navara
aaa5aaec7e - Fix NtQueryDirectoryObject for empty directories.
svn path=/trunk/; revision=10665
2004-08-24 17:07:27 +00:00
Gé van Geldorp
1230297d02 Add shutdown registry entries
svn path=/trunk/; revision=10664
2004-08-24 09:43:33 +00:00
Hartmut Birr
b78c2817c4 - Check if the given address points into a valid section (in MmUnmapViewOfSection).
- Check if the section isn't deleted straight (in MmUnmapViewOfSection).

svn path=/trunk/; revision=10663
2004-08-23 22:29:43 +00:00
Gé van Geldorp
e208613f37 Implement ConvertSidToStringSidA/w
svn path=/trunk/; revision=10662
2004-08-23 21:16:26 +00:00
James Tabor
a380ffb184 Fixed import unicode names from remote processes.
svn path=/trunk/; revision=10661
2004-08-23 14:28:29 +00:00
Hartmut Birr
34e45ee1c2 - Enabled the declaration of DbgPrint because they is used in DPRINT and CHECKPOINT macros.
svn path=/trunk/; revision=10660
2004-08-22 21:06:36 +00:00
Hartmut Birr
868756af46 - Fixed the compilation as unicode.
- Search only for the file name directly if the name contains a known extension.
- Don't add an extension if the file name contains a known extension.

svn path=/trunk/; revision=10659
2004-08-22 20:55:15 +00:00
Filip Navara
4af77c2b3c - Implement ReadConsoleInputW, PeekConsoleInputW, ReadConsoleOutputW, WriteConsoleOutputW, SetConsoleIcon and GetConsoleWindow.
- Fix input peeking in CSRSS to not return fake events.

svn path=/trunk/; revision=10658
2004-08-22 20:52:28 +00:00
Filip Navara
cce0fb451f - More complete implementation of CharUpperA.
svn path=/trunk/; revision=10657
2004-08-22 20:51:57 +00:00
Filip Navara
270129d009 - Implement NtNotifyChangeDirectoryFile.
- Honour ApcRoutine and ApcContext parameters of NtQueryDirectoryFile.

svn path=/trunk/; revision=10656
2004-08-22 20:51:43 +00:00
Hartmut Birr
1b391b9333 - Fixed the compilation as unicode.
svn path=/trunk/; revision=10655
2004-08-22 20:47:20 +00:00
Hartmut Birr
2f1ea7feae - Added '-Werror' to the compiler options.
svn path=/trunk/; revision=10654
2004-08-22 20:37:05 +00:00
Hartmut Birr
df7a301805 - Fixed some 'dereferencing type-punned pointer will break strict-aliasing rules'
warnings on higher optimisation levels.

svn path=/trunk/; revision=10653
2004-08-22 20:32:32 +00:00
Hartmut Birr
adc7fbb548 - Fixed some pointer increments/decrements.
svn path=/trunk/; revision=10652
2004-08-22 20:13:44 +00:00
Mike Nordell
15ffb673df Safety added to trace output.
svn path=/trunk/; revision=10651
2004-08-22 18:49:11 +00:00
Art Yerkes
c24ef8433f AFD: Fixed handling of cancelling in flight requests when closing the socket.
Closing a socket doesn't crash but still hangs.  Needs work.
oskittcp: corrected problem with send data, trying out slightly different
scheme of dealing with closed socket.
tcpip: added support for SEL_FIN in socket state callback and corrected
support for returning error in TCPReceiveData.

svn path=/trunk/; revision=10650
2004-08-22 18:42:42 +00:00
Art Yerkes
36d2e136c7 Fixed missing unlock in write.
svn path=/trunk/; revision=10649
2004-08-22 02:15:57 +00:00
Mike Nordell
2496ef39ee Fix misplaced STDCALL
svn path=/trunk/; revision=10648
2004-08-21 21:20:08 +00:00
Mike Nordell
c373c9ebb1 Make inline assembler compilable using VC
svn path=/trunk/; revision=10647
2004-08-21 21:14:59 +00:00
Mike Nordell
96b46798d8 Wrong path in comment.
svn path=/trunk/; revision=10646
2004-08-21 21:13:45 +00:00
Mike Nordell
0d5eda7a62 Fix misplaced STDCALL
svn path=/trunk/; revision=10645
2004-08-21 21:09:39 +00:00
Mike Nordell
7095fe07cd Fix misplaced STDCALL
svn path=/trunk/; revision=10644
2004-08-21 20:55:41 +00:00
Mike Nordell
b7e51fe08f Fix arithmetics on void.
svn path=/trunk/; revision=10643
2004-08-21 20:47:28 +00:00
Mike Nordell
cb6798f145 Fix arithmetics on void.
svn path=/trunk/; revision=10642
2004-08-21 20:42:10 +00:00
Mike Nordell
03e25a0998 Fix misplaced STDCALL calling convention specifiers.
svn path=/trunk/; revision=10641
2004-08-21 20:40:27 +00:00
Mike Nordell
1c43621083 Fix import/export linkage mismatches.
svn path=/trunk/; revision=10640
2004-08-21 20:18:07 +00:00
Mike Nordell
f04772cf3e Make code portable to compilers with SEH.
svn path=/trunk/; revision=10639
2004-08-21 20:05:35 +00:00
Art Yerkes
8da48834d5 Fixed eols for pp directives, honor original eols.
svn path=/trunk/; revision=10638
2004-08-21 19:59:52 +00:00
Gé van Geldorp
7f5aece68d Implement EnumDesktopsA/W and EnumWindowStationsA, rewrite of
EnumWindowStationsW

svn path=/trunk/; revision=10637
2004-08-21 19:50:39 +00:00
Art Yerkes
a48867230f Respect line breaks in the original code, making it easier to compare.
svn path=/trunk/; revision=10636
2004-08-21 19:49:22 +00:00
Hartmut Birr
9995491445 - Made the partition list movable if it is necessary.
svn path=/trunk/; revision=10635
2004-08-21 19:30:12 +00:00
Hartmut Birr
0ebfb773cb - Check for a valid layout buffer entry in xHalIoAssignDriveLetters.
svn path=/trunk/; revision=10634
2004-08-21 19:13:22 +00:00
Mike Nordell
fca2504ae6 Linkage specification correctly placed.
svn path=/trunk/; revision=10633
2004-08-21 19:04:47 +00:00
Mike Nordell
dc4796ce53 Make the code legal C (89)
svn path=/trunk/; revision=10632
2004-08-21 19:03:04 +00:00
Mike Nordell
e5c5aaadd2 fix import/export linkage for declaration of MmSystemRangeStart
svn path=/trunk/; revision=10631
2004-08-21 18:45:01 +00:00
Mike Nordell
0804fde9a5 fix misplaced STDCALL
svn path=/trunk/; revision=10630
2004-08-21 15:34:32 +00:00
Mike Nordell
818dcf2277 stop wasting power at shutdown
svn path=/trunk/; revision=10629
2004-08-21 15:29:08 +00:00
Mike Nordell
0f057d10d9 make code C89-compilable again
svn path=/trunk/; revision=10628
2004-08-21 13:21:44 +00:00
Mike Nordell
7ab9404fc9 fix definition of EVENT_TRACE_HEADER
svn path=/trunk/; revision=10627
2004-08-21 13:20:25 +00:00
Mike Nordell
65c3f8c5a6 fix placement of STDCALL for function declarations
svn path=/trunk/; revision=10626
2004-08-21 12:34:58 +00:00
Mike Nordell
51b6704c3b fix placement of STDCALL for function declarations
svn path=/trunk/; revision=10625
2004-08-21 12:12:35 +00:00
Filip Navara
3d98b86904 - Maintain higher internal precision during font rendering.
- Honour bitmap->bitmap_left while rendering.

svn path=/trunk/; revision=10624
2004-08-21 02:22:45 +00:00
Filip Navara
d76b781f65 Minor optimalization to handle allocation algorithm.
svn path=/trunk/; revision=10623
2004-08-20 23:46:21 +00:00
Gé van Geldorp
261286187f Implement NtUserBuildNamesList()
svn path=/trunk/; revision=10622
2004-08-20 22:38:49 +00:00
Gé van Geldorp
847119b3cd Use MmCopyFrom/ToCaller to transfer data in NtQueryDirectoryObject, also
lock list when traversing it

svn path=/trunk/; revision=10621
2004-08-20 22:38:10 +00:00
Filip Navara
b71178e84e - NtQuerySection should check for SECTION_QUERY access right and not SECTION_MAP_READ.
- Fix prototype of NtExtendSection.

svn path=/trunk/; revision=10620
2004-08-20 21:23:49 +00:00
Art Yerkes
5eef6d16e3 Removed ASSERT_KM macro. It's not used any longer.
svn path=/trunk/; revision=10619
2004-08-20 16:26:10 +00:00
Filip Navara
3f9427ed02 Fix few compiler/linker warnings.
svn path=/trunk/; revision=10618
2004-08-20 15:19:38 +00:00
Eric Kohl
26981b72cf - Provide better PCI device descriptions.
- Use public macros to analyze the PCI configuration space.

svn path=/trunk/; revision=10617
2004-08-20 13:33:51 +00:00
Eric Kohl
a5e0bea967 Define more PCI device subclasses.
svn path=/trunk/; revision=10616
2004-08-20 13:29:14 +00:00
Magnus Olsen
ee97250d94 fix
gcc 3.3.x stop comiling and give a error msg
network/icmp.c: In function `SendICMPComplete':
network/icmp.c:28: warning: unused variable `IPPacket'
make[1]: *** [network/icmp.o] Error 1
make: *** [tcpip] Error 2

svn path=/trunk/; revision=10615
2004-08-20 09:44:20 +00:00
Gé van Geldorp
d204e60565 Don't export all make variables by default
Based on work by Hartmut Birr

svn path=/trunk/; revision=10614
2004-08-20 07:02:09 +00:00
Gé van Geldorp
e8936ed5d6 Older binutils don't like the -noname attribute
on forwarded exports

svn path=/trunk/; revision=10613
2004-08-20 06:58:58 +00:00
Filip Navara
57bca780f3 Fix compiler warnings.
svn path=/trunk/; revision=10612
2004-08-20 00:57:55 +00:00
Filip Navara
ed43fa6083 Remove definitions already present in W32API.
svn path=/trunk/; revision=10611
2004-08-20 00:57:42 +00:00
Filip Navara
0d5febe573 Fix syntax errors in .edf file.
svn path=/trunk/; revision=10610
2004-08-20 00:57:41 +00:00
Casper Hornstrup
28a9052b11 2004-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Fix ntoskrnl dependency problem.

svn path=/trunk/; revision=10609
2004-08-19 23:11:41 +00:00
Hartmut Birr
147f2a9166 - Changed the sequence of some memory initialisation functions.
svn path=/trunk/; revision=10608
2004-08-19 22:17:47 +00:00
Hartmut Birr
a9797a23d6 - Rewrote MmInitializePageList. It isn't necessary to setup the pde's
for the largest memory configuration at boot time.
- Made the parts of the page directory map inaccessible from user mode
  which are setup at boot time.

svn path=/trunk/; revision=10607
2004-08-19 22:14:31 +00:00
Hartmut Birr
9112fef190 - Fixed a crash which occurs on thread switching if the pde's for the new
process structure are not established within the address space of the old thread.

svn path=/trunk/; revision=10606
2004-08-19 21:56:17 +00:00
Art Yerkes
67781c7635 More notes on oskit. braindumping.
svn path=/trunk/; revision=10605
2004-08-19 21:53:43 +00:00
Hartmut Birr
020f18ca0b - Set the pde's for the kernel stack at thread creation time and not at any task switch.
svn path=/trunk/; revision=10604
2004-08-19 21:51:06 +00:00
Hartmut Birr
30188f2c6c - Replaced MmUpdateStackPageDir by MmUpdatePageDir which can establish
the pde's of a process for any address range within the kernel address range.

svn path=/trunk/; revision=10603
2004-08-19 21:47:51 +00:00
Eric Kohl
7314aec7ff Define PCI subclasses and macros.
svn path=/trunk/; revision=10602
2004-08-19 21:42:44 +00:00
Art Yerkes
9d7db6ee1c oskittcp: new import. less diff output versus pure sources.
no deleted code this time around.  all properly ifdef'd
more use of bsd style adapter structs and adapter queries with provided
support by tcpip.sys.
correct prototypes
some diff output is reformatting

tcpip: some bug fixes, -Wall -Werror on, all prototypes in
remove the need for MaxLLHeaderSize anywhere except lan.c
unify meaning of Header and Data members of IP_PACKET
unify PCHAR types in routines.c
move one more address into the struct, eliminating management and extra
poll alloc in NCE
eliminate wrong use of PIP_INTERFACE as NTE pointer in dispatch functions
other fixes

svn path=/trunk/; revision=10601
2004-08-19 21:39:00 +00:00
Filip Navara
4376799eac - Move out LPCGUID from scsiwmi.h to basetyps.h where it belongs.
- Fix initguid.h to eliminate warnings when compiling C programs.

svn path=/trunk/; revision=10600
2004-08-19 18:16:39 +00:00
Filip Navara
d2f7f5c128 Remove some unused headers or parts of headers.
svn path=/trunk/; revision=10599
2004-08-19 18:12:29 +00:00
Filip Navara
a7693505df Fix syntax error in .def file.
svn path=/trunk/; revision=10598
2004-08-19 18:08:47 +00:00
Casper Hornstrup
4989d6438f 2004-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* regtests/shared/regtests.c: Mark test name with |.

svn path=/trunk/; revision=10597
2004-08-19 00:48:18 +00:00
Casper Hornstrup
ab33683488 2004-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Depend on roscfg.h.

svn path=/trunk/; revision=10596
2004-08-19 00:39:59 +00:00
Casper Hornstrup
d291ec0ebe 2004-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/regtests2xml: New directory.
	* tools/regtests2xml/.cvsignore: New file.
	* tools/regtests2xml/Makefile: Ditto.
	* tools/regtests2xml/regtests2xml.c: Ditto.

svn path=/trunk/; revision=10595
2004-08-19 00:35:15 +00:00
Eric Kohl
87c899380d Report the correct resource flags.
svn path=/trunk/; revision=10594
2004-08-18 22:11:15 +00:00
Eric Kohl
9acd2c65c2 Update resource-related defines.
svn path=/trunk/; revision=10593
2004-08-18 22:06:55 +00:00
Filip Navara
2004f45dcd Replace 0x7ffeffff by MmHighestUserAddress.
svn path=/trunk/; revision=10592
2004-08-18 20:41:03 +00:00
Gé van Geldorp
2db705b1c2 Update to FreeType 2.1.9
svn path=/trunk/; revision=10591
2004-08-18 20:25:11 +00:00
Filip Navara
96bdafef41 - Copy over device object SectorSize and AlignmentRequirement in IoAttachDeviceToDeviceStack.
svn path=/trunk/; revision=10590
2004-08-18 15:09:02 +00:00
Eric Kohl
c9f2fda0b2 Don't retrieve a resource list when a device gets started, use the device nodes resource list.
svn path=/trunk/; revision=10589
2004-08-18 08:33:25 +00:00
Eric Kohl
b299113f7b Fix IRP_MN_QUERY_RESOURCES and implement IRP_MN_QUERY_RESOURCE_REQUIREMENTS.
svn path=/trunk/; revision=10588
2004-08-18 08:25:58 +00:00
Filip Navara
543091ce46 - Fix FsRtlDoesNameContainWildCards loop to take into account the first and lst letter of the expression.
- Dumb implementation of FsRtlIsNameInExpression.

svn path=/trunk/; revision=10587
2004-08-18 02:32:00 +00:00
Filip Navara
f43bd6e656 - Move SectionPageProtection checks from helper routines to NtCreateSection.
- Remove dependency on ReactOS specific FO_FCB_IS_VALID magic and don't access FCB directly, use NtQueryInformationFile instead.
- Fix deleting of section if an early failure during section creation happens and not all structures are initialized yet.

svn path=/trunk/; revision=10586
2004-08-18 02:29:37 +00:00
Filip Navara
04e70454de - Don't increase Irp->AssociatedIrp.IrpCount in IoMakeAssociatedIrp. The caller is responsible for doing it.
- Don't unlock MDLs of associated Irps.

svn path=/trunk/; revision=10585
2004-08-18 02:24:02 +00:00
Filip Navara
5ce987d59f - Set StackPtr->Parameters.Read.Length in IoPageRead.
- Set StackPtr->Parameters.Write.Length in Io[Synchronous]PageWrite.

svn path=/trunk/; revision=10584
2004-08-18 02:21:53 +00:00
Filip Navara
b7ca7786e4 Print in the debug traces if a partition is recognized or not.
svn path=/trunk/; revision=10583
2004-08-18 02:20:00 +00:00
Filip Navara
13fc2fb445 Link to our SDK libraries instead of using the W32API ones.
svn path=/trunk/; revision=10582
2004-08-18 02:16:00 +00:00
Filip Navara
bf2c0b0d8b Fix declaration of FILE_DISPOSITION_INFORMATION.
svn path=/trunk/; revision=10581
2004-08-18 02:13:27 +00:00
Thomas Bluemel
0e686e8470 remove debug output
svn path=/trunk/; revision=10580
2004-08-17 21:52:17 +00:00
Thomas Bluemel
90e663c1bf load the wallpaper on startup and set it
svn path=/trunk/; revision=10579
2004-08-17 21:49:51 +00:00
Thomas Bluemel
c6a9402e60 added very basic support for desktop wallpapers
svn path=/trunk/; revision=10578
2004-08-17 21:47:36 +00:00
Thomas Bluemel
2ac9e121e9 use WM_NOTIFY messages to communicate with the desktop window thread as they can't be sent from processes other than csrss
svn path=/trunk/; revision=10577
2004-08-17 14:57:52 +00:00
Casper Hornstrup
a7f4ff2664 2004-08-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/depend.mk: Don't generate dependencies for implib target.

svn path=/trunk/; revision=10576
2004-08-17 13:53:05 +00:00
Casper Hornstrup
f55fbceea5 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Correct dependencies.
	* tools/Makefile: Silence some annoying messages.
	* tools/config.mk: Ditto.
	* rules.mak (MINIMALDEPENDENCIES): New option; minimal dependencies
	(yes/no). If yes, then components do not depend on all import libraries.
	If no, then they do. Defaults to yes.

svn path=/trunk/; revision=10575
2004-08-16 22:31:05 +00:00
Gé van Geldorp
b236b6a240 Avoid collision with MinGW wctype_t
svn path=/trunk/; revision=10574
2004-08-16 20:02:23 +00:00
Martin Fuchs
7566350740 display version information in about dialog and on the desktop
svn path=/trunk/; revision=10572
2004-08-16 18:49:58 +00:00
Casper Hornstrup
5b9f8a442b 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/include/debug.h (ASSERT): Don't call KeBugCheck.
	* lib/user32/misc/dllmain.c (KeBugCheck): Remove declaration.

svn path=/trunk/; revision=10571
2004-08-16 17:28:46 +00:00
Eric Kohl
3a5f687b18 Implement:
- IRP_MN_READ_CONFIG
  - IRP_MN_WRITE_CONFIG
  - IRP_MN_QUERY_RESOURCES
  - IRP_MN_QUREY_DEVICE_TEXT

Implement (disabled):
  - IRP_MN_QUERY_ID.BusQueryInstanceID

svn path=/trunk/; revision=10570
2004-08-16 09:13:00 +00:00
Casper Hornstrup
ad002d5bd9 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/tcpip/include/.cvsignore: New file.
	* drivers/net/tcpip/include/precomp.h: New file.
	* drivers/net/tcpip/Makefile (TARGET_PCH): Set to include/precomp.h.
	* drivers/net/tcpip/tests/Makefile (TARGET_PCH): Reset.
	* drivers/net/tcpip/*/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10569
2004-08-15 23:41:26 +00:00
Casper Hornstrup
455ea22b67 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/ndis/include/.cvsignore: New file.
	* drivers/net/ndis/.cvsignore: Add *.d.
	* drivers/net/ndis/Makefile (TARGET_PCH): Set to include/ndissys.h.
	* drivers/net/ndis/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10568
2004-08-15 23:12:33 +00:00
Casper Hornstrup
7ffd28c060 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/afd/include/.cvsignore: New file.
	* drivers/net/afd/include/tdiconn.h: Don't include <afd.h>.
	* drivers/net/afd/.cvsignore: Add *.d.
	* drivers/net/afd/makefile (TARGET_PCH): Set to include/afd.h.

svn path=/trunk/; revision=10567
2004-08-15 22:51:57 +00:00
Casper Hornstrup
c78a7ee5ec 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/system/taskmgr/.cvsignore: Add *.gch.
	* subsys/system/taskmgr/precomp.h: New file.
	* subsys/system/taskmgr/makefile (TARGET_PCH): Set to precomp.h.
	* subsys/system/taskmgr/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10566
2004-08-15 22:40:34 +00:00
Casper Hornstrup
ed1baab85f 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/system/usetup/.cvsignore: Add *.gch.
	* subsys/system/usetup/precomp.h: New file.
	* subsys/system/usetup/makefile (TARGET_PCH): Set to precomp.h.
	* subsys/system/usetup/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10565
2004-08-15 22:29:50 +00:00
Casper Hornstrup
74ad04945e 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/system/cmd/.cvsignore: Add *.gch.
	* subsys/system/cmd/precomp.h: New file.
	* subsys/system/cmd/Makefile (TARGET_PCH): Set to precomp.h.
	* subsys/system/cmd/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10564
2004-08-15 22:15:23 +00:00
Casper Hornstrup
0ded881f1f Simplify precomp.h.
svn path=/trunk/; revision=10563
2004-08-15 21:39:59 +00:00
Casper Hornstrup
e14ef8a1c4 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/include/.cvsignore: New file.
	* lib/user32/Makefile (TARGET_PCH): Set to include/user32.h.
	* lib/user32/*/*.c: Use pre-compiled header.
	* include/wine/debug.h (FIXME): Override previous declaration is needed.

svn path=/trunk/; revision=10562
2004-08-15 21:36:30 +00:00
Gé van Geldorp
a6fc248d31 Handle shell link files contained in double quotes
svn path=/trunk/; revision=10561
2004-08-15 21:01:14 +00:00
Thomas Bluemel
fdf4e54dc9 added missing file
svn path=/trunk/; revision=10560
2004-08-15 20:24:43 +00:00
Casper Hornstrup
231eeedea1 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/userenv/.cvsignore: Add *.gch.
	* lib/userenv/makefile (TARGET_PCH): Set to precomp.h.
	* lib/userenv/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10559
2004-08-15 19:02:40 +00:00
Casper Hornstrup
5d7f1d7e68 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/ws2_32/include/.cvsignore: New file.
	* lib/ws2_32/makefile (TARGET_PCH): Set to include/ws2_32.h.
	* lib/ws2_32/include/[catalog.h, handle.h]: Don't include ws2_32.h.

svn path=/trunk/; revision=10558
2004-08-15 18:53:07 +00:00
Casper Hornstrup
07ceadec8e 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/gdi32/include/.cvsignore: New file.
	* lib/gdi32/.cvsignore: Remove *.gch.

svn path=/trunk/; revision=10557
2004-08-15 18:42:57 +00:00
Casper Hornstrup
a3a8b50447 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/gdi32/.cvsignore: Ignore *.gch.
	* lib/gdi32/include/precomp.h: New file.
	* lib/gdi32/Makefile (TARGET_PCH): Set to include/precomp.h.
	* lib/gdi32/*/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10556
2004-08-15 18:40:07 +00:00
Casper Hornstrup
84385f6e26 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/msvcrt/.cvsignore: Ignore *.gch.
	* lib/msvcrt/precomp.h: New file.
	* lib/msvcrt/Makefile (TARGET_PCH): Set to precomp.h.
	* lib/msvcrt/*/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10555
2004-08-15 18:16:39 +00:00
Casper Hornstrup
aa7fdaac83 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/crtdll/.cvsignore: Ignore *.gch.
	* lib/crtdll/precomp.h: New file.
	* lib/crtdll/Makefile (TARGET_PCH): Set to precomp.h.
	* lib/crtdll/*/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10554
2004-08-15 17:34:28 +00:00
Casper Hornstrup
03664157d6 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/advapi32/.cvsignore: Ignore *.gch.
	* lib/advapi32/advapi32.h: New file.
	* lib/advapi32/*/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10553
2004-08-15 17:03:15 +00:00
Art Yerkes
0d69d982e0 More info about naming.
svn path=/trunk/; revision=10552
2004-08-15 16:52:13 +00:00
Gero Kuehn
e16725fbe4 improved network control panel
more registry keys for the network configuration
preliminary TCPIP property sheet

svn path=/trunk/; revision=10551
2004-08-15 16:50:30 +00:00
Casper Hornstrup
1bf0775833 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/include/.cvsignore: New file.
	* ntoskrnl/include/ntoskrnl.h: Ditto.
	* ntoskrnl/*/*.c: Use pre-compiled header.
	* ntoskrnl/Makefile: Support pre-compiled header.
	* tools/helper.mk: .pch files are now .gch files.

svn path=/trunk/; revision=10550
2004-08-15 16:39:12 +00:00
Filip Navara
41ca6025bd - Revert to old dependency system.
svn path=/trunk/; revision=10549
2004-08-15 01:44:31 +00:00
Filip Navara
0a2918d47b - Revert to old dependency system.
svn path=/trunk/; revision=10548
2004-08-15 01:23:19 +00:00
Filip Navara
f530a33909 - Minor correction to shut up compiler warning.
svn path=/trunk/; revision=10547
2004-08-15 00:51:51 +00:00
Filip Navara
e2635a47ed - Don't append to existing files.
svn path=/trunk/; revision=10546
2004-08-15 00:51:01 +00:00
Eric Kohl
525f112e0c Try to retrieve the resource list before starting a pnp device.
svn path=/trunk/; revision=10545
2004-08-14 22:47:08 +00:00
Gé van Geldorp
4bf8b7d19b Avoid crash
svn path=/trunk/; revision=10544
2004-08-14 22:36:38 +00:00
Gé van Geldorp
fe0c27e5c2 Sync to Wine-20040813: update status
svn path=/trunk/; revision=10543
2004-08-14 21:02:42 +00:00
Filip Navara
45e78bd69f - Fix dependency tracking for relative paths.
svn path=/trunk/; revision=10542
2004-08-14 20:51:46 +00:00
Steven Edwards
99ef31f67f Get it building. Linking is next
svn path=/trunk/; revision=10541
2004-08-14 20:43:40 +00:00
Gé van Geldorp
d0307c2139 Sync to Wine-20040813:
Alexandre Julliard
- Avoid some non-portable makefile constructs, and get rid of the
  ALTNAMES variable.
Robert Reif <reif@earthlink.net>
- Change MIXER_GetDev to take pointer to returned address pointer and
  return one of 3 possible return values rather than an address or
  NULL.
- Adds *GetDevCapsW bad pointer check.
- Adds waveOutGetDevCapsW test.
Filip Navara <xnavara@volny.cz>
- Implementation of mmTaskCreate. Based on patch by Eric Pouech.
- Fallback implementation in waveOut[Un]PrepareHeader.
Marcelo Duarte <wine-devel@bol.com.br>
- Localization of devenum to Portuguese and minor corrections.

svn path=/trunk/; revision=10539
2004-08-14 20:36:35 +00:00
Gé van Geldorp
82663d1e65 Sync to Wine-20040813:
Ivan Leo Puoti <puoti@inwind.it>
- Added Italian resources.
Marcelo Duarte <wine-devel@bol.com.br>
- Update localization for Portuguese language.
Alexandre Julliard
- Get rid of the non-standard ICOM_VTABLE macro.
- Get rid of the non-standard ICOM_VFIELD macro.
- Fixed flags handling in StrIsIntlEqualA/W (spotted by James Hawkins).
Jacek Caban <jack@itma.pwr.wroc.pl>
- Implemented IsOS function.
Francois Gouget <fgouget@free.fr>
- Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
  as is done in the Windows headers.
- Add #define COBJMACROS where needed in Wine.
- Fixes the compilation of the oleaut32/tests/olefont.c and
  urlmon/tests/url.c conformance tests with the Windows headers.
Stefan Leichter <Stefan.Leichter@camLine.com>
- Forward shlwapi.459/460 (SHExpandEnvironmentStringsA/W) to
  kernel32.ExpandEnvironmentStringsA/W.

svn path=/trunk/; revision=10538
2004-08-14 20:24:42 +00:00
Gé van Geldorp
86eb12c5fc Sync to Wine-20040813:
Alexandre Julliard
- Moved ICOM_THIS_MULTI definition out of objbase.h and into the files
  that use it.
- Get rid of the non-standard ICOM_VTABLE macro.
- Get rid of the non-standard ICOM_VFIELD macro.

svn path=/trunk/; revision=10537
2004-08-14 20:09:12 +00:00
Gé van Geldorp
40d3ca1e0b Sync to Wine-20040813:
Mike McCormack <mike@codeweavers.com>
- Remove dead code.
Jacek Caban<jack@itma.pwr.wroc.pl>
- Added EM_SCROLLCARET definition in include/richedit.h and handling in
  WindowProc.

svn path=/trunk/; revision=10536
2004-08-14 20:05:16 +00:00
Gé van Geldorp
73d3df3e28 Sync to Wine-20040813:
Alexandre Julliard
- Avoid some non-portable makefile constructs, and get rid of the
  ALTNAMES variable.
- Get rid of the non-standard ICOM_VTABLE macro.
- Get rid of the non-standard ICOM_VFIELD macro.
- Get rid of the non-standard ICOM_DEFINE macro.
- Moved ICOM_THIS_MULTI definition out of objbase.h and into the files
  that use it.
Mike McCormack <mike@codeweavers.com>
- Added a test for stat'ing a memory based storage file.
- stat on memory storage should return a NULL name, not "".
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
- Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
  as is done in the Windows headers.
- Add #define COBJMACROS where needed in Wine.
- Fixes the compilation of the oleaut32/tests/olefont.c and
  urlmon/tests/url.c conformance tests with the Windows headers.
Mike Hearn <mh@codeweavers.com>
- Implement disconnect for proxies so that stubs are properly
  destroyed.
- Disconnect proxies at COM shutdown to release the corresponding
  stubs.
- Don't marshal IClassFactory into the local server pipe until we have
  connected, otherwise we might end up with stubs that are never used.
- Pass -Embedding switch to EXE servers, more tracing.
- Fix misleading warning ole CoGetClassObject.
- Fix ref counting in StdMarshalImpl_MarshalInterface for case where the
  stub already exists.
- Implement StdMarshal::ReleaseMarshalData.
- Fix infinite loops by checking the return value of _invoke_onereq and
  bailing appropriately.
- Add a comment on the SendReceive behaviour. Improve two others.
- Unref stub after invoking on it.
Robert Shearman <rob@codeweavers.com>
- Remove unneeded STUBMGR_Start call.
- Cleanup compobj_private.h.
- Fix some inaccuracies in a comment and reformat.
- Add static to non-exported marshal functions.
- Remove unused marshal functions.
- Rename several RPC functions.
- Emit fixme for known local wrong behaviour.
- Implement StdMarshal::ReleaseMarshalData.
- Document wrong behaviour for IRunningObjectTable.
- Fix infinite loops by checking the return value of _invoke_onereq and
  bailing appropriately.
- Add a comment on the SendReceive behaviour. Improve two others.
- Set RPC data representation.
Jeroen Janssen <japj@xs4all.nl>
- Updated some MSDN links in the code.

svn path=/trunk/; revision=10535
2004-08-14 20:00:59 +00:00
Gé van Geldorp
0f2899c24b Sync to Wine-20040813:
Ivan Leo Puoti <puoti@inwind.it>
- Added Italian resources.
Marcelo Duarte <wine-devel@bol.com.br>
- Update localization for Portuguese language.

svn path=/trunk/; revision=10534
2004-08-14 19:25:03 +00:00
Gé van Geldorp
5dd30e3526 Sync to Wine-20040813:
Alexandre Julliard
- Avoid some non-portable makefile constructs, and get rid of the
  ALTNAMES variable.
- Get rid of the non-standard ICOM_VTABLE macro.
Henning Gerhardt <henning.gerhardt@web.de>
- Minor fixes and updates to the German resource files.
Jacek Caban <jack@itma.pwr.wroc.pl>
- Translation update.
Mike McCormack <mike@codeweavers.com>
- Unicode file dialogs send and receive unicode messages.
Jacek Caban <jack@itma.pwr.wroc.pl>
- Fix a bug in passing parameters to CFn_WMInitDialog and CFn_WMCommand
  in FormatCharDlgProcW.
James Hawkins <truiken@gmail.com>
- Cleanup A->W cross calls.
- Better fix for collate icon behavior.

svn path=/trunk/; revision=10533
2004-08-14 19:21:01 +00:00
Gé van Geldorp
6d0e0e250c Sync to Wine-20040813:
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Make pattern brush data const.
Mike McCormack <mike@codeweavers.com>
- Prevent listview from crashing when a null sort function is passed to
  LVM_SORTITEMS.
Filip Navara <xnavara@volny.cz>
- Don't update infoPtr->dwStyle in LISTVIEW_WindowProc. It's already
  handled in LISTVIEW_StyleChanged and LISTVIEW_Create processing.
- Ignore WS_VSCROLL/WS_HSCROLL flags in infoPtr->dwStyle because they're
  not always up-to-date.
- Use correct dialog title for Wizard 97 and correctly display header
  bitmap for old-style Wizard 97.
- Fix TOOLBAR_DrawMasked to correctly use image list mask.
Eric Kohl <eric.kohl@t-online.de>
- Move watermark and header bitmap loading code from
  PROPSHEET_CreatePage into its own function PROPSHEET_LoadWizardBitmaps
  and call this function from property sheet's dialog procedure.
Thomas Weidenmueller <w3seek@reactos.com>
- Correct tooltips behavior.

svn path=/trunk/; revision=10532
2004-08-14 19:12:35 +00:00
Steven Edwards
0b6388b665 Update the README.WINE. It now contains a list of almost
everything we share with Wine. Needs updates and
corrections.

svn path=/trunk/; revision=10531
2004-08-14 16:00:23 +00:00
Hartmut Birr
6657310a77 - Fixed the definition of X86_CR4_PGE.
svn path=/trunk/; revision=10530
2004-08-14 15:17:09 +00:00
Thomas Bluemel
e3e1c39945 a few fixes.
I'm not going to continue working on this due to a lack of knowledge of the security api, so someone else who knows a bit more about them should step in...

svn path=/trunk/; revision=10529
2004-08-14 11:50:25 +00:00
Thomas Bluemel
d07b810759 implemented GI_EnableMouseTracking()
svn path=/trunk/; revision=10528
2004-08-14 10:47:19 +00:00
Filip Navara
108e98c65d - Remove the now unused .edf file.
svn path=/trunk/; revision=10527
2004-08-14 10:23:11 +00:00
Filip Navara
51f265db45 - Forward everything everything we can to MSVCRT and WS2_32.
svn path=/trunk/; revision=10526
2004-08-14 10:22:10 +00:00
Hartmut Birr
ba5235cc90 - Enabled global pages if it is possible.
- Put the kernel map onto a fixed location and establish a page table
  for the first 4MB in the very early boot process.
- Disable the mapping for the page table pages within the bss section.

svn path=/trunk/; revision=10525
2004-08-14 09:17:05 +00:00
Filip Navara
ca1a1af64c - Implementation of GI_message_box.
svn path=/trunk/; revision=10524
2004-08-14 07:15:05 +00:00
Thomas Bluemel
9bab45b05a fixed a few parameters
svn path=/trunk/; revision=10523
2004-08-14 01:03:38 +00:00
Thomas Bluemel
62e97aca3c convert license to LGPL
svn path=/trunk/; revision=10522
2004-08-14 00:50:27 +00:00
Alex Ionescu
1301082015 *CORRECT* version of Defintion file.
svn path=/trunk/; revision=10521
2004-08-14 00:47:33 +00:00
Thomas Bluemel
c90dfac1f8 implementation of __libc_init_memory()
svn path=/trunk/; revision=10520
2004-08-14 00:39:19 +00:00
Alex Ionescu
067e284424 Removed duplicate entries.
svn path=/trunk/; revision=10519
2004-08-14 00:35:09 +00:00
Steven Edwards
e2ebe8412b build with w32api
svn path=/trunk/; revision=10518
2004-08-13 23:31:36 +00:00
Filip Navara
b5ba0a23cf - SkyOS menu functions implementation.
svn path=/trunk/; revision=10517
2004-08-13 20:14:40 +00:00
Filip Navara
74718af76f - Fix GC_destroy for window DCs.
svn path=/trunk/; revision=10516
2004-08-13 17:10:22 +00:00
Thomas Bluemel
0d2d58122c implemented a few window placement functions and more checks for NULL-pointers
svn path=/trunk/; revision=10515
2004-08-13 12:29:19 +00:00
Thomas Bluemel
4d50bed0ad Patch by Filip: Implemented some graphics functions and bugfixes to the windowing functions.
svn path=/trunk/; revision=10514
2004-08-13 11:24:07 +00:00
Richard Campbell
6b30f2a9ed added urlmon to the source tree, doesn't compile due to COM interface issues that i'm not quite interesting in trying to solve at the moment...if someone feels like taking a crack at it, go ahead, firefox needs this dll to be functional. This is from the latest wine CVS.
svn path=/trunk/; revision=10513
2004-08-13 06:14:48 +00:00
Richard Campbell
8063cf6601 added a few stubs to help get urlmon from the wine source tree to compile, there are still a few things left to do before i can bring in URLMon however.
svn path=/trunk/; revision=10512
2004-08-13 05:44:55 +00:00
Alex Ionescu
08fcd22543 Updated EDF file with new stubs in alphabetical order and synched EDF and DEF file.
svn path=/trunk/; revision=10511
2004-08-13 05:06:18 +00:00
Alex Ionescu
760cc9dbc7 Added Dbg Stubs and moved old ones to correct header and files.
svn path=/trunk/; revision=10510
2004-08-13 05:00:35 +00:00
Thomas Bluemel
cd550a1f78 dispatch MSG_QUIT and MSG_GUI_REDRAW messages. Thanks also to Filip.
svn path=/trunk/; revision=10509
2004-08-12 23:38:17 +00:00
Thomas Bluemel
a7d6dcd7c1 started an interface to emulate the skygi windowing but actually use win32 apis
svn path=/trunk/; revision=10508
2004-08-12 19:27:12 +00:00
Alex Ionescu
81ace77431 Added two stubs.
svn path=/trunk/; revision=10507
2004-08-12 16:43:37 +00:00
Alex Ionescu
28ad49e6f7 I/O Manager fixes. Patch by Filip Navara.
svn path=/trunk/; revision=10506
2004-08-12 16:43:12 +00:00
Thomas Bluemel
78f66ec97c an attempt to partially implement ctor_dtor_initialize() and a few more libskygi stubs
svn path=/trunk/; revision=10505
2004-08-12 15:41:36 +00:00
Alex Ionescu
7cf25ed92f Set the thread to the Allocated IRPs created by Io/Nt Query functions that didn't do this. This can cause problems if the thread is ever read on a completed request.
svn path=/trunk/; revision=10504
2004-08-12 06:15:50 +00:00
Alex Ionescu
359fe88806 Fixed/Added Stubs.
Implemented PsRevertThreadToSelf

svn path=/trunk/; revision=10503
2004-08-12 06:04:21 +00:00
Art Yerkes
e9fc7ea7df According to alex_ionescu, callers of IoAllocateIrp should set the
Tail.Overlay.Thread member themselves in the new Irp.  These calls
to IoAllocateIrp were not followed by setting the thread.

svn path=/trunk/; revision=10502
2004-08-12 05:59:25 +00:00
Thomas Bluemel
7dd153e40e Steven Edwards wanted me to commit this.
This adds a vew basic stubs of the SkyOS libraries libsky and libskygi. This actually was an experiment if SkyOS apps run in ReactOS/Win/WINE. It gets a slightly patched (only the optional PE header needs to be set to the right subsys code) version of TicTacToe released in the SkyOS forums. It doesn't crash but also doesn't work yet of course, but it successfully launches and calls the functions as you can see in the debug output.

svn path=/trunk/; revision=10501
2004-08-12 02:50:35 +00:00
James Tabor
cb9fb81c44 Added Lock and Heap Info struc's.
svn path=/trunk/; revision=10500
2004-08-11 21:03:11 +00:00
James Tabor
4e8265f044 Module Library supported now. There is a bug with scanning winlogon that causes a exception. The version.dll data is worng.
svn path=/trunk/; revision=10499
2004-08-11 21:02:12 +00:00
Thomas Bluemel
5d4aa40ac6 Krishna Murthy <Krishna.Murthy@guptaworldwide.com>
Replaced LISTBOX_SetCaretIndex() with LISTBOX_MoveCaret() in
LB_SELECTSTRING handler so that the caret moves to the index and item
is highlighted.

svn path=/trunk/; revision=10498
2004-08-11 10:37:06 +00:00
Eric Kohl
6f267c1f3c Add RtlFormatMessage stub.
svn path=/trunk/; revision=10497
2004-08-11 09:30:23 +00:00
Thomas Bluemel
86f612b5f1 pass LUIDs to RosEnableThreadPrivileges()
svn path=/trunk/; revision=10496
2004-08-11 08:48:20 +00:00
Thomas Bluemel
2f6a9da97d little fix
svn path=/trunk/; revision=10495
2004-08-11 08:32:48 +00:00
Thomas Bluemel
05d68bd490 added RosEnableThreadPrivileges() and RosResetThreadPrivileges() helper functions for easier thread privilege management
svn path=/trunk/; revision=10494
2004-08-11 08:28:13 +00:00
James Tabor
486bb2502f Replaced RtlAllocateHeap with NtAllocateVirtualMemory.
svn path=/trunk/; revision=10493
2004-08-11 03:48:31 +00:00
Thomas Bluemel
ca0c109cec Implemented CreateSecurityPage() to create an empty property sheet.
svn path=/trunk/; revision=10492
2004-08-11 01:21:53 +00:00
Gé van Geldorp
446f5adc02 Fix RtlEqualLuid()
svn path=/trunk/; revision=10491
2004-08-10 23:26:39 +00:00
Gé van Geldorp
794fe5ff6a Allocate new LUID for each logon session
svn path=/trunk/; revision=10490
2004-08-10 21:18:16 +00:00
Gé van Geldorp
78a5367c1d Copy AuthenticationId from existing token when duplicating a token
svn path=/trunk/; revision=10489
2004-08-10 21:11:20 +00:00
Gé van Geldorp
39bfabb1d4 Change debugging statement
svn path=/trunk/; revision=10488
2004-08-10 20:30:35 +00:00
Gé van Geldorp
a696f85479 Implement TokenOrigin class for GetTokenInformation
svn path=/trunk/; revision=10487
2004-08-10 20:13:42 +00:00
Hartmut Birr
03d66eb75a - Fixed the calculation of used non paged pool pages in grow_block.
svn path=/trunk/; revision=10486
2004-08-10 20:00:49 +00:00
Hartmut Birr
2a373c783c - Returned more of the protection bits in MmGetPageProtect.
- Ignore the PAGE_SYSTEM attribute and set the user bit according to the
  given address in MmSetPageProtect and MmCreateVirtualMappingUnsafe.
- Don't change the accessed and dirty bit in MmSetPageProtect.

svn path=/trunk/; revision=10485
2004-08-10 19:57:58 +00:00
Hartmut Birr
a91173016c - Replaced MmGetPageEntry with MmGetPageProtect/MmSetPageProtect in KdbOverwriteInst.
svn path=/trunk/; revision=10484
2004-08-10 19:49:25 +00:00
Eric Kohl
bc751c87d7 Minor fix
svn path=/trunk/; revision=10483
2004-08-10 19:12:40 +00:00
Thomas Bluemel
ffdafcd0c4 Dmitry Timoshkov <dmitry@codeweavers.com>
Fix button behaviour on WM_SETFOCUS/WM_KILLFOCUS with a test case.

svn path=/trunk/; revision=10482
2004-08-10 19:09:37 +00:00
Thomas Bluemel
d0d5ed5109 added aclui.dll to the bootcd
svn path=/trunk/; revision=10481
2004-08-10 17:10:57 +00:00
Thomas Bluemel
8dac27ed6f fixed typo spotted by Royce.
svn path=/trunk/; revision=10480
2004-08-10 16:21:27 +00:00
Thomas Bluemel
7c8662b9af added aclui.dll to the automatic build
svn path=/trunk/; revision=10479
2004-08-10 15:49:55 +00:00
Thomas Bluemel
8fa77f76c9 implemented EditSecurity()
svn path=/trunk/; revision=10478
2004-08-10 15:47:54 +00:00
Thomas Bluemel
87a27e883c little fix
svn path=/trunk/; revision=10477
2004-08-10 15:21:27 +00:00
Filip Navara
29d654749b - Remove forgotten temporary debug message.
svn path=/trunk/; revision=10476
2004-08-10 15:09:14 +00:00
Thomas Bluemel
7a93d2f239 stop animation timer after completion
svn path=/trunk/; revision=10475
2004-08-10 15:08:05 +00:00
Thomas Bluemel
e1c935fafd improved the installation process
svn path=/trunk/; revision=10474
2004-08-10 15:00:22 +00:00
Eric Kohl
e9533d09c4 Sort Rtl* functions.
svn path=/trunk/; revision=10473
2004-08-10 12:07:11 +00:00
Eric Kohl
8f674bc02f Move bitmap functions to the shared rtl library.
svn path=/trunk/; revision=10472
2004-08-10 12:05:20 +00:00
Thomas Bluemel
bfa54c3f9a include the right files
svn path=/trunk/; revision=10471
2004-08-10 12:00:55 +00:00
Eric Kohl
f3320ad230 Move bitmap functions to the shared rtl library.
Implement RtlClearBit, RtlSetBit and RtlTestBit.

svn path=/trunk/; revision=10470
2004-08-10 12:00:09 +00:00
Thomas Bluemel
c4b330cce6 split up headers
svn path=/trunk/; revision=10469
2004-08-10 11:54:43 +00:00
Thomas Bluemel
3a88fe367b Added a few helper functions for easier usage of strings in resources
svn path=/trunk/; revision=10468
2004-08-10 10:57:54 +00:00
Filip Navara
5775259453 - Fixed lots of bugs in NTFS code and added correct update sequence
fixups handling and untested NTFS 3+ sparse file support.

svn path=/trunk/; revision=10467
2004-08-10 09:28:56 +00:00
Emanuele Aliberti
99e5dd3e01 Fixed typographical error.
svn path=/trunk/; revision=10466
2004-08-10 07:25:49 +00:00
Alex Ionescu
5317d303e8 Small fixes to I/O Manager and Implemented IoMakeAssociatedIrp. Parts by Filip Navara.
svn path=/trunk/; revision=10465
2004-08-10 06:26:42 +00:00
Filip Navara
2199f89e4d Fix compiler warnings.
svn path=/trunk/; revision=10464
2004-08-10 01:49:37 +00:00
Thomas Bluemel
757eac9cfb fixed file headers
svn path=/trunk/; revision=10463
2004-08-10 00:12:31 +00:00
Thomas Bluemel
a201e6c460 added stubs for aclui.dll
svn path=/trunk/; revision=10462
2004-08-10 00:09:40 +00:00
Thomas Bluemel
692929e156 added header for aclui.dll
svn path=/trunk/; revision=10461
2004-08-09 23:29:06 +00:00
Gé van Geldorp
0f07e3b53f NtOpenThread should look at the CIDs UniqueThread member only, not at
UniqueProcess. Makes OpenThread() work.

svn path=/trunk/; revision=10460
2004-08-09 22:15:01 +00:00
James Tabor
d81fcdb79e Mostly implemented, Listdlls half way works now.
svn path=/trunk/; revision=10459
2004-08-09 19:55:33 +00:00
James Tabor
082128c460 Adding missing structures for Debug information.
svn path=/trunk/; revision=10458
2004-08-09 19:41:13 +00:00
Gé van Geldorp
354bc795aa Undo test change
svn path=/trunk/; revision=10457
2004-08-09 18:28:28 +00:00
Gé van Geldorp
6e83a89501 Test log_accum.pl
svn path=/trunk/; revision=10456
2004-08-09 18:26:26 +00:00
James Tabor
0b8a58aaa9 Added Debug Buffer Information. Testing with SysInternals.com listdlls.exe.
svn path=/trunk/; revision=10455
2004-08-09 18:17:23 +00:00
Gé van Geldorp
08707afede Add internal flags for ExitWindowsEx()
svn path=/trunk/; revision=10454
2004-08-09 17:54:56 +00:00
Thomas Bluemel
94efe6c3c1 implemented a couple of Hid device functions
svn path=/trunk/; revision=10453
2004-08-09 16:02:43 +00:00
Filip Navara
a17d473fa8 Update porting status for COMCTL32.
svn path=/trunk/; revision=10452
2004-08-09 15:42:04 +00:00
Filip Navara
7949648a6f Thomas Weidenm�ller <w3seek@reactos.org>
Implemented syslink control.

svn path=/trunk/; revision=10451
2004-08-09 15:35:58 +00:00
Filip Navara
1a31bc2b07 Definitions for SysLink control.
svn path=/trunk/; revision=10450
2004-08-09 15:34:50 +00:00
Filip Navara
8aa4fdb954 Marcus Meissner <marcus@jet.franken.de>
Implemented PSM_INDEXTOHWND.

svn path=/trunk/; revision=10449
2004-08-09 15:22:28 +00:00
Filip Navara
87c79ea203 Filip Navara <xnavara@volny.cz>
- Properly calculate caption length when converting multi-byte string
  to wide character one.
- Wizard contents shouldn't be moved by the size of watermark bitmap.
- Fix PSH_WIZARD97_[NEW/OLD] checks.
- Blit the watermark even if PSH_USEHBMWATERMARK flag isn't set and
  blit only the part that fits into the dialog.

svn path=/trunk/; revision=10448
2004-08-09 15:21:57 +00:00
Filip Navara
85be46acc4 Define PBS_MARQUEE and PBM_SETMARQUEE.
svn path=/trunk/; revision=10447
2004-08-09 15:15:20 +00:00
Filip Navara
0b219a650f Filip Navara <xnavara@volny.cz>
Use system metrics values in TOOLBAR_DrawPattern instead of hardcoded
values.

svn path=/trunk/; revision=10446
2004-08-09 15:12:24 +00:00
Filip Navara
a8f3fd698d Thomas Weidenmueller <wine-patches@reactsoft.com>
Added support for PBS_MARQUEE style.

svn path=/trunk/; revision=10445
2004-08-09 15:09:17 +00:00
Filip Navara
4b8b200e80 Dmitry Timoshkov <dmitry@codeweavers.com>
Create toolbar with a not zero default size, it allows applications
which check toolbar size before adding buttons to it work.

svn path=/trunk/; revision=10444
2004-08-09 15:08:23 +00:00
Filip Navara
5152995d4e Filip Navara <xnavara@volny.cz>
Fix CreateMappedBitmap for palette-less bitmaps.

svn path=/trunk/; revision=10443
2004-08-09 15:08:00 +00:00
Filip Navara
d6e606d1b2 Henning Gerhardt <henning.gerhardt@web.de>
Minor fixes and updates to the German resource files.

svn path=/trunk/; revision=10442
2004-08-09 15:07:37 +00:00
Eric Kohl
7bd374681e Sort Zw* functions
svn path=/trunk/; revision=10441
2004-08-09 11:18:08 +00:00
Alex Ionescu
52279b1490 Rundown Protection Implementation. Implemented ExAcquireRundownProtection, ExAcquireRundownProtectionEx, ExInitializeRundownProtection, ExReInitializeRundownProtection, ExReleaseRundownProtection, ExReleaseRundownProtectionEx, ExRundownCompleted, ExWaitForRundownProtectionRelease
svn path=/trunk/; revision=10440
2004-08-09 01:26:10 +00:00
Art Yerkes
846acbcf70 Added a (C) notice.
svn path=/trunk/; revision=10439
2004-08-08 22:07:06 +00:00
Gé van Geldorp
30417399c0 Sync to Wine-20040716
svn path=/trunk/; revision=10438
2004-08-08 21:50:40 +00:00
Art Yerkes
3ffa79d49a Simple preprocessor for converting try ... except to our pseh-style exception
handling.  Should allow us to use source files from open source drivers that
compile with msvc given some care.  Not a complete solution but it eliminates
the most tedious part of the job.

svn path=/trunk/; revision=10437
2004-08-08 21:40:09 +00:00
Gé van Geldorp
c953f01971 Sync to Wine-20040716:
Henning Gerhardt <henning.gerhardt@web.de>
- More German translations.
Hajime Segawa <winetips@sidenet.ddo.jp>
- Added some Japanese translations.
Dimitrie O. Paun <dpaun@rogers.com>
- Lookup driver information in registry and system.ini.
- Make the code inspect the registry/system.ini at call time, rather
  then initialization time.
- Code cleanups.

svn path=/trunk/; revision=10435
2004-08-08 21:36:20 +00:00
Gé van Geldorp
760a5fbb46 Sync to Wine-20040716:
Mike McCormack <mike@codeweavers.com>
- Fix memory allocation problems.
Marcus Meissner <marcus@jet.franken.de>
- Do not assign to casted values.
Alexandre Julliard
- Implemented GetUIVersion (based on a patch by Stefan Leichter).
Stefan Leichter <Stefan.Leichter@camLine.com>
- Removed the crosscalls (unicode to ascii) from GetAcceptLanguagesW.
- Removed todo_wine from GetAcceptLanguagesA tests.
- Added tests for GetAcceptLanguagesA.
Henning Gerhardt <henning.gerhardt@web.de>
- Translated some English resource files into German.
Hajime Segawa <winetips@sidenet.ddo.jp>
- Added some Japanese translations.

svn path=/trunk/; revision=10434
2004-08-08 21:15:48 +00:00
Gé van Geldorp
9811098a69 Sync to Wine-20040716:
Mike Hearn <mh@codeweavers.com>
- Don't ERR on a used connection being destroyed.
- Don't print an extra newline in the olerelay code.
- Remove the RPC connection cache as Windows does not allow multiple
  binds on the same connection.
- Correct connection releases on error path in RPCRT4_OpenBinding.

svn path=/trunk/; revision=10433
2004-08-08 21:07:12 +00:00
Gé van Geldorp
0bc264aea8 Sync to Wine-20040716:
Henning Gerhardt <henning.gerhardt@web.de>
- Translated some English resource files into German.
- More German translations.
Hajime Segawa <winetips@sidenet.ddo.jp>
- Added some Japanese translations.

svn path=/trunk/; revision=10432
2004-08-08 20:49:55 +00:00
Gé van Geldorp
d0bf3394ea Sync to Wine-20040716:
Mike McCormack <mike@codeweavers.com>
- Fix a few serious race conditions in the OLE object pipe server.
- Add some explanations to compobj.c, implement flushing message queue
  on shutdown.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Marcus Meissner <marcus@jet.franken.de>
- IMalloc vtables are static.
- IID_IObjectWithSite is already in libuuid, no need to declare here.
Aric Stewart <aric@codeweavers.com>
- Return an error in CoMarshalInterface if the IUnknown pointer is NULL
  and don't crash.
Ivan Leo Puoti <puoti@inwind.it>
- Removed the winedefault.reg message.
Robert Shearman <rob@codeweavers.com>
- Add static to non-exported marshal functions.
- Remove unused marshal functions.
- Rename several RPC functions.

svn path=/trunk/; revision=10431
2004-08-08 20:42:47 +00:00
Gé van Geldorp
66219a7d31 Sync to Wine-20040716:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- HeapAlloc for WSTR must allocate len* sizeof(WCHARS).
Henning Gerhardt <henning.gerhardt@web.de>
- Translated some English resource files into German.
JosT Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Added Spanish translation.
Hajime Segawa <winetips@sidenet.ddo.jp>
- Added some Japanese translations.

svn path=/trunk/; revision=10430
2004-08-08 20:33:39 +00:00
Alex Ionescu
9fa7984747 Initial Support for Quota Pool Allocations.
Implemented ExAllocatePoolWithQuota, ExAllocatePoolWithQuotaTag, PsChargePoolQuota, PsChargeProcessNonPagedPoolQuota, PsChargeProcessPagedPoolQuota, PsChargeProcessPoolQuota.
Also implemented a basic ExAllocatePoolWithTagPriority, but needs Special Pool support for Driver Verifier functionality. The allocation works however.

svn path=/trunk/; revision=10429
2004-08-08 20:33:17 +00:00
Gé van Geldorp
823ef8a298 Set explicit base address for notifyhook.dll so it won't get relocated
svn path=/trunk/; revision=10428
2004-08-08 20:26:43 +00:00
Gé van Geldorp
28676c56c8 Sync to Wine-20040716:
Krishna Murthy <Krishna.Murthy@guptaworldwide.com>
- Add the selected extension from file type filter if file name does not
  contain the file extension.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Fix control coordinates in German and French versions of open file
  dialog.
- Remove duplicate control ids in Catalan, Russian and Ukrainian
  dialogs.
James Hawkins <truiken@gmail.com>
- Fixed collate icon behavior.
- Check for empty PrinterName in PRINTDLG_WMCommandW.

svn path=/trunk/; revision=10427
2004-08-08 20:15:06 +00:00
Gé van Geldorp
1c0c11dcb3 Sync to Wine-20040716:
Mike McCormack <mike@codeweavers.com>
- Create a tooltip on demand in the Listview.
Robert Shearman <rob@codeweavers.com>
- Implemented PSM_HWNDTOINDEX.
- Add stubs for some new property sheet messages.
- Clean up the mask drawing code.
- Improve bitmap not found message.
- Start of balloon tip support.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Don't crash on NULL tab text.
Filip Navara <xnavara@volny.cz>
- Make the pattern drawing in TOOLBAR_DrawPattern look better.

svn path=/trunk/; revision=10425
2004-08-08 20:04:00 +00:00
Gé van Geldorp
a4617084d5 Add some property sheet messages
svn path=/trunk/; revision=10424
2004-08-08 20:02:57 +00:00
Martin Fuchs
09528fb211 german translation of task manager by Klemens Friedl <frik85@hotmail.com>
svn path=/trunk/; revision=10423
2004-08-08 19:16:10 +00:00
Martin Fuchs
4e20a1b256 german translation of welcome.exe by Klemens Friedl <frik85@hotmail.com>
svn path=/trunk/; revision=10422
2004-08-08 19:15:57 +00:00
James Tabor
3c977fea43 Fixed warning messages ans set -Werror in make file.
svn path=/trunk/; revision=10421
2004-08-08 18:46:25 +00:00
Alex Ionescu
32b533c632 Allow alternate SEH construct. Patch by Art Yerkes.
svn path=/trunk/; revision=10420
2004-08-08 18:26:47 +00:00
Thomas Bluemel
a2b32fbcd6 serialize gui switching and switching the focus message queue
svn path=/trunk/; revision=10419
2004-08-08 17:57:34 +00:00
Jens Collin
35b0435a15 Partial merge with wine-code. Solves BZ#230. Executing text-doc from start-Run. Same change sent to wine-patches
svn path=/trunk/; revision=10418
2004-08-08 16:04:00 +00:00
Jens Collin
82cdbd3a97 notepad takes input filename as parameter %1.
svn path=/trunk/; revision=10417
2004-08-08 16:01:07 +00:00
Filip Navara
287525992a - Fix section object dereferencing in NtCreateSection.
svn path=/trunk/; revision=10416
2004-08-08 10:46:20 +00:00
Steven Edwards
6ba86d77fa Added advapi32 test for the registry.
svn path=/trunk/; revision=10415
2004-08-07 22:51:27 +00:00
Steven Edwards
a730cae54d Added vmwinst and imagehlp to the bootcd
(imagehlp allows openoffice setup to work)

svn path=/trunk/; revision=10414
2004-08-07 22:26:00 +00:00
Steven Edwards
7fe2c42738 When doing a debug boot pass /NOGUIBOOT to disable the
splash screen so we can see the /DEBUGPORT=SCREEN
output.

svn path=/trunk/; revision=10413
2004-08-07 20:26:41 +00:00
Filip Navara
e0449489e5 - Faster dependency system.
svn path=/trunk/; revision=10412
2004-08-07 20:23:33 +00:00
Alex Ionescu
cd351f4dc9 Tagged certain functions that were exported both under NT and ROS, but not marked as un/implemented.
svn path=/trunk/; revision=10411
2004-08-07 19:13:27 +00:00
Alex Ionescu
730a1f48e2 Added shared RTL functions to appear in ntoskrnl exports (Since they are in fact exported by ntoskrnl)
svn path=/trunk/; revision=10410
2004-08-07 06:48:49 +00:00
Steven Edwards
592b1ab19b Renamed /DEBUGPORT=FILELOG to
/DEBUGPORT=BOOTLOG to be compatbile with Windows.

svn path=/trunk/; revision=10409
2004-08-07 03:41:31 +00:00
Filip Navara
312d818b93 - Correctly handle ClipCursor(NULL) case.
svn path=/trunk/; revision=10408
2004-08-07 00:25:10 +00:00
Gero Kuehn
17fbcf5e93 added display properties skeleton
svn path=/trunk/; revision=10407
2004-08-07 00:05:23 +00:00
Filip Navara
956358275c - Move code from NtCreateSection to MmCreateSection and adjust it.
- Use MmCreateSection instead of NtCreateSection where possible.

svn path=/trunk/; revision=10406
2004-08-05 19:59:13 +00:00
Alex Ionescu
054fcf9a85 Fixed Names.
svn path=/trunk/; revision=10405
2004-08-05 19:03:24 +00:00
Alex Ionescu
3c1d312107 Added RTL Stubs, Prototypes and Exports.
svn path=/trunk/; revision=10404
2004-08-05 18:17:37 +00:00
Emanuele Aliberti
172a11d61b Report "access denied" errors.
svn path=/trunk/; revision=10403
2004-08-05 12:11:49 +00:00
James Tabor
b1a51402e2 Update query thread times.
svn path=/trunk/; revision=10402
2004-08-05 11:38:01 +00:00
Filip Navara
68a3b15468 - Separate out cluster chain extending functionality from GetNextCluster to GetNextClusterExtend.
- Fix a typo in VfatHasFileSystem.

svn path=/trunk/; revision=10401
2004-08-05 02:48:18 +00:00
Thomas Bluemel
0004f90a07 Reverted my changes to timers
svn path=/trunk/; revision=10400
2004-08-04 22:31:17 +00:00
Martin Fuchs
f34c1d586a fix clean target for new standard makefiles
svn path=/trunk/; revision=10399
2004-08-04 21:42:33 +00:00
Magnus Olsen
f3f6e3172f notifyhook.dll are not in subsys/system/explore mapp it is in subsys/system/explore/notifyhook/ mapp
I did only corrrect the path so make bootcd works agein

svn path=/trunk/; revision=10397
2004-08-04 21:36:28 +00:00
Magnus Olsen
bfa88618a8 Thx to Herv� Poussineau the gcc 3.3.x are working agein
poussine@freesurf.fr

svn path=/trunk/; revision=10396
2004-08-04 19:53:27 +00:00
Filip Navara
f167814f32 - Remove completion routine for VfatReadDisk. IRPs build with IoBuildSynchronousFsdRequest mustn't be freed by IoFreeIrp, because they're still associated with a thread.
- Don't call IoBuildAsynchronousFsdRequest with NULL buffer for read/write requests. It's explicitly prohibited per DDK documentation and causes crashes on Windows (R) NT systems.

svn path=/trunk/; revision=10395
2004-08-04 19:40:45 +00:00
Filip Navara
8db63af2d6 - Correct a comment.
svn path=/trunk/; revision=10394
2004-08-04 18:27:21 +00:00
Filip Navara
0bde909135 - Fix compiling Explorer with precompiled headers.
svn path=/trunk/; revision=10393
2004-08-04 18:22:41 +00:00
Filip Navara
c4811617d1 - Don't allow selecting separators in start menu and avoid nasty refreshing when moving mouse above the left ReactOS Logo bar.
svn path=/trunk/; revision=10392
2004-08-04 18:19:01 +00:00
Emanuele Aliberti
bde15621e5 Register the LPC Port object object in the system name space.
svn path=/trunk/; revision=10390
2004-08-04 12:50:42 +00:00
Eric Kohl
3faddac950 Add missing functions to the .def and .edf files and sort existing entries.
svn path=/trunk/; revision=10389
2004-08-04 12:11:45 +00:00
Alex Ionescu
c23f194bf6 Fix Compiler warning with -O2
svn path=/trunk/; revision=10388
2004-08-04 02:36:53 +00:00
Filip Navara
08f1890738 - Change -fno-strict-aliasing to -Wno-strict-aliasing for optimized builds.
svn path=/trunk/; revision=10387
2004-08-04 02:27:07 +00:00
Filip Navara
f9ee38ed2b - Fix setting of GDT and IDT pointers in KPCR.
svn path=/trunk/; revision=10386
2004-08-04 02:24:40 +00:00
Alex Ionescu
47b5abbd99 Fix Compiler warning with -O2
svn path=/trunk/; revision=10385
2004-08-04 00:45:36 +00:00
Filip Navara
1740e56356 - Destroy associated listview when IShellView is destroyed.
svn path=/trunk/; revision=10384
2004-08-04 00:23:28 +00:00
Filip Navara
a5154371b4 - Use NDIS_DbgPrint instead of DbgPrint for NDIS buffer messages.
svn path=/trunk/; revision=10383
2004-08-04 00:19:11 +00:00
Alex Ionescu
2aa9311ef8 Fix Compiler warning with -O2
svn path=/trunk/; revision=10382
2004-08-04 00:18:01 +00:00
Filip Navara
0cff98313c - Disable debug messages of floppy driver.
svn path=/trunk/; revision=10381
2004-08-04 00:17:49 +00:00
Filip Navara
ba0ae4ebaf - Don't print stack frames in NtContinue if NDEBUG is defined.
svn path=/trunk/; revision=10380
2004-08-04 00:17:14 +00:00
Martin Fuchs
d9f7a83889 move doxygen targets into separate scripts
svn path=/trunk/; revision=10379
2004-08-03 20:05:02 +00:00
Martin Fuchs
49c4d2b4f2 move doxygen targets to separate scripts
svn path=/trunk/; revision=10378
2004-08-03 20:04:49 +00:00
Gregor Anich
57da2ced76 Implement NtUserEnumDisplaySettings/IntEnumDisplaySettings.
svn path=/trunk/; revision=10377
2004-08-03 19:55:58 +00:00
Martin Fuchs
16904f000e readd additional non-standard Makefile targets
svn path=/trunk/; revision=10376
2004-08-03 19:53:03 +00:00
Martin Fuchs
e092a67cea add .cvsignore files for *.o and *.d
svn path=/trunk/; revision=10375
2004-08-03 19:48:00 +00:00
Martin Fuchs
08cf5682c3 get version number to display from RES_STR_PRODUCT_VERSION
svn path=/trunk/; revision=10374
2004-08-03 19:43:45 +00:00
Martin Fuchs
22147c5757 get version number to display from RES_STR_PRODUCT_VERSION
svn path=/trunk/; revision=10372
2004-08-03 19:43:45 +00:00
Alex Ionescu
c5a9f20753 Added Se Stubs, Prototypes and Exports.
svn path=/trunk/; revision=10370
2004-08-03 19:20:39 +00:00
Filip Navara
01767fb5d8 - Execute the implib rule for system applications.
svn path=/trunk/; revision=10369
2004-08-03 14:50:56 +00:00
Eric Kohl
48ff8c0e48 Add wizard watermark and header bitmaps.
svn path=/trunk/; revision=10368
2004-08-03 14:10:49 +00:00
Eric Kohl
f0d259c7bc SeAssignSecurity():
- Inherit SACL.
- Make sure SIDs and ACLs are 4 byte aligned.

svn path=/trunk/; revision=10367
2004-08-03 13:58:56 +00:00
Eric Kohl
437de0500e - Use 'MS Shell Dlg' font in all dialogs.
- Fix some typos in german dialogs.
- Add locale page dialog.
- Store owner name, owner organization and computer name in the registry.

svn path=/trunk/; revision=10366
2004-08-03 13:43:00 +00:00
Martin Fuchs
62d46e8d85 correct TARGET_PCH to 'precomp.h'
svn path=/trunk/; revision=10365
2004-08-02 20:55:26 +00:00
Martin Fuchs
932a73bfc2 context menus for start menus
svn path=/trunk/; revision=10364
2004-08-02 20:00:56 +00:00
Martin Fuchs
62f1a2a671 context menus for qick launch bar
svn path=/trunk/; revision=10363
2004-08-02 19:16:18 +00:00
Filip Navara
efb2135435 - Add TARGET_PCH to Explorer makefile.
- Delete only the one used .pch file and not *.pch in helper.mk.

svn path=/trunk/; revision=10362
2004-08-02 15:51:23 +00:00
Filip Navara
3639da0250 - Use __KeStallExecutionProcessor instead of plain loop in HalCalibratePerformanceCounter since __KeStallExecutionProcessor is safe even for optimized builds.
svn path=/trunk/; revision=10361
2004-08-02 15:09:22 +00:00
Gregor Anich
64a312d97d If initializing the desktop implementation fails, print "Failed to initialize desktop implementation!", not "Failed to initialize window station implementation!"
svn path=/trunk/; revision=10360
2004-08-02 15:07:26 +00:00
Filip Navara
0eb15adf43 - Ignore msacm32.spec.def and Makefile.ros.
svn path=/trunk/; revision=10359
2004-08-02 15:07:09 +00:00
Filip Navara
7193e1d360 - Delete ntoskrnl/ps/i386/*.o on "make clean".
- Standardize Explorer makefile.
- Remove obsolete WINE_MODE and WINE_RC handling from helper.mk.

svn path=/trunk/; revision=10358
2004-08-02 15:04:24 +00:00
Filip Navara
16ac657bde - Fix building of MidiMap and WaveMap audio drivers.
svn path=/trunk/; revision=10357
2004-08-02 14:58:59 +00:00
Martin Fuchs
da6bb56348 update binres tools and fix renaming bug
svn path=/trunk/; revision=10356
2004-08-02 07:59:38 +00:00
Filip Navara
5efcf7ad5c - Remove build generated files from CVS.
svn path=/trunk/; revision=10355
2004-08-02 03:12:04 +00:00
Filip Navara
d6ee3ac209 - Use #include <xxx> for system include files instead of #include "xxx".
svn path=/trunk/; revision=10354
2004-08-02 03:07:36 +00:00
Filip Navara
c7dda4d8da - Remove msvfw32.spec.def as *.spec.def files are generated during the build.
svn path=/trunk/; revision=10353
2004-08-02 03:04:40 +00:00
Filip Navara
aa682a95e1 - Remove #include directives surrounded by #ifndef __REACTOS__.
svn path=/trunk/; revision=10352
2004-08-02 03:03:10 +00:00
Filip Navara
b80f0e34e1 - Remove unused makefiles.
svn path=/trunk/; revision=10351
2004-08-02 03:01:50 +00:00
Filip Navara
cb394360c0 - Get rid of WINE_MODE and WINE_RC usage in makefiles.
svn path=/trunk/; revision=10350
2004-08-02 02:55:08 +00:00
Filip Navara
3c76881837 - Add definition of _tmakepath.
svn path=/trunk/; revision=10349
2004-08-02 02:52:31 +00:00
Filip Navara
39799e45c9 - Make sure all build files and directories are properly deleted on "make clean".
svn path=/trunk/; revision=10348
2004-08-01 23:27:56 +00:00
Filip Navara
03578741a9 - Add *.pch to list of ignored files.
svn path=/trunk/; revision=10347
2004-08-01 22:02:30 +00:00
Filip Navara
a0198bed0d - Ignore all .ico files.
svn path=/trunk/; revision=10346
2004-08-01 22:00:33 +00:00
Filip Navara
4b0c6682d0 - Replace some usages of KEBUGCHECK(0) with correct bug check codes.
svn path=/trunk/; revision=10345
2004-08-01 21:57:35 +00:00
Filip Navara
a9f6cf2b6c - Change all FAT*FindAvailableCluster functions to new functions
FAT*FindAndMarkAvailableCluster which have incorporated the setting of
  EOF marker in the File Allocation Table for the returned cluster.

- Rewritten FAT32CountAvailableClusters, FAT32FindAndMarkAvailableCluster,
  FAT16CountAvailableClusters and FAT16FindAndMarkAvailableCluster for
  better performance. These functions were using one big loop for traversing
  the FAT and had a block of code in the loop for requesting cache manger
  for next chunk of FAT *if necessary* (which commonly wasn't the case).
  Now it's changed to request always a whole FAT chunk and process it at once
  in a nested loop.

- Cache last offset + cluster pair while reading/writing from/to file. This
  ensures almost linear times when doing sequential reads/writes, because the
  whole FAT traversing for the file is not done again for every request.
  Previously there was code for this, but it was neither correctly used
  nor working. It stored the last offset + cluster pair in file CCB structure
  (that is unique for each opened file handle) and not FCB structure (which
  is shared among all instances of the same file). This resulted in
  inconsistent cluster + offset number when the file allocation chain was
  changed (eg. by enlarging/shrinking the file), but since the cached offsets
  weren't actully used it went unnoticed.

- Remove old hack from NextCluster and fix the call to it in VfatAddEntry.
  Not much to say about it, there was an temporary hack in NextCluster and
  with fixed VfatAddEntry it's now no longer needed.

- Add pointers to WriteCluster, FindAndMarkAvailableCluster and
  GetNextCluster functions to device extension (set during mount) and use
  them at appropriate locations. This avoids some nasty if's in the code
  and causes some unnoticable performance improvment in the low-level
  FAT code.

- Lock the directory FCB in VfatAddEntry while modifying it. This should
  propably be done on more places, but it needs more investigations.

- Increase the file cache allocation size in VfatRead/VfatWrite. It boosts
  the overall speed of the driver a lot.

svn path=/trunk/; revision=10344
2004-08-01 21:57:18 +00:00
Martin Fuchs
0f48b872aa correct icon image order
svn path=/trunk/; revision=10343
2004-08-01 21:23:21 +00:00
Martin Fuchs
009b55a91e insert new ramdisk icon from Klemens Friedl
svn path=/trunk/; revision=10342
2004-08-01 20:56:59 +00:00
Thomas Bluemel
f258f3380a fixed popup menu for edit controls
svn path=/trunk/; revision=10341
2004-08-01 19:49:21 +00:00
Jens Collin
ace328553a corrected build error.
svn path=/trunk/; revision=10340
2004-08-01 15:56:15 +00:00
Jens Collin
9bedba895d merged with wine-version of dialogs.c and replaced CreateProcess-call with ShellExecute to be able to launch any file from start-menu
svn path=/trunk/; revision=10339
2004-08-01 15:37:06 +00:00
Thomas Bluemel
f9d899b01f fixed KDBG:=1 builds. Patch by blight
svn path=/trunk/; revision=10338
2004-08-01 11:40:37 +00:00
Martin Fuchs
d0f962adaf display different drive icons depending on the drive type
svn path=/trunk/; revision=10337
2004-08-01 11:26:13 +00:00
Martin Fuchs
09124408c9 integrate new drive icons of Klemens Friedl <frik85@hotmail.com>
(see http://reactosde.funpic.de/mediadetail.php?sec=Graphic%20arts&cat=icons&mdnr=8)

svn path=/trunk/; revision=10336
2004-08-01 11:24:43 +00:00
Martin Fuchs
79e842231c implement IServiceprovider interface
svn path=/trunk/; revision=10334
2004-08-01 09:26:27 +00:00
Hartmut Birr
06b9a76a1b - Stopped the printing of frames after the nice value 'deadbeef' in KeRosDumpStackFrames.
svn path=/trunk/; revision=10333
2004-08-01 07:28:43 +00:00
Hartmut Birr
b36f5c8459 - Changed all internal memory functions to use the page frame number instead of the physical address.
- Allowed MmCreateVirtualMapping to create mappings for more than one page.
- Used invplg to invalidate a single tlb entry.
- Simplified the access to the page tables/directories.

svn path=/trunk/; revision=10332
2004-08-01 07:27:25 +00:00
Hartmut Birr
fd411381da - Changed all internal memory functions to use the page frame number instead of the physical address.
- Allowed MmCreateVirtualMapping to create mappings for more than one page.

svn path=/trunk/; revision=10331
2004-08-01 07:24:59 +00:00
Magnus Olsen
5f1aa6ff61 change back after filps advace
svn path=/trunk/; revision=10330
2004-07-31 15:09:59 +00:00
Magnus Olsen
abcc1f252b DUMMYSTRUCTNAME1, DUMMYSTRUCTNAME1 s1, DUMMYUNIONNAME u1 where missing
did forget change DUMMYUNIONNAME u1 to DUMMYUNIONNAME1 u1

svn path=/trunk/; revision=10329
2004-07-31 14:47:09 +00:00
Eric Kohl
fa3393af0c Implement SeQuerySecurityDescriptorInfo().
svn path=/trunk/; revision=10328
2004-07-31 12:21:19 +00:00
Magnus Olsen
be56bd2bbd DUMMYSTRUCTNAME1, DUMMYSTRUCTNAME1 s1, DUMMYUNIONNAME u1 where missing
svn path=/trunk/; revision=10327
2004-07-31 12:10:32 +00:00
Magnus Olsen
f5848006c0 DUMMYSTRUCTNAME1, DUMMYSTRUCTNAME1 s1, DUMMYSTRUCTNAME1 u1 where missing
svn path=/trunk/; revision=10326
2004-07-31 12:04:23 +00:00
Hartmut Birr
ae9493fada - Used MmStats.NrFreePages instead of MiNrAvailablePages.
svn path=/trunk/; revision=10325
2004-07-31 09:44:36 +00:00
Hartmut Birr
b67cc5006c - Update the page counters in MmGetContinuousPages.
- Add a flag to PHYSICAL_PAGE, to detect if a free page is on the zeroed or on the unzeroed list.

svn path=/trunk/; revision=10324
2004-07-31 09:43:54 +00:00
James Tabor
f811b0ed5c Fix up SystemPageFileInfo and SystemCacheInfo. May not have all the right data.
svn path=/trunk/; revision=10322
2004-07-31 00:14:39 +00:00
James Tabor
1cac450d4c Moved KiTimerSystemAuditing flag to main.c.
svn path=/trunk/; revision=10321
2004-07-30 19:29:18 +00:00
James Tabor
3ba2c74617 Moved KiTimerSystemAuditing flag to main.c so it can set when everything is up and running. Also, turn the time auditing back on.
svn path=/trunk/; revision=10320
2004-07-30 19:28:49 +00:00
James Tabor
b31a0f3811 Implemented OpenThread and GetSystemTimes.
svn path=/trunk/; revision=10319
2004-07-30 19:18:39 +00:00
Thomas Bluemel
26ecba1c13 added "hide on minimize" feature and added context menu to the tray icon
svn path=/trunk/; revision=10318
2004-07-30 13:39:56 +00:00
Thomas Bluemel
61430b7b65 Patch by Filip Navaraf: Removed the mouse class gdi callback
svn path=/trunk/; revision=10317
2004-07-30 09:42:11 +00:00
Thomas Bluemel
6a79a66086 attempt to fix a few message queue and timer bugs
svn path=/trunk/; revision=10316
2004-07-30 09:16:06 +00:00
James Tabor
acb7361211 New Process & Thread time locking and experimental DPC accounting support.
svn path=/trunk/; revision=10315
2004-07-29 23:28:48 +00:00
James Tabor
a769548161 Add ps to system build.
svn path=/trunk/; revision=10314
2004-07-29 22:32:37 +00:00
James Tabor
cd7d90c696 New process listing command.
svn path=/trunk/; revision=10313
2004-07-29 22:31:56 +00:00
James Tabor
a514022aea Fixing Taskmgr and GlobalMemoryStatusEx return numbers.
svn path=/trunk/; revision=10312
2004-07-29 20:37:02 +00:00
Thomas Bluemel
7d74fb9d99 fixed compiling errors with gcc 3.4.x
svn path=/trunk/; revision=10311
2004-07-29 16:46:22 +00:00
Thomas Bluemel
a8c60b138d don't change selection if not capturing the console window
svn path=/trunk/; revision=10310
2004-07-29 13:54:45 +00:00
Thomas Bluemel
310098e324 fixed calculation of selected cells
svn path=/trunk/; revision=10309
2004-07-29 13:43:38 +00:00
Thomas Bluemel
1ee783cd7d fix assertion statement
svn path=/trunk/; revision=10308
2004-07-29 12:03:47 +00:00
Art Yerkes
bc0ec8c03d Fixed includes so that DBG keys on roscfg.h
Fixed subtle bug in miniport.c: if exactly one protocol is registered we
would skip it in MiniIndicateData because we took the .Flink value from the
list head, then compared CurrentEntry->Flink to the list head address.

svn path=/trunk/; revision=10307
2004-07-29 05:00:43 +00:00
Art Yerkes
c14c59021f Accidentally missed one breakpoint from the previous debugging session.
svn path=/trunk/; revision=10306
2004-07-29 04:10:53 +00:00
Art Yerkes
c0dd64494d Fixed memory overwrite due to too-small allocation.
svn path=/trunk/; revision=10305
2004-07-29 04:09:06 +00:00
Thomas Bluemel
b6a9c73c88 allow selecting text with the mouse in gui consoles
svn path=/trunk/; revision=10304
2004-07-28 22:28:50 +00:00
Steven Edwards
c9f548f45a Add all the new fonts to the bootcd.
svn path=/trunk/; revision=10303
2004-07-28 04:20:44 +00:00
Steven Edwards
7c8435a226 patch by Arty to fix casting issue.
I lost the old patch by Filip.

svn path=/trunk/; revision=10302
2004-07-28 04:20:12 +00:00
Steven Edwards
b4cbfd1d28 C++ flags not C Flags
svn path=/trunk/; revision=10301
2004-07-28 04:02:47 +00:00
Magnus Olsen
303ce93000 remove struct _DDSCAPSEX
it are allread in ddraw.h

svn path=/trunk/; revision=10298
2004-07-27 11:47:10 +00:00
Magnus Olsen
1e873b4f31 From wine include files for preption for directx support in reactos
no changes have been made on this file
to sync with wine only copy thuse file from wine when it need.

svn path=/trunk/; revision=10297
2004-07-27 10:46:27 +00:00
Magnus Olsen
c0779f51d4 From wine include files for preption for directx support in reactos
no changes have been made on this file
to sync with wine only copy thuse file from wine when it need.

svn path=/trunk/; revision=10296
2004-07-27 10:30:11 +00:00
Filip Navara
a646b85ed6 * dlls/shell32/shellpath.c: Aric Stewart <aric@codeweavers.com>
Make sure that the size of the buffer passed to RegSetValueExW is in
bytes not WCHARs.

svn path=/trunk/; revision=10291
2004-07-26 17:02:30 +00:00
James Tabor
2fe9583bc7 Patch for fixing EnumThreadWindows.
svn path=/trunk/; revision=10290
2004-07-26 14:58:35 +00:00
Eric Kohl
6b53247ee6 Remove dead code.
svn path=/trunk/; revision=10289
2004-07-26 13:19:34 +00:00
Eric Kohl
9528bf078e Implement SeValidSecurityDescriptor().
svn path=/trunk/; revision=10288
2004-07-26 12:44:40 +00:00
Eric Kohl
66a51a8a25 Implement NtSetSecurityObject().
svn path=/trunk/; revision=10287
2004-07-25 17:06:37 +00:00
Steven Edwards
6e3095a9e1 Cleaned up Taskmgr resources to break each language in
to its own resource file.

Spanish translation by Carlos Garcia Gomez.

svn path=/trunk/; revision=10286
2004-07-25 16:02:48 +00:00
Thomas Bluemel
9953b620f8 fixed compiling
svn path=/trunk/; revision=10285
2004-07-25 15:11:24 +00:00
Eric Kohl
f4fe39f27b Implement NtQuerySecurityObject() for objects that keep the security in the object header.
svn path=/trunk/; revision=10284
2004-07-25 12:39:28 +00:00
Eric Kohl
7d6581aebc Move generic access rights to a common header file and add missing access rights.
svn path=/trunk/; revision=10283
2004-07-25 12:36:45 +00:00
Martin Fuchs
8fb1163c02 recalculate start menu root position for any call
svn path=/trunk/; revision=10281
2004-07-24 20:09:45 +00:00
Thomas Bluemel
ce336586ba implementation of TouchFileTimes(), Thanks to Florian Stinglmayr for submitting a rough draft ;)
svn path=/trunk/; revision=10279
2004-07-24 10:42:55 +00:00
Thomas Bluemel
d7c54ad860 Krishna Murthy <Krishna.Murthy@guptaworldwide.com>
Modified EDIT_WM_Char() to restrict keying in of letters other than
	numbers when ES_NUMBER style is set.

svn path=/trunk/; revision=10278
2004-07-24 09:43:09 +00:00
Art Yerkes
5fd1995681 Parallel commit: See this osr page:
http://www.osr.com/ddk/network/103ndisx_51pu.htm
Fixes problem with reactos ne2000 driver and ndis resulting in random
heap corruption.  The NdisMEthIndicateReceive macro passes the
MiniportAdapterHandle, not the ETH_FILTER from inside it.

svn path=/trunk/; revision=10277
2004-07-24 04:49:33 +00:00
Art Yerkes
a85dce53e9 According to this osr page:
http://www.osr.com/ddk/network/103ndisx_51pu.htm

NdisMEthIndicateReceive passes an NDIS_HANDLE (Specifically,
MiniportAdapterHandle), rather than the ETH_FILTER structure.  God knows why
this wasn't caught before but it did awfully strange stuff including the
occasional crash, and more importantly, seemingly randomly corrupting the
LAN_ADAPTER and IP_INTERFACE structures in tcpip.sys when we landed in
packet receiving in datalink/lan.c.  Fixed now.

svn path=/trunk/; revision=10276
2004-07-24 04:48:01 +00:00
Thomas Bluemel
b477fd3439 ignore dependency files
svn path=/trunk/; revision=10275
2004-07-24 01:37:43 +00:00
Thomas Bluemel
b4c02404fd Sync with wine-20040724
svn path=/trunk/; revision=10274
2004-07-24 01:32:58 +00:00
Filip Navara
96364f9b04 - Fix WS_CAPTION style handling.
svn path=/trunk/; revision=10273
2004-07-24 01:28:15 +00:00
Filip Navara
5ada12c0d9 - Associate Irp with thread in NtSetInformationFile.
svn path=/trunk/; revision=10272
2004-07-24 01:28:04 +00:00
Filip Navara
e99d2b956a - Replace incorrect casts and comparsions by using the HIWORD macro so we get the correct debug info.
svn path=/trunk/; revision=10271
2004-07-24 01:28:01 +00:00
Filip Navara
05f0512081 - Fix OpenFile for OF_CREATE case.
svn path=/trunk/; revision=10270
2004-07-24 01:27:54 +00:00
Thomas Bluemel
8033e5b560 Sync with wine-20040724
svn path=/trunk/; revision=10269
2004-07-24 01:21:34 +00:00
Thomas Bluemel
bfcd174365 Sync with wine-20040724
svn path=/trunk/; revision=10268
2004-07-24 00:55:39 +00:00
Thomas Bluemel
c7c06a5864 Sync with wine-20040724
svn path=/trunk/; revision=10267
2004-07-24 00:45:31 +00:00
Thomas Bluemel
2effacb2e6 Sync with wine-20040724
svn path=/trunk/; revision=10266
2004-07-24 00:40:01 +00:00
Casper Hornstrup
abc9d6261c 2004-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile (DLLS): Add gdiplus.
	* apistatus.lst: Add gdiplus.dll.
	* baseaddress.cfg (TARGET_BASE_LIB_GDIPLUS): Declare.
	* bootdata/packages/reactos.dff: Add gdiplus.dll.
	* include/ntos/rtl.h (InsertTailList): Remove dependency on RtlAssert.
	* lib/gdiplus/(gdiplus, include, tests, tests/tests): New directories.
	* lib/gdiplus/(.cvsignore, gdiplus.def, gdiplus.edf, gdiplus.rc,
	makefile): New files.
	* lib/gdiplus/gdiplus/(.cvsignore, *.c): Ditto.
	* lib/gdiplus/include/(debug.h, GdiPlusPrivate.h): Ditto.
	* lib/gdiplus/tests/(.cvsignore, Makefile, passthrough.c): Ditto.
	* lib/gdiplus/tests/tests/(.cvsignore, test-1.c): Ditto.

svn path=/trunk/; revision=10265
2004-07-23 21:54:55 +00:00
Eric Kohl
013e3c728c Implement ObGetObjectSecurity() and ObReleaseObjectSecurity().
svn path=/trunk/; revision=10264
2004-07-23 21:44:10 +00:00
Jason Filby
23cd7fb231 Set TMPF_TRUETYPE flag for TEXTMETRICW variable in NtGdiGetTextMetrics if dealing with a TrueType font
svn path=/trunk/; revision=10263
2004-07-23 20:46:20 +00:00
Jason Filby
6c4e90a9ab Port GetCharacterPlacementW from WINE; copy lpString to lpResults->lpGlyphs if it (destination string) is not null
svn path=/trunk/; revision=10262
2004-07-23 20:41:09 +00:00
Casper Hornstrup
3d3df3bc4e 2004-07-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile, drivers/video/makefile, lib/cpl/Makefile, ntoskrnl/Makefile,
	tools/helper.mk: Add test target.
	* include/ntos/types.h (UINT16, PUINT16): Declare.
	* regtests/kmregtests/tests/mdl-1.c, regtests/kmregtests/tests/mdl-2.c,
	regtests/kmregtests/tests/mm-1.c, subsys/win32k/tests/tests/eng-mem-1.c:
	Simplify tests.
	* regtests/shared/regtests.c: Include <ctype.h> and <stdlib.h>.
	* regtests/shared/regtests.h (DISPATCHER): Declare the whole function.
	* tools/regtests.c: Refactor part of register_test into get_test_name();
	Stub for running tests in the build environment.
	* w32api/include/basetsd.h (INT16, PINT16, UINT16, PUINT16): Declare.
	* lib/user32/misc/exticon.c (UINT16): Remove declaration.

svn path=/trunk/; revision=10261
2004-07-23 20:03:26 +00:00
Casper Hornstrup
ba42192c97 2004-07-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
* rules.mak: Be silent only if VERBOSE=no.

svn path=/trunk/; revision=10260
2004-07-23 19:07:44 +00:00
Casper Hornstrup
6dbdb2b832 2004-07-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
* rules.mak: Do not print "'target' is up to date." messages.

svn path=/trunk/; revision=10259
2004-07-23 17:48:10 +00:00
Eric Kohl
38d792196e Move security information constants.
svn path=/trunk/; revision=10258
2004-07-23 09:26:29 +00:00
James Tabor
b2f73e07c8 Added thread counting with PsEnumThreadsByProcess and thread support in SystemProcessInformation.
svn path=/trunk/; revision=10257
2004-07-23 07:44:26 +00:00
Filip Navara
651d364842 - Fix handling of METHOD_IN_DIRECT IRPs.
svn path=/trunk/; revision=10256
2004-07-22 20:40:17 +00:00
Filip Navara
bdedaa4fe0 - Support for deserialized miniports (experimental).
svn path=/trunk/; revision=10255
2004-07-22 18:54:36 +00:00
Filip Navara
6e64d6266e - Implementation of HalReadDmaCounter.
- Cleaned up implementation of HalGetAdapter. Moved the initialization
  stuff from there to HalpInitDma that is called by HalInitSystem.
- Let HalAllocateCommonBuffer allocated 64K aligned memory.
- Change IoMapTransfer to support auto initialize and single transfer mode,
  16-bit DMA and common buffers.
- Stop DMA transfer in IoFlushAdapterBuffers.

svn path=/trunk/; revision=10254
2004-07-22 18:49:18 +00:00
Eric Kohl
ec5f846d4c - Add security function for file and registry key objects.
- Implement ObAssignSecurity().

svn path=/trunk/; revision=10253
2004-07-22 18:38:08 +00:00
James Tabor
b6e1dfaded Fixing time accounting errors when mult & div into LARGE_INTEGER.
svn path=/trunk/; revision=10252
2004-07-22 17:22:38 +00:00
Filip Navara
46e6b49f21 - Fix handling of METHOD_IN_DIRECT IRPs.
svn path=/trunk/; revision=10251
2004-07-22 16:21:39 +00:00
James Tabor
0b05c8aa29 Fix DosDateTimeToFileTime too.
svn path=/trunk/; revision=10248
2004-07-22 06:28:52 +00:00
James Tabor
b95aac5417 You can not stuff 60 seconds in 5 bits.
svn path=/trunk/; revision=10247
2004-07-22 06:07:02 +00:00
Filip Navara
58adcd8099 - Fix initialization order.
svn path=/trunk/; revision=10246
2004-07-22 02:36:43 +00:00
Filip Navara
c846dde012 - Fix heap corruption on converting ANSI -> UNICODE strings.
svn path=/trunk/; revision=10245
2004-07-22 02:32:53 +00:00
Filip Navara
b4b6a5f134 - Map the GENERIC_* flags depending of the object type in IoCreateFile.
svn path=/trunk/; revision=10244
2004-07-22 02:32:43 +00:00
Filip Navara
d17f542edd Revert this patch:
- Convert the user mode dwDesiredAccess flags in CreateFile to the kernel mode ones that are used by NtCreateFile.

svn path=/trunk/; revision=10243
2004-07-22 02:32:40 +00:00
Eric Kohl
5d44bfe942 Implement simple DACL inheritance.
svn path=/trunk/; revision=10242
2004-07-21 23:38:15 +00:00
Casper Hornstrup
88662ac62e 2004-07-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
* w32api/include/(GdiPlus.h, GdiPlusBase.h, GdiPlusBrush.h, GdiPlusColor.h,
	GdiPlusColorMatrix.h, GdiPlusEffects.h, GdiPlusEnums.h, GdiPlusFlat.h,
	GdiPlusGpStubs.h, GdiPlusGraphics.h, GdiPlusHeaders.h,
	GdiPlusImageAttributes.h, GdiPlusImaging.h GdiPlusInit.h,
	GdiPlusLineCaps.h, GdiPlusMatrix.h, GdiPlusMem.h, GdiPlusMetaFile.h,
	GdiPlusMetaHeader.h, GdiPlusPath.h, GdiPlusPen.h, GdiPlusPixelFormats.h,
	GdiPlusStringFormat.h, GdiPlusTypes.h): New files.

svn path=/trunk/; revision=10241
2004-07-21 20:10:05 +00:00
Martin Fuchs
6dc20a8084 use same startmenu entries height as MS explorer
svn path=/trunk/; revision=10240
2004-07-21 19:05:19 +00:00
Casper Hornstrup
4175709d6c 2004-07-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
* rules.mak, iface/addsys/makefile, iface/native/makefile,
	tools/Makefile: Be quiet if VERBOSE=no.
	* tools/helper.mk: Print module name if it was successfully built.
	* tools/regtests.c, tools/wine2ros/wine2ros.c: Be quiet.

svn path=/trunk/; revision=10239
2004-07-21 18:17:50 +00:00
Alex Ionescu
0b9e69fecf Implemented PsGetThreadFreezeCount, PsGetThreadHardErrorsAreDisabled, PsGetThreadId, PsGetThreadProcess, PsGetThreadProcessId, PsGetThreadSessionId, PsGetThreadTeb, PsGetThreadWin32Thread, PsGetCurrentThreadPreviousMode, PsGetCurrentThreadStackBase, PsGetCurrentThreadStackLimit, PsSetThreadHardErrorsAreDisabled, PsSetThreadWin32Thread
svn path=/trunk/; revision=10238
2004-07-21 01:05:26 +00:00
Alex Ionescu
2afa5d7040 Implemented PsGetProcessCreateTimeQuadPart, PsGetProcessDebugPort, PsGetProcessExitProcessCalled, PsGetProcessExitStatus, PsGetProcessId, PsGetProcessImageFileName, PsGetProcessInheritedFromUniqueProcessId, PsGetProcessPeb,
PsGetProcessPriorityClass, PsGetProcessSectionBaseAddress,
PsGetProcessSecurityPort, PsGetProcessWin32Process,
PsGetProcessWin32WindowStation, PsIsProcessBeingDebugged,
PsGetCurrentProcessSessionId, PsGetProcessSessionId, PsSetProcessPriorityClass, PsSetProcessSecurityPort, PsSetProcessWin32Process, PsSetProcessWin32WindowStation

svn path=/trunk/; revision=10237
2004-07-20 23:58:35 +00:00
Hartmut Birr
f8db6a5d2a - Replaced all single pushf/popf inline assembler instructions with a macro
which doesn't change the stack layout.

svn path=/trunk/; revision=10236
2004-07-20 21:25:36 +00:00
Steven Edwards
54ed416bfe added msacm32.dll to the build. This gets Winamp loading.
Cleaned up the list of libs a bit.

svn path=/trunk/; revision=10235
2004-07-20 19:24:39 +00:00
Steven Edwards
55a9f27fef These files are auto-generated.
svn path=/trunk/; revision=10234
2004-07-20 19:14:48 +00:00
Alex Ionescu
27a729d88d Implemented ImageLoad, MapAndLoad, ImageRvaToVa, ImageRvaToSection, ImageDirectoryEntryToData, GetImageUnusedHeaderBytes and BindImageEx
svn path=/trunk/; revision=10233
2004-07-20 16:48:18 +00:00
Eric Kohl
c5ad1ab780 SeAssignSecurity:
- Build a self-relative security descriptor.
- Inherit owner and group SIDs or assign useful default SIDs.
- Copy DACL from explicit secuity descriptor.

svn path=/trunk/; revision=10232
2004-07-20 12:08:04 +00:00
Filip Navara
ce98b463a5 - Fix handling of METHOD_IN_DIRECT IRPs.
svn path=/trunk/; revision=10231
2004-07-20 11:06:47 +00:00
Steven Edwards
3a9f5e2f86 the resources are still in upper case. Adjust the RC to match this to fix the linux build
svn path=/trunk/; revision=10230
2004-07-19 21:51:49 +00:00
Gregor Anich
10b4b57ad4 Don't interpret \\r\\n as 2 newlines.
svn path=/trunk/; revision=10229
2004-07-19 19:40:01 +00:00
Thomas Bluemel
7497d9c86e fixed calculation of memory address
svn path=/trunk/; revision=10228
2004-07-19 17:55:33 +00:00
Eric Kohl
de32ec78dc - Add @implemented tag to NtMakePermanentObject().
- Capture the security context before calling SeAsignSecurity() and release it later.

svn path=/trunk/; revision=10227
2004-07-19 12:48:59 +00:00
Eric Kohl
ae95148c4b SeCaptureSubjectContext() must not crash if no current thread exists.
svn path=/trunk/; revision=10226
2004-07-19 12:45:56 +00:00
Thomas Bluemel
06272913f0 added missing colors
svn path=/trunk/; revision=10225
2004-07-19 12:13:45 +00:00
Thomas Bluemel
ae734f5bd5 fixed file names
svn path=/trunk/; revision=10224
2004-07-19 09:55:26 +00:00
Thomas Bluemel
f1075c6387 fixed file names
svn path=/trunk/; revision=10223
2004-07-19 09:54:46 +00:00
Alex Ionescu
87ea80f6b7 Added Ps Stubs and Prototypes.
svn path=/trunk/; revision=10222
2004-07-19 06:08:21 +00:00
Alex Ionescu
8aab59acbf Added OPTIMIZED Flag to config file to build optimized versions of NTOSKRNL and WIN32K. Disabled by default.
svn path=/trunk/; revision=10221
2004-07-19 04:52:24 +00:00
Art Yerkes
659a6041bc Forgot to add file tilists.h
svn path=/trunk/; revision=10220
2004-07-19 04:30:04 +00:00
Gero Kuehn
42d52c68a5 added preparations for installing .INF files (for class installers) during setup, added Reactos\Inf
svn path=/trunk/; revision=10219
2004-07-19 01:33:48 +00:00
Filip Navara
48316edcd9 - Change IoReportResourceUsage from using UNIMPLEMENTED macro to just print an message that the function is unimplemented.
svn path=/trunk/; revision=10218
2004-07-18 23:52:50 +00:00
Filip Navara
f810ae11e4 - Change length checking semantics of NtEnumerateKey for KeyBasicInformation.
- Correct buffer size calculations.

svn path=/trunk/; revision=10217
2004-07-18 23:52:38 +00:00
Filip Navara
579f24da75 - Properly set last error in WaitForSingleObjectEx.
svn path=/trunk/; revision=10216
2004-07-18 23:52:31 +00:00
Filip Navara
9ec9ff807a - RegEnumValueW should fill in *lpcbData if lpData == NULL.
svn path=/trunk/; revision=10215
2004-07-18 23:52:30 +00:00
Art Yerkes
6a793b2703 Fixed after prototype change.
svn path=/trunk/; revision=10212
2004-07-18 22:53:59 +00:00
Art Yerkes
a01c282993 Changed include for afd.
svn path=/trunk/; revision=10211
2004-07-18 22:50:52 +00:00
Art Yerkes
0f1eb55991 First commit of afd and msafd onto head.
tcpip: Turned off debug info in CVS.

svn path=/trunk/; revision=10210
2004-07-18 22:49:18 +00:00
Gero Kuehn
cd35daab59 added initial version of the network cpl
svn path=/trunk/; revision=10209
2004-07-18 22:37:08 +00:00
Gero Kuehn
5633682080 added registry entries for the network configuration
svn path=/trunk/; revision=10208
2004-07-18 22:25:05 +00:00
Art Yerkes
6ac4bce416 msafd + afd: Changed type of PVOID args to PAFD_WSABUF, avoiding some casts.
Added some tracing.
Converted afd.sys to use METHOD_NEITHER in the correct places.
oskittcp: Added some tracking in tcp_input and tcp_output to help look for
the ack bug.
tcpip: some cleaning.  Realized that an NTE was getting sent to IPReceive as
the Context parameter, but was later treated as IP_INTERFACE.  Changed
prototypes to keep this from happening again.

svn path=/trunk/; revision=10207
2004-07-18 22:03:49 +00:00
Thomas Bluemel
430efd137f don't create read-only files
svn path=/trunk/; revision=10206
2004-07-18 21:39:55 +00:00
Gregor Anich
06dd253e6e Delete read-only files too.
svn path=/trunk/; revision=10205
2004-07-18 21:15:47 +00:00
Alex Ionescu
c49a1aa591 Fixed broken build. Added functions were already defined in /lib/rtl and unecessary in ntoskrnl.
svn path=/trunk/; revision=10204
2004-07-18 17:45:28 +00:00
Magnus Olsen
288862f4dc *** empty log message ***
svn path=/trunk/; revision=10202
2004-07-18 17:38:17 +00:00
Filip Navara
5586cebc70 - Since DirecrSound is not implemented at all we should return error in DirectSoundCreate.
svn path=/trunk/; revision=10201
2004-07-18 17:16:57 +00:00
Filip Navara
cf649ce107 - Convert the user mode dwDesiredAccess flags in CreateFile to the kernel mode ones that are used by NtCreateFile.
svn path=/trunk/; revision=10200
2004-07-18 17:08:29 +00:00
Filip Navara
6a7a2b5854 - Fallback implementation in waveOut[Un]PrepareHeader.
svn path=/trunk/; revision=10199
2004-07-18 17:06:03 +00:00
Thomas Bluemel
a8da150d8b Added and updated some German translations. Patch by Michael Fritscher.
svn path=/trunk/; revision=10198
2004-07-18 16:07:58 +00:00
Thomas Bluemel
e88c525321 cvs maintainance
svn path=/trunk/; revision=10197
2004-07-18 16:00:05 +00:00
Eric Kohl
4962573e85 Use SeAssignSecurity() to build a security descriptor for a new object.
svn path=/trunk/; revision=10196
2004-07-18 13:03:43 +00:00
Martin Fuchs
04642b4ea7 precompiled header support for GCC 3.4.1
svn path=/trunk/; revision=10194
2004-07-18 13:03:06 +00:00
Eric Kohl
9e08323787 Implement most simple code path of SeAssignSecurity().
svn path=/trunk/; revision=10193
2004-07-18 13:02:28 +00:00
Gregor Anich
9ba0b83e50 Added RosRtlDevModeW2A function.
svn path=/trunk/; revision=10192
2004-07-18 12:51:46 +00:00
Martin Fuchs
b96e6b7b0a eliminate useless GCC warning by initializing the entry variable
svn path=/trunk/; revision=10191
2004-07-18 09:31:02 +00:00
Martin Fuchs
4afe092bc0 fix UNICODE string buffer allocation
svn path=/trunk/; revision=10190
2004-07-18 09:20:38 +00:00
Gregor Anich
f7dff7223a Fix EnumDisplaySettingsExA (did not output anything into devmode)
svn path=/trunk/; revision=10189
2004-07-18 00:36:33 +00:00
Gregor Anich
cec39741e7 Added RosRtlDevModeW2A function.
svn path=/trunk/; revision=10188
2004-07-18 00:30:08 +00:00
Filip Navara
5a725770bc - Fixed memory referencing in mmTaskCreate.
svn path=/trunk/; revision=10187
2004-07-17 22:28:23 +00:00
Thomas Bluemel
e5b2c95bf3 simplified assigning DDI functions
svn path=/trunk/; revision=10186
2004-07-17 21:10:25 +00:00
Eric Kohl
491fa2e1ef Assign a security descriptor to the root directory object.
svn path=/trunk/; revision=10185
2004-07-17 20:34:42 +00:00
Eric Kohl
23dac2681b Create missing default DACLs.
svn path=/trunk/; revision=10184
2004-07-17 20:32:11 +00:00
Gregor Anich
349c610706 Removed some comments - previous change didn't fix infinite re-creation of print.c deps for me.
svn path=/trunk/; revision=10183
2004-07-17 17:37:41 +00:00
Filip Navara
70d717f742 - Disable debug messages.
svn path=/trunk/; revision=10182
2004-07-17 17:24:45 +00:00
Filip Navara
9eee1e99ee - RegQueryValueExW shouldn't touch *lpcbData if lpData == NULL.
svn path=/trunk/; revision=10179
2004-07-17 16:09:07 +00:00
Gregor Anich
96e0da3b7b Changed comments a bit, previous version did create print.c dependencies over and over again for me.
svn path=/trunk/; revision=10178
2004-07-17 15:52:43 +00:00
Gregor Anich
1bd5f9a981 Handle return value 0 from ExtEscape as special case (means to use the default driver)
svn path=/trunk/; revision=10177
2004-07-17 15:13:37 +00:00
Gregor Anich
13bc74184a Handle escape to get opengl driver info in IntEngExtEscape to avoid the infinite loop in the UNIMPLEMENTED macro (needed by opengl32.dll)
svn path=/trunk/; revision=10176
2004-07-17 15:12:25 +00:00
Eric Kohl
a3a123ab31 Implement NtMakePermanentObject().
svn path=/trunk/; revision=10175
2004-07-17 12:08:21 +00:00
Alex Ionescu
14f18e7d6d Added exports for new stubs and fixed some issues with recently commited stubs.
svn path=/trunk/; revision=10174
2004-07-17 05:13:05 +00:00
Alex Ionescu
c015d55c31 Added keys for Winsock
svn path=/trunk/; revision=10173
2004-07-17 04:17:32 +00:00
Alex Ionescu
6a9ab71231 Added keys for Winsock
svn path=/trunk/; revision=10172
2004-07-17 04:04:08 +00:00
Alex Ionescu
4762b47e36 Added New System Call Prototypes and Stubs
svn path=/trunk/; revision=10171
2004-07-17 03:07:00 +00:00
Alex Ionescu
e7874284d0 Added Mm Prototypes
svn path=/trunk/; revision=10170
2004-07-17 03:04:45 +00:00
Alex Ionescu
a0e9802e90 Added Mm Stubs
svn path=/trunk/; revision=10169
2004-07-17 03:03:52 +00:00
Gregor Anich
60676902f6 Fix loading of default driver.
svn path=/trunk/; revision=10168
2004-07-17 02:26:33 +00:00
Alex Ionescu
858364e468 Added keys for Winsock
svn path=/trunk/; revision=10167
2004-07-17 01:12:24 +00:00
Gregor Anich
a69987ef04 Add registry entries for the Mesa OpenGL driver.
svn path=/trunk/; revision=10166
2004-07-16 23:53:38 +00:00
Gregor Anich
3351ce053d Fixed more warnings, compiles with -Werror now.
svn path=/trunk/; revision=10165
2004-07-16 23:48:54 +00:00
Steven Edwards
73cbc815c1 moved these docs to a folder. The file names broke the
livecd build

svn path=/trunk/; revision=10164
2004-07-16 23:41:14 +00:00
Filip Navara
cf38bc01b7 - Get rid of linker warnings.
svn path=/trunk/; revision=10163
2004-07-16 23:37:26 +00:00
Gregor Anich
e62f0e4796 Fix warning.
svn path=/trunk/; revision=10162
2004-07-16 23:35:19 +00:00
Gregor Anich
3231bd4977 Remove unused files.
svn path=/trunk/; revision=10161
2004-07-16 23:29:10 +00:00
Alex Ionescu
37b963937e Added keys for Winsock
svn path=/trunk/; revision=10160
2004-07-16 23:28:55 +00:00
Gregor Anich
a535f99338 Fix some warnings.
svn path=/trunk/; revision=10159
2004-07-16 23:21:04 +00:00
Steven Edwards
89746fb06e cleanup
svn path=/trunk/; revision=10157
2004-07-16 23:01:56 +00:00
Steven Edwards
0ff1d5da1c Fix building on Linux
svn path=/trunk/; revision=10156
2004-07-16 22:59:43 +00:00
Gregor Anich
6d2d63a8e1 Fix unknown pragma warnings and gl.h include for linux builds.
svn path=/trunk/; revision=10155
2004-07-16 22:54:48 +00:00
Gregor Anich
794c39610f Fix unknown pragma warnings.
svn path=/trunk/; revision=10154
2004-07-16 22:45:08 +00:00
Steven Edwards
76b091d0f5 added Spanish translation by Carlos Garcia Gomez.
svn path=/trunk/; revision=10152
2004-07-16 22:33:23 +00:00
Gregor Anich
46de716b21 Import Mesa-6.0.1 for use as software OpenGL renderer.
svn path=/trunk/; revision=10151
2004-07-16 22:32:04 +00:00
Steven Edwards
9be76f0f19 added Spanish translation by Carlos Garcia Gomez.
svn path=/trunk/; revision=10150
2004-07-16 22:24:24 +00:00
Gregor Anich
6fc4d22bde Import Mesa-6.0.1 for use as software OpenGL renderer.
svn path=/trunk/; revision=10149
2004-07-16 22:12:43 +00:00
Gregor Anich
a3ce97af9b Import Mesa-6.0.1 for use as software OpenGL renderer.
svn path=/trunk/; revision=10148
2004-07-16 21:50:40 +00:00
Jens Collin
15971f9aa5 ShellExecute is run when executable is not found to open for example Notepad files by typing "myfile.txt".
svn path=/trunk/; revision=10147
2004-07-16 20:39:06 +00:00
Filip Navara
016e6a3f65 - Implementation of mmTaskCreate. Based on patch by Eric Pouech.
svn path=/trunk/; revision=10146
2004-07-16 20:24:59 +00:00
Thomas Bluemel
f82a992ec2 fixed typo
svn path=/trunk/; revision=10145
2004-07-16 20:20:53 +00:00
Eric Kohl
fa2ac0c0ca Fix an old typo.
svn path=/trunk/; revision=10144
2004-07-16 19:54:05 +00:00
Art Yerkes
fbdcc7cb6f Fonts converted by Larry Snyder
Converted suitably licensed X fonts from type 1 to TTF for use in ROS.

svn path=/trunk/; revision=10143
2004-07-16 17:21:05 +00:00
Eric Kohl
9d87061713 Implement security descriptor cache.
svn path=/trunk/; revision=10142
2004-07-16 17:20:23 +00:00
Gregor Anich
243d59c9e6 Fix some bugs, works on Windows and ReactOS with Mesa and NVIDIA driver.
x86 asm version of gl dispatch functions work now too (in gl.c)

svn path=/trunk/; revision=10141
2004-07-16 16:16:16 +00:00
Alex Ionescu
28e3667b69 Fixed prototypes to work in MSVC.
svn path=/trunk/; revision=10139
2004-07-16 13:45:02 +00:00
Filip Navara
3ab4ec1f54 - Handle indexed palettes in IntEngCreateSrcMonoXlate.
svn path=/trunk/; revision=10135
2004-07-15 21:14:51 +00:00
Martin Fuchs
e7d21fa39e ignore unexpected exceptions while extracting icons
svn path=/trunk/; revision=10133
2004-07-15 21:04:02 +00:00
Martin Fuchs
4fd7ec5f63 replace BUFFER_LEN by dynamic allocations
svn path=/trunk/; revision=10132
2004-07-15 20:43:18 +00:00
Filip Navara
3281baa0bf - Minor correction to DIB_32BPP_BitBlt that I broke with my last patch.
svn path=/trunk/; revision=10126
2004-07-15 18:13:22 +00:00
Eric Kohl
64b9c0f3cc Implement RtlAddAuditAccessAceEx().
svn path=/trunk/; revision=10125
2004-07-15 08:15:49 +00:00
James Tabor
b1fb96b44c Clear Partition0 DriveNotReady, for Removable Media.
svn path=/trunk/; revision=10124
2004-07-15 04:04:08 +00:00
Art Yerkes
e6f5d067e0 oskittcp: fixed handling of uio in send.
afd: fixed send.
tcpip: fixed double-complete of send irp.

svn path=/trunk/; revision=10122
2004-07-15 03:21:47 +00:00
Art Yerkes
9ce1fe0ddb Small changes to debug output in catalog, handle, upcall.
ns.c -- getservbyport contributed by Cameron Palmer.

svn path=/trunk/; revision=10121
2004-07-15 02:03:07 +00:00
Steven Edwards
c26b523ad9 added Spanish translation by Carlos Garcia Gomez.
svn path=/trunk/; revision=10120
2004-07-14 22:20:07 +00:00
Steven Edwards
383e5a9c1a Warn rather than bail on HWND_MESSAGE windows
request. This gets the Scintilla Editor from theopencd to work.

svn path=/trunk/; revision=10119
2004-07-14 21:52:23 +00:00
Filip Navara
3baccc96f1 - Accidently commited this file with my last patch. Reverting.
svn path=/trunk/; revision=10118
2004-07-14 21:45:05 +00:00
Filip Navara
219e1664cf - Add FIXME comment to LoadIconImage.
svn path=/trunk/; revision=10117
2004-07-14 20:52:13 +00:00
Filip Navara
dcbabca872 - Change the prototype of DIB_*_BitBlt* functions to take a pointer to a BLTINFO structure instead of many parameters.
- Make DIB_GetSource and DIB_GetSourceIndex macros.
- Add IntEngCreateSrcMonoXlate.
- Change the semantics of IntEngCreate*Xlate functions to treat palette mode == 0 as mode of the passed palette.
- Add XlateBrush and XlatePen to the DC structure.
- Fixed the bad design decision that caused mess when one brush was selected into more than one DC.
- Remove incorrect Int[Get/Set]DCColor implementation (used by [Get/Set]DC[Pen/Brush]Color).
- Get rid of compiler warnings in Win32k.

svn path=/trunk/; revision=10116
2004-07-14 20:48:58 +00:00
Steven Edwards
d0ba990059 Sync msacm32 with Winehq cvs. will merge my tweaks soon.
This gets Winamp5 loading.

svn path=/trunk/; revision=10115
2004-07-14 18:30:54 +00:00
Steven Edwards
d1d2a0a14a Use Bitstream Vera Sans for Helv subsititute. This makes the Run dialog readable. Thanks to Filip Navara.
svn path=/trunk/; revision=10114
2004-07-14 17:47:03 +00:00
Steven Edwards
93cfddbb38 Added licensing page to usetup.
svn path=/trunk/; revision=10112
2004-07-14 16:24:00 +00:00
Eric Kohl
c6ec21e207 - Move access checks from NtAccessCheck() to SeAccessCheck().
- Check for 'take ownership' privilege.

svn path=/trunk/; revision=10111
2004-07-14 14:25:31 +00:00
Gé van Geldorp
6e17c87e59 Split "old-style Win 3.1" file dialog into 16 and 32 bit code
svn path=/trunk/; revision=10110
2004-07-14 06:52:29 +00:00
Filip Navara
cbda303409 - Revert part of my last TLS patch.
svn path=/trunk/; revision=10109
2004-07-14 02:40:45 +00:00
Eric Kohl
91946de006 First experimental implementstion of NtAccessCheck().
This should fix bug #362.

svn path=/trunk/; revision=10108
2004-07-13 16:59:35 +00:00
Eric Kohl
4cc77e37cc Move some access rights so they are usable form kernel-mode.
svn path=/trunk/; revision=10107
2004-07-13 16:57:35 +00:00
Eric Kohl
3e7bd9bd79 RtlImpersonateSelf(): Set impersonation level in call to NtDuplicateToken().
svn path=/trunk/; revision=10106
2004-07-13 11:52:09 +00:00
Eric Kohl
3ed7b52fb9 NtOpenThreadToken() opens the thread token if OpenAsSelf is FALSE.
svn path=/trunk/; revision=10105
2004-07-13 11:48:32 +00:00
Eric Kohl
eda69bc46f NtDuplicateToken() must create and return a handle to the duplicated token.
svn path=/trunk/; revision=10104
2004-07-13 08:43:35 +00:00
James Tabor
6e5edb7df9 Force a rebuild of the partition table if it already exists with a DeviceObject.
svn path=/trunk/; revision=10103
2004-07-13 02:43:06 +00:00
Gé van Geldorp
1605dba90a SetLogonNotifyWindow is now implemented
svn path=/trunk/; revision=10102
2004-07-12 22:34:27 +00:00
Gé van Geldorp
9a26dd9c78 Fix RestartDialog() and RestartDialogEx() prototypes
svn path=/trunk/; revision=10101
2004-07-12 22:07:34 +00:00
Gé van Geldorp
0cffba8389 Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Make ole32 a delay-load import of shell32.
(except that the ReactOS build system doesn't handle delay-load imports
yet, so make it a normal import)

svn path=/trunk/; revision=10100
2004-07-12 22:03:09 +00:00
Gé van Geldorp
bd1c1f6d7b Fix syntax problem for some windres versions
svn path=/trunk/; revision=10099
2004-07-12 22:01:22 +00:00
Gé van Geldorp
935851acb6 Ilya Korniyko <k_ilya@ukr.net>
- Added Ukrainian translations.
Jos� Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Updated the Spanish shell32 translation and made some corrections to
  other language files.

svn path=/trunk/; revision=10098
2004-07-12 21:26:39 +00:00
Gé van Geldorp
55dc46bf13 Use string resources for ExitWindowsDialog() and RestartDialogEx() to allow
internationalization.

svn path=/trunk/; revision=10097
2004-07-12 20:53:24 +00:00
Gé van Geldorp
aa38cd0cd1 Marcus Meissner <marcus@jet.franken.de>
- Fixed double applet = applet = assignment.
- Removed sic_hdpa only used in 1 C file as static var.
- Make VT_Shell_IMalloc32 and related variables static.

svn path=/trunk/; revision=10096
2004-07-12 20:32:16 +00:00
Gé van Geldorp
a1f4820c31 Shutdown step 1: inform winlogon (forgotten file)
svn path=/trunk/; revision=10095
2004-07-12 20:26:35 +00:00
Gé van Geldorp
4ce7742222 Shutdown step 1: inform winlogon
svn path=/trunk/; revision=10094
2004-07-12 20:09:35 +00:00
Eric Kohl
16a868a4e7 Replace hardcoded values by new constants.
svn path=/trunk/; revision=10092
2004-07-12 19:39:29 +00:00
Thomas Bluemel
11997022fd forgot to export 2 functions
svn path=/trunk/; revision=10091
2004-07-12 16:27:46 +00:00
Thomas Bluemel
32b2a4dc1a implementation of HidD_GetHidGuid()
svn path=/trunk/; revision=10090
2004-07-12 16:04:37 +00:00
Thomas Bluemel
ef8c92364b added stubs for the Hid User Library (hid.dll)
svn path=/trunk/; revision=10089
2004-07-12 15:08:43 +00:00
Eric Kohl
32e7b224da Define missing PNTSTATUS.
svn path=/trunk/; revision=10088
2004-07-12 13:51:29 +00:00
Eric Kohl
72b6ef30e7 Fix NtAccessCheck() prototype.
svn path=/trunk/; revision=10087
2004-07-12 12:05:49 +00:00
Thomas Bluemel
ad9cdc4edc simplified dynamic loading of dlls
svn path=/trunk/; revision=10086
2004-07-12 10:33:04 +00:00
Thomas Bluemel
6535d130b7 removed wrong comments
svn path=/trunk/; revision=10085
2004-07-11 23:08:31 +00:00
Thomas Bluemel
02c02382be do not statically link to ole32.dll, import the functions dynamically instead. This is required since winlogon statically links to userenv.dll and then ole32.dll would automatically be loaded which causes ole32.dll to register a window class before the first window station is created (-> the ole32 window class(es) couldn't be registered). Besides it's bad to have winlogon depend on ole32.dll
svn path=/trunk/; revision=10083
2004-07-11 22:35:07 +00:00
Gé van Geldorp
093e925a66 Use default PATHEXT if none found in environment
svn path=/trunk/; revision=10082
2004-07-11 16:23:12 +00:00
Gé van Geldorp
c8d9ece95d Jens Collin <jens.collin@lakhei.com>
Add PATHEXT env var and use it to locate command

svn path=/trunk/; revision=10081
2004-07-11 16:13:44 +00:00
Eric Kohl
839cdb0644 Add missing security constants.
svn path=/trunk/; revision=10080
2004-07-11 16:09:37 +00:00
Eric Kohl
8d58125bdc Fix typo in SetSecurityDescriptorOwner().
svn path=/trunk/; revision=10079
2004-07-11 13:33:40 +00:00
Thomas Bluemel
f85cea6c2c register the winlogon application directly after startup
svn path=/trunk/; revision=10078
2004-07-11 13:31:28 +00:00
Filip Navara
85cec6dde5 - Fixed locking in NtGdiGetCharWidth32. This caused problems with AbiWord reported by Jason Filby.
svn path=/trunk/; revision=10076
2004-07-11 02:10:48 +00:00
Thomas Bluemel
ce4aa8ef2e added a key security editor (not yet working properly)
svn path=/trunk/; revision=10075
2004-07-10 23:25:17 +00:00
Thomas Bluemel
13eda5be1f added some missing definitions
svn path=/trunk/; revision=10074
2004-07-10 23:23:06 +00:00
Gero Kuehn
b563ceb9af added SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
svn path=/trunk/; revision=10073
2004-07-10 22:27:18 +00:00
Gero Kuehn
948db6b780 fixed PROPSHEETHEADER nPages calculation
svn path=/trunk/; revision=10072
2004-07-10 22:06:40 +00:00
Gero Kuehn
7933210d3c copied HalRequestSoftwareInterrupt from uniproc irql.c to fix SMP builds
svn path=/trunk/; revision=10071
2004-07-10 21:58:35 +00:00
Steven Edwards
14a26ef7bf added expand.exe and msvfw32.dll to the build.
svn path=/trunk/; revision=10070
2004-07-10 21:44:14 +00:00
Gé van Geldorp
c01cec79d9 Roll back __USE_W32API test, add _tsplitpath definition
svn path=/trunk/; revision=10069
2004-07-10 21:23:18 +00:00
Steven Edwards
2396faea94 Added msvfw32 ported from Wine. This fixes bug 388.
svn path=/trunk/; revision=10068
2004-07-10 21:19:46 +00:00
Eric Kohl
e32637bc50 Fix default DACL of the logon token.
svn path=/trunk/; revision=10067
2004-07-10 21:15:26 +00:00
Steven Edwards
43a041190d Removed Microsoft code.
svn path=/trunk/; revision=10066
2004-07-10 21:11:13 +00:00
Hartmut Birr
3768902d9b - Implemented NtQueryVirtualMemory for unallocated regions.
- Fixed some minor bugs in NtQueryVirtualMemory and its related query functions.

svn path=/trunk/; revision=10065
2004-07-10 17:01:03 +00:00
Thomas Bluemel
35f4d34682 export GetSecurityInfo()
svn path=/trunk/; revision=10064
2004-07-10 14:38:24 +00:00
Eric Kohl
5b9cf862e0 Create group SIDs for logon token.
svn path=/trunk/; revision=10063
2004-07-10 13:12:24 +00:00
Eric Kohl
39da3d41f9 Fix RtlEqualSid().
svn path=/trunk/; revision=10062
2004-07-10 13:11:18 +00:00
Hartmut Birr
7f900f8f7e - Fixed the return value in VirtualQueryEx if NtQueryVirtualMemory returns an error.
svn path=/trunk/; revision=10061
2004-07-10 13:08:02 +00:00
Hartmut Birr
95e1a9b247 - Fixed the comparing of video modes in IntInitScreenInfo.
svn path=/trunk/; revision=10060
2004-07-10 13:05:08 +00:00
Gé van Geldorp
4f24993634 FindWindow() should search the threads desktop, not the active one.
svn path=/trunk/; revision=10059
2004-07-09 20:57:38 +00:00
Filip Navara
fe2b1d6967 - Implementation of [NtGdi]GetTextFace[W] and [NtGdi]GetFontData[W].
- Print a message for unimplemented functions in GDI32.dll.

svn path=/trunk/; revision=10058
2004-07-09 20:28:20 +00:00
Thomas Bluemel
549b154510 added skeleton for acledit.dll
svn path=/trunk/; revision=10056
2004-07-09 20:18:49 +00:00
Filip Navara
91995ef4ed - Some application depend on Info->RegionSize set by NtQueryVirtualMemory for iteration. We had a workaround here for this behaviour until a correct implementation is written, but it was limited for addresses lower than 0x70000000. Raise that limit to 0x80000000.
svn path=/trunk/; revision=10055
2004-07-09 20:14:49 +00:00
Filip Navara
79a4726093 - Handle UnsafeRect == NULL case in NtUserGetUpdateRect.
svn path=/trunk/; revision=10054
2004-07-09 20:13:00 +00:00
Filip Navara
35a256ae2b - Since LookupAccountSidA is unimplemented, but returns success, we should at least fill the output parameters with some reasonable values.
svn path=/trunk/; revision=10053
2004-07-09 20:10:45 +00:00
Filip Navara
d45a8c1356 - DrawIcon should return TRUE if it succeeds.
svn path=/trunk/; revision=10052
2004-07-09 20:09:35 +00:00
Filip Navara
a2f7e34792 - Display window icon only if there is any.
svn path=/trunk/; revision=10051
2004-07-09 20:08:48 +00:00
Filip Navara
2915b7de9b - Corrected the obtaining of TLS callbacks address.
svn path=/trunk/; revision=10050
2004-07-09 20:08:05 +00:00
Filip Navara
18168b454a - Fixed dispatching of nested exceptions.
svn path=/trunk/; revision=10049
2004-07-09 20:06:40 +00:00
Filip Navara
b00489100f - Added ordinal numbers.
svn path=/trunk/; revision=10048
2004-07-09 20:04:05 +00:00
Thomas Bluemel
1ef5953679 set the control focus when clicking on it
svn path=/trunk/; revision=10047
2004-07-09 15:53:34 +00:00
Gé van Geldorp
4a76a3915b Fix lib/rosrtl compilation
svn path=/trunk/; revision=10039
2004-07-08 22:05:48 +00:00
Eric Kohl
5b95f50fd4 Register the logon process.
svn path=/trunk/; revision=10037
2004-07-08 14:41:38 +00:00
Eric Kohl
29ced92e4b Fix RegisterLogonProcess().
svn path=/trunk/; revision=10036
2004-07-08 14:36:18 +00:00
Filip Navara
3e78fd6128 - Honor the "Extended" bit in SetKeyState.
svn path=/trunk/; revision=10035
2004-07-08 12:55:01 +00:00
Thomas Bluemel
cf7372bf5a added a very basic timer queue test program
svn path=/trunk/; revision=10034
2004-07-08 10:32:18 +00:00
Art Yerkes
aa565ab062 Fixed OskitTCPSend prototype.
sleep: removed blocking.  not needed anymore.
Made socket non-blocking with respect to oskit.
removed unneeded panic in sbflush.
removed unneeded stats keeping.  This info is better kept by tcpip.sys

svn path=/trunk/; revision=10033
2004-07-08 06:39:30 +00:00
Art Yerkes
494edc04e5 Fixed for TCPIP
Regularized TCPSendData and TCPReceiveData parameters and calling.
Added number of bytes IoStatus for TDI_SEND_DATAGRAM and TDI_SEND as
specified in the OSR entry for TDI_SEND_DATAGRAM.
Fixed IRQL in packet send event.  We now use KeRaiseIrql to make sure we're
in DISPATCH_LEVEL.
Fixed socket state callback for new afd.  Now fully based on io completion.

svn path=/trunk/; revision=10032
2004-07-08 06:36:04 +00:00
Thomas Bluemel
aa11660dd0 fixed debug output
svn path=/trunk/; revision=10031
2004-07-08 00:48:12 +00:00
Thomas Bluemel
76cd746a0f Fixed handling of NULL arguments in ChangeDisplaySettings(Ex)(). Patch by blight.
svn path=/trunk/; revision=10030
2004-07-08 00:46:22 +00:00
Thomas Bluemel
580f2e7a68 1. implemented the timer queue functions of kernel32 (I tested the implementation of CreateTimerQueueTimer() and DeleteTimerQueueTimer() on windows)
2. export the timer queue Rtl* stubs of ntdll

svn path=/trunk/; revision=10029
2004-07-08 00:40:31 +00:00
Gé van Geldorp
8d126dbfc4 Add command-line shutdown/logoff utility
svn path=/trunk/; revision=10028
2004-07-07 22:29:37 +00:00
Eric Kohl
6d616faf61 Add ACCESS_STATE and INITIAL_PRIVILEGE_SET.
svn path=/trunk/; revision=10020
2004-07-07 17:20:35 +00:00
Filip Navara
596469a0b6 - Updated system colors.
svn path=/trunk/; revision=10019
2004-07-07 17:03:32 +00:00
Filip Navara
825a514a46 - Use LinBytesPerScanLine (value for linar framebuffer modes) instead of BytesPerScanLine for VBE 3.0 controllers.
svn path=/trunk/; revision=10018
2004-07-07 16:54:43 +00:00
Filip Navara
e4848fe100 - Return image name in SymGetModuleInfo since some applications use it for determining path. It's still a stub though.
svn path=/trunk/; revision=10017
2004-07-07 16:50:54 +00:00
Thomas Bluemel
680d163578 added missing cvsignore file
svn path=/trunk/; revision=10016
2004-07-07 16:47:43 +00:00
Filip Navara
226251dab1 - Don't create XLATEOBJ for BitBlt and StretchBlt operations that don't use source DC.
svn path=/trunk/; revision=10015
2004-07-07 16:36:08 +00:00
Filip Navara
bce67c86c4 - Fixed ExcludeClipRgn for case when DC contained no clipping region before the call to this function.
svn path=/trunk/; revision=10014
2004-07-07 16:34:33 +00:00
Filip Navara
bf1db388a0 - Handle allocation failure in IntCreateBitmap.
- Don't allow creating surface with BitmapFormat == 0 (Invalid) in IntCreateSurface.

svn path=/trunk/; revision=10013
2004-07-07 16:33:44 +00:00
Filip Navara
eb298d6e01 - Imporved implementation of UnhandledExceptionFilter.
- Moved most of code from _except_handler in process/create.c to UnhandledExceptionFilter and changed _except_handler to call it.

svn path=/trunk/; revision=10012
2004-07-07 16:32:02 +00:00
Filip Navara
be3d5c04da - Fixed NtQueryInformationProcess to return STATUS_NOT_IMPLEMENTED for unimplemented cases.
svn path=/trunk/; revision=10011
2004-07-07 16:28:35 +00:00
Filip Navara
bfb94c6d6f - Fixed RtlUnwind to correctly remove SEH frames and not to call ZwContinue.
svn path=/trunk/; revision=10010
2004-07-07 16:25:00 +00:00
Filip Navara
7a25c2785c - Add VBE video mode registry. (Gerard Gatineau asked for it)
svn path=/trunk/; revision=10009
2004-07-07 16:22:22 +00:00
Eric Kohl
6a871dff66 Implement environment variable dialog.
svn path=/trunk/; revision=10008
2004-07-07 09:42:58 +00:00
Gé van Geldorp
f79ec69b9c Set default (Administrator) privileges when logging on
svn path=/trunk/; revision=10007
2004-07-07 08:41:47 +00:00
Gé van Geldorp
20180bf59f Silence debug messages
svn path=/trunk/; revision=10006
2004-07-07 08:39:54 +00:00
Gé van Geldorp
f390319086 Implement LookupPrivilegeValueW for local machine
svn path=/trunk/; revision=10005
2004-07-06 22:08:48 +00:00
Gé van Geldorp
37635ba853 Make AdjustTokenPrivileges confirm to MSDN-documented behaviour:
- return FALSE on error with appropriate LastError
- return TRUE with LastError == ERROR_NOT_ALL_ASSIGNED if not all
  privileges could be adjusted
- return TRUE with LastError == ERROR_SUCCESS if all privileges
  were successfully adjusted

svn path=/trunk/; revision=10004
2004-07-06 22:07:26 +00:00
Royce Mitchell III
f54f6b9018 fixed typo
svn path=/trunk/; revision=10003
2004-07-05 22:33:14 +00:00
Gé van Geldorp
ad83568979 Patch by Jens Collin <jens.collin@lakhei.com>
Fixes autocompletion, see bug #177

svn path=/trunk/; revision=10002
2004-07-05 22:12:45 +00:00
Hartmut Birr
1b16d86ba8 - Check for a valid buffer on a call to IOCTL_DISK_CHECK_VERIFY.
svn path=/trunk/; revision=10001
2004-07-05 21:44:27 +00:00
Hartmut Birr
405e3b3822 - Removed IOCTL_DISK_CHECK_VERIFY. We must use the port driver to detect the current state of the drive.
svn path=/trunk/; revision=10000
2004-07-05 21:42:05 +00:00
Hartmut Birr
fac1d981b1 - Removed the using of the media change count to recognize a median change.
svn path=/trunk/; revision=9999
2004-07-05 21:39:02 +00:00
Jason Filby
52f4f6acef lstrcpy and lstrcat should return NULL if the string to copy to is NULL instead of crashing; verified by a test app on Windows XP
svn path=/trunk/; revision=9998
2004-07-04 18:11:49 +00:00
Filip Navara
907bf3c0a8 - Fixed NumLock, CapsLock and ScrollLock handling in ConioGetShiftState.
svn path=/trunk/; revision=9997
2004-07-04 17:22:33 +00:00
Filip Navara
91008697a8 - Use absolute value of the color difference when calculating color match rating.
svn path=/trunk/; revision=9996
2004-07-04 17:09:45 +00:00
Filip Navara
dd64375195 - Guard against out of bounds access to KeyboardLayout->pusVSCtoVK in W32kKeyProcessMessage.
- Fixed SetKeyState to correctly index the keyboard state table.

svn path=/trunk/; revision=9995
2004-07-04 17:08:40 +00:00
Filip Navara
78ae714754 - Fix GDI object locking broken by this patch:
http://reactos.com:8080/archives/public/ros-cvs/2004-July/004334.html

svn path=/trunk/; revision=9994
2004-07-04 12:00:40 +00:00
Filip Navara
390647c9fb - Send the cursor to display driver in top-down format.
svn path=/trunk/; revision=9993
2004-07-04 11:18:56 +00:00
Hartmut Birr
5c7b116b28 - Fixed a bug in IoCsqRemoveIrp and IoCsqRemoveNextIrp.
svn path=/trunk/; revision=9992
2004-07-04 08:30:28 +00:00
Gé van Geldorp
62a8ad0e87 Mike McCormack <mike@codeweavers.com>
- Fix a buffer overrun in autocomplete.

svn path=/trunk/; revision=9991
2004-07-04 06:56:41 +00:00
Filip Navara
31456c578a - Don't continue execution if there is no exception handler. It's common that continuing such execution would result in the same exception again and thus creating infinite loop.
svn path=/trunk/; revision=9990
2004-07-04 02:01:02 +00:00
Filip Navara
9ac102fb17 - Support resursive locking of the GDI objects.
- Call EngMovePointer instead of DrvMovePointer if driver DrvSetPointerShape returned SPS_DECLINE.

svn path=/trunk/; revision=9989
2004-07-04 01:23:32 +00:00
Royce Mitchell III
f5d1bff687 small fix to constant we aren't even using, yet, but should
svn path=/trunk/; revision=9988
2004-07-04 00:33:26 +00:00
Filip Navara
05345c056a - Allocate memory from paged pool in EngAllocMem.
svn path=/trunk/; revision=9987
2004-07-03 22:36:27 +00:00
Filip Navara
0c94f9e2c2 - Fixed buffer handling and coordinate translation in IntGdiPolyline.
svn path=/trunk/; revision=9986
2004-07-03 22:36:01 +00:00
Filip Navara
4d9b237e6d - Don't use the "cpu" directive because NASM 0.98 doesn't support it.
svn path=/trunk/; revision=9985
2004-07-03 18:41:56 +00:00
Filip Navara
8fab52126f - Fix errors during optimized build.
svn path=/trunk/; revision=9983
2004-07-03 17:40:27 +00:00
Hartmut Birr
e251c53983 - Fixed a bug, which prevents an opening of files, if the file name contains short path names.
svn path=/trunk/; revision=9982
2004-07-03 17:31:30 +00:00
Hartmut Birr
ba93d9c7b0 - Implemented GuiConsoleHandleClose.
svn path=/trunk/; revision=9981
2004-07-03 17:17:05 +00:00
Hartmut Birr
c973b907c8 - Try to get or to allocate the process data structure in ServerApiPortThread.
- Changed the initialization sequence in CsrServerInitialization.

svn path=/trunk/; revision=9980
2004-07-03 17:15:02 +00:00
Hartmut Birr
9a64b81079 - Allowed multiple calls to CsrClientConnectToServer.
- Removed CsrIsCsrss.

svn path=/trunk/; revision=9979
2004-07-03 17:13:09 +00:00
Gé van Geldorp
60d9c7030d Remove debugging statement
svn path=/trunk/; revision=9978
2004-07-03 14:46:39 +00:00
Filip Navara
0a89ed6e1c [Sorry for too many changes in one patch, but it's nearly impossible to separate it without breaking the functionality]
- Remove the eng/brush.h header and all occurrences of BRUSHINST.
- Remove eng/nls.c and make the NLS functions forward exports to ntoskrnl.
- Remove DDBITMAP definition.
- Overall cleanup of eng/xlate.c.
- Stop processing if exact match is found in ClosestColorMatch.
- Move SURFGDI->PointerStatus to GDIDEVICE structure.
- Remove the GDIDEVICE->DriverLock.
- Replace BITMAP by SURFOBJ in BITMAPOBJ structure and added two new members (Flags and Hooks).
- Replace function pointers to driver functions in SURFGDI with flHooks variable specifying the bitmask of hooked functions.
- Added two new macros: GDIDEV and GDIDEVFUNCS.
- Fixed locking in NtGdiGetBitmapBits.
- Removed IntCopyBitmap and replaced it's usage by BITMAPOBJ_CopyBitmap.
- Fixed setting of SURFOBJ->pvBits and SURFOBJ->pvScan0 in EngCreateBitmap for bottom-up surfaces.
- Fix DPRINTs.
- Remove unused definitions from eng/objects.h.
- Call IntEngBitBlt instead of EngBitBlt from EngCopyBits.
- Correctly set the SURFOBJ->hsurf field.
- Merge Engine surface handling with the GDI one and remove DC->Surface, SURFGDI, BitmapToSurf.
- Support for bottom-up mouse cursors in the Eng* cursor emulation routines.
- Fix locking in error cases of NtGdiRestoreDC (get Primitives demo to start).
- Fix BitmapFormat to return 0 for unknown bit depth.
- Move code from EngCreateBitmap to IntCreateBitmap and use this function in EngCreateBitmap, NtGdiCreateBitmap and DIB_CreateDIBSection.
- New implementation of NtGdiGetDIBits.

svn path=/trunk/; revision=9977
2004-07-03 13:55:37 +00:00
Filip Navara
ac183abd23 - Handle correctly bottom-up surfaces in the VGA driver.
svn path=/trunk/; revision=9976
2004-07-03 13:45:42 +00:00
Gé van Geldorp
40afa3d500 NtCreateKey doesn't create nested keys, but RegCreateKey should. Fixes
issues 2) and 3) of bug #331

svn path=/trunk/; revision=9975
2004-07-02 21:20:51 +00:00
Royce Mitchell III
14377c13f5 small cleanup
svn path=/trunk/; revision=9974
2004-07-02 21:02:54 +00:00
Eric Kohl
8af3ba8548 Add partial implementation of the environment variables dialog.
svn path=/trunk/; revision=9973
2004-07-02 20:28:00 +00:00
Gé van Geldorp
0155d5acde Only accept matching palette
svn path=/trunk/; revision=9972
2004-07-02 20:04:48 +00:00
Royce Mitchell III
b04f8c0e22 oops, if you're going to move a function, get rid of the old one... sorry...
svn path=/trunk/; revision=9971
2004-07-02 12:43:38 +00:00
Gé van Geldorp
386450b018 Fix WinExec return value
svn path=/trunk/; revision=9970
2004-07-02 12:18:04 +00:00
Thomas Bluemel
7bca32fad2 allow changing the cursor position with the mouse
svn path=/trunk/; revision=9969
2004-07-02 08:46:50 +00:00
Art Yerkes
9860c72592 Added installation of services file needed for getservbyname and kin.
The services file was created by Cameron Palmer from the official IANA
list.

svn path=/trunk/; revision=9968
2004-07-02 08:06:47 +00:00
Royce Mitchell III
c76e499296 NtRaiseException fixed to not clobber EAX any more, and both NtContinue and NtRaiseException no longer clobber EDX. kmode SEH works now, but there are likely some lingering bugs. This patch was made possible by the collaborative efforts of myself, kjk_hyperion, Art Yerkes, and Skywing.
svn path=/trunk/; revision=9967
2004-07-02 01:36:25 +00:00
Alex Ionescu
6a225669b5 Services file for WS2_32.dll, created by Cameron Palmer.
svn path=/trunk/; revision=9966
2004-07-02 01:26:29 +00:00
Royce Mitchell III
2275555927 (remove old disabled code)
svn path=/trunk/; revision=9965
2004-07-02 01:23:26 +00:00
Royce Mitchell III
837baf14b4 NtContinue fixed to return failure on invalid params ( not checking for access violations yet ), but not clobber EAX on success. This patch was made possiblel by the collaborative efforts of myself, kjk_hyperion, Art Yerkes, and Skywing.
svn path=/trunk/; revision=9964
2004-07-02 00:47:57 +00:00
Royce Mitchell III
8467d37d7d merge in kjk_hyperion's ZwContinue test
svn path=/trunk/; revision=9963
2004-07-01 23:58:44 +00:00
Thomas Bluemel
d0ea8e8ce1 merge patch from wine by Robert Shearman (http://www.winehq.org/hypermail/wine-patches/2004/06/0108.html)
svn path=/trunk/; revision=9962
2004-07-01 23:56:04 +00:00
Thomas Bluemel
ecae0d0647 some little fixes
svn path=/trunk/; revision=9961
2004-07-01 23:36:57 +00:00
Gé van Geldorp
db3e54f680 Don't reset LastError on success
svn path=/trunk/; revision=9960
2004-07-01 22:36:16 +00:00
Gé van Geldorp
1c2af8076a Handle file names like ./somename in SearchPath()
svn path=/trunk/; revision=9959
2004-07-01 22:35:35 +00:00
Eric Kohl
820eaf8fce Fix a typo. Now the 'Advanced' page shows again.
svn path=/trunk/; revision=9958
2004-07-01 20:27:50 +00:00
Filip Navara
b4dc709c43 CVS maintaince
svn path=/trunk/; revision=9957
2004-07-01 18:12:47 +00:00
KJK::Hyperion
fdd518ddac Merging the KJKHyperion-RtlUnwind branch back into HEAD
svn path=/trunk/; revision=9956
2004-07-01 02:40:23 +00:00
Royce Mitchell III
209e1d7692 cleanup/reformat syscall code, save return value as soon as possible so that eax is freed up, which also simplifies the implementation of KiAfterSystemCallHook(), also removes a couple redundant instructions.
svn path=/trunk/; revision=9955
2004-07-01 01:52:37 +00:00
Steven Edwards
aa33e15965 Merge in Winehq commits. - not enabled yet
svn path=/trunk/; revision=9953
2004-06-30 20:51:45 +00:00
Steven Edwards
6cfb2b5848 Merge in Winehq commits.
svn path=/trunk/; revision=9952
2004-06-30 20:42:18 +00:00
Gé van Geldorp
8eb23c9e6c Fix IFileSystemBindData method order again.
svn path=/trunk/; revision=9951
2004-06-30 20:40:02 +00:00
Steven Edwards
e050a4dd03 Merge in Winehq commits.
svn path=/trunk/; revision=9950
2004-06-30 20:19:25 +00:00
Steven Edwards
458aec49c1 Merge in Winehq commits.
svn path=/trunk/; revision=9949
2004-06-30 19:14:24 +00:00
Steven Edwards
3af5a16e60 Merge in Winehq commits.
svn path=/trunk/; revision=9948
2004-06-30 19:07:22 +00:00
Eric Kohl
3ec9c96584 Add accessibility control panel.
svn path=/trunk/; revision=9947
2004-06-30 12:21:20 +00:00
Eric Kohl
9eefe9985c Add control panel icon.
svn path=/trunk/; revision=9946
2004-06-30 12:20:35 +00:00
Eric Kohl
c9ad0dddb4 - Add accessibility control panel. Patch by <j_anderw@sbox.tugraz.at>
- Use w32api.
- Add control panel icon.

svn path=/trunk/; revision=9945
2004-06-30 12:16:27 +00:00
Eric Kohl
e4d51272be Use w32api.
svn path=/trunk/; revision=9944
2004-06-30 12:11:11 +00:00
Eric Kohl
3845c9019c - Apply patch by <j_anderw@sbox.tugraz.at>.
- User w32api.
- Fix some tchar issues.

svn path=/trunk/; revision=9942
2004-06-30 10:53:05 +00:00
Eric Kohl
885e4ae102 Define PSCB_BUTTONPRESSED.
svn path=/trunk/; revision=9941
2004-06-30 10:49:18 +00:00
Filip Navara
52b944e9fb - Return correct ID for windowless timers in IntSetTimer.
svn path=/trunk/; revision=9940
2004-06-29 23:45:31 +00:00
Gé van Geldorp
a4a1cb1b98 Use DIB bitfields to create palette at > 8 bpp
svn path=/trunk/; revision=9939
2004-06-29 21:09:16 +00:00
Filip Navara
e83551ae34 - Fixed duplicate color conversion in Bitfields/RGB -> Indexed case.
svn path=/trunk/; revision=9937
2004-06-29 20:08:07 +00:00
Filip Navara
c891ec007e - Match the first 16 colors of the Windows (R) XP default palette.
svn path=/trunk/; revision=9936
2004-06-29 20:08:05 +00:00
Thomas Bluemel
70e1b16c27 fixed makefiles
svn path=/trunk/; revision=9935
2004-06-29 19:20:16 +00:00
Filip Navara
0ad9fa72f8 - Fixed list mode traversing.
svn path=/trunk/; revision=9934
2004-06-29 18:12:30 +00:00
Filip Navara
b43bcf2cc1 - Report 1 (Default) instead of 0 (Invalid) as the refresh frequency value.
svn path=/trunk/; revision=9933
2004-06-29 18:12:28 +00:00
Filip Navara
ecd1ebfec8 - Match the first 16 colors of the Windows (R) XP default palette.
svn path=/trunk/; revision=9932
2004-06-29 18:12:27 +00:00
Eric Kohl
91da5e1abe Add substitutions for 'MS Shell Dlg' and 'MS Shell Dlg 2' fonts.
svn path=/trunk/; revision=9931
2004-06-29 17:40:01 +00:00
Gé van Geldorp
653e60385e Fix IFileSystemBindData method order
svn path=/trunk/; revision=9930
2004-06-29 14:08:58 +00:00
Gé van Geldorp
4e347550d4 Fix RestartDialog() prototype
svn path=/trunk/; revision=9929
2004-06-29 13:51:59 +00:00
Gé van Geldorp
80df3c01b8 Minimize Wine porting headers
svn path=/trunk/; revision=9928
2004-06-29 13:47:27 +00:00
Gé van Geldorp
f1a2c7a2d5 Minimize Wine porting headers
svn path=/trunk/; revision=9927
2004-06-29 13:40:40 +00:00
Eric Kohl
b031cfa717 Set short path names for 'temp' and 'tmp' environment variables.
svn path=/trunk/; revision=9926
2004-06-29 12:06:01 +00:00
Eric Kohl
2a6745d9d4 Install control panel app and control panels.
svn path=/trunk/; revision=9925
2004-06-29 12:04:42 +00:00
Eric Kohl
56df203d1b - Load 16x16 and 32x32 icons.
- Use masked image lists.
- Clean-up menu IDs.

svn path=/trunk/; revision=9924
2004-06-29 12:03:56 +00:00
Filip Navara
c2f6de9e7b - Improved implementation of REGION_CreateFrameRgn that gives more correct results.
svn path=/trunk/; revision=9923
2004-06-29 06:08:54 +00:00
Filip Navara
e834678a62 - We don't need to have BuiltInRect member in the ROSRGNDATA structure. Since regions with only one rectangle have this rectange identical to the bounding one, we can use rdh.rcBounds instead and save 16 bytes.
svn path=/trunk/; revision=9921
2004-06-28 21:03:08 +00:00
Filip Navara
cffc8dfe09 - Import RtlImageDirectoryEntryToData from ntoskrnl and don't duplicate it.
svn path=/trunk/; revision=9920
2004-06-28 21:02:49 +00:00
Martin Fuchs
d5f50bdad5 - compatibility to expat version < 1.95.7
- handle missing XML encoding parameter

svn path=/trunk/; revision=9919
2004-06-28 20:38:42 +00:00
Filip Navara
06b882daa5 - Copied implementation of GetShortPathName[AW] from Wine.
svn path=/trunk/; revision=9918
2004-06-28 19:46:17 +00:00
Filip Navara
d9f6abff67 - Removed ReactOS specific hack in ImageList_DrawIndirect since the color conversions in Win32K are fixed now.
svn path=/trunk/; revision=9916
2004-06-28 17:03:46 +00:00
Filip Navara
f2e5d4cd25 - Fixed more color handling issues (mostly incorrect RGB <-> BGR swapping).
svn path=/trunk/; revision=9915
2004-06-28 17:03:35 +00:00
Filip Navara
a630cd560f - Fixed implementation of PALOBJ_cGetColors.
- Cleaned up IntEngCreateXlate and XLATEOBJ_iXlate a bit and fixed some cases (Indexed -> Bitfields/BGR, Bitfields/BGR -> Indexed).
- Removed simple color cache from ClosestColorMatch, because it wasn't thread safe and would return bogus values when more XLATEOBJs are used at once.

svn path=/trunk/; revision=9914
2004-06-28 15:53:17 +00:00
Eric Kohl
6c9226bcbf Don't use fixed size main window.
GetProcAddress() does not accept Unicode procedure names.
Visual improvements.

svn path=/trunk/; revision=9913
2004-06-28 12:05:16 +00:00
Martin Fuchs
3424e4ee4a add explorer-cfg-template.xml for explorer default configuration
svn path=/trunk/; revision=9912
2004-06-28 06:52:41 +00:00
Filip Navara
870260bec7 - Fixed bug in binary search algorithm.
svn path=/trunk/; revision=9909
2004-06-27 14:15:33 +00:00
Filip Navara
f764d79dbb - Fixed compilation.
svn path=/trunk/; revision=9908
2004-06-27 13:58:05 +00:00
Thomas Bluemel
988f8a5efc revert my previous patch
svn path=/trunk/; revision=9906
2004-06-27 12:21:32 +00:00
Eric Kohl
fbe9f7f64f Implement and use LdrProcessRelocationBlock().
svn path=/trunk/; revision=9905
2004-06-27 12:21:14 +00:00
Filip Navara
3bd4ef3363 - Better handling of error cases when no fonts are present in the system.
svn path=/trunk/; revision=9904
2004-06-27 11:24:43 +00:00
Filip Navara
13d400fbd2 - Better handling of error cases in DrawTextW.
svn path=/trunk/; revision=9903
2004-06-27 11:24:06 +00:00
Filip Navara
625c7953e5 - Better handling of error cases in font handling.
svn path=/trunk/; revision=9902
2004-06-27 11:23:57 +00:00
Filip Navara
6f6c0f76ef - Fixed compilation.
svn path=/trunk/; revision=9901
2004-06-27 11:23:57 +00:00
Thomas Bluemel
308a04ade4 don't crash if requested process couldn't be found
svn path=/trunk/; revision=9900
2004-06-27 10:16:59 +00:00
Filip Navara
2bb2c4aae8 - Replaced the old default mode algortihm with video mode list sorting.
- Added check for video mode memory model since we don't support anything but Direct Color and Packed Pixel modes.
- More work in order to support VBE 1.2.
- Fixed retun values in VBEInitialize.

svn path=/trunk/; revision=9899
2004-06-27 07:56:44 +00:00
Alex Ionescu
629da60934 Removed Named Arguments for non-public APIs and added explanations/sources for non-GNU IFS APIs.
svn path=/trunk/; revision=9898
2004-06-27 05:38:54 +00:00
Royce Mitchell III
8d2f559189 fix end-of-lines
svn path=/trunk/; revision=9897
2004-06-27 04:08:57 +00:00
Filip Navara
0ce9ce5756 - Use the Video Port driver Int 10 services instead of using undocumented Ke386CallBios function.
- Power management functions implementation. Based on patch by Magnus Olsen <magnus@itkonsult-olsen.com>.
- First steps towards VBE 1.2 support. Based on patch by Magnus Olsen <magnus@itkonsult-olsen.com>.

svn path=/trunk/; revision=9894
2004-06-26 22:30:34 +00:00
Filip Navara
20ac14caf5 - Added VideoPortQueryPerformanceCounter and VideoPortQueryServices to the import library definition file.
- Fixed minor memory overrun in VideoPortInitialize for older video drivers (< Win NT 5.1).

svn path=/trunk/; revision=9893
2004-06-26 22:30:34 +00:00
Gunnar Dalsnes
c12eca029d make misc/lcformat
svn path=/trunk/; revision=9892
2004-06-26 20:11:18 +00:00
Gunnar Dalsnes
add8be67c2 remove duplicate stuff due to adding lcformat from wine
impl. misc stuff from wine

svn path=/trunk/; revision=9891
2004-06-26 20:10:50 +00:00
Gunnar Dalsnes
def9bd7817 save modlue handle
svn path=/trunk/; revision=9890
2004-06-26 20:07:40 +00:00
Gunnar Dalsnes
2859278f6e Whole file ripped from Wine's dlls\\kernel\\lcformat.c, rev 1.7 and is unchanged except that includes are different. I thought about adding @implemented to each exported function, but this might make merging harder
svn path=/trunk/; revision=9889
2004-06-26 20:02:31 +00:00
Filip Navara
4ba7ff413b - Set the palette for image list DIBs that has 8 or less bits per pixel.
svn path=/trunk/; revision=9888
2004-06-26 18:22:14 +00:00
Filip Navara
9cea7cc06c - Readded the code for unportecting second page while relocating. Some applications like OpenOffice actually depend on it.
svn path=/trunk/; revision=9885
2004-06-26 15:11:14 +00:00
Filip Navara
399da20296 - Rewritten relocation code to not make invalid assumptions (".reloc" section name) and to not unprotect second page (not needed really).
svn path=/trunk/; revision=9884
2004-06-26 14:37:05 +00:00
Filip Navara
e4c1673f80 - Partial implementation of CompareStringW. Fixes bug #378.
svn path=/trunk/; revision=9883
2004-06-26 12:56:11 +00:00
Eric Kohl
9a0d240ea4 Stop at the real end of the relocation table.
svn path=/trunk/; revision=9881
2004-06-26 11:23:32 +00:00
Martin Fuchs
1336676b5e simplified chinese explorer resources by Larry Li <larry@mimios.com> (not for windres)
svn path=/trunk/; revision=9880
2004-06-26 10:43:18 +00:00
Thomas Bluemel
2678ec0387 fixed little gdi handle leak
svn path=/trunk/; revision=9879
2004-06-26 08:09:55 +00:00
Thomas Bluemel
97a29e0c78 fixed binary editing of strings in the ansi version, query and set the value using the unicode version in this case.
svn path=/trunk/; revision=9876
2004-06-25 23:47:04 +00:00
Steven Edwards
75fa578ba6 sndblst fixes based on patch by Sylvain Petreolle.
svn path=/trunk/; revision=9875
2004-06-25 23:30:22 +00:00
Eric Kohl
d5255272ce Fix a typo.
svn path=/trunk/; revision=9874
2004-06-25 19:05:20 +00:00
Eric Kohl
acf32a2988 Fix crash in loader relocation code.
svn path=/trunk/; revision=9872
2004-06-25 18:50:48 +00:00
Thomas Bluemel
2dea234132 re-added files that hyperion accidently deleted from HEAD
svn path=/trunk/; revision=9871
2004-06-25 16:39:41 +00:00
Eric Kohl
4531d96141 Expand user-specific environment variables.
svn path=/trunk/; revision=9870
2004-06-25 11:42:00 +00:00
KJK::Hyperion
07420e3dd3 Moved common SEH routines to Rtl, removed very wrong RtlUnwind implementation from ntoskrnl
svn path=/trunk/; revision=9868
2004-06-25 03:38:51 +00:00
KJK::Hyperion
7fa5587882 Committed in the hope CVS will shut the hell up and let me branch. Still part of the SEH work
svn path=/trunk/; revision=9865
2004-06-25 01:41:20 +00:00
Alex Ionescu
2708010986 Added Ke Stub Prototypes
svn path=/trunk/; revision=9864
2004-06-24 21:03:56 +00:00
Gé van Geldorp
f477796b79 Fix some forgotten EngCreateBitmap() calls
svn path=/trunk/; revision=9863
2004-06-24 19:43:49 +00:00
KJK::Hyperion
730275c800 Moved common SEH code to Rtl
svn path=/trunk/; revision=9862
2004-06-24 19:30:21 +00:00
Eric Kohl
4e65adddb3 Set user specific TEMP and TMP environment variables.
svn path=/trunk/; revision=9861
2004-06-24 14:49:26 +00:00
Eric Kohl
41871db16c Create user specific temp directory.
svn path=/trunk/; revision=9860
2004-06-24 14:48:33 +00:00
Thomas Bluemel
9f03850ba7 fixed redefinition of some constants for SystemParametersInfo()
svn path=/trunk/; revision=9859
2004-06-24 11:02:56 +00:00
Thomas Bluemel
3977da5dc6 1.fixed return type for NtSystemParametersInfo()
2. added missing definitions (NT5.1+) for SystemParametersInfo() to w32api

svn path=/trunk/; revision=9858
2004-06-24 09:44:06 +00:00
Gé van Geldorp
008c89dfce Remove duplicate "All Users" path component
svn path=/trunk/; revision=9857
2004-06-24 09:19:52 +00:00
Gé van Geldorp
87cc4ce95f Create temp directory
svn path=/trunk/; revision=9856
2004-06-24 09:17:33 +00:00
Eric Kohl
a36e6dca3b Cosmetic fixes.
svn path=/trunk/; revision=9855
2004-06-24 08:54:41 +00:00
Eric Kohl
3a3a3cc0aa Fix line breaks.
svn path=/trunk/; revision=9854
2004-06-24 08:54:03 +00:00
Gé van Geldorp
a3e366fdf9 Mirror PRKAPC_STATE found in ntoskrnl/include/internal/ps.h
svn path=/trunk/; revision=9853
2004-06-24 07:19:57 +00:00
Alex Ionescu
5bcda093f3 Added new files for Ke Stubs
svn path=/trunk/; revision=9852
2004-06-23 22:32:45 +00:00
Alex Ionescu
0f47167023 Added Ke Stubs
svn path=/trunk/; revision=9851
2004-06-23 22:32:24 +00:00
Alex Ionescu
c800cdda6e Added Ke Stub Prototypes
svn path=/trunk/; revision=9850
2004-06-23 22:21:26 +00:00
Alex Ionescu
3d29c6de30 Added Ldr Stub Prototypes
svn path=/trunk/; revision=9849
2004-06-23 22:21:03 +00:00
Alex Ionescu
5dc4ab6ba9 Added Ex Stub
svn path=/trunk/; revision=9848
2004-06-23 21:50:59 +00:00
Alex Ionescu
7f48bb36d7 Added New Io File for stubs
svn path=/trunk/; revision=9846
2004-06-23 21:43:45 +00:00
Alex Ionescu
3074af46ff Added Io Stub Prototypes
svn path=/trunk/; revision=9845
2004-06-23 21:43:19 +00:00
Alex Ionescu
f66364821f Added Io Stubs
svn path=/trunk/; revision=9844
2004-06-23 21:42:50 +00:00
Alex Ionescu
2b0f40b581 Added Ex Stubs
svn path=/trunk/; revision=9843
2004-06-23 21:37:06 +00:00
Alex Ionescu
d039c1362d Added new files for Ex Stubs
svn path=/trunk/; revision=9842
2004-06-23 21:03:43 +00:00
Alex Ionescu
68f96d4b10 Added Ex Prototypes
svn path=/trunk/; revision=9841
2004-06-23 21:02:35 +00:00
Alex Ionescu
62a4509b5f Added Ex Stubs
svn path=/trunk/; revision=9840
2004-06-23 21:01:28 +00:00
Hartmut Birr
b8b9f846b6 - Improved removable media support.
svn path=/trunk/; revision=9839
2004-06-23 20:23:59 +00:00
Alex Ionescu
83f7c0f126 Added Lpc Stubs
svn path=/trunk/; revision=9838
2004-06-23 19:49:21 +00:00
Alex Ionescu
517e96313d Added Ldr Stubs
svn path=/trunk/; revision=9837
2004-06-23 19:49:11 +00:00
Alex Ionescu
cd97bd13da Added Ldr Stub Prototypes
svn path=/trunk/; revision=9836
2004-06-23 19:48:53 +00:00
Alex Ionescu
96523ea314 Fixed KeRaiseUserException to return old EIP.
svn path=/trunk/; revision=9835
2004-06-23 19:48:39 +00:00
Alex Ionescu
814c815bc1 Fixed KeRaiseUserException to return old EIP.
svn path=/trunk/; revision=9834
2004-06-23 19:42:14 +00:00
Thomas Bluemel
7ebb752f56 fixed handling of variable arguments and free memory allocated by FormatMessage(). Thanks to Michael Fritscher for spotting this bug.
svn path=/trunk/; revision=9833
2004-06-23 19:32:17 +00:00
Thomas Bluemel
a1c2b75227 don't use the pointer if it's NULL...
svn path=/trunk/; revision=9831
2004-06-23 15:38:07 +00:00
Thomas Bluemel
94c3ee3a6a little fixes
svn path=/trunk/; revision=9830
2004-06-23 15:30:21 +00:00
Eric Kohl
411068e4cc Implement the ability to write the bootcode to a floppy disk.
svn path=/trunk/; revision=9829
2004-06-23 14:09:55 +00:00
Gé van Geldorp
80dcdcc7f6 Remove debugging statement
svn path=/trunk/; revision=9826
2004-06-23 07:40:45 +00:00
Gé van Geldorp
4d08b708f4 Handle RLE bottom-up dibs
svn path=/trunk/; revision=9825
2004-06-23 07:31:22 +00:00
Alex Ionescu
61d1eb4f34 Added reason for copyimage fixme, declared as unimplemented, and added variable to only display dbgprint once.
svn path=/trunk/; revision=9824
2004-06-23 05:04:30 +00:00
Alex Ionescu
657b2275c7 KD Stubs Added.
svn path=/trunk/; revision=9823
2004-06-23 00:49:43 +00:00
Alex Ionescu
be03c322b3 DBG/KD Types and Prototypes Added.
svn path=/trunk/; revision=9822
2004-06-23 00:49:22 +00:00
Alex Ionescu
76321fa025 FSRTL Stubs Added.
svn path=/trunk/; revision=9821
2004-06-23 00:42:21 +00:00
Alex Ionescu
9467b632c1 FSRTL Types and Prototypes Added.
svn path=/trunk/; revision=9820
2004-06-23 00:41:55 +00:00
Alex Ionescu
f737c1e98a DBG Stubs Added.
svn path=/trunk/; revision=9819
2004-06-23 00:15:59 +00:00
Alex Ionescu
ba71f37690 CM (Registry Manager) Stubs added (Registry Callbacks)
svn path=/trunk/; revision=9818
2004-06-23 00:12:41 +00:00
Gé van Geldorp
9130d5d683 Update version number to 0.2.x
svn path=/trunk/; revision=9817
2004-06-22 23:27:48 +00:00
Gé van Geldorp
47e5aeceab Convert between RGBQUAD and PALETTEENTRY
svn path=/trunk/; revision=9814
2004-06-22 20:08:17 +00:00
Eric Kohl
a8b5ba5a72 Add missing IOCTL codes.
svn path=/trunk/; revision=9812
2004-06-22 14:00:36 +00:00
Royce Mitchell III
2e89468648 small bugfix - debug/release inconsistency - found by Thomas Weidenmueller
svn path=/trunk/; revision=9811
2004-06-22 12:43:49 +00:00
Richard Campbell
55dc4a9268 very basic makefile for vs2003 (and the free tools). Please note that some programs don't compile properly, will take a look at this later.
svn path=/trunk/; revision=9810
2004-06-22 10:46:09 +00:00
Vizzini
c7ce024b3a minor debug message fix
svn path=/trunk/; revision=9809
2004-06-22 03:02:33 +00:00
KJK::Hyperion
362995c318 Does ntoskrnl really need its own makefile?
svn path=/trunk/; revision=9808
2004-06-21 21:07:29 +00:00
Hartmut Birr
7b96a26e57 - Enabled the command queueing (in DiskClassCreateDeviceObject).
- Do always reread the partition table in DiskBuildPartitionTable,
  because DiskBuildPartitionTable is only called for removable media's.
- If there is no partition table available, set the disk data entries
  for this volume to the super floppy format (in DiskBuildPartitionTable).

svn path=/trunk/; revision=9807
2004-06-21 21:03:12 +00:00
Hartmut Birr
7d5a8e2e07 - Reduced the necessary size of inquiry data to 4 byte.
- Incremented the active irp counters in SpiAddActiveIrp,
  because the valid value is necessary in this function while starting new irp's.
- Do not set the command queueing enable flag in SpiAddActiveIrp,
  because this is the job of a driver above scsiport.

svn path=/trunk/; revision=9806
2004-06-21 21:00:37 +00:00
Hartmut Birr
924522f57c - Fixed the access to an uninitialized variable in IntCreateClass.
svn path=/trunk/; revision=9805
2004-06-21 20:56:53 +00:00
KJK::Hyperion
bfce2bcf20 Another PSEH fix
svn path=/trunk/; revision=9804
2004-06-21 20:55:16 +00:00
Martin Fuchs
d9954bc076 disable explorer sidebar in SDI mode
svn path=/trunk/; revision=9803
2004-06-21 19:32:49 +00:00
Thomas Bluemel
8d5c063840 use FormatMessage() to print some error messages. Patch by Michael Fritscher.
svn path=/trunk/; revision=9801
2004-06-21 18:57:22 +00:00
Thomas Bluemel
ae0bc4e939 1. fixed compiler warning
2. German resource update by Michael Fritscher

svn path=/trunk/; revision=9800
2004-06-21 18:32:36 +00:00
Royce Mitchell III
d82a66b206 gone with the wind - sorry for that, I guess CVS isn't feeling well today
svn path=/trunk/; revision=9799
2004-06-21 18:22:59 +00:00
Eric Kohl
edd6cd0190 Fixed icon masks.
svn path=/trunk/; revision=9798
2004-06-21 17:11:00 +00:00
Royce Mitchell III
84fff6f7f2 cvsignore maintainance
svn path=/trunk/; revision=9797
2004-06-21 16:58:28 +00:00
Eric Kohl
6d403cae78 Detect parallel ports.
svn path=/trunk/; revision=9796
2004-06-21 12:23:01 +00:00
Eric Kohl
62e0fe6b5e Stop dumping PnP nodes at an empty node.
svn path=/trunk/; revision=9795
2004-06-21 12:12:01 +00:00
Thomas Bluemel
a10440fe8a merged focus handling code from wine
svn path=/trunk/; revision=9794
2004-06-21 10:24:52 +00:00
Thomas Bluemel
208898d3cd added support for deleting values
svn path=/trunk/; revision=9793
2004-06-21 08:47:38 +00:00
Thomas Bluemel
aed08f7da3 moved several strings to the application resources
svn path=/trunk/; revision=9792
2004-06-21 07:48:11 +00:00
Martin Fuchs
1f85769d05 capture mode while scrolling start menus
svn path=/trunk/; revision=9791
2004-06-21 06:46:44 +00:00
Alex Ionescu
c8fb75517f Added two new Cache Manager files added for the stubs.
svn path=/trunk/; revision=9790
2004-06-21 04:12:59 +00:00
Alex Ionescu
821f740fc7 Added Stubs for Cache Manager functions in their appropriate file.
svn path=/trunk/; revision=9789
2004-06-21 04:11:44 +00:00
Art Yerkes
1fe3a2d6c3 Switched the sense of the onlyLoopback flag in getNumNonLoopbackAdapters
and kin.  I had the sense of needing only loopback adapters or all adapters
inverted.

Our info ioctl still misidentifies the adapters with respect to loopback
and not.

svn path=/trunk/; revision=9788
2004-06-21 02:21:16 +00:00
Thomas Bluemel
16ea2c47a7 fixed scrollbar issues
svn path=/trunk/; revision=9787
2004-06-21 01:30:34 +00:00
Gunnar Dalsnes
bb74619906 remove unused stub SetCriticalSectionSpinCount (it's forwarded to ntdll)
svn path=/trunk/; revision=9786
2004-06-20 23:42:07 +00:00
Gunnar Dalsnes
00eec04d6e added comment to FreeSid
svn path=/trunk/; revision=9785
2004-06-20 23:39:07 +00:00
Gunnar Dalsnes
2a54e31ff6 added RtlpDuplicateUnicodeString
fixed RtlFreeSid return type

svn path=/trunk/; revision=9784
2004-06-20 23:37:52 +00:00
Gunnar Dalsnes
3b854207b7 forgot to change some memory allocator calls
added RtlpDuplicateUnicodeString

svn path=/trunk/; revision=9783
2004-06-20 23:35:14 +00:00
Gunnar Dalsnes
da670920b9 forgot to change some memory allocators calls
added comment to RtlFreeSid and changed its retval

svn path=/trunk/; revision=9782
2004-06-20 23:30:47 +00:00
Gunnar Dalsnes
75a50813aa moved encode|image|splaytee into rtl
svn path=/trunk/; revision=9781
2004-06-20 23:27:21 +00:00
Gunnar Dalsnes
d26418fb30 moved into rtl
svn path=/trunk/; revision=9780
2004-06-20 23:25:34 +00:00
Gunnar Dalsnes
13e51e12a9 move rtl/version|image|encode into rtl
svn path=/trunk/; revision=9779
2004-06-20 23:22:06 +00:00
Thomas Bluemel
77ea00dd50 some little fixes
svn path=/trunk/; revision=9778
2004-06-20 22:52:39 +00:00
Gé van Geldorp
b24bc6c8de Prefer non-topmost windows when activating another window
svn path=/trunk/; revision=9776
2004-06-20 22:27:19 +00:00
Gé van Geldorp
db14b748c7 Don't activate invisible windows
svn path=/trunk/; revision=9774
2004-06-20 22:25:14 +00:00
Martin Fuchs
84970bfa09 scroll mode for very long start menus
svn path=/trunk/; revision=9773
2004-06-20 21:42:59 +00:00
Thomas Bluemel
c7eb76e4d3 some minor fixes to the hex edit control
svn path=/trunk/; revision=9771
2004-06-20 19:26:59 +00:00
Thomas Bluemel
ceaaf3d4fc fixed compiling issues
svn path=/trunk/; revision=9770
2004-06-20 18:48:46 +00:00
Thomas Bluemel
c86604cbe4 display hex dump of the binary data
svn path=/trunk/; revision=9769
2004-06-20 18:36:31 +00:00
Royce Mitchell III
8350c577cb fixed that stupid run dialog not defaulting to the combobox.... finally! patch submitted to wine also already.
svn path=/trunk/; revision=9768
2004-06-20 16:43:58 +00:00
Filip Navara
1c4f8bd790 - Fix video mode list traversing. Reported by Royce Mitchel III.
svn path=/trunk/; revision=9767
2004-06-20 16:37:15 +00:00
Gé van Geldorp
10400889eb Activate window on non-client click too
svn path=/trunk/; revision=9765
2004-06-20 16:27:14 +00:00
Filip Navara
2541337d8b - Add HwResetHw implementation that uses VBE set mode call to restore video mode.
svn path=/trunk/; revision=9764
2004-06-20 16:06:12 +00:00
Filip Navara
6467833ecc - Fixed very stupid bug with pointer handling in NtUserBuildHwndList.
svn path=/trunk/; revision=9763
2004-06-20 16:06:05 +00:00
Filip Navara
b688080896 - Cleaned up IntVideoPortResetDisplayParameters a bit.
svn path=/trunk/; revision=9762
2004-06-20 16:05:47 +00:00
Royce Mitchell III
7d0c7ca853 much nicer-looking 8-bit versions of drives.ico and desktop.ico - the wine project is welcome to have this change if they want it.
svn path=/trunk/; revision=9761
2004-06-20 14:12:00 +00:00
Thomas Bluemel
e17ebf0811 some more work on the hex edit control (added messages for loading/changing the buffer)
svn path=/trunk/; revision=9760
2004-06-20 13:35:03 +00:00
Filip Navara
c75be21c00 - Call the "load default cursor" callback. Fixes bug #358.
svn path=/trunk/; revision=9753
2004-06-20 12:34:20 +00:00
Thomas Bluemel
8cbe40b0ad some work on editing binary registry values (not working yet)
svn path=/trunk/; revision=9752
2004-06-20 12:21:47 +00:00
Eric Kohl
17bdc6a18d Add display type (VGA or VESA) selection.
svn path=/trunk/; revision=9751
2004-06-20 12:18:08 +00:00
Martin Fuchs
637a86a286 fix opening explorer sub folders in MDI mode - problem spotted and debugged by Ge van Geldorp
svn path=/trunk/; revision=9749
2004-06-20 12:10:45 +00:00
Gé van Geldorp
bbfafe3c22 Reserve ordinals 90 and 91. Fixes bug 182.
svn path=/trunk/; revision=9747
2004-06-20 10:39:21 +00:00
Gé van Geldorp
2e60fd207a Handle ordinals which are not exported
svn path=/trunk/; revision=9745
2004-06-20 10:36:17 +00:00
Filip Navara
39d8412f56 - Use raw size for image sections if virtual size isn't specified. Patch by Nathan Lineback <lineback@toastytech.com> from BugZilla #364.
svn path=/trunk/; revision=9744
2004-06-20 10:21:48 +00:00
Filip Navara
9fc35cab4e - Handle correctly "Unknown" media type in VfatHasFileSystem. This gets the floppy disk driver working.
svn path=/trunk/; revision=9743
2004-06-20 09:52:58 +00:00
Eric Kohl
b23ea08f8a Detect display controller. Distinguish VGA and VBE display devices.
svn path=/trunk/; revision=9742
2004-06-20 09:12:10 +00:00
Vizzini
aeb397b5ab various bugfixes to IoQueryDeviceDescription and friends. The floppy driver now loads and finds the drive properly.
svn path=/trunk/; revision=9741
2004-06-20 04:50:02 +00:00
Vizzini
0064a17a7c clarified a misleading comment
svn path=/trunk/; revision=9740
2004-06-20 03:36:44 +00:00
Vizzini
6993ae4ae2 fixed a bug in IoCsqRemoveNextIrp (missing break)
svn path=/trunk/; revision=9739
2004-06-20 03:29:29 +00:00
Royce Mitchell III
bda771abc0 much nicer-looking 8-bit versions of mycomputer.ico - the wine project is welcome to have this change if they want it.
svn path=/trunk/; revision=9738
2004-06-20 03:06:31 +00:00
Thomas Bluemel
4c4f493412 some fixes to be able to create a unicode build
svn path=/trunk/; revision=9737
2004-06-20 02:22:44 +00:00
Vizzini
841ace6796 backed out bugified patch
svn path=/trunk/; revision=9736
2004-06-20 02:10:07 +00:00
Thomas Bluemel
491f067798 added support to edit REG_MULTI_SZ strings.
svn path=/trunk/; revision=9735
2004-06-20 01:07:26 +00:00
Filip Navara
963c2bcf6e - Allocate memory from PagedPool instead of NonPagedPool where possible.
- Backported font initialization code with fixed memory leaks from my unfinished font handling rewrite patch.

svn path=/trunk/; revision=9734
2004-06-20 00:45:37 +00:00
Filip Navara
ce56ff1648 - Fixed memory corruption in IopInitializeBuiltinDriver.
[Should be ported to 0.2.3 release branch too.]

svn path=/trunk/; revision=9733
2004-06-20 00:44:55 +00:00
Thomas Bluemel
46f51fc218 display REG_NONE and REG_MULTI_SZ values
svn path=/trunk/; revision=9732
2004-06-19 23:12:58 +00:00
Filip Navara
566b3a9f38 - Increment the number of free pages in MmFreeMemory.
svn path=/trunk/; revision=9731
2004-06-19 22:42:41 +00:00
Filip Navara
a3de47e17a - Fixed NtUserDestroyWindow to correctly destroy owned windows. Fixes bugs #342 and #350.
[Should be ported to 0.2.3 release branch too.]

svn path=/trunk/; revision=9730
2004-06-19 20:18:09 +00:00
Filip Navara
0b27c9bbe9 - Force importing _vsnprintf from MSVCRT. The NTDLL version doesn't support %f specifiers.
svn path=/trunk/; revision=9728
2004-06-19 17:58:37 +00:00
Richard Campbell
b793f5ef6d very basic makefile for vs2003 (and the free tools). Please note that some programs don't compile properly, will take a look at this later.
svn path=/trunk/; revision=9726
2004-06-19 12:40:41 +00:00
Vizzini
4444a6885d patch by Tom (tmkpl@poczta.onet.pl)
to clean up return val checking of some mdl calls

svn path=/trunk/; revision=9725
2004-06-19 08:53:35 +00:00
Filip Navara
5d2036782e - Fixed compilation problems with MinGW runtime 3.3.
svn path=/trunk/; revision=9724
2004-06-19 08:52:40 +00:00
Filip Navara
e19a20e71e - Callbacks implementation. A little modified patch by Alex Ionescu (alex@relsoft.net).
svn path=/trunk/; revision=9723
2004-06-19 08:48:01 +00:00
Vizzini
bb2c3e3a72 fixed an extremely irritating bug in an enum
svn path=/trunk/; revision=9722
2004-06-19 08:47:59 +00:00
Filip Navara
88f213ea72 - Corrected shell paths.
svn path=/trunk/; revision=9721
2004-06-19 07:56:16 +00:00
Vizzini
2a5689bb0b added support for setting Component Information for the ISA bus; fixed a minor bug
svn path=/trunk/; revision=9720
2004-06-19 06:03:37 +00:00
Steven Edwards
0cbe4f2842 added stubs for the Cache Manager by Alex Ionescu.
svn path=/trunk/; revision=9719
2004-06-19 05:04:33 +00:00
Art Yerkes
5954327e76 Change from unclegarlic: Don't overwrite packet length.
svn path=/trunk/; revision=9718
2004-06-19 02:03:33 +00:00
Gero Kuehn
fa242a9267 changed from control.cpp to control.c, changed \ to / in control.c
svn path=/trunk/; revision=9717
2004-06-19 00:11:44 +00:00
KJK::Hyperion
03c4c34d21 Attempt to fix PSEH compilation for kernel-mode targets. Arty please test this
svn path=/trunk/; revision=9716
2004-06-18 22:33:06 +00:00
Gero Kuehn
038cca4d58 initial checkin of the non-shell-namespace-based control panel and software add/remove cpl
svn path=/trunk/; revision=9715
2004-06-18 20:43:44 +00:00
Filip Navara
86c4140124 - Get this test compilable.
svn path=/trunk/; revision=9714
2004-06-18 17:37:02 +00:00
Steven Edwards
6f53b7dbce Added font enumeratiion demo
svn path=/trunk/; revision=9713
2004-06-18 17:26:59 +00:00
Filip Navara
81d4e43dda - VideoPortInt10 should copy back the output registers to caller.
svn path=/trunk/; revision=9712
2004-06-18 17:20:49 +00:00
Martin Fuchs
751d25b2ea eliminate GCC warning
svn path=/trunk/; revision=9709
2004-06-18 16:59:47 +00:00
Martin Fuchs
24fdd29e94 eliminate GCC warning
svn path=/trunk/; revision=9707
2004-06-18 16:44:59 +00:00
Martin Fuchs
be7a6c466b re-enable DesktopWindow::OnDefaultCommand to open explorer windows on desktop double clicks
svn path=/trunk/; revision=9706
2004-06-18 16:36:00 +00:00
Filip Navara
26c98df753 - Map correct amount of the video memory.
svn path=/trunk/; revision=9705
2004-06-18 16:26:51 +00:00
Filip Navara
80799cc3c8 Changelog:
- Don't change DC origin in NtGdiOffsetViewportOrgEx
- Update transformation matrix in NtGdiSetViewportExtEx,
  NtGdiSetWindowExtEx, NtGdiSetWindowOrgEx, NtGdiOffsetWindowOrgEx
- When creating new DC initialize the Viewport/Window extensions.
- Transform logical coordinates to device ones in NtGdiExtTextOut
  and NtGdiLineTo.

svn path=/trunk/; revision=9703
2004-06-18 15:18:58 +00:00
Gero Kuehn
9ba82f014d added SetFocus call for the username dialog
svn path=/trunk/; revision=9702
2004-06-17 21:23:50 +00:00
Eric Kohl
78f151b9d3 Add missing nls settings for Great Britain.
This fixes bug #344.

svn path=/trunk/; revision=9700
2004-06-17 18:29:44 +00:00
Gé van Geldorp
2d902a8146 Remove obsolete ide and (old) floppy drivers
svn path=/trunk/; revision=9698
2004-06-17 13:28:53 +00:00
Eric Kohl
c792e5b04c Fix typos.
svn path=/trunk/; revision=9696
2004-06-17 10:49:51 +00:00
Eric Kohl
06e579a944 Compile advapi32 using w32api.
svn path=/trunk/; revision=9695
2004-06-17 09:07:12 +00:00
Art Yerkes
0766c089ec This makes RtlUnicodeStringToInteger work like the win2k version. Basically
this function never checks the validity of the input string and only returns
an error when the Base argument is set incorrectly.

This fixes the bug while booting vmware with the pcnet card on.

svn path=/trunk/; revision=9694
2004-06-17 03:47:39 +00:00
Eric Kohl
7d375e8c48 Add some missing error codes.
svn path=/trunk/; revision=9693
2004-06-16 22:13:19 +00:00
Filip Navara
4e81faa948 - Bump version number to 0.2.4.
svn path=/trunk/; revision=9691
2004-06-16 21:42:24 +00:00
Eric Kohl
f38668e736 Add keyboard detection.
svn path=/trunk/; revision=9690
2004-06-16 20:21:20 +00:00
Gé van Geldorp
0a30ec98a3 Update porting status
svn path=/trunk/; revision=9688
2004-06-16 18:50:19 +00:00
Gé van Geldorp
b3e8303421 Sync to Wine-20040615:
Robert Reif <reif@earthlink.net>
- Added some trace and debug printing.
- Fixed a problem were a trace accesses a data member that may be
  outside of the actual data structure passed in.
- Added some more debug traces.
- Don't try to map the mapper device.
Mike McCormack <mike@codeweavers.com>
- Fix PlaySound.
Eric Pouech <pouech-eric@wanadoo.fr>
- GetModuleFileName[AW] doesn't terminate the string if the buffer is
  too small.
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- Fixed missing inversion in bit manipulation.
Ivan Leo Puoti <puoti@inwind.it>
- Changed my name, so update copyright info.

svn path=/trunk/; revision=9686
2004-06-16 18:48:46 +00:00
Gé van Geldorp
a41cfac6b9 Sync to Wine-20040615:
Robert Reif <reif@earthlink.net>
- Added tracing to all functions.
- Added error explanations.
- Changed debug channel from msacm to wavemap so not confused with
  msacm.
- Handle case where partial structure update requested.
- Minor white space cleanup.
- Returns proper error code when trying to get caps when no devices
  present.
- Fixed a bug where wrong a return value was returned when mapping is
  not possible.

svn path=/trunk/; revision=9685
2004-06-16 18:40:05 +00:00
Gé van Geldorp
fd397eeccd Sync to Wine-20040615:
Hans Leidekker <hans@it.vu.nl>
- Link to ntdll.
Raphael Junqueira <fenix@club-internet.fr>
- Stub for SHFlushSFCacheWrap.
Eric Pouech <pouech-eric@wanadoo.fr>
- GetModuleFileName[AW] doesn't terminate the string if the buffer is
  too small.
Stefan Leichter <Stefan.Leichter@camLine.com>
- Moved stub of StopWatch from ascii to unicode.

svn path=/trunk/; revision=9684
2004-06-16 18:27:33 +00:00
Gé van Geldorp
2b3293eb3a Sync to Wine-20040615:
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Fix ref count on standard proxy creation.
- Release channel buffer in StdMarshal_UnmarshalInterface, since we no
  longer use it and the proxy should have taken a reference on it.
- Add a few comments.
Eric Pouech <pouech-eric@wanadoo.fr>
- GetModuleFileName[AW] doesn't terminate the string if the buffer is
  too small.
Patrik Stridvall <ps@leissner.se>
- Fixed some issues found by winapi_check.

svn path=/trunk/; revision=9683
2004-06-16 18:21:24 +00:00
Gé van Geldorp
129d08fec4 Sync to Wine-20040615:
Ivan Leo Puoti <puoti@inwind.it>
- Changed my name, so update copyright info.

svn path=/trunk/; revision=9682
2004-06-16 18:13:23 +00:00
Filip Navara
4addf164b6 - Disable the "Floppy count: x" debug message.
svn path=/trunk/; revision=9681
2004-06-16 16:59:27 +00:00
Gé van Geldorp
92599b546e Sync to Wine-20040615:
Marcus Meissner <marcus@jet.franken.de>
- Revert broken strict aliasing fix.
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Fix ref count on standard proxy creation.
- Release channel buffer in StdMarshal_UnmarshalInterface, since we no
  longer use it and the proxy should have taken a reference on it.
- Add a few comments.
- Fixed CoMarshalInterThreadInterfaceInStream and
  CoGetInterfaceAndReleaseStream.
Patrik Stridvall <ps@leissner.se>
- Fixed some issues found by winapi_check.

svn path=/trunk/; revision=9680
2004-06-16 07:06:50 +00:00
Gé van Geldorp
6c4df3df68 Sync to Wine-20040615:
Patrik Stridvall <ps@leissner.se>
- Fixed some issues found by winapi_check.
Krishna Murthy <Krishna.Murthy@guptaworldwide.com>
- WNetGetConnection(): use QueryDosDevice to return a fake remote name
  instead of the drive label.

svn path=/trunk/; revision=9679
2004-06-16 06:58:48 +00:00
Gé van Geldorp
e054bf54e2 Sync to Wine-20040615:
Ivan Leo Puoti <puoti@inwind.it>
- Changed my name, so update copyright info.
Ilya Korniyko <k_ilya@ukr.net>
- Encoding fixes in Ukrainian translation.
Wolfgang Schwotzer <wolfgang.schwotzer@gmx.net>
- Support lpstrCustomFilter and return nFilterIndex in file dialog.
Rein Klazes <rklazes@xs4all.nl>
- In FILEDLG_ScanDir do not try to set the current directory to a path
  that is empty.

svn path=/trunk/; revision=9678
2004-06-16 06:54:39 +00:00
Gé van Geldorp
11761ed436 Sync to Wine-20040615:
Maxime Bellenge <maxime.bellenge@laposte.net>
- Implemented PSH_WIZARD97_OLD and PSH_WIZARD97_NEW property sheet
  styles.
- Add DT_END_ELLIPSIS as defaut style for text.
Ilya Korniyko <k_ilya@ukr.net>
- Encoding fixes in Ukrainian translation.
Filip Navara <xnavara@volny.cz>
- Let the subclassing stack grow the opposite way to make the code
  more transparent.
- Remove SubclassWndProc and move its logic to DefSubclassProc.
Dimitrie O. Paun <dpaun@rogers.com>
- Clear the state image bits only if LVS_EX_CHECKBOXES is set.
- Fix obvious logical error in focus handling.
- Indentation and formatting fixes.
- (based on a patch by Krishna Murthy).
Ulrich Czekalla <ulrich@codeweavers.com>
- Handle case where iterator range contains 0 elements.
- Handle case when item text is empty.
  According to MSDN, length should be returned when lParam is NULL.
Patrik Stridvall <ps@leissner.se>
- StrSpnW doesn't exist in comctl32.dll but StrCSpnW does.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Implemented TCM_SETITEMEXTRA.
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Don't draw whole button pressed when separate dropdown pressed, just
  the separate dropdown itself.
- TBN_DRAGOUT and NM_RDBLCLK notifications.
- Remove unneeded member of private toolbar struct.

svn path=/trunk/; revision=9677
2004-06-16 06:46:13 +00:00
Gé van Geldorp
dc9dfeec01 Remove debug stuff accidentaly left in
svn path=/trunk/; revision=9676
2004-06-16 06:18:14 +00:00
Gé van Geldorp
fbfd3a4820 Marshall WM_CREATE/WM_NCCREATE messages
svn path=/trunk/; revision=9675
2004-06-16 06:09:40 +00:00
Gé van Geldorp
3cca4fd859 Build "new" floppy driver instead of non-functional "old" one
svn path=/trunk/; revision=9674
2004-06-15 22:33:47 +00:00
Eric Kohl
2fbcaac90d Detect floppy disk drives.
svn path=/trunk/; revision=9673
2004-06-15 12:22:19 +00:00
Hartmut Birr
cfef139c5b - Reduced the size of the necessary inquiry data length to recognize a device as valid.
svn path=/trunk/; revision=9672
2004-06-15 09:29:41 +00:00
Hartmut Birr
4536f9c25b - Interpret the sign for qualifier 'l'.
svn path=/trunk/; revision=9671
2004-06-15 08:53:53 +00:00
Hartmut Birr
aefc8f79e7 - Initialized the variable status to get on success a proper return value.
svn path=/trunk/; revision=9670
2004-06-15 08:17:23 +00:00
Art Yerkes
5fd39d97bb recv now works every time
- Standardized on recvfrom request and reply everywhere
- Added a continuous parameter to FillWSABuffers for stream sockets
- Added function TryToSatisfyRecvRequest
- Create MDLs for the WSABUFS.  These are needed because we aren't in our
  home process when tcpip calls back with data.
- Removed extraneous and potentially confusing lock ReadRequestQueueLock
  Now both ReadRequestQueue and ReceiveQueue rely on ReceiveQueueLock

svn path=/trunk/; revision=9669
2004-06-15 02:56:13 +00:00
Filip Navara
9725dc0746 - Update trasformation matrix in SetViewportOrgEx.
svn path=/trunk/; revision=9668
2004-06-14 20:58:51 +00:00
Filip Navara
4cb0e04a46 - Packing fixes
svn path=/trunk/; revision=9667
2004-06-14 20:05:00 +00:00
Art Yerkes
0999a0ef81 Preliminary version of recv.
svn path=/trunk/; revision=9666
2004-06-14 03:22:27 +00:00
Art Yerkes
f773e32aab rawip: Removed the deallocation of the client-supplied mdl. This does not
appear to be part of the definition and is not done in the UDP case.
event: I moved the close notify into it's own function so that it can be
worked on separately.

svn path=/trunk/; revision=9665
2004-06-14 01:40:48 +00:00
Filip Navara
6435dec245 - Compile kernel32 using w32api.
- Fixed some packing issues in DDK headers (more to come).

svn path=/trunk/; revision=9664
2004-06-13 20:04:56 +00:00
Filip Navara
3aa5dd5be2 - Fixed list traversing in MmAlterRegion to correctly handle Length that is greater than real memory area size.
svn path=/trunk/; revision=9663
2004-06-13 14:05:53 +00:00
Martin Fuchs
1a9133bf9b Unicode fix
svn path=/trunk/; revision=9662
2004-06-13 12:56:39 +00:00
Martin Fuchs
9ca2c517db XMLStorage update: XMLReaderBase
svn path=/trunk/; revision=9661
2004-06-13 12:45:29 +00:00
Filip Navara
ebb7ad1e4a - Fixed prototypes of NtAddAtom, NtFindAtom, NtProtectVirtualMemory and KeQueryInterruptTime.
svn path=/trunk/; revision=9660
2004-06-13 10:35:53 +00:00
Art Yerkes
25ae3e20a7 Removed redundant tracking (now incorporated into NdisAllocatePacket, etc)
that was causing a bugcheck in the 'ping to us' case.  The memory was detected
tracked twice (correctly).

This condition was detected by mifritcher after I checked in.

svn path=/trunk/; revision=9659
2004-06-12 04:46:18 +00:00
Gé van Geldorp
57c3c75356 Set MaximumLength to size of allocated memory
svn path=/trunk/; revision=9658
2004-06-11 20:15:07 +00:00
Gé van Geldorp
b2e222b305 Patch by Michael Fritscher <michael@fritscher.net>
Add /? and /s cmdline options

svn path=/trunk/; revision=9657
2004-06-11 14:10:12 +00:00
Gé van Geldorp
58b454b469 Patch by Michael Fritscher <michael@fritscher.net>
Fix CVS warnings.

svn path=/trunk/; revision=9656
2004-06-11 13:59:16 +00:00
Eric Kohl
839baba4ae The root bus driver should return an empty resource list on IRP_MN_QUERY_RESOURCES.
svn path=/trunk/; revision=9655
2004-06-11 09:33:42 +00:00
Gé van Geldorp
ab0a1921c1 Prevent CVS warnings about .*.d files
svn path=/trunk/; revision=9654
2004-06-11 09:10:17 +00:00
Eric Kohl
fbda4aa735 Retrieve Hardware IDs and Compatible IDs from the bus driver and attach them to the device node.
svn path=/trunk/; revision=9653
2004-06-10 11:00:28 +00:00
Hartmut Birr
00df170a8a - Enabled the dependency check for the storage drivers.
svn path=/trunk/; revision=9652
2004-06-10 08:20:20 +00:00
Hartmut Birr
5f843bef93 - Use a bitmap for managing the srb extensions.
- Removed the complete request and next request counter.
  The counters are always wrong, because some miniport drivers fires up
  to much notification requests.
- Enable the queues for the miniport driver, if they are supported.
- Fixed a bug in ScsiPortCompleteRequest.

svn path=/trunk/; revision=9651
2004-06-10 08:14:57 +00:00
Hartmut Birr
b5273a652c - Allocate for each srb its one sense info buffer.
- Reinitialize the transfer size if a retry is necessary in ScsiClassSendSrbSynchronous.

svn path=/trunk/; revision=9650
2004-06-10 07:56:42 +00:00
Hartmut Birr
c3e66860e4 - Exchanged source and target in WRITE_REGISTER_BUFFER_xxx.
svn path=/trunk/; revision=9649
2004-06-10 07:50:30 +00:00
Steven Edwards
5298bf9c05 added \n for DPRINT
svn path=/trunk/; revision=9648
2004-06-09 20:39:41 +00:00
Art Yerkes
c1d0686eaa This is a merge onto head of the last two months worth of changes to the
networking code.

There is individual change info on the branch arty_20040329.

Here is a summary of what changed:

tcpip:

- Added a mostly working transport/tcp branch based on oskittcp
  (checked in at drivers/lib/oskittcp).  This code shares almost nothing
  with the previous version.

- Regularized IRP handling

- Fixed ownership of buffers throughout tcpip.sys.  Buffers are now
  required to be copied in a few more cases, but everybody can call
  anybody else and not have to worry about keeping a buffer alive
  for any specific reason.

- Also moved lots more operations onto the stack (small datastructures
  and pointers).  This will result in a further simplification of the
  code here.

- Made each completion routine solely responsible for freeing memory
  from the corresponding action.

- Removed reference counted small address structures in favor if inlines

- Changed and clarified ownership rules almost everwhere

- Fixed a few more type punning style errors

- Added more info used by iphlpapi

- Added some memory tracing stuff

ndis:

- Fixed one or two type punning errors

ws2_32:

- Added getservbyname and getprotobyname (partial)

oskittcp:

- Diagnostics everywhere

- Eliminated dependence on raw_ip input

- Simplified buffering and signalling model a bit

- Added memory checking as in tcpip

- more to come

svn path=/trunk/; revision=9647
2004-06-09 18:11:39 +00:00
Eric Kohl
25e4bf3404 Build Hardware IDs and Compatible IDs for PCI devices.
svn path=/trunk/; revision=9646
2004-06-09 14:22:53 +00:00
Filip Navara
869566fc97 - Correctly set Irp->IoStatus.Information when handling IOCTL_BOOTVID_INITIALIZE request. This fixes the occasional page faults during bugchecks when NTOSKRNL:InbvResetDisplay tried to call function pointed by uninitialized variable.
svn path=/trunk/; revision=9645
2004-06-08 19:31:10 +00:00
Hartmut Birr
a51ef0df37 - Fixed the counting of pending irps.
svn path=/trunk/; revision=9644
2004-06-07 20:03:00 +00:00
Filip Navara
ba3d08e286 - Fixed redefinition of VERSION.
svn path=/trunk/; revision=9643
2004-06-07 18:03:12 +00:00
Filip Navara
4400aed363 - Include bootdata/hiveinst.inf when building the Live CD registry hives.
svn path=/trunk/; revision=9642
2004-06-07 17:31:50 +00:00
Hartmut Birr
da9b36f495 - Implemented ScsiPortCompleteRequest.
- Fixed the calculation of the max transfer size.
- Rewrote parts of SpiScanAdapter and SpiSendInquiry to speed up device detection.
- Fixed the handling of sense info data for HBA's which are auto request sense capability.
- Added some more debug messages.

svn path=/trunk/; revision=9641
2004-06-07 16:37:07 +00:00
Eric Kohl
5dabb7db10 Implement mouse driver autodetection and installation.
svn path=/trunk/; revision=9640
2004-06-07 12:24:00 +00:00
Hartmut Birr
440fa78c14 - Check if the temp directory exist, if not use the current directory.
svn path=/trunk/; revision=9639
2004-06-06 17:33:13 +00:00
Hartmut Birr
4a7c01adb6 - Cancelled my last change.
svn path=/trunk/; revision=9638
2004-06-06 17:29:57 +00:00
Eric Kohl
36b12d1025 Use hardware description if available to initialize the serial mouse port.
svn path=/trunk/; revision=9637
2004-06-06 15:55:03 +00:00
Hartmut Birr
1d4397159c - Allocate memory for mdl's for paging io from stack instead of the non paged pool.
svn path=/trunk/; revision=9636
2004-06-06 09:13:21 +00:00
Hartmut Birr
efc9160052 - Get first the parameters and do then the processing.
svn path=/trunk/; revision=9635
2004-06-06 09:05:21 +00:00
Hartmut Birr
5c92baff3c - Fixed the set command for WinXP.
- The second parameter must be zero in the call to SetEnvironmentVariable
  if the variable should be deleted.

svn path=/trunk/; revision=9634
2004-06-06 09:03:07 +00:00
Hartmut Birr
fbd64e0eb9 - Removed MakeSureDirectoryPathExistsEx.
- Use the current directory if GetTempPath fails.
- Inherit the handles to the child process (in Execute).
- Assume that the current process is always a console process if ntdll exist
  but not contains the functions NtQueryInformationProcess or NtReadVirtualMemory.

svn path=/trunk/; revision=9633
2004-06-06 08:58:56 +00:00
Hartmut Birr
419db01ef7 - Check if the temp path exist in GetTempPathW.
svn path=/trunk/; revision=9632
2004-06-06 08:50:26 +00:00
Hartmut Birr
353214e42e - Allocate memory for mdl's for paging io from stack instead of the non paged pool.
svn path=/trunk/; revision=9631
2004-06-06 08:36:31 +00:00
Hartmut Birr
3b09731efb - Store page numbers instead of physical address's within mdls.
svn path=/trunk/; revision=9630
2004-06-06 07:52:22 +00:00
Hartmut Birr
b4d6f4e01a - Added the dependence files to the clean target.
svn path=/trunk/; revision=9629
2004-06-05 20:10:41 +00:00
Hartmut Birr
113740ebbd - Fixed the start offset of a partition within an extended partition (in xHalIoWritePartitionTable).
svn path=/trunk/; revision=9628
2004-06-05 20:05:06 +00:00
Eric Kohl
1d623bc9b8 Store serial port identifiers at controller keys.
svn path=/trunk/; revision=9627
2004-06-05 19:52:23 +00:00
Hartmut Birr
893efd8a1f - Added a check for a waitable objects in NtWaitForSingleObject and NtWaitForMultipleObjects.
svn path=/trunk/; revision=9626
2004-06-05 18:52:35 +00:00
Filip Navara
6110c706c4 - Fixed getting of menu item texts in GetMenuItemInfo[AW]. Fixes bug #316.
- Fixed memory leak in MenuDrawPopupMenu.

svn path=/trunk/; revision=9625
2004-06-05 18:39:46 +00:00
Casper Hornstrup
037ba1baea Revert:
2004-06-05  Casper S. Hornstrup  <chorns@users.sourceforge.net>

	* Makefile: Split target all into three parts, one that must be executed
	alone and two that can be executed concurrently.

svn path=/trunk/; revision=9624
2004-06-05 13:39:02 +00:00
Hartmut Birr
c81a4db568 - Changed back to the old variable NASM_CMD.
svn path=/trunk/; revision=9623
2004-06-05 12:06:41 +00:00
Casper Hornstrup
f30f61c8fa 2004-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Split target all into three parts, one that must be executed
	alone and two that can be executed concurrently.

svn path=/trunk/; revision=9622
2004-06-05 11:11:13 +00:00
Casper Hornstrup
97d7e660f0 2004-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/helper.mk: Skip automatic dependency tracking if
	DEPENDENCIES=no.

svn path=/trunk/; revision=9621
2004-06-05 10:47:27 +00:00
Hartmut Birr
f79f677f01 - Added a comment for NASM_CMD.
svn path=/trunk/; revision=9620
2004-06-05 10:21:59 +00:00
Hartmut Birr
c530406b93 - Changed back to the old variable NASM_CMD.
svn path=/trunk/; revision=9619
2004-06-05 09:47:36 +00:00
Filip Navara
73dfa9e66a - Disable paging file for Live CD.
svn path=/trunk/; revision=9618
2004-06-05 09:35:52 +00:00
Filip Navara
f3f89873bd - Report the /MININT option for Live CD boots.
svn path=/trunk/; revision=9617
2004-06-05 09:35:51 +00:00
Hartmut Birr
3d8820b2b1 - Added the '<>|' key.
svn path=/trunk/; revision=9616
2004-06-05 09:08:58 +00:00
Filip Navara
39ff6d3136 - Fixed calculation of MFT record size.
- Fixed attribute finding/dumping bounds checking.
- Fixed reading of volume information MFT record.
- Disabled debug messages.

svn path=/trunk/; revision=9615
2004-06-05 08:28:37 +00:00
Filip Navara
70dfb7876f Merged changes from joliet_20040527 branch:
- Experimental Joliet generating support.
- Fixed cdname_exists to check only entries in specific directory.
- Move the DIRECTORY_FLAG logic to parse_filename_into_dirrecord.

svn path=/trunk/; revision=9614
2004-06-04 23:50:15 +00:00
Filip Navara
b820cca03e - Process the "DelReg" section in .inf files.
svn path=/trunk/; revision=9613
2004-06-04 23:47:04 +00:00
Filip Navara
fe2abd0550 - Support expanding environment variables in the setup command line.
svn path=/trunk/; revision=9612
2004-06-04 23:46:02 +00:00
Filip Navara
a880f2ee82 - Basic Live CD building infrastructure.
svn path=/trunk/; revision=9611
2004-06-04 23:44:27 +00:00
Thomas Bluemel
320eabb37f added missing cvsignore file
svn path=/trunk/; revision=9610
2004-06-04 13:49:15 +00:00
Thomas Bluemel
4358005fe4 fixed wrong directory for kbddv. Thanks to ai2097.
svn path=/trunk/; revision=9609
2004-06-04 13:30:27 +00:00
KJK::Hyperion
8a4f16c276 Fixed compilation in environments where the native non-local goto isn't available
svn path=/trunk/; revision=9608
2004-06-04 00:49:40 +00:00
KJK::Hyperion
31af77a32a Setjmp has one argument and returns zero
svn path=/trunk/; revision=9607
2004-06-04 00:47:47 +00:00
KJK::Hyperion
6312f5152f "Using multiple compilers is good for your code", chapter umpteenth: removing the SEH library test (until I have a better example) because it made some non-portable assumptions about the stack layout (could cause STATUS_INVALID_UNWIND_TARGET exceptions with some compilers and full optimization)
svn path=/trunk/; revision=9606
2004-06-03 22:30:22 +00:00
KJK::Hyperion
f739268bbb Fixes for Borland C++ compilation, and one variable is now qualified "volatile" to disable dangerous optimizations
svn path=/trunk/; revision=9603
2004-06-03 22:19:10 +00:00
Eric Kohl
df6802c1fd Add US-Dvorak keyboard layout and enable swedish keyboard layout.
Patch by ai2097.
This fixes bug #329.

svn path=/trunk/; revision=9602
2004-06-03 11:20:10 +00:00
KJK::Hyperion
1d286fa480 Small test case for the SEH library
svn path=/trunk/; revision=9601
2004-06-03 04:15:40 +00:00
KJK::Hyperion
6ce11dc878 Small fixes to the SEH library
svn path=/trunk/; revision=9600
2004-06-03 04:14:07 +00:00
KJK::Hyperion
cb341561af Corrected a stupid mistake
Modified the build system to make kernel-mode components use the SEH library's built-in setjmp/longjmp

svn path=/trunk/; revision=9599
2004-06-03 03:09:01 +00:00
KJK::Hyperion
ce86f5b576 Final touches to the SEH library: now comes with a very basic setjmp/longjmp implementation for when the compiler's native one can't be used
svn path=/trunk/; revision=9598
2004-06-03 02:23:34 +00:00
Eric Kohl
ecc193a6f0 Revert useless changes.
svn path=/trunk/; revision=9597
2004-06-02 22:19:54 +00:00
Eric Kohl
f472268186 Set selected keyboard layout and install language.
svn path=/trunk/; revision=9596
2004-06-02 22:18:06 +00:00
Eric Kohl
d311d3a57f Keep zero-initialized varaibles in the .data section.
svn path=/trunk/; revision=9595
2004-06-02 20:37:46 +00:00
Hartmut Birr
e0027b1777 - Fixed the searching for boot load drivers. This solves the pci driver loading problem.
svn path=/trunk/; revision=9594
2004-06-02 20:30:56 +00:00
Hartmut Birr
26916eed77 - Fixed the makefiles for the build on windows.
svn path=/trunk/; revision=9593
2004-06-02 20:26:08 +00:00
KJK::Hyperion
739c9c2b0a Added license text (MIT license) to the SEH library, added the header files
svn path=/trunk/; revision=9592
2004-06-02 19:22:06 +00:00
KJK::Hyperion
a8943a8c91 SEH library
svn path=/trunk/; revision=9591
2004-06-02 18:36:55 +00:00
Gé van Geldorp
07320b09dd Patch by Pablo Borobia <pablog7@argentina.com>
Work on clipboard.

svn path=/trunk/; revision=9590
2004-06-02 18:29:21 +00:00
Gé van Geldorp
08108f008e Patch by Pablo Borobia <pablog7@argentina.com>
Correct search path for DLL loading (including directory from which .exe
was loaded).

svn path=/trunk/; revision=9589
2004-06-02 18:26:58 +00:00
KJK::Hyperion
3a1705b0b1 Changed the build system to treat nasm as a first-class citizen, making it produce output in the correct format (Microsoft COFF) and cleaning up some bit rot (unused makefile variables, different conventions from the rest of the build system, etc.)
svn path=/trunk/; revision=9588
2004-06-02 18:24:09 +00:00
Royce Mitchell III
5053990958 change to zoomin Makefile to get it compiling, and enable touch, genguid, zoomin, winemine, kill, tcat, and tlist - patch by Travis Snoozy <ai2097@yahoo.com>
svn path=/trunk/; revision=9587
2004-06-02 02:27:04 +00:00
Steven Edwards
08ff887056 revert to 1.3. I didnt mean to commit that
svn path=/trunk/; revision=9586
2004-06-01 19:08:53 +00:00
Steven Edwards
73888a7753 add tgetopt to the list of static libs
svn path=/trunk/; revision=9585
2004-06-01 19:06:50 +00:00
Eric Kohl
f95308afa8 For some strange reason IniFileSectionListHead is not initialized correctly.
Intialize it maually in order to prevent access violations.

svn path=/trunk/; revision=9584
2004-06-01 11:12:59 +00:00
Aleksey Bragin
361a0a9bb7 Patch 257 in bugzilla: "Import Regedit translations from WINE.
Existing resource 'About' from WINE has been removed
since ReactOS already has it."

svn path=/trunk/; revision=9583
2004-06-01 10:20:24 +00:00
Gunnar Dalsnes
8448faa277 moved the safe mem copy routines
svn path=/trunk/; revision=9582
2004-06-01 10:16:26 +00:00
Steven Edwards
05b4d3fb1d Add regsvr32
Travis Snoozy <ai2097@yahoo.com>

svn path=/trunk/; revision=9580
2004-06-01 01:46:51 +00:00
Steven Edwards
56481cd659 Make the freeldr build system more like the reactos module
build system. (top level rules.mak, etc....)

Travis Snoozy <ai2097@yahoo.com>

svn path=/trunk/; revision=9579
2004-06-01 01:21:07 +00:00
Steven Edwards
7aeeda0f3c Fix building and use W32API
Travis Snoozy <ai2097@yahoo.com>

svn path=/trunk/; revision=9578
2004-06-01 01:13:29 +00:00
Steven Edwards
d2a5a8678b change xInterlockedAddLargeStatistic and ExInterlockedCompareExchange64 to be implemented.
svn path=/trunk/; revision=9577
2004-06-01 01:00:25 +00:00
Gunnar Dalsnes
5a9d7b96f4 create rtl for stuff common to ntdll/ntoskrnl
svn path=/trunk/; revision=9576
2004-06-01 00:14:07 +00:00
Gunnar Dalsnes
18fcfd015e removed something i shouldn't have
svn path=/trunk/; revision=9575
2004-05-31 23:37:22 +00:00
Martin Fuchs
dc4726b0da integrate optional SDI mode into main explorer branch
svn path=/trunk/; revision=9574
2004-05-31 22:39:12 +00:00
Filip Navara
48da820991 Merge DDE patch from Wine:
Dmitry Timoshkov <dmitry@codeweavers.com>
    Fix a bug in ShellExecute which called DdeCreateStringHandleW
    with a wrong parameter. Revert previous erroneous fix.

(Fixes return value of DdeQueryString[AW] and error codes)

svn path=/trunk/; revision=9573
2004-05-31 19:52:47 +00:00
Gunnar Dalsnes
381799ee02 create rtl for stuff common to ntdll/ntoskrnl
svn path=/trunk/; revision=9572
2004-05-31 19:51:47 +00:00
Gunnar Dalsnes
3ebfb48eb8 create rtl for stuff common to ntdll/ntoskrnl
svn path=/trunk/; revision=9571
2004-05-31 19:45:16 +00:00
Gunnar Dalsnes
cd5c05ea8b create rtl for stuff common to ntdll/ntoskrnl
svn path=/trunk/; revision=9570
2004-05-31 19:33:59 +00:00
James Tabor
9666870f38 Temp fix for GlobalMemoryStatus, pleas test.
svn path=/trunk/; revision=9569
2004-05-31 16:54:04 +00:00
Casper Hornstrup
0d5d9a4b7d 2004-05-31 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/reactos/version.h (KERNEL_VERSION_BUILD_TYPE): Replace possible
	value FINAL with RELEASE.

svn path=/trunk/; revision=9568
2004-05-31 12:21:24 +00:00
Gé van Geldorp
6855f27251 Temporarily undo KeAttachProcess() done by win32k
svn path=/trunk/; revision=9567
2004-05-31 11:47:05 +00:00
Eric Kohl
f9375c3f90 Add more processor information.
Patch by Christoph_vW. Fixes bug #321.

svn path=/trunk/; revision=9566
2004-05-31 11:41:14 +00:00
Thomas Bluemel
481600afb3 changed a string
svn path=/trunk/; revision=9565
2004-05-31 08:45:46 +00:00
Filip Navara
58211be6c8 - Write the system boot device and start options to registry, also create the MiniNT registry key if needed.
svn path=/trunk/; revision=9564
2004-05-30 21:40:47 +00:00
Filip Navara
c5cd2328e8 - Implementation of IoQueryDeviceDescription. Patch by Alex Ionescu.
svn path=/trunk/; revision=9563
2004-05-30 18:30:03 +00:00
Eric Kohl
9c2056bb25 Read device settings from txtsetup.sif.
svn path=/trunk/; revision=9562
2004-05-30 14:54:02 +00:00
Jason Filby
e4bd8fff85 Prevent unnecessary code where count is zero in NtGdiExtTextOut
svn path=/trunk/; revision=9561
2004-05-30 14:51:45 +00:00
Thomas Bluemel
56099c14d4 little GDI speed improvements
svn path=/trunk/; revision=9560
2004-05-30 14:01:13 +00:00
Eric Kohl
2e86c2a5bc Add device settings information.
svn path=/trunk/; revision=9559
2004-05-30 13:03:04 +00:00
Hartmut Birr
02c974661f - Fixed a wrong address in MmAlterViewAttributes which possible does cause a crash if the region is longer than one page.
svn path=/trunk/; revision=9558
2004-05-30 12:55:11 +00:00
Filip Navara
4bbc945c9c - Fixed some NULL-terminating issues that caused the 'videoprt.sys???????????????' module name problem.
svn path=/trunk/; revision=9557
2004-05-30 11:47:43 +00:00
Hartmut Birr
9fa3a2fdb7 - Print the memory map at start up to the debug port.
svn path=/trunk/; revision=9556
2004-05-29 22:10:05 +00:00
Hartmut Birr
d73db829fa - Moved the definition of all dll base addresses to baseaddress.cfg.
svn path=/trunk/; revision=9555
2004-05-29 21:55:09 +00:00
Filip Navara
55532b15d9 - When checking for ReactOS cd-rom, in addition to 'reactos/ntoskrnl.exe' check also for 'reactos/system32/ntoskrnl.exe'.
svn path=/trunk/; revision=9554
2004-05-29 21:28:28 +00:00
Hartmut Birr
716bbd44ba - Moved the definition of all dll base addresses to baseaddress.cfg.
svn path=/trunk/; revision=9553
2004-05-29 21:24:48 +00:00
Filip Navara
ceb8aca194 - Fix the "use of cast expressions as lvalues is deprecated" warning.
svn path=/trunk/; revision=9552
2004-05-29 21:21:06 +00:00
Filip Navara
9136088529 - Fixed DPRINTs.
- Added support for including other .inf files while building the standard hives.

svn path=/trunk/; revision=9551
2004-05-29 21:15:58 +00:00
Art Yerkes
dd2e0b0978 Added csq to build.
svn path=/trunk/; revision=9548
2004-05-29 17:00:41 +00:00
Filip Navara
8900df33c8 - Changed font substitution: MS Sans Serif -> Bitstream Vera Sans.
svn path=/trunk/; revision=9547
2004-05-29 15:53:56 +00:00
Filip Navara
45d5d0cea1 - Correctly initialize the startup info in WinExec.
svn path=/trunk/; revision=9546
2004-05-29 15:10:28 +00:00
Filip Navara
4faf15614f - Prepend "\\??\" to the file name in NtGdiAddFontResource.
svn path=/trunk/; revision=9545
2004-05-29 15:10:27 +00:00
Filip Navara
1aeb737c6b - Fixed unicode string copying bug in NtGdiAddFontResource.
svn path=/trunk/; revision=9544
2004-05-29 13:12:08 +00:00
Filip Navara
b94f2fca33 - Fixed declaration of IMAGE_EXPORT_DIRECTORY structure.
svn path=/trunk/; revision=9543
2004-05-29 11:58:16 +00:00
Filip Navara
206a67a937 - The last parameter of NtReadVirtualMemory should be optional.
svn path=/trunk/; revision=9542
2004-05-29 11:53:43 +00:00
Filip Navara
206298fe27 - RaiseException should pass the exception parameters even if the exception is non-continuable.
svn path=/trunk/; revision=9541
2004-05-29 11:51:33 +00:00
Art Yerkes
0f0b33c44c NdisQueryPacketLength -- Based in an obvious way on a similar macro.
svn path=/trunk/; revision=9539
2004-05-29 10:45:26 +00:00
Art Yerkes
05769811b4 Fixes for gcc-3.4.0 (pasting the __FUNCTION__ constant with a string)
and cast lvalue (reported by thomas weidenmueller)

svn path=/trunk/; revision=9537
2004-05-29 09:59:25 +00:00
Steven Edwards
76fea742f0 moved oskittcp as it is a driver lib.
svn path=/trunk/; revision=9529
2004-05-29 00:56:56 +00:00
Steven Edwards
d31c888e86 moved oskittcp as it is a driver lib.
svn path=/trunk/; revision=9527
2004-05-29 00:16:39 +00:00
Gé van Geldorp
683ba367cc Clean up calls from win32k to csrss
svn path=/trunk/; revision=9526
2004-05-28 21:33:41 +00:00
Royce Mitchell III
63fc502d5a put version information where it's supposed to go - thanks to Ge
svn path=/trunk/; revision=9525
2004-05-28 21:21:06 +00:00
Filip Navara
f1b0bedbad - Revert the PS/2 timeouts to the old values.
svn path=/trunk/; revision=9524
2004-05-28 21:17:42 +00:00
Royce Mitchell III
7440bee0cf reactos-specific debugging functions KeRosDumpStackFrames and KeRosPrintAddress
svn path=/trunk/; revision=9523
2004-05-28 21:16:27 +00:00
Royce Mitchell III
2e294f5461 OS version information - patch by Christoph von Wittich
svn path=/trunk/; revision=9522
2004-05-28 19:58:30 +00:00
Gé van Geldorp
69f3448639 Turn net/netstat and net/ipconfig back on again, since the build problems
were solved

svn path=/trunk/; revision=9521
2004-05-28 18:30:22 +00:00
Gé van Geldorp
137743321e Don't redefine WINAPI. Spotted by Travis Snoozy <ai2097@yahoo.com>
svn path=/trunk/; revision=9520
2004-05-28 18:25:05 +00:00
Steven Edwards
942d157b7a Remove dummy WINAPI define
svn path=/trunk/; revision=9519
2004-05-28 18:21:18 +00:00
Steven Edwards
663c447ca6 cleanup of the SDK and disable use of the old WINE tree.
Travis Snoozy <ai2097@yahoo.com>

svn path=/trunk/; revision=9518
2004-05-28 18:18:43 +00:00
Gé van Geldorp
26beb80a11 Add rule for generating .i (preprocessed) files from .c files
svn path=/trunk/; revision=9517
2004-05-28 18:16:46 +00:00
Royce Mitchell III
11f4efc511 upgrading user32 test to Wine-20040527 - disabled a test in the 'msg' test because it fails on XP SP1.
svn path=/trunk/; revision=9516
2004-05-28 17:56:17 +00:00
Royce Mitchell III
b9b553dbf6 added constants needed by wine's "user32 msg" test
svn path=/trunk/; revision=9515
2004-05-28 14:31:49 +00:00
Thomas Bluemel
004720f1a6 fixed typo
svn path=/trunk/; revision=9514
2004-05-28 13:23:24 +00:00
Thomas Bluemel
336746ec95 1. properly check parameters in SetFilePointer(Ex)()
2. fixed several functions to fail if dealing with console handles

svn path=/trunk/; revision=9513
2004-05-28 13:17:32 +00:00
Eric Kohl
938ede25cd - Implement a generic selection list.
- Use selection list in device settings pages.

svn path=/trunk/; revision=9512
2004-05-28 12:14:00 +00:00
Royce Mitchell III
69a06d8f31 added CS_DROPSHADOW, needed by latest version of wine's user32 test app
svn path=/trunk/; revision=9511
2004-05-28 03:43:12 +00:00
Mark Tempel
bd2990f457 removed programs that link to iphlpapi till exports are worked out.
svn path=/trunk/; revision=9510
2004-05-28 02:32:43 +00:00
Thomas Bluemel
d7b5932acd fixed filename in include statement and added some debug prints for stubs
svn path=/trunk/; revision=9508
2004-05-27 14:50:17 +00:00
Royce Mitchell III
961036b735 eliminate unnecessary multiplications in the inner loops of DIB_1BPP_BitBltSrcCopy_From1BPP
svn path=/trunk/; revision=9507
2004-05-27 12:35:23 +00:00
Hartmut Birr
6e3bbc606d - Don't change the environment block if the number of variables has not changed (in BlockEnvToEnviron).
- Use a copy of the environment strings (in BlockEnvToEnviron).

svn path=/trunk/; revision=9506
2004-05-27 11:49:48 +00:00
Thomas Bluemel
94c04c2051 fixed missing class dereferencings and store a list of windows in the class object
svn path=/trunk/; revision=9505
2004-05-27 11:47:42 +00:00
Filip Navara
ae85951413 - New font substitution: MS Sans Serif -> Bitstream Vera Serif
svn path=/trunk/; revision=9504
2004-05-26 21:47:07 +00:00
Eric Kohl
43836af86c - Implement dummy device settings pages.
- Hide the cursor at startup.

svn path=/trunk/; revision=9503
2004-05-26 20:58:37 +00:00
Aleksey Bragin
ac9cb4c5a6 Fix warnings by vandread.
svn path=/trunk/; revision=9502
2004-05-26 20:37:25 +00:00
Filip Navara
5141945b57 - Return success for SystemFileCacheInformation requests to NtQuerySystemInformation, so we can see some information in the Task Manager.
svn path=/trunk/; revision=9501
2004-05-26 19:56:35 +00:00
Filip Navara
72afcc3bb8 - Fixed the third passed parameter to NtSetInformationThread call in ImpersonateLoggedOnUser.
svn path=/trunk/; revision=9500
2004-05-26 19:53:48 +00:00
Thomas Bluemel
cb1ea2ade7 selecting a new clipping region into a dc doesn't return the previous clipping region handle
svn path=/trunk/; revision=9499
2004-05-26 18:59:21 +00:00
Thomas Bluemel
6248b04e6f fixed returning uninitialized variable in NtGdiSelectVisRgn() and NtGdiExtSelectClipRgn()
svn path=/trunk/; revision=9498
2004-05-26 18:49:06 +00:00
Eric Kohl
8158fc02d0 Append two newlines to the "Press any key to boot form CD....." string.
svn path=/trunk/; revision=9497
2004-05-26 10:58:29 +00:00
Thomas Bluemel
d7d7bbef13 added stubs for SetFileSecurityW(), GetNamedSecurityInfoA/W() and SetNamedSecurityInfoA/W()
svn path=/trunk/; revision=9496
2004-05-26 09:50:10 +00:00
Filip Navara
0fc5792047 - Set CurrentThread->u1.ExitTime to exit time in PsTerminateCurrentThread. Patch by Alex Ionescu.
svn path=/trunk/; revision=9495
2004-05-25 22:03:48 +00:00
Filip Navara
d35144407f - Enabled the 'Press any key to boot from CD' message in the ISO
boot code and show it only when some hard disk is present.
- Adjusted detection timeouts for PS/2 and RS232 to the minimum
  allowed by the specifications so we don't spend ages in hardware detection.
- Experimental NTFS reading support. (No boot code, no attribute lists, no decompression)

svn path=/trunk/; revision=9494
2004-05-25 21:47:39 +00:00
Filip Navara
470210fb06 - Enabled the 'Press any key to boot from CD' message in the ISO
boot code and show it only when some hard disk is present.
- Adjusted detection timeouts for PS/2 and RS232 to the minimum
  allowed by the specifications so we don't spend ages in hardware detection.
- Experimental NTFS reading support. (No boot code, no attribute lists, no decompression)

svn path=/trunk/; revision=9493
2004-05-25 21:31:27 +00:00
Filip Navara
5a22e5bcf0 - Fixed definition of assert macro.
- Fixed few DPRINTs to compile.
- Handle OF_CREATE flag of OpenFile.

svn path=/trunk/; revision=9492
2004-05-25 20:04:14 +00:00
Aleksey Bragin
f11893f56e Sample man files
svn path=/trunk/; revision=9491
2004-05-25 18:50:54 +00:00
Aleksey Bragin
0f711c642b New version of man by Semyon Novikov. Manual pages should be located in c:\\man for now, later it will be enhanced to environment variable.
I have changed the makefile so it is compatible with ReactOS, and compiles just by running 'make'. There are some warnings also, but I didn't have time to fix them.

svn path=/trunk/; revision=9490
2004-05-25 18:49:04 +00:00
Filip Navara
7a98b74d8b - Run Task Manager when CTRL-ALT-DEL is pressed.
svn path=/trunk/; revision=9489
2004-05-25 15:53:16 +00:00
Filip Navara
6368fbd7a8 - Support for window-less hotkeys.
- Send hotkeys even if there's no focus window.

svn path=/trunk/; revision=9488
2004-05-25 15:52:45 +00:00
Hartmut Birr
e58206820b - Implemented ScsiPortGetPhysicalAddress also for addresses from sense info buffer.
- Allocated the sense info buffer within contiguous physical memory.
- Don't send an sence request after an error if the miniport driver is autosense-capable.

svn path=/trunk/; revision=9487
2004-05-24 20:33:41 +00:00
Eric Kohl
b718b8e348 Implement kernel-mode range lists.
Install target must not rebuild executables.

svn path=/trunk/; revision=9486
2004-05-24 12:08:55 +00:00
Eric Kohl
82a4c658f4 Implement kernel-mode range lists.
svn path=/trunk/; revision=9485
2004-05-24 12:05:54 +00:00
Eric Kohl
47f7ff67c1 Implement RtlInvertRangeList() and RtlMergeRangeList().
svn path=/trunk/; revision=9484
2004-05-24 12:03:24 +00:00
Hartmut Birr
8c86d7049f - Fixed my copy-and-paste bug. Thanks to Royce III.
svn path=/trunk/; revision=9483
2004-05-23 15:49:56 +00:00
Thomas Bluemel
5096908ac7 ignore the hInstance field while searching classes if it's NULL
svn path=/trunk/; revision=9482
2004-05-23 14:04:58 +00:00
Hartmut Birr
924e3b2bea - Don't return a file or allocation size for directories.
svn path=/trunk/; revision=9481
2004-05-23 13:34:32 +00:00
Hartmut Birr
84d6759c0a - Fixed the calculated file attribute in CdfsFileFlagsToAttributes.
svn path=/trunk/; revision=9480
2004-05-23 13:27:26 +00:00
Eric Kohl
fc9d0d4b4d - Implement RtlFindRange().
- Add documentation.

svn path=/trunk/; revision=9479
2004-05-23 11:56:16 +00:00
Thomas Bluemel
27119bd65c fixed typos
svn path=/trunk/; revision=9478
2004-05-23 09:36:47 +00:00
Royce Mitchell III
fffba95c47 remove UNIMPLEMENTED from NtUserIsClipboardFormatAvailable and replace it with a DPRINT1 warning that it is not implemented. This change gets Irfanview working.
svn path=/trunk/; revision=9477
2004-05-23 04:04:10 +00:00
Filip Navara
11a1d291a0 - Disable NtGdiRealizePalette. It has a lot of bugs and really doesn't do any of the work it should do.
svn path=/trunk/; revision=9474
2004-05-22 22:07:42 +00:00
Thomas Bluemel
f2992e0c09 prevent memory leaks if callbacks to usermode never return
svn path=/trunk/; revision=9473
2004-05-22 21:12:15 +00:00
Hartmut Birr
ef7b36dd46 - Do not immediately write the zeroed region to the disk for a cached file.
- Fixed a problem, which does occur if the cluster size is lower than the segment size.

svn path=/trunk/; revision=9472
2004-05-22 18:28:18 +00:00
Thomas Bluemel
d805aabcae silence debug message
svn path=/trunk/; revision=9471
2004-05-22 17:51:08 +00:00
Thomas Bluemel
c6bdf3f977 1. added basic reference counting for message queues
2. fixed memory leak when a thread terminates while dispatching a message
3. wake the sender's thread in case of 2.

svn path=/trunk/; revision=9470
2004-05-22 16:48:50 +00:00
Martin Fuchs
4307e3115e code comments
svn path=/trunk/; revision=9469
2004-05-22 13:18:45 +00:00
Filip Navara
86ada6ab1c - Revert change to VGA register values that I accidently commited.
svn path=/trunk/; revision=9468
2004-05-22 12:23:12 +00:00
Eric Kohl
a197c442b7 Center install wizard.
Don't skip to next page as long as required data have not been entered.

svn path=/trunk/; revision=9467
2004-05-22 12:04:10 +00:00
Thomas Bluemel
dd55a50761 1. reverted my last change to SendMessageTimeout() which was wrong
2. fixed UserGetWindowIcon(), SendMessageTimeout() usually overwrites the result variable, even if it failed!

svn path=/trunk/; revision=9466
2004-05-22 09:22:41 +00:00
Filip Navara
1404258b13 - Remove WinLogon icon, because it's copyrighted by Microsoft.
svn path=/trunk/; revision=9465
2004-05-22 09:10:33 +00:00
Filip Navara
ed16c950dc - Check buffer sizes and color counts for IOCTL_VIDEO_SET_COLOR_REGISTERS request.
svn path=/trunk/; revision=9464
2004-05-22 08:53:26 +00:00
Filip Navara
1c1f4e3945 - Don't delete icons that we got by WM_GETICON or GetClassIcon.
svn path=/trunk/; revision=9463
2004-05-22 08:35:38 +00:00
Thomas Bluemel
4c8d47cc6b fixed SendMessageTimeout() to return the correct result even when it timed out
svn path=/trunk/; revision=9462
2004-05-22 08:27:15 +00:00
Hartmut Birr
a4931b6ee8 - removed an obsolete call to ExAllocatePool in CHECKPOINT
svn path=/trunk/; revision=9461
2004-05-22 08:12:49 +00:00
Art Yerkes
a31ff7a76b I forgot to increase the number of strings loaded from the registry. fixed.
svn path=/trunk/; revision=9460
2004-05-22 02:54:32 +00:00
Art Yerkes
7f1e933e8e Blight pointed out that we didn't have all the registers in js. This fixes
that.

svn path=/trunk/; revision=9459
2004-05-22 02:50:25 +00:00
Art Yerkes
6f17d958c6 Blight pointed out that I was missing some regs from the end of the trap frame.
These are now fixed.

svn path=/trunk/; revision=9458
2004-05-22 01:55:31 +00:00
Filip Navara
17983ae6be - Added support for special value "LiveCD" of SystemPath option
for loading ReactOS. It uses the known boot drive information
  as the boot path.

svn path=/trunk/; revision=9457
2004-05-21 20:29:56 +00:00
Filip Navara
1c9e1c3a8b - Fixed a bug in IsoSearchDirectoryBufferForFile. Compare the offset first, so we don't access invalid memory.
svn path=/trunk/; revision=9456
2004-05-21 20:06:09 +00:00
Filip Navara
ce81c53f81 - End-Of-Line marker at the real end of line shouldn't advance the vertical offset.
svn path=/trunk/; revision=9455
2004-05-21 17:34:24 +00:00
Filip Navara
d76f0c8745 - Support for the End-Of-Line RLE mark.
- Treat the bitmap header field bV5ClrUsed correctly if it's set to zero.

svn path=/trunk/; revision=9454
2004-05-21 17:05:46 +00:00
Thomas Bluemel
08855e847a don't clip moving rectangles to the work area for topmost windows
svn path=/trunk/; revision=9453
2004-05-21 12:46:59 +00:00
Thomas Bluemel
03de8510c2 removed obsolete fields from the W32PROCESS structure
svn path=/trunk/; revision=9452
2004-05-21 10:31:00 +00:00
Thomas Bluemel
4349fe8990 implemented DisableProcessWindowsGhosting() (window ghosting is not yet implemented though)
svn path=/trunk/; revision=9451
2004-05-21 10:09:31 +00:00
Thomas Bluemel
6851738b5a fixed message timeout crash, caused by inserting dispatching messages into the wrong dispatching list
svn path=/trunk/; revision=9450
2004-05-20 21:48:41 +00:00
Thomas Bluemel
c9bec757df fixed handling of caption buttons
svn path=/trunk/; revision=9449
2004-05-20 14:53:14 +00:00
Thomas Bluemel
0cc4a84668 clip to the work area when dragging a window
svn path=/trunk/; revision=9448
2004-05-20 14:34:14 +00:00
Thomas Bluemel
0a242842b2 fixed FillRect() to properly handle system color constants (thanks to Royce for spotting this bug)
svn path=/trunk/; revision=9447
2004-05-20 14:12:21 +00:00
Eric Kohl
f44bcb1cdb Add some security function stubs.
svn path=/trunk/; revision=9446
2004-05-20 12:42:51 +00:00
Hartmut Birr
4a1429bb28 - Do not change the mapping count of a page if the physical address falls
in the range of valid physical memory (in MmMapIoSpace and MmUnmapIoSpace).

svn path=/trunk/; revision=9445
2004-05-20 08:37:21 +00:00
Royce Mitchell III
a7cf6b254f get current HINSTANCE if given NULL in CreateWindowExA&W - fixes bug I found today with my little 'window stresser' app.
svn path=/trunk/; revision=9444
2004-05-20 04:10:01 +00:00
Thomas Bluemel
46d6fe4163 set proper lasterror code in RegisterWindowMessage()
svn path=/trunk/; revision=9443
2004-05-19 19:16:47 +00:00
Thomas Bluemel
23c42995a1 fixed RegisterWindowMessage()
svn path=/trunk/; revision=9442
2004-05-19 19:09:20 +00:00
Thomas Bluemel
1f14756983 attempt to fix handling of timed out sending of messages to be thread-safe
svn path=/trunk/; revision=9441
2004-05-19 18:45:31 +00:00
Thomas Bluemel
90b8b7f3d6 use FASTCALL calling convention for internal routines
svn path=/trunk/; revision=9440
2004-05-18 22:32:48 +00:00
Steven Edwards
0fcdaa8c81 Sylvain Petreolle -
Hacked TGMarltt to work on Windows as well as Linux and ReactOS with FreeType.

svn path=/trunk/; revision=9439
2004-05-18 16:22:49 +00:00
Thomas Bluemel
e765178153 ported CreatePolyPolygonRgn() and CreatePolygonRgn() from wine
svn path=/trunk/; revision=9438
2004-05-18 15:25:25 +00:00
Thomas Bluemel
40c3c7cd37 fixed memory leak
svn path=/trunk/; revision=9437
2004-05-18 14:06:42 +00:00
Thomas Bluemel
7ea71b67f4 safe parameter handling for PolyPolygonRgn() and PolygonRgn(). The actual region calculation for both functions is not yet implemented though!
svn path=/trunk/; revision=9436
2004-05-18 13:57:41 +00:00
Martin Fuchs
4b62bbcaa8 prompt with error messageboxes for problems when reading init files
svn path=/trunk/; revision=9435
2004-05-18 12:38:39 +00:00
Eric Kohl
9c4dd6241a Implement SeQueryAuthenticationIdToken().
Add audit function stubs.

svn path=/trunk/; revision=9434
2004-05-18 12:24:40 +00:00
Martin Fuchs
0cc2f5d9be return more verbose XML parser error messages
svn path=/trunk/; revision=9433
2004-05-18 12:10:36 +00:00
Hartmut Birr
c49f961993 - Do print readable sector numbers in DiskReadLogicalSectors.
svn path=/trunk/; revision=9432
2004-05-17 20:30:55 +00:00
Hartmut Birr
869728e524 - Implemented the printing of 64 bit numbers.
svn path=/trunk/; revision=9431
2004-05-17 20:25:01 +00:00
Hartmut Birr
d462152e6d - Fixed the calculation of the start for a partition within an extended partition.
svn path=/trunk/; revision=9430
2004-05-17 20:20:17 +00:00
Martin Fuchs
3128a0aff7 add missing precomp.h header file
svn path=/trunk/; revision=9429
2004-05-17 19:56:04 +00:00
Gé van Geldorp
8f30493913 Prevent unnecessary relinks when TARGET_REGTESTS = yes
svn path=/trunk/; revision=9428
2004-05-17 19:45:10 +00:00
Steven Edwards
0e7124da95 committed Marlett replacement as binary
svn path=/trunk/; revision=9427
2004-05-17 17:41:08 +00:00
Steven Edwards
0bf4f46ded trying to fix this to be binary
svn path=/trunk/; revision=9426
2004-05-17 17:40:21 +00:00
Steven Edwards
997484141f Untested !!!!
Added Font substition support for Marlett via TGMarlett

svn path=/trunk/; revision=9425
2004-05-17 17:32:19 +00:00
Steven Edwards
6eb086ebc9 added Transgamings Marlett font replacement licensed
under the BSD license.

svn path=/trunk/; revision=9424
2004-05-17 17:30:24 +00:00
Filip Navara
aaa859c4a6 - Fixed Window Class menu handling that I broke with my last patch.
svn path=/trunk/; revision=9423
2004-05-17 16:38:58 +00:00
Eric Kohl
06ed586fb1 Add documentation for some range list functions.
svn path=/trunk/; revision=9422
2004-05-17 13:21:52 +00:00
Eric Kohl
53a3421952 Add range list flags.
svn path=/trunk/; revision=9421
2004-05-17 13:20:05 +00:00
Martin Fuchs
06c03f786a use precompiled headers for VC++ builds
svn path=/trunk/; revision=9420
2004-05-17 13:11:06 +00:00
Filip Navara
fb5e84bd1f - Set Mdl->Process in MmMapLockedPages to current process and back to NULL in MmUnmapLockedPages.
svn path=/trunk/; revision=9419
2004-05-16 22:27:57 +00:00
Filip Navara
caa8f5caae - Don't use object that's already unlocked.
svn path=/trunk/; revision=9418
2004-05-16 19:42:32 +00:00
Filip Navara
eb9fa5b0a5 Window Class handling fixes:
- Corrected styles/names for builtin classes.
- Make NtUserRegisterClassExWOW a bit more like in windows.
- More Windows-like handling of hInstance in RegisterClassEx[AW].
- Very basic work on global vs. local window classes.

svn path=/trunk/; revision=9417
2004-05-16 19:31:09 +00:00
Thomas Bluemel
192d918fb4 fixed missing dereferencing of threads in PostThreadMessage()
svn path=/trunk/; revision=9416
2004-05-16 18:33:40 +00:00
Thomas Bluemel
4bee3087ac fixed dereferencing bug
svn path=/trunk/; revision=9415
2004-05-16 13:57:49 +00:00
Thomas Bluemel
3538785e6a replaced UnsafeIntCreateRectRgnIndirect() and UnsafeIntUnionRectWithRgn() with macros to directly call the appropriate function
svn path=/trunk/; revision=9414
2004-05-16 09:51:27 +00:00
Thomas Bluemel
607ca343e7 fixed typo
svn path=/trunk/; revision=9413
2004-05-15 23:07:11 +00:00
Hartmut Birr
d16209b9dc - Improved the reading and writing of fragmented files.
svn path=/trunk/; revision=9412
2004-05-15 23:00:02 +00:00
Hartmut Birr
189436c3ef - Fixed the implementation of IoBuildPartialMdl.
svn path=/trunk/; revision=9411
2004-05-15 22:51:38 +00:00
Thomas Bluemel
43783f95c5 Anich Gregor: Basic implementation of GetUserObjectInformation() (needed by the nvidia opengl ICD)
svn path=/trunk/; revision=9410
2004-05-15 22:50:04 +00:00
Hartmut Birr
bdd1e9e8c6 - Fixed the implementation of MmMapIoSpace.
svn path=/trunk/; revision=9409
2004-05-15 22:45:51 +00:00
Jason Filby
0dbe70cad7 Eng memory test
svn path=/trunk/; revision=9408
2004-05-15 20:30:19 +00:00
Hartmut Birr
aa82813f06 - Simplified the converting of environment variables.
svn path=/trunk/; revision=9407
2004-05-15 20:25:09 +00:00
Thomas Bluemel
4b6ab2d1c6 removed assertion
svn path=/trunk/; revision=9406
2004-05-15 20:19:20 +00:00
Eric Kohl
c0fb78df09 Implement RtlIsRangeAvailable().
svn path=/trunk/; revision=9405
2004-05-15 19:41:10 +00:00
Eric Kohl
9f5e364685 Add range list status codes.
svn path=/trunk/; revision=9404
2004-05-15 19:39:35 +00:00
Hartmut Birr
fbef35d884 - Fixed the execution of batch files.
svn path=/trunk/; revision=9403
2004-05-15 19:24:59 +00:00
Thomas Bluemel
6387f49323 removed #ifdef (due to wine sync)
svn path=/trunk/; revision=9402
2004-05-15 18:20:26 +00:00
Gé van Geldorp
75cf55e8b3 Test was backwards
svn path=/trunk/; revision=9401
2004-05-15 16:29:55 +00:00
Gé van Geldorp
1805ae9248 ASSERT() was a no-op in win32k, even for debug builds
svn path=/trunk/; revision=9400
2004-05-15 16:17:59 +00:00
Filip Navara
9fa3c615c7 - Fixed cut & paste error in NtGdiGetDIBColorTable and NtGdiSetDIBColorTable.
- Fixed implementation of DIB_MapPaletteColors. It shoud take palette from DC and the index array is of type PUSHORT, not PULONG.

svn path=/trunk/; revision=9399
2004-05-15 15:04:43 +00:00
Eric Kohl
2f7fa4426a Implement range list copy and delete functions.
svn path=/trunk/; revision=9398
2004-05-15 14:26:08 +00:00
Jason Filby
d1d7eaa06b Stub __badioinfo
svn path=/trunk/; revision=9397
2004-05-15 12:56:53 +00:00
Filip Navara
4e81b67c89 - Use NtGdiBitBlt in NtGdiStretchDIBits if source and destination dimensions are equal.
svn path=/trunk/; revision=9396
2004-05-15 11:20:38 +00:00
Thomas Bluemel
39fee6b8c7 combobox popups should be always-on-top
svn path=/trunk/; revision=9395
2004-05-15 10:08:45 +00:00
Filip Navara
bc072fb755 - Recalculate the menu bar size when resizing window.
svn path=/trunk/; revision=9394
2004-05-15 08:53:06 +00:00
Filip Navara
6952a5644f - New implementation of GetDIBColorTable and SetDIBColorTable.
svn path=/trunk/; revision=9393
2004-05-15 08:52:25 +00:00
Gé van Geldorp
1825cf4a15 Only split update region into client and non-client parts if there actually
is something to split

svn path=/trunk/; revision=9392
2004-05-15 08:01:56 +00:00
Gé van Geldorp
5884627fe6 Silence debug messages
svn path=/trunk/; revision=9391
2004-05-15 07:49:05 +00:00
Gé van Geldorp
1c108dfcbd Implement complex clipping for StretchBlt
svn path=/trunk/; revision=9390
2004-05-15 06:54:47 +00:00
Thomas Bluemel
b3b134ecfa changed cursors/icons to use the window station handle table
svn path=/trunk/; revision=9389
2004-05-14 23:57:32 +00:00
Gé van Geldorp
4b8fc8e4e4 Implement complex clipping for StretchBlt
svn path=/trunk/; revision=9388
2004-05-14 22:56:18 +00:00
Filip Navara
0c9315b3dc - Fixed implementation of NtGdiGetNearestColor.
svn path=/trunk/; revision=9387
2004-05-14 22:20:46 +00:00
Filip Navara
759afa4f19 - Define KEBUGCHECK macro to make compiling KJS working again.
svn path=/trunk/; revision=9386
2004-05-14 21:25:08 +00:00
Filip Navara
3221290df2 - Minor corrections to EqualRect and SubtractRect.
svn path=/trunk/; revision=9385
2004-05-14 17:02:40 +00:00
Filip Navara
394e0f648e - NtGdiCreateRectRgn should accept negative width and height. It's supposed to be handled just like in NtGdiSetRectRgn.
svn path=/trunk/; revision=9384
2004-05-14 16:56:48 +00:00
Filip Navara
3f9294eaee - Fix ExtSelectClipRgn and some other clipping functions.
svn path=/trunk/; revision=9383
2004-05-14 16:55:18 +00:00
Filip Navara
1e4d1cd885 - Fix DPRINT.
svn path=/trunk/; revision=9382
2004-05-14 16:50:44 +00:00
Filip Navara
95a2d3b54f - Modify DPRINTs to print window styles in hexadecimal notation.
svn path=/trunk/; revision=9381
2004-05-14 16:50:16 +00:00
Filip Navara
fb5a06a8d1 - Check for the WS_CLIPSIBLINGS flag on the correct window.
svn path=/trunk/; revision=9380
2004-05-14 16:48:47 +00:00
Filip Navara
1f1079ac18 - Don't modify Msg->pt for mouse messages. It's supposed to be always in screen coordinates, not it client coordinates.
svn path=/trunk/; revision=9379
2004-05-14 16:48:04 +00:00
Eric Kohl
4087ebf77f Implement basic range list functions.
svn path=/trunk/; revision=9378
2004-05-14 12:11:52 +00:00
James Tabor
57df925ccb Use updated version of SystemHandleInformation.
svn path=/trunk/; revision=9377
2004-05-14 09:25:41 +00:00
Filip Navara
6ea0fbf3f3 - Implementation of RtlDuplicateUnicodeString.
- Copied implementation of RtlGetVersion from ntoskrnl.
- Stubs for RtlNtPathNameToDosPathName and RtlpEnsureBufferSize. These functions are needed by native Windows DLLs.
- Export RtlRandomEx as a wrapper for RtlRandom.

svn path=/trunk/; revision=9376
2004-05-13 21:01:14 +00:00
Filip Navara
f4b54419c3 - Added missing unlocking of handle table in RtlLookupAtomInAtomTable.
svn path=/trunk/; revision=9375
2004-05-13 20:48:31 +00:00
Filip Navara
41df8b886e - Make WinPosSearchChildren more readable.
svn path=/trunk/; revision=9374
2004-05-13 20:46:28 +00:00
Filip Navara
63c655e5d1 - Add some stubs needed by native Windows DLLs.
svn path=/trunk/; revision=9373
2004-05-13 20:42:28 +00:00
Filip Navara
81728cf1b8 - Fix common controls subclassing.
svn path=/trunk/; revision=9372
2004-05-13 20:34:24 +00:00
Filip Navara
624300da51 - Report a failure for FindNextFile(NULL) instead of crashing.
svn path=/trunk/; revision=9371
2004-05-13 20:32:18 +00:00
Filip Navara
620a45896a - Report failure when function imported by ordinal isn't found.
svn path=/trunk/; revision=9370
2004-05-13 20:30:26 +00:00
Filip Navara
c9b5101395 - Handle more notification messages to prevent "-- %p WM_COMMAND %x unhandled" messages.
svn path=/trunk/; revision=9369
2004-05-13 20:28:58 +00:00
Filip Navara
66a1b30c14 - Add REST_NONLEGACYSHELLMODE policy.
svn path=/trunk/; revision=9368
2004-05-13 20:27:04 +00:00
Filip Navara
3da87fae97 - Don't allow making a window with negative dimensions in WM_WINDOWPOSCHANGING.
svn path=/trunk/; revision=9367
2004-05-13 20:25:50 +00:00
Filip Navara
83c27bebc6 - Force recalulation size of menu items when new item is added.
- Make MDI injected icons working.
- Minor corrections to menu code size handling.

svn path=/trunk/; revision=9366
2004-05-13 20:21:27 +00:00
Filip Navara
5c60bbb820 - Define RB_GETBANDMARGINS and RB_SETWINDOWTHEME.
svn path=/trunk/; revision=9365
2004-05-13 20:17:12 +00:00
Filip Navara
08358fce51 - Don't pass garbage to RtlQueryAtomInAtomTable. It doesn't like it...
svn path=/trunk/; revision=9364
2004-05-13 20:10:15 +00:00
Steven Edwards
036d02e291 Added .cvsignore for oskittcp
svn path=/trunk/; revision=9363
2004-05-13 20:03:03 +00:00
Jason Filby
58f0550e7b Regression-test enable win32k; patch by Casper Hornstrup
svn path=/trunk/; revision=9362
2004-05-13 19:31:09 +00:00
Jason Filby
6dac2c7d87 Remove unused variable; patch by Casper Hornstrup
svn path=/trunk/; revision=9361
2004-05-13 19:28:57 +00:00
Filip Navara
89ac0e36c9 - Print class name in DPRINT1 in NtUserFindWindowEx.
svn path=/trunk/; revision=9360
2004-05-12 20:45:05 +00:00
Filip Navara
a1c9203ceb - Fixed the WM_SYSCOMMAND with SC_SIZE messages to have correct codes in wParam.
svn path=/trunk/; revision=9359
2004-05-12 20:34:38 +00:00
Thomas Bluemel
f4371386e4 GetWindowInfo() doesn't check the cbSize parameter
svn path=/trunk/; revision=9358
2004-05-12 15:28:01 +00:00
Gé van Geldorp
a218ec6e0b Fix scrollbar controls
svn path=/trunk/; revision=9357
2004-05-12 09:47:16 +00:00
Gé van Geldorp
45ac874e11 Avoid warnings when using gcc 3.4
svn path=/trunk/; revision=9356
2004-05-11 20:52:10 +00:00
Gé van Geldorp
b8c9de400f Fix command line handling (mostly double-quoting stuff)
svn path=/trunk/; revision=9355
2004-05-11 20:44:30 +00:00
Gé van Geldorp
fc1b4d644e Allow caller to continue after NtUserOpenClipboard()
svn path=/trunk/; revision=9353
2004-05-10 23:05:13 +00:00
Filip Navara
71f57b72d4 - Workaround for supporting a reads from pipe after the other end has been closed and data are still available in the buffers.
svn path=/trunk/; revision=9352
2004-05-10 19:58:10 +00:00
Thomas Bluemel
21a782aceb take back changes to window styles, they broke our gui consoles
svn path=/trunk/; revision=9351
2004-05-10 19:23:37 +00:00
Gé van Geldorp
1b645d2622 Avoid warnings when using gcc 3.4
svn path=/trunk/; revision=9350
2004-05-10 18:02:20 +00:00
Gé van Geldorp
2fbb38750c Update to FreeType 2.1.8
svn path=/trunk/; revision=9349
2004-05-10 17:48:36 +00:00
Thomas Bluemel
418b7e53a6 use a common header for most files in win32k to make use of precompiled headers
svn path=/trunk/; revision=9348
2004-05-10 17:07:20 +00:00
Thomas Bluemel
23dcd0a6f2 fixed compiling issues with gcc 3.4
svn path=/trunk/; revision=9347
2004-05-10 13:35:28 +00:00
Thomas Bluemel
32478ebba8 fixed compiling issues with gcc 3.4
svn path=/trunk/; revision=9346
2004-05-10 13:29:59 +00:00
Eric Kohl
dc5862b16e Enable missing EnumDisplayMonitors.
svn path=/trunk/; revision=9345
2004-05-10 12:34:44 +00:00
Gé van Geldorp
eca151dba3 Avoid warnings when using gcc 3.4
svn path=/trunk/; revision=9344
2004-05-10 12:21:22 +00:00
Gé van Geldorp
cf6301c2d6 Avoid warnings when using gcc 3.4
svn path=/trunk/; revision=9343
2004-05-10 11:56:07 +00:00
Gé van Geldorp
a2c82e3283 Avoid collision with compiler generated label
svn path=/trunk/; revision=9342
2004-05-10 11:13:15 +00:00
Gé van Geldorp
7177d62015 Skip leading comment lines
svn path=/trunk/; revision=9341
2004-05-10 10:51:36 +00:00
Thomas Bluemel
37af37614a Royce3: fixed compiling issues with g++
svn path=/trunk/; revision=9340
2004-05-10 07:44:43 +00:00
Hartmut Birr
c1574ff8d1 - Put the event from file object as user event into the irp in IopCloseFile
and IopDeleteFile. This is necessary because the event from fileobject
  isn't set automatically after a close/cleanup call.

svn path=/trunk/; revision=9339
2004-05-09 15:02:07 +00:00
Hartmut Birr
ad49710348 - Set the correct cdb length for the mode sens command in CdromClassCreateDeviceObject.
svn path=/trunk/; revision=9338
2004-05-09 14:50:50 +00:00
Eric Kohl
c2f0a2f385 Support multi-block bins.
svn path=/trunk/; revision=9337
2004-05-09 14:50:09 +00:00
Eric Kohl
f760135f5d - Implement multi-block bins. This removes all existing size limits within the registry.
- Janitorial work.

svn path=/trunk/; revision=9336
2004-05-09 12:23:35 +00:00
Thomas Bluemel
cc056e8bb5 handle WM_SETCUROR messages for the desktop window
svn path=/trunk/; revision=9335
2004-05-08 19:35:32 +00:00
Thomas Bluemel
c12dfa13b6 assign even more styles for overlapped windows
svn path=/trunk/; revision=9334
2004-05-08 16:06:54 +00:00
Gé van Geldorp
066123fa60 Update porting status
svn path=/trunk/; revision=9333
2004-05-08 14:16:09 +00:00
Gé van Geldorp
dd3c643b4d Sync to Wine-20040505:
Francois Gouget <fgouget@codeweavers.com>
- Taking into account wavemap and midimap there can be up to 8 output
  drivers. So increase the size of the MMDrvs array accordingly.
- Skip already loaded drivers before complaining (asserting) that they
  don't fit in the MMDrvs array.
- Make static Unicode strings const.

svn path=/trunk/; revision=9331
2004-05-08 14:07:55 +00:00
Gé van Geldorp
f19704b04f Sync to Wine-20040505:
Francois Gouget <fgouget@free.fr>
- Make Unicode strings 'static const'.
- Assorted spelling fixes.
- Make our ascii strings static const.
- Remove a couple string variables that were used only once and use the
  string literal directly.
- Use named constants instead of magic numbers.
- Remove wszRegSeparator from devenum_private.h since it's neither
  exported by createdevenum.c nor used by anyone else.
Kevin Koltzau <kevin@plop.org>
- Allow UrlCombine to calculate size of required buffer.

svn path=/trunk/; revision=9330
2004-05-08 13:49:05 +00:00
Gé van Geldorp
1b91a499fe Ulrich Czekalla <ulrich@codeweavers.com>
- Delegates messages directly to the edit control window proc instead of
  containing an edit control. Fixes problems with subclassing the
  richedit control.
Francois Gouget <fgouget@free.fr>
- Make Unicode const strings static so they are not copied to the stack
  each time we enter the function.

svn path=/trunk/; revision=9329
2004-05-08 13:41:00 +00:00
Gé van Geldorp
f7a4bc8f45 Sync to Wine-20040505:
Francois Gouget <fgouget@free.fr>
- Make Unicode strings static const.
- Add a stub for StgCreateStorageEx(). Returns
  STG_E_UNIMPLEMENTEDFUNCTION as per MSDN. Fixes an error saving files
  in Word XP.
- Make our ascii strings static const.
  Remove a couple string variables that were used only once and use the
  string literal directly.
Marcus Meissner <marcus@jet.franken.de>
- Fixed strict aliasing issues in dlls/ole32.
- Implemented CoReleaseMarshalData.
- Fixed lvalue casts.
- Fixed strict aliasing issues in dlls/ole32.
Filip Navara <xnavara@volny.cz>
- Get rid of E_UNSPEC non-standard error value.

svn path=/trunk/; revision=9328
2004-05-08 13:32:51 +00:00
Eric Kohl
4c54d1cace Implement recursive deletion of start menu groups and desktop items.
svn path=/trunk/; revision=9327
2004-05-08 13:11:07 +00:00
Thomas Bluemel
b1e6d9458c minor fixes
svn path=/trunk/; revision=9326
2004-05-08 13:06:12 +00:00
Gé van Geldorp
af54a29030 Sync to Wine-20040505:
Mike McCormack <mike@codeweavers.com>
- Implemented WNetEnumCachedPasswords.

svn path=/trunk/; revision=9325
2004-05-08 12:58:08 +00:00
Gé van Geldorp
4e0fa347fa Sync to Wine-20040505:
Pavel Roskin <proski@gnu.org>
- Make the file type combobox non-editable.
Ilya Korniyko <k_ilya@ukr.net>
- Added Ukrainian translations.
Wolfgang Schwotzer <woschwot@gmx.net>
- Update OFN_READONLY flag when closing file dialog.
- Make file dialog support FNERR_BUFFERTOSMALL if buffer too small.
Francois Gouget <fgouget@free.fr>
- Make Unicode strings static const.
- If lpstrTitle is NULL, set it to either 'Open File' or 'Save as'.
- Constify the string constants.
- Make Unicode const strings static so they are not copied to the stack
  each time we enter the function.

svn path=/trunk/; revision=9324
2004-05-08 12:53:14 +00:00
Thomas Bluemel
9c710c79db silence debug messages
svn path=/trunk/; revision=9323
2004-05-08 12:49:34 +00:00
Thomas Bluemel
c862df0add fixed handling of CW_USEDEFAULT with CreateWindow(Ex)()
svn path=/trunk/; revision=9322
2004-05-08 12:42:46 +00:00
Gé van Geldorp
2f07e000b4 Sync to Wine-20040505:
Ilya Korniyko <k_ilya@ukr.net>
- Added Ukrainian translations.
Francois Gouget <fgouget@free.fr>
- Make Unicode strings static const.
- Make our ascii strings static const.
- Remove a couple string variables that were used only once and use the
  string literal directly.
Krzysztof Foltman <kfoltman@portal.onet.pl>
- make monthcal a child of datetime (it was a sibling before, causing
  completely incorrect message flow)
- update monthcal after date change in datetime
- choose different coordinates when DTS_SHOWNONE is not used
- embedded monthcal is now 200 pixels wide
- selecting a day in embedded monthcal updates the datetime and hides
  the monthcal
- changing months/years by clicking month name/year in title bar works
- embedded month calendar is correctly destroyed (it used to stick on
  the screen long after the datetime's container was closed)
- next/prev month don't stick anymore
- min/max ranges initialized to some reasonable values
- fixed some bugs caused by reversed order of arguments of MONTHCAL_CopyTime
- update current month/year after setting current date
- changing months etc doesn't send MCN_SELECT (which could be sent
  only after a particular day was clicked)
- changed (hit && MCHT_CALENDARDATE) to (hit == MCHT_CALENDARDATE)
Huw Davies <huw@codeweavers.com>
- Deleting column zero should only delete the column and not the item
  data.
- Implemented TVS_NOSCROLL.
Maxime Bellenge <maxime.bellenge@laposte.net>
- Add NM_RCLICK notification support for toolbars.
- Fix the size of the listview items in the customize dialog.
- Fix TB_GETSTYLE message to return the style of the toolbar and not the
  style of a button.
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Optimise accessing toolbar style by storing it in the TOOLBAR_INFO
  structure.
- Replace {Get,Set}WindowLong by {Get,Set}WindowLongPtr where
  appropriate.

svn path=/trunk/; revision=9321
2004-05-08 11:41:05 +00:00
Gé van Geldorp
739592deab Patch by tonik <spammed@fromru.com>
GuiConsoleUpdateBitmap ignores the color attribute of the first character in
line, instead it takes the attribute of the last character of the previous line.

svn path=/trunk/; revision=9320
2004-05-08 09:19:53 +00:00
Filip Navara
eb065653f6 - Protect against reads from (and writes to) closed named pipes.
svn path=/trunk/; revision=9319
2004-05-07 12:13:13 +00:00
Eric Kohl
83d8ef34bb Enable the creation of nested desktop and start menu groups.
svn path=/trunk/; revision=9318
2004-05-07 11:18:53 +00:00
Royce Mitchell III
60676825a8 use bugcheck macros where appropriate so users have a better idea of why they crashed.
svn path=/trunk/; revision=9317
2004-05-07 05:12:10 +00:00
Royce Mitchell III
85f77bb306 fixed output from test
svn path=/trunk/; revision=9316
2004-05-07 04:04:10 +00:00
Thomas Bluemel
bcde8100ea fixed GetThreadDesktop() (not fully working yet because it requires a ObFindHandleForObject() implementation in case the requested thread doesn't belong to the calling process)
svn path=/trunk/; revision=9315
2004-05-05 22:47:06 +00:00
Thomas Bluemel
879f672ffe rewrote NtUserBuildHwndList()
svn path=/trunk/; revision=9314
2004-05-05 22:26:04 +00:00
Thomas Bluemel
e8953aae82 properly handle HTTRANSPARENT hittest with mouse messages
svn path=/trunk/; revision=9313
2004-05-05 22:13:17 +00:00
Filip Navara
333e6a58cb - Fixed various problems (hangs/crashes) with connecting, disconnecting and closing named pipes.
svn path=/trunk/; revision=9312
2004-05-05 18:30:16 +00:00
Filip Navara
65093d7a1e - Compile RPCRT4 without debug messages.
svn path=/trunk/; revision=9311
2004-05-05 18:30:13 +00:00
Eric Kohl
233a41e696 Implement AddItemW().
svn path=/trunk/; revision=9310
2004-05-05 15:29:15 +00:00
Thomas Bluemel
34d4fe2efd support the WS_EX_LEFTSCROLLBAR
svn path=/trunk/; revision=9309
2004-05-05 13:58:59 +00:00
Mike Nordell
2ff07f4497 Return reasonably correct result querying a null memory area. Still a TODO left.
svn path=/trunk/; revision=9308
2004-05-05 02:00:01 +00:00
Filip Navara
857e0edb82 - Fix recognition of CALL instruction. Spotted by Anich Gregor.
svn path=/trunk/; revision=9307
2004-05-04 21:16:51 +00:00
James Tabor
311d1ab004 Added Spinlock in ObpGetHandleCountbyHandleTable.
svn path=/trunk/; revision=9306
2004-05-04 20:18:52 +00:00
Filip Navara
4aeca8b2b1 - Remove old RPCRT4.
svn path=/trunk/; revision=9305
2004-05-04 20:12:04 +00:00
Thomas Bluemel
97a1bb9c2e added option -s to silence status output while processing
svn path=/trunk/; revision=9304
2004-05-04 20:10:18 +00:00
Filip Navara
1021b58459 - Merge RPC runtime from Wine.
svn path=/trunk/; revision=9303
2004-05-04 20:10:07 +00:00
Filip Navara
3eb8552cf1 - Remove old RPCRT4.
svn path=/trunk/; revision=9302
2004-05-04 20:03:37 +00:00
Filip Navara
cf6647ab2e - Forgot to commit this file when syncing the kernel32 test.
svn path=/trunk/; revision=9301
2004-05-04 19:55:10 +00:00
Filip Navara
ae6296eb10 - Remove IPHLPAPI headers copied from Wine.
- Add the necessary structures to W32API headers.

svn path=/trunk/; revision=9300
2004-05-04 19:53:14 +00:00
Filip Navara
c789493a59 - Updated kernel32 test to Wine-20040504.
svn path=/trunk/; revision=9299
2004-05-04 17:25:19 +00:00
Eric Kohl
57aa128d43 Implement DeleteItemW().
svn path=/trunk/; revision=9298
2004-05-04 13:11:22 +00:00
Gé van Geldorp
a02cf9bbfb Implement GetMenuItemInfoA/W
svn path=/trunk/; revision=9297
2004-05-03 22:16:09 +00:00
Filip Navara
73812409b4 - Implementation of IOCTL_VIDEO_QUERY_CURRENT_MODE. Based on patch by Herv� Poussineau.
svn path=/trunk/; revision=9296
2004-05-03 17:15:14 +00:00
Thomas Bluemel
99282d8160 forgot to remove some temporary debug output
svn path=/trunk/; revision=9295
2004-05-03 17:12:27 +00:00
Thomas Bluemel
69e19de407 cleanup of the unicode mess (im)ported from wine
svn path=/trunk/; revision=9294
2004-05-03 16:59:59 +00:00
Steven Edwards
2bde1ad87b removed WINE from list of EXTERNALS, disabled building psx and os2 subsystem from externals for the time being.
svn path=/trunk/; revision=9293
2004-05-03 15:29:01 +00:00
Thomas Bluemel
eae24c4093 implemented LoadModule()
svn path=/trunk/; revision=9292
2004-05-03 14:34:44 +00:00
Eric Kohl
03cfc7943a - Implement DeleteGroup().
- Implement ANSI profile directory functions.

svn path=/trunk/; revision=9291
2004-05-03 12:05:44 +00:00
Hartmut Birr
560afee25c - Don't read the disk informations at boot time from removable medias like zip drives.
This prevents from merging removable disks into the order of partitions from hard disks.

svn path=/trunk/; revision=9289
2004-05-02 22:54:45 +00:00
Hartmut Birr
2440a90d73 - Don't assign arc names to removable media drives like zip drives.
svn path=/trunk/; revision=9288
2004-05-02 22:49:24 +00:00
Gé van Geldorp
8220b586b4 Handle MENUITEMINFOW compiled with _WIN32_WINNT < 0x0500 (MENUITEMINFOW
misses the HBITMAP hbmpItem at the end in that case).

svn path=/trunk/; revision=9287
2004-05-02 21:41:18 +00:00
Mike Nordell
01e86752a1 Make loader tell what module it is relocating (debug)
svn path=/trunk/; revision=9286
2004-05-02 20:53:50 +00:00
Hartmut Birr
7450b416e4 - Fixed checking for a FAT file system on a removable media.
- Check more exactly for a FAT file system.

svn path=/trunk/; revision=9285
2004-05-02 20:16:46 +00:00
Hartmut Birr
38ed29a671 - Check more exactly for a FAT file system.
svn path=/trunk/; revision=9284
2004-05-02 20:12:38 +00:00
Hartmut Birr
a4b7d6a7a5 - Removed old debug code which may crash a user mode application.
svn path=/trunk/; revision=9283
2004-05-02 20:08:29 +00:00
Eric Kohl
00010bb088 Add missing io performance counters.
SystemPerformanceInformation reads io counters.

svn path=/trunk/; revision=9282
2004-05-02 19:34:21 +00:00
Thomas Bluemel
9ea61adcf9 implemented IsWindowInDestroy()
svn path=/trunk/; revision=9281
2004-05-02 17:25:21 +00:00
Thomas Bluemel
b2aa394176 implemented GetThreadLocale() and partly implemented SetThreadLocale()
svn path=/trunk/; revision=9280
2004-05-02 15:47:34 +00:00
Thomas Bluemel
3cc6704954 ported GetBinaryType() from wine
svn path=/trunk/; revision=9279
2004-05-02 14:47:05 +00:00
Art Yerkes
6ec9cfe422 Explanation of the files here.
svn path=/trunk/; revision=9278
2004-05-02 07:36:36 +00:00
Art Yerkes
223730ca41 First rev where a full connect - receive - disconnect cycle worked, although
data wasn't delivered to the client program.  The TCP performed correctly in
handling incoming data, connecting and acknowledging traffic.  Pared down
files to minimum needed.  I'll be able to do more later with the directory
structure, but this is quite workable.

Now working on the rest of the interface to the upper layer.

I'm trying to make this interface as generic as possible so that when IPv6
is added to reactos, there won't have to be too many changes.

svn path=/trunk/; revision=9277
2004-05-02 07:24:43 +00:00
James Tabor
f9df303240 Proper way for counting process handles.
svn path=/trunk/; revision=9275
2004-05-02 04:40:25 +00:00
Gé van Geldorp
f36cfa653a Always reset AUTO_RESIZE flag on exit from REBAR_ForceResize
svn path=/trunk/; revision=9274
2004-05-01 21:22:18 +00:00
Eric Kohl
db2d21de92 Fix Nt/ZwGetTickCount.
svn path=/trunk/; revision=9273
2004-05-01 19:22:49 +00:00
Thomas Bluemel
9c2e9ae15d include welcome.exe on the bootcd
svn path=/trunk/; revision=9272
2004-05-01 19:05:29 +00:00
Mike Nordell
6afc02946b Display module names with the stack trace on unhandled exception (debug)
svn path=/trunk/; revision=9271
2004-05-01 18:09:53 +00:00
Thomas Bluemel
1c49860e46 implemented AnyPopup()
svn path=/trunk/; revision=9270
2004-05-01 18:06:59 +00:00
Mike Nordell
86805ab86a MmQuerySectionView now returns correct AllocationBase (Hartmut Birr)
svn path=/trunk/; revision=9269
2004-05-01 17:11:34 +00:00
Thomas Bluemel
9e1f523308 implemented LockWindowStation() and UnlockWindowStation() (forgot to commit these changes in my previous commit)
svn path=/trunk/; revision=9268
2004-05-01 17:06:55 +00:00
Thomas Bluemel
56ee4446f0 implemented RegisterLogonProcess(), LockWindowStation() and UnlockWindowStation()
svn path=/trunk/; revision=9267
2004-05-01 16:43:15 +00:00
Eric Kohl
346aa0cca2 - Set ALLUSERSPROFILE environment variable upon logon.
- Implement CreateGroup().

svn path=/trunk/; revision=9266
2004-05-01 11:55:38 +00:00
Eric Kohl
58fa3560b2 Add required user shell folder settings.
svn path=/trunk/; revision=9265
2004-05-01 11:53:20 +00:00
Thomas Bluemel
29963dba5d don't use DrawFocusFrame for thin window moving rectangles
svn path=/trunk/; revision=9264
2004-05-01 11:43:52 +00:00
Thomas Bluemel
36599d2a2b fixed DrawFocusRect() to use values from SPI_GETFOCUSBORDERWIDTH/HEIGHT
svn path=/trunk/; revision=9263
2004-05-01 11:38:28 +00:00
Thomas Bluemel
9900ed382e changed SetCursorPos() to use SendInput()
svn path=/trunk/; revision=9262
2004-05-01 09:31:59 +00:00
Gé van Geldorp
d490382a4f Use only LSBit for 1bpp putpixel
svn path=/trunk/; revision=9261
2004-05-01 09:04:37 +00:00
Thomas Bluemel
b4abd1fae0 setup the cursor in the middle of the screen
svn path=/trunk/; revision=9260
2004-05-01 08:55:04 +00:00
Thomas Bluemel
b88aed24cb fix mouse clipping
svn path=/trunk/; revision=9259
2004-05-01 08:47:14 +00:00
Filip Navara
1eeed5accd - Add ASSERT for a palette size.
svn path=/trunk/; revision=9258
2004-05-01 00:51:51 +00:00
Mike Nordell
5b7d8220d3 Make MmQuerySectionView tell how many bytes it actually did set. Fixes VirtualQuery.
svn path=/trunk/; revision=9257
2004-05-01 00:25:41 +00:00
Filip Navara
8b99b4b1c0 - Avoid potencial access violation. Might fix bug #297.
svn path=/trunk/; revision=9256
2004-04-30 23:42:20 +00:00
Thomas Bluemel
c2d319d2d2 use SendInput() to send mouse input data
svn path=/trunk/; revision=9255
2004-04-30 22:18:00 +00:00
Gé van Geldorp
d25a045798 Change bugcheck parameter to easily find out which SESSION5_INITIALIZATION_FAILED
bugcheck occurred

svn path=/trunk/; revision=9254
2004-04-30 20:49:39 +00:00
Steven Edwards
afb4fdb6f1 Remove Visual Mingw. It didnt build anyway,
svn path=/trunk/; revision=9253
2004-04-30 17:56:14 +00:00
Filip Navara
c7eed44a94 CMD Enhancements:
- Fixed UNICODE build.
- Make the DIR /W behave like in Windows.
- Fixed various problems with command input going mad when the screen contents have scrolled.

svn path=/trunk/; revision=9252
2004-04-30 16:52:42 +00:00
Thomas Bluemel
8352c9c082 fixed brush origin
svn path=/trunk/; revision=9251
2004-04-30 14:22:44 +00:00
Gé van Geldorp
db615bc523 Fix TB_GETSTYLE to return the style of the toolbar when wParam is 0.
Spotted by Maxime Belleng� <maxime.bellenge@laposte.net>.
Fixes bug #290.

svn path=/trunk/; revision=9250
2004-04-30 09:55:16 +00:00
Thomas Bluemel
8d041e5355 silence debug message
svn path=/trunk/; revision=9249
2004-04-29 22:42:51 +00:00
Gé van Geldorp
e9a87d53bd Return NULL only in error case
svn path=/trunk/; revision=9248
2004-04-29 21:17:36 +00:00
Gé van Geldorp
edbeb9c88b Implement DDE Execute:
- Do required translations (KernelMode -> UserMode format, ASCII/Unicode)
  in GetMessage
- Call window proc directly from DispatchMessage instead of via callback
- Apply message filter to WM_PAINT and WM_NCPAINT messages
- Implement marshalling of pointer lParams for PostMessage

svn path=/trunk/; revision=9247
2004-04-29 21:13:16 +00:00
Thomas Bluemel
0f0200e106 don't crash if no thread desktop set
svn path=/trunk/; revision=9246
2004-04-29 20:41:03 +00:00
Thomas Bluemel
ddcbbf2e8d implemented keybd_event(), mouse_event(), BlockInput() and SendInput() - the server side however isn't implemented yet
svn path=/trunk/; revision=9245
2004-04-29 20:26:35 +00:00
Filip Navara
ed9f67afe7 - Initialize the serial port to reasonable state after the detection. (Needed by Virtual PC)
svn path=/trunk/; revision=9244
2004-04-29 17:06:21 +00:00
Filip Navara
0419425cb7 - Simplified the mapping of video memory. Now it works in Virtual PC 2004.
svn path=/trunk/; revision=9243
2004-04-29 16:55:37 +00:00
Eric Kohl
4056581a21 Implement AddDesktopItem() and DeleteDesktopItem().
svn path=/trunk/; revision=9242
2004-04-29 14:41:26 +00:00
Mike Nordell
de1dd3b0d4 stop kernel crashing on thread termination
svn path=/trunk/; revision=9240
2004-04-28 23:46:26 +00:00
Hartmut Birr
8111f57e17 - Dereference the idle process in some of the NtQuerySystemInformation functions.
svn path=/trunk/; revision=9239
2004-04-28 20:50:02 +00:00
Hartmut Birr
a0588eb04b - Set the offset for a physical page in MmGetPhysicalAddress.
svn path=/trunk/; revision=9238
2004-04-28 20:46:03 +00:00
Hartmut Birr
3c66806fb0 - Call the DriverStartIo routine at DISPATCH_LEVEL in IoStartPacket.
svn path=/trunk/; revision=9237
2004-04-28 20:42:01 +00:00
Hartmut Birr
e9ee16d561 - Fixed _chmod and _wchmod.
svn path=/trunk/; revision=9236
2004-04-28 20:20:00 +00:00
Filip Navara
47b812dde4 - Simplified handling of palettes selected into device contexts. Now DC->w.hPalette should always point to palette object and shoudn't be NULL.
- Fixed bitfield conversion when creating Color -> Mono XLATEOBJs. Fixes bug #275.

svn path=/trunk/; revision=9235
2004-04-28 18:38:07 +00:00
Aleksey Bragin
3f814d3837 Sorry about that it took so long to commit this file - I was installing a new HDD -> means a new OS installation, etc.
svn path=/trunk/; revision=9234
2004-04-28 12:55:21 +00:00
Jason Filby
de492d049e Followed Casper's advice to use macros to simplify regression tests
svn path=/trunk/; revision=9233
2004-04-27 20:31:32 +00:00
Filip Navara
6cb09490e5 - Fixed line endings and imm32.dll name.
svn path=/trunk/; revision=9232
2004-04-27 20:16:42 +00:00
Jason Filby
17bf83aa38 Second MDL test
svn path=/trunk/; revision=9231
2004-04-27 17:48:52 +00:00
Steven Edwards
855d8095ef Added imm32 and psapi to the CD.
(sorry if this messes up this is the first time I
am doing development from a Linux cross-compile)

svn path=/trunk/; revision=9230
2004-04-26 20:33:13 +00:00
Gunnar Dalsnes
42ad6cb85f make sure temp directory exist
svn path=/trunk/; revision=9229
2004-04-26 20:26:15 +00:00
Gunnar Dalsnes
63bc13d624 fix broken MakeSureDirectoryPathExists. It depended on Wine's
CreateDirectory, which seems to be more relaxed that the ros/Windows
version.

svn path=/trunk/; revision=9228
2004-04-26 20:24:04 +00:00
Gunnar Dalsnes
bdce3452a0 build imagehlp
svn path=/trunk/; revision=9227
2004-04-26 20:20:11 +00:00
Gunnar Dalsnes
68d020f48d make imagehlp import lib
svn path=/trunk/; revision=9226
2004-04-26 20:19:21 +00:00
Thomas Bluemel
be07990679 fixed NtGdiPtVisible()
svn path=/trunk/; revision=9225
2004-04-26 19:58:45 +00:00
Thomas Bluemel
4043538723 fixed hittest calculation
svn path=/trunk/; revision=9224
2004-04-26 17:49:04 +00:00
James Tabor
772e31feb1 Added Process HandleCount information.
svn path=/trunk/; revision=9223
2004-04-26 05:46:35 +00:00
Martin Fuchs
375cb8f522 handle GetDateFormat) failures
(idea by Thomas Weidenmueller)

svn path=/trunk/; revision=9222
2004-04-25 20:22:04 +00:00
Thomas Bluemel
c038032038 implemented GetDCBrushColor(), SetDCBrushColor(), GetDCPenColor() and SetDCPenColor(). they're UNTESTED so far!
svn path=/trunk/; revision=9221
2004-04-25 20:05:30 +00:00
Thomas Bluemel
ffa06b86eb implemented ExtSelectClipRgn() (untested!)
svn path=/trunk/; revision=9220
2004-04-25 16:40:39 +00:00
Thomas Bluemel
d69e5f4dee implemented ExcludeClipRect()
svn path=/trunk/; revision=9219
2004-04-25 16:06:20 +00:00
Thomas Bluemel
6a433d3812 implemented PtVisible()
svn path=/trunk/; revision=9218
2004-04-25 15:52:31 +00:00
Thomas Bluemel
eb9b7d6f5d implemented GetCurrentObject()
svn path=/trunk/; revision=9217
2004-04-25 15:31:43 +00:00
Thomas Bluemel
18d53db81a use "readable" parameter names in functions
svn path=/trunk/; revision=9216
2004-04-25 14:46:54 +00:00
Thomas Bluemel
1cacbc22e0 set proper errorcode in some functions
svn path=/trunk/; revision=9215
2004-04-25 12:51:53 +00:00
Thomas Bluemel
b22facf240 1. implemented hatched brushes
2. fixed memory leak when deleting patterned brushes
3. use brush origin in dib code

svn path=/trunk/; revision=9214
2004-04-25 11:34:13 +00:00
Filip Navara
2dcb05259a - Minor correction to RPC structures.
svn path=/trunk/; revision=9212
2004-04-24 21:35:24 +00:00
Thomas Bluemel
ed71de17e7 proper implementation of FrameRgn() (cannot be ported from wine because wine's implementation is wrong)
svn path=/trunk/; revision=9211
2004-04-24 14:21:37 +00:00
James Tabor
d0983a67cd Set 386 as default cpu type.
svn path=/trunk/; revision=9210
2004-04-24 05:11:54 +00:00
Thomas Bluemel
aeef6123b6 fixed some error cases
svn path=/trunk/; revision=9207
2004-04-23 21:35:59 +00:00
Filip Navara
e7d451e2fd - Correctly swap the Red and Blue colors while setting the palette on non-VGA compatible adapters.
svn path=/trunk/; revision=9206
2004-04-23 20:12:57 +00:00
Filip Navara
4e374dbe4b - Fix the emulation of 'inl' instruction in V86 mode.
svn path=/trunk/; revision=9205
2004-04-23 20:11:11 +00:00
Thomas Bluemel
eabb3b47ad fixed calculation of the non-client-area when WS_BORDER is set
svn path=/trunk/; revision=9204
2004-04-23 19:29:04 +00:00
Hartmut Birr
ac9fc6496a - Initialized the srb on each call to SpiSendInquiry.
svn path=/trunk/; revision=9203
2004-04-23 14:29:07 +00:00
Thomas Bluemel
5ad3f25a47 implemented InvertRgn()
svn path=/trunk/; revision=9202
2004-04-23 13:34:04 +00:00
James Tabor
8ab1cba914 Fixed my mistake in SystemProcessorInformation.
svn path=/trunk/; revision=9201
2004-04-23 06:19:28 +00:00
James Tabor
e20d930ab0 Fixed SystemProcessorInformation.
svn path=/trunk/; revision=9200
2004-04-23 05:37:10 +00:00
James Tabor
87065d0083 Fix return for cpuid.
svn path=/trunk/; revision=9199
2004-04-23 05:34:54 +00:00
James Tabor
8745574fb5 Fix GlobalMemoryStatus & Ex.
svn path=/trunk/; revision=9196
2004-04-22 02:20:52 +00:00
James Tabor
28dfa0ecb7 Implemented new Ros exclusive function SystemFullMemoryInformation.
This is used for suppling virtual user memory usage for GlobalMemoryStatusEx.

svn path=/trunk/; revision=9195
2004-04-22 01:57:49 +00:00
Hartmut Birr
22adb5da88 - Made some flags for the flag value from the FILE structure compatible with the mingw headers.
- Use _IO_LBF instead of _IOLBF, because _IOSTRG and _IOLBF has the same value.

svn path=/trunk/; revision=9194
2004-04-21 21:40:43 +00:00
Gunnar Dalsnes
8a39d95805 temp.workaround: allways free irp
svn path=/trunk/; revision=9191
2004-04-20 23:14:35 +00:00
James Tabor
9acfed6d38 Filip Navara NtGetTickCount implementation.
svn path=/trunk/; revision=9190
2004-04-20 20:39:19 +00:00
Gunnar Dalsnes
03cfbfef0a make mdl usage/impl. more windows compliant
svn path=/trunk/; revision=9189
2004-04-20 19:04:11 +00:00
Gunnar Dalsnes
d169532a77 make mdl impl. more windows compliant
svn path=/trunk/; revision=9188
2004-04-20 18:59:00 +00:00
Jason Filby
87b81bac7c Correct test for MmSizeOfMdl
svn path=/trunk/; revision=9187
2004-04-20 18:52:04 +00:00
Eric Kohl
9e797fd74b Fix typos.
svn path=/trunk/; revision=9186
2004-04-19 10:55:04 +00:00
Eric Kohl
ddaf880002 - Use new userenv.h prototypes.
- Add new dialogs to Czech language for translation.
- Make install wizard code UNICODE aware.

svn path=/trunk/; revision=9185
2004-04-19 10:54:23 +00:00
Eric Kohl
2716e12077 Implement CreateUserProfileA().
svn path=/trunk/; revision=9184
2004-04-19 10:51:17 +00:00
Eric Kohl
0441662dd1 Add private prototypes. Don't contribute them to MinGW!
svn path=/trunk/; revision=9183
2004-04-19 10:50:19 +00:00
Hartmut Birr
4debbe40cc - Fixed the open counter in IntVideoPortDispatchClose.
svn path=/trunk/; revision=9182
2004-04-18 12:59:14 +00:00
James Tabor
331cdb2fcd Add BasePriorty to ProcessBasicInformaion.
svn path=/trunk/; revision=9181
2004-04-18 06:08:36 +00:00
James Tabor
92d947082b Fix Kernel User Timer.
svn path=/trunk/; revision=9177
2004-04-18 00:52:57 +00:00
James Tabor
27b608d040 Fix Kernel User Timer and added ProcessTimes to QueryInformatinProcess
svn path=/trunk/; revision=9176
2004-04-18 00:50:53 +00:00
Thomas Bluemel
b5ae6df350 reverted last change
svn path=/trunk/; revision=9175
2004-04-17 20:23:20 +00:00
Eric Kohl
4845295e63 'Del *.*' ignores directories.
This fixes bug 291.

svn path=/trunk/; revision=9174
2004-04-17 12:01:04 +00:00
Thomas Bluemel
9e9160f508 fixed some scrollbar issues
svn path=/trunk/; revision=9173
2004-04-17 11:00:14 +00:00
Filip Navara
61878c60d2 - Improved RPC headers.
svn path=/trunk/; revision=9170
2004-04-17 07:41:26 +00:00
Gé van Geldorp
b656708fcc Merge back commit from WineHQ
svn path=/trunk/; revision=9169
2004-04-17 07:32:44 +00:00
Filip Navara
b4ff26c3b6 Temporary revert this patch, because it causes a lot of crashes. I sent a message to wine-devel describing the problem.
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Fix subclassing to support nested messages.

svn path=/trunk/; revision=9168
2004-04-16 23:44:19 +00:00
Thomas Bluemel
fb5087e80c fixed missing window dereferences and a minor thread-safety bug
svn path=/trunk/; revision=9167
2004-04-16 21:50:26 +00:00
Filip Navara
b6da18c3a0 Force resize before calling RBN_HEIGHTCHANGE notification.
svn path=/trunk/; revision=9166
2004-04-16 20:52:51 +00:00
Thomas Bluemel
c4bde9bbf1 properly remove mousemove messages
svn path=/trunk/; revision=9165
2004-04-16 18:53:53 +00:00
Eric Kohl
f269c53d06 Clear data buffer before sending the INQUIRY command.
svn path=/trunk/; revision=9164
2004-04-16 13:39:46 +00:00
Eric Kohl
dc45d5f3f3 Implement the GUI setup wizard.
svn path=/trunk/; revision=9163
2004-04-16 13:37:18 +00:00
Gé van Geldorp
956eca91cf Update status of ported DLLs
svn path=/trunk/; revision=9162
2004-04-16 09:13:21 +00:00
Gé van Geldorp
3f429071a7 Sync to Wine-20040408
svn path=/trunk/; revision=9160
2004-04-16 09:11:30 +00:00
Gé van Geldorp
4374bb1685 Sync to Wine-20040408
Eric Pouech <pouech-eric@wanadoo.fr>
- implemented MCI_SOUND command
- fixed MCI command table in resource
- added a TODO list on MCI handling
Christian Costa <titan.costa@wanadoo.fr>
- MCI strings are case insensitive.
- Fixed a returned error value.
- Default to FOURCC_DOS if no IOProc found.

svn path=/trunk/; revision=9159
2004-04-16 09:04:04 +00:00
Gé van Geldorp
36e8261e77 Sync to Wine-20040408:
Alexandre Julliard:
- Added memicmpW.

svn path=/trunk/; revision=9158
2004-04-16 08:58:34 +00:00
Gé van Geldorp
e20e56a546 Sync to Wine-20040408:
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Implement SHMessageBoxCheck functions && add dialog resources.
- Add SHWaitForSendMessageThread, SHAnsiToUnicodeCP,SHStripMneumonicW,
  SHSearchMapInt.
- Make copies of keys when creating, free them when done.
- Use KEY_ALL_ACCESS when writing US reg values.
- SHRegWriteUSValueW: Handle all flag combinations.
- Make some A calls use the W version.
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Updated Spanish translations.
Ulrich Czekalla <ulrich@codeweavers.com>
- Implement FixSlashesAndColonW and add stub for SHGetAppCompatFlags.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- UrlCanonicalizeW: Remove \r and \n at the end of lpszUrlCpy, with test
  cases.

svn path=/trunk/; revision=9157
2004-04-16 08:47:55 +00:00
Gé van Geldorp
768e79dd1f Sync to Wine-20040408:
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Updated Spanish translations.

svn path=/trunk/; revision=9156
2004-04-16 08:36:17 +00:00
Gé van Geldorp
d32be1b605 Sync to Wine-20040408:
Warren Turkal <wt@midsouth.rr.com>
- Fixed the implementation of CoTreatAsClass.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.

svn path=/trunk/; revision=9155
2004-04-16 08:31:25 +00:00
James Tabor
1954069fed VmWare is having problems with Volatile and Atomic process counters at boot time. Fix later
svn path=/trunk/; revision=9154
2004-04-16 01:28:15 +00:00
Thomas Bluemel
fb6ac7fe65 minor fix
svn path=/trunk/; revision=9153
2004-04-16 01:27:44 +00:00
Thomas Bluemel
8eca059c02 1. move SendMessage calls out of the message queue processing code
2. fixed translation of coordinates calculation in different thread states (capturing, in menus, ...)
3. Proper implementation of Set/GetWindowText/Length() (as described in
4. speed improvements

svn path=/trunk/; revision=9152
2004-04-15 23:36:03 +00:00
Thomas Bluemel
1771d71894 fix linking error
svn path=/trunk/; revision=9151
2004-04-15 18:52:45 +00:00
Thomas Bluemel
2751202062 Masahiro Taguchi - small windowbar sizing fix for WS_EX_TOOLWINDOW
svn path=/trunk/; revision=9150
2004-04-15 11:44:03 +00:00
Gé van Geldorp
b8549e32fa Sync to Wine-20040408:
Juan Lang <juan_lang@yahoo.com>
- implement loading network providers
- implement enumeration functions
- some improved error checking and A->W conversion

svn path=/trunk/; revision=9149
2004-04-15 09:28:04 +00:00
Gé van Geldorp
3d289e8e05 Sync to Wine-20040408:
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Separate US English resources from English ones.
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Updated Spanish translations.
Marcelo Duarte <wine-devel@bol.com.br>
- Minor updates in resource for Portuguese.
Rein Klazes <rklazes@xs4all.nl>
- Fix a possible null pointer crash in FILEDLG95_LOOKIN_Init.

svn path=/trunk/; revision=9148
2004-04-15 08:42:21 +00:00
Gé van Geldorp
5f3c9e9df2 Sync to Wine-20040408:
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Add cursor resource.
- Implement TB_MOVEBUTTON.
- Implement drag customise.
- Send TBN_TOOLBARCHANGE and TBN_DELETINGBUTTON.
- Spelling fixes.
- Fix subclassing to support nested messages.
- Document control completeness.
- Remove unneeded include.
- Fix TEXT define.
- Fix tabs.
- Small optimisation in DrawInsert.
- Fix LButtonDown from previous change.
- Don't use BF_ADJUST flag for dropdown buttons.
- Fix LButtonDblClk.
- Fix SetBitmapSize.
- Fix SetButtonInfo.
- Documentation update.
- Better hot item handling.
- Fix DrawMasked to always use the right image list and bitmap index.
- Document completeness.
- Finish tooltip support.
- Honour WM_SETREDRAW.
- Fix all calls of InvalidateRect.
- Implement TB_LOADIMAGES, TB_MAPACCELERATOR{A,W}, TB_MARKBUTTON and
  undocumented message 0x460.
- Better debug output of undocumented message 0x45D.
- Add support for a toolbar global iListGap.
- Make TOOLBAR_CalcToolbar and TOOLBAR_DrawButton not rely on "magic
  numbers" and calculate sizes and positions more like native.
- Rewrite drawing code.
- TTM_TRACKACTIVATE can have NULL lParam when deactivating.
- Factor out common code from TOOLTIPS_DelTool{A,W}.
- Update all indices correctly after delete.
- Unicode notification detection should be local to each tool.
- Implement TTN_GETDISPINFOW notification.
Alexandre Julliard
- Do not kill the animation thread with TerminateThread, let it finish
  properly.
- Fixed a couple of races with the animation thread.
Juan Lang <juan_lang@yahoo.com>
- Prevent negative coords for line, turn off redraw when initializing,
  document one difference in native/builtin behavior.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Mike McCormack <mike@codeweavers.com>
- Make sure the rebar size is above a minimum.
- Make sure to take account of hidden bands during layout.
- Don't calculate the redundant and unused REBAR_ROW structures.
Filip Navara <xnavara@volny.cz>
- Support for RBBS_HIDETITLE style.
Ulrich Czekalla <ulrich@codeweavers.com>
- Fix rebar band insertion and non-client calculation in pager control.
Huw Davies <huw@codeweavers.com>
- Fix dumb error from rev. 1.158.
- When setting the buddy to 0 then we must still resize the updown
  control.
- Added CS_HREDRAW.
Ge van Geldorp <gvg@reactos.com>
- Explicitly ask for image list with screen depth as ILC_COLOR can/will
  limit the depth to 4bpp now.

svn path=/trunk/; revision=9147
2004-04-15 08:29:57 +00:00
Thomas Bluemel
b5c06d7dbd better handling of invalid strings in IntSafeCopyUnicodeString()
svn path=/trunk/; revision=9146
2004-04-14 23:40:43 +00:00
James Tabor
a746bec6f1 Improved Passive Level kernel and user time counters.
svn path=/trunk/; revision=9145
2004-04-14 23:32:53 +00:00
Thomas Bluemel
9a4b93f87e rewrote NtUserFindWindowEx() so it works as it's supposed to. This function is currently called from FindWindowEx(), however there should be a usermode implementation of FindWindowEx() that sends WM_GETTEXT messages to windows belonging to the caller's process. This is not done and should not be done from the kernel mode version.
svn path=/trunk/; revision=9144
2004-04-14 23:17:56 +00:00
Thomas Bluemel
78b070f6b0 enable a debug message
svn path=/trunk/; revision=9143
2004-04-14 20:18:12 +00:00
Thomas Bluemel
c62a106e0c removed unused variable
svn path=/trunk/; revision=9142
2004-04-14 19:07:14 +00:00
Thomas Bluemel
34ec714d1b treat WM_NCMOUSEMOVE message as WM_MOUSEMOVE messages
svn path=/trunk/; revision=9141
2004-04-14 19:06:02 +00:00
Thomas Bluemel
9816ef1a2b forgot to commit a fix
svn path=/trunk/; revision=9140
2004-04-14 17:35:47 +00:00
Thomas Bluemel
81a46fb20d fixed major bugs in the message queue
svn path=/trunk/; revision=9139
2004-04-14 17:19:38 +00:00
James Tabor
b325c3fecb Need more time to work audit patch
svn path=/trunk/; revision=9138
2004-04-14 17:14:45 +00:00
James Tabor
93a7d0e19d Fix by Marc Schtz.
svn path=/trunk/; revision=9137
2004-04-14 12:17:26 +00:00
James Tabor
7d88f002d2 Implementation of system performance auditing hax.
svn path=/trunk/; revision=9136
2004-04-14 07:11:20 +00:00
Thomas Bluemel
900e819d27 little fix
svn path=/trunk/; revision=9135
2004-04-13 23:25:54 +00:00
Thomas Bluemel
b4472c0848 fixed implementation of ChildWindowFromPointEx()
svn path=/trunk/; revision=9134
2004-04-13 23:12:30 +00:00
Thomas Bluemel
bbd9b3d4a8 added paramter -e to skip and count empty lines
svn path=/trunk/; revision=9133
2004-04-13 21:34:45 +00:00
Martin Fuchs
b1a7c433b7 correct error handling in SHELL32_ParseNextElement()
svn path=/trunk/; revision=9132
2004-04-13 20:55:45 +00:00
Martin Fuchs
23a76b4fa1 return "file not found" error values instead of E_INVALIDARG if _ILCreateFromPathA() failed to find files
svn path=/trunk/; revision=9131
2004-04-13 20:54:05 +00:00
Martin Fuchs
ecef0f56e1 merge Wine commit:
Filip Navara <xnavara@volny.cz>
Get rid of non-standard ERROR_UNKNOWN value. The IShellLink case was
tested, others were replaced with reasonable values.

svn path=/trunk/; revision=9130
2004-04-13 20:50:04 +00:00
Martin Fuchs
df24731574 make drive letters in PIDLs always uppercase to enable PIDL comparison
svn path=/trunk/; revision=9129
2004-04-13 20:47:19 +00:00
Jason Filby
4245c59dc1 Update memory regression test and split MDL tests into new file series
svn path=/trunk/; revision=9128
2004-04-13 20:30:58 +00:00
Martin Fuchs
d6e3263af5 return TRUE for TVM_EXPAND if treeview item is already expanded
svn path=/trunk/; revision=9127
2004-04-13 19:51:44 +00:00
Martin Fuchs
ee28a3ec39 spelling fixes
svn path=/trunk/; revision=9126
2004-04-13 19:23:15 +00:00
Thomas Bluemel
e2cebfc8d6 fixed crashes caused by an invalid pointer
svn path=/trunk/; revision=9125
2004-04-13 18:40:00 +00:00
Thomas Bluemel
2a3a6e1dda directly get the window text when drawing the caption bar
svn path=/trunk/; revision=9124
2004-04-13 17:25:22 +00:00
Thomas Bluemel
fa3672479b properly free unicode string
svn path=/trunk/; revision=9123
2004-04-13 16:55:54 +00:00
Thomas Bluemel
83af90bff4 don't pass ansi strings to win32k!!!!
svn path=/trunk/; revision=9122
2004-04-13 16:48:45 +00:00
Thomas Bluemel
83af3eae1d post focus messages to different threads
svn path=/trunk/; revision=9121
2004-04-13 13:50:31 +00:00
Thomas Bluemel
b9a55f9ce0 fixed memory leak
svn path=/trunk/; revision=9120
2004-04-13 00:06:50 +00:00
KJK::Hyperion
ba45b57272 System call thunk generation made marginally more portable:
- generate real C functions with inline asm. Should fix a problem with cross-compilation on 64-bit hosts
 - store parameter count, not parameter block size in sysfuncs.lst

svn path=/trunk/; revision=9119
2004-04-12 22:07:45 +00:00
James Tabor
b7a5d0ed98 Add Debug header.
svn path=/trunk/; revision=9118
2004-04-12 19:52:36 +00:00
Martin Fuchs
bdf792d41a ShellBrowserChild: jump to addressbar target
svn path=/trunk/; revision=9117
2004-04-12 19:49:12 +00:00
Martin Fuchs
77fbf2134e comments
svn path=/trunk/; revision=9116
2004-04-12 18:07:38 +00:00
Martin Fuchs
ec66d1b6b9 show waitcursor when switching to anotehr dir
svn path=/trunk/; revision=9115
2004-04-12 17:57:44 +00:00
Filip Navara
c93eb9e54e - Reverted my last changed, should go to branch!
svn path=/trunk/; revision=9114
2004-04-12 17:31:01 +00:00
Filip Navara
75a32eddd8 - Reverted my last changed, should go to branch!
svn path=/trunk/; revision=9112
2004-04-12 17:20:47 +00:00
Filip Navara
15d5f5709e - Initial hacky implementation of some SCM calls needed by coLinux.
svn path=/trunk/; revision=9110
2004-04-12 17:14:55 +00:00
Filip Navara
318d9e885e - Return some reasonable values from GlobalMemoryStatusEx.
svn path=/trunk/; revision=9109
2004-04-12 17:09:36 +00:00
Martin Fuchs
f6288bd6e9 immediatelly maximize first MDI child window
svn path=/trunk/; revision=9108
2004-04-12 17:09:04 +00:00
Thomas Bluemel
17b4be229e minor fix
svn path=/trunk/; revision=9107
2004-04-12 16:14:54 +00:00
Thomas Bluemel
ba87b6d902 don't copy files if already present
svn path=/trunk/; revision=9106
2004-04-12 16:09:45 +00:00
Martin Fuchs
6a3ea3a956 - fix Entry::read_tree() and get_next_path_component()
- jump to FileChildWindow's directory when entered in address bar

svn path=/trunk/; revision=9105
2004-04-12 15:58:48 +00:00
Filip Navara
d24371eaec - Remove the hack implemenation of LookupPrivilegeValueW.
- Don't check for load driver privilege yet.
- Don't try to acquire load driver privilege in Services.

svn path=/trunk/; revision=9103
2004-04-12 15:22:53 +00:00
Martin Fuchs
95182ed8f5 remove MB_ERR_INVALID_CHARS flag
svn path=/trunk/; revision=9102
2004-04-12 15:08:14 +00:00
Filip Navara
a885a5c4bc - Minor correction to returned error.
svn path=/trunk/; revision=9101
2004-04-12 14:46:02 +00:00
Thomas Bluemel
83d22245fd make the bitmap look like it's supposed to
svn path=/trunk/; revision=9100
2004-04-12 14:10:50 +00:00
Thomas Bluemel
755a1a820f reverted, my mistake
svn path=/trunk/; revision=9099
2004-04-12 13:13:38 +00:00
Thomas Bluemel
a1240dac2e forgot adding the floppy driver
svn path=/trunk/; revision=9098
2004-04-12 13:10:19 +00:00
Filip Navara
de77cb9e79 - Fixed connection/disconnecting/closing handling, so we don't connect to dead and disconnected pipes.
- Handle the OPEN_EXISTING flag correctly.
- Report reasonable error messages instead of STATUS_UNSUCCESSFUL.

svn path=/trunk/; revision=9097
2004-04-12 13:03:29 +00:00
Thomas Bluemel
d7bba47d07 added some makefiles
svn path=/trunk/; revision=9096
2004-04-12 12:08:53 +00:00
Martin Fuchs
ea01087f9c check in gpl.txt as binary UTF-16 file
svn path=/trunk/; revision=9095
2004-04-12 11:07:54 +00:00
Martin Fuchs
7550de503a remove gpl.txt before adding again with -kb
svn path=/trunk/; revision=9094
2004-04-12 11:07:13 +00:00
Martin Fuchs
bdc459faa9 one more error handling fix for GetTimeFormatA()
svn path=/trunk/; revision=9093
2004-04-12 10:49:48 +00:00
Martin Fuchs
a46eec6cea - RosGetTimeFormat(): replace "if (!cchTime) ; else ..." by "if (cchTime)" and adjust comment
- Kohn Emil Dan <emild@cs.technion.ac.il>:

1) RosGetTimeFormat() has a small bug. The last statement should be
return nPos;
and not
return cchTime;

2) GetTimeFormatA() is not implemented. I have written an implementation
for it, which calls GetTimeFormatW(), and converts the string parameters
back and forth.

(committed with adjustments for correct error handling)

svn path=/trunk/; revision=9092
2004-04-12 10:19:43 +00:00
Filip Navara
03124cf16a - Don't declare DWORDLONG as double!
svn path=/trunk/; revision=9091
2004-04-12 09:50:01 +00:00
Martin Fuchs
387d641ed5 optimize favorites sidebar
svn path=/trunk/; revision=9090
2004-04-12 07:38:17 +00:00
Martin Fuchs
2a1a6cbf85 simplified chinese resources by Larry Li <larry@mimios.com>
svn path=/trunk/; revision=9089
2004-04-12 07:37:08 +00:00
Filip Navara
1ff2de0b1a - Implement LookupPrivilegeValueW.
svn path=/trunk/; revision=9087
2004-04-11 19:21:43 +00:00
Gé van Geldorp
968753f694 Add fastinstall target which copies the files but doesn't rebuild the
registry

svn path=/trunk/; revision=9086
2004-04-11 16:51:56 +00:00
Jason Filby
e2c7015e0a Reenable NDEBUG
svn path=/trunk/; revision=9085
2004-04-11 16:10:05 +00:00
Jason Filby
763fb168d1 AcquireLoadDriverPrivilege() to fix problem with SCM not being able to load drivers. Patch by Filip Navara.
svn path=/trunk/; revision=9084
2004-04-11 16:09:11 +00:00
Jason Filby
f2d2a85374 Two DPRINTs for NtLoadDriver failure cases
svn path=/trunk/; revision=9083
2004-04-11 15:31:21 +00:00
Jason Filby
73cb58e922 Add missing include tchar.h
svn path=/trunk/; revision=9082
2004-04-11 13:39:59 +00:00
Martin Fuchs
e848449f54 correct IShellFolder::GetAttributesOf() for the case *dwAttributes=0
svn path=/trunk/; revision=9081
2004-04-11 13:24:29 +00:00
Gé van Geldorp
45267ce58d Bump version number
svn path=/trunk/; revision=9080
2004-04-11 09:57:18 +00:00
Gé van Geldorp
b17d0f5101 - Implement NULL module case for EngFindImageProcAddress
- Add stubs for EngFindImageProcAddress()able not present yet

svn path=/trunk/; revision=9079
2004-04-11 09:09:38 +00:00
Eric Kohl
eddb2f5168 Implement tape IO functions.
svn path=/trunk/; revision=9078
2004-04-10 23:20:17 +00:00
Gunnar Dalsnes
dbb520a63f indent using astyle v1.15.3: astyle --style=ansi -c -s3 -S --convert-tabs %1
svn path=/trunk/; revision=9077
2004-04-10 22:36:07 +00:00
Martin Fuchs
4a875cac12 awake address bar to life
svn path=/trunk/; revision=9076
2004-04-10 20:31:18 +00:00
Filip Navara
30ed90f0b3 - Fix a stupid bug that prevented writing to pipes from working.
svn path=/trunk/; revision=9075
2004-04-10 16:20:59 +00:00
Eric Kohl
cc1629adc6 Fix TAPE_GET_POSITION and TAPE_SET_POSITION structures.
svn path=/trunk/; revision=9074
2004-04-10 16:05:18 +00:00
Martin Fuchs
35290117a3 adjust for WINE
svn path=/trunk/; revision=9073
2004-04-10 14:15:54 +00:00
Martin Fuchs
fe26854c52 avoid to use return length of RegQueryValueW
svn path=/trunk/; revision=9072
2004-04-10 12:56:18 +00:00
Martin Fuchs
74b7a8a0ca fix toggeling of toolbar windows
svn path=/trunk/; revision=9070
2004-04-10 12:07:11 +00:00
Martin Fuchs
f9cb0ec833 activate web bookmarks in cabinet windows
svn path=/trunk/; revision=9069
2004-04-10 10:12:35 +00:00
Filip Navara
17abe3357c - Implement FindWindowEx for case when ClassName == NULL.
svn path=/trunk/; revision=9068
2004-04-10 07:37:28 +00:00
Filip Navara
d0003f99f5 - Handle the case where no BrushOrigin is given even under EngStretchBlt and EngMaskBitBlt.
svn path=/trunk/; revision=9067
2004-04-10 00:58:14 +00:00
Filip Navara
565d0c19a4 - Remove forgotten DbgPrint.
svn path=/trunk/; revision=9066
2004-04-10 00:54:35 +00:00
Thomas Bluemel
cef28e1bf5 handle the case where no BrushOrigin is given
svn path=/trunk/; revision=9065
2004-04-09 22:27:39 +00:00
Gé van Geldorp
80a373534a Compensate BrushOrigin for translation
svn path=/trunk/; revision=9063
2004-04-09 22:13:26 +00:00
Filip Navara
97635093cd - Commit the correct changes to HEAD.
svn path=/trunk/; revision=9062
2004-04-09 22:00:38 +00:00
Filip Navara
12b4cb63bf - Include "roscfg.h".
svn path=/trunk/; revision=9061
2004-04-09 21:22:18 +00:00
Filip Navara
ca61a750e8 - Fixed DPRINTs.
svn path=/trunk/; revision=9060
2004-04-09 21:01:02 +00:00
Filip Navara
159aae243b Compile Win32k using W32API [Part II]:
- Replace usage of "ntddvid.h" header with "ntddvdeo.h".
- Remove some old and now unused headers.

svn path=/trunk/; revision=9059
2004-04-09 20:39:11 +00:00
Martin Fuchs
4043af4b0b Merge Wine shell32 commit:
Francois Gouget <fgouget@free.fr>
Cleanup the handling of the extension in SHELL_FindExecutable():
- Eliminate the corresponding fixed-size buffer which removes the limitation to 3 character extensions.
- Fix handling of the trailing '.' case.
- Do a case-insensitive check for the extension in win.ini.
  Increase the size of the command buffer to 1024.

svn path=/trunk/; revision=9058
2004-04-09 20:33:45 +00:00
Filip Navara
d05fb60776 Add LPC_MESSAGE_BASE_SIZE definition.
svn path=/trunk/; revision=9057
2004-04-09 20:29:29 +00:00
Martin Fuchs
b165b56577 Merge Wine shell32 commits:
Juan Lang <juan_lang@yahoo.com>
- comment fixes
- improved error checking and conformance with Windows
- remove some spurious error messages
- Move control panel applet enumeration to cpanelfolder.c.
- move CreateMyCompEnumList and CreateDesktopEnumList to their respective files
- rewrite CreateFolderEnumList to only FindFirstFile/FindNextFile once

svn path=/trunk/; revision=9056
2004-04-09 20:24:24 +00:00
Filip Navara
f2e2102f39 Fixed .cvsignore.
svn path=/trunk/; revision=9055
2004-04-09 20:24:13 +00:00
Martin Fuchs
a80aa40a8f fix floating favorites menus
svn path=/trunk/; revision=9054
2004-04-09 20:16:47 +00:00
Filip Navara
31c1c21824 - Compile Win32k, GDI, USER32 and CSRSS using W32API.
svn path=/trunk/; revision=9053
2004-04-09 20:03:21 +00:00
Martin Fuchs
db6bcc0793 remove unused variable
svn path=/trunk/; revision=9052
2004-04-09 19:46:15 +00:00
Martin Fuchs
bd41908243 remove unused variable
svn path=/trunk/; revision=9051
2004-04-09 19:45:37 +00:00
Martin Fuchs
05cab1ebfd replace previous favorites start menu folder implementation by fast FavoritesMenu (using the internal XML bookmark informations)
svn path=/trunk/; revision=9050
2004-04-09 19:42:21 +00:00
Thomas Bluemel
50133e0fad added tool for easy installation of the VMware SVGA driver
svn path=/trunk/; revision=9047
2004-04-09 18:27:11 +00:00
Martin Fuchs
7f72303d64 fix XML formating
svn path=/trunk/; revision=9045
2004-04-09 11:51:37 +00:00
Filip Navara
37bfcac65a - Register the standard control classes in GetClassInfo[Ex][AW] if needed.
svn path=/trunk/; revision=9044
2004-04-08 21:14:21 +00:00
Filip Navara
d7d8c7ba0f - Fix a small bug in RtlUnwind.
svn path=/trunk/; revision=9043
2004-04-08 21:14:18 +00:00
Jason Filby
c7da1f1e6a Correct test of value returned from MmQuerySystemSize
svn path=/trunk/; revision=9042
2004-04-08 20:50:02 +00:00
Jason Filby
80198861f1 Remove a DbgPrint used in testing
svn path=/trunk/; revision=9041
2004-04-08 20:49:15 +00:00
Jason Filby
7b4c7821ec Implement MmIsNonPagedSystemAddressValid as a call to MmIsAddressValid
svn path=/trunk/; revision=9040
2004-04-08 20:27:10 +00:00
Jason Filby
9108d0353a Fix MmIsAddressValid to check if VirtualAddress >= KERNEL_BASE
svn path=/trunk/; revision=9039
2004-04-08 20:05:08 +00:00
Gé van Geldorp
41d4ef6885 Export _wcmdln
svn path=/trunk/; revision=9038
2004-04-08 17:53:30 +00:00
Filip Navara
9f3885512a - Don't bugcheck if FDO wasn't attached.
svn path=/trunk/; revision=9036
2004-04-08 16:01:47 +00:00
Filip Navara
ba54c6c892 - Fixed minor bug in VGA driver.
svn path=/trunk/; revision=9033
2004-04-08 15:45:18 +00:00
Filip Navara
57e1e034b8 - Fixed a typo: 0x31 -> 31
svn path=/trunk/; revision=9032
2004-04-08 15:45:17 +00:00
Gé van Geldorp
9358255f84 HwResetHw can be (and sometimes is) NULL
svn path=/trunk/; revision=9030
2004-04-08 15:36:36 +00:00
Thomas Bluemel
7cb3dcec2c some fixes so it can also be compiled as a unicode app
svn path=/trunk/; revision=9028
2004-04-08 12:47:49 +00:00
Thomas Bluemel
b351485907 some fixes that caused crashes
svn path=/trunk/; revision=9027
2004-04-08 12:25:00 +00:00
Filip Navara
f051684bf8 - Add registry entries for SVGA VBE driver.
- Include the driver on the Boot CD.

svn path=/trunk/; revision=9026
2004-04-08 09:44:26 +00:00
Filip Navara
638280971c - Implement brush origin for 4bpp blits.
svn path=/trunk/; revision=9025
2004-04-08 09:44:21 +00:00
Filip Navara
a7270ad893 - Fixed releasing of display ownership.
svn path=/trunk/; revision=9024
2004-04-08 09:43:55 +00:00
Filip Navara
3cb07b0ba8 - Fixed initalization of VIDEO_HW_INITIALIZATION_DATA, because the Video Port driver now checks the values.
svn path=/trunk/; revision=9023
2004-04-08 09:43:35 +00:00
Thomas Bluemel
7aee09070d fixed clipping bug in TransparentBlt(). Thanks to Filip for fixing it
svn path=/trunk/; revision=9022
2004-04-07 22:17:36 +00:00
Martin Fuchs
f53f1a1b98 better looking bookmark icons
svn path=/trunk/; revision=9021
2004-04-07 22:11:24 +00:00
Thomas Bluemel
0e07c33bcc fixed handling left-over pixels in TransparentBlt()
svn path=/trunk/; revision=9020
2004-04-07 22:09:09 +00:00
Gé van Geldorp
bb60332c70 Fix memory leak, thanks to Thomas for spotting this
svn path=/trunk/; revision=9019
2004-04-07 21:12:40 +00:00
Gé van Geldorp
9edefdbda2 - When SendMessageTimeout times out, the CompletionEvent goes out of scope,
so tell the target thread not to signal it
- Replace message queue hardware lock FAST_MUTEX with KMUTEX so it can
  be recursively acquired

svn path=/trunk/; revision=9018
2004-04-07 21:12:08 +00:00
Martin Fuchs
c3cb9779e3 Merge latest Wine commits:
Juan Lang <juan_lang@yahoo.com>
Use symbolic constants for magic numbers in SHGetFolderPathW, avoid
doing MultiByteToWideChar on values that don't need it,

Juan Lang <juan_lang@yahoo.com>
Rename PT_MYCOMP to PT_GUID, and the corresponding union member from mycomp to guid.

Martin Fuchs <martin-fuchs@gmx.net>
Resolve shell shortcuts and process ID lists in ShellExecute() functions.

Juan Lang <juan_lang@yahoo.com>
- comment fixes
- improved error checking and conformance with Windows
- remove some spurious error messages

svn path=/trunk/; revision=9017
2004-04-07 20:41:31 +00:00
Filip Navara
72776b9bcb - Fixed order of bits in a byte for pattern brushes.
svn path=/trunk/; revision=9016
2004-04-07 20:23:38 +00:00
Filip Navara
578af8b934 - Fixed a small and stupid bug. We were incrementing DestBits by sizeof(ULONG) instead of sizeof(BYTE).
svn path=/trunk/; revision=9015
2004-04-07 20:04:22 +00:00
Filip Navara
5a528bd57a - Lock the surface even for GDI blits in IntEngBitBlt, because it mustn't be simulantously accessed.
svn path=/trunk/; revision=9014
2004-04-07 19:57:43 +00:00
Thomas Bluemel
f38bef7c32 better statistics
svn path=/trunk/; revision=9013
2004-04-07 19:25:27 +00:00
Gé van Geldorp
87a878a82e I should test small changes too before committing... Sorry.
svn path=/trunk/; revision=9012
2004-04-07 18:05:16 +00:00
Gé van Geldorp
335631830d - Pass args to MsqSendMessage in correct order
- Implement message sending to HWND_BROADCAST

svn path=/trunk/; revision=9011
2004-04-07 17:52:32 +00:00
Gé van Geldorp
7885bdaef7 Include netapi32.dll and setupapi.dll in default build/setup
svn path=/trunk/; revision=9010
2004-04-07 17:48:15 +00:00
Gé van Geldorp
7a27e9d3bf CVS maintenance
svn path=/trunk/; revision=9009
2004-04-07 17:45:05 +00:00
Gé van Geldorp
d5bc2e4dc7 Change to __stdcall calling convention
svn path=/trunk/; revision=9008
2004-04-07 17:42:05 +00:00
Thomas Bluemel
d8dd152253 little clean-up
svn path=/trunk/; revision=9007
2004-04-07 16:38:27 +00:00
Thomas Bluemel
54dbe4faf6 little clean-up
svn path=/trunk/; revision=9006
2004-04-07 15:37:50 +00:00
Eric Kohl
586548d926 Fixed crashes that were cause by the changes to the service parameter table.
svn path=/trunk/; revision=9005
2004-04-07 15:35:14 +00:00
Eric Kohl
9334666401 Restore modification.
svn path=/trunk/; revision=9004
2004-04-07 15:33:55 +00:00
Thomas Bluemel
879e613c5d patch reverted because ros crashes ntoskrnl
svn path=/trunk/; revision=9003
2004-04-07 15:02:31 +00:00
Thomas Bluemel
6d228618c2 remove obsolete code
svn path=/trunk/; revision=9002
2004-04-07 14:43:08 +00:00
Thomas Bluemel
45a89e2e7c little fix
svn path=/trunk/; revision=9001
2004-04-07 10:20:23 +00:00
Thomas Bluemel
9b45df9243 1. fixed crash in 1bpp blt code that was caused by an uninitialized variable.
2. speed improvements for patterned brushes

svn path=/trunk/; revision=9000
2004-04-07 10:19:34 +00:00
Hartmut Birr
bfde26a3f6 - Rewrote the code which handles processing of irp's and notifications from miniport driver.
- Implemented support for srb extensions (very simple).

svn path=/trunk/; revision=8999
2004-04-07 09:21:01 +00:00
Gé van Geldorp
c44ac169e6 There can never be a parent/child relationship between windows if one of
them is invalid. Fixes bug #217.

svn path=/trunk/; revision=8998
2004-04-07 08:25:40 +00:00
Thomas Bluemel
4783e5bae8 fixed missing dereferences of threads
svn path=/trunk/; revision=8997
2004-04-07 00:58:05 +00:00
KJK::Hyperion
9c7501f3dd - SSPT elements are 8 bit wide on Windows. Made ReactOS binary compatible in this regard, since this affects a public function (KeAddSystemServiceTable)
- use a function pointer for SSDT elements. Function pointers aren't guaranteed to have the same size as data pointers (and we were using ULONG, anyway)
 - SSPT and SSDT types no longer structures to avoid pesky alignment issues
 - genw32k and genntdll fixed accordingly

svn path=/trunk/; revision=8996
2004-04-07 00:14:05 +00:00
Thomas Bluemel
6701beb03a implemented TransparentBlt() on 8bpp surfaces
svn path=/trunk/; revision=8995
2004-04-06 23:05:36 +00:00
Martin Fuchs
6d0d4f988e fix clock visibility flag
svn path=/trunk/; revision=8994
2004-04-06 22:15:25 +00:00
Thomas Bluemel
95057e2cf7 implemented TransparentBlt() on 16bpp and 24bpp surfaces
svn path=/trunk/; revision=8993
2004-04-06 21:53:48 +00:00
Filip Navara
409aaad5d5 - Fixed some dumb bugs in 1bpp code causing memory corruption.
svn path=/trunk/; revision=8992
2004-04-06 21:19:44 +00:00
Steven Edwards
4466dbbf17 Update the readme a bit.
svn path=/trunk/; revision=8991
2004-04-06 21:04:42 +00:00
Gé van Geldorp
5fd4628dec Silence debug messages
svn path=/trunk/; revision=8990
2004-04-06 20:59:40 +00:00
KJK::Hyperion
39b17f5963 A dummy uxtheme doesn't belong to ReactOS - it should be an external project. UxTheme says bye bye and good luck everyone
svn path=/trunk/; revision=8989
2004-04-06 20:03:17 +00:00
Thomas Bluemel
5424a51107 implemented TransparentBlt() on 32bpp surfaces, but there are still some clipping issues
svn path=/trunk/; revision=8988
2004-04-06 17:54:32 +00:00
Gé van Geldorp
1bc88e0f77 Handle regions in SelectObject()
svn path=/trunk/; revision=8987
2004-04-06 07:43:33 +00:00
Thomas Bluemel
5aae8fca39 clip the moving rectangle to the desktop area. This doesn't work because our SelectObject() implementation doesn't handle regions right atm.
svn path=/trunk/; revision=8986
2004-04-05 22:42:11 +00:00
Thomas Bluemel
0a552285f3 draw patterned focus rectangles
svn path=/trunk/; revision=8985
2004-04-05 22:18:35 +00:00
Thomas Bluemel
bea76aded5 use patterned dragging rectangle
svn path=/trunk/; revision=8984
2004-04-05 22:12:53 +00:00
Filip Navara
9c418442a8 - Removed useless code from ImageList_DrawIndirect, because there
are problems with it in combination with the ReactOS code (propably due to
  XLATEOBJs)

svn path=/trunk/; revision=8983
2004-04-05 21:29:28 +00:00
Thomas Bluemel
aa25fb6d2c disable thread-safety, seems to cause some problems atm
svn path=/trunk/; revision=8982
2004-04-05 21:26:30 +00:00
Filip Navara
ba87a9d7a1 - Changed the internal brush object to be (almost) Win32k compatible.
- Changed Pen implementation to use brushes internally.
- Added support for pattern brushes.
- Fixed 8bpp StretchBlt.
- Fixed 4bpp to 4bpp non-SRCCOPY blits.
- Fixed 1bpp to 1bpp non-SRCCOPY blits to work when the destination doesn't
  start at exact byte.
- Reenabled 55AA brush for scrollbar.
- Fixed BITMAPOBJ_GetWidthBits to do WORD alignment and not DWORD.

svn path=/trunk/; revision=8981
2004-04-05 21:26:25 +00:00
Martin Fuchs
beedced608 merge Wine commits
svn path=/trunk/; revision=8980
2004-04-05 21:19:48 +00:00
Thomas Bluemel
bd69e8d121 little cosmetics...
svn path=/trunk/; revision=8979
2004-04-05 21:15:34 +00:00
Thomas Bluemel
0a205b8bd5 made the DCE list thread-safe
svn path=/trunk/; revision=8978
2004-04-05 20:46:15 +00:00
Filip Navara
c89da97139 - Get the WS_EX_STATICEDGE style working.
- Remove a WS_EX_STATICEDGE hack from Explorer.

svn path=/trunk/; revision=8977
2004-04-05 19:54:11 +00:00
Thomas Bluemel
0c33860003 Fixed a crash caused by requesting a large number of extra class space
svn path=/trunk/; revision=8976
2004-04-05 14:42:30 +00:00
Eric Kohl
c78a2cfb83 Implement 'Edit DWORD' dialog.
svn path=/trunk/; revision=8975
2004-04-05 12:00:11 +00:00
Richard Campbell
7838aa4dc8 reverted change
svn path=/trunk/; revision=8974
2004-04-05 09:16:49 +00:00
Martin Fuchs
26a52566a6 fix imagelist loading
svn path=/trunk/; revision=8973
2004-04-04 23:13:11 +00:00
Thomas Bluemel
987fbb6dc1 accidently committed a temporary file, sorry
svn path=/trunk/; revision=8972
2004-04-04 21:55:56 +00:00
Thomas Bluemel
5f472ff726 created stubs for devmgr.dll (based on lots of guesswork, trial&error and the very little resources on the www)
svn path=/trunk/; revision=8971
2004-04-04 21:49:15 +00:00
Martin Fuchs
0fd11b393a add comments
svn path=/trunk/; revision=8970
2004-04-04 21:05:32 +00:00
Martin Fuchs
9289b59c37 store icon information in metadata nodes
svn path=/trunk/; revision=8969
2004-04-04 20:23:51 +00:00
Martin Fuchs
199ffcb9bc icons and tooltips for bookmarks
svn path=/trunk/; revision=8968
2004-04-04 19:12:55 +00:00
Gé van Geldorp
fad7ce3fb4 Hack to translate Ascii chars 128-255 to Unicode too
svn path=/trunk/; revision=8967
2004-04-04 17:59:23 +00:00
Martin Fuchs
b60d102548 display bookmarks in sidebar
svn path=/trunk/; revision=8966
2004-04-04 17:21:27 +00:00
Gé van Geldorp
9af64d9189 Fix scanline increment for 32bpp stretch blts
svn path=/trunk/; revision=8965
2004-04-04 16:40:05 +00:00
Martin Fuchs
776c1e9696 import IE bookmarks and convert into XBEL format bookmark file
svn path=/trunk/; revision=8964
2004-04-04 16:04:34 +00:00
Gé van Geldorp
4eb5cb108b Honour spacing requested by caller
svn path=/trunk/; revision=8963
2004-04-04 15:28:43 +00:00
Richard Campbell
a20876b230 draw the border around the progress bar...code might not be entirely 'correct', can this border be disabled/hidden?
svn path=/trunk/; revision=8962
2004-04-04 06:46:22 +00:00
Thomas Bluemel
81a05c875c some more work on TransparentBlt() (EngTransparentBlt() is still unimplemented)
svn path=/trunk/; revision=8961
2004-04-03 21:25:20 +00:00
Gé van Geldorp
06ed71caec Most regions (> 95% in testing) consist of only 1 rectangle. Add a single
rectangle buffer to ROSRGNDATA to avoid dynamic memory allocation

svn path=/trunk/; revision=8960
2004-04-03 20:36:56 +00:00
Gé van Geldorp
87ea1d498e Use lookaside lists for better performance
svn path=/trunk/; revision=8959
2004-04-03 20:33:39 +00:00
Eric Kohl
5f3ddeb0c9 Silence a debug message.
svn path=/trunk/; revision=8958
2004-04-03 13:45:00 +00:00
Gé van Geldorp
1f56a63145 Handle lpcbData == NULL case.
svn path=/trunk/; revision=8957
2004-04-03 13:12:43 +00:00
Thomas Bluemel
8e52e23724 partially implemented IsHungAppWindow()
svn path=/trunk/; revision=8956
2004-04-02 23:54:26 +00:00
Thomas Bluemel
bb7b8e638e implemented GetWindowModuleFileName()
svn path=/trunk/; revision=8955
2004-04-02 22:16:09 +00:00
Thomas Bluemel
1c5f3e5775 check parameter in GetWindowInfo()
svn path=/trunk/; revision=8954
2004-04-02 21:03:25 +00:00
Thomas Bluemel
6491031cc2 implemented GetWindowInfo()
svn path=/trunk/; revision=8953
2004-04-02 20:51:08 +00:00
Thomas Bluemel
b8560b708d little fix
svn path=/trunk/; revision=8952
2004-04-02 19:14:44 +00:00
Thomas Bluemel
23e366974c properly initialize system menu items
svn path=/trunk/; revision=8951
2004-04-02 19:00:56 +00:00
Hartmut Birr
eec82162fb - Fixed the initializing of the access ranges.
svn path=/trunk/; revision=8950
2004-04-02 15:43:01 +00:00
Gé van Geldorp
b408a6aeb8 Make popup menus topmost windows
svn path=/trunk/; revision=8949
2004-04-01 23:17:28 +00:00
Gé van Geldorp
81361062a2 Fix interaction between topmost and owner/owned windows
svn path=/trunk/; revision=8948
2004-04-01 23:16:21 +00:00
Martin Fuchs
f2bb2f6dcb remove useless if cases
svn path=/trunk/; revision=8947
2004-04-01 20:10:07 +00:00
Gé van Geldorp
fc8f381519 Implement 32bpp -> 32bpp copy with color translation
svn path=/trunk/; revision=8946
2004-04-01 19:31:05 +00:00
Martin Fuchs
cd8132e2d2 Merged Wine commit:
Kevin Koltzau <kevin@plop.org>
	Added support for CSIDL_RESOURCES path.

svn path=/trunk/; revision=8945
2004-04-01 19:14:14 +00:00
Martin Fuchs
59fbb63083 Merged Wine commit:
Do not strip stdcall decoration in spec files.

svn path=/trunk/; revision=8944
2004-04-01 19:13:19 +00:00
James Tabor
d945804c33 Added MediaChangeNoMedia on/off
svn path=/trunk/; revision=8943
2004-04-01 17:29:53 +00:00
James Tabor
2dabdb2ac1 Added MediaChangeCount
svn path=/trunk/; revision=8942
2004-04-01 17:24:47 +00:00
James Tabor
f8e193fbc6 Wrong to remove ExFreePool.
svn path=/trunk/; revision=8941
2004-04-01 15:01:35 +00:00
Eric Kohl
a7456eb968 Fix bugs in RegQueryValueExA() and RegQueryValueExW() that caused crashes or returned bogus
information if the caller wants to retrieve the value data length only.
This fixes some bugs with regedit.

svn path=/trunk/; revision=8940
2004-04-01 13:53:08 +00:00
Thomas Bluemel
a75dfe1a82 fixed DbgPrint line ending
svn path=/trunk/; revision=8939
2004-03-31 21:21:30 +00:00
Thomas Bluemel
96a21f824f fixed NtUserGetAncestor()
svn path=/trunk/; revision=8938
2004-03-31 19:44:34 +00:00
Gé van Geldorp
dfa957c310 IntGetParentObject() does it's own locking, prevent double lock
svn path=/trunk/; revision=8937
2004-03-31 19:20:18 +00:00
Gé van Geldorp
21beea176d Remove window timers when window is destroyed
svn path=/trunk/; revision=8936
2004-03-31 18:37:12 +00:00
Thomas Bluemel
9ea765e409 revert patch due to problems with image lists
svn path=/trunk/; revision=8935
2004-03-31 14:12:04 +00:00
James Tabor
22c413c3b4 Removed ExFreePool and Spell error.
svn path=/trunk/; revision=8934
2004-03-31 05:25:36 +00:00
James Tabor
450a15d61f More Oops!
svn path=/trunk/; revision=8933
2004-03-31 03:39:12 +00:00
James Tabor
1fb32b9534 Added removable mediachange support.
svn path=/trunk/; revision=8932
2004-03-31 03:34:55 +00:00
James Tabor
bc0cf4f9cf Oops!
svn path=/trunk/; revision=8931
2004-03-31 03:34:42 +00:00
James Tabor
3b1c2903f6 Added removable mediachange support.
svn path=/trunk/; revision=8930
2004-03-31 03:33:48 +00:00
Gé van Geldorp
942d7e47a7 Fix IntIsChildWindow for case where parent is a toplevel window
svn path=/trunk/; revision=8929
2004-03-30 22:49:38 +00:00
Gé van Geldorp
a8a999793f Implement TOPMOST windows
svn path=/trunk/; revision=8928
2004-03-30 20:50:16 +00:00
Gé van Geldorp
63c532f15c Disable pool validation since it slows down execution too much
svn path=/trunk/; revision=8927
2004-03-30 09:28:44 +00:00
Gé van Geldorp
3c8dee1caa Allow GDB 6 to backtrace over a syscall
svn path=/trunk/; revision=8926
2004-03-29 22:29:34 +00:00
Thomas Bluemel
bdf6b9b5b7 updated system colors
svn path=/trunk/; revision=8924
2004-03-29 19:50:21 +00:00
Filip Navara
69a9b488f2 - Fixed window-less timers.
svn path=/trunk/; revision=8923
2004-03-29 17:02:22 +00:00
Filip Navara
fdec2f548e - Declare NMTBGETINFOTIP[AW] and TB_MARKBUTTON.
svn path=/trunk/; revision=8922
2004-03-29 16:47:48 +00:00
Gé van Geldorp
1d7a5ffa0b Merge Wine change:
Dmitry Timoshkov <dmitry@codeweavers.com>
- Scrollbar should also react on WM_LBUTTONDBLCLK.

svn path=/trunk/; revision=8921
2004-03-29 12:49:07 +00:00
Filip Navara
d6c2152ba9 - Fixed handling of WM_GETICON message.
- Don't allow destroying icons of foreign processes.

svn path=/trunk/; revision=8917
2004-03-29 06:38:50 +00:00
Filip Navara
a1f1c3b257 - Fixed BitBlts from 4bpp surfaces.
svn path=/trunk/; revision=8916
2004-03-28 23:25:48 +00:00
Filip Navara
acc112d9d4 - Fixed non-SRCCOPY BitBlts to 1bpp surfaces.
svn path=/trunk/; revision=8915
2004-03-28 23:24:57 +00:00
Gé van Geldorp
cdaaa65096 Simple font substitution and matching
svn path=/trunk/; revision=8914
2004-03-28 22:39:59 +00:00
Martin Fuchs
77684eece7 compiler friendly access operator implemantation
svn path=/trunk/; revision=8913
2004-03-28 22:17:49 +00:00
Thomas Bluemel
4309d1082e Partly (not working) implementation of TransparentBlt()
svn path=/trunk/; revision=8912
2004-03-28 21:46:26 +00:00
Martin Fuchs
50c2bd5cc2 avoid GCC complaining about: "ISO C++ says that String XMLStorage::XMLNode::operator[](const char *) const' and String & XMLStorage::XMLNode::operator[](const String &)' are ambiguous even though the worst conversion for the former is better than the worst conversion for the latter
svn path=/trunk/; revision=8911
2004-03-28 21:04:00 +00:00
Filip Navara
741870b134 DbgPrint -> DPRINT
svn path=/trunk/; revision=8910
2004-03-28 20:44:09 +00:00
Martin Fuchs
9447d23bc1 option "display version on desktop background"
svn path=/trunk/; revision=8908
2004-03-28 20:32:23 +00:00
Martin Fuchs
f2d4a56a85 option "display version on desktop background"
svn path=/trunk/; revision=8907
2004-03-28 20:32:21 +00:00
Martin Fuchs
3bf2b751a9 UNICODE optimizations
svn path=/trunk/; revision=8906
2004-03-28 18:10:48 +00:00
Filip Navara
0831947d6c - I accidently ommited two '*' and caused a random crashes when DriverEntry didn't return STATUS_SUCCESS.
svn path=/trunk/; revision=8905
2004-03-28 17:08:55 +00:00
Filip Navara
c05238d39f - Fixed a dumb ExFreePool that I accidently left there.
svn path=/trunk/; revision=8904
2004-03-28 17:01:10 +00:00
Thomas Bluemel
352d841f3b fixed a crash caused by removing a message twice from the queue
svn path=/trunk/; revision=8903
2004-03-28 16:21:58 +00:00
Martin Fuchs
bdaa4495d0 more configuration options:
- show/hide clock
- disable automatic notification icon hiding

svn path=/trunk/; revision=8902
2004-03-28 14:55:18 +00:00
Thomas Bluemel
86d212c244 added basic sas window, some other modifications
svn path=/trunk/; revision=8901
2004-03-28 12:21:41 +00:00
Thomas Bluemel
fa00201ce1 basic implementation of WlxLoggedOutSAS()
svn path=/trunk/; revision=8900
2004-03-28 12:19:07 +00:00
Filip Navara
a24291f78a - Fixed a minor bug in IopLoadServiceModule that caused crashes for disabled drivers.
svn path=/trunk/; revision=8899
2004-03-28 12:03:25 +00:00
Martin Fuchs
bbc679d779 make config option "show-hidden notification icons" persistent
svn path=/trunk/; revision=8898
2004-03-28 12:00:46 +00:00
Filip Navara
6d1dae4a75 - Fixed line endings.
svn path=/trunk/; revision=8897
2004-03-28 09:52:18 +00:00
Filip Navara
c734759964 - Minor cleanup and fixed few memory leaks on driver unload.
svn path=/trunk/; revision=8896
2004-03-28 09:48:13 +00:00
Martin Fuchs
5c7330b4d4 smart XML formating
svn path=/trunk/; revision=8895
2004-03-28 09:34:43 +00:00
Thomas Bluemel
7d9ce02db4 implemented WlxDisplaySASNotice()
svn path=/trunk/; revision=8894
2004-03-27 23:24:51 +00:00
Martin Fuchs
25c77834ce Merge Wine commit:
Martin Fuchs <martin-fuchs@gmx.net>
	Call IShellExecuteHook interface for ShellExecute() calls with ID
	lists.

svn path=/trunk/; revision=8893
2004-03-27 21:19:27 +00:00
Gé van Geldorp
ac44e25672 Fix LOGFONT conversion in CreateFontIndirectA()
svn path=/trunk/; revision=8892
2004-03-27 21:07:33 +00:00
Filip Navara
014d8e9588 - Rewritten some driver loading functions to get higher control of the driver loading and initialization process (Fixes bug #263).
- Added support for lower level filter drivers.

svn path=/trunk/; revision=8891
2004-03-27 19:41:32 +00:00
Martin Fuchs
bf1b24c1fb - XMLChildrenFilter iterator
- correctly encode special characters while writing XML strings
- MIT license for XmlStorage classes

svn path=/trunk/; revision=8890
2004-03-27 18:08:42 +00:00
Gé van Geldorp
287b32c870 Return empty instead of NULL region for invisible windows
svn path=/trunk/; revision=8889
2004-03-27 15:16:05 +00:00
Martin Fuchs
0fa710246c rollback changes when cancelling notify icon configuration dialog
svn path=/trunk/; revision=8888
2004-03-27 14:02:28 +00:00
Gé van Geldorp
dd3a343e64 Implement scrollbar controls
svn path=/trunk/; revision=8887
2004-03-27 10:46:32 +00:00
Martin Fuchs
0529529902 readll ntdll lib for DbgPrint
svn path=/trunk/; revision=8886
2004-03-27 09:23:05 +00:00
Martin Fuchs
9b62efc1ca Merge of Wine commit:
Martin Fuchs <martin-fuchs@gmx.net>
	Implementation of IPersistFile::IsDirty().

svn path=/trunk/; revision=8885
2004-03-27 09:16:08 +00:00
Martin Fuchs
796ec35113 Merge of Wine commit:
Robert Shearman <R.J.Shearman@warwick.ac.uk>
	Allow passing NULL to ILFindLastID.

Patch: http://cvs.winehq.org/patch.py?id=11621

svn path=/trunk/; revision=8884
2004-03-27 09:12:05 +00:00
Martin Fuchs
9477018084 merge Wine commit:
Modified files:
	dlls/shell32   : shellole.c shell32_main.h pidl.h pidl.c
	                 folders.c enumidlist.c control.c Makefile.in
Added files:
	dlls/shell32   : cpanelfolder.c cpanel.h

Log message:
	Martin Fuchs <martin-fuchs@gmx.net>
	Implementation of the control panel folder in shell namespace.

Patch: http://cvs.winehq.org/patch.py?id=11721

svn path=/trunk/; revision=8883
2004-03-27 09:08:10 +00:00
Martin Fuchs
63c5fcc117 merge Wine commit:
Martin Fuchs <martin-fuchs@gmx.net>
	- Fix handling of %2, %3, ... and lower case format characters in
	SHELL_ArgifyW().
	- Move "%I" expansion from ShellExecuteEx() into common function
	SHELL_ArgifyW().
	- Pass buffer length to SHELL_FindExecutable().
	- FIXME comment for len paramater in SHELL_ArgifyW().

	Ge van Geldorp <ge@gse.nl>
	- Add double quotation marks unless we already have them (e.g.: "%1"
	%* for exefile).
	- Remove unnecessary double quotation marks and command line arguments.

Patch: http://cvs.winehq.org/patch.py?id=11706

svn path=/trunk/; revision=8882
2004-03-27 09:07:42 +00:00
Art Yerkes
2673c9cd5e Fixed make bootcd on windows and cross.
svn path=/trunk/; revision=8881
2004-03-27 06:23:37 +00:00
Art Yerkes
fa4663f158 Define TOPDIR to . if not defined (for make bootcd)
svn path=/trunk/; revision=8880
2004-03-27 04:33:15 +00:00
Thomas Bluemel
3868dbd0a0 a few more minor speed-up
svn path=/trunk/; revision=8879
2004-03-27 00:35:02 +00:00
Thomas Bluemel
bf9c49bb8b little speed-up
svn path=/trunk/; revision=8878
2004-03-26 23:48:47 +00:00
Gé van Geldorp
367dea79d9 Add riched32.dll
svn path=/trunk/; revision=8877
2004-03-26 23:13:58 +00:00
Gé van Geldorp
c84ea8d62e libexpat.dll was moved
svn path=/trunk/; revision=8876
2004-03-26 23:01:44 +00:00
Martin Fuchs
b2221ecb04 add original .cvsignore entries
svn path=/trunk/; revision=8875
2004-03-26 21:20:30 +00:00
Martin Fuchs
1589b3aa3a add original .cvsignore entries
svn path=/trunk/; revision=8874
2004-03-25 18:02:56 +00:00
Thomas Bluemel
fcc80b7588 added missing .cvsignore file
svn path=/trunk/; revision=8873
2004-03-25 15:16:42 +00:00
Gé van Geldorp
a4c2f8ebd3 Make sure submenus are marked as popups
svn path=/trunk/; revision=8872
2004-03-25 12:32:13 +00:00
Gé van Geldorp
95d5ae34d2 Don't reserve space for empty menubar
svn path=/trunk/; revision=8871
2004-03-25 11:40:41 +00:00
Eric Kohl
9e558fcc6a - Implement ImpersonateLoggedOnUser().
- Moved some security related functions to better places.

svn path=/trunk/; revision=8870
2004-03-25 11:30:07 +00:00
Gé van Geldorp
8a8167ab4d Set correct colors before calling owner-drawn handler
svn path=/trunk/; revision=8869
2004-03-25 08:51:44 +00:00
Gunnar Dalsnes
9d7050fddd add RtlCreateCriticalSectionSpinCount + fix
svn path=/trunk/; revision=8868
2004-03-24 23:43:52 +00:00
Gunnar Dalsnes
29a9d5c519 add RtlCreateCriticalSectionSpinCount
svn path=/trunk/; revision=8867
2004-03-24 23:42:39 +00:00
Emanuele Aliberti
458909a9c0 Initialize LPC-related fields in ETHREAD.
svn path=/trunk/; revision=8866
2004-03-24 22:00:39 +00:00
Emanuele Aliberti
bcbcab94ad Visible build timestamp.
svn path=/trunk/; revision=8865
2004-03-24 21:46:41 +00:00
Martin Fuchs
f977f1fd59 FIXME -> TRACE
svn path=/trunk/; revision=8864
2004-03-24 20:47:58 +00:00
Filip Navara
1bad49c3be * Always return STATUS_SUCCESS from ScsiPortInitialize if some device was found.
* Minor correction to setting of SrbExtension.
* Changed DPRINT1 to DPRINT on some places.

svn path=/trunk/; revision=8863
2004-03-24 16:21:59 +00:00
Eric Kohl
9915a75ce6 - Set user-specific environment variables.
- Append 'PATH' environment variable if it already exists.

svn path=/trunk/; revision=8862
2004-03-24 16:00:01 +00:00
Martin Fuchs
7bd2a160e6 use libexpat.a
svn path=/trunk/; revision=8861
2004-03-24 10:34:21 +00:00
Martin Fuchs
fdbc91f5b5 integration of expat with ROS build system
svn path=/trunk/; revision=8860
2004-03-24 09:39:37 +00:00
Gé van Geldorp
ac6bc94f0f Fix filling of MENUITEMINFO in InsertMenu()
svn path=/trunk/; revision=8859
2004-03-24 08:56:52 +00:00
Martin Fuchs
ea02300a6a use the new built expat library for explorer
svn path=/trunk/; revision=8858
2004-03-24 00:19:16 +00:00
Royce Mitchell III
9a854f33a4 implement SetPixelV
svn path=/trunk/; revision=8857
2004-03-24 00:13:31 +00:00
Martin Fuchs
7e4896289f checked in expat source code
svn path=/trunk/; revision=8856
2004-03-24 00:05:27 +00:00
Gé van Geldorp
45931d5f5d Prevent deletion of system-owned objects like brushes returned by
GetSysColorBrush()

svn path=/trunk/; revision=8855
2004-03-23 22:50:14 +00:00
Thomas Bluemel
68d825d0da fixed accessing memory that has already been freed
svn path=/trunk/; revision=8854
2004-03-23 22:24:27 +00:00
Thomas Bluemel
39c6756765 Implemented GetWindowRgn() and GetWindowRgnBox()
svn path=/trunk/; revision=8853
2004-03-23 21:47:37 +00:00
Gé van Geldorp
022bd7dd68 Check for valid ClientRect
svn path=/trunk/; revision=8852
2004-03-23 21:30:18 +00:00
Gé van Geldorp
82e886d635 Implement GetObjectA/W() for fonts
svn path=/trunk/; revision=8851
2004-03-23 19:46:50 +00:00
Thomas Bluemel
4a2de9a81c don't use the window region when minimized
svn path=/trunk/; revision=8850
2004-03-23 18:08:07 +00:00
Gé van Geldorp
4e955d6423 Fix incorrect pointer arithmetic in NtGdiPtInRegion()
svn path=/trunk/; revision=8849
2004-03-23 17:07:41 +00:00
Thomas Bluemel
e207cba272 Implemented SetWindowRgn() and added support for window regions
svn path=/trunk/; revision=8848
2004-03-23 16:32:20 +00:00
Eric Kohl
93f83462c0 Changes to make AHA-2940 detect devices:
- Set proper inquiry buffer size.
- Check inquiry buffer for valid LUN.

svn path=/trunk/; revision=8847
2004-03-23 12:30:15 +00:00
Gé van Geldorp
c4e75c424f Implement GetUpdateRect() and harden NtUserGetUpdateRect()
svn path=/trunk/; revision=8846
2004-03-23 11:20:58 +00:00
Gé van Geldorp
75543614da - Implement GetCharWidthA/W()
- Fix memory overwrite in NtGdiGetCharWidth32()
Fixes bug #258

svn path=/trunk/; revision=8845
2004-03-23 07:59:47 +00:00
Gé van Geldorp
c718f507e9 Implement EnumFontFamilies(Ex)A/W() and TranslateCharsetInfo()
svn path=/trunk/; revision=8844
2004-03-23 00:18:54 +00:00
Gé van Geldorp
4aae876500 Silence debug messages
svn path=/trunk/; revision=8843
2004-03-23 00:12:24 +00:00
Martin Fuchs
d26e06ebdf - Merged partial Wine commit:
Mike McCormack <mike@codeweavers.com>
  Update path from relative path on loading.

- moved GetFullPathName() from IShellLink_ConstructFromFile() into IShellLinkA/W_fnSetPath()

svn path=/trunk/; revision=8842
2004-03-22 22:56:04 +00:00
Martin Fuchs
e6bd3bc673 merge Wine commit:
- Mike McCormack <mike@codeweavers.com>
  Unicode-ify the icon cache and SHGetFileInfo.

- fix by M. Fuchs

svn path=/trunk/; revision=8841
2004-03-22 21:40:12 +00:00
Martin Fuchs
d52dd4c5cc implemented UTF-8 conversion
svn path=/trunk/; revision=8840
2004-03-22 20:58:16 +00:00
Royce Mitchell III
c6df043a61 Reformatting plus change to NtGdiGetPixel to handle device DCs in addition to DIB DCs. This fixes bug #264.
svn path=/trunk/; revision=8839
2004-03-22 20:46:33 +00:00
Thomas Bluemel
d8eb783e69 fixed a couple of dead-locks in the region code
svn path=/trunk/; revision=8838
2004-03-22 20:14:29 +00:00
Filip Navara
ccecaee56d - Added allocation of SrbExtension.
- Correctly set ConfigInfo->BusInterruptVector.
- Corrected the INQUIRY request.

svn path=/trunk/; revision=8837
2004-03-22 19:59:31 +00:00
Filip Navara
bcce3e20b1 - Compile the VGA driver using w32api.
svn path=/trunk/; revision=8836
2004-03-22 16:00:38 +00:00
Thomas Bluemel
cebfd88253 fixed wrong rendering of clipped characters
svn path=/trunk/; revision=8835
2004-03-22 14:58:56 +00:00
Filip Navara
a3695d5fcb - Make PCI a boot driver.
svn path=/trunk/; revision=8834
2004-03-22 09:06:16 +00:00
Filip Navara
c4c05052cb - Renamed TaggedQueueing to TaggedQueuing.
svn path=/trunk/; revision=8833
2004-03-22 09:05:19 +00:00
Martin Fuchs
10328e2c9e install expat library
svn path=/trunk/; revision=8832
2004-03-21 23:44:28 +00:00
Martin Fuchs
3b9f0dd221 storage of configuration settings in user specific XML file
svn path=/trunk/; revision=8831
2004-03-21 23:36:24 +00:00
Filip Navara
bb917ce975 - Support for upper level filter drivers.
NOTE: Although the support for lower level filter driver is very similar, it's practically impossible to incorporate it with the current design without avoiding bugs such as #262 or #263. I don't want to extend the current mess beyond it's borders, so I ommited the call for initializing lower level filter drivers. The code needs a major cleanup and simplification on some places to make this support possible while maintaining a reasonable stable system.

svn path=/trunk/; revision=8830
2004-03-21 18:58:53 +00:00
Filip Navara
722728fd5c - A message box with timeout informing about successful installation and restart.
svn path=/trunk/; revision=8829
2004-03-21 14:37:19 +00:00
Filip Navara
c4a7a3aa63 - Fixed language definition and line endings.
svn path=/trunk/; revision=8828
2004-03-21 14:35:19 +00:00
Gé van Geldorp
8f6061137a Fix calling convention of various callback function prototypes
svn path=/trunk/; revision=8827
2004-03-21 12:34:02 +00:00
Gé van Geldorp
d8f0a4b49f Silence debug messages
svn path=/trunk/; revision=8826
2004-03-21 12:31:19 +00:00
Thomas Bluemel
de1f68d590 fixed clipping issue
svn path=/trunk/; revision=8825
2004-03-21 10:18:33 +00:00
Royce Mitchell III
a8f59cffef 1000+% performance increase in 1bpp dib -> 1bpp dib blitting.
svn path=/trunk/; revision=8824
2004-03-21 04:17:33 +00:00
Martin Fuchs
6a7304ac01 configuration dialog for notification icons
svn path=/trunk/; revision=8823
2004-03-21 00:31:14 +00:00
Steven Edwards
a9f6fe5ffb Merge setupapi with Winehq.
This should give us a working InstallHInfSection for loading drivers
if not check the attic for Alex's implementation.

svn path=/trunk/; revision=8822
2004-03-20 21:55:24 +00:00
Steven Edwards
537dc19b03 Merge setupapi with Winehq.
svn path=/trunk/; revision=8821
2004-03-20 21:53:36 +00:00
Steven Edwards
50ec7d086b Merge Winehq commit:
Yoshiro Takeno <taro-x@justsystem.co.jp>
In Windows, the leading byte for multibyte characters are set to upper
byte. If single byte character is used, the upper byte is set to 0.

svn path=/trunk/; revision=8820
2004-03-20 21:21:03 +00:00
Steven Edwards
5a868930ca Fix the rendering of the GPL.
svn path=/trunk/; revision=8819
2004-03-20 18:16:23 +00:00
Steven Edwards
7675725511 Make install works. This closes out bug 221
svn path=/trunk/; revision=8818
2004-03-20 17:41:24 +00:00
Filip Navara
72bf171b1b - Minor correction to IopGetSystemPowerDeviceObject.
svn path=/trunk/; revision=8817
2004-03-20 17:34:25 +00:00
Filip Navara
9d3fa4fe4b - Unlock surface in error case of EngModifySurface.
svn path=/trunk/; revision=8816
2004-03-20 17:33:10 +00:00
Eric Kohl
bea41fd8f8 Run second stage setup at first boot after install.
svn path=/trunk/; revision=8815
2004-03-20 15:59:19 +00:00
Eric Kohl
8b50600e95 Load user profile and create user environment upon user logon.
svn path=/trunk/; revision=8814
2004-03-20 15:58:16 +00:00
Eric Kohl
baaf29305f Fully implement RtlFormatCurrentUserKeyPath().
svn path=/trunk/; revision=8813
2004-03-20 15:56:00 +00:00
Martin Fuchs
0f69a9471a - Copyright notices for 2004
- launch_cpanel() utility function

svn path=/trunk/; revision=8811
2004-03-20 13:49:13 +00:00
Martin Fuchs
9de0deb4cc adjust for windres
svn path=/trunk/; revision=8810
2004-03-20 13:31:09 +00:00
Martin Fuchs
f7b3421484 fix japanese resource script
svn path=/trunk/; revision=8809
2004-03-20 13:25:28 +00:00
Martin Fuchs
18e827f845 context menu for notification area
svn path=/trunk/; revision=8808
2004-03-20 13:13:40 +00:00
Martin Fuchs
f06e49faea auto-hiding of inactive notification icons
svn path=/trunk/; revision=8807
2004-03-20 11:42:22 +00:00
Martin Fuchs
5ac2148058 added notifyhook.dll
svn path=/trunk/; revision=8806
2004-03-20 09:16:17 +00:00
Martin Fuchs
347477b0e9 fix for installation target by James Tabor
svn path=/trunk/; revision=8805
2004-03-20 09:11:13 +00:00
Steven Edwards
05cd23fc5c Add notepad to the list of targets.
svn path=/trunk/; revision=8804
2004-03-20 04:36:16 +00:00
Steven Edwards
ffc7f0a6a8 Enable stub for ImpersonateLoggedOnUser. This gets taskmgr
to load again.

svn path=/trunk/; revision=8803
2004-03-20 04:32:06 +00:00
Gé van Geldorp
77eb2df0b2 Handle invalid Unicode strings for %S format like MS does
svn path=/trunk/; revision=8802
2004-03-19 23:00:35 +00:00
Gé van Geldorp
896376d3c1 Handle characters outside first page
svn path=/trunk/; revision=8801
2004-03-19 22:59:23 +00:00
Gé van Geldorp
c082e0250f Fix link warnings
svn path=/trunk/; revision=8800
2004-03-19 22:58:10 +00:00
David Welch
dd4a862112 - Removed local definition of NtCurrentProcess.
svn path=/trunk/; revision=8799
2004-03-19 21:34:49 +00:00
David Welch
45dbc2f5d1 - Added definitions for NtCurrentProcess and NtCurrentThread.
svn path=/trunk/; revision=8798
2004-03-19 21:33:48 +00:00
Filip Navara
d0dca2b24f - Load the PCI bus driver.
- Move the VGA driver from "Video" to "Video Save" group.

svn path=/trunk/; revision=8797
2004-03-19 21:02:55 +00:00
Filip Navara
d621be6ce6 Merged changes from videoport_pnp_14032004 branch:
- Better support for W2K+ video miniport driver incl. the basic implementation of PnP driver model.
- Return Win32 error codes instead of NT equivalents.
- Fixed a few bugs.

svn path=/trunk/; revision=8796
2004-03-19 20:58:32 +00:00
Filip Navara
91c3d64bf5 - Lower IRQL in error case of IoAllocateDriverObjectExtension.
svn path=/trunk/; revision=8794
2004-03-19 17:37:57 +00:00
Eric Kohl
be092c4712 Clean-up NtQueryInformationToken().
svn path=/trunk/; revision=8792
2004-03-19 12:47:17 +00:00
Eric Kohl
c89688b59d Fix NtOpenThreadToken() and NtSetInformationThread().
svn path=/trunk/; revision=8791
2004-03-19 12:45:07 +00:00
Eric Kohl
d037d068ff Implement CreateEnvironmentBlock() and DestroyEnvironmentBlock().
svn path=/trunk/; revision=8790
2004-03-19 12:40:49 +00:00
Eric Kohl
d3d3ab535d Enable environment inheritance.
svn path=/trunk/; revision=8789
2004-03-19 12:38:07 +00:00
Martin Fuchs
494bb081b9 merge WineHQ commit:
Rein Klazes <rklazes@xs4all.nl>
In SHELL_ExecuteW, if a new current directory is specified, change to
it before calling CreateProcess so that it will find the correct
executable.

Patch: http://cvs.winehq.org/patch.py?id=11578

svn path=/trunk/; revision=8788
2004-03-19 09:18:52 +00:00
Aleksey Bragin
f3eb637ea4 Committing my in-progress work with mmdrv, but it's still incomplete, and it still contains MS-specific things (in comments only!).
svn path=/trunk/; revision=8787
2004-03-19 06:11:28 +00:00
Royce Mitchell III
3398afcf63 simple hack to keep winzip from bugchecking us
svn path=/trunk/; revision=8786
2004-03-18 22:03:40 +00:00
David Welch
5ab4f36e65 - Fixed crash on reboot. Sorry.
svn path=/trunk/; revision=8784
2004-03-18 19:58:35 +00:00
Thomas Bluemel
177645b96c implemented SetFileShortName()
svn path=/trunk/; revision=8783
2004-03-18 18:29:19 +00:00
Royce Mitchell III
27f458a084 fixed several serious bugs in info.c and added a couple undocumented compatibilities based on analysis of ms's version.dll's behavior. Removed 16-bit exe support from info.c b/c it was very wrong in most cases, and MSDN says 16-bit exe isn't supported anyways. This gets winzip further towards working.
svn path=/trunk/; revision=8782
2004-03-18 18:15:28 +00:00
Filip Navara
280a5aa361 - Fixed return status of IoGetDeviceProperty.
svn path=/trunk/; revision=8781
2004-03-18 16:43:56 +00:00
Thomas Bluemel
7cda28d415 1. implemented SetFileValidData()
2. updated FILE_INFORMATION_CLASS

svn path=/trunk/; revision=8780
2004-03-18 16:19:26 +00:00
Martin Fuchs
810644856d first version of Explorer NotifyHook DLL
svn path=/trunk/; revision=8779
2004-03-18 00:28:45 +00:00
Thomas Bluemel
fd4ab47d69 minor speed-improvement
svn path=/trunk/; revision=8778
2004-03-17 20:57:06 +00:00
Filip Navara
ff055ed11b - Fixed few bugs related to SUROBJ initialization.
svn path=/trunk/; revision=8776
2004-03-17 16:05:29 +00:00
Gunnar Dalsnes
31ac5158a6 fix pipe create flags traslation
svn path=/trunk/; revision=8775
2004-03-17 15:00:39 +00:00
Eric Kohl
f396c8299f Simplify LoadUserProfileW() and check for loaded profile.
svn path=/trunk/; revision=8774
2004-03-17 14:46:23 +00:00
Steven Edwards
e816725be5 Moved the WINE notepad.
svn path=/trunk/; revision=8773
2004-03-17 01:28:14 +00:00
Steven Edwards
b17d04d3a2 Moved the WINE notepad to rosapps
svn path=/trunk/; revision=8772
2004-03-17 01:27:00 +00:00
Martin Fuchs
cdfa901068 simplify Shell_NotifyIcon implementation
svn path=/trunk/; revision=8771
2004-03-16 23:18:10 +00:00
Martin Fuchs
820df5cbe5 use alloca() to pass NOTIFYICONDATA structures of any size
svn path=/trunk/; revision=8770
2004-03-16 22:49:29 +00:00
David Welch
3db0cc5595 - Map only the vga frame buffer for the hal to write debug messages
and map it higher up in the kernel address space so more space is available
for the nonpaged and paged pools.

svn path=/trunk/; revision=8769
2004-03-16 22:45:56 +00:00
David Welch
d4bd6869fe - Removed useless define.
svn path=/trunk/; revision=8768
2004-03-16 21:13:15 +00:00
David Welch
9eb9832b02 - Use the miniport services to map the frame buffer.
svn path=/trunk/; revision=8767
2004-03-16 21:11:44 +00:00
David Welch
32a05a4377 - Implemented IOCTL_VIDEO_MAP_VIDEO_MEMORY/IOCTL_VIDEO_UNMAP_VIDEO_MEMORY.
svn path=/trunk/; revision=8766
2004-03-16 21:06:20 +00:00
Eric Kohl
bf87266d08 Flush the new user hive after copying.
svn path=/trunk/; revision=8764
2004-03-16 11:34:51 +00:00
Martin Fuchs
1a75a2261c add _ANONYMOUS_UNION to NOTIFYICONDATA struct
svn path=/trunk/; revision=8763
2004-03-16 10:08:16 +00:00
Martin Fuchs
5c6819aaae replace WINE specifiy system tray implementation by a WIN32 compatible implementation
svn path=/trunk/; revision=8762
2004-03-16 10:07:38 +00:00
Art Yerkes
c20093e554 Arty's summary:
drivers/fs/cdfs/fsctl: Allocate wide chars.  CD title was being truncated
drivers/fs/vfat/fsctl: Tolerate a zero bytes-per-sector
Patches by Herve Poussineau

svn path=/trunk/; revision=8761
2004-03-16 08:30:28 +00:00
Royce Mitchell III
7d726b9519 NtGdiGetPixel cleanup - fixed small bug with rect boundary checking, and cleaned up code to only unlock DC in one place.
svn path=/trunk/; revision=8760
2004-03-16 02:15:06 +00:00
Gé van Geldorp
ba96bd3821 - Add arrows for popup submenus
- Display bitmap menu items

svn path=/trunk/; revision=8759
2004-03-15 23:49:29 +00:00
David Welch
28f9bf0155 - Left whole page allocations on by accident.
svn path=/trunk/; revision=8758
2004-03-15 22:22:53 +00:00
Gé van Geldorp
aea7bd7615 - Handle 1bpp DIBs in NtGdiCreateDIBitmap
- Fix double lock of DC in routines called by NtGdiCreateDIBSection

svn path=/trunk/; revision=8757
2004-03-15 22:06:55 +00:00
Gé van Geldorp
52f0a740aa hSelf member contains the handle, not the pointer
svn path=/trunk/; revision=8756
2004-03-15 22:02:31 +00:00
Gé van Geldorp
ad8fa18342 Silence debug message
svn path=/trunk/; revision=8755
2004-03-15 22:01:17 +00:00
Hartmut Birr
8536591b9d - Reduced the size of the symbol files, as only necessary symbol informations are copied.
svn path=/trunk/; revision=8754
2004-03-15 21:31:45 +00:00
Hartmut Birr
6d7c68c262 - Fixed the loading of symbol files, if the base name contains the extension '.sym'.
svn path=/trunk/; revision=8753
2004-03-15 21:16:45 +00:00
Hartmut Birr
f983216b34 - Removed dirty loading of symbol files from ExpInitializeExecutive.
- Prevented moving of KiSystemStartup into _main, because the memory
  from _main is freed from within KiSystemStartup.

svn path=/trunk/; revision=8752
2004-03-15 21:10:34 +00:00
Martin Fuchs
dcb0a46bfe launch sound control panel applet
svn path=/trunk/; revision=8751
2004-03-15 20:59:06 +00:00
Martin Fuchs
fda8c77b11 implementation of volume control tray icon
svn path=/trunk/; revision=8750
2004-03-15 20:45:41 +00:00
Filip Navara
41562afcd3 - Minor corrections to emulated mouse pointer handling.
svn path=/trunk/; revision=8749
2004-03-15 20:21:51 +00:00
David Welch
60a43e438d - Fix reading past the end of the pool block.
svn path=/trunk/; revision=8747
2004-03-15 19:06:35 +00:00
Hartmut Birr
94683a5682 - Changed ctype.h from mingw to ntoskrnl its own.
svn path=/trunk/; revision=8746
2004-03-15 17:32:47 +00:00
Royce Mitchell III
b57b6bb796 mark GetPixel as @implemented and fix param names
svn path=/trunk/; revision=8744
2004-03-15 04:21:17 +00:00
David Welch
c6476093e1 - Fixed whole page allocations since the handle table code now relies on
allocations being eight byte aligned.

svn path=/trunk/; revision=8743
2004-03-15 00:03:31 +00:00
Gé van Geldorp
639ab68e9a Fix mask for true color images
svn path=/trunk/; revision=8742
2004-03-14 23:04:44 +00:00
Martin Fuchs
296ea7d293 handle large notification strings
svn path=/trunk/; revision=8741
2004-03-14 22:44:08 +00:00
Martin Fuchs
14f61e5720 UNICODE fix for Tooltips
svn path=/trunk/; revision=8739
2004-03-14 22:27:44 +00:00
Martin Fuchs
b95e68a45d handle WM_NOTIFYFORMAT
svn path=/trunk/; revision=8738
2004-03-14 22:20:10 +00:00
Martin Fuchs
c53a01dce1 - separate tooltip area for each notify icon
- handle non-null terminated tooltip strings

svn path=/trunk/; revision=8737
2004-03-14 21:02:55 +00:00
Gé van Geldorp
c88c8baba9 Return a valid (empty) visible region when the window is not visible
svn path=/trunk/; revision=8736
2004-03-14 20:31:55 +00:00
Filip Navara
800b2b0dcf - Set InitData.HwInitDataSize to proper value.
svn path=/trunk/; revision=8733
2004-03-14 19:44:02 +00:00
David Welch
ad8ba55cb3 - Complete the irp even on an error.
svn path=/trunk/; revision=8731
2004-03-14 19:25:34 +00:00
Martin Fuchs
254292d714 resize taskbar buttons on WM_SIZE
svn path=/trunk/; revision=8729
2004-03-14 18:51:35 +00:00
David Welch
38b3d10879 - Map ntstatus values to the win32 error code expected by the display driver.
svn path=/trunk/; revision=8728
2004-03-14 18:36:14 +00:00
David Welch
e52b5b410e - Map return codes from the miniport's device i/o control routine from
win32 error code to ntstatus values.

svn path=/trunk/; revision=8727
2004-03-14 18:35:02 +00:00
David Welch
7c4c3bfb0b - Fixed bug with recalling previous input.
- Switch back to text mode when entering the debugger.

svn path=/trunk/; revision=8726
2004-03-14 18:28:59 +00:00
David Welch
ff4f24bbb6 - Removed setting of STATUS_DATA_OVERRUN in IoStatusBlock.Status when
IoStatusBlock.Information is greater than the output buffer length passed
in by the caller.

svn path=/trunk/; revision=8725
2004-03-14 18:27:08 +00:00
Thomas Bluemel
9789932e02 implemented GetProcessIoCounters()
svn path=/trunk/; revision=8724
2004-03-14 18:16:40 +00:00
Eric Kohl
cc68c2e317 Implement GetUserProfileDirectoryW().
Open user key in LoadUserProfileW() and close it in UnloadUserProfile().

svn path=/trunk/; revision=8723
2004-03-14 18:15:59 +00:00
Eric Kohl
2ce08a79bb Fix some prototypes.
svn path=/trunk/; revision=8722
2004-03-14 18:13:19 +00:00
Thomas Bluemel
e040902fff implemented SetConsoleIcon()
svn path=/trunk/; revision=8721
2004-03-14 17:53:27 +00:00
Filip Navara
b6a8d006e3 - Added PnP enum entry for the VMware video driver.
svn path=/trunk/; revision=8720
2004-03-14 17:47:10 +00:00
Filip Navara
b4e4cd6676 - Don't load PnP drivers if they're disabled.
- Save pointer to PnP tree device node in device object's DeviceObjectExtension.
- Add function IopGetDeviceNode for getting device node from device object pointer.
- Rewritten IoGetDeviceProperty to use values that are in device node instead of sending Irps.

svn path=/trunk/; revision=8718
2004-03-14 17:10:48 +00:00
Filip Navara
c5058d5a3c - Fixed handling of IRP_MN_QUERY_BUS_INFORMATION.
- Add basic handling of IRP_MN_QUERY_CAPABILITIES for getting device specific bus address.

svn path=/trunk/; revision=8717
2004-03-14 17:10:43 +00:00
Gé van Geldorp
c72fe4771e Implement TrackPopupMenu. This fixes bug #131
svn path=/trunk/; revision=8716
2004-03-14 16:39:49 +00:00
Martin Fuchs
e8f56accc6 tool tip texts for notification icons
svn path=/trunk/; revision=8715
2004-03-14 16:39:28 +00:00
Martin Fuchs
b61431ec36 declare NOTIFYICON VERSION 3 constants
svn path=/trunk/; revision=8714
2004-03-14 15:54:27 +00:00
Martin Fuchs
b7c8fed978 declare V5 structure members and constants for notifications icons
svn path=/trunk/; revision=8713
2004-03-14 15:42:04 +00:00
Martin Fuchs
258d7cea79 hide clock from desktop bar if it's configured this way in registry
svn path=/trunk/; revision=8712
2004-03-14 14:44:23 +00:00
Thomas Bluemel
841b0b2958 implemented GetFileSizeEx()
svn path=/trunk/; revision=8711
2004-03-14 13:20:10 +00:00
Thomas Bluemel
2c9bca4a1a implemented SetFilePointerEx() and fixed SetFilePointer() to check if the calculated file position is negative
svn path=/trunk/; revision=8710
2004-03-14 13:11:55 +00:00
Martin Fuchs
3b338cc571 fixed imagelist handle leak
svn path=/trunk/; revision=8709
2004-03-14 12:43:27 +00:00
Thomas Bluemel
42798328cb count all gdi handles and serialize removing gdi handles from the table.
svn path=/trunk/; revision=8708
2004-03-14 12:16:50 +00:00
Martin Fuchs
5ca99eb505 disable context menu for non-file system objects
svn path=/trunk/; revision=8706
2004-03-14 12:06:25 +00:00
Gé van Geldorp
d13e1cf220 Match error tested against to the actual error returned by
NtUserGetWindowLong

svn path=/trunk/; revision=8705
2004-03-14 11:27:33 +00:00
Gé van Geldorp
57b26979cb You can't use NtCurrentTeb() in kernel mode
svn path=/trunk/; revision=8704
2004-03-14 11:25:33 +00:00
Thomas Bluemel
85f9fdf39f implemented GetProcessId()
svn path=/trunk/; revision=8703
2004-03-14 11:11:17 +00:00
Thomas Bluemel
04b43aab9e minor fix
svn path=/trunk/; revision=8702
2004-03-14 10:16:18 +00:00
Filip Navara
b0b55220e6 - Make IoGetDeviceInterfaces more compatible with the native version. Patch by Matthew Brace.
svn path=/trunk/; revision=8701
2004-03-14 09:43:12 +00:00
Thomas Bluemel
89265e0151 Implemented CreateHardLink()
svn path=/trunk/; revision=8700
2004-03-14 09:21:42 +00:00
Gé van Geldorp
8dc9f6bf9c Avoid ReactOS changes getting lost
svn path=/trunk/; revision=8699
2004-03-14 09:17:53 +00:00
Gé van Geldorp
ff837bae4a Explicitly include stddef.h for offsetof, needed for newer GCC versions
svn path=/trunk/; revision=8698
2004-03-14 08:51:16 +00:00
Gé van Geldorp
cd7fbb8e5c Translate pixel value from internal pixel format to RGB. Fixes bug #251.
svn path=/trunk/; revision=8697
2004-03-14 00:11:28 +00:00
Gé van Geldorp
e8cf99cda9 Delay unlinking of windows until after all messages have been sent.
This fixes bug #241.

svn path=/trunk/; revision=8696
2004-03-13 23:12:19 +00:00
Thomas Bluemel
ea0774aba3 RtlGetFullPathName_U() is supposed to check the parameter buf, it could be NULL
svn path=/trunk/; revision=8695
2004-03-13 22:23:14 +00:00
Filip Navara
1bc3d1b4ed - Fixed DPRINT.
svn path=/trunk/; revision=8694
2004-03-13 21:33:16 +00:00
Eric Kohl
3211fcf2d0 Implement LoadUserProfileW() and UnloadUserProfile().
svn path=/trunk/; revision=8693
2004-03-13 20:49:07 +00:00
Martin Fuchs
17d9fc0744 french translation for some start menu entries from Gge
svn path=/trunk/; revision=8691
2004-03-13 20:05:32 +00:00
Jason Filby
8552f80d82 Finish off NtDuplicateToken
svn path=/trunk/; revision=8690
2004-03-13 19:25:47 +00:00
David Welch
988f1d5968 - Checked in MmMapLockedPages patch from Anich Gregor.
svn path=/trunk/; revision=8689
2004-03-13 19:14:16 +00:00
David Welch
35f3e5b524 - Record feature information from cpuid. Not used at the moment.
svn path=/trunk/; revision=8688
2004-03-13 18:30:56 +00:00
David Welch
6cee07a9b2 - Fixed comment.
svn path=/trunk/; revision=8687
2004-03-13 18:28:33 +00:00
David Welch
6849e40ba7 - Added disassembler from gdb.
svn path=/trunk/; revision=8686
2004-03-13 18:26:13 +00:00
David Welch
ff3151887b - Added basic tracing, breakpoints and disassembly to the kernel debugger.
svn path=/trunk/; revision=8685
2004-03-13 18:21:57 +00:00
Hartmut Birr
c417fd21b1 - Split LdrpProcessImportDirectory into LdrpProcessImportDirectory and
LdrpProcessImportDirectoryEntry. Sometimes it is necessary to process
  a single entry from import directory and sometimes it is necessary
  to process all entries with the same name.

svn path=/trunk/; revision=8684
2004-03-13 18:14:04 +00:00
Gé van Geldorp
05825a6aab Mark update regions as global objects, to prevent their destruction when
the creating process exits

svn path=/trunk/; revision=8683
2004-03-13 17:33:53 +00:00
Eric Kohl
544d860114 Fix key name size calculation bugs.
Fill some allocated buffers with zeros.
Minor cleanup.

svn path=/trunk/; revision=8682
2004-03-13 12:14:44 +00:00
Eric Kohl
c9c372e34b Add missing EVENTLOG_SUCCESS.
svn path=/trunk/; revision=8681
2004-03-13 09:38:55 +00:00
Vizzini
35472661aa turn off skip bit to support VMWare FDC
svn path=/trunk/; revision=8680
2004-03-13 07:28:40 +00:00
Vizzini
007814383b fixed two race conditions with motor power-off; now handles disk change detection and no-disk-in-drive correctly
svn path=/trunk/; revision=8679
2004-03-13 07:04:54 +00:00
Vizzini
2207df1ae4 fixed a couple motor start/stop bugs; fixed a seek offset
svn path=/trunk/; revision=8678
2004-03-13 05:06:49 +00:00
David Welch
410da0d376 - Removed some debugging stuff I checked in by accident.
svn path=/trunk/; revision=8676
2004-03-13 00:41:40 +00:00
David Welch
e964a19eb2 - Fixed VPInterruptRoutine definition.
svn path=/trunk/; revision=8675
2004-03-12 23:03:21 +00:00
Gé van Geldorp
94c34aee80 Update status
svn path=/trunk/; revision=8674
2004-03-12 22:08:23 +00:00
Gé van Geldorp
ceabe25983 Sync to Wine-20040309:
Jason Edmeades <us@the-edmeades.demon.co.uk>
- Handle playing of files containing a '+' as part of the filename.
Robert Reif <reif@earthlink.net>
- Cleanup prepare/unprepare header parameter checking.
- Fix midiInGetDevCapsW.
Sean Young <sean@mess.org>
- Check uSize parameter in waveOutUnprepareHeader and
waveOutPrepareHeader.
Christian Costa <titan.costa@wanadoo.fr>
- Fixed waveInGetDevCapsW.

svn path=/trunk/; revision=8672
2004-03-12 21:20:53 +00:00
Martin Fuchs
5ceefba3a3 small 'Explorer' string adjustment for french
svn path=/trunk/; revision=8670
2004-03-12 21:20:02 +00:00
Martin Fuchs
82ed8b47d6 adjust start button to text size
svn path=/trunk/; revision=8668
2004-03-12 21:12:28 +00:00
Martin Fuchs
e40caec333 adjust start button to text size
svn path=/trunk/; revision=8667
2004-03-12 21:12:27 +00:00
Gé van Geldorp
a526783523 Sync to Wine-20040309:
Alexandre Julliard:
- Added version scripts for libwine and libwine_unicode.
Rein Klazes <rklazes@xs4all.nl>
- Fix MultiByteToWideChar and WideCharToMultiByte when called with code
page CP_SYMBOL.
- Remove the symbol font from the code page table, so it is not reported
as a valid/supported/installed code page.
- Remove workarounds for the badly behaved MultiByteToWideChar and co.
in a few places.

svn path=/trunk/; revision=8666
2004-03-12 21:04:04 +00:00
Gé van Geldorp
a990283857 Merge back commit from WineHQ
svn path=/trunk/; revision=8665
2004-03-12 20:30:44 +00:00
Filip Navara
7f1a2fa09f - Fixed declaration of DRIVER_OBJECT and friends.
svn path=/trunk/; revision=8664
2004-03-12 19:40:40 +00:00
Filip Navara
0e8946cb44 - Implemented IoGetDriverObjectExtension and IoAllocateDriverObjectExtension.
- Fixed the parts of IoGetDeviceProperty that were incorrectly sending IRP_MN_QUERY_BUS_INFORMATION.

svn path=/trunk/; revision=8663
2004-03-12 19:40:29 +00:00
Filip Navara
5c45ab6ac0 - Support for IRP_MN_QUERY_BUS_INFORMATION and devices on multiple PCI buses.
svn path=/trunk/; revision=8662
2004-03-12 19:40:05 +00:00
Art Yerkes
7b9bc747c8 Added bit counting and inverting functions to address.
Broke out some functions in info.c -- They still don't work properly but
are improving.
Added setting of netmask in datalink/lan.c from the registry, broke out
registry reading function.

svn path=/trunk/; revision=8661
2004-03-12 04:21:59 +00:00
Vizzini
29d063166b - Added arc path support
- Fixed disk change support
 - Fixed the priority boosts to be saner
 - Fixed some start/stop motor timing bugs
 - Figured out the Real Deal with Model 30 support (I hope...)
 - Cleaned up DMA init a bit
 - Improved return values, freed things on fail, etc
 - General code cleanup

svn path=/trunk/; revision=8660
2004-03-12 03:36:32 +00:00
David Welch
f12f44e036 - Actually I realised it isn't valid to touch the object at all after
decrementing the reference count unless the reference count was one. I
also removed the retention check in ObfReferenceObject since I couldn't
see how this would ever be needed.

svn path=/trunk/; revision=8659
2004-03-12 00:46:35 +00:00
David Welch
c61a3955d5 - Use the return value from calling InterlockedDecrement on the reference
count when checking whether the object should be retained. This fixes
a race whereby one thread decrements the value to one, another thread
come in and decrements the value to zero and starts the delete, the
first thread then comes back, does retention checks and finds the
reference count is now zero and then bugchecks because the object is
already being deleted.

svn path=/trunk/; revision=8658
2004-03-12 00:28:13 +00:00
Vizzini
abc17a4830 Lots of code clean-up; correctly copies files of any size to/from disk;
clean under prefast, lint, verifier, and checked win2k

svn path=/trunk/; revision=8657
2004-03-11 23:12:03 +00:00
David Welch
304ff0ba96 - Return any error code from the miniport device i/o control to the display
driver. Fixes crash when running with ati drivers.

svn path=/trunk/; revision=8656
2004-03-11 23:07:16 +00:00
Gé van Geldorp
162e4ee1f5 Sync to Wine-20040309:
Francois Gouget <fgouget@free.fr>
- Assorted spelling and case fixes.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Add SHMenuIndexFromID and SHCoCreateInstanceAC.
Patrik Stridvall <ps@leissner.se>
- Fixed some issues found by winapi_check.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Stub the stopwatch API.
- Implement DoesStringRoundTripW,@371-3,@392.
- Move a couple of string functions into string.c
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Add IntlStrEqWorkerA/W.
- StrCmp tests.
- Implement string functions in comctl32.
- Use CompareString in shlwapi wherever possible instead of ugly
  helpers.
Kevin Koltzau <kevin@plop.org>
- Fix UrlCanonicalize and add regression test.
- Prevent crash with invalid args in a few URL functions.

svn path=/trunk/; revision=8655
2004-03-11 22:30:40 +00:00
Gé van Geldorp
778b9378b6 Sync to Wine-20040309:
Marcelo Duarte <wine-devel@bol.com.br>
- Update of Portuguese resources.

svn path=/trunk/; revision=8654
2004-03-11 22:00:19 +00:00
David Welch
01d3124925 - Made KeBugCheckEx into a call to KeBugCheckExWithTf.
- If file logging is in use then dump the last messages from the ringbuffer
on a bugcheck so the user can see them if the system was in graphics mode
when it crashed.

svn path=/trunk/; revision=8653
2004-03-11 21:50:24 +00:00
Gé van Geldorp
14a834a699 Sync to Wine-20040309:
Mike Hearn <mh@codeweavers.com>
- To reduce debugging noise, make IMalloc32/IMallocSpy implementations
  output to the new olemalloc debug channel.
Patrik Stridvall <ps@leissner.se>
- Fixed some issues found by winapi_check.
Alexandre Julliard
- Sync some of the dll registrations with the contents of
  winedefault.reg.

svn path=/trunk/; revision=8652
2004-03-11 21:46:41 +00:00
David Welch
060aa03ca6 - Added KeSaveFloatingPoint and KeRestoreFloatingPointState to the old
ddk so win32k can use them.

svn path=/trunk/; revision=8651
2004-03-11 21:42:01 +00:00
David Welch
2f596c1ce8 - Implemented EngSaveFloatingPointState and EngRestoreFloatingState.
svn path=/trunk/; revision=8650
2004-03-11 21:38:58 +00:00
Gé van Geldorp
0581a7d1a6 Fix DocumentPropertiesW declaration
svn path=/trunk/; revision=8649
2004-03-11 21:16:56 +00:00
Gé van Geldorp
4798e9d2db Sync to Wine-20040309
svn path=/trunk/; revision=8648
2004-03-11 21:15:50 +00:00
Gé van Geldorp
dbdb5a1f76 Sync to Wine-20040309
svn path=/trunk/; revision=8647
2004-03-11 20:08:15 +00:00
Gé van Geldorp
63c72aa8a8 Move declaration of GetLastError() to match PSDK
svn path=/trunk/; revision=8646
2004-03-11 20:05:11 +00:00
Thomas Bluemel
c07e181b14 forgot this one, sorry
svn path=/trunk/; revision=8645
2004-03-11 19:22:21 +00:00
Thomas Bluemel
169c5abd20 simplified calls to MsqPostMessage()
svn path=/trunk/; revision=8644
2004-03-11 16:17:25 +00:00
Thomas Bluemel
1988a7b8ea first attempt to implement SendMessageTimeout()
svn path=/trunk/; revision=8643
2004-03-11 14:47:44 +00:00
Thomas Bluemel
241b66d3bd added buttons to test if a thread is hung
svn path=/trunk/; revision=8642
2004-03-11 14:44:48 +00:00
Gé van Geldorp
7bbe8a0aec New cursor
svn path=/trunk/; revision=8641
2004-03-11 11:34:51 +00:00
Gé van Geldorp
41f97f6862 Create image list for toolbar with same depth as display
svn path=/trunk/; revision=8640
2004-03-11 11:14:52 +00:00
Gé van Geldorp
6477510568 Sync to Wine-20040309:
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Implement the drag list control.
- Fix tabs in LBItemFromPt.
- Move string functions to separate file.
- Implement string functions in comctl32.
- Use CompareString in shlwapi wherever possible instead of ugly
  helpers.
- Forward some wrapper functions since we don't care about compatibility
  with Win98 in this case.
- Documentation update.
- Update common control function documentation.
- Don't allocate space for text when nMaxTextRows = 0.
- Support custom check background.
- Reduce number of parameters needed for DrawString function.
- Fix some traces.
- The TBM_GET*HOTLIST functions take imagelist ID in wParam.
- Implement TBM_GETSTRING{A,W}.
- Implement undocumented 0x462 message.
Alexandre Julliard
- Removed a couple of unneeded helper functions.
Maxime BellengT <maxime.bellenge@laposte.net>
- Fix a regression in ImageList_Create when creating a dibsection.
Ulrich Czekalla <ulrich@codeweavers.com>
- Use dibsections for the images.
Dimitrie O. Paun <dpaun@rogers.com>
- LVN_BEGINRDRAG is implemented now. Fix typo.
Aric Stewart <aric@codeweavers.com>
- Implemented LISTVIEW_ApproximateViewRect for LVS_REPORT.
Fabian Cenedese <Cenedese@indel.ch>
- ListView should behave in OWNERDRAW as in FULLROWSELECT. This allows
  to select cells not in the first column in REPORT mode with OWNERDRAW
  style set.
Matt Chapman <matthewc@cse.unsw.edu.au>
- Fix a reentrancy issue in the property sheet implementation by not
  caching a pointer that can change.
- REBAR_Layout should respect the minimum size of bands even when
  RBBS_FIXEDSIZE is not set.
- REBAR_ShowBand needs to force layout of the rebar after a band is
  hidden/unhidden.
Vitaliy Margolen <wine-patch@kievinfo.com>
- Adjust all dimensions to match native.
- Invalidate whole tab area when multi-line.
- In vertical tab placement go from top to bottom.
- Fix annoying visual artifacts.
Huw Davies <huw@codeweavers.com>
- If TBSTYLE_EX_HIDECLIPPEDBUTTONS is set then invalidate the area that
  changes in a resize.
- Don't call SWP unless we're actually adjusting anything.
Christian Costa <titan.costa@wanadoo.fr>
- Accept null module instance, Loadstring can handle it.
Steve Lustbader <slustbader@verizon.net>
- Handle the firstVisible item being NULL in
Mike Hearn <mike@theoretic.com>
- Grow the treeview control expander button by 1px in each direction to
  match the native look.

svn path=/trunk/; revision=8639
2004-03-11 11:13:28 +00:00
Vizzini
8e37499a90 Fixed a length calculation bug introduced with transfer-splitting code
--> big file transfers work now

svn path=/trunk/; revision=8638
2004-03-11 07:01:58 +00:00
Vizzini
8438bc1293 fixed CHS computation bug
svn path=/trunk/; revision=8637
2004-03-11 06:48:22 +00:00
Vizzini
6ef65a3872 - Implement support for split DMA transfers
- Remove assert from CreateClose handler (still doesn't seem to get called
   consistently though)
 - Fixed an off-by-one bug for sector calculation

 --> Medium-sized files transfer to/from disk now

svn path=/trunk/; revision=8636
2004-03-11 06:24:44 +00:00
Andrew Greenwood
d5044130a8 - Updated the version number in README.TXT to 0.2.x (maybe I'm just being pedantic...)
svn path=/trunk/; revision=8635
2004-03-11 02:09:14 +00:00
James Tabor
64c32ff6f4 Turn off debug print out
svn path=/trunk/; revision=8634
2004-03-11 00:05:00 +00:00
Filip Navara
15989c99be - Support for SS_REALSIZEIMAGE and SS_CENTERIMAGE flags for bitmap static controls.
svn path=/trunk/; revision=8633
2004-03-10 23:21:56 +00:00
Filip Navara
cf41719321 - Include eventlog.c in the build.
svn path=/trunk/; revision=8632
2004-03-10 21:56:04 +00:00
Filip Navara
fe0b173e6e - Export the event log functions and LookupAccountSid[AW].
svn path=/trunk/; revision=8631
2004-03-10 21:37:18 +00:00
Aleksey Bragin
2b24e33ce7 LookupAccountSidA and W stubs added (FAR needs them). Hope it is the right place for them.
svn path=/trunk/; revision=8630
2004-03-10 21:34:42 +00:00
Andrew Greenwood
c9c497dc9f - Implemented ChangeMenuA and ChangeMenuW, as implemented in WINE.
svn path=/trunk/; revision=8629
2004-03-10 20:36:19 +00:00
Filip Navara
e080b835d0 - Fixed querying of thread locale.
svn path=/trunk/; revision=8628
2004-03-10 20:26:40 +00:00
Vizzini
ab9a6623a2 Properly set the length of the transfer so FastFat won't assert on us
svn path=/trunk/; revision=8627
2004-03-10 20:17:26 +00:00
Vizzini
1984d3c175 Disabled disk-change notification because it was breaking on Model 30 controllers; read/write is starting to work as a result
svn path=/trunk/; revision=8626
2004-03-10 19:35:04 +00:00
Steven Edwards
c29a4bda2e Add -Wall to the Makefle and fix a few compiler warrnings for
depreceated C++

svn path=/trunk/; revision=8625
2004-03-10 18:57:36 +00:00
Andrew Greenwood
b2a9c5d1de - Boot into GUI again (I'd disabled this as GUI stopped working in my local tree) - sorry about that!
svn path=/trunk/; revision=8624
2004-03-10 17:32:16 +00:00
Casper Hornstrup
fc8e6d987a 2004-03-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/system/usetup/bootsup.c (UpdateFreeLoaderIni): Use existing
	ReactOS entry if available.

svn path=/trunk/; revision=8623
2004-03-10 16:57:36 +00:00
Filip Navara
d72790226a - Fixed the Andrew's NtGdiCreateCompatibleBitmap fix, it was using a wrong Bits array.
svn path=/trunk/; revision=8622
2004-03-10 16:55:03 +00:00
Filip Navara
7f3f39dc20 - Fixed bug in VideoPortSetBusData.
svn path=/trunk/; revision=8621
2004-03-10 16:10:13 +00:00
Andrew Greenwood
a306af21c2 *Major soundcard support update*
ReactOS remains silent for now, but for anyone wishing to further work on the Sound Blaster driver and/or mmdrv.dll, this should help immensely :)

- Imported midimap from WINE
- Imported wavemap from WINE
- Imported msacm from WINE (32-bit only)
- Minor changes to mpu401
- Basic IRP_MJ_WRITE dispatch routine for sndblst.sys (receives buffers, does nothing else.)
- Added various WINE headers to include\wine

svn path=/trunk/; revision=8620
2004-03-10 15:22:45 +00:00
Gé van Geldorp
69208dc611 Tell apps we're NT4 SP6, VB runtime will fail if we report SP0
svn path=/trunk/; revision=8619
2004-03-10 09:14:29 +00:00
Andrew Greenwood
025e88cba9 - Implemented GetDCOrg(), which is officially obsolete, but I've included it for completeness' sake :)
svn path=/trunk/; revision=8618
2004-03-09 23:21:56 +00:00
Casper Hornstrup
e2b29d7f6c 2004-03-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
* regtests/Makefile: Make REGTEST_TARGETS depend on *.c.
	* regtests/kmregtests/driver.c: Update call to PerformTests().
	* regtests/kmrtint/kmrtint.c (RegTestMain): Update to match prototype.
	* regtests/kmrtint/kmrtint.def (RegTestMain): Ditto.
	* regtests/kmrtint/kmrtint.edf (RegTestMain): Ditto.
	* regtests/win32base/tests/ws2event.c: New file.
	* regtests/regtests/regtests.c (OUPUT_MODE_DbgPrint,
	OUPUT_MODE_OutputDebugString, OUPUT_MODE_printf): Define.
	(OutputMode): New variable.
	(OutputRoutine): New function.
	(RunTestDriver): Add TestName parameter.
	(main): Parse command line to find output routine and test name.
	* regtests/shared/regtests.c (PerformTest): Use specified output routine
	if specified. Run only specified test if specified.
	(PerformTests): Update call to PerformTest().
	* regtests/shared/regtests.h (TestOutputRoutine): Add prototype.
	(TestDriverMain): Add OutputRoutine and TestName parameter.
	(PerformTests): Ditto.
	* regtests/win32base/Makefile (TARGET_SDKLIBS): Add ws2_32.a.
	* regtests/win32base/driver.c (RegTestMain): Update to match prototype.
	* regtests/win32base/win32base.def (RegTestMain): Ditto.
	* regtests/win32base/win32base.edf (RegTestMain): Ditto.
	* tools/regtests.c (UMSTUB): Update call to PerformTests().

svn path=/trunk/; revision=8617
2004-03-09 22:08:04 +00:00
David Welch
6616abd532 - Forgot this one.
svn path=/trunk/; revision=8616
2004-03-09 22:04:47 +00:00
David Welch
1fbda72a7a - Replaced some common sequences of inline assembly with macros. Avoid
having compiler checks scattered all over the place.
- Added some disabled code to KiDumpTrapFrame that dumps every address
on the stack that could be a return address. This is quite handy for
debugging crashes in modules compiled with fpo.

svn path=/trunk/; revision=8615
2004-03-09 21:49:54 +00:00
David Welch
e04ce16d15 - Fixed check for an out of range index in {Get/Set}{Class/Window}Long
(signed vs. unsigned arithmetic). Fixes crash in 'user32_test win'.

svn path=/trunk/; revision=8614
2004-03-09 21:21:39 +00:00
David Welch
860bde3b68 - Disabled double lock message in NDEBUG builds since it is triggered
whenever there is contention for the same object.

svn path=/trunk/; revision=8613
2004-03-09 20:34:28 +00:00
Filip Navara
9c45d9475e - Uncomment NDEBUG.
svn path=/trunk/; revision=8612
2004-03-09 18:56:32 +00:00
Filip Navara
daae8270b7 - Implemented VideoPortQueryPerformanceCounter and all video port spinlock functions.
- Added more debug info to VideoPortGetAccessRanges.

svn path=/trunk/; revision=8611
2004-03-09 17:28:49 +00:00
Aleksey Bragin
e4ac5bf4f4 Added more (in case we run on PowerPC) processor ids returned by GetSystemInfo(), by Christoph von Wittich.
svn path=/trunk/; revision=8610
2004-03-09 16:35:15 +00:00
Aleksey Bragin
b6ead4d81a Added more processor defines to SYSINFO struct, by Christoph von Wittich.
svn path=/trunk/; revision=8609
2004-03-09 16:33:22 +00:00
Eric Kohl
282e78244f Create a logon token and use it to start the shell process.
svn path=/trunk/; revision=8608
2004-03-09 15:08:12 +00:00
Eric Kohl
e380640f44 LogonUserW(): Fix key name.
svn path=/trunk/; revision=8607
2004-03-09 15:04:28 +00:00
Filip Navara
bea52f9dbe - Minor correction to DMA routines.
svn path=/trunk/; revision=8606
2004-03-09 14:16:39 +00:00
Gé van Geldorp
1bb065b4f4 Correct menu bars for windows not originating at top-left of screen.
This fixes bug #234.

svn path=/trunk/; revision=8605
2004-03-09 14:03:18 +00:00
Gé van Geldorp
97ce8d58b4 Fix SPMajorVersion for Nt4SP5, spotted by Christoph_vW
svn path=/trunk/; revision=8604
2004-03-09 12:59:13 +00:00
Richard Campbell
442842230e noncopyrighted icon FIXED
svn path=/trunk/; revision=8603
2004-03-09 10:59:26 +00:00
Richard Campbell
462be9c136 noncopyrighted icon
svn path=/trunk/; revision=8602
2004-03-09 10:56:16 +00:00
Richard Campbell
847c530813 please don't commit copyrighted microsoft icons to cvs!
svn path=/trunk/; revision=8601
2004-03-09 10:55:44 +00:00
Filip Navara
1a34bfa768 - Added Event Log stubs copied from Wine. It seems it's needed for Visual Basic runtime.
svn path=/trunk/; revision=8600
2004-03-08 21:58:17 +00:00
Filip Navara
dbce1b766d - Do the real memory allocation in context of CSRSS process. Suggested by David Welch.
svn path=/trunk/; revision=8599
2004-03-08 21:45:39 +00:00
Filip Navara
70acaf22e8 - Added service pack numbers to application compatibility settings.
svn path=/trunk/; revision=8598
2004-03-08 21:21:28 +00:00
Filip Navara
03e7c82dd2 - Mask out VIDEO_MEMORY_SPACE_DENSE flag, because it's specific to ALPHA processors. This gets Matrox Mystique driver working.
svn path=/trunk/; revision=8597
2004-03-08 20:54:10 +00:00
David Welch
2b4fa805eb - Hacky implementation of some dma related functions.
svn path=/trunk/; revision=8596
2004-03-08 20:27:33 +00:00
Richard Campbell
5df0488416 one more change.
svn path=/trunk/; revision=8595
2004-03-08 20:19:54 +00:00
Richard Campbell
f350173836 fix corrupted GPL problem
svn path=/trunk/; revision=8594
2004-03-08 20:16:45 +00:00
Steven Edwards
41a3435039 Get MSYS and a few others working again....
svn path=/trunk/; revision=8593
2004-03-08 18:09:05 +00:00
Filip Navara
a8d7de6a74 - Fixed DPRINT.
svn path=/trunk/; revision=8592
2004-03-08 14:31:49 +00:00
Thomas Bluemel
e63f7f9cd0 added basic skeleton for the system control panel
svn path=/trunk/; revision=8591
2004-03-08 14:24:47 +00:00
Filip Navara
06f1206cf2 - Fixed DPRINT.
svn path=/trunk/; revision=8590
2004-03-08 14:22:30 +00:00
Thomas Bluemel
246677c52f little fixes
svn path=/trunk/; revision=8589
2004-03-08 14:20:14 +00:00
Art Yerkes
0c76856d9c More support for IOCTL_TCP_QUERY/SET_INFORMATION_EX
Connected ControlChannel handle type.
Allowed empty EaInfo in create -> ControlChannel.
Added TDI entity for interfaces.
Fixed IPSnmpInfo interface number report.
Fixed returned buffer size report in DispTdiQueryInformationExComplete
Added IPROUTE_ENTRY struct.

What works:
tcpquery lists three entities, two builtin and one IF_ENTITY
tcpquery -i reports 1 interface and 1 address for me (addr=127.0.0.1)

TODO:
Type information for each entity (only two builtin entities are supported now)
Interface info out (IFEntry)
Route info in/out (IPRouteEntry)

svn path=/trunk/; revision=8588
2004-03-08 10:20:18 +00:00
Martin Fuchs
9183e287b1 new bug reports in TODO list
svn path=/trunk/; revision=8587
2004-03-08 09:45:19 +00:00
Eric Kohl
11cc5733d3 Return unique IndexNumber.
Minor cleanup.

svn path=/trunk/; revision=8586
2004-03-08 08:51:26 +00:00
Filip Navara
17ad90f8d0 - Implement RtlGetVersion.
- Rewrite VideoPortGetVersion using RtlGetVersion.
- Added debugging messages to InternalMapMemory.
- Changed VideoPortAllocateBuffer back to PagedPool.

svn path=/trunk/; revision=8585
2004-03-08 08:05:27 +00:00
David Welch
6c8ead7315 - Added a definition for PEVENT.
svn path=/trunk/; revision=8584
2004-03-08 07:41:27 +00:00
David Welch
16473a5114 - Implemented event services.
svn path=/trunk/; revision=8583
2004-03-08 07:04:57 +00:00
James Tabor
8311b47fe4 Finish changes to VideoPortGetVersion
svn path=/trunk/; revision=8582
2004-03-08 04:41:20 +00:00
James Tabor
2f224f7360 Change NonPagedPool for AllocateBuffer and implemented GetVersion for David Welch.
svn path=/trunk/; revision=8581
2004-03-08 04:09:02 +00:00
Andrew Greenwood
0e200b6f99 * Fixed co-ordinate translation for windows that have been moved, adjusting the co-ordinates to take into account the window captions.
NOTE: Menu item tracking is still broken for windows that have been moved. Eg, if you move a window, click on a menu, then move the mouse pointer over another item, the new menu will NOT open unless you click.

svn path=/trunk/; revision=8580
2004-03-07 22:13:51 +00:00
Filip Navara
c0b4d77eb9 - Removed the spinlock I added in my last patch, it's wrong!
svn path=/trunk/; revision=8579
2004-03-07 21:09:08 +00:00
Hartmut Birr
11897d4d87 - Implemented double buffering for a console windows. Currently the second buffer
is a memory bitmap. All screen buffer updates does also write to the bitmap and
  the screen is updated by invalidating the update region. The previous version
  has released the screen buffer lock while scrolling up. It is not possible to
  release the lock while a write to the screen buffer is in progress. If the text
  output routines are faster, we should change the second buffer from a bitmap
  to character array.

svn path=/trunk/; revision=8578
2004-03-07 21:00:11 +00:00
Filip Navara
84269ab2d2 - Fixed MapWindowPoints for NULL window handles.
svn path=/trunk/; revision=8577
2004-03-07 20:38:17 +00:00
Filip Navara
8aad973151 - Changed DbgPrint to DPRINT in DriverEntry.
svn path=/trunk/; revision=8576
2004-03-07 20:33:25 +00:00
Filip Navara
877788b63b - Call create process notify routines from NtCreateProcess.
- Protect PiProcessNotifyRoutine by a spinlock.
- Started PsSetLoadImageNotifyRoutine implementation, it just registers the callback, but doesn't call it.

svn path=/trunk/; revision=8575
2004-03-07 20:31:53 +00:00
Hartmut Birr
fa397a0e33 - Added a disk speed test utility.
svn path=/trunk/; revision=8574
2004-03-07 20:12:13 +00:00
KJK::Hyperion
61ae1aa515 - Added comments to the fiber test, plus minor fixes
- Fixed NT_TIB structure to be compatible with w32api
 - Fixed fiber support in kernel32.dll. Now the correct argument is passed to fiber startup routines

svn path=/trunk/; revision=8573
2004-03-07 20:07:05 +00:00
Hartmut Birr
783cbe0718 - Fixed the handling for ctrl and alt keys.
svn path=/trunk/; revision=8572
2004-03-07 20:03:43 +00:00
Hartmut Birr
ef908e75fd - Initialized the object tag to prevent the tag 0xcccccccc.
svn path=/trunk/; revision=8571
2004-03-07 19:59:37 +00:00
Hartmut Birr
68ddb0bcdd - Pre initialized the resulting transfer length for requests which are split.
svn path=/trunk/; revision=8570
2004-03-07 19:53:08 +00:00
Hartmut Birr
ec2daabaf9 - Changed the dma capability detection code.
- Enabled DMA transfers by default.
- Implemented DMA transfer for atapi devices (CD rom drives).

svn path=/trunk/; revision=8569
2004-03-07 19:48:45 +00:00
Art Yerkes
ce4344ab2c Added waiting on console handles. We use a thread to poll for input
availability.

svn path=/trunk/; revision=8568
2004-03-07 18:06:29 +00:00
Art Yerkes
796f34f5ff David Welch turned me on to the right way to solve the cygwin fork section
map problem.  This fixes map_dup_inherit.

svn path=/trunk/; revision=8567
2004-03-07 17:48:41 +00:00
Filip Navara
39078ad027 - Correct base addresses.
svn path=/trunk/; revision=8566
2004-03-07 14:33:13 +00:00
David Welch
bd277c512b - Added stubs for EngAlphaBlend and EngControlSprites.
svn path=/trunk/; revision=8565
2004-03-07 12:49:27 +00:00
David Welch
27ea3725e5 - .cvsignore update.
svn path=/trunk/; revision=8564
2004-03-07 12:42:10 +00:00
Filip Navara
5c13959830 - Moved the loading of font names from user32.dll to win32k.sys.
- Moved the window metrics values from hivesys.inf to hivedef.inf.
- In case of failure of getting the font values from registry, use default values.
- Removed user32.dll dependency on advapi32.dll.
- Removed the "UGLY HACK" code, because it really isn't true that ReactOS doesn't handle fonts with negative height.

svn path=/trunk/; revision=8563
2004-03-07 11:59:43 +00:00
Filip Navara
fceb231b0e - Fixed RtlFormatCurrentUserKeyPath and it's use.
- Fill correctly all members of the returned device object in IoCreateDevice.
- Don't bug check in loader when export isn't found, only report it and don't load the module.
- If we know a module path while loading, use it for searching for the import modules.
- Modified LdrpBuildModuleBaseName to not strip the extension from file name, because the files 's3legacy.dll' and 's3legacy.sys' are otherwise treated as the same files and wrong module is loaded.

svn path=/trunk/; revision=8562
2004-03-07 11:59:10 +00:00
David Welch
4a88989b85 - Added an implementation of LdrFindImageProcAddress.
svn path=/trunk/; revision=8561
2004-03-07 04:44:41 +00:00
David Welch
75860969fe - Added an implemention of VideoPortGetProcAddress
- ati2mtag calls VideoPortGetAccessRanges with *DeviceId == 0 so treat
that as matching an device id.
- Return STATUS_SUCCESS from VideoPortSetTrappedEmulatorPorts even though
the data is ignored.

svn path=/trunk/; revision=8560
2004-03-07 04:43:55 +00:00
David Welch
ff81e5e1b0 - Use an event rather than a semaphore to wake up the thread that writes
debug output to disk. Avoids bugchecking if the number of debug prints
before the thread wakes up exceeds the semaphore limit.

svn path=/trunk/; revision=8559
2004-03-07 04:38:41 +00:00
KJK::Hyperion
7682e4ce80 Fiber switching code fixed
svn path=/trunk/; revision=8558
2004-03-07 04:00:39 +00:00
KJK::Hyperion
cdf117484b Added fiber test
svn path=/trunk/; revision=8557
2004-03-07 03:48:47 +00:00
KJK::Hyperion
75c1012851 Fiber test application. It's a simulation of the Windows NT scheduling algorithm, complete with priority levels, real-time priorities and starvation prevention. Lacks pre-emption, waiting and boosts
svn path=/trunk/; revision=8556
2004-03-07 03:15:20 +00:00
Hartmut Birr
a30e1be179 - Initialized the win32k timer as SynchronizationTimer.
A notification timer is always signaled after the first hit.
- Possible this does fix more timer related problems.

svn path=/trunk/; revision=8555
2004-03-06 23:09:23 +00:00
David Welch
de9089e707 - Added padding to align VIDEO_PORT_CONFIG_INFO.VdmPhysicalVideoMemoryAddress
and subsequent members the same as visualc.

svn path=/trunk/; revision=8554
2004-03-06 22:27:55 +00:00
David Welch
1f3378866b - Forgot this file.
svn path=/trunk/; revision=8553
2004-03-06 22:26:05 +00:00
David Welch
30aec6e5f7 - Added stubs for some of the new w2k/xp functions.
svn path=/trunk/; revision=8552
2004-03-06 22:25:22 +00:00
David Welch
b041530f2d - Removed some unnecessary DbgPrints from the fatal exception path; ignore
the breakpoint in the tail of KeBugCheckEx/KeBugCheckWithTf if no debugger
is connected.

svn path=/trunk/; revision=8551
2004-03-06 22:24:14 +00:00
David Welch
957b856245 - Added stub implementations of MmAllocatePagesForMdl, MmFreePagesFromMdl
and MmMapLockedPagesSpecifyCache.

svn path=/trunk/; revision=8550
2004-03-06 22:21:20 +00:00
Filip Navara
c3d3178f3e - Corrected processing import directories to handle case when executable imports the same DLL more times.
svn path=/trunk/; revision=8549
2004-03-06 20:32:06 +00:00
James Tabor
fa714393ca Started VideoPortGetAgpServices, Allocate and ReleaseBuffer.
svn path=/trunk/; revision=8548
2004-03-06 08:39:06 +00:00
Filip Navara
f1d20bbf54 2004-03-06 Filip Navara <xnavara@volny.cz>
* drivers/video/videoprt/int10.c (VideoPortInt10):
	Print more debug informations.
	* drivers/video/videoprt/videoprt.c (VideoPortInitialize):
	Prevent conflicts when more miniport drivers are loaded.
	(VideoPortGetDeviceBase, VideoPortMapMemory, InternalMapMemory):
	Change way of reporting error to prevent reporting error when
	the resources were successfully mapped.
	(VideoPortDDCMonitorHelper): Add stub.
	(VidDispatchDeviceControl): Allocate memory from NonPagedPool.
	Add debug messages.
	* drivers/video/videoprt/videoprt.def (VideoPortDDCMonitorHelper):
	Add export.
	* drivers/video/videoprt/videoprt.edf (VideoPortDDCMonitorHelper):
	Ditto.
	* include/ddk/winddi.h (ENG_SYSTEM_ATTRIBUTE): Declare.
	* include/win32k/driver.h (DRIVER_FindMPDriver): Change declaration.
	* subsys/win32k/eng/surface.c (EngModifySurface): Implement.
	* subsys/win32k/misc/driver.c (DRIVER_FindMPDriver):
	Modify to open specific miniport driver depending on parameter.
	* subsys/win32k/objects/dc.c (GetRegistryPath):
	Add parameter to specify display driver number.
	(FindDriverFileNames): Ditto.
	(SetupDevMode): Ditto.
	(IntCreateDC): Correct DPRINT.
	(IntCreatePrimarySurface): Change to try more miniport drivers
	before giving up.
	* subsys/win32k/stubs/stubs.c (HeapVidMemAllocAligned, VidMemFree,
	EngDitherColor, EngQuerySystemAttribute): Add stubs.
	* subsys/win32k/win32k.edf (EngDitherColor, EngQuerySystemAttribute,
	HeapVidMemAllocAligned, VidMemFree, EngModifySurface):
	Add exports.
	* subsys/win32k/win32k.def: Ditto.

svn path=/trunk/; revision=8547
2004-03-06 01:22:04 +00:00
Hartmut Birr
30264d875a - Made it possible to allocate a pageop only if no other pageop for the given address exist.
- Try to pageout a page only if no other access to the page exist.
- Gave a free page only to the next waiting request (in MmReleasePageMemoryConsumer),
  if sufficient free pages are available.

svn path=/trunk/; revision=8546
2004-03-05 11:31:59 +00:00
Hartmut Birr
35cd217de4 - Changed the check for determining if the drawing destination is the screen or not.
- Fixed the order of calls to MouseSafetyOnDrawEnd in some functions.

svn path=/trunk/; revision=8545
2004-03-05 09:02:42 +00:00
Art Yerkes
a57c52276e route add and route delete now work on real windows with our iphlpapi.
svn path=/trunk/; revision=8544
2004-03-05 04:50:01 +00:00
Filip Navara
1f2169eb29 2004-04-04 Filip Navara <xnavara@volny.cz>
* drivers/net/afd/afd/dispatch.c (AfdDispGetName): Implement.
	* drivers/net/afd/include/afd.h (TdiQueryInformation): Declare.
	* drivers/net/tcpip/tcpip/dispatch.c (DispTdiQueryInformation):
	Partially implement for TDI_QUERY_ADDRESS_INFO request.
	* drivers/net/tcpip/transport/tcp/tcp.c (TCPiBuildPacket):
	Don't use variable name NdisBuffer, because it causes conficts.

svn path=/trunk/; revision=8543
2004-03-05 00:48:11 +00:00
Filip Navara
7963bf3535 CVS maintaince
svn path=/trunk/; revision=8542
2004-03-04 23:26:36 +00:00
David Welch
876b2d6ed6 - Make the install depend on the targets to be installed (I don't know
how anyone could service without this).

svn path=/trunk/; revision=8541
2004-03-04 23:14:01 +00:00
David Welch
c77f9d0572 - Fix for crash on gui exit caused by trying to free an uninitialized
variable.

svn path=/trunk/; revision=8540
2004-03-04 23:11:43 +00:00
David Welch
45a3ee5da7 - Reenable the screen after setting the mode.
svn path=/trunk/; revision=8539
2004-03-04 23:01:19 +00:00
Martin Fuchs
72eafe1583 new result buffer length parameter for SHELL_FindExecutable()
svn path=/trunk/; revision=8538
2004-03-04 21:12:11 +00:00
Casper Hornstrup
318a90741d 2004-03-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/tcpip/tcpip/i386: New directory.
	* drivers/net/tcpip/tcpip/i386/checksum.S: New file.
	* drivers/net/tcpip/notes.txt: New file.
	* drivers/net/afd/afd/dispatch.c (AfdDispCompleteListen): Signal ACCEPT
	network event.
	(AfdDispEventSelect): Reference event handle.
	* drivers/net/afd/afd/tdi.c (TdiListen): Remove unused event.
	Move Iosb and RequestConnectionInfo to AFD_LISTEN_REQUEST structure.
	* drivers/net/afd/include/afd.h (AFDFCB): Replace EventObjects with
	EventObject of type PKEVENT.
	* drivers/net/tcpip/makefile (ARCH_OBJECTS): New variable.
	(TARGET_OBJECTS): Add ARCH_OBJECTS.
	* drivers/net/tcpip/include/address.h (AddrCloneAddress): New prototype.
	* drivers/net/tcpip/include/checksum.h (ChecksumFold, csum_partial): New
	prototype.
	(TCPv4Checksum): New macro.
	(CorrectChecksum): Rename to IPv4CorrectChecksum.
	(TCPv4CorrectChecksum): New macro.
	* drivers/net/tcpip/include/ip.h (IPv4_DF_MASK): New constant.
	* drivers/net/tcpip/include/tcp.h (TCP_XXX): Correct constants.
	(TCPCreateSegment, TCPFreeSegment, TCPAddSegment): Prototype.
	* drivers/net/tcpip/include/titypes.h (TCP_SEND_REQUEST): Add SequenceNumber
	and AckNumber.
	(TCP_SEGMENT): New structure.
	(CONNECTION_ENDPOINT): Add ListenRequest and ReceivedSegments.
	* drivers/net/tcpip/network/transmit.c (SendFragments): Release memory
	for Data on failure.
	* drivers/net/tcpip/tcpip/address.c (AddrCloneAddress): New function.
	* drivers/net/tcpip/tcpip/checksum.c (ChecksumFold): Factor out folding
	from ChecksumCompute.
	* drivers/net/tcpip/tcpip/dispatch.c (DispTdiListen): Support asynchronous
	operation.
	* drivers/net/tcpip/tcpip/fileobjs.c (FileOpenAddress): Don't cast to
	PTDI_ADDRESS_IP.
	Initialize ReceivedSegments.
	* drivers/net/tcpip/tcpip/routines.c (DisplayIPHeader): New function.
	(DisplayIPPacket): Call DisplayIPHeader().
	(DisplayTCPHeader): Change format strings.
	* drivers/net/tcpip/transport/tcp/tcp.c (IPIdentification,
	TCPSegmentList): Add.
	(TCPCreateSegment, TCPFreeSegment, TCPAddSegment,
	TCPBuildAndTransmitSendRequest2, TCPiSelectISS, TCPiReceiveListen,
	TCPiReceiveSynSent, TCPiReceiveSynReceived, TCPiReceiveData): New
	function.
	(TCPiBuildPacket): Build segment.
	(TCPStartup): Initialize TCPSegmentList.
	(TCPShutdown): Cleanup TCPSegmentList.

svn path=/trunk/; revision=8537
2004-03-04 20:45:39 +00:00
Steven Edwards
0d2b52fb76 Added .cvsignore I forgot about.
svn path=/trunk/; revision=8536
2004-03-04 19:00:44 +00:00
Steven Edwards
5bc9888562 Enable the rest of the stubs needed to get Hello-WinCE working.
No the hello world app still doesnt work. Only the messagebox app works.

svn path=/trunk/; revision=8535
2004-03-04 18:55:44 +00:00
Filip Navara
a2f24f38dc - Cleaned up the Boot Video driver.
- Replaced most of the magic numbers by defines.
- Changed the video mode setting to directly program the VGA registers instead of using Ke386CallBios.
- Properly map the video memory.

svn path=/trunk/; revision=8534
2004-03-04 18:55:09 +00:00
Steven Edwards
5c30d2cc66 Added a stub implementation of commctrl.dll for WinCE support
svn path=/trunk/; revision=8533
2004-03-04 18:54:21 +00:00
Filip Navara
499908b04f - Implemented VideoPortEnableInterrupt and VideoPortDisableInterrupt.
svn path=/trunk/; revision=8532
2004-03-04 18:51:58 +00:00
Filip Navara
eab00ba2a1 - Changed Video Mode setting routines to directly modify VGA registers instead on relying on Int 0x10 services.
- Removed unused code.

svn path=/trunk/; revision=8531
2004-03-04 18:49:58 +00:00
Filip Navara
1849adaa6b CVS maintaince
svn path=/trunk/; revision=8530
2004-03-04 18:45:16 +00:00
Steven Edwards
b6c0920b60 Get a simple WinCE x86 MessageBox program to load.
svn path=/trunk/; revision=8529
2004-03-04 18:24:29 +00:00
Royce Mitchell III
856035ab09 NtGdiPolygon simplification
svn path=/trunk/; revision=8528
2004-03-04 01:50:26 +00:00
Gunnar Dalsnes
cdd8158e28 cleanup
svn path=/trunk/; revision=8527
2004-03-04 01:30:00 +00:00
Gunnar Dalsnes
3c737e0e68 disable apc's for work items
svn path=/trunk/; revision=8526
2004-03-04 01:29:24 +00:00
Filip Navara
07892f4f36 - Don't zero memory allocated by ExAllocatePool.
- Fix font enumeration algorithm to not depend on zeroed memory. (Harmut Birr)

svn path=/trunk/; revision=8525
2004-03-04 00:07:03 +00:00
Steven Edwards
2bb6230071 Created a Edf file.
Commented the rest of the functions out pending my testing
of the WinCE MessageBox app tonight.

svn path=/trunk/; revision=8524
2004-03-03 23:27:27 +00:00
Martin Fuchs
f4ce2a5433 correct jump_to() functions
svn path=/trunk/; revision=8523
2004-03-03 20:33:21 +00:00
Martin Fuchs
30f3bfac23 add opened files to the "recent documents" list
svn path=/trunk/; revision=8522
2004-03-03 20:29:52 +00:00
Martin Fuchs
d39b5e77aa add opened files to the "recent documents" list
svn path=/trunk/; revision=8520
2004-03-03 20:29:51 +00:00
Martin Fuchs
556bf3a4ef new cmdlen parameter for SHELL_FindExecutablebyOperation()
svn path=/trunk/; revision=8519
2004-03-03 20:11:31 +00:00
Martin Fuchs
18f3babce6 merge Wine commit about:
Modified files:
	dlls/shell32   : shlexec.c

Log message:
	Martin Fuchs <martin-fuchs@gmx.net>
	Fix buffer length usage for RegQueryValueW() calls at various places.

Patch: http://cvs.winehq.org/patch.py?id=11331

svn path=/trunk/; revision=8518
2004-03-03 19:26:58 +00:00
Steven Edwards
8a70e9b5a5 Working on Making ReactOS run Windows CE apps........
Dont expect much yet. this is a work in progress.

svn path=/trunk/; revision=8517
2004-03-03 19:11:20 +00:00
Royce Mitchell III
c2923708cd patch by m-t and myself: fixes RoundRect compatibility issue.
svn path=/trunk/; revision=8515
2004-03-03 06:33:58 +00:00
Royce Mitchell III
2a6974f355 patch by m-t: small patch to improve compatibility.
svn path=/trunk/; revision=8514
2004-03-03 04:09:20 +00:00
Steven Edwards
287ae57914 Removed paint and wordpad dummy files
svn path=/trunk/; revision=8513
2004-03-03 03:43:40 +00:00
David Welch
12090241ff - Make dependency files depend on generated headers.
svn path=/trunk/; revision=8512
2004-03-02 22:36:18 +00:00
David Welch
018e7a5fe7 Oops.
svn path=/trunk/; revision=8511
2004-03-02 21:07:35 +00:00
David Welch
3ee20ff277 - Be a bit more specific in the dependencies for the regression tests.
svn path=/trunk/; revision=8510
2004-03-02 20:29:16 +00:00
Filip Navara
7885dac181 netevent.h -> ddk/netevent.h
svn path=/trunk/; revision=8509
2004-03-02 20:06:49 +00:00
Filip Navara
daaf2a72b8 - Build AFD, TCPIP and TDI with w32api headers.
- Removed the old TDI headers from include/net.

svn path=/trunk/; revision=8508
2004-03-02 18:18:15 +00:00
Filip Navara
5eed2db5ae Added import definitions for KefAcquireSpinLockAtDpcLevel and KefReleaseSpinLockFromDpcLevel.
svn path=/trunk/; revision=8507
2004-03-02 17:20:36 +00:00
Filip Navara
7d8bd23d04 assert -> ASSERT
svn path=/trunk/; revision=8506
2004-03-02 17:16:04 +00:00
Filip Navara
71853e115b 2004-03-02 Filip Navara <xnavara@volny.cz>
* include/ddk/scsi.h: Replace ASSERT with assert.
	* include/ddk/video.h: Ditto.
	* include/ddk/winddk.h: Ditto. Remove the lower case assert macro.
	* include/ddk/tdi.h: Correct packing.

svn path=/trunk/; revision=8505
2004-03-02 16:49:22 +00:00
Martin Fuchs
d6e2c152dd merge WineHQ commit
svn path=/trunk/; revision=8504
2004-03-02 10:30:38 +00:00
Martin Fuchs
9cd5e17f9f fix NAMELESSUNION support for struct DECIMAL
svn path=/trunk/; revision=8503
2004-03-02 10:25:59 +00:00
Steven Edwards
636e39eb03 Imported WineCalc by James Briggs.
svn path=/trunk/; revision=8502
2004-03-01 23:27:02 +00:00
Martin Fuchs
43a529f49b - declare IPicture OBJC macros
- enable olepicture.c

svn path=/trunk/; revision=8501
2004-03-01 22:57:20 +00:00
Martin Fuchs
897ccf0b08 resolve SysStringLen FIXME
svn path=/trunk/; revision=8500
2004-03-01 22:45:23 +00:00
Martin Fuchs
7be7923e1a remove superflous dllmain.c file
svn path=/trunk/; revision=8499
2004-03-01 22:41:52 +00:00
Martin Fuchs
93a1911cc6 correct SafeArrayCreateVector[Ex]() parameter types
svn path=/trunk/; revision=8498
2004-03-01 22:12:57 +00:00
Filip Navara
a7c8c741c3 - OpenGL bug fixes and cleanup. Patch by Anich Gregor.
svn path=/trunk/; revision=8497
2004-03-01 19:36:21 +00:00
Filip Navara
279a889834 - Fixed IntGdiExtEscape. Patch by Anich Gregor.
svn path=/trunk/; revision=8496
2004-03-01 19:25:33 +00:00
Vizzini
b5647b11fd First import of in-progress floppy driver replacement. Still needs some
debugging and feature improvements, and the kernel needs a bit of work to
get this driver loading on ReactOS.

svn path=/trunk/; revision=8495
2004-03-01 06:37:26 +00:00
Gunnar Dalsnes
92215102c2 fix root keys sort order
svn path=/trunk/; revision=8494
2004-03-01 01:07:37 +00:00
Gunnar Dalsnes
f4ae5098cc speedup listing items in the treeview
svn path=/trunk/; revision=8493
2004-03-01 00:50:56 +00:00
Hartmut Birr
772d5765b7 - Fixed the returned values for a data underrun.
- Fixed the write count in packet interrupts.

svn path=/trunk/; revision=8492
2004-02-29 22:01:21 +00:00
Filip Navara
7bb59c906f - Fix for race condition that should never happen.
svn path=/trunk/; revision=8491
2004-02-29 17:43:41 +00:00
Martin Fuchs
bc297296d2 fix SafeArrayCreateVectorEx()
svn path=/trunk/; revision=8490
2004-02-29 16:48:02 +00:00
Martin Fuchs
8a5a082170 merge WineHQ commits
svn path=/trunk/; revision=8489
2004-02-29 16:37:23 +00:00
Martin Fuchs
146314a91a fix DECIMAL macros and enable DECIMAL processing functions
svn path=/trunk/; revision=8488
2004-02-29 16:24:54 +00:00
Martin Fuchs
ed3857e1b1 enable SafeArray...() functions
svn path=/trunk/; revision=8487
2004-02-29 15:36:10 +00:00
Martin Fuchs
3834b079e5 remove more FIXMEs
svn path=/trunk/; revision=8486
2004-02-29 15:27:51 +00:00
Martin Fuchs
e6d1d24014 remove LOG output
svn path=/trunk/; revision=8485
2004-02-29 15:06:34 +00:00
Martin Fuchs
f685bba74e enable dispatch.c and varformat.c
svn path=/trunk/; revision=8484
2004-02-29 14:48:12 +00:00
Martin Fuchs
4f35ba6289 declare ITypeInfo_... COBJ macros
svn path=/trunk/; revision=8483
2004-02-29 14:22:52 +00:00
Martin Fuchs
efa31a77fb remove FIXMEs and enable now compiling functions
svn path=/trunk/; revision=8482
2004-02-29 14:19:05 +00:00
Martin Fuchs
bb2bc91e3c declare VARIANT manipulation functions
svn path=/trunk/; revision=8481
2004-02-29 14:16:27 +00:00
Martin Fuchs
6ac5583cf1 - define struct UDATE
- define VTBIT_... constants
- define missing VAR_... constants
- declare functions VarDateFromUdate, VarDateFromUdateEx, VarUdateFromDate

svn path=/trunk/; revision=8480
2004-02-29 14:12:38 +00:00
Martin Fuchs
3b61103945 define DISP_E_DIVBYZERO
svn path=/trunk/; revision=8479
2004-02-29 14:11:02 +00:00
Martin Fuchs
01e0ab2caf * include/oleauto.h (struct NUMPARSE, NUMPRS_...): add declarations for struct NUMPARSE
* include/oleauto.h (VarParseNumFromStr, VarNumFromParseNum): add function declarations

svn path=/trunk/; revision=8478
2004-02-29 13:52:18 +00:00
Martin Fuchs
099d7698c3 remove FIXMEs and re-enable disabled code
svn path=/trunk/; revision=8477
2004-02-29 13:30:08 +00:00
Martin Fuchs
a836674b95 added VARAINT union members llVal and ullVal
svn path=/trunk/; revision=8476
2004-02-29 13:23:45 +00:00
Martin Fuchs
5666895041 move missing oleaut32 declarations from ros-mingw-fixes.h into W32API headers
svn path=/trunk/; revision=8475
2004-02-29 12:53:39 +00:00
Hartmut Birr
b859b0b5db - Started implementation of busmaster dma.
- Splited the interrupt handlers.
- Don't handle 6 byte mode sense requests.

svn path=/trunk/; revision=8474
2004-02-29 12:27:52 +00:00
Hartmut Birr
72986b727d - Rewrote parts of the capability detection code.
svn path=/trunk/; revision=8473
2004-02-29 12:26:09 +00:00
Martin Fuchs
a4a8e435ed remove FIXMEs using corrected W32API headers
svn path=/trunk/; revision=8472
2004-02-29 12:12:18 +00:00
Martin Fuchs
035924f082 declare missing COLOR_... constants
svn path=/trunk/; revision=8471
2004-02-29 12:11:43 +00:00
Martin Fuchs
655457493c remove FIXMEs using corrected W32API headers
svn path=/trunk/; revision=8470
2004-02-29 12:05:33 +00:00
Martin Fuchs
e38d6f00f7 - correct definition of VT_INT_PTR and VT_UINT_PTR
svn path=/trunk/; revision=8469
2004-02-29 12:03:30 +00:00
Martin Fuchs
9adec1e712 - correct parameter type from LPDISPATCH* to LPDISPATCH
- define V_U... macros

svn path=/trunk/; revision=8468
2004-02-29 12:03:23 +00:00
Hartmut Birr
ad9ce1d94e - Protected the callback stack list with a spinlock.
svn path=/trunk/; revision=8467
2004-02-29 11:51:49 +00:00
Filip Navara
e7a65678bd - Fixed GDI handle leak.
svn path=/trunk/; revision=8466
2004-02-29 11:34:42 +00:00
Filip Navara
e5185d34b3 - Removed the incorrect implementations of Device Interface functions.
- Added verified implementation of IoGetDeviceInterfaces written by Matthew Brace and fixed by me.

svn path=/trunk/; revision=8465
2004-02-29 11:34:40 +00:00
Hartmut Birr
9a5bc1ce43 - Don't retry, if the request fails with SRB_STATUS_INVALID_REQUEST.
svn path=/trunk/; revision=8464
2004-02-29 11:21:58 +00:00
Hartmut Birr
fc1748325f - Implemented ScsiPortGetPhysicalAddress for Srb buffers.
svn path=/trunk/; revision=8463
2004-02-29 11:19:21 +00:00
Martin Fuchs
56aef8d72d preparations for SDI code merge
svn path=/trunk/; revision=8462
2004-02-28 23:33:15 +00:00
Filip Navara
504a0756cf - Fixed the definition of IsTextUnicode.
svn path=/trunk/; revision=8460
2004-02-28 22:26:34 +00:00
Thomas Bluemel
f54363658f added ability to cache gdi objects so they don't have to be allocated and deallocated all the time. it is disabled by default but could perhaps speed up the gui a bit.
svn path=/trunk/; revision=8459
2004-02-28 21:16:55 +00:00
Martin Fuchs
d7b74d7460 move '#undef UNTERFACE' behind interface definitions
svn path=/trunk/; revision=8458
2004-02-28 20:14:33 +00:00
Martin Fuchs
6f1017c15b merge WineHQ commits
svn path=/trunk/; revision=8457
2004-02-28 19:16:54 +00:00
Martin Fuchs
f7a2461d14 - "up" button (no functionality yet)
- moved extra functions into new "special" toolbar

svn path=/trunk/; revision=8456
2004-02-28 18:10:03 +00:00
Filip Navara
6332ecc1cd - Fixed the MSVCRT compiling error.
svn path=/trunk/; revision=8453
2004-02-28 16:54:22 +00:00
Martin Fuchs
c3d638c3a8 - fix for restoring applications using task bar buttons
- project file maintainancement
- docu update

svn path=/trunk/; revision=8452
2004-02-28 16:41:55 +00:00
Martin Fuchs
d0cec9c1cd - fix for restoring applications using task bar buttons
- project file maintainancement
- docu update

svn path=/trunk/; revision=8451
2004-02-28 16:41:55 +00:00
Martin Fuchs
6a84f09c2e compatibility fix for "Sleipnir" web browser: minimizing by clicks on taskbar
svn path=/trunk/; revision=8448
2004-02-28 16:05:33 +00:00
Martin Fuchs
a5248aa7bc desktop switching: allow applications to be visible only on one desktop
svn path=/trunk/; revision=8446
2004-02-28 15:14:38 +00:00
Filip Navara
44cb45b570 - Fixed RtlNtStatusToDosErrorNoTeb problems caused by mixing signed and unsigned integers.
svn path=/trunk/; revision=8445
2004-02-28 15:12:49 +00:00
Filip Navara
9b3df405d1 - NtQueryKey should return STATUS_BUFFER_TOO_SMALL and not STATUS_BUFFER_OVERFLOW.
svn path=/trunk/; revision=8444
2004-02-28 15:12:37 +00:00
Filip Navara
d6fd3dcb34 - Add a notice about import library order.
svn path=/trunk/; revision=8443
2004-02-28 15:12:28 +00:00
Martin Fuchs
0f584fd410 new TODO entries
svn path=/trunk/; revision=8442
2004-02-28 14:47:12 +00:00
Martin Fuchs
3d260251a8 Command line option "-install" to replace previously installed shell application
svn path=/trunk/; revision=8441
2004-02-28 14:26:40 +00:00
Martin Fuchs
44f3f0d4a0 remember last foreground window when switching desktops
svn path=/trunk/; revision=8440
2004-02-28 13:49:53 +00:00
Martin Fuchs
fd2602afbb remember last foreground window when switching desktops
svn path=/trunk/; revision=8439
2004-02-28 13:45:33 +00:00
Martin Fuchs
9399bfa9f2 remember last foreground window when switching desktops
svn path=/trunk/; revision=8438
2004-02-28 13:45:33 +00:00
Eric Kohl
bba7724b2d Complete user profile creation.
Add LoadUserProfileW() stub.

svn path=/trunk/; revision=8436
2004-02-28 11:30:59 +00:00
Martin Fuchs
0b2f62bcf5 another foreground window fix for clicks on notification icons
svn path=/trunk/; revision=8434
2004-02-28 10:57:01 +00:00
Martin Fuchs
ae26b09eb5 implemented 'minimize all' feature
svn path=/trunk/; revision=8433
2004-02-28 10:28:09 +00:00
Richard Campbell
44c383eeef temporary workaround for a font issue in win32k...negative font heights aren't handled properly.
svn path=/trunk/; revision=8431
2004-02-28 03:02:08 +00:00
Thomas Bluemel
9ece8f9451 don't hold more than one WM_MOUSEMOVE message at the same time in the message queue
svn path=/trunk/; revision=8430
2004-02-28 00:44:28 +00:00
Gé van Geldorp
82cff84c9a Use *NameLength before overwriting it
svn path=/trunk/; revision=8429
2004-02-27 23:11:32 +00:00
Steven Edwards
9187c6f654 Removed and moved some internal headers for the WINE CxxFrameHandler
Adapted the WINE implemenetation of __UnDName[Ex]
Enabled all of the stubs needed for MFC.

svn path=/trunk/; revision=8428
2004-02-27 22:39:39 +00:00
Thomas Bluemel
b48c6953d0 minor fix to SetParent()
svn path=/trunk/; revision=8427
2004-02-27 22:21:32 +00:00
Hartmut Birr
8219d9801e - Initialize/delete the lock of a console.
- Count the correct number of input events in CsrGetNumberOfConsoleInputEvents.

svn path=/trunk/; revision=8426
2004-02-27 17:35:42 +00:00
Thomas Bluemel
b1acedcbee don't lock the screen dc if it's NULL
svn path=/trunk/; revision=8425
2004-02-27 10:08:21 +00:00
Thomas Bluemel
dc750f77e5 fixed a few gdi leaks
svn path=/trunk/; revision=8424
2004-02-27 10:01:49 +00:00
Filip Navara
a9ecd3580c - Fixed RtlNtStatusToDosErrorNoTeb.
svn path=/trunk/; revision=8423
2004-02-27 05:50:56 +00:00
Thomas Bluemel
f917dbbe8c fixed missing window dereference
svn path=/trunk/; revision=8422
2004-02-27 01:05:45 +00:00
Thomas Bluemel
49d24c174d fixed missing window dereference
svn path=/trunk/; revision=8421
2004-02-27 00:11:58 +00:00
Thomas Bluemel
02708b9017 minor fixes
svn path=/trunk/; revision=8420
2004-02-26 22:52:05 +00:00
Martin Fuchs
326e514891 rebar control for cabinet windows
svn path=/trunk/; revision=8419
2004-02-26 22:45:50 +00:00
Thomas Bluemel
5469cad926 fixed crashes that could be caused by the thread cleanup routine when destroying windows from different threads
svn path=/trunk/; revision=8418
2004-02-26 22:23:55 +00:00
Martin Fuchs
11562074f2 disable start menu entries for non-existing folders
svn path=/trunk/; revision=8416
2004-02-26 21:52:26 +00:00
Martin Fuchs
9bcc74655c include explorer windows in desktop switching
svn path=/trunk/; revision=8413
2004-02-26 21:20:50 +00:00
Martin Fuchs
907d42478e avoid displaying context menu for application button _and_ desktop bar at the same time
svn path=/trunk/; revision=8411
2004-02-26 20:38:32 +00:00
Martin Fuchs
2e8d0a55b2 docu update
svn path=/trunk/; revision=8410
2004-02-26 20:26:11 +00:00
Martin Fuchs
75f575e7dd fix foreground window handling when clicking on notification area icons
svn path=/trunk/; revision=8408
2004-02-26 20:20:44 +00:00
Martin Fuchs
8fe7e083b3 fix foreground window handling when clicking on notification area icons
svn path=/trunk/; revision=8407
2004-02-26 20:20:44 +00:00
Martin Fuchs
15eee1ef26 resize taskbar buttons according to number of running applications
svn path=/trunk/; revision=8406
2004-02-26 19:47:39 +00:00
Martin Fuchs
fbd78a5a3a resize taskbar buttons according to number of running applications
svn path=/trunk/; revision=8405
2004-02-26 19:47:39 +00:00
Martin Fuchs
c22f36b23a resize taskbar buttons according to number of running applications
svn path=/trunk/; revision=8404
2004-02-26 19:47:39 +00:00
Hartmut Birr
d96346dede - Marked a cache segment as page out in progress to prevent from
recursive calls to MmPageOutPhysicalAddress.
- This fixes bug #220.

svn path=/trunk/; revision=8403
2004-02-26 19:29:55 +00:00
Filip Navara
8098620a78 - Corrected EiAllocatePool prototype.
- Corrected debug message in MmIsUsablePage.

svn path=/trunk/; revision=8402
2004-02-26 18:54:52 +00:00
Filip Navara
86275a897f - Modified import library order to link to snprintf from MSVCRT and not NTDLL. The one in NTDLL doesn't support '%f' parsing and so it caused the "%f KB" texts in Explorer instead of real file size.
svn path=/trunk/; revision=8401
2004-02-26 16:19:17 +00:00
Filip Navara
803e8a4b0f - Removed IsTextUnicode stub and replaced it with forwarding to NTDLL.RtlIsTextUnicode.
svn path=/trunk/; revision=8400
2004-02-26 16:16:18 +00:00
Filip Navara
30830340a8 - Support for RBBS_HIDETITLE style.
svn path=/trunk/; revision=8399
2004-02-26 13:45:44 +00:00
Eric Kohl
3c84f18b66 Remove obsolete files.
svn path=/trunk/; revision=8397
2004-02-26 12:29:15 +00:00
Eric Kohl
b35af5f50f Removed all forwarded exports to MSVCRT because a process must not load MSVCRT and CRTDLL at the same time.
svn path=/trunk/; revision=8396
2004-02-26 12:23:29 +00:00
Steven Edwards
cf035ffc03 Imported Olepro32 from WINE CVS-20040225.......
...I really want to get MFC working.

svn path=/trunk/; revision=8395
2004-02-26 02:01:13 +00:00
Steven Edwards
d36d4e1f21 Updated for Winmm changes.
svn path=/trunk/; revision=8394
2004-02-26 01:42:21 +00:00
Steven Edwards
8e76a54705 Added stub of IsTextUnicode to get notepad working again......
.....The next time someone submits copyrighted code and it makes it in to CVS
the contributor and the person that committed it are going to get a visit from me.

svn path=/trunk/; revision=8393
2004-02-26 00:33:09 +00:00
Steven Edwards
23cc7e88c1 Added stubs for GetFileSecurityA, SetFileSecurityA and
GetUserName based on Winehq sources to get Dependancy
Walker working again.

svn path=/trunk/; revision=8392
2004-02-25 23:54:13 +00:00
Steven Edwards
6645e904c7 Added Winehq2ros.patch for winmm
svn path=/trunk/; revision=8391
2004-02-25 23:50:28 +00:00
Hartmut Birr
8a3a4af533 - Initialize/delete the lock of a screen buffer.
svn path=/trunk/; revision=8390
2004-02-25 23:33:42 +00:00
Steven Edwards
22d250a711 Forgot to commit this.
svn path=/trunk/; revision=8389
2004-02-25 23:13:37 +00:00
Steven Edwards
2ef4c4f1ad Fixed error introduced by removing the stubs.
Created new file hwprofiles.c for GetCurrentHwProfileA

svn path=/trunk/; revision=8388
2004-02-25 23:12:39 +00:00
Martin Fuchs
427c8aeb8f rebar control for desktop bar
svn path=/trunk/; revision=8387
2004-02-25 22:56:49 +00:00
Steven Edwards
1816da4b7a Fix building Lsass
svn path=/trunk/; revision=8386
2004-02-25 22:36:53 +00:00
Steven Edwards
4f12cc2e75 Removed Makefile.ros as it is autogenerated.
svn path=/trunk/; revision=8385
2004-02-25 22:34:57 +00:00
Art Yerkes
6811934f2a For now, I changed the _WIN32_WINNT level in iphlpapi_private.h. This will
probably need to be changed.

svn path=/trunk/; revision=8384
2004-02-25 21:41:31 +00:00
Art Yerkes
4903d69f54 Added iphlpapi_private, which used to be ipprivate. Renamed to better go with
wine scheme.

svn path=/trunk/; revision=8383
2004-02-25 20:35:31 +00:00
Art Yerkes
3fa6583180 No more ick tabs.
svn path=/trunk/; revision=8382
2004-02-25 20:29:15 +00:00
Casper Hornstrup
47306399fd 2004-02-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/tcpip/datalink/loopback.c: Reformat.
	* drivers/net/tcpip/network/neighbor.c: Ditto.
	* drivers/net/tcpip/tcpip/info.c: Ditto.
	* drivers/net/tcpip/transport/datagram/datagram.c: Cleanup.
	If there is an out-of-resources situation, don't transmit the
	datagram out of order.

svn path=/trunk/; revision=8381
2004-02-25 20:27:56 +00:00
Martin Fuchs
de2e13a185 fix taksbar icons after closing previous applications
svn path=/trunk/; revision=8379
2004-02-25 20:21:29 +00:00
Steven Edwards
07405fb464 Added a stub odbc32.dll as MFC depends on it.
svn path=/trunk/; revision=8378
2004-02-25 20:09:39 +00:00
Art Yerkes
5eea69af20 Removed stubs in icmp, iphlpv6. These are documented as being linked from
iphlpapi.lib, but I made the incorrect assumption that this meant that
they came from iphlpapi.dll

svn path=/trunk/; revision=8377
2004-02-25 20:06:40 +00:00
Steven Edwards
99866ef3a0 Sync Winmm with Wine-20040215 and silence some non-error messages.
svn path=/trunk/; revision=8376
2004-02-25 20:00:42 +00:00
Eric Kohl
9744443ac8 Remove ALL stubs which might be of questionable origin.
svn path=/trunk/; revision=8375
2004-02-25 19:34:33 +00:00
Martin Fuchs
8932a19cd6 set background brush for the short moment of displaying the background color while moving foreground windows
svn path=/trunk/; revision=8373
2004-02-25 19:29:12 +00:00
Martin Fuchs
fcf0872f58 fixed bug #224
svn path=/trunk/; revision=8371
2004-02-25 18:58:26 +00:00
Hartmut Birr
2d27f8a140 - Made again usable the cursor and F1-12 keys.
svn path=/trunk/; revision=8370
2004-02-25 18:12:52 +00:00
Eric Kohl
8b99b4ec5e Remove ALL stubs which might be of questionable origin.
svn path=/trunk/; revision=8369
2004-02-25 14:25:11 +00:00
Gé van Geldorp
5ed2e7cef1 Silence debug messages
svn path=/trunk/; revision=8368
2004-02-25 09:55:30 +00:00
Art Yerkes
5c85402724 Iphlpapi is now fully merged. Further changes should be synced with wine.
svn path=/trunk/; revision=8367
2004-02-25 07:41:50 +00:00
James Tabor
5e2693380d Partial implementation of VideoPortGetVgaStatus, needs testing
svn path=/trunk/; revision=8366
2004-02-25 05:38:33 +00:00
James Tabor
11f62ff83b Started implementation of VideoPortGetVgaStatus
svn path=/trunk/; revision=8365
2004-02-25 03:05:27 +00:00
James Tabor
f687066559 Started implementation of VideoPortGetVgaStatus
svn path=/trunk/; revision=8364
2004-02-25 02:59:55 +00:00
Steven Edwards
2b83ae3b64 Change a UNIMPLEMENTED to a DPRINT so we dont hang
After doing Help -> About -> About OS in Explorer.

svn path=/trunk/; revision=8363
2004-02-25 01:25:51 +00:00
David Welch
5fd0390001 - Make the install target depend on the files to be installed.
svn path=/trunk/; revision=8362
2004-02-24 23:51:38 +00:00
David Welch
7eeed46004 - Avoid a crashing when trying to process an exception early in the boot process.
svn path=/trunk/; revision=8361
2004-02-24 23:51:04 +00:00
David Welch
446f263ed3 - Try to avoid crashing when dumping out a corrupted stack.
svn path=/trunk/; revision=8360
2004-02-24 23:50:26 +00:00
Steven Edwards
f8a6374074 Get most of PICE to build again.
svn path=/trunk/; revision=8359
2004-02-24 23:30:20 +00:00
Martin Fuchs
e105a06719 docu update
svn path=/trunk/; revision=8358
2004-02-24 22:20:18 +00:00
Martin Fuchs
4438a2a27c fixed more GDI handle leaks
svn path=/trunk/; revision=8357
2004-02-24 22:15:43 +00:00
Thomas Bluemel
7db5e43a17 added /KDNOECHO parameter to disable serial echo by default in kdgb
svn path=/trunk/; revision=8355
2004-02-24 21:25:41 +00:00
Martin Fuchs
f276f1c016 - launch task manager
- set foregroundwindow when opening start menu (CTRL-ESC shortcut)

svn path=/trunk/; revision=8354
2004-02-24 20:00:16 +00:00
Thomas Bluemel
aec334c343 fixed WindowFromPoint() to send WM_NCHITTEST messages to windows that belong to the current process.
svn path=/trunk/; revision=8352
2004-02-24 15:56:53 +00:00
Vizzini
e7282af976 patch by Michael Fritscher to get Mspaint closer to working
svn path=/trunk/; revision=8351
2004-02-24 15:42:06 +00:00
Thomas Bluemel
5299e2afd5 cleanup
svn path=/trunk/; revision=8350
2004-02-24 13:27:03 +00:00
Gé van Geldorp
e3ead6ead5 Add more icon images
svn path=/trunk/; revision=8349
2004-02-24 09:16:32 +00:00
Aleksey Bragin
3613632618 InstallHinfSection has had a good progress at last - now it supports (at least _should_ - I didn't have time to test it thoroughly) file operations via file queues. There maybe a mess with paths, and I'm committing this now to have this code lying in CVS rather than on my HDD, since it isn't fully finished yet. But it's really close to the final stage.
svn path=/trunk/; revision=8348
2004-02-24 08:17:37 +00:00
Aleksey Bragin
dcbe451792 I modified this StretchBlt sample to provide non-uniform scaling of image, plus two ways to scale it - via stretchblt() and via stretchdibits() -- to test both functions in ReactOS.
If anyone is strictly against me modifiying this sample from the book -- tell me, and I will create stretchblt2 then. But I think this is unncessary.

svn path=/trunk/; revision=8347
2004-02-24 08:05:13 +00:00
Thomas Bluemel
b13d239f87 1. get rid of winlock.c
2. changed the Parent and Object field of the WINDOW_OBJECT structure to HANDLE for easier maintainance and serialize any access to them

svn path=/trunk/; revision=8346
2004-02-24 01:30:58 +00:00
Gé van Geldorp
d8b7c0ee97 Fix mono -> color bitblts
svn path=/trunk/; revision=8345
2004-02-23 22:44:52 +00:00
Martin Fuchs
60f5689a70 keyboard navigation in start menu using first character of display names
svn path=/trunk/; revision=8344
2004-02-23 22:17:01 +00:00
Filip Navara
47d8d8ba89 - As CURSORICON_FindBestIcon now takes color *bits* count and not color count, fixed the color calculation in LookupIconIdFromDirectoryEx.
svn path=/trunk/; revision=8342
2004-02-23 22:04:38 +00:00
Casper Hornstrup
46d0e1a57c 2004-02-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/regtests.c (KMSTUB): Correct device name.

svn path=/trunk/; revision=8341
2004-02-23 21:46:54 +00:00
Gé van Geldorp
1092faa446 Recursively search sub menus when a command id is specified
svn path=/trunk/; revision=8340
2004-02-23 21:18:45 +00:00
Filip Navara
b320e099ed - Compilation fixes.
svn path=/trunk/; revision=8339
2004-02-23 20:56:50 +00:00
Martin Fuchs
8c1f187f6e fixed icon handle leak in notification area
svn path=/trunk/; revision=8337
2004-02-23 20:36:21 +00:00
Gé van Geldorp
717ccf2aa4 Fix key left at begin and key right at end of menu
svn path=/trunk/; revision=8336
2004-02-23 20:10:01 +00:00
Gé van Geldorp
405c0e0d5a Fix race condition
svn path=/trunk/; revision=8335
2004-02-23 20:08:35 +00:00
Filip Navara
7a4c78bd4d - Fixed icon lookup so that in high color video modes colorfull icons are used.
svn path=/trunk/; revision=8334
2004-02-23 18:16:37 +00:00
Gé van Geldorp
f493ab9cc7 Release the correct lock
svn path=/trunk/; revision=8333
2004-02-23 12:39:37 +00:00
Eric Kohl
95033dafab Update to new fmifs types.
Implement partition format progress bar.

svn path=/trunk/; revision=8332
2004-02-23 11:58:27 +00:00
Eric Kohl
951f5f360f Update to new fmifs types.
svn path=/trunk/; revision=8331
2004-02-23 11:57:00 +00:00
Eric Kohl
574b42db31 * lib/fmifs
* lib/fslib/fvatlib
  Convert Win32 types to native
  Add PROGRESS and DONE callbacks.

svn path=/trunk/; revision=8330
2004-02-23 11:56:10 +00:00
Eric Kohl
2b197a92e6 * lib/fmifs
* lib/fslib/fvatlib
  Convert Win32 types to native
  InitializeFmIfs() is the DLL entry point

svn path=/trunk/; revision=8329
2004-02-23 11:55:12 +00:00
Eric Kohl
2beb8b39ac * lib/fmifs
* lib/fslib/fvatlib
  Convert Win32 types to native

svn path=/trunk/; revision=8328
2004-02-23 11:53:00 +00:00
Jason Filby
8265b68f51 Add Everaldo to credits
svn path=/trunk/; revision=8326
2004-02-23 04:29:39 +00:00
Gé van Geldorp
0970df8771 Implement system menus
svn path=/trunk/; revision=8325
2004-02-22 23:40:58 +00:00
Filip Navara
50103fff09 - Added missing members of GDIINFO structure.
svn path=/trunk/; revision=8324
2004-02-22 22:19:49 +00:00
Filip Navara
576e14972b - Advancing pointer inside loop makes more sense than checking the same structure ModeCount times.
svn path=/trunk/; revision=8323
2004-02-22 22:19:48 +00:00
Filip Navara
cc1c862dae - Added more debugging messages for video port driver Int 10 services.
svn path=/trunk/; revision=8322
2004-02-22 22:19:42 +00:00
Filip Navara
63aeee7369 Corrected packing!
svn path=/trunk/; revision=8321
2004-02-22 20:21:05 +00:00
David Welch
77c1718844 - Make the targets for regression test files the files themselves to avoid
unnecessary recompilation.

svn path=/trunk/; revision=8319
2004-02-22 18:53:39 +00:00
David Welch
0679c1f91e - Inherit any PREFIX setting for cross-compilation from the environment.
svn path=/trunk/; revision=8318
2004-02-22 18:46:45 +00:00
Gé van Geldorp
dc9250b384 Implement keyboard navigation for menus
svn path=/trunk/; revision=8317
2004-02-22 18:04:52 +00:00
Casper Hornstrup
af770309fc 2004-02-22 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile (all): Put REGTESTS dependency earlier in the list.
	* lib/kernel32/makefile: Support regression tests.
	* lib/kernel32/misc/dllmain.c: Prepare regression tests.
	* regtests/win32base/driver.c: (DummyThreadMain,
	RunPrivateTests): Add.
	(RegTestMain): Run private module regression tests.
	* tools/helper.mk: Add rtshared.a to MK_LIBS if building
	user-mode regression tests.
	* tools/regtests.c (UMSTUB): Add.
	(main): Output user-mode stub.
	* lib/kernel32/tests: New directory.
	* lib/kernel32/tests/.cvsignore: New file.
	* lib/kernel32/tests/Makefile: New file.
	* lib/kernel32/tests/tests: New directory.
	* lib/kernel32/tests/tests/.cvsignore: New file.
	* regtests/win32base/tests/file-1.c: move...
	* lib/kernel32/tests/tests/file-1.c: ...here.

svn path=/trunk/; revision=8316
2004-02-22 17:30:33 +00:00
Filip Navara
e8cc37fcec - Added some strange behaviour to VIS_ComputeVisibleRegion.
- Draw windows from foreground to background in IntFindWindowToRepaint, because it causes problems otherwise.

svn path=/trunk/; revision=8315
2004-02-22 16:56:14 +00:00
Filip Navara
b716aa0265 - Prevent double unlinking of window.
svn path=/trunk/; revision=8313
2004-02-22 15:14:27 +00:00
Filip Navara
1dc0c10491 - Fixed couple of mutex locking issues.
- Removed IntInitDesktopWindow function, because it's no longer used.

svn path=/trunk/; revision=8312
2004-02-22 14:26:35 +00:00
Eric Kohl
a1eebee733 Minor cleanup.
Implement RegRestoreKeyW().

svn path=/trunk/; revision=8311
2004-02-22 14:26:07 +00:00
Thomas Bluemel
2d6b7b1255 minor fix
svn path=/trunk/; revision=8310
2004-02-22 14:09:51 +00:00
Martin Fuchs
765c5f4797 display 'not yet implemented' messages for printers, network and RAS; disable address&command bar
svn path=/trunk/; revision=8306
2004-02-22 12:26:06 +00:00
Filip Navara
9dacfa1b68 - Modifed DceUpdateVisRgn to correctly handle situations when DceGetVisRgn returns NULL.
- Fixed the alternative version of VIS_ComputeVisibleRegion and made it the one and only, because it's smaller and faster than the original one.

svn path=/trunk/; revision=8305
2004-02-22 12:25:35 +00:00
Filip Navara
936dffea06 - Don't call IntSendMessage in MsqTranslateMouseMessage with uninitialized variable as window handle.
svn path=/trunk/; revision=8304
2004-02-22 12:25:02 +00:00
Martin Fuchs
2ae57f1248 disable stubs for SHFindFiles() and SHFindComputer()
svn path=/trunk/; revision=8303
2004-02-22 12:18:58 +00:00
Thomas Bluemel
80c553b4b5 minor cleanup
svn path=/trunk/; revision=8301
2004-02-22 12:06:43 +00:00
Martin Fuchs
b45d1b24ec - handle case, when having problems to open image file
- disable FAT-button since it's not yet ready

svn path=/trunk/; revision=8299
2004-02-22 10:20:30 +00:00
Casper Hornstrup
cc3221be2c 2004-02-22 Casper S. Hornstrup <chorns@users.sourceforge.net>
* config (REGRESSIONTESTS): Add.
	* rules.mak (REGTESTS_PATH_INC): Add.
	* drivers/net/tcpip/makefile: Support regression tests.
	* drivers/net/tcpip/tcpip/main.c: Prepare regression tests.
	* hal/halx86/Makefile: Rename TARGET_LIBPATH to TARGET_IMPLIBPATH.
	* regtests/kmregtests/driver.c (KMRegTestsRegister): Add.
	(KMRegTestsRun): Move call to InitializeTests() and RegisterTests() to
	DriverEntry().
	(KMRegTestsDispatch): Support IOCTL_KMREGTESTS_REGISTER.
	* regtests/kmregtests/kmregtests.h (IOCTL_KMREGTESTS_REGISTER): Define.
	* tools/config.mk: Define REGTESTS if REGRESSIONTESTS = 1.
	* tools/helper.mk: Support module private regression tests.
	(TARGET_LIBPATH): Rename to TARGET_IMPLIBPATH.
	(TARGET_LIBPATH, TARGET_REGTESTS): Add.
	* tools/mkconfig.c: Support REGTESTS.
	* tools/regtests.c (umstubfile, kmstubfile): Add.
	(is_file_changed, write_file_if_changed): Add.
	(KMSTUB): Add.
	(HELP): Mention -u and -k switches.
	(main): Parse -u and -k switches.
	* drivers/net/tcpip/tests: New directory.
	* drivers/net/tcpip/tests/.cvsignore: New file.
	* drivers/net/tcpip/tests/Makefile: Makefile.
	* drivers/net/tcpip/tests/tests: New directory.
	* drivers/net/tcpip/tests/tests/.cvsignore: New file.

svn path=/trunk/; revision=8298
2004-02-22 09:59:17 +00:00
Filip Navara
a7b989769f - Unified indenting style in NtGdiExtTextOut and implemented support for right and centered text alignment.
- Don't render glyphs in TextIntGetTextExtentPoint.

svn path=/trunk/; revision=8297
2004-02-22 08:35:21 +00:00
Filip Navara
e6ad1bc2c0 - Fixed deadlock in IntFindWindowToRepaint.
svn path=/trunk/; revision=8296
2004-02-21 23:30:18 +00:00
Filip Navara
f38fdd47c3 - Fixed releasing of window object in IntValidateParent and NtUserRedrawWindow. Spotted by Thomas Weidenmuller.
- Fixed potencial deadlock in IntPaintWindows. Spotted by Thomas Weidenmuller.

svn path=/trunk/; revision=8295
2004-02-21 22:22:26 +00:00
Filip Navara
d83db81881 - Minor correction of NtGdiExtTextOut.
svn path=/trunk/; revision=8294
2004-02-21 21:15:22 +00:00
Filip Navara
232ffaff28 - Moved code from NtGdiTextOut to NtGdiExtTextOut and added basic support for ETO_OPAQUE flag.
svn path=/trunk/; revision=8293
2004-02-21 20:26:54 +00:00
Jason Filby
63eaa13a61 Null terminator fixes
svn path=/trunk/; revision=8292
2004-02-21 16:36:02 +00:00
Emanuele Aliberti
3cb945ba08 KERNEL_VERSION_BUILD_RC added in buildno.h.
svn path=/trunk/; revision=8291
2004-02-21 15:34:51 +00:00
Filip Navara
5aaaf34334 - Fixed my use of IntIsWindowVisible, it takes HWND as parameter and not PWINDOW_OBJECT.
svn path=/trunk/; revision=8290
2004-02-21 14:00:30 +00:00
Filip Navara
445eb5362d - Minor correction (again)
svn path=/trunk/; revision=8289
2004-02-21 13:57:31 +00:00
Filip Navara
c2458a1a4c CVS maintenance
svn path=/trunk/; revision=8288
2004-02-21 13:56:36 +00:00
Filip Navara
391292e419 - Minor correction
svn path=/trunk/; revision=8287
2004-02-21 13:51:13 +00:00
Gé van Geldorp
717c7d0333 Fix double release of fast mutex
svn path=/trunk/; revision=8286
2004-02-21 13:37:26 +00:00
Filip Navara
409eab1805 - Fixed some nonsense code in NtGdiGetDCEx.
- Fixed few race conditions in painting code.
- Removed function IntGetNCUpdateRegion and inlined it's code into IntInvalidateWindows.
- Removed function IsHidden and replaced it's usage by IntIsWindowVisible.

svn path=/trunk/; revision=8285
2004-02-21 13:13:27 +00:00
Hartmut Birr
5b5028fcb9 - Fixed a wrong index, which resulted in writing over the end of an allocated buffer.
svn path=/trunk/; revision=8284
2004-02-21 12:58:49 +00:00
Gé van Geldorp
1f1b824d08 Import w32api version 2.5 include files
svn path=/trunk/; revision=8283
2004-02-21 09:20:39 +00:00
Filip Navara
30e8e2d0b0 - Minor correction to NtConnectPort to avoid freeing NULL pointer. Based on patch by Waldo Alvarez Ca�izares.
svn path=/trunk/; revision=8282
2004-02-21 09:06:27 +00:00
Filip Navara
6659cc3181 - Fix by Waldo Alvarez Ca�izares for 8 <-> 8 bpp and 32 <-> 32 bpp StretchBlt
svn path=/trunk/; revision=8281
2004-02-21 09:06:25 +00:00
Mike Nordell
b3e3acc784 Fix environment variable handling. The (optional) envp argument to main() shall not contain strings of the form "=C:=C:\directory\".
svn path=/trunk/; revision=8280
2004-02-21 08:02:49 +00:00
Gé van Geldorp
184c8d2fba Bump version number on HEAD
svn path=/trunk/; revision=8279
2004-02-20 23:24:30 +00:00
Filip Navara
fd26a9a27b - Fixed line endings
svn path=/trunk/; revision=8278
2004-02-20 15:05:36 +00:00
Gé van Geldorp
4009a9e979 Kill another --include-dir
svn path=/trunk/; revision=8277
2004-02-20 08:33:37 +00:00
Royce Mitchell III
a7e30599ea If nWidth or nHeight is zero, CreateBitmap returns the handle to a 1- by 1-pixel, monochrome bitmap.
svn path=/trunk/; revision=8276
2004-02-20 07:45:58 +00:00
Gé van Geldorp
1355d672b4 Move --include-dir from helper.mk to rules.mak
svn path=/trunk/; revision=8275
2004-02-19 22:24:59 +00:00
Gé van Geldorp
59e447fc8f Also zero out first sector of root dir when formatting FAT12 and FAT16
volumes

svn path=/trunk/; revision=8274
2004-02-19 21:24:54 +00:00
Gé van Geldorp
6bd07e5854 Sync to Wine-20040213
* Jon Griffiths <jon_p_griffiths@yahoo.com>
  Add some missing prototypes, fix AssocIsDangerous.
  Implement StrRetToBSTR, delay-import oleaut32.
* Alexandre Julliard
  Only link against libdxguid where necessary.
* Juan Lang <juan_lang@yahoo.com>
  Stub for MLIsMLHInstance.
* Francois Gouget <fgouget@free.fr>
  Add missing '\n's to debug traces.

svn path=/trunk/; revision=8272
2004-02-19 21:19:27 +00:00
Thomas Bluemel
90fb2c7def added pool tags for better debugging
svn path=/trunk/; revision=8271
2004-02-19 21:12:11 +00:00
Martin Fuchs
8c80ebb0d1 remove duplicate windres include directory to get notepad build
svn path=/trunk/; revision=8269
2004-02-19 20:24:22 +00:00
Gé van Geldorp
c0b75c3e30 samlib is needed for 2nd stage setup
svn path=/trunk/; revision=8268
2004-02-19 19:45:52 +00:00
Thomas Bluemel
4e2ccf1842 added pool tags for better debugging
svn path=/trunk/; revision=8266
2004-02-19 19:44:39 +00:00
Filip Navara
e4340278d7 - Fixed line endings
- Updated regsvr32 to latest version by ShadowFlare.

svn path=/trunk/; revision=8265
2004-02-19 19:26:52 +00:00
Filip Navara
bb25722258 - Revert the last change, because it really doesn't help.
- Don't detect mouse on COM2 by default.

svn path=/trunk/; revision=8264
2004-02-19 17:54:05 +00:00
Gé van Geldorp
ecfd9db944 Patch by H�seyin Uslu <20194562@mail.baskent.edu.tr>
Check color passed on command line, make sure foreground and background
are not the same.

svn path=/trunk/; revision=8263
2004-02-19 17:04:11 +00:00
Thomas Bluemel
3ea2262879 fixed WinPosWindowFromPoint(), now it should work properly.
svn path=/trunk/; revision=8262
2004-02-19 15:27:55 +00:00
Aleksey Bragin
98efb8ab35 Fix by Waldo Alvarez Cacizares, fixes 16<->16 bpp stretchblitting (AbiWord splashscreen will look good)
svn path=/trunk/; revision=8260
2004-02-19 09:31:30 +00:00
Art Yerkes
82bad008ac Commits for bug 193, merged from release branch.
svn path=/trunk/; revision=8259
2004-02-19 06:59:50 +00:00
Art Yerkes
a884236737 Added VK_DECIMAL in numberpad chars.
svn path=/trunk/; revision=8257
2004-02-19 03:51:29 +00:00
Art Yerkes
aa83ce6cde Fixed bug 167.
svn path=/trunk/; revision=8254
2004-02-19 03:45:44 +00:00
Art Yerkes
839f724098 Import from the release branch.
svn path=/trunk/; revision=8252
2004-02-19 03:33:33 +00:00
Gé van Geldorp
e5d1ab1c06 CVS maintenance
svn path=/trunk/; revision=8250
2004-02-18 23:29:12 +00:00
Gé van Geldorp
0e77dd5903 Patch by Mark Tempel and Ge van Geldorp
Check RtlAllocateHeap() return value for 8-byte alignment.

svn path=/trunk/; revision=8249
2004-02-18 23:20:14 +00:00
Casper Hornstrup
0a2bff78f8 2004-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apistatus.lst: Correct path of videoprt.dll.

svn path=/trunk/; revision=8248
2004-02-18 21:29:20 +00:00
Filip Navara
d3753b2d2f - Attempt to avoid interaction with kernel debugging over serial port.
svn path=/trunk/; revision=8246
2004-02-18 16:00:56 +00:00
Thomas Bluemel
d0a5ab9948 Patch by Sylvain Petreolle:
'No newline at EOF' warning fix.

svn path=/trunk/; revision=8245
2004-02-18 13:46:15 +00:00
Richard Campbell
9cff9f7701 roll back thomas's change, apparently it IS causing the problems, my build system is just being stupid.
svn path=/trunk/; revision=8244
2004-02-18 12:21:57 +00:00
Royce Mitchell III
14f2cc4e3b fix bug in NtGdiExtEscape - not checking for NULL == DriverFunctions.Escape.
also added buffer copying.

svn path=/trunk/; revision=8243
2004-02-18 02:37:18 +00:00
Martin Fuchs
d406d24f29 correct comments
svn path=/trunk/; revision=8242
2004-02-18 00:01:59 +00:00
Mike Nordell
faf755d78e Remove not needed specific-compiler compile-time warning.
svn path=/trunk/; revision=8239
2004-02-17 23:58:54 +00:00
Gé van Geldorp
b7ee835601 Sync with Wine-20040213
svn path=/trunk/; revision=8238
2004-02-17 23:09:05 +00:00
Gé van Geldorp
503a4764b1 Sync with Wine-20040213:
Troy Rollo <wine@troy.rollo.name>
Added documentation for DocFiles, based on the CorVu implementation of
DocFiles.

svn path=/trunk/; revision=8237
2004-02-17 23:01:19 +00:00
Gé van Geldorp
9b03fed40e Sync with Wine-20040213:
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- CoSetState info should be thread local.
- SetErrorInfo should allocate an apartment when no apartment present.
Alexandre Julliard
Moved a few remaining 16-bit definitions out of the standard headers.

svn path=/trunk/; revision=8236
2004-02-17 23:00:01 +00:00
Gé van Geldorp
a8d545f53b Sync with Wine-20040213:
Huw Davies <huw@codeweavers.com>
Fix a TRACE.

svn path=/trunk/; revision=8235
2004-02-17 22:40:47 +00:00
Gé van Geldorp
f3b3a68770 Sync with Wine-20040213:
Huw Davies <huw@codeweavers.com>
Only redraw button in PressButton and Indeterminate if its state has
changed.
Huw Davies <huw@codeweavers.com>
Honour TB_SETMAXTEXTROWS.
Ulrich Czekalla <ulrich@codeweavers.com>
Add support for BTNS_WHOLEDROPDOWN.
Populate button rect when sending TBN_DROPDOWN.
Dmitry Timoshkov <dmitry@codeweavers.com>
Add partial support for some undocumented toolbar messages.
Huw Davies <huw@codeweavers.com>
TB_ADDBUTTONS can pass a string ptr instead of an index.
TB_GETBUTTONINFO only returns a string if it's not in the internal
string list.
Huw Davies <huw@codeweavers.com>
Use the BTNS_* toolbar button style defines rather than the outdated
TBSTYLE_*.
Huw Davies <huw@codeweavers.com>
Add a missing return.
Jon Griffiths <jon_p_griffiths@yahoo.com>
Draw disabled toolbar buttons correctly.

svn path=/trunk/; revision=8234
2004-02-17 22:39:49 +00:00
Gé van Geldorp
df3569b50b Sync with Wine-20040213:
Vitaliy Margolen <wine-patch@kievinfo.com>
- Fix handling of TCS_RAGGEDRIGHT style.
- Clip UpDown control only if it is present.
- Add ToDos.

svn path=/trunk/; revision=8233
2004-02-17 22:38:03 +00:00
Gé van Geldorp
d8aa2b9e91 Sync with Wine-20040213:
Francois Gouget <fgouget@free.fr>
Assorted spelling and case fixes.
Alexandre Julliard:
Moved a few remaining 16-bit definitions out of the standard headers.

svn path=/trunk/; revision=8232
2004-02-17 22:35:27 +00:00
Gé van Geldorp
fe941591fe Sync with Wine-20040213:
Aric Stewart <aric@codeweavers.com>
Work toward properly updating the SelectionMark when the selected
state changed inside a listbox.

svn path=/trunk/; revision=8231
2004-02-17 22:33:55 +00:00
Gé van Geldorp
1a0c848456 Sync with Wine-20040213:
Robert Shearman <R.J.Shearman@warwick.ac.uk>
Fix nGrow initialization in DPA_CreateEx.

svn path=/trunk/; revision=8230
2004-02-17 22:32:53 +00:00
Martin Fuchs
6cecd7c5a3 inserted _NO_MDI questions
svn path=/trunk/; revision=8229
2004-02-17 21:50:44 +00:00
Martin Fuchs
0d03cadfe1 corrected comment
svn path=/trunk/; revision=8228
2004-02-17 21:50:07 +00:00
Gé van Geldorp
d842500eb1 Always return 8-byte aligned blocks
svn path=/trunk/; revision=8226
2004-02-17 21:11:17 +00:00
Martin Fuchs
a57cc3b82a disable autostart if the SHIFT key is pressed
svn path=/trunk/; revision=8223
2004-02-17 20:20:01 +00:00
Filip Navara
7595e479e5 - Work on serial mouse detection to fix bug #198.
svn path=/trunk/; revision=8221
2004-02-17 18:01:59 +00:00
Thomas Bluemel
f3a0075137 fixed WindowFromPoint() to search backwards
svn path=/trunk/; revision=8220
2004-02-17 17:43:09 +00:00
Thomas Bluemel
d3a4b4244c Added test app for AlphaBlend()
svn path=/trunk/; revision=8219
2004-02-17 14:55:59 +00:00
Mike Nordell
b84451d1c3 Changed timeout from 2000 to 2001 ms, to be able to find it easier in kmode.
svn path=/trunk/; revision=8218
2004-02-17 10:52:03 +00:00
Martin Fuchs
ec74cd68bc cleanup in project file
svn path=/trunk/; revision=8215
2004-02-16 22:54:53 +00:00
Martin Fuchs
3b0926761a added .cvsignore
svn path=/trunk/; revision=8212
2004-02-16 22:01:02 +00:00
Martin Fuchs
596a4b878e merged Wine commits to shell32
svn path=/trunk/; revision=8211
2004-02-16 21:46:12 +00:00
Richard Campbell
583ae62ff8 NtUserSystemParametersInfo:
- removed a case statement, it is now handled in USER32

svn path=/trunk/; revision=8210
2004-02-16 11:16:06 +00:00
Richard Campbell
2af64c0186 NtUserSystemParametersInfo:
- Removed static font variables.

svn path=/trunk/; revision=8207
2004-02-16 07:26:25 +00:00
Richard Campbell
fcb45adac8 SystemParametersInfo:
- SPI_GETNONCLIENTMETRICS and SPI_GETICONTITLELOGFONT
   now load their settings from the registry.
 - SPI_SET* aren't yet implemented, because i'd like to test my
   implementation before i commit them.

svn path=/trunk/; revision=8206
2004-02-16 07:25:01 +00:00
Richard Campbell
02f6c6d6ee advapi dependency.
svn path=/trunk/; revision=8204
2004-02-16 01:30:38 +00:00
Gé van Geldorp
e410002732 Don't build kernel32 test because of build failure
svn path=/trunk/; revision=8203
2004-02-15 21:57:34 +00:00
Gé van Geldorp
fec177ccee Rollback hinter enabling since font output looks worse with the auto
hinter enabled

svn path=/trunk/; revision=8202
2004-02-15 21:45:37 +00:00
Gé van Geldorp
a9f2364436 Top level windows have menus, child windows have IDs
svn path=/trunk/; revision=8201
2004-02-15 20:50:56 +00:00
Hartmut Birr
f273240d3f - Used a different buffer to get the mode informations.
svn path=/trunk/; revision=8200
2004-02-15 19:27:36 +00:00
Hartmut Birr
48632d6399 - Locked the pages in MmCommitPagedPoolAddress, if it is necessary.
svn path=/trunk/; revision=8199
2004-02-15 19:03:29 +00:00
Royce Mitchell III
f12e3bf622 removed unnecessary explicit define of _M_IX86
svn path=/trunk/; revision=8198
2004-02-15 18:37:35 +00:00
Hartmut Birr
d3e729a8c7 - Canceled my last changes.
svn path=/trunk/; revision=8197
2004-02-15 17:04:52 +00:00
Art Yerkes
353cf5eb06 Added registry functions header.
svn path=/trunk/; revision=8196
2004-02-15 07:52:18 +00:00
Gé van Geldorp
6fc29ccca7 Implement menu handling
svn path=/trunk/; revision=8195
2004-02-15 07:39:12 +00:00
Art Yerkes
a3ac53db3d Big merge in wine code. This merged version is far more complete than
the previous one.   See notes and comments by me and the original author
of iphlpapi_main.c, Juan Lang.

svn path=/trunk/; revision=8194
2004-02-15 07:17:00 +00:00
Art Yerkes
d3a56d75eb Removed dbgprints.
svn path=/trunk/; revision=8192
2004-02-15 07:07:11 +00:00
Art Yerkes
757ff359b5 Fixed a bug in AppendUnicodeStringToString which could cause a null to
be placed one position after the end of a completely full string.

svn path=/trunk/; revision=8191
2004-02-15 07:04:45 +00:00
Art Yerkes
b900afead3 GetComputerName(Ex)?[AW] implemented. These are needed for the wine
iphlpapi_main.

svn path=/trunk/; revision=8190
2004-02-15 07:03:56 +00:00
Art Yerkes
89d845f338 Some unstub which should allow programs that use getprotobyname to work.
This eventually needs to tie in properly to the layered service stuff.

svn path=/trunk/; revision=8189
2004-02-15 07:03:02 +00:00
Art Yerkes
eee30419e8 Added makefile with unix eols.
svn path=/trunk/; revision=8188
2004-02-15 06:21:16 +00:00
Art Yerkes
9959de026c One more try with unix eols.
svn path=/trunk/; revision=8187
2004-02-15 06:20:54 +00:00
Art Yerkes
b972d29c37 Added with dos eols.
svn path=/trunk/; revision=8186
2004-02-15 06:05:05 +00:00
Art Yerkes
a1bb46750c Removed makefile temporarily.
svn path=/trunk/; revision=8185
2004-02-15 06:04:35 +00:00
Art Yerkes
e592ecdfeb Added new regsvr32 app.
svn path=/trunk/; revision=8184
2004-02-15 05:52:47 +00:00
Art Yerkes
b1fc9ebb02 Author: ShadowFlare
Arty's note:
Added ShadowFlare's regsvr32.  The one in rosapps doesn't seem to build,
so I think it should be eventually removed.
I'm putting this one here instead of rosapps because it goes with some
of the other apps in this directory (like rundll32)

svn path=/trunk/; revision=8183
2004-02-15 05:51:20 +00:00
Art Yerkes
904bf32b2a Author: ShadowFlare
I(ShadowFlare) improved command line parsing (completely rewrote it), made
some changes for the ansi version, and added some comments into the code
(there was very few previously).

svn path=/trunk/; revision=8182
2004-02-15 05:33:19 +00:00
Art Yerkes
7e4b6ff68a Added file. Contains common serviceinfo structs.
svn path=/trunk/; revision=8181
2004-02-15 02:40:25 +00:00
Art Yerkes
d194919316 Added definition.
svn path=/trunk/; revision=8180
2004-02-15 01:08:54 +00:00
Art Yerkes
2124442b3d Added new files for common functions.
svn path=/trunk/; revision=8179
2004-02-15 00:04:08 +00:00
Steven Edwards
3bf9107ff9 Added Makefile
svn path=/trunk/; revision=8178
2004-02-14 23:22:29 +00:00
Steven Edwards
b829420396 Add some debugging.
svn path=/trunk/; revision=8177
2004-02-14 23:21:44 +00:00
Steven Edwards
459d72e610 Implemented LsaFreeMemory and
changed a few stubs to match WINE so Msys will load.

svn path=/trunk/; revision=8176
2004-02-14 23:13:58 +00:00
Filip Navara
a3f6dab278 - Don't allocate 0 bytes in EngCreateBitmap. Patch by Waldo Alvarez Ca�izares.
- Fix distortion by StretchBlt. Patch based on investigations by Waldo Alvarez Ca�izares.

svn path=/trunk/; revision=8175
2004-02-14 22:24:54 +00:00
Art Yerkes
74974a631d Mistaken offset for dest.
svn path=/trunk/; revision=8174
2004-02-14 21:38:40 +00:00
Art Yerkes
8c9fd64030 Edited includes for new tcp ioctl needed by iphlpapi.
tcpioctl.h: new
I resolved a conflict between iptypes, structs and nspapi regarding some
core structures.
afd.h: removed definitions needed by both user land and kernel land.
tdiinfo.h: added needed definitions.

svn path=/trunk/; revision=8173
2004-02-14 21:27:35 +00:00
Steven Edwards
6817aa33e1 Added User32 and Kernel32 tests to the makefile
svn path=/trunk/; revision=8172
2004-02-14 20:16:24 +00:00
Steven Edwards
d93b2368db Sync WINE user32 Regression tests.
svn path=/trunk/; revision=8171
2004-02-14 20:13:04 +00:00
Steven Edwards
eef7a39689 Added WINE kernel32 regression tests.
svn path=/trunk/; revision=8170
2004-02-14 20:11:42 +00:00
Vizzini
b54b1d664d updated defs for floppy support
svn path=/trunk/; revision=8169
2004-02-14 20:11:12 +00:00
Hartmut Birr
1c4efc692a - Lock the pages always in MmProbeAndLockPages.
svn path=/trunk/; revision=8168
2004-02-14 19:48:07 +00:00
Filip Navara
f2bfe59541 sizeof(SENSE_BUFFER_SIZE) -> SENSE_BUFFER_SIZE
svn path=/trunk/; revision=8166
2004-02-14 12:29:33 +00:00
Richard Campbell
a6e68c5913 Part I of my font patch.
svn path=/trunk/; revision=8165
2004-02-14 02:41:53 +00:00
Steven Edwards
fbd7136c2e Adapted GdiTransparentBlt by Kevin Koltzau
From WINE Friday the 13th 2004

svn path=/trunk/; revision=8164
2004-02-14 00:31:39 +00:00
Filip Navara
9a8ead9623 - Eliminate function pointer typecasts in csqtest
- Move the csq.h header to the right place
- Added .cvsignore files

svn path=/trunk/; revision=8163
2004-02-13 09:37:11 +00:00
Royce Mitchell III
b68208f089 patch by blight:
Simple GL programs should work if you have hardware-accelerated video drivers installed, still some bugs left and things to implement; Have already played a model-flight simulator with it.

svn path=/trunk/; revision=8162
2004-02-12 23:56:15 +00:00
Filip Navara
ca9c59183f - Fixed clipping code in NtGdiGetPixel. Patch by James Pritchard.
svn path=/trunk/; revision=8161
2004-02-12 21:50:19 +00:00
Filip Navara
6c33cfe3ac - Locale values are specified in hexadecimal numbers.
svn path=/trunk/; revision=8160
2004-02-12 15:55:57 +00:00
Thomas Bluemel
3c3e6a4430 added EngGetCurrentProcessId() and EngGetCurrentThreadId()
svn path=/trunk/; revision=8158
2004-02-11 22:36:40 +00:00
Steven Edwards
ba374c4128 Make a few stubs return something to get Dependancy Walker loading.
svn path=/trunk/; revision=8157
2004-02-11 21:52:28 +00:00
Hartmut Birr
f90d73ad9d - Adding my pesum tool which does set the attribute IMAGE_SCN_MEM_NOT_PAGED
to sections with the name '.text', '.data', '.bss' and '.idata'.
- Some time ago I've wrote this tool because ld wasn't able to set the pe checksum to images.

svn path=/trunk/; revision=8156
2004-02-11 21:04:18 +00:00
Thomas Bluemel
e83ebbae2d added EngGetCurrentProcessId() and EngGetCurrentThreadId()
svn path=/trunk/; revision=8155
2004-02-11 19:26:51 +00:00
Martin Fuchs
3c0afd1a21 minor corrections by M.Taguchi
svn path=/trunk/; revision=8154
2004-02-11 18:11:21 +00:00
Filip Navara
ca73abde9a - Return more correct error codes from NtUserRegisterClassExWOW.
- Delete atom in NtUserUnregisterClass.
- Corrected DC locking in NtGdiSetDIBColorTable.
- Check region handles in NtGdiPaintRgn.

svn path=/trunk/; revision=8153
2004-02-11 17:56:29 +00:00
Vizzini
d54eeab6a3 Patch from Gregor Anich:
NeHe Lesson 3 works (crashes at close); Lesson 8 does not work - fixed
some bugs in wgl.c and disable asm proxy functions for the moment because
they crash

svn path=/trunk/; revision=8152
2004-02-11 17:39:24 +00:00
Aleksey Bragin
6deb9707f4 Add setupapi_main.c into makefile
svn path=/trunk/; revision=8151
2004-02-11 12:44:27 +00:00
Aleksey Bragin
3d647705b7 Temp fix, because setupapi takes a wrong guess (RtlIsTextUnicode) whether the text is unicode and doesn't work. For now it's assumed all .inf-files are not-unicode.
svn path=/trunk/; revision=8150
2004-02-11 12:40:01 +00:00
Aleksey Bragin
1765aab70d Remove InstallHinfSection from stubs
svn path=/trunk/; revision=8149
2004-02-11 12:38:30 +00:00
Aleksey Bragin
b97de22cf5 Initial implementation of InstallHinfSection, it even works in small test inf-files for adding/removing/changing registry entries. Not tested further.
svn path=/trunk/; revision=8148
2004-02-11 12:38:12 +00:00
Martin Fuchs
cec35a5347 fix context menu support
svn path=/trunk/; revision=8147
2004-02-11 08:35:10 +00:00
Martin Fuchs
27aa9a168f fix and enable japanese resources for windres
svn path=/trunk/; revision=8146
2004-02-11 08:34:28 +00:00
Steven Edwards
979c2579ad Remove old file locking test.
svn path=/trunk/; revision=8145
2004-02-11 00:05:40 +00:00
Steven Edwards
2da07c972c Wine regression tests already check for File Locking APIs
svn path=/trunk/; revision=8144
2004-02-11 00:05:08 +00:00
Gé van Geldorp
3f66c6c806 Fix compilation of setupapi by copying setupapi.h from Wine. The w32api
version contains an incorrect declaration for (at least) SetupGetLineTextA/W

svn path=/trunk/; revision=8143
2004-02-10 23:46:24 +00:00
Gé van Geldorp
8143621407 Don't copy from/to outside the visible screen region
svn path=/trunk/; revision=8142
2004-02-10 23:40:55 +00:00
Gé van Geldorp
76414f84fd Although drivers should accept NULL masks and colors for cursors, at least
two don't and crash. So let's not pass NULL.

svn path=/trunk/; revision=8141
2004-02-10 23:40:01 +00:00
Martin Fuchs
5ef2c3bbef context menu support for winefile
svn path=/trunk/; revision=8140
2004-02-10 23:10:43 +00:00
Martin Fuchs
f0dea6d3a0 store statustexts in MDI children
svn path=/trunk/; revision=8139
2004-02-10 22:15:20 +00:00
Martin Fuchs
9f5e152d22 eliminated nasty warning message
svn path=/trunk/; revision=8138
2004-02-10 21:22:55 +00:00
Martin Fuchs
30462af124 remove DWebBrowserEvents event handler
svn path=/trunk/; revision=8137
2004-02-10 21:01:41 +00:00
Martin Fuchs
29d76f2c5b added japanese resources now in ShiftJIS encoding
(however also not yet compatible to windres)

svn path=/trunk/; revision=8136
2004-02-10 20:31:37 +00:00
Martin Fuchs
9d2aeff0b9 remove UTF16 file with japanese resources
svn path=/trunk/; revision=8135
2004-02-10 20:30:42 +00:00
Casper Hornstrup
bf7fc36abb 2004-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* bootdata/packages/reactos.dff: Add oleaut32.dll.

svn path=/trunk/; revision=8134
2004-02-10 20:22:34 +00:00
Filip Navara
b00626d582 - STDCALL/STDCALL_FUNC usage fixes
svn path=/trunk/; revision=8133
2004-02-10 18:11:12 +00:00
Filip Navara
8ccf098ee6 reactos/drivers/net/afd/afd/afd.c (AfdDispatch): Correctly set
Irp->IoStatus.Information.
(AfdUnload): Make it STDCALL.
(DriverEntry): Don't cast function pointers.
reactos/drivers/net/afd/afd/dispatch.c (AfdDispGetName): New function, still
incomplete.
reactos/drivers/net/afd/include/afd.h (AfdDispGetName): Declare.
reactos/drivers/net/tcpip/tcpip/main.c (TiDispatchOpenClose):
Use STDCALL instead of STDCALL_FUNC.
(TiUnload): Make it STDCALL.
(DriverEntry): Don't cast function pointers.
reactos/drivers/net/tcpip/transport/tcp/tcp.c (TCPConnect):
Don't free the NDIS buffer, it's already done on another place and return
STATUS_PENDING to avoid completing the Irp two times.
reactos/lib/msafd/misc/stubs.c (WSPGetSockName, WSPGetPeerName):
Moved to ...
reactos/lib/msafd/misc/dllmain.c (WSPGetSockName, WSPGetPeerName):
... here, direct the calls to afd.sys.

svn path=/trunk/; revision=8132
2004-02-10 17:12:42 +00:00
Steven Edwards
f80022635e Port of netapi32 from WINE
svn path=/trunk/; revision=8131
2004-02-10 16:57:59 +00:00
Filip Navara
aebff275f5 - Eliminate function pointer typecasts
svn path=/trunk/; revision=8130
2004-02-10 16:22:57 +00:00
Gé van Geldorp
7ee686f0e0 Spinlock can also be acquired using KeAcquireSpinLockRaiseToSynch(),
take this into account when checking the IRQL on release

svn path=/trunk/; revision=8129
2004-02-10 15:16:12 +00:00
Gé van Geldorp
fe2c30c13d Hardcode build number consistent with major/minor version (NVidia driver
depends on it).

svn path=/trunk/; revision=8128
2004-02-10 15:13:35 +00:00
Thomas Bluemel
98531c0d4d fixed behaviour of sizing grip (2)
svn path=/trunk/; revision=8127
2004-02-10 10:17:30 +00:00
Thomas Bluemel
db915d211a fixed behaviour of sizing grip
svn path=/trunk/; revision=8126
2004-02-10 08:11:56 +00:00
Vizzini
28c16df7d2 Added an unload handler for easier testing
svn path=/trunk/; revision=8125
2004-02-10 02:54:14 +00:00
Steven Edwards
02b8eb1430 Eric Pouech -
Winelib host process support and Code cleanup.

Steven Edwards -
Change About box to reflect LGPL license change.

svn path=/trunk/; revision=8124
2004-02-10 00:36:46 +00:00
Martin Fuchs
e760b79c60 display status texts
svn path=/trunk/; revision=8123
2004-02-09 23:21:20 +00:00
Martin Fuchs
435db13da9 new TODO entries
svn path=/trunk/; revision=8122
2004-02-09 22:39:05 +00:00
Martin Fuchs
9c5264c5eb re-show all hidden windows at explorer termination
svn path=/trunk/; revision=8121
2004-02-09 22:37:52 +00:00
Martin Fuchs
418a293612 define __WINDRES__ to disable UTF16 resource script
svn path=/trunk/; revision=8120
2004-02-09 22:36:13 +00:00
Martin Fuchs
04866685b1 fixed bounds checking in SHELL_GetPathFromIDListA/W()
svn path=/trunk/; revision=8119
2004-02-09 22:33:05 +00:00
Martin Fuchs
a505cc660f merged WineHQ commits
svn path=/trunk/; revision=8118
2004-02-09 22:24:35 +00:00
Thomas Bluemel
46849d1bdd basic implementation of filling gradient triangles in GradientFill()
svn path=/trunk/; revision=8117
2004-02-09 22:16:50 +00:00
Thomas Bluemel
8fe4a9e38d use GradientFill() for gradient captions
svn path=/trunk/; revision=8116
2004-02-09 16:37:59 +00:00
Thomas Bluemel
8336410c76 implemented horizontal and vertical gradients in GradientFill()
svn path=/trunk/; revision=8114
2004-02-09 15:33:30 +00:00
Gé van Geldorp
5a908e7efe Re-introduce define for MIM_MENUDATA, shell32 depends on it
svn path=/trunk/; revision=8112
2004-02-09 10:21:01 +00:00
Martin Fuchs
099b88ed6f use web child window instead of ShellExecute()
svn path=/trunk/; revision=8111
2004-02-09 09:20:26 +00:00
Vizzini
5398f1df0d Program from Skywing:
PipeSpy can be used to snoop traffic on a named pipe.  It is intended
to be used to help understand the remote kernel debugging protocol
uesd by the windows kd.

svn path=/trunk/; revision=8110
2004-02-09 08:07:58 +00:00
Vizzini
66f9b32741 Patch by Anich Gregor:
fast proxy functions fixed, loads in win2k and succeeds creating the context
but then crashes. ExtEscape call fixed and simple version of
wglGetPixelFormat implemented.

svn path=/trunk/; revision=8109
2004-02-09 08:00:15 +00:00
Vizzini
8eb11ab73e - Added kmlibrary target type
- Added description of MK_ variables
 - Re-arranged library order to include TARGET_DDKLIBS before standard DDK
   import libs on GCC command line (fixes linking problem with static libs)

svn path=/trunk/; revision=8108
2004-02-09 07:03:16 +00:00
Vizzini
f9d689b644 - Updated CSQ library to use new kmlibrary target type
- Updated includes in csq.c
 - Added IPv6 ethertype in lan.h
 - Fixed a typo in ip.c
 - Added csqtest driver for testing cancel-safe queues

svn path=/trunk/; revision=8107
2004-02-09 06:59:01 +00:00
Martin Fuchs
9a53ebcb92 better foreground window handling (VCL applications had problems with the old one)
svn path=/trunk/; revision=8106
2004-02-08 22:47:25 +00:00
Martin Fuchs
a320c0cca9 better window sizing
svn path=/trunk/; revision=8105
2004-02-08 22:30:14 +00:00
Thomas Bluemel
2141be1489 removed a re-defiition
svn path=/trunk/; revision=8104
2004-02-08 22:24:07 +00:00
Gé van Geldorp
d8e8ec2a96 Work on thread-awareness in gdbstub
svn path=/trunk/; revision=8103
2004-02-08 22:12:53 +00:00
Gé van Geldorp
30ada1654d Prevent some debug messages from appearing
svn path=/trunk/; revision=8102
2004-02-08 22:02:40 +00:00
Thomas Bluemel
feb6118e10 1. added test app for GradientFill()
2. removed obsolete cliarea test app

svn path=/trunk/; revision=8101
2004-02-08 21:57:36 +00:00
Gé van Geldorp
2966583cc6 - Fix race condition resulting in WM_xBUTTONUP sometimes being
delivered befor WM_xBUTTONDOWN
- Fix double click

svn path=/trunk/; revision=8100
2004-02-08 21:47:10 +00:00
Thomas Bluemel
dfd90b8ad1 add sekelton for the GradientFill() implementation.
svn path=/trunk/; revision=8099
2004-02-08 21:37:53 +00:00
Martin Fuchs
d9ae46ef9d text -> bin
svn path=/trunk/; revision=8098
2004-02-08 21:31:14 +00:00
Martin Fuchs
4f9a01cc0b text -> bin
svn path=/trunk/; revision=8097
2004-02-08 21:30:57 +00:00
Martin Fuchs
8f1114e759 Japanese resource by Masahiro Taguchi (not supported by windres)
svn path=/trunk/; revision=8096
2004-02-08 21:27:31 +00:00
Martin Fuchs
59cd294e28 desktop switching
svn path=/trunk/; revision=8095
2004-02-08 18:58:45 +00:00
Art Yerkes
0dc86c7a3e Added tcpioctl.h which is used by iphlpapi.
svn path=/trunk/; revision=8094
2004-02-08 18:48:08 +00:00
Vizzini
72d09d2bb0 ReactOS implementation of cancel-safe queue library
svn path=/trunk/; revision=8093
2004-02-08 17:51:32 +00:00
Filip Navara
671f7f1315 - Very basic implementation of ExtEscape
svn path=/trunk/; revision=8092
2004-02-08 16:16:24 +00:00
Filip Navara
a99ec32abd - Minor correction to hit testing algorithm
svn path=/trunk/; revision=8091
2004-02-08 15:13:22 +00:00
Filip Navara
50b64b7cd1 - Language constants needed for OLEAUT32
svn path=/trunk/; revision=8090
2004-02-08 10:56:15 +00:00
Filip Navara
af3e717b32 - Reclaculate window client size in NtUserSetMenu even if the window isn't visible
- Properly move child windows in NtUserSetWindowPos.

svn path=/trunk/; revision=8089
2004-02-08 10:53:17 +00:00
Jason Filby
7715328fc5 CreateFileMappingA/CreateFileMappingW: a NULL size argument for this function should result in the filesize being used. Patch by Gero Kuehn (gero.kuehn@gkware.com).
svn path=/trunk/; revision=8088
2004-02-08 10:42:15 +00:00
Filip Navara
2535445a70 - Fixed algorithm for 4BPP bitblts with ROP != SRCCOPY
- Minor coordinate correction for software mouse pointer emulation

svn path=/trunk/; revision=8087
2004-02-08 09:27:39 +00:00
Gé van Geldorp
2a78934eed Wait a little between retries. Fixes bug #106.
svn path=/trunk/; revision=8086
2004-02-07 21:36:56 +00:00
Martin Fuchs
97ea59d7c9 toolbars to control web browser
svn path=/trunk/; revision=8085
2004-02-07 21:17:27 +00:00
Martin Fuchs
77d84e17ca display nice error message
svn path=/trunk/; revision=8084
2004-02-07 19:51:53 +00:00
Martin Fuchs
73b7358882 corrected error handling if no web control could be found
svn path=/trunk/; revision=8083
2004-02-07 19:04:03 +00:00
Martin Fuchs
36f96a21b7 imported WINE oleaut32.dll and inserted numerous FIXMEs to be able to compile it with MinGW headers" Makefile lib\oleaut32
-> Now can explorer be used again.

svn path=/trunk/; revision=8082
2004-02-07 18:53:59 +00:00
Hartmut Birr
885ca2f7f3 - Free or recycle the remaining path string after a call to ObFindObject.
svn path=/trunk/; revision=8081
2004-02-07 17:30:14 +00:00
Hartmut Birr
f6f4ac5f7b - Set the previous pointer from the next block,
if some blocks was merged (in add_to_free_list).

svn path=/trunk/; revision=8080
2004-02-07 16:37:23 +00:00
Filip Navara
094ace70db - Corrected timeouts to really wait one millisecond.
svn path=/trunk/; revision=8079
2004-02-07 15:44:13 +00:00
Filip Navara
46df458f5f - Do not call initialization of both Mouse callback and classical Mouse driver interface. Because the latter is initialized in separate thread and accesses the same global variables as the callback detection, it causes unexpected effects. This should solve the mouse detection problem as seen on WineConf.
svn path=/trunk/; revision=8078
2004-02-07 15:39:14 +00:00
Gé van Geldorp
8962ef5080 Add TEMP and TMP environment variables. Fixes bug #180.
svn path=/trunk/; revision=8077
2004-02-07 15:33:20 +00:00
Martin Fuchs
f83b41a218 fixed some wrong library names for keyboard drivers
svn path=/trunk/; revision=8076
2004-02-07 15:03:37 +00:00
Martin Fuchs
c414fe7978 first version of web control embedding:
Explorer tries to instantiate an IE web control, if that failes it tries
again using the CLASS-ID of Mozilla's Active-X web control.

svn path=/trunk/; revision=8075
2004-02-07 15:00:28 +00:00
Filip Navara
6c639db134 - Fixed some address calculations
svn path=/trunk/; revision=8074
2004-02-07 12:03:11 +00:00
Gé van Geldorp
826d5e693a Add bootcd target
svn path=/trunk/; revision=8073
2004-02-07 08:37:57 +00:00
Art Yerkes
24fecbb518 Added afd/tdiconn.c with corrections by filip navara
afd/dispatch.c fixed ptr arith + bug fix by filip
afd/tdi.c removed functions dealing with TDI_CONNECTION_INFORMATION (tdiconn)
tcpip fixes by filip

svn path=/trunk/; revision=8072
2004-02-07 04:50:44 +00:00
Filip Navara
03aba39688 - Minor correction to FILE_FULL_EA_INFORMATION prototype
svn path=/trunk/; revision=8071
2004-02-07 03:56:18 +00:00
Filip Navara
8a0ee5fc06 - Properly include FreeType header
svn path=/trunk/; revision=8070
2004-02-07 00:24:46 +00:00
Filip Navara
5b1a3e7233 - Get rid of some compilation warnings
svn path=/trunk/; revision=8069
2004-02-07 00:21:45 +00:00
Filip Navara
88b0aebe1a - Fixed compilation of the updated freetype
svn path=/trunk/; revision=8068
2004-02-07 00:11:02 +00:00
Martin Fuchs
650d796921 small dialog size corrections
svn path=/trunk/; revision=8067
2004-02-06 22:45:49 +00:00
Martin Fuchs
42355ae5c6 use better looking bitmaps
svn path=/trunk/; revision=8066
2004-02-06 22:44:35 +00:00
Richard Campbell
2bc8028175 forgot a file.
svn path=/trunk/; revision=8065
2004-02-06 22:18:56 +00:00
Richard Campbell
5c75940f98 Updated freetype to Freetype 2.1.8-CVS-20040206 in an attempt to fix some of the autohinting issues present in our version, does it help?
svn path=/trunk/; revision=8064
2004-02-06 21:53:11 +00:00
Martin Fuchs
4ed1751218 portugal translation by Paulo Silva
svn path=/trunk/; revision=8063
2004-02-06 21:35:34 +00:00
Martin Fuchs
b6c9a9d585 minimize all button
svn path=/trunk/; revision=8062
2004-02-06 21:34:47 +00:00
Filip Navara
48219202b5 - Fixed software mouse pointer handling to work correctly with MouseSafety* routines
svn path=/trunk/; revision=8061
2004-02-06 21:12:55 +00:00
Gé van Geldorp
5ec14bf2bf Clip region to be bitblt'ed against the valid source region. Fixes bug #152
svn path=/trunk/; revision=8060
2004-02-06 20:36:31 +00:00
Royce Mitchell III
ac2782d72e patch by blight:
rosglChoosePixelFormat implementation and small bugfixes to rosglCreateLayerContext

svn path=/trunk/; revision=8059
2004-02-06 20:31:15 +00:00
Royce Mitchell III
110e28efaa commented out unused variables/code
svn path=/trunk/; revision=8058
2004-02-06 20:25:33 +00:00
Art Yerkes
022e7cfde7 Fixed case of zero DNS servers specified in the registry.
svn path=/trunk/; revision=8056
2004-02-06 20:21:58 +00:00
Royce Mitchell III
b58dac7496 slow functions implemented in nasm now, too
svn path=/trunk/; revision=8055
2004-02-06 19:18:39 +00:00
Royce Mitchell III
b1893869b3 fixed offset to glDispatch table to match current TEB
svn path=/trunk/; revision=8054
2004-02-06 18:57:41 +00:00
Royce Mitchell III
27440e7327 fast proxy functions now exported by nasm code. opengl32 builds and links with both mingw and vc6.
svn path=/trunk/; revision=8053
2004-02-06 18:17:18 +00:00
Royce Mitchell III
796b118754 patch by blight:
more WGL stuff implemented, bugfixes and finally found out how to get the driver name from/for a HDC

svn path=/trunk/; revision=8052
2004-02-06 17:22:55 +00:00
Eric Kohl
008cec6fdf Display REG_FULL_RESOURCE_DESCRIPTOR and REG_RESOURCE_REQUIREMENTS_LIST resource types.
Fix display of unknown resource types.

svn path=/trunk/; revision=8051
2004-02-06 15:26:41 +00:00
Royce Mitchell III
e2dba7ab82 patch by blight:
The C implementation of the gl functions is done. Thanks to Royce who has figured out more ICD internals (how function pointers are passed) the ICD loading code is getting more complete.

svn path=/trunk/; revision=8050
2004-02-06 13:59:13 +00:00
The ReactOS Team
d4a3555442 This commit was manufactured by cvs2svn to create branch 'avendor'.
svn path=/branches/avendor/; revision=8047
2004-02-06 08:21:52 +00:00
Aleksey Bragin
b1adc9e47f Initial revision
svn path=/trunk/; revision=8046
2004-02-06 08:21:52 +00:00
Gé van Geldorp
a4b76f805d When using the parent clip region, translate it to child coordinates.
Fixes bug #83.

svn path=/trunk/; revision=8045
2004-02-05 23:16:37 +00:00
Gé van Geldorp
363a9ebe63 Correct bufsize calculation in MessageBoxTimeoutIndirectW. Fixes bug #35.
svn path=/trunk/; revision=8044
2004-02-05 22:09:15 +00:00
Martin Fuchs
994297a05a fixed small bug, which shows up only under NT4
svn path=/trunk/; revision=8043
2004-02-05 21:38:48 +00:00
Gé van Geldorp
55d09ef598 Don't callback from kernel to usermode if the thread is exiting
svn path=/trunk/; revision=8042
2004-02-05 20:09:10 +00:00
Martin Fuchs
a7be90ed0b try to be compatible to NT 4.0 without Active Desktop
svn path=/trunk/; revision=8041
2004-02-05 19:54:51 +00:00
Thomas Bluemel
3bf7edc849 added control panel template
svn path=/trunk/; revision=8040
2004-02-05 19:17:11 +00:00
Thomas Bluemel
1b0cdbf59c added missing definitions
svn path=/trunk/; revision=8039
2004-02-05 19:14:32 +00:00
Art Yerkes
2fa692ee50 Small fixes for cross compilation.
svn path=/trunk/; revision=8038
2004-02-05 16:26:39 +00:00
Royce Mitchell III
5e2e1b620b TEB and ICD table offsets and ICD table structure
svn path=/trunk/; revision=8037
2004-02-05 16:11:19 +00:00
Martin Fuchs
702870db9d don't count on NULL termination of returned strings
svn path=/trunk/; revision=8036
2004-02-05 08:23:50 +00:00
Royce Mitchell III
49f02ee444 patch by blight with help from Royce3 for ICD behavioral research:
Changed GLFUNCS_MACRO to support C implementation of functions,
added MSVC asm version of gl functions, links now, driver and
GLRC lists protected by mutexes, added some breakpoints,
and fixed 1 or 2 Drv prototypes.

svn path=/trunk/; revision=8035
2004-02-05 04:28:11 +00:00
Emanuele Aliberti
270099086f Win32 GUI subsystem.
svn path=/trunk/; revision=8034
2004-02-04 23:12:54 +00:00
Gé van Geldorp
8fdb9cdcc1 Fix race condition when one thread changes the update region of a window
and another thread retrieves a paint message for that window.

svn path=/trunk/; revision=8033
2004-02-04 23:01:07 +00:00
Gé van Geldorp
969bf0b926 Second attempt at bug #5: reset active DCEs when window positions change
svn path=/trunk/; revision=8032
2004-02-04 22:59:04 +00:00
Gé van Geldorp
40bc1b6611 Use window thread instead of current thread to obtain desktop
svn path=/trunk/; revision=8031
2004-02-04 22:55:21 +00:00
Filip Navara
f599776b65 - Rewritten NtGdiEllipse with improved and optimized algorithm. Now it works also for non-circles, but unfortuently it still looks a bit choppy.
svn path=/trunk/; revision=8030
2004-02-04 22:10:00 +00:00
Aleksey Bragin
75a008acf6 cat for ReactOS made by Tappak (Semyon Novikov)
svn path=/trunk/; revision=8029
2004-02-04 20:02:57 +00:00
Aleksey Bragin
1c8751a080 missing .cvsignore
svn path=/trunk/; revision=8028
2004-02-04 20:01:22 +00:00
Eric Kohl
2dae92de89 Add debug message logging (disabled by default).
Store user account data in Account\Users.

svn path=/trunk/; revision=8027
2004-02-04 17:57:56 +00:00
Gé van Geldorp
4986ea13b8 Adjust NtUserChildWindowFromPointEx declaration to match definition
svn path=/trunk/; revision=8026
2004-02-04 10:23:05 +00:00
Martin Fuchs
c7278edf80 get background color out of the bitmap
svn path=/trunk/; revision=8025
2004-02-04 09:43:51 +00:00
Martin Fuchs
d49e09da20 added 4bpp logo bmp
svn path=/trunk/; revision=8024
2004-02-04 09:31:27 +00:00
Martin Fuchs
6505062b5a added special logo bitmap for 4 bpp color resolution
svn path=/trunk/; revision=8023
2004-02-04 09:29:53 +00:00
Richard Campbell
9896efb9e2 increased icon spacing, my computer and other icon titles aren't clipped anymore...
svn path=/trunk/; revision=8022
2004-02-04 01:26:34 +00:00
Richard Campbell
5922c20a8d implemented ChildWindowFromPoint(Ex)
svn path=/trunk/; revision=8021
2004-02-04 01:10:25 +00:00
Richard Campbell
7e4dffe404 changed 'Create New Task' to 'Run'
svn path=/trunk/; revision=8020
2004-02-04 00:53:45 +00:00
Gé van Geldorp
bec973c423 Move call to PrivateCsrssManualGuiCheck to before the creation of
window classes

svn path=/trunk/; revision=8019
2004-02-04 00:05:46 +00:00
Richard Campbell
8c6973cde5 stubbed out dsound, dinput, and ddraw, some apps get a little farther before crashing now (FCEU).
svn path=/trunk/; revision=8018
2004-02-03 23:09:48 +00:00
Martin Fuchs
57a8fb919e integrated new startmenu side bar logo (posted by Paulo Correasilva)
svn path=/trunk/; revision=8017
2004-02-03 21:34:59 +00:00
Filip Navara
2b54029e8b - Fix NtUserScroll[WindowEx/DC]
- Minor correction in NtUserBeginPaint
- Added check for NULL handle in IntPaintWindows

svn path=/trunk/; revision=8016
2004-02-03 17:53:55 +00:00
Filip Navara
44f54f5ec0 - Use ScrollWindowEx for scrolling text in console
svn path=/trunk/; revision=8015
2004-02-03 17:53:54 +00:00
Thomas Bluemel
8dfbb5f8ab added *.d files
svn path=/trunk/; revision=8014
2004-02-03 15:52:33 +00:00
Eric Kohl
3c199a3cb1 Move RtlGUIDFromString() and RtlInt64ToUnicodeString() stubs.
Removed fpu emulator entry points.

svn path=/trunk/; revision=8013
2004-02-03 14:38:23 +00:00
Filip Navara
ef6d18b7ad - Fix a NULL termination.
svn path=/trunk/; revision=8012
2004-02-03 14:25:38 +00:00
Eric Kohl
cd98a247e4 Add byte swap functions.
svn path=/trunk/; revision=8011
2004-02-03 14:24:02 +00:00
Royce Mitchell III
ffa90a12e2 patch by blight:
I have not changed the function loading code to use the TEB's glDispatch
table, but the calling code should be kinda ok already (the x86 version)
For the C version of the forwarding code we need another agument for the X
macro i think. At the moment it is function name ("glVertex3f"), return type
("void") and args ("GLfloat x, GLfloat y, GLfloat z") - we'd need one with
"x, y, z" for that case that we can pass on the arguments with C.

The WGL code also doesn't use the TEB yet, it still uses TLS.

svn path=/trunk/; revision=8010
2004-02-03 14:23:42 +00:00
Gé van Geldorp
6531ed6cf1 Deactivate last change since it can cause a FastMutex to be recursively
acquired

svn path=/trunk/; revision=8009
2004-02-03 09:44:35 +00:00
Emanuele Aliberti
11c1fc3591 PORT_MESSAGE and PORT_MAX_MESSAGE are already defined off include/ntos. I remove them for now.
svn path=/trunk/; revision=8008
2004-02-03 00:05:57 +00:00
Emanuele Aliberti
3356caccb3 LPC: initial work on NT/ROS compatibility.
svn path=/trunk/; revision=8007
2004-02-02 23:48:42 +00:00
Gé van Geldorp
70a9c9cdf0 Handle NULL window as special case when computing visible region for GetDC.
Fixes bug #59

svn path=/trunk/; revision=8006
2004-02-02 23:28:17 +00:00
Martin Fuchs
51612d040b reading of FAT image files (work in progress)
svn path=/trunk/; revision=8005
2004-02-02 23:18:07 +00:00
Eric Kohl
2f3d748c1d Implement RtlAccessAllowedAceEx() and RtlAccessDeniedAceEx().
Use ACL constants and fix ACL-revision checks.

svn path=/trunk/; revision=8004
2004-02-02 22:38:43 +00:00
Gé van Geldorp
7b7b608822 Update DC when moving a window. Fixes bug #5. Based on a patch by
Filip Navara.

svn path=/trunk/; revision=8003
2004-02-02 22:09:05 +00:00
Filip Navara
994fed8844 - Remove AddrFileEntry from CONNECTION_ENDPOINT. It's no longer needed.
- Fixed acquiring a spin lock in FileCloseConnection.

svn path=/trunk/; revision=8002
2004-02-02 21:02:48 +00:00
Eric Kohl
8a81d07bde Fix stupid cut&paste bug.
svn path=/trunk/; revision=8001
2004-02-02 20:59:46 +00:00
Filip Navara
c1f516ab97 Add registry entries for IShellLink[AW] interfaces.
svn path=/trunk/; revision=8000
2004-02-02 20:25:28 +00:00
Hartmut Birr
7ab30519b8 - Fixed the return value in RtlStringFromGUID.
svn path=/trunk/; revision=7999
2004-02-02 19:04:11 +00:00
Royce Mitchell III
fb4488df01 warning fix ( casting issue )
svn path=/trunk/; revision=7998
2004-02-02 18:21:32 +00:00
Filip Navara
9caad5c470 Compilation fixes.
svn path=/trunk/; revision=7997
2004-02-02 17:59:23 +00:00
Filip Navara
7e215a0498 Import of OpenGL Utility library.
svn path=/trunk/; revision=7996
2004-02-02 16:39:16 +00:00
Gé van Geldorp
a474343fb9 Change workaround for bug in Nullsoft installer.
svn path=/trunk/; revision=7995
2004-02-02 15:51:29 +00:00
Gé van Geldorp
08b2e62907 lstrcpyn is documented to always return a NUL terminated string
svn path=/trunk/; revision=7994
2004-02-02 15:50:16 +00:00
Gé van Geldorp
90fd161f1e Don't increment loop variable inside the loop too. Spotted by Mark IJbema.
svn path=/trunk/; revision=7993
2004-02-02 15:16:53 +00:00
Thomas Bluemel
a21e7f7e43 fixed compiling problems
svn path=/trunk/; revision=7992
2004-02-02 15:10:00 +00:00
Eric Kohl
e61405acd5 Implement RtlFindLeastSignificantBit() and RtlFindMostSignificantBit().
svn path=/trunk/; revision=7991
2004-02-02 13:34:01 +00:00
Eric Kohl
fb0bca238a Use ACL constants and fix ACL-revision checks.
svn path=/trunk/; revision=7990
2004-02-02 12:05:41 +00:00
Eric Kohl
aa7104ce33 Add missing ACL-related constants.
svn path=/trunk/; revision=7989
2004-02-02 12:03:43 +00:00
Emanuele Aliberti
6004fa9998 Type casting for compiling USER32. What did break it?
svn path=/trunk/; revision=7988
2004-02-02 11:46:41 +00:00
Royce Mitchell III
1dd7917966 initial implementation of OPENGL32_LoadDrivers(), call it on PROCESS_ATTACH. Removed trailing W from functions where unnecessary.
svn path=/trunk/; revision=7987
2004-02-02 06:01:35 +00:00
Royce Mitchell III
e0cc57149b bunch more groundwork for ICD support - patch by blight
svn path=/trunk/; revision=7986
2004-02-02 05:36:37 +00:00
Eric Kohl
5a34c87b8b Implement RtlFindLeastSignificantBit(), RtlFindMostSignificantBit() and _itow().
svn path=/trunk/; revision=7985
2004-02-02 00:36:36 +00:00
Richard Campbell
18ff29b0fa unstubbed childwindowfrompoint(ex). This function is implemented in my local source tree, will commit as soon as i do some testing to make sure things work as planned.
svn path=/trunk/; revision=7984
2004-02-02 00:18:58 +00:00
Gé van Geldorp
03726a14c8 Changes for richedit
svn path=/trunk/; revision=7983
2004-02-01 21:55:45 +00:00
Gé van Geldorp
d196e4b798 Add mpr and wininet to default build/install
svn path=/trunk/; revision=7982
2004-02-01 21:41:00 +00:00
Gé van Geldorp
de26fb22b7 Stub out just enough of wininet.dll to make the AbiWord installer happy
svn path=/trunk/; revision=7981
2004-02-01 21:33:56 +00:00
Gé van Geldorp
3651baea0a Workaround for bug in Nullsoft installer. This closes ReactOS bug #194.
svn path=/trunk/; revision=7980
2004-02-01 21:27:44 +00:00
Gé van Geldorp
09fd2196ac CVS maintenance
svn path=/trunk/; revision=7979
2004-02-01 21:26:06 +00:00
Gé van Geldorp
9a55977414 Sync richedit with WineHQ
svn path=/trunk/; revision=7978
2004-02-01 21:20:05 +00:00
Thomas Bluemel
5db4db7d8f little bugfix
svn path=/trunk/; revision=7977
2004-02-01 20:50:10 +00:00
Eric Kohl
0d5dbba99c - Move rangelist stubs.
- Move sscanf() stub.
- Implement _bsearch(), _lfind(), _ui64toa() and _ui64tow().
- Export iswdigit(), iswlower(), iswxdigit() and _vsnwsprintf().
- Replace Win32 types by corresponding native types.

svn path=/trunk/; revision=7976
2004-02-01 20:48:06 +00:00
Thomas Bluemel
af5a3793e1 added support for right-aligned menus
svn path=/trunk/; revision=7975
2004-02-01 20:45:02 +00:00
Gé van Geldorp
dc7e97f014 Update status
svn path=/trunk/; revision=7974
2004-02-01 20:11:00 +00:00
Gé van Geldorp
30fec5037f Add mpr.dll
svn path=/trunk/; revision=7973
2004-02-01 20:08:08 +00:00
Gé van Geldorp
4c1d8f1a02 CVS maintenance
svn path=/trunk/; revision=7971
2004-02-01 19:58:55 +00:00
Gé van Geldorp
098630e3d6 Import mpr from Wine
svn path=/trunk/; revision=7970
2004-02-01 19:48:44 +00:00
Martin Fuchs
4d326b81dc implemented context menu for file child windows
svn path=/trunk/; revision=7969
2004-02-01 19:17:31 +00:00
Filip Navara
c9e333fafc Latest version of serial mouse driver with fixes by Logan_V8_TT.
svn path=/trunk/; revision=7968
2004-02-01 18:28:38 +00:00
Emanuele Aliberti
8443a77631 Use macros for LPC message limits in current LPC implementation.
svn path=/trunk/; revision=7967
2004-02-01 18:19:28 +00:00
Royce Mitchell III
04aba507f3 function list macro
svn path=/trunk/; revision=7966
2004-02-01 17:18:48 +00:00
Royce Mitchell III
809430ad58 more work on openg32
svn path=/trunk/; revision=7965
2004-02-01 17:07:16 +00:00
Eric Kohl
927fc7ad03 Fix buggy expansion (signed/unsigned) of InitiatorBusID.
svn path=/trunk/; revision=7964
2004-02-01 16:02:35 +00:00
Eric Kohl
ed7963440d Changed base address of samlib.dll.
svn path=/trunk/; revision=7963
2004-02-01 15:56:37 +00:00
Gé van Geldorp
f28940b24f Fix wrong GetBitmapDimensionEx() usage
svn path=/trunk/; revision=7962
2004-02-01 15:52:02 +00:00
Gé van Geldorp
32532d4019 Silence debug messages
svn path=/trunk/; revision=7961
2004-02-01 15:46:53 +00:00
Gé van Geldorp
e1d6ad5272 Rename BITMAPOBJ "size" member to "dimension" to make clear it's to be
used for Get/SetBitmapDimensionEx only. Fix current wrong usage.

svn path=/trunk/; revision=7960
2004-02-01 15:45:41 +00:00
Gé van Geldorp
2cb71414cb Testing shows that MS-Win does allow a thread to leave a critical section
entered by another thread.

svn path=/trunk/; revision=7959
2004-02-01 14:05:30 +00:00
Filip Navara
cac89868b0 Test for bugs that prevent Mozilla from working.
svn path=/trunk/; revision=7958
2004-02-01 12:30:36 +00:00
Martin Fuchs
394bc9f628 display pseudo-file attributes "link" and "executable"
svn path=/trunk/; revision=7957
2004-02-01 11:53:11 +00:00
Martin Fuchs
257d7fb7f0 update TODO list
svn path=/trunk/; revision=7956
2004-02-01 11:22:24 +00:00
Martin Fuchs
26e89bbfbc display registry value contents
svn path=/trunk/; revision=7955
2004-02-01 11:19:28 +00:00
Martin Fuchs
b88d580163 new 'content' column to display symbolic link targets
svn path=/trunk/; revision=7954
2004-02-01 10:52:24 +00:00
Martin Fuchs
3e745d2acd Patch by Filip Navara <xnavara@volny.cz>:
Can someone please commit this patch? I can't wait for the root's lock
and this patch fixes one dumb problem/crash I introduced...

svn path=/trunk/; revision=7953
2004-02-01 09:58:30 +00:00
Filip Navara
981a893bbd - Resolve two GDI handle leaks
- Faster GDI handle allocation strategy

svn path=/trunk/; revision=7952
2004-02-01 08:07:07 +00:00
Filip Navara
a4b82ffa87 Fixed .cvsignore.
svn path=/trunk/; revision=7951
2004-02-01 08:03:43 +00:00
Royce Mitchell III
cb603fa318 beginnings of ros's opengl32 - by blight and Royce3
svn path=/trunk/; revision=7950
2004-02-01 07:11:06 +00:00
Gé van Geldorp
003adb9a68 Silence debug messages
svn path=/trunk/; revision=7949
2004-01-31 23:53:45 +00:00
Gé van Geldorp
649ad5c8c0 Implemented Write(Private)ProfileStringA/W
svn path=/trunk/; revision=7948
2004-01-31 23:52:42 +00:00
Martin Fuchs
4e8837594f mount drives in NT object namespace
svn path=/trunk/; revision=7947
2004-01-31 23:43:28 +00:00
Martin Fuchs
18feaceddc display types of files, NT objects and registry key/entries
svn path=/trunk/; revision=7946
2004-01-31 23:02:21 +00:00
Martin Fuchs
df1d5b7032 - don't sort registry hives
- fix for memory corruption problem

svn path=/trunk/; revision=7945
2004-01-31 21:01:53 +00:00
Thomas Bluemel
77721fee4b fixed missing release of window objects
svn path=/trunk/; revision=7944
2004-01-31 19:56:14 +00:00
Martin Fuchs
8506980996 included Registry as virtual file system
svn path=/trunk/; revision=7943
2004-01-31 19:31:51 +00:00
Martin Fuchs
b2f6c15aa4 empty REGISTRY directory
svn path=/trunk/; revision=7942
2004-01-31 17:26:38 +00:00
Martin Fuchs
973445eeff re-activate already open shell/ntobj child windows instead of opening new windows
svn path=/trunk/; revision=7941
2004-01-31 17:09:19 +00:00
Eric Kohl
288705874e Start parsing at the root object when an object path needs to be reparsed.
Patch by Art Yerkes.

svn path=/trunk/; revision=7940
2004-01-31 16:52:47 +00:00
Martin Fuchs
cb2752aa76 included NT Object namespace as virtual file system
svn path=/trunk/; revision=7939
2004-01-31 16:25:23 +00:00
Emanuele Aliberti
f4625da5df Define macros for LPC limits:
PORT_MAX_DATA_LENGTH    0x104
PORT_MAX_MESSAGE_LENGTH 0x148

svn path=/trunk/; revision=7938
2004-01-31 15:27:54 +00:00
Richard Campbell
70ced9fd3b Seperated the Caption font and the icon title font. Note that this code will soon be rendered obsolete by code that loads metrics fonts from the registry.
svn path=/trunk/; revision=7937
2004-01-31 14:57:58 +00:00
Eric Kohl
c88b53bb8e Fixed querying and enumerating the subkeys of HKEY_LOCAL_MACHINE.
This fixes bug #78.

svn path=/trunk/; revision=7936
2004-01-31 14:33:01 +00:00
Filip Navara
faa1a76919 Call initialization of the msvcrt parts ported from Wine.
svn path=/trunk/; revision=7935
2004-01-31 13:29:19 +00:00
Robert Kopferl
dbd10a8033 neu
svn path=/trunk/; revision=7934
2004-01-31 01:29:11 +00:00
Hartmut Birr
9ac2b2c62c - Do only lock a new page on exit from AccessFaultSectionView.
svn path=/trunk/; revision=7933
2004-01-31 00:16:55 +00:00
Hartmut Birr
dab0a77461 - Check for a privat page and change only the page protection
for such a page in MmAccessFaultSectionView.

svn path=/trunk/; revision=7932
2004-01-30 23:57:58 +00:00
Gé van Geldorp
5dee2e6519 Silence debug messages
svn path=/trunk/; revision=7931
2004-01-30 22:29:39 +00:00
Gé van Geldorp
d14d65ec2a Silence debug messages
svn path=/trunk/; revision=7930
2004-01-30 22:12:47 +00:00
Gé van Geldorp
c0e2ebf80c Implement some profile (.ini file) functions
svn path=/trunk/; revision=7929
2004-01-30 21:48:09 +00:00
Martin Fuchs
8a89b6750f fixed relocation problem to re-activate new error messages
svn path=/trunk/; revision=7928
2004-01-30 20:31:35 +00:00
Andrew Greenwood
26584f6d6a Preliminary implementation of mmdrv.dll. This is fixed to using MidiOut0 (provided by the mpu401 driver) and is *very* basic. It's only possible to open the MIDI device and play a note, with this.
Eventually, a list of devices will need to be obtained from the registry.

svn path=/trunk/; revision=7927
2004-01-30 18:32:58 +00:00
Richard Campbell
0b9faf4625 reverted martin's patch as it causes ROS to no longer boot correctly into GUI mode, patch by filip navara.
svn path=/trunk/; revision=7926
2004-01-30 17:53:07 +00:00
Andrew Greenwood
47fe4c6cf3 MIDI / MPU401 output test application.
This just opens the first MIDI device, which at present should be the one provided by mpu401.sys (via mmdrv.dll), and plays a note.

svn path=/trunk/; revision=7925
2004-01-30 17:38:08 +00:00
Filip Navara
549c9ff77e Minor correction to RtlDeleteCriticalSection.
svn path=/trunk/; revision=7924
2004-01-30 17:32:17 +00:00
Andrew Greenwood
d00716c055 Temporarily named the device "MidiOut0" so mmdrv.dll (when committed!) will use it.
This driver can currently play some short MIDI messages when combined with my mmdrv.dll and miditest.exe programs (which I intend to commit eventually, once they're integrated into the ReactOS tree.)

svn path=/trunk/; revision=7923
2004-01-30 17:10:23 +00:00
Andrew Greenwood
392b65e4a7 Fixed a few minor problems so the driver compiles with the current ROS headers etc.
It still doesn't really do much apart from play a buffer of silence when loaded, but maybe someone can help me with this :)

svn path=/trunk/; revision=7922
2004-01-30 17:08:13 +00:00
Filip Navara
4b2257966c stubs/stubs.c (EngGetLastError, EngSetLastError): Moved to ...
eng/error.c: ... here
stubs/stubs.c (BRUSHOBJ_ulGetBrushColor): Moved to ...
eng/brush.c: ... here and implemented.
objects/semaphor.c: Moved to ...
eng/semaphor.c: ... here

svn path=/trunk/; revision=7921
2004-01-30 16:36:16 +00:00
Richard Campbell
81984d5d5e More font fixes.
svn path=/trunk/; revision=7920
2004-01-30 15:53:36 +00:00
Richard Campbell
9eb201eea9 Switcharoo with some fonts, this fixes some of the font issues introduced by my font loading patch.
svn path=/trunk/; revision=7919
2004-01-30 13:11:52 +00:00
Richard Campbell
acb0c0998c Enabled the bytecode interpreter with the unpatented hinting system, ftoption.h warns that this doesn't work as advertise, if anyone has any problems, disable it. This improves the quality of some of the fonts dramatically.
svn path=/trunk/; revision=7918
2004-01-30 13:10:42 +00:00
Gé van Geldorp
b61bc104f2 Patch by Michael Fritscher
Change error message displayed when trying to 'cd' to non-existent dir

svn path=/trunk/; revision=7917
2004-01-30 12:34:02 +00:00
Gé van Geldorp
5c0e9ff60d Patch by Michael Fritscher
Implement /W option

svn path=/trunk/; revision=7916
2004-01-30 12:27:41 +00:00
Gé van Geldorp
b9e10092bd Patch by Michael Fritscher
Implement /P and /Y options

svn path=/trunk/; revision=7915
2004-01-30 12:24:41 +00:00
Filip Navara
de69dfa6c7 Implementation of InitializeCriticalSectionAndSpinCount and RtlInitializeCriticalSectionAndSpinCount.
svn path=/trunk/; revision=7914
2004-01-29 23:41:36 +00:00
Martin Fuchs
7ecc5dcb3f imported error message texts from MSDN
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes__1000-1299_.asp)

svn path=/trunk/; revision=7913
2004-01-29 22:26:20 +00:00
Richard Campbell
2950445444 I swear! last commit! (forgot to ZwClose)
svn path=/trunk/; revision=7912
2004-01-29 22:24:51 +00:00
Richard Campbell
0d2c4c19fd Fixed a small bug in my code and removed DbgPrint.
svn path=/trunk/; revision=7911
2004-01-29 22:23:27 +00:00
Richard Campbell
8904505d1f Dynamically load fonts on startup. Code probably isn't perfect, but it works. This code exposes another small 'bug'. System font appears to be dependent on the loading order of the fonts.
svn path=/trunk/; revision=7910
2004-01-29 22:17:54 +00:00
Aleksey Bragin
6bfe38b04b man implementation in ReactOS by Semyon Novikov (tappak).
It works in current ROS implementation according to his words

svn path=/trunk/; revision=7909
2004-01-29 20:28:56 +00:00
Martin Fuchs
33084f82f3 use strcmpiW() instead of _wcsicmp() for Wine-compatibility
svn path=/trunk/; revision=7908
2004-01-29 20:09:20 +00:00
Gunnar Dalsnes
dae39308ff GetLocaleInfoA impl. (copied from wine)
svn path=/trunk/; revision=7907
2004-01-28 23:03:59 +00:00
Gé van Geldorp
b6b9cc70d8 Merge back commits from WineHQ
svn path=/trunk/; revision=7906
2004-01-28 21:57:41 +00:00
Filip Navara
eb51ca8257 Added missing .cvsignore files.
svn path=/trunk/; revision=7905
2004-01-28 21:56:36 +00:00
Gé van Geldorp
f336758ba4 Merge back commits from WineHQ
svn path=/trunk/; revision=7904
2004-01-28 21:40:09 +00:00
Gé van Geldorp
c5eedd47f6 Merge back commits from WineHQ
svn path=/trunk/; revision=7903
2004-01-28 21:27:51 +00:00
Filip Navara
9d72a8b12b Minor change to allow linking setupapi.dll.
svn path=/trunk/; revision=7902
2004-01-28 21:02:07 +00:00
Gé van Geldorp
bccf34a7a1 Determine number of accelerator table entries in resource from size of
the resource

svn path=/trunk/; revision=7901
2004-01-28 21:00:23 +00:00
Eric Kohl
cdcb7ec378 Remove ntos.h and roskrnl.h from kernel-mode code.
svn path=/trunk/; revision=7900
2004-01-28 20:55:50 +00:00
Gé van Geldorp
eb980ec861 Inform kernel whether Unicode or Ansi window proc is preferred
svn path=/trunk/; revision=7899
2004-01-28 20:54:30 +00:00
Gé van Geldorp
3d25387466 Don't wait for GUI processes to finish
svn path=/trunk/; revision=7898
2004-01-28 20:52:57 +00:00
Martin Fuchs
b4446c11bb merged back commited WINE patches: \n for TRACE messages
svn path=/trunk/; revision=7897
2004-01-28 20:10:59 +00:00
Martin Fuchs
d276fcc1d3 merged back commited WINE patches
svn path=/trunk/; revision=7896
2004-01-28 20:10:01 +00:00
Filip Navara
f6966e84c8 Fixed base addresses and exports.
svn path=/trunk/; revision=7895
2004-01-28 19:34:45 +00:00
Gé van Geldorp
a3c1e6c8c7 Patch by Michael Fritscher
Fix /p when screen buffer is larger than output window

svn path=/trunk/; revision=7894
2004-01-28 17:47:27 +00:00
Gé van Geldorp
88c6922a90 strncpy does add NUL bytes to fill dest buffer completely,
however lstrcpyn does not.

svn path=/trunk/; revision=7893
2004-01-28 08:51:09 +00:00
Gé van Geldorp
18a0b41cb6 Don't depend on wine user32 internals
svn path=/trunk/; revision=7892
2004-01-27 21:54:03 +00:00
Gé van Geldorp
c778f1be56 Don't write more nul bytes than necessary
svn path=/trunk/; revision=7891
2004-01-27 21:43:47 +00:00
Hartmut Birr
01723ab7ca - Fixed some problems which occurs if a read only segment is
changed to write and back to read only and if such a segment
  (or a page from such a segment) is paged out and reloaded again.

svn path=/trunk/; revision=7890
2004-01-27 20:13:08 +00:00
Gé van Geldorp
72a5d17432 Fix cross-thread WM_SETTEXT messages
svn path=/trunk/; revision=7889
2004-01-27 13:21:35 +00:00
Thomas Bluemel
8c589debf7 activate modal dialog when clicking on a disabled window
svn path=/trunk/; revision=7888
2004-01-27 11:52:37 +00:00
Thomas Bluemel
55a09e1914 release window object when destroying window children and skip only children that have a different parent window (instead of owner window because controls do not have a window owner)
svn path=/trunk/; revision=7887
2004-01-27 09:36:14 +00:00
Thomas Bluemel
420710cf61 don't activate disabled windows
svn path=/trunk/; revision=7886
2004-01-27 08:49:58 +00:00
Thomas Bluemel
71270ddbba GetAncestor() doesn't set a last-error if the handle passed is the desktop window, it just returns NULL
svn path=/trunk/; revision=7885
2004-01-27 08:29:28 +00:00
Gé van Geldorp
f1253083e4 Release mutex on error exit
svn path=/trunk/; revision=7884
2004-01-26 23:29:23 +00:00
Thomas Bluemel
53623ae9dc implemented multiline menu bars
svn path=/trunk/; revision=7883
2004-01-26 23:22:48 +00:00
Filip Navara
83adec498a Readd some resource, because they're actually used!
svn path=/trunk/; revision=7882
2004-01-26 20:36:41 +00:00
Thomas Bluemel
48cc68f016 1. implemented MenuItemFromPoint()
2. fixed hittest-code so it returns HTMENU properly

svn path=/trunk/; revision=7881
2004-01-26 12:46:16 +00:00
Thomas Bluemel
e6249843b8 set menuitem rects after measuring the size
svn path=/trunk/; revision=7880
2004-01-26 10:09:04 +00:00
Thomas Bluemel
9d9f3772f6 fixed close button
svn path=/trunk/; revision=7879
2004-01-26 09:32:17 +00:00
Thomas Bluemel
a5ea007a53 gave NtUserCall*Param decent names
svn path=/trunk/; revision=7878
2004-01-26 08:44:51 +00:00
Gé van Geldorp
49c7a9ae93 Add __REACTOS__ define
svn path=/trunk/; revision=7877
2004-01-25 18:42:49 +00:00
Filip Navara
6e361ec59f More work on software mouse pointer implementation.
svn path=/trunk/; revision=7876
2004-01-25 16:47:10 +00:00
Richard Campbell
4fc67741b8 more housekeeping
svn path=/trunk/; revision=7875
2004-01-25 13:09:34 +00:00
Richard Campbell
5792580e59 housekeeping
svn path=/trunk/; revision=7874
2004-01-25 13:06:55 +00:00
Martin Fuchs
ffce6d13d0 fixed Doxygen Generation
svn path=/trunk/; revision=7873
2004-01-25 11:55:59 +00:00
Jason Filby
bf5b782c83 *** empty log message ***
svn path=/trunk/; revision=7872
2004-01-25 09:57:15 +00:00
Filip Navara
872e4089f0 Minor fix.
svn path=/trunk/; revision=7871
2004-01-25 08:32:51 +00:00
Filip Navara
09fa2c188b Fixed binary search algroithm in LdrGetExportByOrdinal - numbers can reach negative values.
svn path=/trunk/; revision=7870
2004-01-25 08:32:49 +00:00
Filip Navara
5f474aea89 Work on ioctlsocket and WSAIoctl.
svn path=/trunk/; revision=7869
2004-01-25 08:32:44 +00:00
Filip Navara
3360515771 Actually the last entry in export table is NumberOfNames - 1 and not NumberOfNames.
svn path=/trunk/; revision=7868
2004-01-24 23:44:26 +00:00
Martin Fuchs
8fb6b0e581 resolve some FIXMEs by translating new text strings; provided by Paulo [<correasilva@tugamail.com>]
svn path=/trunk/; revision=7867
2004-01-24 23:00:51 +00:00
Filip Navara
e25e386086 Moved the generic mouse pointer implementation to win32k (not complete yet).
svn path=/trunk/; revision=7865
2004-01-24 19:47:05 +00:00
Filip Navara
db0f9b9ba4 Work on mouse pointer implementation.
svn path=/trunk/; revision=7864
2004-01-24 17:42:56 +00:00
Steven Edwards
ed4bb6a2cd Started porting Setupapi.dll from WINE to ReactOS.
svn path=/trunk/; revision=7863
2004-01-24 15:39:47 +00:00
Martin Fuchs
7fd96c83a7 dde_connect(): set error code ERROR_DDE_FAIL when encountering DDE connection problems
svn path=/trunk/; revision=7862
2004-01-24 12:20:17 +00:00
Martin Fuchs
de5a724bca - basic registration of .url and .scf file types
- fix for .txt file type (REG_EXPAND_SZ)

svn path=/trunk/; revision=7861
2004-01-24 12:08:08 +00:00
Filip Navara
52963a354f Fix RtlStringFromGUID.
svn path=/trunk/; revision=7860
2004-01-24 11:59:04 +00:00
Filip Navara
85ac449051 Fix debug message.
svn path=/trunk/; revision=7859
2004-01-24 11:59:00 +00:00
Martin Fuchs
1d58bfad3b - use PostMessage(WM_SYSCOMMAND) instead of ShowWindowAsync(SW_MINIMIZE) to minimize application windows when clicking on the taskbar
-> for example mIRC needs this to "minimize to the tray"
- fix determination of the last foreground window

svn path=/trunk/; revision=7858
2004-01-24 10:12:40 +00:00
Eric Kohl
19f91f8fd9 Cleanup: Replace WINBOOL by BOOL
svn path=/trunk/; revision=7857
2004-01-24 08:41:03 +00:00
Eric Kohl
495a53c036 Cleanup: Replace WINBOOL by BOOL
svn path=/trunk/; revision=7856
2004-01-24 08:27:40 +00:00
Eric Kohl
f0a9cdbf44 Cleanup: Replace WINBOOL by BOOL
svn path=/trunk/; revision=7855
2004-01-23 23:38:26 +00:00
Eric Kohl
ac2bc52c3f Cleanup: Replace WINBOOL by BOOL
svn path=/trunk/; revision=7854
2004-01-23 23:30:23 +00:00
Martin Fuchs
138cbd27ed merged back commited WINE patches
svn path=/trunk/; revision=7853
2004-01-23 21:44:15 +00:00
Eric Kohl
049035cfea Move kernel32-internal declarations from global include directory to local one.
svn path=/trunk/; revision=7852
2004-01-23 21:18:27 +00:00
Eric Kohl
901a00bd04 Move kernekl32-internal declarations from global include directory to local one.
svn path=/trunk/; revision=7851
2004-01-23 21:16:04 +00:00
Martin Fuchs
afcb6d4fb1 bugfix to correctly display notification icons of some applications
svn path=/trunk/; revision=7850
2004-01-23 20:52:18 +00:00
Eric Kohl
ceb721e557 Add missing header.
svn path=/trunk/; revision=7849
2004-01-23 20:11:24 +00:00
Eric Kohl
7f921b5820 Get rid of useless prototypes.
svn path=/trunk/; revision=7848
2004-01-23 20:02:09 +00:00
Eric Kohl
a27a41929d Ntdll implements the user heaps. Don't try to handle this yourself.
svn path=/trunk/; revision=7847
2004-01-23 19:59:15 +00:00
Filip Navara
c6651faa5f Forgot to commit this file last time.
svn path=/trunk/; revision=7846
2004-01-23 19:49:07 +00:00
Filip Navara
444c59cb3f Patch by Matthew Brace <ismarc@austin.rr.com>
- Implementation of RtlStringFromGUID, IoOpenDeviceInterfaceRegistryKey and IoGetDeviceInterfaceAlias.

svn path=/trunk/; revision=7845
2004-01-23 18:00:53 +00:00
Eric Kohl
9f83325730 Cleanup: Replace WINBOOL by BOOL
svn path=/trunk/; revision=7844
2004-01-23 17:18:16 +00:00
Filip Navara
914db3cd4a Remove the empty strings to get the compilation working again with newer windres versions.
svn path=/trunk/; revision=7843
2004-01-23 16:56:44 +00:00
Filip Navara
2c02c69455 Fixed compiling (Buffer -> buffer).
svn path=/trunk/; revision=7842
2004-01-23 16:51:41 +00:00
Eric Kohl
6482583e26 Cleanup: Replace WINBOOL by BOOL
svn path=/trunk/; revision=7841
2004-01-23 16:37:11 +00:00
Gé van Geldorp
ada72d1210 Sync to Wine-20040121-plus-LARGE_INTEGER-patch
svn path=/trunk/; revision=7839
2004-01-23 14:31:36 +00:00
Eric Kohl
d1915fcb59 Implement basic administrator account creation and logon.
This is neither safe nor NT-compatible.

svn path=/trunk/; revision=7838
2004-01-23 10:47:22 +00:00
Eric Kohl
ffad6ce8ff Create the user-specific registry hive.
svn path=/trunk/; revision=7837
2004-01-23 10:39:22 +00:00
Eric Kohl
d1f3d3bb40 NtOpenKey() should return a better status value if the desired key does not exist.
svn path=/trunk/; revision=7836
2004-01-23 10:37:17 +00:00
Eric Kohl
8f96df5995 Implement basic administrator account creation and logon.
This is neither safe nor NT-compatible.

svn path=/trunk/; revision=7835
2004-01-23 10:35:52 +00:00
Eric Kohl
e5fc3cf116 Implement basic administrator account creation and logon.
This is either safe nor NT-compatible.

svn path=/trunk/; revision=7834
2004-01-23 10:33:21 +00:00
Richard Campbell
2e39d5d2d6 Added stubbed mpr.dll in an attempt to get mirc 6.12 to load.
svn path=/trunk/; revision=7833
2004-01-23 01:40:28 +00:00
Gé van Geldorp
ec55b104f6 w32api declares some shlwapi.h functions as documented in MSDN,
unfortunately the actual declaration in the PSDK is different. Since the
PSDK is our gold standard adjust our declarations to those in the PSDK.

svn path=/trunk/; revision=7832
2004-01-22 23:52:53 +00:00
Emanuele Aliberti
aeccf4ff73 Do not make NtSecureConnectPort fail: for now direct the call to NtConnectPort.
svn path=/trunk/; revision=7831
2004-01-22 21:56:48 +00:00
Filip Navara
3763ee7ad1 - Use English resources when no default locale is specified (Temporary fix).
- Added registry entry for the per user local setting.

svn path=/trunk/; revision=7830
2004-01-22 20:47:08 +00:00
Gé van Geldorp
029c2688e6 Sync with Wine-20040121
svn path=/trunk/; revision=7828
2004-01-22 20:35:25 +00:00
Gé van Geldorp
8625e94a7a Sync with Wine-20040121
svn path=/trunk/; revision=7827
2004-01-22 20:12:04 +00:00
Gé van Geldorp
6e5c492813 Sync with Wine-20040121
svn path=/trunk/; revision=7826
2004-01-22 18:52:01 +00:00
Gé van Geldorp
3b897823aa Sync with Wine-20040121
svn path=/trunk/; revision=7825
2004-01-22 18:45:19 +00:00
Gé van Geldorp
bcf21623ed Better fix for DPA heap problem
svn path=/trunk/; revision=7824
2004-01-22 16:02:56 +00:00
Eric Kohl
d55c5fe5b8 Check returned status codes.
svn path=/trunk/; revision=7823
2004-01-22 13:18:10 +00:00
Gunnar Dalsnes
9f32fb18b9 fix stupid bug
svn path=/trunk/; revision=7822
2004-01-22 12:39:01 +00:00
Martin Fuchs
d808a08b91 merged in commited shell32 WINE patch
svn path=/trunk/; revision=7821
2004-01-22 09:20:41 +00:00
Richard Campbell
a7f8f318e3 ifndef _ROS_
svn path=/trunk/; revision=7820
2004-01-22 01:38:43 +00:00
Eric Kohl
f4bafd97b4 Silenced a debug message.
svn path=/trunk/; revision=7819
2004-01-21 23:20:46 +00:00
Martin Fuchs
7bd7074cb3 merged back commit shell32 WINE patches
svn path=/trunk/; revision=7818
2004-01-21 23:01:35 +00:00
Martin Fuchs
0f8bd6db55 return 'My Compuer' PIDL for Desktop->ParseDisplayName()
svn path=/trunk/; revision=7817
2004-01-21 20:49:13 +00:00
Filip Navara
50cf00fdae Implemented GetUserDefaultLangID and GetUserDefaultLCID.Fixes bug #108.
svn path=/trunk/; revision=7816
2004-01-21 20:37:00 +00:00
Gé van Geldorp
467d22e64f Re-add Doxyfile which was deleted by mistake
svn path=/trunk/; revision=7815
2004-01-21 19:32:38 +00:00
Gé van Geldorp
561fa3d093 Update to FreeType 2.1.5
svn path=/trunk/; revision=7814
2004-01-21 19:23:49 +00:00
Casper Hornstrup
e47bd48591 2004-01-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apistatus.lst: Rename tdi.dll to tdi.sys.

svn path=/trunk/; revision=7813
2004-01-21 19:08:51 +00:00
Filip Navara
f6e5603bdb Minor fix in GlobalMemoryStatus to get some applications happy.
svn path=/trunk/; revision=7812
2004-01-21 18:57:21 +00:00
Filip Navara
f25f3c010a Fix bug #129. Unfortunetly this causes another bug to appear (that is not caused by this patch hopefully).
svn path=/trunk/; revision=7811
2004-01-21 18:39:24 +00:00
Filip Navara
e182b38c78 ndis.dll -> ndis.sys (fix bug #160)
svn path=/trunk/; revision=7810
2004-01-21 18:38:54 +00:00
Filip Navara
74722e09f0 Fix bug #166 ('FileDialog returns empty string or error in run from the start menu').
svn path=/trunk/; revision=7809
2004-01-21 18:38:53 +00:00
Filip Navara
593f004966 - Don't mix device and logical coordinates in NtUserBeginPaint.
- Use BF_FLAT style for DrawEdge when drawing WS_EX_STATICEDGE border.

svn path=/trunk/; revision=7807
2004-01-21 17:23:55 +00:00
Filip Navara
cad98f04c0 Another rewrite of the mouse detection code by Logan_V8_TT with minor changes by me to get it really working with my mouse. This version should solve the problem where the mouse wasn't moving and also the conflicts with serial port debugging.
svn path=/trunk/; revision=7806
2004-01-21 15:25:01 +00:00
Eric Kohl
5844d90709 Change location of videoprt.sys.
svn path=/trunk/; revision=7805
2004-01-21 12:19:47 +00:00
Gé van Geldorp
c651c68c2f Add taskmgr to distributed apps
svn path=/trunk/; revision=7804
2004-01-21 08:05:06 +00:00
Martin Fuchs
fd55bd2119 use #ifdef _ROS_ for latest drawing workaround
svn path=/trunk/; revision=7803
2004-01-21 08:02:51 +00:00
Gé van Geldorp
12996778d4 Reboot instead of shutdown at the end of 2nd stage setup.
svn path=/trunk/; revision=7800
2004-01-20 23:40:19 +00:00
Gé van Geldorp
8cd9e295fc Show warning screen at the end of setup, telling the user to wait until
the disk has been flushed. Fixes bug #110.

svn path=/trunk/; revision=7798
2004-01-20 23:39:06 +00:00
Gé van Geldorp
b95a905321 Correctly move hardware messages between private queues. Fixes bugs
#156 and #162.

svn path=/trunk/; revision=7796
2004-01-20 23:35:59 +00:00
Richard Campbell
aa31a3cd3a small workaround to get the edge around the systray to display properly.
svn path=/trunk/; revision=7795
2004-01-20 23:34:05 +00:00
Eric Kohl
efb3dc1194 Implement CreateProcessAsUser[A/W] and LogonUserW with a fake token.
svn path=/trunk/; revision=7793
2004-01-20 23:16:42 +00:00
Filip Navara
930507af17 Attempt to fix the display corruption problems when using bootvid.sys on certain HW.
svn path=/trunk/; revision=7792
2004-01-20 21:08:40 +00:00
Emanuele Aliberti
ed59770cae Ignore map file.
svn path=/trunk/; revision=7791
2004-01-20 20:44:30 +00:00
Thomas Bluemel
859e0dceee restored the blue.sys driver
svn path=/trunk/; revision=7790
2004-01-20 20:00:45 +00:00
Andrew Greenwood
9e88919457 2nd time lucky - MPU401 driver. Sorry about the previous breakage of blue :(
svn path=/trunk/; revision=7789
2004-01-20 19:58:48 +00:00
Andrew Greenwood
5c32f0ba7f This is a very basic implementation of a Sound Blaster driver for ReactOS. At present, it's capable of playing a buffer of silence when opened, but that's about all.
The MPU401 driver would normally be part of SNDBLST, but I decided to keep them separate, for now at least anyway. IIRC, this should play a MIDI note on startup.

Both drivers need a lot of work, but I'm committing what I've done so far, so other people can work on them as well as me :)

svn path=/trunk/; revision=7788
2004-01-20 19:35:59 +00:00
Martin Fuchs
90db7f8c36 even more funny icon arrangements
svn path=/trunk/; revision=7787
2004-01-20 19:07:28 +00:00
Filip Navara
0d1556f869 Changes based on the patch by Logan_V8_TT.
- Formating changes (TABs/spaces)
- Don't set 'Output Line 2' bit while power-uping the mouse during initalization.
- Restore 'Line Control' register at the end of mouse detection.
- Wait only 150000 millisecons (instead of 500000) for mouse power down.
- Enable detection of mouse on COM2 by default.

svn path=/trunk/; revision=7786
2004-01-20 15:18:27 +00:00
Eric Kohl
526b9ea0bc Moved logon-related functions to a separate file.
Replaced WINBOOL by BOOL.

svn path=/trunk/; revision=7785
2004-01-20 01:40:19 +00:00
Steven Edwards
cc650c435b Get the sound driver compiling again......
No it still doesnt work.

svn path=/trunk/; revision=7783
2004-01-20 00:29:48 +00:00
Martin Fuchs
1d8c431643 icon alignment algorithms
svn path=/trunk/; revision=7782
2004-01-20 00:17:24 +00:00
Gé van Geldorp
f14c8d5e08 Don't display extension for shortcuts in shell views
svn path=/trunk/; revision=7778
2004-01-19 20:56:26 +00:00
Gé van Geldorp
77600961c2 Small icon handle should be NULL if unavailable
svn path=/trunk/; revision=7776
2004-01-19 20:19:50 +00:00
Gé van Geldorp
ac9931e8b5 Icon for console windows
svn path=/trunk/; revision=7774
2004-01-19 20:14:28 +00:00
Gé van Geldorp
2a9ae29ea6 Fix title and description in "Start"/"Run" dialog (Bug #164)
svn path=/trunk/; revision=7772
2004-01-19 20:03:36 +00:00
Eric Kohl
c671ada626 Do not disconnect a hive root key from its parent key. The object manager will do this when the root key object gets closed.
svn path=/trunk/; revision=7769
2004-01-19 16:18:33 +00:00
Filip Navara
6e45aaa48b Moved videoprt driver to a new location and implemented few functions.
svn path=/trunk/; revision=7768
2004-01-19 15:56:53 +00:00
Martin Fuchs
ebbc9105dd merged back Wine commits
svn path=/trunk/; revision=7767
2004-01-19 06:56:55 +00:00
Gunnar Dalsnes
848b80b405 KiAcquire/ReleaseSpinLock adaption
svn path=/trunk/; revision=7766
2004-01-19 00:44:37 +00:00
Gé van Geldorp
1d53ea429e Show icons for shortcuts in shell views
svn path=/trunk/; revision=7765
2004-01-18 23:00:16 +00:00
Gé van Geldorp
917d9dbf90 ICO_ExtractIconsW should process icons in large/small pairs
svn path=/trunk/; revision=7763
2004-01-18 22:58:19 +00:00
Gunnar Dalsnes
d69891bf93 KiAcquire/ReleaseSpinLock adaption
svn path=/trunk/; revision=7762
2004-01-18 22:58:10 +00:00
Gunnar Dalsnes
d6b70d802e KiAcquire/ReleaseSpinLock adaption
svn path=/trunk/; revision=7760
2004-01-18 22:42:50 +00:00
Gunnar Dalsnes
f3c9b196a6 added KiAcquire/ReleaseSpinLock
svn path=/trunk/; revision=7759
2004-01-18 22:41:53 +00:00
Hartmut Birr
68ac8c2fb9 - Remove '\.\' sequences from destination file name in CabinetExtractFile.
svn path=/trunk/; revision=7758
2004-01-18 22:37:53 +00:00
Gunnar Dalsnes
11a4e44d62 KiAcquire/ReleaseSpinLock adaption
svn path=/trunk/; revision=7757
2004-01-18 22:35:26 +00:00
Hartmut Birr
703eb5e8c9 - Remove trailing '\' and '\.' sequences from directory names in CreateDirectory.
svn path=/trunk/; revision=7756
2004-01-18 22:34:40 +00:00
Gunnar Dalsnes
6c37271fd5 InsertAscendingList adaption
KiAcquire/ReleaseSpinLock adaption

svn path=/trunk/; revision=7755
2004-01-18 22:32:47 +00:00
Hartmut Birr
01b8638f08 - Check for illegal dot sequences in file and path names.
svn path=/trunk/; revision=7754
2004-01-18 22:31:23 +00:00
Gunnar Dalsnes
e7ec8c60bf InsertAscendingList adaption
svn path=/trunk/; revision=7753
2004-01-18 22:30:39 +00:00
Gunnar Dalsnes
28618ae6f8 added InsertAscending/DecendingListFIFO
simplified InsertAscending/DescendingList

svn path=/trunk/; revision=7752
2004-01-18 22:28:48 +00:00
Emanuele Aliberti
bec36ebaf9 Little changes to make PSX server compile again.
svn path=/trunk/; revision=7751
2004-01-18 21:27:32 +00:00
Emanuele Aliberti
35a330ecbd More credits in the RC file for pedump and shutdown.
svn path=/trunk/; revision=7750
2004-01-18 20:32:08 +00:00
Emanuele Aliberti
3768865685 Missing CVS ignore file.
svn path=/trunk/; revision=7749
2004-01-18 20:22:42 +00:00
Filip Navara
aab2f9e966 Removed prototype for nonexisting function.
svn path=/trunk/; revision=7747
2004-01-18 19:19:45 +00:00
Gé van Geldorp
8676b1e8f7 Make ILGetSize a STDCALL function
svn path=/trunk/; revision=7746
2004-01-18 19:09:15 +00:00
Martin Fuchs
eee4144825 moved setings dialogs in separate file
svn path=/trunk/; revision=7743
2004-01-18 18:45:26 +00:00
Martin Fuchs
5ac9d99859 fix for Bug #159
svn path=/trunk/; revision=7742
2004-01-18 18:44:31 +00:00
Martin Fuchs
2a335ec879 draw button control with original border; focus handling in property sheet
svn path=/trunk/; revision=7741
2004-01-18 16:23:55 +00:00
Martin Fuchs
83fb0172c0 removed test bitamp statics
svn path=/trunk/; revision=7740
2004-01-18 14:58:54 +00:00
Martin Fuchs
c78c696293 desktop settings dialog sheet (for now only too look at it - no real functionality)
svn path=/trunk/; revision=7739
2004-01-18 13:59:43 +00:00
Casper Hornstrup
5a57e066ec 2004-01-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/winebuild/spec32.c (BuildDef32File): Don't support private flag
	when cross-compiling.

svn path=/trunk/; revision=7737
2004-01-18 13:42:57 +00:00
Filip Navara
bffadccb2c - Bug fixes.
- NtUserDestroyWindow should destroy owned popup windows (Fixes some problems with Explorer menus).
- Changed WinPosSetWindowPos to take coordinates relative to parent, because it is used as such everywhere.

svn path=/trunk/; revision=7734
2004-01-18 08:29:31 +00:00
Richard Campbell
faaee8fe61 temp fix for windres compatibility issues.
svn path=/trunk/; revision=7732
2004-01-18 04:45:59 +00:00
Steven Edwards
a504f4dba3 Make Help->About call ShellAbout
svn path=/trunk/; revision=7731
2004-01-18 03:28:08 +00:00
Martin Fuchs
83ea26e456 property sheet dialogs
svn path=/trunk/; revision=7730
2004-01-18 00:33:53 +00:00
Gé van Geldorp
71a41b519c Leave room for terminating nul byte, fixes bug #148
svn path=/trunk/; revision=7729
2004-01-17 23:04:28 +00:00
Martin Fuchs
2ac3a79689 debug message for unimplemented popup menus
svn path=/trunk/; revision=7727
2004-01-17 20:13:41 +00:00
Martin Fuchs
98e32f5ac0 eliminated misleading GCC warning
svn path=/trunk/; revision=7726
2004-01-17 17:29:04 +00:00
Martin Fuchs
ea7bc6c78a output warning message before launching more than one program at one time
svn path=/trunk/; revision=7725
2004-01-17 17:25:18 +00:00
Martin Fuchs
dc141d9e7c added missing PIDL parameter for SHELL_FindExecutable()
svn path=/trunk/; revision=7724
2004-01-17 17:23:16 +00:00
Art Yerkes
5405cd7d70 Cross commits from the release branch. Serial echo option + local keyboard
mouse on/off.

svn path=/trunk/; revision=7723
2004-01-17 17:13:13 +00:00
Martin Fuchs
83da931554 fixed called to Unicode SHELL_FindExecutable()
svn path=/trunk/; revision=7721
2004-01-17 16:53:19 +00:00
Martin Fuchs
5a76bbd8ac context menu for desktop bar
svn path=/trunk/; revision=7720
2004-01-17 16:41:20 +00:00
Martin Fuchs
00a738fdfd allow only shell links to single objects
svn path=/trunk/; revision=7719
2004-01-17 16:08:38 +00:00
Martin Fuchs
acba5dbeef move fucnion declaration into header file
svn path=/trunk/; revision=7718
2004-01-17 16:06:33 +00:00
Gé van Geldorp
bfd145cda4 Patch by Hartmut Birr.
Allow building with newer windres (2.14.90 20030612)

svn path=/trunk/; revision=7717
2004-01-17 15:27:21 +00:00
Filip Navara
698d0a3be5 Preparing for the win32k emulated mouse cursor support.
svn path=/trunk/; revision=7714
2004-01-17 15:21:09 +00:00
Filip Navara
6020629df1 Fix window repainting - Attempt #2
svn path=/trunk/; revision=7713
2004-01-17 15:18:25 +00:00
Martin Fuchs
ef40097fff rename _FS_ProcessDisplayFilename to SHELL_FS_ProcessDisplayFilename() -> Wine naming rule for internal functions
svn path=/trunk/; revision=7712
2004-01-17 11:10:18 +00:00
Hartmut Birr
31273508a7 Fixed RtlImageDirectoryEntryToData.
svn path=/trunk/; revision=7711
2004-01-17 10:30:53 +00:00
Art Yerkes
c2d0df8688 Print userland addresses where possible in bugchecks, etc.
svn path=/trunk/; revision=7709
2004-01-17 03:19:35 +00:00
Gé van Geldorp
fa2b0ba8e3 Swap arguments of LocalAlloc and only update Malloc32 block on successful
allocation. Fixes bug #154.

svn path=/trunk/; revision=7707
2004-01-17 02:21:42 +00:00
Gé van Geldorp
c60de92aba Fix drawing of window move/resize rectangle in VMware
svn path=/trunk/; revision=7705
2004-01-17 01:04:45 +00:00
Martin Fuchs
2e1c823c7e last fix for RecursiveCreateDirectory()
svn path=/trunk/; revision=7703
2004-01-17 00:57:51 +00:00
Martin Fuchs
b5fec56137 fixed UNICODE RecursiveCreateDirectory()
svn path=/trunk/; revision=7702
2004-01-17 00:42:57 +00:00
Martin Fuchs
f3077c25b9 fixed RecursiveCreateDirectory()
svn path=/trunk/; revision=7701
2004-01-17 00:36:46 +00:00
Martin Fuchs
020f7d429d merged back WineHQ commit
svn path=/trunk/; revision=7700
2004-01-16 23:39:01 +00:00
Gé van Geldorp
25dfcd5244 Reset viewport stuff on DC release
svn path=/trunk/; revision=7699
2004-01-16 23:29:10 +00:00
Martin Fuchs
d073f772d1 merge back WineHQ commit
svn path=/trunk/; revision=7697
2004-01-16 23:23:38 +00:00
Martin Fuchs
a7406cc7a7 corrected TIME_NOSECONDS handling
svn path=/trunk/; revision=7696
2004-01-16 23:19:16 +00:00
Martin Fuchs
448af8f18a added locale resources
svn path=/trunk/; revision=7695
2004-01-16 23:09:01 +00:00
Martin Fuchs
182cd0377f don't clear GetTimeFormat() flags when calling RosGetTimeFormat()
svn path=/trunk/; revision=7694
2004-01-16 23:08:38 +00:00
Martin Fuchs
1c99ac5f74 Don't specify any specific time format for the clock.
svn path=/trunk/; revision=7693
2004-01-16 22:53:12 +00:00
Eric Kohl
7a72b1d1a7 Add creation of administrator profile.
svn path=/trunk/; revision=7692
2004-01-16 21:33:23 +00:00
Martin Fuchs
4e0b597dfa added language resources for english, german and french
svn path=/trunk/; revision=7691
2004-01-16 21:08:32 +00:00
Thomas Bluemel
9ef2c888de show <JUNCTION> "type" in dir listing
svn path=/trunk/; revision=7690
2004-01-16 19:58:47 +00:00
Thomas Bluemel
06866a65df show <JUNCTION> "type" in dir listing
svn path=/trunk/; revision=7689
2004-01-16 19:57:13 +00:00
Gé van Geldorp
660a7812d3 Serialize access to display driver. Fixes serious display corruption
with the VGA driver: drawing function starts and sets up VGA registers,
mouse moves and pointer needs to be redrawn for which VGA registers
are changed, then drawing function continues with wrong registers

svn path=/trunk/; revision=7688
2004-01-16 19:32:00 +00:00
Gé van Geldorp
0fd869efa8 Don't use RECTL structure in ntoskrnl
svn path=/trunk/; revision=7686
2004-01-16 15:39:28 +00:00
Eric Kohl
c97ad8c5de Create user profile directory by copying the default user directory.
Prepare to copy the default user hive.

svn path=/trunk/; revision=7684
2004-01-16 15:31:53 +00:00
Filip Navara
4dbcbd1b9d Fixed window activation bug (GA_ROOTOWNER -> GA_ROOT).
svn path=/trunk/; revision=7683
2004-01-16 13:28:29 +00:00
Gé van Geldorp
b91ffe51dc Patch by Filip Navara.
Fix window activation flickering

svn path=/trunk/; revision=7682
2004-01-16 13:26:26 +00:00
Gé van Geldorp
ade9a80f9a Store area touched by mouse pointer as this may be larger than the cursor
size. Fixes bug #63.

svn path=/trunk/; revision=7679
2004-01-16 13:18:23 +00:00
Gé van Geldorp
3fb858b15e Adjust for cabinet/oledlg
svn path=/trunk/; revision=7677
2004-01-16 13:08:56 +00:00
Mark Tempel
9d16b51f6b Add winfile back into the build.
svn path=/trunk/; revision=7676
2004-01-16 05:17:31 +00:00
Mark Tempel
c26a81328e Update makefile to build winfile again.
svn path=/trunk/; revision=7675
2004-01-16 05:12:03 +00:00
Mark Tempel
9b74fe4b28 Add the net apps back into the default build.
svn path=/trunk/; revision=7674
2004-01-16 04:44:41 +00:00
Mark Tempel
d57d41f1f8 Update ping to build again.
Remove some errors.

svn path=/trunk/; revision=7673
2004-01-16 04:43:19 +00:00
Mark Tempel
f1ec3f9804 Update finger to build again.
svn path=/trunk/; revision=7672
2004-01-16 04:42:06 +00:00
Mark Tempel
d236f9c5f7 Update to build snmpapi.a
svn path=/trunk/; revision=7671
2004-01-16 04:35:07 +00:00
Mark Tempel
f118079b90 Update to add in some typedefs needed my winsock2.h
svn path=/trunk/; revision=7670
2004-01-16 03:41:13 +00:00
Mark Tempel
aab70138d5 Update to add in some typedefs needed my winsock2.h
svn path=/trunk/; revision=7669
2004-01-16 03:35:03 +00:00
Thomas Bluemel
0cf7978c58 Draw window icons into the title bar.
However SendMessageTimeout() needs to be implemented to get it working properly (and also DrawIconEx() has to be extended to use StretchBlt() in order to get drawing big icons poperly.

svn path=/trunk/; revision=7668
2004-01-15 22:33:30 +00:00
Gé van Geldorp
304b25bbb6 Allow building with released 2.4 w32api and current pre-2.5 CVS w32api
svn path=/trunk/; revision=7667
2004-01-15 22:21:36 +00:00
Martin Fuchs
b125070d51 remove unused variable 'commandlen'
svn path=/trunk/; revision=7666
2004-01-15 22:20:57 +00:00
Martin Fuchs
17198161b0 use return value of GetLocaleInfoW() in GetTimeFormatW()
svn path=/trunk/; revision=7665
2004-01-15 22:10:29 +00:00
Martin Fuchs
41fd456b47 - merged in WineHQ's shell32 commit about "Get rid of W->A calls for shlexec" and FindExecutableW()
- fixed some errors with wrong buffer lengths for wide character strings when calling RegQueryValueW()

svn path=/trunk/; revision=7664
2004-01-15 22:09:33 +00:00
Gé van Geldorp
c15141cd94 Patch by Filip Navara.
- Unlock DC in error case.

svn path=/trunk/; revision=7663
2004-01-15 21:03:05 +00:00
Gé van Geldorp
a51baa3efc Patch by Filip Navara.
- Fixed foolish comparing of window handle and pointer.
- Fixed dereferencing of not referenced window in WinPosSetWindowPos.

svn path=/trunk/; revision=7662
2004-01-15 21:02:39 +00:00
Gé van Geldorp
78bad70f56 Patch by Filip Navara
- Removed nonsense code for activating invisible windows in NtUserCreateWindowEx.

svn path=/trunk/; revision=7661
2004-01-15 21:02:09 +00:00
Gé van Geldorp
c2b74fc86f Patch by Filip Navara.
- Don't ask twice for window from the same specified point.

svn path=/trunk/; revision=7660
2004-01-15 21:01:40 +00:00
Gé van Geldorp
1ccba09119 Patch by Filip Navara.
- Don't try to move window on the top if it is already.
- Removed small block of commented-out code.
- Activated the message queue locking which caused dead-lock earlier.

svn path=/trunk/; revision=7659
2004-01-15 21:00:49 +00:00
Gé van Geldorp
aded6947aa Patch by Filip Navara.
- Fixed IsChild.

svn path=/trunk/; revision=7658
2004-01-15 20:59:57 +00:00
Gé van Geldorp
6afe5b36ec Patch by Filip Navara.
- Work on correctly activating the MDI child windows.

svn path=/trunk/; revision=7657
2004-01-15 20:59:35 +00:00
Gé van Geldorp
077f983899 Fix VGA display corruption caused by mouse pointer
svn path=/trunk/; revision=7649
2004-01-15 16:29:10 +00:00
Eric Kohl
9595c8617b Implemented most of the user profile creation.
svn path=/trunk/; revision=7646
2004-01-15 14:59:06 +00:00
Eric Kohl
4a42875891 Resorted dlls and made libwine a static library.
svn path=/trunk/; revision=7645
2004-01-15 10:32:19 +00:00
Eric Kohl
9dfb5ee1cc Fixed a potential cause of registry corruption in NtSetValueKey():
- Mark all modified cells dirty.
- Allocate value cell after value list cell has been created or resized.

svn path=/trunk/; revision=7643
2004-01-15 09:26:56 +00:00
Martin Fuchs
c6f4c292e9 changed comment to a better description
svn path=/trunk/; revision=7642
2004-01-15 08:29:15 +00:00
Mark Tempel
0acbe2acf6 Really fix the make file this time (and add the maze demo back in :) )
svn path=/trunk/; revision=7641
2004-01-15 06:36:44 +00:00
Mark Tempel
4729e23087 Remove finger from the list of apps to build. This allows the apps list to make untill the header issues involved with network applications can be worked out.
svn path=/trunk/; revision=7640
2004-01-15 06:32:25 +00:00
Mark Tempel
4f49fbcdbc Update to remove a bit of MFC style preprocessor abuse to get this application to compile.
svn path=/trunk/; revision=7639
2004-01-15 05:27:18 +00:00
Gé van Geldorp
f3691049d8 Bump version number on HEAD
svn path=/trunk/; revision=7635
2004-01-14 23:40:14 +00:00
Richard Campbell
782a2efe59 changed explorer slightly
svn path=/trunk/; revision=7633
2004-01-14 23:28:33 +00:00
Gé van Geldorp
490c55529b Set explorer as default shell
svn path=/trunk/; revision=7632
2004-01-14 23:21:31 +00:00
Gé van Geldorp
0a8c4b149b Add creation of command prompt shortcut on desktop
svn path=/trunk/; revision=7631
2004-01-14 23:17:50 +00:00
Gé van Geldorp
89cfa2f16d Fix crash when clicking outside any button
svn path=/trunk/; revision=7630
2004-01-14 23:16:59 +00:00
Gé van Geldorp
95adb6598c Return nTrackPos if requested
svn path=/trunk/; revision=7629
2004-01-14 22:18:35 +00:00
Gé van Geldorp
1ec39bbe83 Rename SEVERITY_* constants to SYSSETUP_SEVERITY_* to avoid naming conflict
svn path=/trunk/; revision=7628
2004-01-14 22:15:09 +00:00
Richard Campbell
73b055af44 added small FIXME note.
svn path=/trunk/; revision=7627
2004-01-14 21:41:24 +00:00
Richard Campbell
da051e4b51 Implement GetLocaleInfoW
svn path=/trunk/; revision=7626
2004-01-14 21:40:12 +00:00
Gé van Geldorp
fa6209cc0f Scrollbar implementation
svn path=/trunk/; revision=7625
2004-01-14 21:28:25 +00:00
Richard Campbell
eb5f406f20 use GetTimeFormat for explorer, since it displays time properly for the most part.
svn path=/trunk/; revision=7624
2004-01-14 20:21:16 +00:00
Filip Navara
9f007e7037 Size optimalizations.
svn path=/trunk/; revision=7623
2004-01-14 16:38:15 +00:00
Richard Campbell
f43df06422 implemented GetTimeFormat, loosely based off from wine, still broken though. This might not be 100% correct, but it compiles and doesn't crash, i'll go over it and implement the functions it depends on tomorrow.
svn path=/trunk/; revision=7622
2004-01-14 07:22:17 +00:00
Steven Edwards
f05da1af6e Added taskmgr, oledlg and cabinet in time for 0.2......
svn path=/trunk/; revision=7621
2004-01-14 02:14:46 +00:00
Steven Edwards
f06451968c Updated the WINE porting Readme for 0.2 Release
svn path=/trunk/; revision=7620
2004-01-14 02:08:32 +00:00
Steven Edwards
fc98d15686 Ported oledlg.dll from WINE
svn path=/trunk/; revision=7619
2004-01-14 01:55:00 +00:00
Steven Edwards
5ce6d8afc9 Ported cabinet.dll ported from WINE.
svn path=/trunk/; revision=7618
2004-01-14 01:47:46 +00:00
Steven Edwards
ee78d6302f Added fci/fdi.h as w32api would not accept Cabinet support headers.
svn path=/trunk/; revision=7617
2004-01-14 01:47:01 +00:00
Martin Fuchs
a40cb5023f automatically adjusted size of notification area and quicklaunch bar in desktop bar
svn path=/trunk/; revision=7616
2004-01-13 23:35:47 +00:00
Gé van Geldorp
61b6e0fe14 Install more DLLs
svn path=/trunk/; revision=7615
2004-01-13 22:04:31 +00:00
Filip Navara
109bff5226 Better palette generating algorithm.
svn path=/trunk/; revision=7614
2004-01-13 19:45:31 +00:00
Hartmut Birr
1057df8763 - Fixed the month of the date on the image.
- Used the last write time for the time value on the image.

svn path=/trunk/; revision=7612
2004-01-13 19:25:03 +00:00
Hartmut Birr
a07bc80d2e - Fixed the handling of command line parameters between quotes.
svn path=/trunk/; revision=7611
2004-01-13 18:16:05 +00:00
Steven Edwards
7f8041c8b9 Fix building with DBG = 1
svn path=/trunk/; revision=7610
2004-01-13 17:24:41 +00:00
Filip Navara
42c7da6d23 Removed file that accidently got into CVS.
svn path=/trunk/; revision=7609
2004-01-13 17:22:49 +00:00
Filip Navara
64f4bcec4e Fixed.
svn path=/trunk/; revision=7608
2004-01-13 17:19:28 +00:00
Filip Navara
bc0b751b2b Initial version of generic framebuffer display driver.
svn path=/trunk/; revision=7607
2004-01-13 17:18:33 +00:00
Filip Navara
e1815888c5 Scrollbar redrawing fix.
svn path=/trunk/; revision=7606
2004-01-13 17:14:38 +00:00
Filip Navara
6fec87f961 Removed some nonsense code that has no effect.
svn path=/trunk/; revision=7605
2004-01-13 17:13:48 +00:00
Eric Kohl
208e3769eb Add user profile directory functions.
Create user profile directories from registry.

svn path=/trunk/; revision=7604
2004-01-13 12:34:09 +00:00
Eric Kohl
992dc83fd2 Moved a lot of registry settings around.
svn path=/trunk/; revision=7603
2004-01-13 12:30:54 +00:00
Eric Kohl
46059ee5d0 Cleaned up NtSetValueKey() and NtQueryValueKey().
Made CmiScanKeyForValue() more robust.

svn path=/trunk/; revision=7602
2004-01-13 12:29:27 +00:00
Richard Campbell
bc5e5cf2fd a small reversion from other mod that wasn't committed.
svn path=/trunk/; revision=7601
2004-01-13 05:14:19 +00:00
Richard Campbell
22d27ef5ec - Modified Tray Notify area and quicklaunch size to be smaller (to accomodate the 640x480 of the standard vga driver in ROS). NOTE that this really needs to autosize based on contents.
- Format the time for your specific locale.  This allows 12 hour clock under windows, note that the function used probably isn't implemented in ROS. *not committed, not committing until after 0.2 is released*

svn path=/trunk/; revision=7600
2004-01-13 05:09:41 +00:00
Art Yerkes
a9582ff53d Proper search for lines and files as with functions.
svn path=/trunk/; revision=7599
2004-01-13 03:43:01 +00:00
Art Yerkes
2b806f43c8 Re-enabled stabs reading in the kernel debugger.
In ke/main.c, stabs for boot time drivers that were loaded with the kernel
are linked and enabled before calling KdbInit, so that the user has them
available.

In ldr, drivers are now loaded with their symbols if available.  This applies
to userland dlls, too.

I added DEL as well as backspace to the keys that cause the cursor to back
up in kdb.

The 'addr' command in kdb now prints a correct address (with symbol
info if available).

The kernel stack trace printer in exp.c now uses kdb to print addresses if
it was enabled.

svn path=/trunk/; revision=7598
2004-01-13 03:23:11 +00:00
Steven Edwards
e1399c5621 Added notepad ported from WINE. Not built by default but its there
if you want to edit your code under ROS without a reboot.

We should move this to where ever the apps realy belong......
subsys/system? apps/utils?.......

svn path=/trunk/; revision=7597
2004-01-13 00:01:52 +00:00
Steven Edwards
c24c294c02 Added -D__REACTOS__
svn path=/trunk/; revision=7596
2004-01-12 23:48:37 +00:00
Steven Edwards
5dbcaef65b Added comdlg32.dll and imm32.dll to the build.
svn path=/trunk/; revision=7595
2004-01-12 23:47:51 +00:00
Steven Edwards
d429625fea Fixed comdlg32.dll under ReactOS
Start -> Run -> Browse now works in explorer even if its slow.

svn path=/trunk/; revision=7594
2004-01-12 23:46:20 +00:00
Steven Edwards
aa5d25239a Some minor addons to work around missing things in w32api.
svn path=/trunk/; revision=7593
2004-01-12 23:44:24 +00:00
Steven Edwards
4e26cd81eb Add a semi-working stub of GetDefaultPrinter[A/W] ported from WINE.
This isnt right but its needed to get comdlg32.dll working.

svn path=/trunk/; revision=7592
2004-01-12 23:42:23 +00:00
Martin Fuchs
27e99ffec4 use system image list instead of discrete icons as far as possible
svn path=/trunk/; revision=7591
2004-01-12 23:03:38 +00:00
Steven Edwards
f4ee51ec85 Build fixes for w32api.
svn path=/trunk/; revision=7590
2004-01-12 22:45:53 +00:00
Gé van Geldorp
08277c1b6a Rewrite loop so it can't be optimized away. Patch by Mike Nordell
svn path=/trunk/; revision=7589
2004-01-12 22:36:04 +00:00
Gé van Geldorp
a07586dc9d Try harder to find another window to activate, fixes bug #127
svn path=/trunk/; revision=7588
2004-01-12 22:26:00 +00:00
Filip Navara
02fb8db0d0 Temporary reverted my last painting change before I'll do it the right way.
svn path=/trunk/; revision=7587
2004-01-12 21:24:20 +00:00
Filip Navara
54beec6da4 Minor fix.
svn path=/trunk/; revision=7586
2004-01-12 20:52:37 +00:00
Gé van Geldorp
b3828d8c73 Remove debugging cruft
svn path=/trunk/; revision=7585
2004-01-12 20:51:05 +00:00
Gé van Geldorp
e5d2f4623c Handle mouse activation of windows by setting it (or its ancestor) as
foreground window instead of only focus window

svn path=/trunk/; revision=7584
2004-01-12 20:48:48 +00:00
Martin Fuchs
63179798b9 support for pos1/end in keyboard navigation
svn path=/trunk/; revision=7583
2004-01-12 20:46:01 +00:00
Gé van Geldorp
117693c338 WA_* is stored in wParam, not lParam
svn path=/trunk/; revision=7582
2004-01-12 20:38:59 +00:00
Thomas Bluemel
fb7c647040 fixed GetVolumeInformationW(), GetDiskFreeSpaceW() and GetDiskFreeSpaceExW()
svn path=/trunk/; revision=7581
2004-01-12 20:02:42 +00:00
Eric Kohl
1631cca917 Reverted most of the changes from 2004-01-08.
Fixed buggy key enumeration for volatile and 'foreign' keys.

svn path=/trunk/; revision=7580
2004-01-12 12:52:27 +00:00
Gé van Geldorp
314759a953 Display both cmd.exe version and OS version when running under ReactOS
svn path=/trunk/; revision=7579
2004-01-12 11:06:27 +00:00
Gé van Geldorp
8f153a5029 Include build no in szCSDVersion
svn path=/trunk/; revision=7578
2004-01-12 11:05:38 +00:00
Gé van Geldorp
ddf0217684 Change build number to current YYYYMMDD, include state (CVS, RC, FINAL)
in version

svn path=/trunk/; revision=7577
2004-01-12 00:22:35 +00:00
Filip Navara
4a55551375 Fixes on paining code to get PuTTY and RegEdit working correctly.
svn path=/trunk/; revision=7576
2004-01-12 00:07:34 +00:00
Martin Fuchs
2a72140cb1 keyboard navigation in start menu
svn path=/trunk/; revision=7575
2004-01-11 22:20:59 +00:00
Filip Navara
f784ea6e51 Workaround for W32API bug.
svn path=/trunk/; revision=7574
2004-01-11 21:42:54 +00:00
Filip Navara
73b404c2ea - Removed some obsolete headers.
- Converted some of the (mostly network) stuff to compile with W32API.

svn path=/trunk/; revision=7573
2004-01-11 20:46:06 +00:00
Gé van Geldorp
881fd1b420 Do a dummy BitBlt at the end of a MaskBitBlt to inform the driver that
a region was updated. Fixes bug #125

svn path=/trunk/; revision=7572
2004-01-11 19:52:27 +00:00
Gé van Geldorp
e98f4ce2f0 Auto-detect whether to create a GUI or a TUI console
svn path=/trunk/; revision=7571
2004-01-11 17:31:16 +00:00
Emanuele Aliberti
0307fd628b Little program to report how NT stati are converted into a Win32 error code by NTDLL. Running it under real NT 4.0/5.x and under ROS will show the differences.
svn path=/trunk/; revision=7570
2004-01-11 17:06:21 +00:00
Martin Fuchs
fecf52f44e removed unnecessary commented out lines
svn path=/trunk/; revision=7569
2004-01-11 12:34:34 +00:00
Martin Fuchs
ad4a39e88a removed C++ comments
svn path=/trunk/; revision=7568
2004-01-11 12:24:56 +00:00
Martin Fuchs
3d13a75874 RecursiveCreateDirectory()
svn path=/trunk/; revision=7567
2004-01-11 11:59:22 +00:00
Martin Fuchs
bd31a6dcde adjustments for building in Wine; eliminated compiler warnings
svn path=/trunk/; revision=7566
2004-01-11 11:40:50 +00:00
Hartmut Birr
22c683b088 - Fixed the binary search in _dosmaperr.
svn path=/trunk/; revision=7565
2004-01-11 10:58:45 +00:00
Martin Fuchs
90c35972de re-inserted execfuncparameter for SHELL_Execute16()
svn path=/trunk/; revision=7564
2004-01-11 09:39:00 +00:00
Gé van Geldorp
98f8c7a3cc Print args of DPRINT and DPRINT1 too
svn path=/trunk/; revision=7563
2004-01-11 01:43:18 +00:00
Gé van Geldorp
5eef2adaff Silence debug message when DeleteObject()ing a NULL object
svn path=/trunk/; revision=7562
2004-01-11 01:42:08 +00:00
Hartmut Birr
bc6f5312c7 - Fixed a wrong parameter in a call to LdrpLoadUserModuleSymbols.
svn path=/trunk/; revision=7561
2004-01-11 00:25:17 +00:00
Martin Fuchs
adfc55b3cf fixes for many ShellExecute() problems
svn path=/trunk/; revision=7560
2004-01-10 23:01:48 +00:00
Gé van Geldorp
ad5496bb9b Use IntLPtoDP instead of NtGdiLPtoDP since kernel addresses are passed
svn path=/trunk/; revision=7559
2004-01-10 21:59:05 +00:00
Filip Navara
449966544c Minor cleanup.
svn path=/trunk/; revision=7558
2004-01-10 21:46:25 +00:00
Art Yerkes
225fb101e7 Added javascript initialization.
svn path=/trunk/; revision=7557
2004-01-10 21:14:39 +00:00
Art Yerkes
38758dfce7 Added kjs system to the kernel.
svn path=/trunk/; revision=7556
2004-01-10 21:06:38 +00:00
Art Yerkes
a047e3ecf5 Added usage document.
svn path=/trunk/; revision=7555
2004-01-10 21:04:49 +00:00
Art Yerkes
f48739f395 Added kjs -- The kernel javascript system.
This system allows the kernel debugger to be scripted with the new js
command.

Functions for reading and writing memory, as well as reading the module
list, the registry, and the trap frame registers are provided.  A simple
mechanism is provided for reading javascript initialization from the
registry so that the user may provide custom functions for use during
debugging sessions.

I have already used it to find a bug in kdb itself; as well as to list
sections in modules and perform various other tedious tasks often
required while debugging linked lists, etc.

This is a static library that will be built when KDBG=1, and linked
with ntoskrnl.

svn path=/trunk/; revision=7554
2004-01-10 20:38:18 +00:00
Martin Fuchs
0d8f07c6a3 ShellExecute...(): expand environment strings
svn path=/trunk/; revision=7553
2004-01-10 17:32:32 +00:00
Martin Fuchs
3a8b4c506b fix for incorrect start directories
svn path=/trunk/; revision=7552
2004-01-10 17:09:43 +00:00
Martin Fuchs
877d88090f prepare hidden startmenu to enhance responsivness
svn path=/trunk/; revision=7551
2004-01-10 17:08:31 +00:00
Filip Navara
e7e924134c Modified the location of VGA driver.
svn path=/trunk/; revision=7550
2004-01-10 15:49:55 +00:00
Filip Navara
902f9f5ba3 Removed the VGA driver from the old location.
svn path=/trunk/; revision=7549
2004-01-10 14:42:20 +00:00
Filip Navara
095ab8c8dd Moved video drivers to a separate directory and added initial version of VBE miniport driver.
svn path=/trunk/; revision=7548
2004-01-10 14:39:21 +00:00
Hartmut Birr
cba93d012e - Fixed the freeing of boot driver memory if KDBG is defined.
svn path=/trunk/; revision=7547
2004-01-10 14:24:30 +00:00
Hartmut Birr
deb18d2120 - Check first for string length and second for the string end in string/stringw.
svn path=/trunk/; revision=7546
2004-01-10 14:22:14 +00:00
Gé van Geldorp
7da5a1aca6 Pass inheritable attribute on to kernel
svn path=/trunk/; revision=7545
2004-01-10 13:54:52 +00:00
Martin Fuchs
6b88f5285f merged WineHQ changes
svn path=/trunk/; revision=7544
2004-01-10 10:35:52 +00:00
Art Yerkes
091c63fe23 These former stubs are now defined in fillshap.c
ExtFloodFill
FloodFill

svn path=/trunk/; revision=7543
2004-01-10 02:57:08 +00:00
Steven Edwards
c7fc094e9d Removed taskmgr.
svn path=/trunk/; revision=7542
2004-01-10 02:15:50 +00:00
Steven Edwards
04ee7024f3 Moved taskmgr from rosapps to reactos module for 0.2 release.
svn path=/trunk/; revision=7541
2004-01-10 02:14:13 +00:00
Richard Campbell
8d2d328ced Moved (Ext)FloodFill to fillshap.c and have it call NtGdi(Ext)FloodFill
svn path=/trunk/; revision=7540
2004-01-10 02:10:27 +00:00
Richard Campbell
dc9be66534 FloodFill now calls ExtFloodFill with FLOODFILLBORDER, though this is rather pointless as ExtFloodFill isn't implemented.
svn path=/trunk/; revision=7539
2004-01-10 01:50:49 +00:00
Steven Edwards
919d5a7811 Added -D__REACTOS__
svn path=/trunk/; revision=7538
2004-01-10 00:39:52 +00:00
Steven Edwards
7a53ba6050 Removed the last of the C++ style comments. Adjusted the coding style a bit.
svn path=/trunk/; revision=7537
2004-01-09 23:00:43 +00:00
Gé van Geldorp
2c6c5f8a32 Silence debug message
svn path=/trunk/; revision=7536
2004-01-09 22:52:30 +00:00
Steven Edwards
17a2022200 Convert the last of Task Manager from C++ to C.
Patch by Eric Pouech.

svn path=/trunk/; revision=7535
2004-01-09 22:28:32 +00:00
Gé van Geldorp
3ca5b12bca Add needed libs
svn path=/trunk/; revision=7534
2004-01-09 21:54:24 +00:00
Gé van Geldorp
c2ae3f1124 Never try to stuff more into the Ioctl OutputBuffer than will fit
svn path=/trunk/; revision=7533
2004-01-09 20:22:38 +00:00
Gé van Geldorp
42367670aa IOCTL_DISK_SET_DRIVE_LAYOUT doesn't return any info so leave Information at 0
svn path=/trunk/; revision=7532
2004-01-09 20:21:31 +00:00
Eric Kohl
ed1971f7c3 Add userenv.dll
svn path=/trunk/; revision=7531
2004-01-09 20:06:47 +00:00
Eric Kohl
14eeda1399 Initialize profiles.
svn path=/trunk/; revision=7530
2004-01-09 20:05:04 +00:00
Eric Kohl
0a3b04610c Add userenv.dll
svn path=/trunk/; revision=7529
2004-01-09 19:55:29 +00:00
Eric Kohl
a2e92f560f Create profile directories.
svn path=/trunk/; revision=7528
2004-01-09 19:52:01 +00:00
Eric Kohl
27044f2ad0 Store hive root key name.
Patch partially by Filip Navara.

svn path=/trunk/; revision=7527
2004-01-09 19:44:45 +00:00
Eric Kohl
cff5149eca Do not dereference key objects if they are used to link hives.
svn path=/trunk/; revision=7526
2004-01-09 19:42:40 +00:00
Steven Edwards
8450d1eb80 Changed /NOBOOTSCREEN to /NOGUIBOOT to be
command-line compatible with 2k and XP.

svn path=/trunk/; revision=7525
2004-01-09 17:29:27 +00:00
Steven Edwards
508aa36d5f Changed /NOBOOTSCREEN to /NOGUIBOOT to be
command-line compatible with 2k and XP.

svn path=/trunk/; revision=7524
2004-01-09 17:16:26 +00:00
Aleksey Bragin
586bc7a1fb Johannes Olofsson's swedish keyboard dll (kbdse.dll)
svn path=/trunk/; revision=7523
2004-01-09 13:18:37 +00:00
Martin Fuchs
b580695359 some more ShellExecuteEx() refactoring
svn path=/trunk/; revision=7522
2004-01-09 09:40:59 +00:00
Steven Edwards
e26802329f Added dlgs.h for port of comdlg32.dll
svn path=/trunk/; revision=7521
2004-01-09 02:00:55 +00:00
Steven Edwards
cdb174eccc Ported comdlg32.dll from Wine. There are still a few minor bugs with it.
svn path=/trunk/; revision=7520
2004-01-09 01:58:22 +00:00
Steven Edwards
3c18dfae6f Code cleanup for the Winelib port by Eric Pouech.
svn path=/trunk/; revision=7519
2004-01-09 01:45:06 +00:00
Martin Fuchs
25cfe47ab8 some refactoring for ShellExecuteEx()
svn path=/trunk/; revision=7518
2004-01-09 00:09:29 +00:00
Filip Navara
512aeb1b33 Don't use uninitialized variable in CmiAddKeyToHashTable. Patch by Mike Nordell.
svn path=/trunk/; revision=7517
2004-01-08 22:39:51 +00:00
Filip Navara
9384f583e0 Fix for bug #138.
svn path=/trunk/; revision=7516
2004-01-08 20:59:42 +00:00
Gé van Geldorp
8f41100a91 Re-enable assert
svn path=/trunk/; revision=7515
2004-01-08 20:39:29 +00:00
Gé van Geldorp
13713116d5 MIM_MENUDATA is now defined in w32api CVS HEAD
svn path=/trunk/; revision=7514
2004-01-08 20:31:11 +00:00
Gé van Geldorp
6e186d661c Fix compile-time error when compiling with DBG
svn path=/trunk/; revision=7513
2004-01-08 20:23:20 +00:00
Jason Filby
acf679a8bc Save eax in interrupt_handler2d(). Patch by Mike Nordell.
svn path=/trunk/; revision=7512
2004-01-08 18:54:12 +00:00
Jason Filby
2b0c6570ca Add a _commit() to fflush() functions. As advised by Mike Nordell.
svn path=/trunk/; revision=7511
2004-01-08 18:42:44 +00:00
Eric Kohl
0dd0b373bc Use a list to store linked hives.
Enable enumeration of linked hive root keys.
Patch partially written by Filip Navara.

svn path=/trunk/; revision=7510
2004-01-08 15:02:45 +00:00
Eric Kohl
f35801a5a9 Store hive root key name.
Patch partially by Filip Navara.

svn path=/trunk/; revision=7509
2004-01-08 14:57:17 +00:00
Eric Kohl
b576ae3681 Fixed exports
svn path=/trunk/; revision=7508
2004-01-08 14:55:12 +00:00
Martin Fuchs
22922dec07 SHELL_SHGetPathFromIDList()
svn path=/trunk/; revision=7507
2004-01-07 23:34:08 +00:00
Martin Fuchs
01c51c2aab preciser error codes for some shell functions
svn path=/trunk/; revision=7506
2004-01-07 21:48:29 +00:00
Martin Fuchs
18f935cbb8 create quicklaunch dir it it does not already exist
svn path=/trunk/; revision=7505
2004-01-07 21:22:52 +00:00
Emanuele Aliberti
f6f1650b2b Minor changes for NT compatibility.
svn path=/trunk/; revision=7504
2004-01-07 21:13:22 +00:00
Filip Navara
eda6d2e794 Move to a new line in EngDebugPrint.
svn path=/trunk/; revision=7503
2004-01-07 19:24:37 +00:00
Steven Edwards
09a23ffea3 Compleated the update of the license headers and converted most
of the rest of the C++ style comments to C.

svn path=/trunk/; revision=7502
2004-01-07 18:57:22 +00:00
Emanuele Aliberti
f45476a7fb Copyright years: 1998-2004.
svn path=/trunk/; revision=7501
2004-01-07 11:14:11 +00:00
Hartmut Birr
f38b2b2f0a - Added 'image file execution options' for loadlib.exe to print some infos while a dll is loading.
svn path=/trunk/; revision=7500
2004-01-07 10:18:21 +00:00
Hartmut Birr
c7d94ffc7c - Fixed the hex conversion in RtlUnicodeStringToInteger.
svn path=/trunk/; revision=7499
2004-01-07 10:11:03 +00:00
Hartmut Birr
446ec6d27b - Implemented fast loading of bounded images.
- Implemented handling of tls sections.
- Fixed referencing of loaded dlls.

svn path=/trunk/; revision=7498
2004-01-07 10:09:03 +00:00
Martin Fuchs
d3fbd8e582 declared SHCoCreateInstance()
svn path=/trunk/; revision=7497
2004-01-07 08:48:02 +00:00
Martin Fuchs
0e1aea5234 merge in WineHQ changes
svn path=/trunk/; revision=7496
2004-01-07 07:43:19 +00:00
Martin Fuchs
c7b79d1742 hopefully the last fix for _SHGetPathFromIDListA/W() to be compatible with MS Windows and make control panel icons reappear
svn path=/trunk/; revision=7495
2004-01-06 22:40:53 +00:00
Martin Fuchs
4f28875a40 take over Alexandre's better solution for LPSHELLEXECUTEINFOA
svn path=/trunk/; revision=7494
2004-01-06 22:15:15 +00:00
Martin Fuchs
df4c7c8464 implemented IShellExecuteHook for control panel
svn path=/trunk/; revision=7493
2004-01-06 21:33:12 +00:00
Martin Fuchs
35e2c06791 implemented IShellExecuteHook for control panel
svn path=/trunk/; revision=7492
2004-01-06 21:33:12 +00:00
Martin Fuchs
95d7074a7f merged WineHQ correction for SHCoCreateInstance()
svn path=/trunk/; revision=7491
2004-01-06 21:31:27 +00:00
Martin Fuchs
6cd1349c6a merged WinHQ Makefile optimization
svn path=/trunk/; revision=7490
2004-01-06 21:30:29 +00:00
Martin Fuchs
38883fca0b some small improvements
svn path=/trunk/; revision=7489
2004-01-06 21:27:28 +00:00
Martin Fuchs
769315c915 define interface IShellExecuteHook
svn path=/trunk/; revision=7488
2004-01-06 17:21:34 +00:00
Martin Fuchs
41e10d4931 use _vsnprintf() instead of vsnprintf()
svn path=/trunk/; revision=7487
2004-01-06 17:19:55 +00:00
Martin Fuchs
903c2007e0 include <wine/port.h> header file
svn path=/trunk/; revision=7486
2004-01-06 17:13:24 +00:00
Martin Fuchs
163af77b0b implemented wine_dbg_sprintf()
svn path=/trunk/; revision=7485
2004-01-06 16:44:51 +00:00
Martin Fuchs
a67fb59c6e declared wine_dbg_sprintf()
svn path=/trunk/; revision=7484
2004-01-06 16:38:40 +00:00
Eric Kohl
d4973a4ea4 Moved some Nt/Zw functions and types.
svn path=/trunk/; revision=7483
2004-01-06 16:11:57 +00:00
Martin Fuchs
409b6b7682 call QueryInterface for Desktop in SHBindToParent()
svn path=/trunk/; revision=7482
2004-01-06 15:53:06 +00:00
Martin Fuchs
7cf14adb77 FIXME for CreateProcess(): use CurDir to search for the executable file in the new working directory in GetFileName()
svn path=/trunk/; revision=7481
2004-01-06 13:47:01 +00:00
Martin Fuchs
db725ea7e2 correct implementation of SHGetRealIDL()
svn path=/trunk/; revision=7480
2004-01-06 13:32:57 +00:00
Thomas Bluemel
0c5f9ff854 fixed compiling problems
svn path=/trunk/; revision=7479
2004-01-06 12:45:46 +00:00
Martin Fuchs
fff71811fe fixed string length in RenderFILENAMEW()
svn path=/trunk/; revision=7478
2004-01-06 12:34:17 +00:00
Martin Fuchs
a113fd463b FIXME comment for SHGetSetSettings()
svn path=/trunk/; revision=7477
2004-01-06 11:46:32 +00:00
Martin Fuchs
246790dff7 renamed PathYetAnotherMakeUniqueNameA() to PathYetAnotherMakeUniqueName()
svn path=/trunk/; revision=7476
2004-01-06 11:46:12 +00:00
Martin Fuchs
b9107ed69d implemented SHGetRealIDL()
svn path=/trunk/; revision=7475
2004-01-06 11:45:37 +00:00
Martin Fuchs
18045c4c66 added FIXME comments for IResolveShellLink
svn path=/trunk/; revision=7474
2004-01-06 11:17:38 +00:00
Martin Fuchs
80f7dc3e34 fixed buffer size management in _ShgetPathFromIDListA()
svn path=/trunk/; revision=7473
2004-01-06 11:11:14 +00:00
Martin Fuchs
4562169f04 added some FIXME comments to ShellExecuteExA32()
svn path=/trunk/; revision=7472
2004-01-06 11:10:23 +00:00
Martin Fuchs
06983e9ad1 corrected return type of SHFileOperation()
svn path=/trunk/; revision=7471
2004-01-06 11:09:46 +00:00
Martin Fuchs
e6d3a05dff corrected types and function name of PathYetAnotherMakeUniqueName()
svn path=/trunk/; revision=7470
2004-01-06 11:08:08 +00:00
Art Yerkes
5662831f38 Fixes for bugs previously posted in bugzilla.
svn path=/trunk/; revision=7469
2004-01-06 03:44:38 +00:00
Vizzini
e2bc674743 added a cast to silence a compiler warning
svn path=/trunk/; revision=7468
2004-01-05 20:38:48 +00:00
Vizzini
282696e4ee cross-compile fixes
svn path=/trunk/; revision=7467
2004-01-05 20:01:17 +00:00
Vizzini
7bb4859c69 cross-compile fixes for winebuild
svn path=/trunk/; revision=7466
2004-01-05 19:49:59 +00:00
Martin Fuchs
48113b3c64 SHELL32_GetItemAttributes(): implemented SFGAO_LINK
svn path=/trunk/; revision=7465
2004-01-05 19:30:59 +00:00
Martin Fuchs
2b81d7c7cc dependency scanning
svn path=/trunk/; revision=7464
2004-01-05 18:53:08 +00:00
Filip Navara
5463ff80c7 Cross-compilation fixes.
svn path=/trunk/; revision=7463
2004-01-05 18:42:56 +00:00
Filip Navara
2556727beb Remove winver.h and fix the errors.
svn path=/trunk/; revision=7462
2004-01-05 18:12:18 +00:00
Thomas Bluemel
94ecbd89db fixed div/0 bug
svn path=/trunk/; revision=7461
2004-01-05 15:43:55 +00:00
Thomas Bluemel
583de66b3e tamlin's work on compiling the kernel with another compiler than GCC. Patch by Mike Nordell.
svn path=/trunk/; revision=7460
2004-01-05 14:28:21 +00:00
Thomas Bluemel
16da2140a1 struct packing compiler independence. Patch by Mike Nordell.
svn path=/trunk/; revision=7459
2004-01-05 13:50:23 +00:00
Thomas Bluemel
1354f5b5a9 Correct compiler-agnostic stdcall function pointers. Patch by Mike Nordell.
svn path=/trunk/; revision=7458
2004-01-05 13:49:18 +00:00
Martin Fuchs
83cc821fc7 removed NONAMELESSUNION and NONAMELESSSTRUCT
svn path=/trunk/; revision=7457
2004-01-04 23:36:06 +00:00
Martin Fuchs
7bf39cb245 use DUMMYUNIONNAME instead of plain 'u'
svn path=/trunk/; revision=7456
2004-01-04 23:15:36 +00:00
Martin Fuchs
63080fde1a eliminated warnings for GCC 3.3
svn path=/trunk/; revision=7455
2004-01-04 23:15:16 +00:00
Thomas Bluemel
c82235044d some fixes
svn path=/trunk/; revision=7454
2004-01-04 21:26:59 +00:00
Martin Fuchs
73990aee98 read configuration of hidden file extensions from registry
svn path=/trunk/; revision=7453
2004-01-04 21:23:08 +00:00
Martin Fuchs
42a645bad5 enhanced file sytem icon cache
svn path=/trunk/; revision=7452
2004-01-04 20:48:32 +00:00
Steven Edwards
fc05db5095 Added strpbrkW - I am going to need it for comdlg32 coming this week.
svn path=/trunk/; revision=7451
2004-01-04 20:22:02 +00:00
Martin Fuchs
3073e11cf8 icon caching
svn path=/trunk/; revision=7450
2004-01-04 17:11:53 +00:00
Filip Navara
7babf71f1f Cross-compilation fixes.
svn path=/trunk/; revision=7449
2004-01-04 15:50:41 +00:00
Filip Navara
0386197096 Compilation fixes.
svn path=/trunk/; revision=7448
2004-01-04 14:41:24 +00:00
Gé van Geldorp
bd0297ecdc Rely on CSRSS to do console handle duplication
svn path=/trunk/; revision=7447
2004-01-04 11:40:56 +00:00
Steven Edwards
5ce260d1fa Fix typo spotted by Casper.
svn path=/trunk/; revision=7446
2004-01-04 00:22:32 +00:00
Steven Edwards
ebe1289de5 Use strncmp.
svn path=/trunk/; revision=7445
2004-01-03 23:52:40 +00:00
Steven Edwards
edb38c2bd0 Minor fixes.
svn path=/trunk/; revision=7444
2004-01-03 23:45:25 +00:00
Steven Edwards
5bc9a2c173 Minor fixes.
svn path=/trunk/; revision=7443
2004-01-03 23:34:17 +00:00
Steven Edwards
791019b4b4 Remove wineros.h. The world is better off without it.
svn path=/trunk/; revision=7442
2004-01-03 23:20:11 +00:00
Steven Edwards
f2003fb2a3 Always link to libwine.a first.
svn path=/trunk/; revision=7441
2004-01-03 23:16:03 +00:00
Filip Navara
1571da986b Guard for W32API 2.5.
svn path=/trunk/; revision=7440
2004-01-03 23:14:33 +00:00
Steven Edwards
18a45dba80 Dont run the implib rule on apps.
svn path=/trunk/; revision=7439
2004-01-03 23:12:19 +00:00
Martin Fuchs
2d9a09646b changes restart/shutdown messages to some neutral text (no Windows/WINE/ReactOS
svn path=/trunk/; revision=7438
2004-01-03 23:03:39 +00:00
Gé van Geldorp
cd9ce31d63 Quotation fun
svn path=/trunk/; revision=7437
2004-01-03 23:03:22 +00:00
Martin Fuchs
09ad94f5c7 look into the registry configuration to see which file extensions should be hidden
svn path=/trunk/; revision=7435
2004-01-03 22:50:29 +00:00
Steven Edwards
a06846aefa Define __REACTOS__
svn path=/trunk/; revision=7434
2004-01-03 22:25:59 +00:00
Gé van Geldorp
9407236c53 Add Everaldos terminal.ico as application icon
svn path=/trunk/; revision=7433
2004-01-03 22:18:56 +00:00
Gé van Geldorp
ff2417063d Don't destroy heap on unload, other DLLs might still depend on it
svn path=/trunk/; revision=7432
2004-01-03 21:59:55 +00:00
Martin Fuchs
c738276596 renamed Ole2.c -> ole2.c
svn path=/trunk/; revision=7431
2004-01-03 21:52:27 +00:00
Martin Fuchs
a84e00e10b renamed Ole2.c -> ole2.c
svn path=/trunk/; revision=7430
2004-01-03 21:52:11 +00:00
Martin Fuchs
ca03151737 renamed Ole2.c -> ole2.c
svn path=/trunk/; revision=7429
2004-01-03 21:51:14 +00:00
Martin Fuchs
210498fba3 renamed Ole2.c -> ole2.c
svn path=/trunk/; revision=7428
2004-01-03 21:50:56 +00:00
Martin Fuchs
87a2a6c778 eliminated SHBindToParent()
svn path=/trunk/; revision=7427
2004-01-03 21:05:23 +00:00
Martin Fuchs
4fa9d79e7f eliminated SHBindToParent()
svn path=/trunk/; revision=7426
2004-01-03 21:03:50 +00:00
Martin Fuchs
8d3be28398 link dynamicly to SHBindToParent()
svn path=/trunk/; revision=7425
2004-01-03 18:35:31 +00:00
Martin Fuchs
398b10102e direct file system access for start menu
svn path=/trunk/; revision=7424
2004-01-03 18:27:54 +00:00
Thomas Bluemel
33f1db80ee fixed handling of control focus
svn path=/trunk/; revision=7423
2004-01-03 15:59:46 +00:00
Martin Fuchs
7fbcfcbc71 lazy icon extraction for start menu
svn path=/trunk/; revision=7422
2004-01-03 11:43:41 +00:00
Martin Fuchs
b1f2f1ed55 fix for empty submenus
svn path=/trunk/; revision=7421
2004-01-03 10:24:47 +00:00
Martin Fuchs
955c62bf6a optimized screen update
svn path=/trunk/; revision=7420
2004-01-03 09:03:47 +00:00
Gé van Geldorp
d36decca0d Print substituted values in the output file in the same order as in the
input file

svn path=/trunk/; revision=7419
2004-01-03 08:53:52 +00:00
Martin Fuchs
17d470dad4 begin of drag drop support on desktop
svn path=/trunk/; revision=7418
2004-01-02 23:57:58 +00:00
Filip Navara
4ee6053221 Cleaned up. If there will be any build problems, contact me.
svn path=/trunk/; revision=7417
2004-01-02 23:28:59 +00:00
Martin Fuchs
00d157f1d3 set working directory out of shell links in ShellExecute..()
svn path=/trunk/; revision=7416
2004-01-02 22:47:51 +00:00
Thomas Bluemel
a93fff8b9c added missing and fixed .cvsignore files
svn path=/trunk/; revision=7415
2004-01-02 21:45:22 +00:00
Gé van Geldorp
1fc3cf8187 Allow buidling with current CVS w32api
svn path=/trunk/; revision=7414
2004-01-02 21:29:50 +00:00
Filip Navara
72c429c0e5 Guard for W32API 2.5.
svn path=/trunk/; revision=7413
2004-01-02 21:26:12 +00:00
Martin Fuchs
538a9b34e2 reimplemented start menu as light weight version
svn path=/trunk/; revision=7412
2004-01-02 21:09:41 +00:00
Martin Fuchs
90679ee807 merged wine/dlls/shell32 and reactos/lib/shell32
svn path=/trunk/; revision=7411
2004-01-02 21:03:50 +00:00
Filip Navara
2a542a8199 Guard for W32API 2.5.
svn path=/trunk/; revision=7410
2004-01-02 20:29:46 +00:00
Gé van Geldorp
9f1759234a Refactoring of Wine DLL import
svn path=/trunk/; revision=7409
2004-01-02 19:49:47 +00:00
Martin Fuchs
cc9e382b7a re-added icons in binary mode
svn path=/trunk/; revision=7408
2004-01-02 18:52:37 +00:00
Martin Fuchs
75c9f9f7ed removed non-binary icons
svn path=/trunk/; revision=7407
2004-01-02 18:51:58 +00:00
Filip Navara
22cda87a36 Reverted last change by Martin Fuchs. The icon file was corrupted and prevented proper builds.
svn path=/trunk/; revision=7406
2004-01-02 17:56:30 +00:00
Steven Edwards
dfa3449f1b Enabled support for /DEBUGPORT=FILE
This fixes bug #28
 - Thanks for the help Filip

svn path=/trunk/; revision=7405
2004-01-02 17:46:17 +00:00
Martin Fuchs
89af47536b error messages for missing functions in SHELL32.dll
svn path=/trunk/; revision=7404
2004-01-02 15:38:23 +00:00
Martin Fuchs
338f8e366a integrated start menu root with StartMenuHandler
svn path=/trunk/; revision=7403
2004-01-02 15:26:46 +00:00
Martin Fuchs
975329fe8b class StartMenuHandler
svn path=/trunk/; revision=7402
2004-01-02 15:18:17 +00:00
Martin Fuchs
8f70adb80c enable shoutdown by hitting Alt+F4
svn path=/trunk/; revision=7401
2004-01-02 15:07:42 +00:00
Martin Fuchs
8ca6781591 use COPYCMD for XP to be compatible with NT4
svn path=/trunk/; revision=7400
2004-01-02 14:27:34 +00:00
Jason Filby
23d5fe1c50 Initial tests for memory APIs
svn path=/trunk/; revision=7399
2004-01-02 03:23:25 +00:00
Thomas Bluemel
a5c9f3e660 more improvements
svn path=/trunk/; revision=7398
2004-01-01 22:29:12 +00:00
Martin Fuchs
0e76daebf1 transparency
svn path=/trunk/; revision=7397
2004-01-01 21:12:19 +00:00
Martin Fuchs
98cf42d325 switch explorer icon to new folder symbol
svn path=/trunk/; revision=7396
2004-01-01 20:55:58 +00:00
Martin Fuchs
4b4a555cbc added dependency on resource binaries
svn path=/trunk/; revision=7395
2004-01-01 20:42:52 +00:00
Martin Fuchs
f7f2d1f90d improved icons a bit
svn path=/trunk/; revision=7394
2004-01-01 20:42:27 +00:00
Thomas Bluemel
22cf7a0a7d some more fixes
svn path=/trunk/; revision=7393
2004-01-01 17:47:48 +00:00
Thomas Bluemel
df212d0711 fixed changing of string values (now it works)
svn path=/trunk/; revision=7392
2004-01-01 17:29:05 +00:00
Steven Edwards
a2ef615d16 Added msvcrt20 to list.
svn path=/trunk/; revision=7391
2004-01-01 17:10:55 +00:00
Steven Edwards
11c72d54c6 Added msvcrt20 to list of targets.
svn path=/trunk/; revision=7390
2004-01-01 17:09:30 +00:00
Steven Edwards
ea6bc1f0ee More WINE porting work.
svn path=/trunk/; revision=7389
2004-01-01 17:08:38 +00:00
Martin Fuchs
461d9dcf8c added some more icons for start menu subfolders
svn path=/trunk/; revision=7388
2004-01-01 17:02:07 +00:00
Steven Edwards
ffa50f24ef Fixed compilation
svn path=/trunk/; revision=7387
2004-01-01 16:54:24 +00:00
Thomas Bluemel
f5f5b2ebc8 fixed changing of string values
svn path=/trunk/; revision=7386
2004-01-01 16:45:26 +00:00
Steven Edwards
3a7d842ffb Updated license information.
svn path=/trunk/; revision=7385
2004-01-01 16:32:14 +00:00
Steven Edwards
815d0dee06 removed 2 more tests from the list.
svn path=/trunk/; revision=7384
2004-01-01 16:22:22 +00:00
Steven Edwards
a75a47f9ff removed the messagebox test.
Winhello now displays a messagebox during the hotkey test.

svn path=/trunk/; revision=7383
2004-01-01 16:21:13 +00:00
Steven Edwards
3841fa3f78 Removed hotkey test. Its now part of winhello.
svn path=/trunk/; revision=7382
2004-01-01 16:19:40 +00:00
Martin Fuchs
a2e1521bbe integrated some of Everaldo's icons
svn path=/trunk/; revision=7381
2004-01-01 16:10:31 +00:00
Steven Edwards
2f1da730d4 Updated Info.
svn path=/trunk/; revision=7380
2004-01-01 16:07:21 +00:00
Steven Edwards
e943e91a30 Added a bit of documentation for ReactOS-WINE developers.
This document is a work in progress and is here to help us keep track
of what code we have ported directly from Wine.

svn path=/trunk/; revision=7379
2004-01-01 15:29:51 +00:00
Steven Edwards
073f42e857 - Ported msvcrt20 from WINE (01-01-04)
This get hover from the Win95 CD at least load.

svn path=/trunk/; revision=7378
2004-01-01 15:27:58 +00:00
Thomas Bluemel
ff57ed11e3 added regedit to package list and added version information to regedit and welcome
svn path=/trunk/; revision=7377
2004-01-01 15:26:04 +00:00
Thomas Bluemel
7b27426d88 updated regedit (and some minor changes)
svn path=/trunk/; revision=7376
2004-01-01 15:12:11 +00:00
Gé van Geldorp
769dcae440 Re-create notification window when needed
svn path=/trunk/; revision=7375
2003-12-31 20:16:39 +00:00
Martin Fuchs
eba8b31ea1 WSHELL32 -> SHELL32
svn path=/trunk/; revision=7374
2003-12-31 19:56:02 +00:00
Filip Navara
bf3bd0f212 Bug fixes.
svn path=/trunk/; revision=7373
2003-12-31 19:25:51 +00:00
Thomas Bluemel
3e2d632fc3 do not limit number of clipping rectangles
svn path=/trunk/; revision=7372
2003-12-31 16:10:35 +00:00
Hartmut Birr
b6526368dc - Bypass the completion routines from kernel if there is a
reading or writing request to the storage device.

svn path=/trunk/; revision=7371
2003-12-31 15:07:10 +00:00
Hartmut Birr
e612170f41 - Implemented shared segments for images.
- Fixed a memory leakage in page file sections.
- Fixed the locking bug on cow operations.
- Do not increment the page reference count if the share count is incremented.

svn path=/trunk/; revision=7370
2003-12-31 14:52:06 +00:00
Thomas Bluemel
f8eea2e937 fixed infinite loop if the number of clipping rectangles exceeded the maximum allowed.
svn path=/trunk/; revision=7369
2003-12-31 14:43:48 +00:00
Hartmut Birr
3c069498cc - Made the system time in the shared data page available.
- Queried the system time without holding a lock.
- Splited the timer queue for absolute and relative timers.

svn path=/trunk/; revision=7368
2003-12-31 14:37:34 +00:00
Hartmut Birr
f08ebc1cee - Set the flag IRP_CLOSE_OPERATION in IopDeleteFile.
svn path=/trunk/; revision=7367
2003-12-31 14:20:26 +00:00
Hartmut Birr
237c87c4c3 - Bypass IoSecondStageCompletion for irp's with the flags
IRP_PAGING_IO or IRP_CLOSE_OPERATION in IofCompleteRequest.

svn path=/trunk/; revision=7366
2003-12-31 14:16:18 +00:00
Martin Fuchs
76706d5835 allow UNICODE=0 builds
svn path=/trunk/; revision=7365
2003-12-31 11:45:33 +00:00
Martin Fuchs
1558a94775 allow UNICODE=0 builds
svn path=/trunk/; revision=7364
2003-12-31 11:45:33 +00:00
Martin Fuchs
4d9498236c german frame menu
svn path=/trunk/; revision=7363
2003-12-31 11:33:15 +00:00
Hartmut Birr
3381197e55 Fixed InsertDescendingList and InsertAscendingList.
svn path=/trunk/; revision=7362
2003-12-31 11:33:07 +00:00
Gé van Geldorp
16ed415455 Fix compile problem when compiling with DBG
svn path=/trunk/; revision=7361
2003-12-31 08:18:21 +00:00
Jason Filby
633f796e40 Initial implementaions of MmAllocateContiguousMemorySpecifyCache() and MmFreeContiguousMemorySpecifyCache()
svn path=/trunk/; revision=7360
2003-12-31 05:33:04 +00:00
Martin Fuchs
6ba4d142ab better command line handling for MinGW
svn path=/trunk/; revision=7359
2003-12-31 01:03:08 +00:00
Martin Fuchs
56deb316c5 eliminated GCC -Wall warnings
svn path=/trunk/; revision=7358
2003-12-31 00:50:38 +00:00
Martin Fuchs
ecc0688f2f implemented Explorer About Dialog
svn path=/trunk/; revision=7357
2003-12-31 00:41:01 +00:00
Richard Campbell
0374ccee3d more small fixes
svn path=/trunk/; revision=7356
2003-12-31 00:38:10 +00:00
Steven Edwards
58837d34cc Added Hotkey tests to winhello.
svn path=/trunk/; revision=7355
2003-12-31 00:36:28 +00:00
Steven Edwards
5f7c494081 Make GlobalMemoryStatus lie about what we really have......
svn path=/trunk/; revision=7354
2003-12-30 23:16:43 +00:00
Aleksey Bragin
a755da6416 Make compatible w/both MinGW and MSVC
svn path=/trunk/; revision=7353
2003-12-30 22:33:32 +00:00
Aleksey Bragin
ac110a4500 Fix to be compatible w/both MinGW and MSVC
svn path=/trunk/; revision=7352
2003-12-30 22:18:12 +00:00
Aleksey Bragin
e4c6acf822 Update inline assembler to be compatible with MSVC
svn path=/trunk/; revision=7351
2003-12-30 22:10:45 +00:00
Steven Edwards
729c0cac35 Removed SampleWindow and Winhello2.
They are now all contained in winhello.

svn path=/trunk/; revision=7350
2003-12-30 20:25:13 +00:00
Steven Edwards
125ac57c6b Removed winhello2
svn path=/trunk/; revision=7349
2003-12-30 20:23:58 +00:00
Steven Edwards
aa1befdfab Removed SampleWindow.
svn path=/trunk/; revision=7348
2003-12-30 20:23:24 +00:00
Steven Edwards
562967f063 Merged SimpleWindow and Winhello2 in to winhello
svn path=/trunk/; revision=7347
2003-12-30 20:22:16 +00:00
Thomas Bluemel
cc7800aa6b do not send WM_MOUSEACTIVATE if WM_NCHITTEST returned HTTRANSPARENT
svn path=/trunk/; revision=7346
2003-12-30 20:09:11 +00:00
Steven Edwards
c829b778a9 Fixed makefile
svn path=/trunk/; revision=7345
2003-12-30 19:43:08 +00:00
Steven Edwards
8ca7541c5e WINE has a much better CreateFile test.
svn path=/trunk/; revision=7344
2003-12-30 19:37:06 +00:00
Steven Edwards
ce0de78273 Removed Named pipe test. Its now in the WINE kernel32 regression test.
svn path=/trunk/; revision=7343
2003-12-30 19:32:25 +00:00
Aleksey Bragin
f4a6e3d287 and even third --- please excuse me for so much of commits, it should be one instead of 3 :-)
svn path=/trunk/; revision=7342
2003-12-30 19:23:30 +00:00
Steven Edwards
05dfe2a7c4 Ported more dialog code from Wine to fix dirdlg test app.
svn path=/trunk/; revision=7341
2003-12-30 19:21:55 +00:00
Aleksey Bragin
b3a850e0ea second fix follows
svn path=/trunk/; revision=7340
2003-12-30 19:14:29 +00:00
Aleksey Bragin
55128bd027 Fix for anonymous struct definition, which made at least /drivers/net/dd/pcnet uncompilable
svn path=/trunk/; revision=7339
2003-12-30 19:13:43 +00:00
Aleksey Bragin
49f967d0ed Continue of MSVC-compiling changes....
I double checked, but in case someone's recent commit is somehow overwritten -- please, don't be very frustrated :) -- I will fix it, just drop me a note.

svn path=/trunk/; revision=7338
2003-12-30 18:52:06 +00:00
Aleksey Bragin
4150f6827f Continue of MSVC-compiling changes....
I double checked, but in case someone's recent commit is somehow overwritten -- please, don't be very frustrated :) -- I will fix it, just drop me a note.

svn path=/trunk/; revision=7337
2003-12-30 18:34:59 +00:00
Aleksey Bragin
920ee1834d Continue of MSVC-compiling changes....
I double checked, but in case someone's recent commit is somehow overwritten -- please, don't be very frustrated :) -- I will fix it, just drop me a note.
struct KTHREAD, ETHREAD, EPROCESS removed from this file by Mike Nordell, since their purpose is very unclear.

svn path=/trunk/; revision=7336
2003-12-30 18:22:08 +00:00
Thomas Bluemel
7ff3d66ade fixed IntFindWindowToRepaint() so it only returns handles to child windows that belong to the calling thread
svn path=/trunk/; revision=7335
2003-12-30 18:19:20 +00:00
Aleksey Bragin
2e3675731a Continue of MSVC-compiling changes....
svn path=/trunk/; revision=7334
2003-12-30 17:39:38 +00:00
Thomas Bluemel
b670b417e9 fixed IntIsWindowDrawable()
svn path=/trunk/; revision=7333
2003-12-30 16:55:00 +00:00
Robert Dickenson
a17da31116 removed unused, useless & erroneous makefile...
svn path=/trunk/; revision=7332
2003-12-30 16:15:36 +00:00
Aleksey Bragin
b6310a8efc added Thomas's changes to defines.h (sorry they were taken away by my update)
svn path=/trunk/; revision=7331
2003-12-30 14:31:51 +00:00
Thomas Bluemel
b8aa4bcd37 added missing .cvsignore and updated makefile
svn path=/trunk/; revision=7330
2003-12-30 14:28:48 +00:00
Hartmut Birr
837f9ed8a7 - Fixed the stack deallocation in RtlRosFreeUserThreadStack.
svn path=/trunk/; revision=7329
2003-12-30 13:06:54 +00:00
Richard Campbell
1a75d537fa ewps, forgot an icon, also a small update to the simple makefile, feel free to 'fix' this makefile to be compatible with the ReactOS build system.
svn path=/trunk/; revision=7328
2003-12-30 11:55:54 +00:00
Aleksey Bragin
f43d6624c8 It is a part of a multipart commit, related to making ReactOS compilable both under MinGW and MSVC6.
Main work on converting ROS to be able to be compiled under MSVC6 was done by Mark Nordell.
Work done by me - incorporating all this stuff into the newest CVS tree.

svn path=/trunk/; revision=7327
2003-12-30 11:53:35 +00:00
Richard Campbell
077fbea4d3 added directories and a dummy file for a wordpad and paint clone.
svn path=/trunk/; revision=7326
2003-12-30 11:53:28 +00:00
Richard Campbell
7d8b928a54 initial version of a reactos version of notepad. didn't have time to finish it tonight before i went to work, so i'll work on it more later.
svn path=/trunk/; revision=7325
2003-12-30 11:52:04 +00:00
KJK::Hyperion
4be9e19495 Whooops
svn path=/trunk/; revision=7324
2003-12-30 05:11:54 +00:00
KJK::Hyperion
f3fcc98b2d - include/rosrtl/thread.h, lib/rosrtl/makefile, lib/rosrtl/makefile.i386, lib/rosrtl/thread/stack.c, lib/rosrtl/thread/exit.c, lib/rosrtl/thread/i386/stackexit.c: three new RosRtl functions (RtlRosExitUserThread, RtlRosFreeUserThreadStack and RtlRosSwitchStackForExit)
- lib/kernel32/makefile, lib/kernel32/thread/thread.c, lib/kernel32/thread/thread/i386/exit.S: kernel32.dll now uses them
 - lib/ntdll/dbg/debug.c, lib/ntdll/rtl/thread.c: ntdll.dll too
 - subsys/csrss/api/wapi.c: CSRSS too (should fix regression)

svn path=/trunk/; revision=7323
2003-12-30 05:10:32 +00:00
KJK::Hyperion
baea3fcd85 Free the TEB on thread termination. Partially fixes a recent regression
svn path=/trunk/; revision=7322
2003-12-30 03:27:52 +00:00
KJK::Hyperion
d8575f7b6a Still not done...
svn path=/trunk/; revision=7321
2003-12-30 01:08:16 +00:00
KJK::Hyperion
c8f27683f0 Screw branches, I'm committing to HEAD. Life is too short
svn path=/trunk/; revision=7320
2003-12-30 00:12:47 +00:00
KJK::Hyperion
699d3efcd8 Please, mr. CVS, accept my files
svn path=/trunk/; revision=7319
2003-12-30 00:03:48 +00:00
Martin Fuchs
b824b25697 move search start menu entries into 'Search' submenu
svn path=/trunk/; revision=7317
2003-12-29 23:46:33 +00:00
Steven Edwards
5e2692a21b DPRINT another message.
Notepad and the edit control is a bit faster now.

svn path=/trunk/; revision=7314
2003-12-29 23:28:46 +00:00
Steven Edwards
a11793fec7 Added a sample system.ini to shutup some winmm messages for now.
svn path=/trunk/; revision=7313
2003-12-29 23:06:38 +00:00
Gé van Geldorp
6161de8e1a On error return from RegQueryValueExW, don't touch *lpcbData. *lpcbData
is always in bytes, even for string registry settings.

svn path=/trunk/; revision=7312
2003-12-29 23:04:55 +00:00
Steven Edwards
e12604e3d7 DPRINT GlobalUnlock message.
svn path=/trunk/; revision=7311
2003-12-29 23:04:08 +00:00
Steven Edwards
7467b2f74a Added tempory winver.h till my patch is accepted by Mingw
svn path=/trunk/; revision=7310
2003-12-29 22:59:07 +00:00
Steven Edwards
dfa4c347b8 And Get my name right.....
svn path=/trunk/; revision=7309
2003-12-29 22:55:10 +00:00
Steven Edwards
e42170ed0a Added Changelog info for version.dll merge
svn path=/trunk/; revision=7308
2003-12-29 22:54:18 +00:00
Steven Edwards
3372617d7f Merged version.dll with WINE 12-29-03
svn path=/trunk/; revision=7307
2003-12-29 22:50:59 +00:00
Gé van Geldorp
46376679ce Fix deadlock when two threads were trying to SendMessage() each other
svn path=/trunk/; revision=7306
2003-12-29 10:09:33 +00:00
Filip Navara
ea561a262b Fixed debugging macros.
svn path=/trunk/; revision=7305
2003-12-29 00:41:16 +00:00
Art Yerkes
c21519fbe8 A simple test case that verifies that RegQueryValueExW and RegQueryValueExA
match.

svn path=/trunk/; revision=7304
2003-12-28 23:23:27 +00:00
Art Yerkes
f1f2b431c9 Fixed RegQueryValueExA. It was broken in a way that made it work properly,
given the broken RegQueryValueExW.  I'm checking in a test case for these
two that should print the same string for each assuming everything works.

svn path=/trunk/; revision=7303
2003-12-28 23:22:30 +00:00
Martin Fuchs
c1bd24b5d5 process one command line parameter to open cabinet window
svn path=/trunk/; revision=7302
2003-12-28 23:11:46 +00:00
Aleksey Bragin
5a6b27edc4 This is part of the big 'ReactOS under MSVC6' project. Main work on converting ROS to be able to be compiled under MSVC6 was done by Mark Nordell.
Work done by me - incorporating all this stuff into the newest CVS tree. So blame me if I did something wrong during tamlin -> new CVS tree merging :-)
It's HAL turn now.

svn path=/trunk/; revision=7301
2003-12-28 22:39:06 +00:00
Gé van Geldorp
585b1fea42 Link creation test by Martin Fuchs (slightly modified, so errors introduced
by me...)

svn path=/trunk/; revision=7300
2003-12-28 21:36:53 +00:00
Gé van Geldorp
578b0d16ed Add open action for exefile
svn path=/trunk/; revision=7299
2003-12-28 21:28:08 +00:00
Gé van Geldorp
3b85b43844 Properly convert between ascii and unicode in SearchPathA
svn path=/trunk/; revision=7298
2003-12-28 21:25:48 +00:00
Gé van Geldorp
755d9f5216 Don't destroy heap on unload, other DLLs might still depend on it
svn path=/trunk/; revision=7297
2003-12-28 17:52:15 +00:00
Thomas Bluemel
ce3d36ede6 reverted my last change
svn path=/trunk/; revision=7296
2003-12-28 17:49:53 +00:00
Thomas Bluemel
4a8eb78729 minor fixes
svn path=/trunk/; revision=7295
2003-12-28 17:22:16 +00:00
Filip Navara
b4c2add1d1 Use EngMulDiv instead of IntMulDiv.
svn path=/trunk/; revision=7294
2003-12-28 17:06:37 +00:00
Thomas Bluemel
279f8d333b use DSTINVERT for DrawFocusRect() and the moving/sizing rectangle
svn path=/trunk/; revision=7293
2003-12-28 16:31:44 +00:00
Gé van Geldorp
1a0383df0b Use mingw32-windres when cross-compiling
svn path=/trunk/; revision=7292
2003-12-28 14:38:50 +00:00
Thomas Bluemel
ce1768d3c3 moved NtUserTranslateMessage() to message.c
svn path=/trunk/; revision=7291
2003-12-28 14:21:03 +00:00
Filip Navara
39ed4e8db9 - Use smaller font for captions and status bar.
- Return more accurate font height in TextIntGetTextExtentPoint.

svn path=/trunk/; revision=7290
2003-12-28 14:14:04 +00:00
Thomas Bluemel
1ff3a7da81 small fix to NtUserDispatchMessage()
svn path=/trunk/; revision=7289
2003-12-28 13:53:14 +00:00
Filip Navara
ff4cde9c00 Fixed mimized window repainting bug. Reported by Thomas Weidenmuller.
svn path=/trunk/; revision=7288
2003-12-28 12:17:15 +00:00
Gé van Geldorp
b462f0f82b Validate parent after copying bits in child
svn path=/trunk/; revision=7287
2003-12-28 10:56:20 +00:00
Filip Navara
0e37a36d20 - New OLE32 port from Wine 20031212. [Currently not build by default]
svn path=/trunk/; revision=7286
2003-12-28 10:40:56 +00:00
Thomas Bluemel
0bbf2ce262 translate WM_NCRBUTTONUP messages to WM_CONTEXTMENU if HitTest == HTCAPTION or HTSYSMENU
svn path=/trunk/; revision=7285
2003-12-28 10:27:51 +00:00
Art Yerkes
cba7351fef Properly deal with a larger buffer than we expect.
svn path=/trunk/; revision=7284
2003-12-28 09:53:22 +00:00
Art Yerkes
25dba4902b Don't return ERROR_MORE_DATA in the case of lpData == NULL.
svn path=/trunk/; revision=7283
2003-12-28 09:28:39 +00:00
Art Yerkes
ff637e689a Nameservers are now correctly listed when per adapter nameservers are
specified in the registry.  This now does the same thing I observe on
win2k, GetNetworkParams.  This function is used by our DNS query
implementation to find out what nameservers it should use.  There is
a test case in apps/tests/nameserverlist.

svn path=/trunk/; revision=7282
2003-12-28 09:09:50 +00:00
Gé van Geldorp
4aa9677fa4 Silence debug messages
svn path=/trunk/; revision=7281
2003-12-28 08:59:24 +00:00
Art Yerkes
a7a6d33f53 RegQueryValueExW: Now returns the space needed for the query to succeed
with a return of ERROR_MORE_DATA, as required by documentation.

svn path=/trunk/; revision=7280
2003-12-28 08:47:28 +00:00
Thomas Bluemel
bb4da13c9c small fixes
svn path=/trunk/; revision=7278
2003-12-28 01:13:02 +00:00
Thomas Bluemel
94859ee96d some fixes on system menu handling
svn path=/trunk/; revision=7277
2003-12-28 00:41:32 +00:00
Thomas Bluemel
12c7158866 implemented EndMenu()
svn path=/trunk/; revision=7276
2003-12-28 00:19:24 +00:00
Filip Navara
023ebb37c2 Fixed usermode stack traces.
svn path=/trunk/; revision=7275
2003-12-27 23:55:02 +00:00
Thomas Bluemel
7ec1d6fece don't draw menu bar and scrollbars when minimized
svn path=/trunk/; revision=7274
2003-12-27 23:51:05 +00:00
Thomas Bluemel
cda2695c4c added test app for TrackPopupMenu(Ex)()
svn path=/trunk/; revision=7273
2003-12-27 23:45:48 +00:00
Thomas Bluemel
38ff929b3a added a few missing constants for TrackPopupMenu(Ex)()
svn path=/trunk/; revision=7272
2003-12-27 23:19:09 +00:00
Martin Fuchs
5d14cf086f fixed FIXME message
svn path=/trunk/; revision=7271
2003-12-27 20:19:00 +00:00
Martin Fuchs
47ffd4826c added dummy target 'implib'
svn path=/trunk/; revision=7270
2003-12-27 20:06:28 +00:00
Gé van Geldorp
3bd689f185 Build and install explorer by default
svn path=/trunk/; revision=7269
2003-12-27 19:03:09 +00:00
Gé van Geldorp
17cd4520da Do not endlessly repeat first character of line when using bright
background (fixes bug #105)

svn path=/trunk/; revision=7268
2003-12-27 18:25:31 +00:00
Gé van Geldorp
e5259c9644 Make stock fonts a little bit smaller
svn path=/trunk/; revision=7267
2003-12-27 17:47:44 +00:00
Martin Fuchs
957a258b42 dynamically calculating the required size for the clock bar window based on the font size [patch of Ge van Geldorp <ge@gse.nl>]
svn path=/trunk/; revision=7266
2003-12-27 15:37:29 +00:00
Filip Navara
2ff0dc4d33 Fixed calculating client area size for minimized windows.
svn path=/trunk/; revision=7265
2003-12-27 15:33:32 +00:00
Filip Navara
ca3586e5a9 Painting bug fixes.
svn path=/trunk/; revision=7264
2003-12-27 15:09:51 +00:00
Gé van Geldorp
6168d52ff8 Build Unicode version by default, add "install" and "bootcd" targets,
allow cross-compilation (untested)

svn path=/trunk/; revision=7263
2003-12-27 14:34:08 +00:00
Martin Fuchs
59e174e888 Don't display cabinet window in desktop mode as default
svn path=/trunk/; revision=7262
2003-12-27 12:29:42 +00:00
Thomas Bluemel
b5391fbee5 small fixes
svn path=/trunk/; revision=7261
2003-12-27 11:09:58 +00:00
Gé van Geldorp
3d94ef5e21 Fix to handling of inter-thread and inter-process messages
svn path=/trunk/; revision=7260
2003-12-27 10:08:31 +00:00
Art Yerkes
b3d403eec3 Everything right now.
svn path=/trunk/; revision=7259
2003-12-27 03:49:48 +00:00
Art Yerkes
2b28365c4e test case for iphlpapi GetNetworkParams, dns server list.
svn path=/trunk/; revision=7258
2003-12-26 23:59:49 +00:00
Martin Fuchs
c359123664 french resources translated by Gerard Gatineau
svn path=/trunk/; revision=7257
2003-12-26 23:25:32 +00:00
Gé van Geldorp
c0ba949f78 Marshall messages across process boundaries (not complete yet) and
generalize message sending from kernel

svn path=/trunk/; revision=7256
2003-12-26 22:52:12 +00:00
Steven Edwards
765b3a2476 Another fix for me breaking user32.
svn path=/trunk/; revision=7255
2003-12-26 17:07:26 +00:00
Steven Edwards
c4a12181ec Fix compile bug. - remove this config.h in the future.
svn path=/trunk/; revision=7254
2003-12-26 16:51:12 +00:00
Thomas Bluemel
dd7349f037 small fixes
svn path=/trunk/; revision=7253
2003-12-26 16:19:15 +00:00
Thomas Bluemel
ca543d98b9 some more fixes on minimized windows
svn path=/trunk/; revision=7252
2003-12-26 14:50:29 +00:00
Thomas Bluemel
d92bf52121 some fixes
svn path=/trunk/; revision=7251
2003-12-26 13:06:34 +00:00
Thomas Bluemel
d391a75ab3 some fixes
svn path=/trunk/; revision=7250
2003-12-26 12:37:53 +00:00
Gé van Geldorp
7ff57296b2 Fix array overflow
svn path=/trunk/; revision=7249
2003-12-26 10:47:20 +00:00
Gé van Geldorp
c8c4b549eb Serialize access to FreeType
svn path=/trunk/; revision=7248
2003-12-26 10:43:08 +00:00
Filip Navara
6da419e367 Fixed compilation problems with GCC 3.4.
svn path=/trunk/; revision=7247
2003-12-26 09:52:37 +00:00
Thomas Bluemel
8638ffb7f0 don't maximize windows that don't have a maximize button when double-clicking the caption bar
svn path=/trunk/; revision=7246
2003-12-26 01:21:17 +00:00
Thomas Bluemel
a4b5d47bed maximize child window to the client area of the parent window
svn path=/trunk/; revision=7245
2003-12-26 01:14:10 +00:00
Thomas Bluemel
51be13a34a small fix
svn path=/trunk/; revision=7244
2003-12-26 01:05:41 +00:00
Thomas Bluemel
f90a37f641 fixed hardcoded workarea size
svn path=/trunk/; revision=7243
2003-12-26 00:58:33 +00:00
Thomas Bluemel
b68bca0e99 fixed hardcoded workarea size
svn path=/trunk/; revision=7242
2003-12-26 00:47:18 +00:00
Thomas Bluemel
ed3497f42e disable font smoothing if screen resolution < 8bpp
svn path=/trunk/; revision=7241
2003-12-26 00:31:22 +00:00
Thomas Bluemel
0705f303d0 disable gradient captions on resolutions <= 8bpp
svn path=/trunk/; revision=7240
2003-12-25 21:14:24 +00:00
Thomas Bluemel
c2b73a09cb fixed missing lib
svn path=/trunk/; revision=7239
2003-12-25 20:46:51 +00:00
Filip Navara
8ff01625ad Fixed compilation problems.
svn path=/trunk/; revision=7238
2003-12-25 20:22:30 +00:00
Martin Fuchs
9053b1515d template for french resources
svn path=/trunk/; revision=7237
2003-12-25 19:29:36 +00:00
Martin Fuchs
03881fe9f4 FIXME for ILC_COLOR32
svn path=/trunk/; revision=7236
2003-12-25 18:42:48 +00:00
KJK::Hyperion
f935f66635 "Ancillary Function Driver" is about as descriptive as "Foo Thingy". Let's stop the insanity: from today, 25 December 2003, AFD will be known as "Socket Filesystem Driver". OK, so I'm bored
svn path=/trunk/; revision=7235
2003-12-25 18:35:20 +00:00
Aleksey Bragin
e24cbd5ce2 define HAVE_SSIZE_T in wineros.h to fix double definition of ssize_t during /lib/msvcrt compilation
svn path=/trunk/; revision=7234
2003-12-25 18:34:57 +00:00
KJK::Hyperion
a39dcfd091 I was bored, so I fixed some random forgotten test applications
svn path=/trunk/; revision=7233
2003-12-25 18:30:09 +00:00
Casper Hornstrup
08ba5babf3 2003-12-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/utils/net/roshttpd/error.cpp (ReportErrorStr): Cast to wchar_t*,
	not __wchar_t*.
	* apps/utils/net/roshttpd/makefile (TARGET_CPPFLAGS): Add -Wno-deprecated.
	(TARGET_GCCLIBS): Add stdc++.
	* apps/utils/net/roshttpd/common/socket.cpp: Include <string.h>.
	* apps/utils/net/roshttpd/common/thread.cpp (CThread::CThread): Fix
	warning.
	* drivers/net/afd/afd/afd.c (ListenRequestLookasideList): New variable.
	(DriverEntry): Initialize ListenRequestLookasideList.
	* drivers/net/afd/afd/dispatch.c (AfdDispCompleteListen): New function.
	(AfdDispListen): Partial implement.
	* drivers/net/afd/afd/opnclose.c (AfdInitializeFCB): Initialize
	NewFCB->ListenRequestQueue.
	(AfdKillListenRequests): New function.
	(AfdClose): Call AfdKillListenRequests.
	* drivers/net/afd/afd/routines.c (DumpName): New function.
	* drivers/net/afd/afd/tdi.c (TdiAddressSizeFromType): New function.
	(TdiBuildConnectionInfo): Initialize ConnInfo->OptionsLength.
	(TdiBuildNullConnectionInfo): New function.
	(TdiOpenAddressFileIPv4, TdiOpenConnectionEndpointFile): EaName is
	0-terminated.
	(TdiListen): New function.
	* drivers/net/afd/include/afd.h (AFDFCB): Add ListenRequestQueue.
	(AFD_LISTEN_REQUEST): New structure.
	(ListenRequestLookasideList): Declare.
	(DumpName, TdiListen): Add prototypes.
	* drivers/net/tcpip/datalink/lan.c (BindAdapter): Initialize
	AnsiAddress.Length and AnsiAddress.MaximumLength.
	* drivers/net/tcpip/include/debug.h: Define DEBUG_TCP.
	* drivers/net/tcpip/include/routines.h (DisplayTCPPacket): Add
	prototype.
	(DISPLAY_TCP_PACKET): Define.
	* drivers/net/tcpip/include/tcp.h (TCPListen): Add prototype.
	* drivers/net/tcpip/include/titypes.h (ADDRESS_FILE): Add Connection.
	* drivers/net/tcpip/network/ip.c (IPLocateNTEOnInterface): Cleanup.
	* drivers/net/tcpip/tcpip/address.c (AddrSearchNext): Port is in
	network byte order.
	* drivers/net/tcpip/tcpip/dispatch.c (DispTdiAssociateAddress):
	Initialize AddrFile->Connection.
	(DispTdiListen): Implement.
	* drivers/net/tcpip/tcpip/fileobjs.c (FileOpenAddress): Don't
	initialize AddrFile->Connections.
	* drivers/net/tcpip/tcpip/routines.c: Include <tcp.h>.
	(DisplayIPPacket): Enable.
	(DisplayTCPHeader, DisplayTCPPacket): New functions.
	* drivers/net/tcpip/transport/tcp/tcp.c: Include <routines.h>.
	(TCPListen, TCPiReceive): New functions.
	(TCPReceive): Partial implement.
	* lib/msafd/misc/helpers.c (CreateHelperDLLDatabase): Add
	{SOCK_STREAM,IPPROTO_TCP,0} and {SOCK_DGRAM,IPPROTO_UDP,0} mappings.
	* lib/ntdll/ldr/utils.c (LdrLoadDll): Print name of DLL if not found.
	* lib/ws2_32/include/ws2_32.h (Initialized): Declare.
	(WINSOCK_THREAD_BLOCK): Remove Initialized member.
	* (WSAINITIALIZED, WSASETINITIALIZED): Update.
	* lib/ws2_32/misc/catalog.c (CreateCatalog): Add
	{SOCK_STREAM,IPPROTO_TCP,0} and {SOCK_DGRAM,IPPROTO_UDP,0} mappings.
	(Initialized): New variable.
	(DllMain): Don't initialize p->Initialized.
	* ntoskrnl/dbg/kdb.c: Include <ctype.h>.
	* subsys/win32k/ntuser/message.c (NtUserDispatchMessage): Kill noisy
	message.

svn path=/trunk/; revision=7232
2003-12-25 14:06:15 +00:00
Filip Navara
9aa489b9bf Fixed double clicks.
svn path=/trunk/; revision=7231
2003-12-25 12:26:35 +00:00
Martin Fuchs
8b52e2dfa1 Relase Build configuration
svn path=/trunk/; revision=7230
2003-12-25 11:31:59 +00:00
Filip Navara
f9f22093dc Use correct color translation in AlphaBltMask.
svn path=/trunk/; revision=7229
2003-12-25 10:49:30 +00:00
Filip Navara
9621b3a131 Fixed few obvious bugs.
svn path=/trunk/; revision=7228
2003-12-25 10:21:02 +00:00
Art Yerkes
643255deed I'm not really sure how the --kill-at, --add-stdcall alias dichotomy should
be handled, but I do have a workable solution at least.  It'll be part of
my patch, that will appear shortly on bugzilla.

svn path=/trunk/; revision=7227
2003-12-25 09:52:44 +00:00
Art Yerkes
89222717af A test only of querying DNS. Currently works with windows dnsapi, and our
dnsapi on windows.  Almost works on reactos.

svn path=/trunk/; revision=7226
2003-12-25 08:45:48 +00:00
Art Yerkes
59eb01566e *** empty log message ***
svn path=/trunk/; revision=7225
2003-12-25 08:40:09 +00:00
Art Yerkes
d42bd99ca1 Correct, linking and working (so far) dnsapi.
It makes a query, and adns gets as far as sendto, but things break there.
The sendto call is made correctly, so all of the code above ws2_32 is
correct.

svn path=/trunk/; revision=7224
2003-12-25 05:50:37 +00:00
Art Yerkes
db0182fe34 Corrected bug: passing value of Adjustment rather than address.
svn path=/trunk/; revision=7223
2003-12-25 05:48:35 +00:00
Thomas Bluemel
6e2e1c2fa5 implemented font smoothing
svn path=/trunk/; revision=7222
2003-12-25 00:28:09 +00:00
Steven Edwards
4a0ecf56be Added a README file regarding the status of msvcrt.
svn path=/trunk/; revision=7221
2003-12-24 23:25:13 +00:00
Steven Edwards
5f431cda4c Removed the old port of the __CxxFrameHandler
svn path=/trunk/; revision=7220
2003-12-24 23:21:22 +00:00
Steven Edwards
443715773c Marry Christmas!!!!!
Reported the WINE __CxxFrameHandler and C++ functions.
Enabled -D__USE_W32API on most files.
Imported the internal WINE msvcrt headers as msvcrt/wine/msvcrt pending cleanup.

Freecell and more C++ applications work. Please report if you have problems.

svn path=/trunk/; revision=7219
2003-12-24 23:20:09 +00:00
Steven Edwards
9fb814dc9e Added a newly generated config.h
updated ERR to report as DPRINT1
Added the WINE exception handler header.
Cleanup of the porting headers.......

Let me know if something breaks. I did a rebuild and it was fine for me

svn path=/trunk/; revision=7218
2003-12-24 23:17:27 +00:00
Gé van Geldorp
b110169179 Pass pointer to DWORD instead of casted USHORT pointer
svn path=/trunk/; revision=7217
2003-12-24 21:51:38 +00:00
Filip Navara
822a987bc4 Do not zero memory in RegQueryValueExW and handle the error cases better way.
svn path=/trunk/; revision=7216
2003-12-24 21:23:03 +00:00
Filip Navara
2105eedbc7 Kill the white rectangle around menu entries!
svn path=/trunk/; revision=7215
2003-12-24 21:10:16 +00:00
Gé van Geldorp
05d88629dd Add lpApplicationName processing back in again
svn path=/trunk/; revision=7214
2003-12-24 19:57:42 +00:00
Martin Fuchs
a4d9927ea3 configuration for Release builds with Wine DLLs
svn path=/trunk/; revision=7213
2003-12-24 15:04:41 +00:00
Filip Navara
8bde79329e Fixed RegisterClipboardFormatW.
svn path=/trunk/; revision=7212
2003-12-24 11:24:29 +00:00
Filip Navara
9516179123 Support for HWN_BROADCAST in NtUserPostMessage.
svn path=/trunk/; revision=7211
2003-12-24 10:23:13 +00:00
Thomas Bluemel
b1e7c60fdd implemented gradient caption bars
svn path=/trunk/; revision=7210
2003-12-24 01:26:10 +00:00
Gé van Geldorp
a52d82602e Handle spaces in command line
svn path=/trunk/; revision=7209
2003-12-23 22:01:10 +00:00
Filip Navara
8dec71c0b4 Zero memory for value info in RegQueryValueExW, otherwise we will return invalid values in case of error.
svn path=/trunk/; revision=7208
2003-12-23 22:00:54 +00:00
Martin Fuchs
4373da8151 build Win32 version as UNICODE
svn path=/trunk/; revision=7207
2003-12-23 21:40:20 +00:00
Thomas Bluemel
9f53ca3272 small fix
svn path=/trunk/; revision=7206
2003-12-23 21:39:10 +00:00
Filip Navara
7bd2fe4cb1 Attempt to fix thread dereferencing problem caused by my last thread patch.
svn path=/trunk/; revision=7205
2003-12-23 21:34:52 +00:00
Thomas Bluemel
caedc5bf6b fixed NtUserGetClientOrigin()
svn path=/trunk/; revision=7204
2003-12-23 21:33:25 +00:00
Filip Navara
3470b283b2 GetCharWidth32 implementation.
svn path=/trunk/; revision=7203
2003-12-23 21:29:37 +00:00
Filip Navara
51d9fc9647 Fixed RegSetValueEx for NULL value name.
svn path=/trunk/; revision=7202
2003-12-23 21:18:31 +00:00
Thomas Bluemel
da73036e85 some fixes
svn path=/trunk/; revision=7201
2003-12-23 21:13:00 +00:00
Thomas Bluemel
a0f8c6d8ff some fixes
svn path=/trunk/; revision=7200
2003-12-23 20:40:00 +00:00
Filip Navara
86308e6a22 Reverted my last change!
svn path=/trunk/; revision=7199
2003-12-23 19:28:23 +00:00
Gé van Geldorp
aded67d27d Add some parameter checking
svn path=/trunk/; revision=7198
2003-12-23 19:22:17 +00:00
Filip Navara
2fca03e6cc Fixed division by zero in StretchBlt functions.
svn path=/trunk/; revision=7197
2003-12-23 19:15:08 +00:00
Filip Navara
02ce06682e Appearance bug fixes.
svn path=/trunk/; revision=7196
2003-12-23 18:19:07 +00:00
Thomas Bluemel
96b1759d3d fixed minimize, restore/maximize bugs
svn path=/trunk/; revision=7195
2003-12-23 18:12:38 +00:00
Thomas Bluemel
ff1bec5cec small fix
svn path=/trunk/; revision=7194
2003-12-23 17:56:55 +00:00
Filip Navara
6e39aab608 Bug fixes.
svn path=/trunk/; revision=7193
2003-12-23 08:48:59 +00:00
Art Yerkes
47a02358b6 KDB: Serial driver.
svn path=/trunk/; revision=7192
2003-12-23 08:41:14 +00:00
Art Yerkes
f92adc55e8 Added makefile stuff for kdb serial.
svn path=/trunk/; revision=7191
2003-12-23 05:07:26 +00:00
Art Yerkes
5a010039c5 Added the beginnings of an implementation of NtSetInformationToken.
Options used by cygwin are implemented, others return an error.

svn path=/trunk/; revision=7190
2003-12-23 05:06:47 +00:00
Art Yerkes
b1e0d0b3cc Added KDSERIAL option.
svn path=/trunk/; revision=7189
2003-12-23 05:05:10 +00:00
Art Yerkes
0ce3d6f67c Added "addr" "x" and "tlist" commands to kdbg.
addr  -- Displays address info from kdb_stabs.
x     -- Dumps memory.
tlist -- List threads.  Helps with bt, because normally, you don't know
         what the thread ids are or the stack addresses.
kdb_stabs.c: Fixed bug: length of module vs length of name.
kdb_serial.c: Added /KDSERIAL option allowing the user to type commands
              to the serial port.

svn path=/trunk/; revision=7188
2003-12-23 05:04:59 +00:00
Martin Fuchs
6876cc7caf __WINE__ compile checks
svn path=/trunk/; revision=7185
2003-12-22 20:53:28 +00:00
Thomas Bluemel
704f9a0abe added ros-internal NtUserSetScrollBarInfo()
svn path=/trunk/; revision=7184
2003-12-22 20:44:02 +00:00
Filip Navara
6171a32cfa Minor work on scrollbars.
svn path=/trunk/; revision=7183
2003-12-22 20:22:40 +00:00
Filip Navara
6cb2390fa6 Minor work on scrollbars.
svn path=/trunk/; revision=7181
2003-12-22 19:55:39 +00:00
Filip Navara
2e9b3c4ad3 Fixed drawing of restore button.
svn path=/trunk/; revision=7180
2003-12-22 19:40:29 +00:00
Martin Fuchs
636479dcd3 only merge start menu directories of the same name - no simple entries
svn path=/trunk/; revision=7179
2003-12-22 18:13:13 +00:00
Filip Navara
0ebaadbbae - Removed NtGdiGetSysColorBrush and modified functions that used it.
- Modified desktop drawing to use PaintDesktop.

svn path=/trunk/; revision=7178
2003-12-22 15:30:21 +00:00
Filip Navara
13347b6918 Modified CalcChildScroll to work in ReactOS.
svn path=/trunk/; revision=7177
2003-12-22 15:30:03 +00:00
Thomas Bluemel
3c22c1ba77 small fix in NtUserGetWindowPlacement()
svn path=/trunk/; revision=7176
2003-12-22 14:34:25 +00:00
Filip Navara
51a1df82b9 Don't draw lines with BS_NULL brush.
svn path=/trunk/; revision=7175
2003-12-22 12:44:16 +00:00
Filip Navara
5c52558817 - Enabled CS_PARENTDC style for edit control.
- Minor corrections in [Get/Set]WindowPlacement.
- Fixed handling of MDI client info structure.
- Bug fixes.

svn path=/trunk/; revision=7174
2003-12-22 11:37:32 +00:00
Steven Edwards
e0fd57122f Workaround for __USE_W32API
svn path=/trunk/; revision=7173
2003-12-21 23:52:19 +00:00
Filip Navara
d9ade843d5 Bug fixes.
svn path=/trunk/; revision=7172
2003-12-21 22:41:00 +00:00
Thomas Bluemel
fc7a16a754 minimize windows to the left-top desktop edge for now
svn path=/trunk/; revision=7171
2003-12-21 22:38:38 +00:00
Thomas Bluemel
814b5b5e80 prevent crashing with buggy thread cleanup
svn path=/trunk/; revision=7170
2003-12-21 22:09:07 +00:00
Thomas Bluemel
52b2f9b429 reimplemented support for double clicks
svn path=/trunk/; revision=7169
2003-12-21 21:26:29 +00:00
Thomas Bluemel
d97dfed664 slienced a DbgPrint
svn path=/trunk/; revision=7168
2003-12-21 21:21:33 +00:00
Thomas Bluemel
b4ca845b10 reimplemented support for double clicks
svn path=/trunk/; revision=7167
2003-12-21 21:20:31 +00:00
Filip Navara
dea090e06c - Attempt to fix race condition in timer handler. Reported by Jason Filby.
- Temporary disabled NtGdiExtTextOut experimental clipping implementation because it caused problems with buttons.

svn path=/trunk/; revision=7166
2003-12-21 20:37:42 +00:00
Emanuele Aliberti
99af0f4db6 Minor changes to make the posix module partially compile.
svn path=/trunk/; revision=7165
2003-12-21 20:11:46 +00:00
Thomas Bluemel
c3725861f5 removed support for double clicks
svn path=/trunk/; revision=7164
2003-12-21 20:06:45 +00:00
Martin Fuchs
15850784d7 reactivated work around for Z-order problem on Wine
svn path=/trunk/; revision=7163
2003-12-21 19:40:34 +00:00
Filip Navara
6ddff53540 Corrected debug message.
svn path=/trunk/; revision=7162
2003-12-21 19:12:19 +00:00
Filip Navara
f2c4bc3f8b Bug fixes.
svn path=/trunk/; revision=7161
2003-12-21 18:38:37 +00:00
Filip Navara
d8fdb7eddc Fixed problems with caret moving in edit control.
svn path=/trunk/; revision=7160
2003-12-21 16:49:41 +00:00
Thomas Bluemel
4c2b31ef87 Added missing definition of IsDialogMessageA()
svn path=/trunk/; revision=7159
2003-12-21 16:48:23 +00:00
Thomas Bluemel
494b88827c small fixes
svn path=/trunk/; revision=7158
2003-12-21 16:24:19 +00:00
Martin Fuchs
9ac0b83efd use icon with alpha channel
svn path=/trunk/; revision=7157
2003-12-21 15:55:53 +00:00
Thomas Bluemel
3299829b0c small fixes
svn path=/trunk/; revision=7156
2003-12-21 15:08:56 +00:00
Gé van Geldorp
97791f7264 Cleanup outdated files
svn path=/trunk/; revision=7155
2003-12-21 14:43:19 +00:00
Eric Kohl
d44ee8c1b1 Updated welcome.exe.
svn path=/trunk/; revision=7154
2003-12-21 14:38:25 +00:00
Filip Navara
22e7c1f6cb Partial implementation of GetPixel.
svn path=/trunk/; revision=7153
2003-12-21 10:27:10 +00:00
Thomas Bluemel
3ee841df37 moved the INTERNALPOS structure to the WINDOW_OBJECT struct
svn path=/trunk/; revision=7152
2003-12-21 10:19:40 +00:00
Thomas Bluemel
25ef6ca59a Name correction
svn path=/trunk/; revision=7151
2003-12-21 09:46:35 +00:00
Thomas Bluemel
df068a3bdb DefWndHandleSetCursor() sets default cursor for maximized windows' borders
svn path=/trunk/; revision=7150
2003-12-20 22:33:45 +00:00
Thomas Bluemel
6c6cd533e1 partially implemented WM_SETCURSOR messages
svn path=/trunk/; revision=7149
2003-12-20 21:45:14 +00:00
Filip Navara
01d6bd1786 Use of binary search in LdrFindResource_U. Patch by Alexey Stepanenko <alexeystepanenko@mail.ru>.
svn path=/trunk/; revision=7148
2003-12-20 21:43:27 +00:00
Filip Navara
088013a7f1 Added few debug messages.
svn path=/trunk/; revision=7147
2003-12-20 21:43:21 +00:00
Filip Navara
bfebf46a34 Fixed many problems with WS_EX_TOOLWINDOW windows.
svn path=/trunk/; revision=7146
2003-12-20 21:43:10 +00:00
Filip Navara
188c654673 Fixed parameter names of PatBlt.
svn path=/trunk/; revision=7145
2003-12-20 21:43:01 +00:00
Martin Fuchs
67839ab422 avoid error messages with invisible parent windows
svn path=/trunk/; revision=7144
2003-12-20 21:15:23 +00:00
Martin Fuchs
9d96bc3118 work around for incomplete implementation of QueryContextMenu() in Wine
svn path=/trunk/; revision=7143
2003-12-20 20:59:25 +00:00
Martin Fuchs
70d9884109 corrected context menu in explorer windows
svn path=/trunk/; revision=7142
2003-12-20 20:37:59 +00:00
Martin Fuchs
5ff90962eb fixed ShellFolderContextMenu() parameter
svn path=/trunk/; revision=7141
2003-12-20 18:52:50 +00:00
Martin Fuchs
69090b81d4 context menu implementation for desktop window
svn path=/trunk/; revision=7140
2003-12-20 18:23:10 +00:00
Filip Navara
f1977c73d3 Compilation fixes.
svn path=/trunk/; revision=7139
2003-12-20 16:51:40 +00:00
Filip Navara
cdf42cb419 Corrected packing of the structures.
svn path=/trunk/; revision=7138
2003-12-20 16:51:05 +00:00
Thomas Bluemel
b730717d89 install msgina.dll and userinit.exe
svn path=/trunk/; revision=7137
2003-12-20 16:18:31 +00:00
Eric Kohl
fdab84b368 Install bootvid.sys. This fixes bug #98.
svn path=/trunk/; revision=7136
2003-12-20 16:04:20 +00:00
Eric Kohl
44854e906d Don't stop after hardware detection.
svn path=/trunk/; revision=7135
2003-12-20 16:00:20 +00:00
Thomas Bluemel
9efeb21225 some fixes on carets
svn path=/trunk/; revision=7134
2003-12-20 15:42:47 +00:00
Filip Navara
705104e713 Removed space optimalization of XLATEGDI that caused some problems.
svn path=/trunk/; revision=7133
2003-12-20 14:51:41 +00:00
Filip Navara
6594b15c96 Bugfix.
svn path=/trunk/; revision=7132
2003-12-20 14:19:47 +00:00
Eric Kohl
8bb5ad2bd8 - Detect PS/2 Port and Pointer Device (Mouse).
- Calculate CPU speed.
- Fixed delay counter overrun.

svn path=/trunk/; revision=7131
2003-12-20 12:35:27 +00:00
Filip Navara
57af3eb9c8 - Palette fixes.
svn path=/trunk/; revision=7130
2003-12-20 10:31:32 +00:00
Thomas Bluemel
e437baff45 implemented maximize/restore and minimize buttons for windows, minimize and restore need to be fixed, they don't work properly
svn path=/trunk/; revision=7129
2003-12-19 23:20:06 +00:00
Filip Navara
764ff71a49 - Removed last GvG's fix to COMCTL32.
- Implemented proper color -> mono bitmap conversion.

svn path=/trunk/; revision=7128
2003-12-19 22:58:47 +00:00
Thomas Bluemel
9f039ad29c implemented GetMessageExtraInfo() and SetMessageExtraInfo()
svn path=/trunk/; revision=7127
2003-12-19 19:30:05 +00:00
Filip Navara
4bfb4ce695 - Updated COMCTL32 to Wine 20031212 release.
svn path=/trunk/; revision=7126
2003-12-19 16:41:02 +00:00
Gé van Geldorp
c5f80947d5 Create toolbar images as unmasked
svn path=/trunk/; revision=7125
2003-12-18 23:06:58 +00:00
Gé van Geldorp
5ebfb618b2 Since we have created the off-screen bitmap, let's actually use it
svn path=/trunk/; revision=7124
2003-12-18 23:04:54 +00:00
Thomas Bluemel
b3720ef867 IntFindWindowToRepaint() only returns window handles that belong to the given thread
svn path=/trunk/; revision=7123
2003-12-18 21:56:44 +00:00
Thomas Bluemel
83d245a222 small fix
svn path=/trunk/; revision=7122
2003-12-18 21:42:38 +00:00
Aleksey Bragin
964636c2ab Stretchblitting 8->8 bpp implemented
svn path=/trunk/; revision=7121
2003-12-18 18:30:48 +00:00
Aleksey Bragin
10d1fb4bda Stretchblitting 32->32 bpp implemented
svn path=/trunk/; revision=7120
2003-12-18 18:09:48 +00:00
Filip Navara
8bef76d86b Call CreateMDIWindow[AW] from CreateWindowEx[AW] if WS_EX_MDICHILD style is set.
svn path=/trunk/; revision=7119
2003-12-18 16:47:27 +00:00
Filip Navara
3beff4f5a3 Fixed compilation with __USE_W32API.
svn path=/trunk/; revision=7118
2003-12-18 14:07:41 +00:00
Gé van Geldorp
6da76befc4 Fix the error in the original implementation of Unicode status
determination (Filip agrees)

svn path=/trunk/; revision=7117
2003-12-18 13:00:56 +00:00
Art Yerkes
f5a8a4acd8 Final edit for tonight.
svn path=/trunk/; revision=7116
2003-12-18 12:09:58 +00:00
Art Yerkes
d52259a199 Stubs.
svn path=/trunk/; revision=7115
2003-12-18 11:38:00 +00:00
Art Yerkes
770e411257 Added stubbed calls.
svn path=/trunk/; revision=7114
2003-12-18 11:37:46 +00:00
Art Yerkes
ac3e44799f Initial version of dnsapi. Not working yet, but compiling and with
seemingly good code.

svn path=/trunk/; revision=7113
2003-12-18 10:54:48 +00:00
Art Yerkes
9bd7d5ce0f Initial dnsapi sources.
svn path=/trunk/; revision=7112
2003-12-18 10:54:02 +00:00
Art Yerkes
c52179ff55 *** empty log message ***
svn path=/trunk/; revision=7111
2003-12-18 10:50:50 +00:00
Art Yerkes
c411b4045f Added ADNS library. A nice, versatile DNS client library, which forms the
basis of our DNSAPI implementation.

ADNS was written by Ian Jackson (http://www.chiark.greenend.org.uk/~ian/adns/)
and was release under the GPL.  We are using Jarle Aase's win32 port:
(http://adns.jgaa.com/)

Arty added timercmp.h, which contains some missing elements from sys/time.h

svn path=/trunk/; revision=7110
2003-12-18 10:48:20 +00:00
Art Yerkes
47ff6dc9eb WinError and WinDNS headers.
svn path=/trunk/; revision=7109
2003-12-18 10:37:10 +00:00
Art Yerkes
92d507d00a dnsapi test application.
svn path=/trunk/; revision=7108
2003-12-18 10:35:36 +00:00
Gé van Geldorp
78aaee0a8b Allow launching of console apps from GUI apps
svn path=/trunk/; revision=7107
2003-12-18 09:51:08 +00:00
Vizzini
41b4cb6b5a turned off debug spew
svn path=/trunk/; revision=7106
2003-12-17 23:35:10 +00:00
Vizzini
0e8ef19002 - Enable "Full Maps" by default
- IP addresses are now registry-configured, per-adapter
 - Minor bugfix for off-by-one with extended attributes

svn path=/trunk/; revision=7105
2003-12-17 23:34:35 +00:00
Vizzini
fd2014a883 added missing parens, courtesy of mike nordell
svn path=/trunk/; revision=7104
2003-12-17 22:36:20 +00:00
Martin Fuchs
abb4afd9df added TEST code for executing non-folders without shell32
svn path=/trunk/; revision=7103
2003-12-17 22:21:56 +00:00
Filip Navara
d162a9dbc6 Unicodifity of window shouldn't be determined by unicodifity of window class.
svn path=/trunk/; revision=7102
2003-12-17 21:46:10 +00:00
Eric Kohl
4f2ee03f8d Implemented FsRtlDissectName().
svn path=/trunk/; revision=7101
2003-12-17 20:27:06 +00:00
Aleksey Bragin
1fc5217c9b Inserted UNIMPLEMENTED macro definiton, otherwise /lib/user32 won't compile.
svn path=/trunk/; revision=7100
2003-12-17 20:06:10 +00:00
Thomas Bluemel
48cbf21922 fixed destroying child windows and some fixes on menus
svn path=/trunk/; revision=7099
2003-12-17 19:56:13 +00:00
Filip Navara
7127873aac - Print function name in Wine debugging macros.
- Updated COMCTL32 to Wine 20031212 release.

svn path=/trunk/; revision=7098
2003-12-17 18:09:54 +00:00
Filip Navara
c98a386e26 Fixed more registry entries for Shell Folders.
svn path=/trunk/; revision=7097
2003-12-17 17:00:13 +00:00
Filip Navara
540b933d8e Fixed registry entries for Wine DLLs, Shell Folders and some other things.
svn path=/trunk/; revision=7096
2003-12-17 15:53:11 +00:00
Thomas Bluemel
21c54e41c6 fixed dereferencing of child window objects in IntDestroyWindow() and send a WM_DESTROY message to them if they don't belong to the calling thread
svn path=/trunk/; revision=7095
2003-12-17 13:11:55 +00:00
KJK::Hyperion
c64c44c316 - genntdll, shut up
- fixed some forward exports in kernel32
 - fixed a couple of embarassing bugs in my getopt implementation
 - fixed a warning in pipetools

svn path=/trunk/; revision=7094
2003-12-17 01:46:08 +00:00
KJK::Hyperion
b536b4fce2 Some changes to UxTheme to make it compile with GCC
svn path=/trunk/; revision=7093
2003-12-17 01:39:21 +00:00
Gé van Geldorp
d4d929e12c Split CreateFileMapping flags before passing them on to NtCreateSection
svn path=/trunk/; revision=7091
2003-12-16 21:32:18 +00:00
Thomas Bluemel
8ca785b781 deny destroying a window that does not belong to the calling thread
svn path=/trunk/; revision=7090
2003-12-16 18:14:39 +00:00
Aleksey Bragin
23dc27f809 Added include <stdlib.h> to remove warning about abs().
svn path=/trunk/; revision=7089
2003-12-16 17:24:42 +00:00
Richard Campbell
97b6938315 Added a debug note and a warning messages to CopyImage
svn path=/trunk/; revision=7088
2003-12-16 06:51:02 +00:00
Gé van Geldorp
c709b088c9 Directory is empty and doesn't really need a .cvsignore
svn path=/trunk/; revision=7087
2003-12-16 00:10:13 +00:00
Aleksey Bragin
2a3fde38a2 Shrinking bug fixed
svn path=/trunk/; revision=7086
2003-12-15 23:33:45 +00:00
Thomas Bluemel
a8a0a11c74 fixed WinPosWindowFromPoint() to reference the returning window object
svn path=/trunk/; revision=7085
2003-12-15 21:51:10 +00:00
Steven Edwards
09b8fd44b9 Add libwine.a
svn path=/trunk/; revision=7084
2003-12-15 20:50:52 +00:00
Filip Navara
f9b0dd90cd Implementation of [NtGdi]RectVisible.
svn path=/trunk/; revision=7083
2003-12-15 20:47:57 +00:00
Steven Edwards
6e4a63bb10 Added MultiMedia headers to support Winmm.
svn path=/trunk/; revision=7082
2003-12-15 20:21:57 +00:00
Steven Edwards
3a99900c9d Add some basic type information.
svn path=/trunk/; revision=7081
2003-12-15 20:21:13 +00:00
Steven Edwards
23cf9e30b0 Ported Winmm.dll from Winehq CVS 12-15-03.
With help of C. H.

svn path=/trunk/; revision=7080
2003-12-15 20:20:34 +00:00
Thomas Bluemel
8c6352f4f6 change entry point to 0x0
svn path=/trunk/; revision=7079
2003-12-15 20:03:13 +00:00
Steven Edwards
1f896c5c45 More minor cleanup.
svn path=/trunk/; revision=7078
2003-12-15 19:39:37 +00:00
Gé van Geldorp
2836686955 Fix CBT create hook for NULL window name
svn path=/trunk/; revision=7077
2003-12-15 19:32:32 +00:00
Steven Edwards
2eea196a4a Turn off a few more debug messages in the edit control.
svn path=/trunk/; revision=7076
2003-12-15 19:20:27 +00:00
Eric Kohl
47cba05f69 Implemented driver reinitialization.
svn path=/trunk/; revision=7075
2003-12-15 17:50:23 +00:00
Thomas Bluemel
416cb07ba3 fixed handling of WM_MOUSEWHEEL messages...again
svn path=/trunk/; revision=7074
2003-12-15 15:08:33 +00:00
Thomas Bluemel
ff7ca5e860 added WM_NCXBUTTON* messages
svn path=/trunk/; revision=7073
2003-12-15 00:44:52 +00:00
Thomas Bluemel
9d372b138d NtUserDispatchMessage() shouldn't allow calling the window proc if the window doesn't belong to the thread
svn path=/trunk/; revision=7072
2003-12-14 23:52:54 +00:00
Thomas Bluemel
6dda6e7ca6 fixed wrong handling of WM_MOUSEWHEEL messages that caused the desktop thread crashing
svn path=/trunk/; revision=7071
2003-12-14 23:30:32 +00:00
Hartmut Birr
08baddcab7 - Fixed the recursive scan and if there is given a path spec.
- Fixed the displaying of empty dir levels on recursive scans.
- Fixed the call to GetProcAddress for using unicode functions.
- Added more parameters for the call to GetDiskFreeSpaceEx.

svn path=/trunk/; revision=7070
2003-12-14 22:51:52 +00:00
Gé van Geldorp
c0253014fd Disable UNIMPLEMENTED for unknown or global hooks so winEmbed runs again
svn path=/trunk/; revision=7069
2003-12-14 22:34:47 +00:00
Thomas Bluemel
c9edcad72d another fix to message queues and fixed handling of WM_XBUTTONDOWN messages
svn path=/trunk/; revision=7068
2003-12-14 22:14:45 +00:00
Martin Fuchs
d4dd1a3915 fixed Context destructor when constructed using the copy constructor
svn path=/trunk/; revision=7067
2003-12-14 22:10:24 +00:00
Martin Fuchs
ec57d5df80 check for availability of SHRestricted() in shell32.dll
svn path=/trunk/; revision=7066
2003-12-14 21:56:52 +00:00
Filip Navara
303442cb3f Fixed palette locking.
svn path=/trunk/; revision=7065
2003-12-14 21:32:52 +00:00
Filip Navara
7cc31db5e6 Fixed compilation.
svn path=/trunk/; revision=7064
2003-12-14 21:29:42 +00:00
KJK::Hyperion
9a77dd5548 fixed wsock32 export ordinals
svn path=/trunk/; revision=7063
2003-12-14 21:25:42 +00:00
Gé van Geldorp
f5d602de19 Reverse WndProcA and WndProcW, our order is the reverse of the order in
Wine (we should change it)

svn path=/trunk/; revision=7062
2003-12-14 21:07:54 +00:00
Steven Edwards
c8004d7823 Added inital port of Wine Preprocessor
svn path=/trunk/; revision=7061
2003-12-14 19:53:39 +00:00
Steven Edwards
b53aeac47d added internal WINE Preprocessor header.
svn path=/trunk/; revision=7060
2003-12-14 19:51:58 +00:00
Filip Navara
0a1e17fdad Fixed issue that cause user-mode exception stack traces not to work. Patch by Mike Nordell.
svn path=/trunk/; revision=7059
2003-12-14 19:43:09 +00:00
Gé van Geldorp
8f77e7b0ae Implement real locking for GDIOBJ objects
svn path=/trunk/; revision=7058
2003-12-14 19:39:50 +00:00
Steven Edwards
b66d0e5129 More updates for string handling.
svn path=/trunk/; revision=7057
2003-12-14 19:37:03 +00:00
Steven Edwards
11238b6c17 Added new port of WINE controls to get rid of some debug messages
and make the code a little cleaner.

svn path=/trunk/; revision=7056
2003-12-14 19:36:15 +00:00
Thomas Bluemel
fafd8079ae remove message from the list if it was freed in MsqTranslateMouseMessage()
svn path=/trunk/; revision=7055
2003-12-14 19:04:51 +00:00
Filip Navara
2cc22c2214 Added two debugging messages. Patch by Mike Nordell.
svn path=/trunk/; revision=7054
2003-12-14 18:36:15 +00:00
Steven Edwards
1f86ab3ae7 Added simple unix style process killer.
svn path=/trunk/; revision=7053
2003-12-14 18:31:32 +00:00
Hartmut Birr
447dd99842 - Do not place _main into the init section. If ntoskrnl is compiled
with higher optimisation levels, some code from a non init section
  is internal moved to _main. This does crash reactos.

svn path=/trunk/; revision=7052
2003-12-14 18:16:18 +00:00
Hartmut Birr
2d6b3f91ba - Use the correct heap for all heap functions.
svn path=/trunk/; revision=7051
2003-12-14 18:10:05 +00:00
Hartmut Birr
e60b5574fb - Fixed some declarations.
- Removed old linux declarations.

svn path=/trunk/; revision=7050
2003-12-14 18:08:29 +00:00
Hartmut Birr
55bc18d383 - Replaced ctype.h with internal\ctype.h.
On higher optimisation levels like '-O6', gcc does try to
  import some variables which only exist in msvcrt.dll.

svn path=/trunk/; revision=7049
2003-12-14 18:06:44 +00:00
Hartmut Birr
511cae90ca - Removed ctype.h.
svn path=/trunk/; revision=7048
2003-12-14 18:03:59 +00:00
Hartmut Birr
4e7d177b17 - Fixed the declaration of some thread functions.
svn path=/trunk/; revision=7045
2003-12-14 18:02:34 +00:00
Filip Navara
41b0a75f9a - Implementation of [NtUser]GetClipboardFormatName[A/W].
svn path=/trunk/; revision=7044
2003-12-14 17:59:17 +00:00
Hartmut Birr
ca0cd5480e - Fixed some debug messages.
- Removed ctype.h.

svn path=/trunk/; revision=7043
2003-12-14 17:58:00 +00:00
Hartmut Birr
7c2b20a019 - Initialized some local variables.
svn path=/trunk/; revision=7042
2003-12-14 17:56:23 +00:00
Hartmut Birr
271512ad67 - Fixed the initialisation of the core dump service in MmDumpToPagingFile.
svn path=/trunk/; revision=7041
2003-12-14 17:54:22 +00:00
Hartmut Birr
092d37b773 - Added return values to some unimplemented functions.
svn path=/trunk/; revision=7040
2003-12-14 17:51:41 +00:00
Hartmut Birr
e9568da21e - Added return values to some unimplemented functions.
svn path=/trunk/; revision=7039
2003-12-14 17:44:02 +00:00
Martin Fuchs
7401408c91 back to 1.30
svn path=/trunk/; revision=7038
2003-12-14 16:28:07 +00:00
Martin Fuchs
3c84b794d6 shell registry entries for recycle bin
svn path=/trunk/; revision=7037
2003-12-14 16:25:52 +00:00
Thomas Bluemel
b97ddcab8a added multi-threaded multiwin test app
svn path=/trunk/; revision=7036
2003-12-14 16:11:40 +00:00
Eric Kohl
85ab8b5562 Detect serial ports and serial pointer devices (Mice/Trackballs).
svn path=/trunk/; revision=7035
2003-12-14 16:11:34 +00:00
Martin Fuchs
b88b8a633f added Win32 configuration
svn path=/trunk/; revision=7034
2003-12-14 16:08:35 +00:00
Martin Fuchs
3a1d7c32b2 handle Exceptions early to ignore shell32 incompleteness
svn path=/trunk/; revision=7033
2003-12-14 16:07:54 +00:00
Martin Fuchs
e2b92fc4f9 back to 1.30
svn path=/trunk/; revision=7032
2003-12-14 15:48:33 +00:00
Martin Fuchs
460e0e19e3 back to 1.29
svn path=/trunk/; revision=7031
2003-12-14 15:42:59 +00:00
Martin Fuchs
438f6b21f8 registry entries for CLSID_COMPUTER_SEARCH_RESULTS
svn path=/trunk/; revision=7030
2003-12-14 15:39:49 +00:00
Thomas Bluemel
56c46f052a automatically build enumws test app
svn path=/trunk/; revision=7029
2003-12-14 15:13:05 +00:00
Thomas Bluemel
6e1dc58809 remove file from empty directory
svn path=/trunk/; revision=7028
2003-12-14 15:09:48 +00:00
Martin Fuchs
ca67299367 fixed typo
svn path=/trunk/; revision=7027
2003-12-14 15:02:28 +00:00
Martin Fuchs
e9fe559efd added LOG message
svn path=/trunk/; revision=7026
2003-12-14 15:02:17 +00:00
Thomas Bluemel
f0a64ffc31 added missing .cvsignore files
svn path=/trunk/; revision=7025
2003-12-14 15:01:27 +00:00
Filip Navara
ef7550f1ad - Added few ObDereferenceObject calls.
svn path=/trunk/; revision=7024
2003-12-14 14:29:44 +00:00
Thomas Bluemel
a55087b101 dereference thread in NtUserBuildHwndList()
svn path=/trunk/; revision=7023
2003-12-14 14:26:50 +00:00
Thomas Bluemel
5571270a01 win32k now can handle piped mouse input, the obsolete gdi callback can be disabled by changing ENABLEMOUSEGDICALLBACK to 0 (in input.c).
Feel free to fix mouclass to be windows compatible.

svn path=/trunk/; revision=7022
2003-12-14 14:05:47 +00:00
Gé van Geldorp
dbc9a2e835 Fix Unicode/Ansi conversion problem
svn path=/trunk/; revision=7021
2003-12-14 14:01:38 +00:00
Thomas Bluemel
87bff663cd fixed NtUserGetClipboardFormatName()
svn path=/trunk/; revision=7020
2003-12-14 13:55:01 +00:00
Thomas Bluemel
df4f47d0df fixed compiling problems
svn path=/trunk/; revision=7019
2003-12-14 13:26:20 +00:00
Filip Navara
09feaad3e1 - Separation of clipboard routines in win32k.
- Call NtUser* for clipboard functions in user32.
- Minor correction for SetCaretBlinkTime.
- Removed empty userobj.c file.

svn path=/trunk/; revision=7018
2003-12-14 12:39:32 +00:00
Gé van Geldorp
5b81f371b6 Since LoadLibrary is documented to return NULL on failure, use that as
indication of an invalid module handle instead of DDK INVALID_HANDLE_VALUE

svn path=/trunk/; revision=7017
2003-12-14 11:47:54 +00:00
Gé van Geldorp
96e065ecb2 When sending messages to a window in the same thread, call window proc
from usermode instead of from a kernelmode callback

svn path=/trunk/; revision=7016
2003-12-14 11:36:43 +00:00
Martin Fuchs
de49436dfe activated Doxygen option SEARCHENGINE
svn path=/trunk/; revision=7015
2003-12-14 11:15:53 +00:00
Martin Fuchs
1de0a62887 activate Doxygen SEARCHENGINE option
svn path=/trunk/; revision=7014
2003-12-14 10:55:30 +00:00
Martin Fuchs
231aabebcb activate Doxygen SEARCHENGINE option
svn path=/trunk/; revision=7013
2003-12-14 10:50:34 +00:00
Martin Fuchs
e28d71cdbf correct problem with temporary object descruction (reported by G� van Geldorp)
svn path=/trunk/; revision=7012
2003-12-14 10:47:41 +00:00
Martin Fuchs
13ba729805 handle NULL string pointers
svn path=/trunk/; revision=7011
2003-12-14 10:45:11 +00:00
Thomas Bluemel
78f6e71be8 Another crash removed. Patch by Mike Nordell.
svn path=/trunk/; revision=7010
2003-12-14 00:45:39 +00:00
Gé van Geldorp
b295839f98 In RegQueryValueExA, always request the type from RegQueryValueExW, we
need it, even if our caller doesn't, to determine if conversion is required

svn path=/trunk/; revision=7009
2003-12-13 23:59:45 +00:00
Gé van Geldorp
44123858ae Remove optimization (not thread-safe)
svn path=/trunk/; revision=7008
2003-12-13 23:26:04 +00:00
Thomas Bluemel
0d9840021e fixes to cursors
svn path=/trunk/; revision=7007
2003-12-13 22:38:29 +00:00
Gé van Geldorp
d15b8ab119 Print debug message if memory allocation fails
svn path=/trunk/; revision=7006
2003-12-13 21:11:53 +00:00
Filip Navara
87219b9874 Minor correction.
svn path=/trunk/; revision=7005
2003-12-13 19:59:08 +00:00
Thomas Bluemel
c24738870e removed an unneccessary call to BITMAPOBJ_UnlockBitmap. Patch by Mike Nordell.
svn path=/trunk/; revision=7004
2003-12-13 19:53:17 +00:00
Filip Navara
9743e313e0 Updated list of developers.
svn path=/trunk/; revision=7003
2003-12-13 19:47:27 +00:00
Thomas Bluemel
d63d830a62 fixed NtGdiCreateIC() to use UNICODE_STRING
svn path=/trunk/; revision=7002
2003-12-13 19:27:10 +00:00
Gé van Geldorp
1da0ada508 Fix setting z-order of HWND_BOTTOM
svn path=/trunk/; revision=7001
2003-12-13 18:42:52 +00:00
Gé van Geldorp
ff557884f4 Fix rectangle computation in NtUserPaintDesktop() and remove Wine-ism
svn path=/trunk/; revision=7000
2003-12-13 18:40:34 +00:00
Filip Navara
04d3cc439d Fixed boot video driver registry entry.
svn path=/trunk/; revision=6999
2003-12-13 18:36:47 +00:00
Filip Navara
9c5dbfa383 Fixed algorithm for generating driver path.
svn path=/trunk/; revision=6998
2003-12-13 18:35:50 +00:00
Filip Navara
a7d4741918 Desktop should handle WM_ERASEBKGND.
svn path=/trunk/; revision=6997
2003-12-13 16:04:36 +00:00
Thomas Bluemel
b0848526af fixed NtGdiCreateDC() to use UNICODE_STRINGs
svn path=/trunk/; revision=6996
2003-12-13 15:49:32 +00:00
Eric Kohl
619a2c32d9 Initialize IRP.RequestorMode in system functions that can be called from user mode.
Use safe copy routine to copy IoStatusBlock if a system funtion was called from user mode.
Do not use local IoStatusBlock copy in system functions.

svn path=/trunk/; revision=6995
2003-12-13 14:36:42 +00:00
Eric Kohl
90f099cffe Do not probe a user buffer until SEH is usable.
svn path=/trunk/; revision=6994
2003-12-13 14:25:04 +00:00
Thomas Bluemel
63a627527e fixed NtGdiGetDCOrgEx() and NtGdiGetObject()
svn path=/trunk/; revision=6993
2003-12-13 13:45:18 +00:00
Jason Filby
5e4291354e Copied _heapchk(), _heapmin(), _heapset() and _heapwalk() from CRTDLL
svn path=/trunk/; revision=6992
2003-12-13 13:27:46 +00:00
Thomas Bluemel
097d8c9998 fixed NtGdiPolygon() which i accidently broke
svn path=/trunk/; revision=6991
2003-12-13 13:05:30 +00:00
Thomas Bluemel
aa1e1145d5 fixed NtGdiGetClipBox()
svn path=/trunk/; revision=6990
2003-12-13 12:12:41 +00:00
Filip Navara
ce30efdf86 Commented out EnumWindowStationsW and NtUserBuildNameList implementations. If someone wants to work on them, feel free.
svn path=/trunk/; revision=6989
2003-12-13 11:34:53 +00:00
Thomas Bluemel
d646f08d69 fixed NtGdiCreateEllipticRgnIndirect()
svn path=/trunk/; revision=6988
2003-12-13 11:15:06 +00:00
Thomas Bluemel
3f9b54f180 fixed NtGdiPolyPolyline(), NtGdiPolygon() and NtGdiPolyPolygon()
svn path=/trunk/; revision=6987
2003-12-13 10:57:29 +00:00
Thomas Bluemel
5b3541de15 fixed TextIntRealizeFont()
svn path=/trunk/; revision=6986
2003-12-13 10:34:13 +00:00
Thomas Bluemel
3a6264fe95 fixed some line functions to be more secure
svn path=/trunk/; revision=6985
2003-12-13 10:18:01 +00:00
Art Yerkes
a04237fc97 Changed the SPIN_LOCK to a FAST_MUTEX. This is really what belongs there.
svn path=/trunk/; revision=6984
2003-12-13 06:19:59 +00:00
Thomas Bluemel
0d6a146059 added support for the FR_PRIVATE and FR_NOT_ENUM flags for AddFontResourceEx()
svn path=/trunk/; revision=6983
2003-12-12 23:49:48 +00:00
Thomas Bluemel
c3fedb7f0b little bugfix
svn path=/trunk/; revision=6982
2003-12-12 22:57:26 +00:00
Thomas Bluemel
98f06b02ed changed font table to a double-linked list
svn path=/trunk/; revision=6981
2003-12-12 22:50:20 +00:00
Eric Kohl
6010d1fd63 - Fix Unix line breaks.
- Use HAL PCI bus routines in order avoid race conditions.
- Use slot number to distinguish multiple device of the same kind.

svn path=/trunk/; revision=6980
2003-12-12 21:54:42 +00:00
Thomas Bluemel
0dc6bcee53 fixed NtGdiAddFontResource() to accept a PUNICODE_STRING
svn path=/trunk/; revision=6979
2003-12-12 21:37:39 +00:00
Martin Fuchs
2fac53c867 patch of Ge van Geldorp <ge@gse.nl>: added error handling for BackupRead()
svn path=/trunk/; revision=6978
2003-12-12 21:01:35 +00:00
Gé van Geldorp
d59d3daf21 Retrieve tmAveCharWidth font metric
svn path=/trunk/; revision=6977
2003-12-12 20:51:42 +00:00
Thomas Bluemel
b2854c757b implemented GetThreadDesktop()
svn path=/trunk/; revision=6976
2003-12-12 20:44:52 +00:00
Gé van Geldorp
59d7369cf8 Pass dpt parameter on from DrawTextExA to DrawTextExW
svn path=/trunk/; revision=6975
2003-12-12 20:30:02 +00:00
Thomas Bluemel
e76c8bc473 removed no longer needed VIS_RepaintDesktop()
svn path=/trunk/; revision=6974
2003-12-12 18:59:24 +00:00
Thomas Bluemel
a6f864bf92 moved IntGetDesktopWindow() to desktop.c and a few minor fixes
svn path=/trunk/; revision=6973
2003-12-12 18:18:21 +00:00
Gé van Geldorp
f0c3bc979b Implement NtUserGetDCEx() for non-cache DCs
svn path=/trunk/; revision=6972
2003-12-12 17:20:53 +00:00
Thomas Bluemel
08984a5120 Fix kernel-crash when handling user-mode exception with trashed stack pointer. Patch by Mike Nordell.
svn path=/trunk/; revision=6971
2003-12-12 17:09:27 +00:00
Thomas Bluemel
3deb3adee6 don't unlink a window that has no parent window
svn path=/trunk/; revision=6970
2003-12-12 16:56:20 +00:00
Thomas Bluemel
224147dd48 Fix kernel-crash when handling user-mode exception with trashed stack pointer. Patch by Mike Nordell.
svn path=/trunk/; revision=6969
2003-12-12 16:42:16 +00:00
Thomas Bluemel
32930c3ec6 fixed some gdi functions
svn path=/trunk/; revision=6968
2003-12-12 15:47:37 +00:00
Filip Navara
5e5010b3c3 Fixed compilation with DBG == 1.
svn path=/trunk/; revision=6967
2003-12-12 15:33:40 +00:00
Gé van Geldorp
e4ca173e64 Rollback changes which were checked in by accident
svn path=/trunk/; revision=6966
2003-12-12 14:57:23 +00:00
Gé van Geldorp
ae68da49b6 Incomplete implementation of hooks
svn path=/trunk/; revision=6965
2003-12-12 14:22:37 +00:00
Gé van Geldorp
dc8bfd1046 Remove breakpoint left in by accident
svn path=/trunk/; revision=6964
2003-12-12 12:54:30 +00:00
Gé van Geldorp
49546dc5fc Keep reference to display file open
svn path=/trunk/; revision=6963
2003-12-12 12:53:10 +00:00
Martin Fuchs
a754cb4e7f Fix Explorer name
svn path=/trunk/; revision=6962
2003-12-11 23:21:49 +00:00
Aleksey Bragin
43412229b7 Implemented 16bpp to 16bpp scaling. Only stretch now, shrinking works incorrectly! If you find errors in the code - email me.
svn path=/trunk/; revision=6961
2003-12-11 22:55:03 +00:00
Martin Fuchs
4fca2f2538 add mising initializations for ShellExecuteEx()
svn path=/trunk/; revision=6960
2003-12-11 20:14:15 +00:00
Filip Navara
30d25fb859 Small correction for drawing close button. Patch by Mike Nordell.
svn path=/trunk/; revision=6959
2003-12-11 19:36:20 +00:00
Gé van Geldorp
2007f3dbe9 Fix COLOR_3DLIGHT SysColour (or SysColor for our US friends).
Patch by tamlin.

svn path=/trunk/; revision=6958
2003-12-11 16:24:06 +00:00
Thomas Bluemel
24e3b63b61 fixed NtGdiCreateBrushIndirect() and NtGdiPolyPatBlt()
svn path=/trunk/; revision=6957
2003-12-11 15:14:40 +00:00
Thomas Bluemel
8e00d905ca fixed NtGdiCreatePenIndirect()
svn path=/trunk/; revision=6956
2003-12-11 14:48:55 +00:00
Art Yerkes
f11644a0f7 Fixed comments to reflect microseconds.
svn path=/trunk/; revision=6955
2003-12-11 04:23:25 +00:00
Thomas Bluemel
cf7329bc4c don't allow destroying cursors that are currently in use
svn path=/trunk/; revision=6954
2003-12-10 22:47:11 +00:00
Thomas Bluemel
a9272c95c1 store ShellWindow and ShellListView handle in window station and minor fix on destroying icons
svn path=/trunk/; revision=6953
2003-12-10 22:09:56 +00:00
Casper Hornstrup
c4403877c7 2003-12-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/wine2ros: New directory.
	* tools/wine2ros/Makefile: New file.
	* tools/wine2ros/wine2ros.c: Ditto.
	* tools/Makefile (wine2ros_target): Add.
	* rules.mak (WINE2ROS): Define.

svn path=/trunk/; revision=6952
2003-12-10 20:34:53 +00:00
Casper Hornstrup
2e670eb2b9 2003-12-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api/Wine

	* include/basetsd.h: #include_next <basetsd.h>. Add definitions missing
	in w32api.
	* include/mmddk.h: #include_next <mmddk.h>. Add definitions missing in
	w32api.
	* include/wine/winternl.h (DbgPrint): Use ReactOS prototype to avoid
	conflicts.

svn path=/trunk/; revision=6951
2003-12-10 20:15:51 +00:00
Thomas Bluemel
3a313ee195 added a (slightly modified) mdi test application from winprog.org. Thanks to Brook Miles aka theForger
svn path=/trunk/; revision=6950
2003-12-10 19:18:06 +00:00
Gé van Geldorp
71aa8f0389 Re-enabled call to NtUserFindExistingCursorIcon after w3seek found and
fixed the problem in it

svn path=/trunk/; revision=6949
2003-12-10 19:02:33 +00:00
Gé van Geldorp
26e57732ad Advancing the list pointer helps prevent infinite loops
svn path=/trunk/; revision=6948
2003-12-10 17:33:42 +00:00
Thomas Bluemel
d09553720e removed the WM_MDICREATE case from DefWindowProc because it should only be handled by the MDIClient class
svn path=/trunk/; revision=6947
2003-12-10 16:59:00 +00:00
Vizzini
c1e158eb0b minor fix by filip navara
svn path=/trunk/; revision=6946
2003-12-10 16:08:49 +00:00
Richard Campbell
e459bfb085 implemented WM_MDICREATE
svn path=/trunk/; revision=6945
2003-12-10 06:47:32 +00:00
Richard Campbell
0ae62e4d37 Sorry, ultraedit32 is REALLY starting to piss me off.
svn path=/trunk/; revision=6944
2003-12-10 05:41:21 +00:00
Richard Campbell
08ac08a433 Implemented OpenIcon()
svn path=/trunk/; revision=6943
2003-12-10 03:59:18 +00:00
Gé van Geldorp
2989352879 Handle \path\ending\in\slash\ directory searches
svn path=/trunk/; revision=6942
2003-12-09 23:37:59 +00:00
Gé van Geldorp
2f434abd37 Fix some Wine/ReactOS differences
svn path=/trunk/; revision=6941
2003-12-09 23:36:25 +00:00
Filip Navara
0b5e7d7f44 Fixes to get comctl32 compilable again.
svn path=/trunk/; revision=6940
2003-12-09 21:20:31 +00:00
Thomas Bluemel
a890849840 allow caching icons/cursors with different sizes
svn path=/trunk/; revision=6939
2003-12-09 20:58:16 +00:00
Filip Navara
75455da9ab Fixed exports of shlwapi.dll and added .cvsignore.
svn path=/trunk/; revision=6938
2003-12-09 20:07:01 +00:00
Gé van Geldorp
198d453823 Use GRPCURSORICONDIR instead of CURSORICONDIR (latter is defined wrong)
svn path=/trunk/; revision=6937
2003-12-09 19:45:37 +00:00
Gé van Geldorp
2acdd8da85 Temporarily deactivate LR_SHARED handling for icons
svn path=/trunk/; revision=6936
2003-12-09 19:43:38 +00:00
Thomas Bluemel
10e81a9d76 fixed small bug
svn path=/trunk/; revision=6935
2003-12-09 19:38:47 +00:00
Thomas Bluemel
d7faa0cc7a changed handle management of cursors/icons
svn path=/trunk/; revision=6934
2003-12-09 19:34:33 +00:00
Filip Navara
6bb203a698 Fixed compilation of shlwapi.dll.
svn path=/trunk/; revision=6933
2003-12-09 19:07:29 +00:00
Casper Hornstrup
23cb2784b6 2003-12-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
* rules.mak (WINEBUILD): Define.
	* tools/winebuild/Makefile: New file.
	* tools/winebuild/import.c (ldcombine_files): Replace mkstemps with Win32
	APIs.
	* tools/winebuild/main.c (main): Win16 specs and relays are not supported.
	* tools/winebuild/spec32.c (EXCEPTION_WINE_STUB, EH_NONCONTINUABLE):
	Define.
	(BuildDef32File): Don't emit PRIVATE.

svn path=/trunk/; revision=6932
2003-12-09 19:02:19 +00:00
Casper Hornstrup
6bb605e497 2003-12-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/winebuild: Import winebuild from Wine (D20031208).

svn path=/trunk/; revision=6931
2003-12-09 18:44:25 +00:00
Filip Navara
6830b8c962 Some compilation fixes,
svn path=/trunk/; revision=6930
2003-12-09 18:35:14 +00:00
Gé van Geldorp
adca6ce537 Use default langid if no resource langid given
svn path=/trunk/; revision=6929
2003-12-09 18:22:29 +00:00
Filip Navara
f420913748 Initial port of shlwapi.dll from Wine that doesn't compile yet. I don't want to keep it private, but there is still one file that doesn't compile. If anyone wants to go and fix it, feel free to do so.
svn path=/trunk/; revision=6928
2003-12-09 16:50:53 +00:00
Filip Navara
8615f19c50 Preparing for import of new Wine DLLs...
svn path=/trunk/; revision=6927
2003-12-09 16:44:49 +00:00
Aleksey Bragin
f104e01daa Removed unnecessary debug message.
svn path=/trunk/; revision=6926
2003-12-09 14:28:48 +00:00
Gé van Geldorp
a58f6413da Handle NULL FilePart
svn path=/trunk/; revision=6925
2003-12-09 10:38:05 +00:00
Gé van Geldorp
59ca8af658 Release mutex if handle not found
svn path=/trunk/; revision=6924
2003-12-08 22:51:11 +00:00
Casper Hornstrup
61fe50f6f6 2003-12-08 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/win32k/text.h (NtGdiExtTextOut): Follow ExtTextOut prototype.
	* lib/gdi32/objects/text.c (ExtTextOutW): Call NtGdiExtTextOut().
	* lib/user32/controls/edit.c (EDIT_BuildLineDefs_ML): Order parameters to
	CreateRectRgn().
	* lib/user32/windows/draw.c (TabbedTextOutA): Implement.
	(TEXT_TabbedTextOut): New function.
	(TabbedTextOutW): Implement.
	* subsys/win32k/objects/text.c (NtGdiExtTextOut): Call NtGdiTextOut() for
	now.

svn path=/trunk/; revision=6923
2003-12-08 20:58:44 +00:00
Gé van Geldorp
bfb695a0b4 Introduce separate lock for hardware message list
svn path=/trunk/; revision=6922
2003-12-08 20:40:41 +00:00
Hartmut Birr
6edff6b843 - Open the file for synchronous access in OpenFile.
svn path=/trunk/; revision=6921
2003-12-08 19:50:31 +00:00
Hartmut Birr
24c6c9673c - Check for illegal characters for short file names in RtlIsNameLegalDOS8Dot3.
svn path=/trunk/; revision=6920
2003-12-08 19:47:07 +00:00
Filip Navara
a060d87754 Fix for buggy libc under Linux. Patch by Sebastian Schmidt <yath@yath.eu.org>.
svn path=/trunk/; revision=6919
2003-12-08 19:17:56 +00:00
Filip Navara
592352cbb8 Converted '.phony' to '.PHONY'. Patch by Sebastian Schmidt.
svn path=/trunk/; revision=6918
2003-12-08 19:10:44 +00:00
Aleksey Bragin
52522c1d07 EngStretchBlt() removed from stubs
svn path=/trunk/; revision=6917
2003-12-08 18:41:59 +00:00
Filip Navara
7c18970a16 Implementation of ScrollWindow, ScrollWindowEx, ScrollDC and DDE ported from Wine.
svn path=/trunk/; revision=6916
2003-12-08 18:21:25 +00:00
Aleksey Bragin
893644d308 Changes to NtGdiStretchBlt().
If you encounter any problems compiling (though you shouldn't) -- I'm in IRC now.

svn path=/trunk/; revision=6915
2003-12-08 18:09:08 +00:00
Aleksey Bragin
2a9609d601 Note SURFGDI structure change --- added new DIB function called DIB_StretchBlt().
StretchBlt() skeleton is now working as it should (w/o some clipping, stretching modes set, but all this is marked either as FIXME or TODO).

svn path=/trunk/; revision=6914
2003-12-08 18:07:56 +00:00
Aleksey Bragin
c1eb7e7ef1 Added stubs for DIB_StretchBlt() functions for each BPP
svn path=/trunk/; revision=6913
2003-12-08 18:05:30 +00:00
Aleksey Bragin
c7588268ef Added IntEngStretchBlt() implementation.
If your video driver supports DrvStretchBlt(), it should already work.

svn path=/trunk/; revision=6912
2003-12-08 11:11:11 +00:00
Aleksey Bragin
d4638a1fd5 Added initial NtGdiStretchBlt() implementation
svn path=/trunk/; revision=6911
2003-12-08 11:10:02 +00:00
Aleksey Bragin
5d1f3e4b20 Added declaration of IntEngStretchBlt()
svn path=/trunk/; revision=6910
2003-12-08 11:08:27 +00:00
Gé van Geldorp
813825fd27 Handle NULL fname
svn path=/trunk/; revision=6909
2003-12-08 10:25:26 +00:00
Gé van Geldorp
89d0892531 Move desktop window proc from WIN32K to CSRSS
svn path=/trunk/; revision=6908
2003-12-07 23:02:57 +00:00
Thomas Bluemel
bfcd20af5e added check for hInstance in UnregisterClass()
svn path=/trunk/; revision=6907
2003-12-07 23:01:01 +00:00
Filip Navara
088e628e66 Implementation of _expand and _msize.
svn path=/trunk/; revision=6906
2003-12-07 22:59:13 +00:00
Thomas Bluemel
24c9fab813 implemented UnregisterClass()
svn path=/trunk/; revision=6905
2003-12-07 22:25:34 +00:00
Thomas Bluemel
7c98a98880 moved desktop code to desktop.c
svn path=/trunk/; revision=6904
2003-12-07 19:29:33 +00:00
Filip Navara
62acb5b575 Basic implementation of CopyImage and FindWidowExA.
svn path=/trunk/; revision=6903
2003-12-07 18:54:15 +00:00
Thomas Bluemel
11eed94164 fixed minor bug
svn path=/trunk/; revision=6902
2003-12-07 17:22:13 +00:00
Casper Hornstrup
13a5b00db7 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/windows/accel.c (U32IsValidAccelMessage): Translate WM_KEYUP
	and WM_SYSKEYUP messages.
	(TranslateAcceleratorA): Returntype of RtlMultiByteToUnicodeN is NTSTATUS,
	so interpret it as such.
	* subsys/win32k/ntuser/accelerator.c (NtUserDestroyAcceleratorTable):
	Call ObmCloseHandle() before destroying the object.
	(IntTranslateAccelerator): New function.
	(NtUserTranslateAccelerator): Partial implementation.

svn path=/trunk/; revision=6901
2003-12-07 16:54:44 +00:00
Martin Fuchs
d85259d689 relative paths for option STRIP_FROM_PATH; avtivate source browsing
svn path=/trunk/; revision=6900
2003-12-07 16:46:31 +00:00
Martin Fuchs
9dd0e68761 make docu
svn path=/trunk/; revision=6899
2003-12-07 15:16:17 +00:00
Thomas Bluemel
7a1f816ca0 implemented NtUserCopyAcceleratorTable()
svn path=/trunk/; revision=6898
2003-12-07 14:21:00 +00:00
Martin Fuchs
79b526c30c comment
svn path=/trunk/; revision=6897
2003-12-07 13:40:08 +00:00
Martin Fuchs
5c0386cd16 incldue/exclude cleanup
svn path=/trunk/; revision=6896
2003-12-07 13:20:05 +00:00
Thomas Bluemel
62a63e2892 fixed releasing window object
svn path=/trunk/; revision=6895
2003-12-07 13:14:22 +00:00
Martin Fuchs
c5db293dcf added lib Doxygen config file
svn path=/trunk/; revision=6894
2003-12-07 13:08:02 +00:00
Martin Fuchs
39c8ef6f55 fix freetype typo
svn path=/trunk/; revision=6893
2003-12-07 13:00:18 +00:00
Casper Hornstrup
5efa33af96 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/win32k/include/accelerator.h: New file.
	* subsys/win32k/ntuser/accelerator.c: Ditto.
	* include/win32k/ntuser.h (NtUserDestroyAcceleratorTable): Make returntype
	BOOLEAN.
	* subsys/win32k/makefile (NTUSER_OBJECTS): Add ntuser/accelerator.o.
	* subsys/win32k/include/object.h (USER_OBJECT_TYPE): Add otAcceleratorTable.
	* subsys/win32k/main/dllmain.c (DllMain): Call InitAcceleratorImpl().
	* subsys/win32k/ntuser/stubs.c (NtUserCopyAcceleratorTable,
	NtUserCreateAcceleratorTable, NtUserDestroyAcceleratorTable,
	NtUserTranslateAccelerator): Move to accelerator.c.

svn path=/trunk/; revision=6892
2003-12-07 12:59:34 +00:00
Martin Fuchs
22e15cb2f5 disabled pipetools compilation for cross compilation
svn path=/trunk/; revision=6891
2003-12-07 12:54:13 +00:00
Casper Hornstrup
b04c081348 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/tests/accelerator: New directory.
	* apps/tests/accelerator/accelerator.c: New file.
	* apps/tests/accelerator/.cvsignore: Ditto.
	* apps/tests/accelerator/Makefile: Ditto.
	* apps/tests/Makefile (TEST_APPS): Add accelerator.

svn path=/trunk/; revision=6890
2003-12-07 12:40:22 +00:00
Martin Fuchs
35e7df613e removed buildno.h from CVS
svn path=/trunk/; revision=6889
2003-12-07 12:38:55 +00:00
Martin Fuchs
2977c52afb Spaces
svn path=/trunk/; revision=6888
2003-12-07 12:10:09 +00:00
Martin Fuchs
d240c51df0 added doxygen config file for NTDLL and Freetype
svn path=/trunk/; revision=6887
2003-12-07 12:08:20 +00:00
Martin Fuchs
e1ad4ca5fc added doxygen config file for Freetype
svn path=/trunk/; revision=6886
2003-12-07 12:07:58 +00:00
Martin Fuchs
d490efa934 added doxygen config file for NTDLL
svn path=/trunk/; revision=6885
2003-12-07 12:06:45 +00:00
Martin Fuchs
659fa2aab8 added doxygen config file
svn path=/trunk/; revision=6884
2003-12-07 12:06:15 +00:00
Casper Hornstrup
3e8873192b 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* regtests/Makefile: Generate regression test registrations.
	* regtests/kmregtests/.cvsignore: Ignore Makefile.tests.
	* regtests/win32base/.cvsignore: Ditto.
	* regtests/kmregtests/Makefile: Include Makefile.tests.
	* regtests/win32base/Makefile: Ditto.
	* regtests/kmregtests/tests: New directory.
	* regtests/win32base/tests: Ditto.
	* regtests/kmregtests/tests/.cvsignore: New file.
	* regtests/win32base/tests/.cvsignore: Ditto.
	* tools/helper.mk: Remove TARGET_GENREGTESTS.
	* tools/regtests.c: Generate makefile for regression tests.
	(change_extension): New function.
	* regtests/win32base/file-1.c: Move ...
	* regtests/win32base/tests/file-1.c: ... here.

svn path=/trunk/; revision=6883
2003-12-07 11:34:41 +00:00
Filip Navara
c22a7eb6ed Basic StretchDIBits implementation.
svn path=/trunk/; revision=6882
2003-12-07 10:31:56 +00:00
Filip Navara
419d47d89f Window classes/Atom fixes
svn path=/trunk/; revision=6881
2003-12-07 10:31:22 +00:00
Martin Fuchs
b2c247faf1 corrected EXCLUDE option
svn path=/trunk/; revision=6880
2003-12-07 08:35:57 +00:00
Filip Navara
08dcc0e1a6 Modification for compatibility with crtdll.
svn path=/trunk/; revision=6879
2003-12-07 08:23:18 +00:00
Thomas Bluemel
bcee43d68f a few changes
svn path=/trunk/; revision=6878
2003-12-07 01:17:28 +00:00
Thomas Bluemel
2be74a0eb2 added userinit application
svn path=/trunk/; revision=6877
2003-12-07 01:12:58 +00:00
Martin Fuchs
157d55a8aa adjusted tree view width
svn path=/trunk/; revision=6876
2003-12-07 00:15:40 +00:00
Martin Fuchs
d95e0e6fac adjusted doxygen options
svn path=/trunk/; revision=6875
2003-12-07 00:10:21 +00:00
Thomas Bluemel
0b4f93260c some more work on winlogon
svn path=/trunk/; revision=6874
2003-12-07 00:04:20 +00:00
Thomas Bluemel
ab4deea68c make CreateProcessAsUser() call CreateProcess() as we don't support user login
svn path=/trunk/; revision=6873
2003-12-06 23:29:35 +00:00
Martin Fuchs
f32217a0af initial doxygen configuration
svn path=/trunk/; revision=6872
2003-12-06 23:26:20 +00:00
Martin Fuchs
7a059d5382 integrated explorer documentaion build
svn path=/trunk/; revision=6871
2003-12-06 23:22:30 +00:00
Martin Fuchs
18173aff8b initial doxygen configuraion
svn path=/trunk/; revision=6870
2003-12-06 23:11:41 +00:00
Martin Fuchs
c327cd0a03 adjust displayed file tree
svn path=/trunk/; revision=6869
2003-12-06 21:04:22 +00:00
Filip Navara
6d529771a4 Bugfixes
svn path=/trunk/; revision=6868
2003-12-06 20:58:27 +00:00
Martin Fuchs
ba1e3f3b39 one more correction
svn path=/trunk/; revision=6867
2003-12-06 20:30:35 +00:00
Martin Fuchs
3e8376db45 corrected implementation of backup stream reading
svn path=/trunk/; revision=6866
2003-12-06 20:21:08 +00:00
Martin Fuchs
e8ecaa9aa1 basic support to display NTFS streams in winefile windows
svn path=/trunk/; revision=6865
2003-12-06 17:15:38 +00:00
Filip Navara
558e83ae6a - Removed winedbgc.dll from reactos.dff. Reported by Casper Hornstrup.
svn path=/trunk/; revision=6864
2003-12-05 16:21:03 +00:00
Gé van Geldorp
1359df41a4 Make room for error status code when invalid request is received
svn path=/trunk/; revision=6863
2003-12-05 08:43:16 +00:00
Aleksey Bragin
08340b2f6f Make StretchBlt() call NtGdiStretchBlt() if src and dest sizes differs, otherwise calls BitBlt() as it was already done.
svn path=/trunk/; revision=6862
2003-12-04 21:37:07 +00:00
Aleksey Bragin
578a12d532 Skeleton of NtGdiStretchBlt() implemented.
svn path=/trunk/; revision=6861
2003-12-04 21:35:11 +00:00
Richard Campbell
8a1c4241be Added a branch of linux-ntfs based on kernel 2.6.0test11, this can be used as a FOUNDATION for building a STABLE read/write ntfs driver. check out http://linux-ntfs.sf.net for details on this driver.
svn path=/trunk/; revision=6860
2003-12-04 18:03:56 +00:00
Filip Navara
f0d7ce034e - Fixed MSVCRTand CRTDLL building.
svn path=/trunk/; revision=6859
2003-12-04 13:23:26 +00:00
Gé van Geldorp
1ffe9401f6 Remove direct references from csrss to win32k (call via user32/gdi32 only)
svn path=/trunk/; revision=6858
2003-12-03 21:50:50 +00:00
Gé van Geldorp
42158841dc Don't release a mutex which wasn't acquired
svn path=/trunk/; revision=6857
2003-12-03 21:38:14 +00:00
Gé van Geldorp
06f996f723 Properly initialize variable before it is used
svn path=/trunk/; revision=6856
2003-12-03 21:37:34 +00:00
Gé van Geldorp
e11e69e45f Fix creation of display-compatible DCs
svn path=/trunk/; revision=6855
2003-12-03 19:28:23 +00:00
Filip Navara
4db35a9424 - Fixed a typo.
svn path=/trunk/; revision=6854
2003-12-03 18:58:41 +00:00
Filip Navara
a27b1a9ef3 - Patched prsht.h bug reported by Jonathan Wilson.
- Applied MSVCRT_doserrno patch by Mark Weaver <mark@npsl.co.uk>.

svn path=/trunk/; revision=6853
2003-12-03 17:17:03 +00:00
Gé van Geldorp
883794822c Clean up attach hack a little bit, it's still a hack though
svn path=/trunk/; revision=6852
2003-12-03 16:57:22 +00:00
Gé van Geldorp
14f190d1d4 Handle ClipRegion == 1 as a special case in NtUserGetDCEx()
svn path=/trunk/; revision=6851
2003-12-03 08:19:03 +00:00
Filip Navara
c2e130256e Fixed build errors.
svn path=/trunk/; revision=6850
2003-12-02 20:13:30 +00:00
Filip Navara
b4e30cf77b - Attempt to fix window activation bugs reported by G� van Geldorp and Thomas Weidenmueller.
svn path=/trunk/; revision=6849
2003-12-02 19:58:54 +00:00
Filip Navara
c2642685e7 - Replaced winedbg.dll with static library libwine.a.
svn path=/trunk/; revision=6848
2003-12-02 18:12:05 +00:00
Gé van Geldorp
9b6a56054d Fix called routine names
svn path=/trunk/; revision=6847
2003-12-02 11:45:37 +00:00
Gé van Geldorp
01c43b8e32 CSRSS code shuffle
svn path=/trunk/; revision=6846
2003-12-02 11:44:01 +00:00
Gé van Geldorp
4e366db69f CSRSS code reshuffle
svn path=/trunk/; revision=6845
2003-12-02 11:38:47 +00:00
Steven Edwards
ea6699f39e Removed the old Winedbg.c from NTDLL.
svn path=/trunk/; revision=6844
2003-12-01 23:09:56 +00:00
Filip Navara
5a08456bc0 - Cleaned up unused bits of winedbgc.
svn path=/trunk/; revision=6843
2003-12-01 21:59:49 +00:00
Filip Navara
76a9aa1474 - Some small fixes on debugging macros.
- Translating of most Wine debugging macros to ReactOS ones.

svn path=/trunk/; revision=6842
2003-12-01 18:28:54 +00:00
Thomas Bluemel
e4b1dac7b7 some work on winlogon
svn path=/trunk/; revision=6841
2003-12-01 18:21:04 +00:00
Martin Fuchs
695f82be0d fixed clean target
svn path=/trunk/; revision=6840
2003-11-30 22:49:12 +00:00
Martin Fuchs
d049dc52ef added first version of pipetools; fixed clean target
svn path=/trunk/; revision=6839
2003-11-30 22:48:54 +00:00
Martin Fuchs
85ba55d94e added first version of pipetools
svn path=/trunk/; revision=6838
2003-11-30 22:48:19 +00:00
Filip Navara
ef4ad83edf Attempt to fix WinPosActivateOtherWindow problem reported by GvG.
svn path=/trunk/; revision=6837
2003-11-30 22:48:11 +00:00
Gunnar Dalsnes
1c863eef7a -temporary and ugly fix/work-around for a bug that made CreateFileW crash
when calling it directly (meaning not indirectly thru CreateFileA)

svn path=/trunk/; revision=6836
2003-11-30 20:48:07 +00:00
Gunnar Dalsnes
0901ecbf1a -made an inadvertent asynch. read into a synch. read
svn path=/trunk/; revision=6835
2003-11-30 20:37:34 +00:00
Filip Navara
7603377ffd Forgot to add these files.
svn path=/trunk/; revision=6834
2003-11-30 20:29:09 +00:00
Filip Navara
791bef9a1b Work on activation/focus.
svn path=/trunk/; revision=6833
2003-11-30 20:03:47 +00:00
Gunnar Dalsnes
863613cbbd -user apc was called with incorrect SystemParameter1
svn path=/trunk/; revision=6832
2003-11-30 20:03:01 +00:00
Gunnar Dalsnes
33ab7e9567 -hopefully fix bug where IoSecondStageCompletion was sometimes
called at DISPATCH_LEVEL

svn path=/trunk/; revision=6831
2003-11-30 20:01:05 +00:00
Gunnar Dalsnes
322bc58d98 -removed "safe" stuff
-ByteOffset is not optional for asynch. operations!!!
-fixes and cleanup

svn path=/trunk/; revision=6830
2003-11-30 19:59:41 +00:00
Gunnar Dalsnes
764fff22b4 -ReadFile(Ex)/WriteFile(Ex): fixed return values and last errors to comply
with sdk
-ReadFileEx/WriteFileEx: fixed apc callback routine

svn path=/trunk/; revision=6829
2003-11-30 19:50:42 +00:00
Gé van Geldorp
6cbc61a453 Hack around attaching a process to an already attached thread
svn path=/trunk/; revision=6828
2003-11-30 19:15:21 +00:00
Gunnar Dalsnes
d6b77edb3c After enabling regular kmode APC's I have experienced random crashes.
I'm disabling it again, until we fix the APC implementation...

svn path=/trunk/; revision=6827
2003-11-30 19:00:02 +00:00
Gé van Geldorp
31c9e79de0 Silence confusing debug message
svn path=/trunk/; revision=6826
2003-11-30 18:55:57 +00:00
Gunnar Dalsnes
f495637b1f added error checking macros
svn path=/trunk/; revision=6825
2003-11-30 18:51:43 +00:00
Hartmut Birr
ee52d15ec0 - Call MmDeletePageFileMapping with the process in MmNotPresentFaultVirtualMemory.
This is necessary for dereferencing the user mode page table.

svn path=/trunk/; revision=6824
2003-11-30 17:24:22 +00:00
Hartmut Birr
36e302cc70 - Use binary search for the offset within the pagefile.
- Reduce the overhead for retrieving the sector offsets for page files while initialisation.

svn path=/trunk/; revision=6823
2003-11-30 17:19:28 +00:00
Hartmut Birr
8f5fca485e - Protect the region for the kernel mapped low memory with a memory area.
- Unmap the mapped low memory above 1mb (0xd0100000-0xd03fffff).

svn path=/trunk/; revision=6822
2003-11-30 17:17:02 +00:00
Martin Fuchs
949a4954aa added -break command line option for debug breakpoints
svn path=/trunk/; revision=6821
2003-11-30 17:13:28 +00:00
Steven Edwards
d9cd4fb435 Cabman is now a build tool. So we can remove this copy.
svn path=/trunk/; revision=6820
2003-11-29 22:08:44 +00:00
Martin Fuchs
13347e7de3 implemented GDB stub for remote debugging
svn path=/trunk/; revision=6819
2003-11-29 21:56:23 +00:00
Casper Hornstrup
13400788e1 2003-11-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/cabman/dfp.cxx (CDFParser::Parse): Allow TokenString.
	(CDFParser::PerformFileCopy): Use CurrentChar instead of length of
	CurrentString to find the start of the next token.

svn path=/trunk/; revision=6818
2003-11-29 19:30:19 +00:00
Steven Edwards
977cdc663a add a winternl.h header untill Mingw has one or our SDK is fixed.
svn path=/trunk/; revision=6817
2003-11-29 18:09:43 +00:00
Richard Campbell
16f8dec540 Install comctl32, winmm, and ole32
svn path=/trunk/; revision=6816
2003-11-29 14:46:12 +00:00
Richard Campbell
4b9a27a78a Added winmm, comctl32, and ole32 to the build system since they now properly build
svn path=/trunk/; revision=6815
2003-11-29 14:41:45 +00:00
Richard Campbell
13154777a5 temporarily commented out CreateStreamOnHGlobal, this gets ole32 compiling with the ROS build system
svn path=/trunk/; revision=6814
2003-11-29 14:40:40 +00:00
Richard Campbell
4dac7c9df2 commented out the GUID definition since it's already defined elsewhere
svn path=/trunk/; revision=6813
2003-11-29 14:38:16 +00:00
Steven Edwards
b63bf89d46 Updated license header to reflect relicense by Brian Palmer.
Converted Comments from C++ style to C.
(WINE is going to adopt our taskmgr soon)

svn path=/trunk/; revision=6812
2003-11-29 02:31:24 +00:00
Eric Kohl
1fb5fb5f1e Ignore event object for synchronous file operations.
svn path=/trunk/; revision=6811
2003-11-28 17:17:44 +00:00
Gé van Geldorp
b504c52de2 Fix single-stepping through usermode code
svn path=/trunk/; revision=6810
2003-11-27 22:58:24 +00:00
Gunnar Dalsnes
8a62f29d9e misc
svn path=/trunk/; revision=6809
2003-11-27 20:57:58 +00:00
Gunnar Dalsnes
d31fda6197 return correct info when overwriting files
svn path=/trunk/; revision=6808
2003-11-27 20:49:07 +00:00
Gunnar Dalsnes
b4d0d3aaf0 apc work
svn path=/trunk/; revision=6807
2003-11-27 01:13:05 +00:00
Gunnar Dalsnes
05dd288048 fixed/improved GetOverlappedResult
svn path=/trunk/; revision=6806
2003-11-27 00:57:57 +00:00
Gunnar Dalsnes
ebdb1b6328 disable regular kmode apc's around Resource locks
svn path=/trunk/; revision=6805
2003-11-27 00:52:16 +00:00
Gé van Geldorp
1d9998a97f Fix ownership of driver-created palettes
svn path=/trunk/; revision=6804
2003-11-26 22:24:04 +00:00
Filip Navara
0b8af550d1 - Small fixes to get combo boxes working.
svn path=/trunk/; revision=6803
2003-11-26 22:02:39 +00:00
Gé van Geldorp
b92c914a3d Fix some GDIOBJ ownership issues
svn path=/trunk/; revision=6802
2003-11-26 21:48:35 +00:00
Filip Navara
c9d415f9d2 - Support for index NUMRESERVED in NtGdiGetDeviceCaps.
svn path=/trunk/; revision=6801
2003-11-26 18:44:08 +00:00
Vizzini
fcfd77241a Fixed a race condition on unload, other minor clean-up, now loads and runs correctly on win2ksp4 checked w/ full verifier
svn path=/trunk/; revision=6800
2003-11-26 09:12:07 +00:00
Art Yerkes
d50eee1838 Fixes described in resolution to bug #51.
svn path=/trunk/; revision=6799
2003-11-26 04:38:25 +00:00
Gé van Geldorp
d1dcdd7a8d Fix DC leak
svn path=/trunk/; revision=6798
2003-11-25 23:47:10 +00:00
Gé van Geldorp
12903da5d6 Avoid message about invalid GDI object
svn path=/trunk/; revision=6797
2003-11-25 23:46:23 +00:00
Gé van Geldorp
a6e0b948ad Silence debug messages again
svn path=/trunk/; revision=6796
2003-11-25 22:28:00 +00:00
Gé van Geldorp
8122f72b7d Switch screen to graphics mode when the first window or DC is created
and switch back to text mode when the last app which created a window
or DC terminates

svn path=/trunk/; revision=6795
2003-11-25 22:11:37 +00:00
Gé van Geldorp
152368464d Switch screen to graphics mode when the first window or DC is created
and switch back to text mode when the last app which created a window
or DC terminates

svn path=/trunk/; revision=6794
2003-11-25 22:06:31 +00:00
Art Yerkes
500ec5fe43 Shift now cancels Numlock, as it does on real windows.
svn path=/trunk/; revision=6793
2003-11-25 01:09:06 +00:00
Gé van Geldorp
5e30da094e Clean up DCEs when switching out of graphics mode
svn path=/trunk/; revision=6792
2003-11-24 21:20:35 +00:00
Filip Navara
c4f578c98c - Small SetWindowPos fixes.
svn path=/trunk/; revision=6791
2003-11-24 21:01:20 +00:00
Eric Kohl
cadbbd51c9 Remove 'dist' target.
svn path=/trunk/; revision=6790
2003-11-24 20:39:16 +00:00
Eric Kohl
007e7e2dff Remove 'dist' target.
Don't build gditest any longer.

svn path=/trunk/; revision=6789
2003-11-24 20:37:35 +00:00
Eric Kohl
164e88185b Build registry hives in 'make install'.
Don't build gstart any longer.

svn path=/trunk/; revision=6788
2003-11-24 20:36:49 +00:00
Thomas Bluemel
c3ba871830 implemented WlxStartApplication() and WlxActivateUserShell()
svn path=/trunk/; revision=6787
2003-11-24 19:04:23 +00:00
Thomas Bluemel
42e71f0a9a implemented WlxInitialize()
svn path=/trunk/; revision=6786
2003-11-24 17:24:29 +00:00
Eric Kohl
337d61cb38 Remove 'dist' target
svn path=/trunk/; revision=6784
2003-11-24 16:48:41 +00:00
Eric Kohl
f20728dbc4 Print received error message.
svn path=/trunk/; revision=6783
2003-11-24 16:41:41 +00:00
Gé van Geldorp
1e4cbe0f46 Silence debug messages
svn path=/trunk/; revision=6782
2003-11-24 16:19:58 +00:00
Thomas Bluemel
950a4d9cea implemented WlxNegotiate()
svn path=/trunk/; revision=6781
2003-11-24 15:28:54 +00:00
Eric Kohl
befdc5d94a Tiny cleanup.
svn path=/trunk/; revision=6780
2003-11-24 14:53:02 +00:00
Eric Kohl
82a3cf5fc1 - Remove 'dist' target.
- Set default install directory for windows to 'C:\reactos'.
- Remove dependency checks from 'install' and 'bootcd' targets.

svn path=/trunk/; revision=6779
2003-11-24 14:41:29 +00:00
Thomas Bluemel
7dde2ec587 added header file for msgina
svn path=/trunk/; revision=6778
2003-11-24 14:28:27 +00:00
Thomas Bluemel
2432b2c7e8 added skeleton for msgina.dll
svn path=/trunk/; revision=6777
2003-11-24 14:25:28 +00:00
Gé van Geldorp
71664eb842 Silence debug messages
svn path=/trunk/; revision=6776
2003-11-24 14:19:52 +00:00
Gé van Geldorp
efdbadfbef Silence debug messages
svn path=/trunk/; revision=6775
2003-11-24 14:04:36 +00:00
Thomas Bluemel
415bdc5e7c moved IntIsMenu() to menu.c
svn path=/trunk/; revision=6774
2003-11-24 09:27:54 +00:00
Art Yerkes
a370e8e8d3 Sorry, did a bad commit on this file. Reverting to 1.143, the previous rev.
svn path=/trunk/; revision=6773
2003-11-24 00:26:08 +00:00
Art Yerkes
d792147982 These changes are described in earlier posts to the ros-kernel list.
I believe everything here is correct, Alt+Gr works with the french keyboard,
Numlock and Capslock work normally in my testing.

svn path=/trunk/; revision=6772
2003-11-24 00:22:53 +00:00
Gunnar Dalsnes
108b5183a6 Fixed to run on real Windows (but still doesn't run on ROS)
svn path=/trunk/; revision=6771
2003-11-24 00:12:04 +00:00
Martin Fuchs
b732658891 a bit of refactoring
svn path=/trunk/; revision=6770
2003-11-23 23:03:03 +00:00
Martin Fuchs
cfb3861175 enable console debug logs
svn path=/trunk/; revision=6769
2003-11-23 22:04:41 +00:00
Martin Fuchs
de8a2594e8 QuickLaunchBar-CONTEXT information
svn path=/trunk/; revision=6768
2003-11-23 20:00:43 +00:00
Martin Fuchs
963f962bc6 ANS/UNC utilities for ostringstream; more CONTEXT information
svn path=/trunk/; revision=6766
2003-11-23 15:44:14 +00:00
Martin Fuchs
5a5723bad2 Context Trace Outputs for Exceptions
svn path=/trunk/; revision=6765
2003-11-23 14:23:55 +00:00
Thomas Bluemel
e79ee7d5e6 added missing ObDereferenceObject calls
svn path=/trunk/; revision=6764
2003-11-23 13:46:33 +00:00
Thomas Bluemel
1d4b120ca5 use IntGetWindowObject() and IntReleaseWindowObject()
svn path=/trunk/; revision=6763
2003-11-23 12:41:42 +00:00
Thomas Bluemel
bfb5636854 moved IntIsMenu() to menu.c
svn path=/trunk/; revision=6762
2003-11-23 12:31:53 +00:00
Thomas Bluemel
b478b61c31 remove obsolete userobj code
svn path=/trunk/; revision=6761
2003-11-23 12:24:21 +00:00
Martin Fuchs
e900128ead logging using OutputDebugString()
svn path=/trunk/; revision=6760
2003-11-23 12:13:39 +00:00
Thomas Bluemel
2314762543 revert my implementation of WM_SETCURSOR messages
svn path=/trunk/; revision=6759
2003-11-23 12:08:00 +00:00
Thomas Bluemel
57264c6ac9 some fixes in NtUserGetGUIThreadInfo()
svn path=/trunk/; revision=6758
2003-11-23 12:04:54 +00:00
Filip Navara
9daca17473 - Added test for unimplemented EnumWindowStations and EnumDesktops functions.
- Small window station cleanup.

svn path=/trunk/; revision=6757
2003-11-23 11:39:48 +00:00
Martin Fuchs
83c21d74b3 _stprintf-fix
svn path=/trunk/; revision=6756
2003-11-23 03:10:14 +00:00
Martin Fuchs
17b9c8d455 CHECKERROR macro for file amd line info in Exceptions
svn path=/trunk/; revision=6755
2003-11-23 03:06:01 +00:00
Martin Fuchs
915d0c21ff added CONTEXT information to exceptions
svn path=/trunk/; revision=6754
2003-11-23 00:43:18 +00:00
Thomas Bluemel
668ad67060 only send WM_SETCURSOR messages when not capturing a window
svn path=/trunk/; revision=6753
2003-11-22 12:22:07 +00:00
Eric Kohl
d2c5f3b3b6 Minor cleanup.
svn path=/trunk/; revision=6752
2003-11-22 11:56:17 +00:00
Thomas Bluemel
6c6afa3794 get CursorBlinkRate from registry
svn path=/trunk/; revision=6751
2003-11-22 11:49:09 +00:00
Filip Navara
aadb87f5d7 - Fixed BitBlts with ROP != SRCCOPY.
- Added skeleton for NtUserCallHwndOpt.

svn path=/trunk/; revision=6750
2003-11-22 11:01:28 +00:00
Richard Campbell
ec4c966d0b revert my change, forgot i'm advapi isn't available in win32k, yes i'm a dumbass, it's official. Anyone know how to load/save settings from/to the registry in win32k?
svn path=/trunk/; revision=6749
2003-11-22 05:06:18 +00:00
Richard Campbell
874ee485d7 forgot to add FASTCALL
svn path=/trunk/; revision=6748
2003-11-22 01:51:05 +00:00
Richard Campbell
a1c96638c6 CursorBlinkRate is now loaded via the registry.
svn path=/trunk/; revision=6747
2003-11-22 01:49:39 +00:00
Richard Campbell
3efc298356 Added CursorBlinkRate setting, defaults to 530, the default for Windows XP
svn path=/trunk/; revision=6746
2003-11-22 01:49:08 +00:00
Thomas Bluemel
532cb947f9 small bugfix
svn path=/trunk/; revision=6745
2003-11-21 23:05:28 +00:00
Thomas Bluemel
72d71d1055 small bugfix
svn path=/trunk/; revision=6744
2003-11-21 22:46:27 +00:00
Eric Kohl
8366cbb31c Restart worker if it failed to send the log messages.
Add driver or device name to the log message.
Silence debug messages.

svn path=/trunk/; revision=6743
2003-11-21 22:28:50 +00:00
Filip Navara
348f231f03 - Updated comctl32.dll to latest WineHQ release.
svn path=/trunk/; revision=6742
2003-11-21 21:16:28 +00:00
Filip Navara
ba0efcb546 - Fixed multiwin.exe painting problem.
- Reverted my fix to cursoricon.c.

svn path=/trunk/; revision=6741
2003-11-21 21:12:09 +00:00
Royce Mitchell III
824b2303c4 added missing * to function pointer typedef 'exception_hook'
svn path=/trunk/; revision=6740
2003-11-21 20:26:35 +00:00
Filip Navara
c6dd56783c - A little more correct prototypes for NtGetPlugPlayEvent and NtPlugPlayControl. Does anybody know more about these functions?
svn path=/trunk/; revision=6739
2003-11-21 18:42:06 +00:00
Thomas Bluemel
0758139146 fixed hittest code to return HTBORDER if it's not a sizable window frame
svn path=/trunk/; revision=6738
2003-11-21 17:38:22 +00:00
Filip Navara
967fd54cdd - More painting bugfixes.
svn path=/trunk/; revision=6737
2003-11-21 17:01:16 +00:00
Thomas Bluemel
b14e35b6ac implement WM_SETCURSOR messages
svn path=/trunk/; revision=6736
2003-11-21 16:36:26 +00:00
Vizzini
83e288941c EA name handling fix
svn path=/trunk/; revision=6735
2003-11-21 00:06:58 +00:00
Thomas Bluemel
11cfdfc881 fixed crash when pressing a key while booting up
svn path=/trunk/; revision=6734
2003-11-20 22:28:49 +00:00
Vizzini
7531504712 updated install location of rundll32
svn path=/trunk/; revision=6733
2003-11-20 21:28:47 +00:00
Filip Navara
ef9cbc6dbf - More painting bugfixes. Still many bugs are left :-(
- Temporary disabled buggy code for setting window focus, because it causes many applications to crash.
- Fixed one FIXME in IntSetCursor.

svn path=/trunk/; revision=6732
2003-11-20 21:21:29 +00:00
Royce Mitchell III
ef60bea82e sped up strip_comments, and added File::SaveFromString() in the process of hunting down a recursive c include.
svn path=/trunk/; revision=6731
2003-11-20 18:27:33 +00:00
Vizzini
8a095f86fc TDI stuff I forgot to commit
svn path=/trunk/; revision=6730
2003-11-20 17:55:10 +00:00
Thomas Bluemel
b7f60af879 1. fixed SetProp()
2. implemented EnumProps() and EnumPropsEx()

svn path=/trunk/; revision=6729
2003-11-20 15:35:33 +00:00
Eric Kohl
ac510cefac Receive error log messages from the ErrorLogPort.
svn path=/trunk/; revision=6728
2003-11-20 11:09:49 +00:00
Eric Kohl
87b1b1f247 Build error log message and send it to the ErrorLogPort.
svn path=/trunk/; revision=6727
2003-11-20 11:08:52 +00:00
Eric Kohl
c966348df4 Fixed a cut-and-paste bug.
svn path=/trunk/; revision=6726
2003-11-20 11:06:35 +00:00
Filip Navara
06c149f1f1 - Painting bugfixes.
svn path=/trunk/; revision=6725
2003-11-20 09:18:49 +00:00
Vizzini
669a79e12b began refreshing tditest a bit
svn path=/trunk/; revision=6724
2003-11-20 06:31:51 +00:00
Vizzini
5997e35178 fixed a type name
svn path=/trunk/; revision=6723
2003-11-20 06:30:35 +00:00
Eric Kohl
ecc20f6dc5 Minor cleanup
svn path=/trunk/; revision=6722
2003-11-20 00:57:29 +00:00
Gunnar Dalsnes
ae3fddb31b HalRequestSoftwareInterrupt added
svn path=/trunk/; revision=6721
2003-11-19 22:39:01 +00:00
Steven Edwards
ed95d0bee5 Fixed FormatMessage[A/W] to not suck.
We now pass this kernel32 regression test.

svn path=/trunk/; revision=6720
2003-11-19 22:19:17 +00:00
Gunnar Dalsnes
c22bd852fd -KeLeaveCriticalRegion changes based on an article on ntfsd
svn path=/trunk/; revision=6719
2003-11-19 21:19:15 +00:00
Gunnar Dalsnes
0cceda5e2b -IoQueueThreadIrp impl.
svn path=/trunk/; revision=6718
2003-11-19 21:12:35 +00:00
Gunnar Dalsnes
9f05e5563f -HalRequestSoftwareInterrupt impl. (does nothing yet)
svn path=/trunk/; revision=6717
2003-11-19 21:04:21 +00:00
Gunnar Dalsnes
c9ee23ed15 -IoReuseIrp impl.
-Added missing define

svn path=/trunk/; revision=6716
2003-11-19 20:57:22 +00:00
Gunnar Dalsnes
4cb5f1126f IoReuseIrp impl.
IoQueueThreadIrp/IoEnqueueIrp impl.

svn path=/trunk/; revision=6715
2003-11-19 20:54:31 +00:00
Thomas Bluemel
1c86d55f2c small bugfix
svn path=/trunk/; revision=6714
2003-11-19 20:12:34 +00:00
Thomas Bluemel
7c0860d405 added a test app to test some (currently unimplemented) dialog functions
svn path=/trunk/; revision=6713
2003-11-19 19:59:57 +00:00
Royce Mitchell III
96d89d4dfa change to use input file list
svn path=/trunk/; revision=6712
2003-11-19 18:48:48 +00:00
Thomas Bluemel
54ebd5ce0e Patch by Jonathon Wilson:
add stubs to user32 and add partial non-working implementation of Message Pump Hooks

svn path=/trunk/; revision=6711
2003-11-19 13:19:40 +00:00
Filip Navara
0c998a6711 - Fixed importing forward exports by ordinal.
- Fixed export ordinals of wsock32.dll.
- Changed base addresses of mswsock.dll and wsock32.dll to match Win XP.

svn path=/trunk/; revision=6710
2003-11-19 13:16:22 +00:00
Eric Kohl
2612b909f3 Connect to the 'ErrorLogPort' and restart worker if connection fails.
svn path=/trunk/; revision=6709
2003-11-19 12:53:14 +00:00
Eric Kohl
8979b357a7 Add error log structs.
svn path=/trunk/; revision=6708
2003-11-19 12:50:11 +00:00
Thomas Bluemel
ded778c60a implemented CheckRadioButton()
svn path=/trunk/; revision=6707
2003-11-19 12:48:48 +00:00
Thomas Bluemel
8ac4a64766 forgot to add file
svn path=/trunk/; revision=6706
2003-11-19 12:33:32 +00:00
Thomas Bluemel
a55677b029 1. implemented GetGuiResources()
2. modified test app guithreadinfo to display additional information about the current process using GetGuiResources()

svn path=/trunk/; revision=6705
2003-11-19 12:25:03 +00:00
Richard Campbell
bc1f65ef73 install winedbgc.dll by default, this appears to fix an installation problem i'm having on my end with virtualpc 5.0
svn path=/trunk/; revision=6704
2003-11-19 10:21:17 +00:00
Richard Campbell
2fe49f7133 fixed compile error
svn path=/trunk/; revision=6703
2003-11-19 09:37:45 +00:00
Filip Navara
880ff5e0bd - Painting bugfixes.
svn path=/trunk/; revision=6702
2003-11-19 09:10:36 +00:00
Vizzini
fa60c511c7 patch for -Werror -Wall by jonathan wilson
svn path=/trunk/; revision=6701
2003-11-19 05:53:38 +00:00
Vizzini
d60d0aa990 patch by jonathan wilson to enable -Wall -Werror, and a path sep fix for unix by me
svn path=/trunk/; revision=6700
2003-11-19 05:47:28 +00:00
Vizzini
3a1972736a Fixes for compiling with -Wall -Werror on unix (tested with gcc-3.3)
svn path=/trunk/; revision=6699
2003-11-19 05:43:15 +00:00
Richard Campbell
11529b1abe temporarily removed imagehlp since it doesn't compile and i don't have the time nor interest to look into it myself
svn path=/trunk/; revision=6698
2003-11-19 03:20:25 +00:00
Vizzini
f8b24b07ce Updated version number
svn path=/trunk/; revision=6697
2003-11-19 02:46:13 +00:00
Thomas Bluemel
1bcf21b057 1. implemented GetGUIThreadInfo()
2. added test app for GetGUIThreadInfo()

svn path=/trunk/; revision=6696
2003-11-18 23:33:31 +00:00
Steven Edwards
fc42ec41b9 Added rpcrt4.dll and imagehlp.dll to the Makefile
svn path=/trunk/; revision=6695
2003-11-18 22:28:24 +00:00
Steven Edwards
56ec5a6edb Added user32 regression test from Wine.
svn path=/trunk/; revision=6694
2003-11-18 22:24:42 +00:00
Steven Edwards
7cc107f887 Moved rpcrt4 regression test to a better location.
svn path=/trunk/; revision=6693
2003-11-18 22:08:11 +00:00
Steven Edwards
ab82fe8f92 Moving ported WINE regression tests
svn path=/trunk/; revision=6692
2003-11-18 22:07:13 +00:00
Filip Navara
1ccabd4c8e - Rewritten painting implementation (not complete yet, but better then the current).
- Bug fixes.

svn path=/trunk/; revision=6691
2003-11-18 20:49:39 +00:00
Eric Kohl
cb10422980 Initialize error log worker.
svn path=/trunk/; revision=6690
2003-11-18 20:08:30 +00:00
Thomas Bluemel
69a485aba7 added LR_SHARED flag support for LoadIcon() and LoadCursor()
svn path=/trunk/; revision=6689
2003-11-18 19:59:51 +00:00
Steven Edwards
7fd98f181c RLE4/8 Bitmap Compression support.
Patch by Jonathan Wilson.

svn path=/trunk/; revision=6687
2003-11-18 18:05:40 +00:00
Eric Kohl
8fd7fe8abb Fixed directory creation date.
Typo found by Vadim A. Yagodkin.

svn path=/trunk/; revision=6686
2003-11-18 17:40:46 +00:00
Royce Mitchell III
1f5f11925a more special-cases
svn path=/trunk/; revision=6685
2003-11-18 05:20:00 +00:00
Royce Mitchell III
6c1d0b1576 remove unnecessary include
svn path=/trunk/; revision=6684
2003-11-18 05:17:22 +00:00
Royce Mitchell III
ca5684f167 added missing ;
svn path=/trunk/; revision=6683
2003-11-18 05:11:41 +00:00
Royce Mitchell III
3d93ac09f7 fix circular-dependency include
svn path=/trunk/; revision=6682
2003-11-18 05:09:17 +00:00
Steven Edwards
5dd7488660 Add -Wall -Werror and turn off -D__USE_W32API
svn path=/trunk/; revision=6681
2003-11-17 20:48:22 +00:00
Steven Edwards
0db4c66b1e Fixes for ntdll rtl and large int tests.
Added crc32 support to ntdll.
fix some unimplemented tags.

svn path=/trunk/; revision=6680
2003-11-17 20:35:46 +00:00
Royce Mitchell III
cdf123c30d handle functions that take function ptrs as args
svn path=/trunk/; revision=6679
2003-11-17 19:27:57 +00:00
Filip Navara
5e87359eaa - Support for RASTERCAPS in NtGdiGetDeviceCaps.
svn path=/trunk/; revision=6678
2003-11-17 08:20:24 +00:00
Royce Mitchell III
863b04b187 more special cases
svn path=/trunk/; revision=6677
2003-11-17 04:05:54 +00:00
KJK::Hyperion
38b48068ac Theme dumper almost finished, but not working correctly
svn path=/trunk/; revision=6676
2003-11-17 02:36:36 +00:00
KJK::Hyperion
dfabfaeccf Forgot a file
svn path=/trunk/; revision=6675
2003-11-17 02:32:45 +00:00
KJK::Hyperion
40e2bff3e7 Moved and renamed some ReactOS specific macros
svn path=/trunk/; revision=6672
2003-11-17 02:12:52 +00:00
Steven Edwards
8da4aa2712 Added port of LineDDA function from WINE.
svn path=/trunk/; revision=6671
2003-11-16 22:44:39 +00:00
Steven Edwards
03600c758d Added -D__USE_W32API
svn path=/trunk/; revision=6670
2003-11-16 22:42:43 +00:00
Steven Edwards
1172647efd Added -D__USE_W32API
svn path=/trunk/; revision=6669
2003-11-16 22:25:34 +00:00
Steven Edwards
a85264fc25 Added -D__USE_W32API
svn path=/trunk/; revision=6668
2003-11-16 21:47:20 +00:00
Eric Kohl
241482601d Use a safe IO_STATUS_BLOCK from the kernel stack.
svn path=/trunk/; revision=6667
2003-11-16 21:03:59 +00:00
Eric Kohl
b5b0d3d61c Open initial executable file synchronously.
svn path=/trunk/; revision=6666
2003-11-16 21:02:07 +00:00
Hartmut Birr
d0455ad11e - Moved the pager thread as balancer thread to balance.c.
- Fixed some deadlock conditions for low memory situations.

svn path=/trunk/; revision=6665
2003-11-16 15:20:39 +00:00
Hartmut Birr
29e31c6fb0 - Create a memory area for the kpcr.
- Fixed the end address for unmapping unused address space behind the kernel.
- Free some unmapped pages.
- Initialized the pageop and rmap implementation earlier in the startup process.

svn path=/trunk/; revision=6664
2003-11-16 15:19:28 +00:00
Hartmut Birr
6dbdc4ff63 - Initialized lookaside lists earlier in the startup process.
svn path=/trunk/; revision=6663
2003-11-16 15:17:46 +00:00
Martin Fuchs
d26666b86c added OLE error messages
svn path=/trunk/; revision=6662
2003-11-16 14:01:29 +00:00
Eric Kohl
662fd69962 Report handle information.
svn path=/trunk/; revision=6661
2003-11-16 13:47:20 +00:00
Eric Kohl
e9084a75c4 Support boot images larger than one sector (2048 bytes).
svn path=/trunk/; revision=6660
2003-11-16 13:45:42 +00:00
Martin Fuchs
dc28f04fd6 added error messages
svn path=/trunk/; revision=6659
2003-11-16 12:56:44 +00:00
Gé van Geldorp
a9f23d0bca - Fix problems with non-zero cursor hotspots
- Add auto dependency tracking to vga ddi driver
- Changes for w32api

svn path=/trunk/; revision=6658
2003-11-16 12:36:24 +00:00
Martin Fuchs
bf942e1744 added more COM/OLE registry entries
svn path=/trunk/; revision=6657
2003-11-16 11:40:30 +00:00
Martin Fuchs
b722a5372c added TRACE message for being not able to load messages with FormatMessage()
svn path=/trunk/; revision=6656
2003-11-16 11:35:25 +00:00
Martin Fuchs
5353eee005 added registry entries for explorer
svn path=/trunk/; revision=6655
2003-11-16 10:46:34 +00:00
Martin Fuchs
910a519182 added FIXME for FormatMessage()
svn path=/trunk/; revision=6654
2003-11-16 10:45:15 +00:00
Gé van Geldorp
f085df035a Silence debug messages
svn path=/trunk/; revision=6653
2003-11-16 10:41:42 +00:00
Thomas Bluemel
a4b7ce555c moved metafile functions into objects/metafile.c
svn path=/trunk/; revision=6652
2003-11-15 15:18:06 +00:00
Gé van Geldorp
f22cfcebd1 Fix warning if defined(DBG)
svn path=/trunk/; revision=6651
2003-11-15 15:08:32 +00:00
Thomas Bluemel
0320bf2ca6 small fixes
svn path=/trunk/; revision=6650
2003-11-15 14:25:50 +00:00
Thomas Bluemel
67e13dd228 added test app for enhanced meta files
svn path=/trunk/; revision=6649
2003-11-15 14:05:30 +00:00
Thomas Bluemel
ef913e1a3b fixed setting the cursor size member
svn path=/trunk/; revision=6648
2003-11-15 12:43:25 +00:00
Thomas Bluemel
1b844b220b fixed warning
svn path=/trunk/; revision=6647
2003-11-14 23:04:18 +00:00
Royce Mitchell III
99d650fdb4 added more tokens and libc headers
svn path=/trunk/; revision=6646
2003-11-14 19:51:59 +00:00
Thomas Bluemel
1c3867a641 Patch by Jonathon Wilson:
fix most of ReactOS to build with -Wall -Werror by default

svn path=/trunk/; revision=6645
2003-11-14 17:13:36 +00:00
Eric Kohl
52dd1df336 Added missing variables and moved variables in order to fix include order (declare types before use).
svn path=/trunk/; revision=6644
2003-11-14 15:19:35 +00:00
Eric Kohl
41cf5bc8f7 Fixed io statistic variables and initialized spinlock.
Patch by Mike Nordell.

svn path=/trunk/; revision=6643
2003-11-14 15:17:08 +00:00
Royce Mitchell III
6aed8b6dbd get rid of buggy unnecessary macro
svn path=/trunk/; revision=6642
2003-11-14 14:12:29 +00:00
Royce Mitchell III
8d30d471de fix unnecessarily recursive include
svn path=/trunk/; revision=6641
2003-11-14 14:10:55 +00:00
Royce Mitchell III
5822ae79d0 ignore #undef statements for now
svn path=/trunk/; revision=6640
2003-11-13 21:14:20 +00:00
Eric Kohl
b1fc831113 Enabled -Wall and -Werror and fixed resulting bugs.
svn path=/trunk/; revision=6639
2003-11-13 15:26:34 +00:00
Eric Kohl
97dc195d03 Enabled -Wall and -Werror and fixed resulting bugs.
svn path=/trunk/; revision=6638
2003-11-13 14:22:03 +00:00
Art Yerkes
3145ec42fb Corrects ext bit from the keyboard. This bit, once set, was never unset,
so both alt keys acted as Alt+Gr.

svn path=/trunk/; revision=6636
2003-11-13 08:29:19 +00:00
Thomas Bluemel
9208747968 fixed a bug that caused the caret creating many timers with the same id
svn path=/trunk/; revision=6635
2003-11-12 22:53:31 +00:00
Royce Mitchell III
2a02daaac3 handle return statements
svn path=/trunk/; revision=6634
2003-11-12 21:27:26 +00:00
Richard Campbell
d20b00b875 Very basic dll, needs a makefile and none of the functions are implemented, more soon...
svn path=/trunk/; revision=6633
2003-11-12 21:15:07 +00:00
Richard Campbell
72f18889ef Very basic dll, needs a makefile and none of the functions are implemented, more soon...
svn path=/trunk/; revision=6632
2003-11-12 21:05:23 +00:00
Eric Kohl
4ceed6aba6 Pass volume label a unterminated Unicode string.
svn path=/trunk/; revision=6631
2003-11-12 21:02:42 +00:00
Thomas Bluemel
2b33d147c1 added missing DllMain()
svn path=/trunk/; revision=6630
2003-11-12 17:39:28 +00:00
Eric Kohl
c9a794eb0e - Cleaned up some of the mess that was caused by a previous patch
- Support verify override
- Read volume name

svn path=/trunk/; revision=6629
2003-11-12 15:30:21 +00:00
Eric Kohl
063bd518b1 Support verify override.
svn path=/trunk/; revision=6628
2003-11-12 15:26:44 +00:00
Richard Campbell
3e13a23ceb Sorry, my cvs files are fubared, let me put these where they need to go...
svn path=/trunk/; revision=6627
2003-11-12 07:07:48 +00:00
Richard Campbell
3aba355dff Coming soon...
svn path=/trunk/; revision=6626
2003-11-12 06:58:41 +00:00
Royce Mitchell III
ce367d502f revert Filip's fix per Filip & Jonathon
svn path=/trunk/; revision=6625
2003-11-12 05:40:59 +00:00
Martin Fuchs
5524ae0860 strcasecmp work around for Winelib app
svn path=/trunk/; revision=6624
2003-11-11 23:19:26 +00:00
Thomas Bluemel
0331caa800 1.added a simple test application for hotkeys
2.some fixes on hotkeys

svn path=/trunk/; revision=6623
2003-11-11 22:17:18 +00:00
Filip Navara
9a97a2e0aa - Removed 'Parameters' member of WINDOW_OBJECT structure as it's useless.
svn path=/trunk/; revision=6622
2003-11-11 21:04:55 +00:00
Gé van Geldorp
44a3da7588 WndProc changes by Jonathan Wilson
svn path=/trunk/; revision=6621
2003-11-11 20:28:21 +00:00
Thomas Bluemel
bd9ad38a70 fixed some bugs in NtUserDrawIconEx()
svn path=/trunk/; revision=6620
2003-11-11 17:50:58 +00:00
Eric Kohl
5c59755ddd Added a 'done' message.
svn path=/trunk/; revision=6619
2003-11-11 17:02:49 +00:00
Eric Kohl
95d64bbf2f Enabled -Wall and -Werror and fixed resulting bugs.
svn path=/trunk/; revision=6618
2003-11-11 17:01:47 +00:00
Royce Mitchell III
bc1542edef handle __asm__, #elif, and #error
svn path=/trunk/; revision=6617
2003-11-11 15:31:48 +00:00
Eric Kohl
fe56ee2b4d Completed IOCTL_DISK_CHECK_VERIFY.
Fixed a retry bug.

svn path=/trunk/; revision=6616
2003-11-11 15:31:31 +00:00
KJK::Hyperion
932bfadaa5 BUTTON class:
- support for the root part and states
 - DrawThemeText implemented
 - GetThemeBackgroundContentRect implemented

DLL:
 - implemented DrawThemeText and GetThemeBackgroundContentRect

svn path=/trunk/; revision=6615
2003-11-11 03:44:53 +00:00
Eric Kohl
c718291b7d Implemented NdisMSynchronizeWithInterrupt().
svn path=/trunk/; revision=6614
2003-11-11 02:08:19 +00:00
Steven Edwards
12d1165682 Remove old regedit resources.
svn path=/trunk/; revision=6613
2003-11-11 01:34:36 +00:00
Martin Fuchs
e6c72a5a0d Defined __cplusplus for Doxygen
svn path=/trunk/; revision=6612
2003-11-10 23:03:52 +00:00
Martin Fuchs
4961049825 Completed Doxygen documentation of all compounds in Explorer
svn path=/trunk/; revision=6611
2003-11-10 22:38:03 +00:00
Martin Fuchs
8aedeab84e call startup routine in SESSION_START mode
svn path=/trunk/; revision=6610
2003-11-10 22:23:23 +00:00
Filip Navara
ae07465bee - Fixed some flags in calls to CreateWindowEx.
- Fixed color of the splitter (should be COLOR_BTNFACE and not light gray brush).

svn path=/trunk/; revision=6609
2003-11-10 21:48:56 +00:00
Martin Fuchs
3561af3a43 move new icon files into virtual resource folder
svn path=/trunk/; revision=6608
2003-11-10 21:21:22 +00:00
Thomas Bluemel
7f64c6fa81 fixes crash in DrvSetPointerShape()
svn path=/trunk/; revision=6607
2003-11-10 19:42:57 +00:00
Martin Fuchs
5b827d7354 use rdel instead of rm in Explorer Makefile
svn path=/trunk/; revision=6606
2003-11-10 19:29:24 +00:00
Eric Kohl
6e978c3db1 Retry failed requests.
Silenced debug output.

svn path=/trunk/; revision=6605
2003-11-10 18:09:54 +00:00
Eric Kohl
dc8ce663c6 Minor cleanup
svn path=/trunk/; revision=6604
2003-11-10 18:07:36 +00:00
Thomas Bluemel
1193f17c26 Implemented SetCursor and rewrote some cursor/icon routines
svn path=/trunk/; revision=6603
2003-11-10 17:44:50 +00:00
Eric Kohl
94e9ddef83 Silenced debug messages.
svn path=/trunk/; revision=6602
2003-11-10 17:09:29 +00:00
Thomas Bluemel
27fd6387f1 added displaying the current mouse cursor
svn path=/trunk/; revision=6601
2003-11-10 15:46:28 +00:00
Eric Kohl
2a681979b8 Finished media change support, except for prper volume dismount.
Added dependency checks.

svn path=/trunk/; revision=6600
2003-11-10 11:32:08 +00:00
Thomas Bluemel
bbb4ce681e fixed build problems
svn path=/trunk/; revision=6599
2003-11-09 23:26:34 +00:00
Gé van Geldorp
0ac3819023 Although ObDereferenceObject is usually macro-forwarded to ObfDereferenceObject,
it is also exported from NT4 NTOSKRNL.EXE

svn path=/trunk/; revision=6598
2003-11-09 23:20:27 +00:00
Gé van Geldorp
e459864561 Properly translate 1bpp source bits
svn path=/trunk/; revision=6596
2003-11-09 23:13:56 +00:00
Steven Edwards
8516382e25 Added imagehlp.dll ported from WINE.
svn path=/trunk/; revision=6595
2003-11-09 19:19:02 +00:00
Eric Kohl
22997fee18 Do not clear DO_VERIFY_VOLUME in IoVerifyVolume().
svn path=/trunk/; revision=6594
2003-11-09 19:04:54 +00:00
Filip Navara
77c830cb5c - Moved GetFocus, DrawCaptionTemp[AW], DrawMenuBarTemp, SetTaskmanWindow, SetProgmanWindow, GetProgmanWindow, GetTaskmanWindow, MenuWindowProc[AW], SetWindowsHook[AW], RegisterShellHookWindow, DeregisterShellHookWindow,
ChangeMenu[AW], UnhookWindowsHook, NotifyWinEvent, SetWinEventHook, UnhookWinEvent, IsWinEventHookInstalled, SetWindowStationUser, LockWindowStation, UnlockWindowStation, SetWindowStationUser, SetWindowsHookEx[AW] from stubs.c to appropriate files.
- Fixed prototype of NtUserDragIObject and fixed compilation problem.

svn path=/trunk/; revision=6593
2003-11-09 18:38:09 +00:00
Filip Navara
ea251a9fb2 - Moved GetFocus, DrawCaptionTemp[AW], DrawMenuBarTemp, SetTaskmanWindow, SetProgmanWindow, GetProgmanWindow, GetTaskmanWindow, MenuWindowProc[AW], SetWindowsHook[AW], RegisterShellHookWindow, DeregisterShellHookWindow,
ChangeMenu[AW], UnhookWindowsHook, NotifyWinEvent, SetWinEventHook, UnhookWinEvent, IsWinEventHookInstalled, SetWindowStationUser, LockWindowStation, UnlockWindowStation, SetWindowStationUser, SetWindowsHookEx[AW] from stubs.c to appropriate files.
- Changed EditWndProc in user32.edf to point to EditWndProcA.

svn path=/trunk/; revision=6592
2003-11-09 13:50:04 +00:00
Filip Navara
60fe580231 - Implemented NtUserDefSetText and NtUserInternalGetWindowText.
- Fixed NtUserCreateWindowEx to correctly allocate the window name.
- Fixed InternalGetWindowText to behave like MS implementation.
- Changed DefWindowProc[A/W] to handle WM_GETTEXT, WM_GETTEXTLENGTH, WM_SETTEXT (and WM_NCCREATE, WM_NCDESTROY) using the above functions.

svn path=/trunk/; revision=6591
2003-11-09 11:42:08 +00:00
Eric Kohl
2433129700 Implemented verify override for device access routines and started experimental media change support.
svn path=/trunk/; revision=6590
2003-11-09 11:20:28 +00:00
Thomas Bluemel
0327d87e6e aded missing .cvsignore files
svn path=/trunk/; revision=6589
2003-11-09 08:58:05 +00:00
Filip Navara
c8d7dabe33 - Added CreateEllipticRgn, CreateEllipticRgnIndirect, CreateRoundRectRgn ported from Wine.
svn path=/trunk/; revision=6588
2003-11-08 22:54:26 +00:00
Gé van Geldorp
8d155f1f06 Add subclassing test
svn path=/trunk/; revision=6587
2003-11-08 22:10:15 +00:00
KJK::Hyperion
ffe1fedcc1 FLS support hidden, for now. It's non-working and it breaks newer Visual C++ programs
svn path=/trunk/; revision=6586
2003-11-08 18:05:05 +00:00
Steven Edwards
8fb32c8187 Fixed some formating bugs caused by unix2dos conversion.
svn path=/trunk/; revision=6585
2003-11-08 17:25:56 +00:00
Eric Kohl
ea9701d69d Fixed typos.
svn path=/trunk/; revision=6583
2003-11-08 16:48:36 +00:00
Eric Kohl
58f655bf69 Signal external event object if one was supplied.
svn path=/trunk/; revision=6582
2003-11-08 16:43:02 +00:00
Martin Fuchs
adb5c12b85 partial fix for for Bug #42: activate Ansi window procedures for standard controls
svn path=/trunk/; revision=6581
2003-11-08 15:39:13 +00:00
Martin Fuchs
9c02db5a95 * windows/defwnd.c Fixed WM_GETTEXT error handling in DefWindowProcW().
svn path=/trunk/; revision=6580
2003-11-08 15:33:51 +00:00
Gé van Geldorp
7e9933a785 - Move DRIVER_UnreferenceDriver call to DC_InternalDelete, so it will be
called too for DCs which are cleaned up by the system on app termination
- Fix graphic state reference counting in case window creation fails
This fixes bug #24

svn path=/trunk/; revision=6579
2003-11-08 15:00:36 +00:00
Gé van Geldorp
7fbaee7310 Remove some debugging statements accidentaly left in
svn path=/trunk/; revision=6578
2003-11-08 14:58:34 +00:00
Filip Navara
f37131dba7 - Cleaned up NtGdiCreateDIBitmap.
svn path=/trunk/; revision=6577
2003-11-08 11:19:47 +00:00
Filip Navara
0fe7653b2a - Fixed a few bugs.
svn path=/trunk/; revision=6576
2003-11-08 09:33:14 +00:00
Eric Kohl
c2c2d6cb46 Fixed synchronous file access.
svn path=/trunk/; revision=6575
2003-11-08 09:13:46 +00:00
Filip Navara
5533bbd42a - Added nVidia GeForce4 MX400 to the list of tested cards.
svn path=/trunk/; revision=6574
2003-11-08 08:13:27 +00:00
Eric Kohl
489704edb6 Wait for completion if FO_SYNCHRONOUS_IO is set.
IoStatusBlock is not optional.

svn path=/trunk/; revision=6573
2003-11-08 07:42:10 +00:00
Steven Edwards
1578b76cb5 Implement Maskblt ported from Wine.
svn path=/trunk/; revision=6570
2003-11-08 02:16:31 +00:00
Royce Mitchell III
39389a4414 more bug fixin'
svn path=/trunk/; revision=6569
2003-11-07 23:31:44 +00:00
Gé van Geldorp
14c5b2ca76 Patch by Shadow Flare to fix some small problems. Install binary in
\ReactOS\System32 instead of \ReactOS\bin

svn path=/trunk/; revision=6568
2003-11-07 23:16:22 +00:00
Steven Edwards
2a7a6fe7c5 Fix building.
svn path=/trunk/; revision=6567
2003-11-07 21:27:29 +00:00
Filip Navara
979687d01b - Removed redundant parsing of '#number' resource names. This is already handled by FindResourceEx.
svn path=/trunk/; revision=6566
2003-11-07 21:02:41 +00:00
Gé van Geldorp
e9e47f1fdb Simple patch program for the NVidia nv4_mini.sys driver
svn path=/trunk/; revision=6565
2003-11-07 20:10:13 +00:00
Art Yerkes
6c504bcc4c Correct handling of dead_char in TryToTranslateChar.
A patch to NtUserTranslateMessage is also needed for fully correct support
of dead keys.
-- patch by Jean-Michel Gay

svn path=/trunk/; revision=6564
2003-11-07 19:58:43 +00:00
Steven Edwards
acfd676db0 Added PrivateExtractIcons and friends ported from WINE
Renamed sprintf.c to wsprintf.c to match winehq.

svn path=/trunk/; revision=6563
2003-11-07 19:13:02 +00:00
Royce Mitchell III
784ed4768a bug fixes
svn path=/trunk/; revision=6562
2003-11-07 19:03:50 +00:00
Art Yerkes
97c3062b35 Fixes to VK_OEM_102, VK_OEM_4 and VK_ZOOM positions.
Added dead key and new modifier tables.
-- Patch by Jean-Michel Gay

svn path=/trunk/; revision=6561
2003-11-07 18:55:50 +00:00
Gé van Geldorp
daad4f8d41 Simplify code by passing PDEVICE_OBJECT instead of HANDLE around for
miniport device, fixing a reference-counting bug I introduced earlier
along the way.

svn path=/trunk/; revision=6560
2003-11-07 17:40:02 +00:00
Eric Kohl
0372ed1758 Process IOCTL_CDROM_GET_DRIVE_GEOMETRY asynchronously.
svn path=/trunk/; revision=6559
2003-11-07 17:14:22 +00:00
Thomas Bluemel
31433cf91f added a few virtual key constants
svn path=/trunk/; revision=6558
2003-11-07 16:23:35 +00:00
Eric Kohl
0082ae8bd6 Implemented asynchronous IOCTL_CDROM_CHECK_VERIFY.
Disabled buggy capability detection code.

svn path=/trunk/; revision=6556
2003-11-07 12:56:26 +00:00
Eric Kohl
bdd2fef02f Increment the media change count if the device returns unit attention sense info.
svn path=/trunk/; revision=6555
2003-11-07 11:48:59 +00:00
Gé van Geldorp
7e5a94217c Added rundll32 utility by Shadow Flare
svn path=/trunk/; revision=6554
2003-11-07 09:12:44 +00:00
Gé van Geldorp
53c66fe57b Raise IRQL to SYNCH_LEVEL in KeAcquireSpinLockRaiseToSynch for UP machines also
svn path=/trunk/; revision=6553
2003-11-06 21:13:21 +00:00
Gé van Geldorp
e12f26f173 Copy number of bytes specified by driver in IoStatus.Information to
output buffer (METHOD_BUFFERED)

svn path=/trunk/; revision=6552
2003-11-06 20:43:45 +00:00
Gé van Geldorp
ce0b4616e6 Tweak KeSaveFloatingPoint() and KeRestoreFloatingPoint()
svn path=/trunk/; revision=6551
2003-11-06 20:40:25 +00:00
Royce Mitchell III
5cfbea5fee fixed bug that was requiring a ; after a function definition
svn path=/trunk/; revision=6550
2003-11-06 19:38:23 +00:00
Eric Kohl
261cc33f7f IoStatusBlock is _not_ an optional parameter.
Fixed synchronous file access bug in NtDeviceIoControlFile().

svn path=/trunk/; revision=6549
2003-11-06 18:05:54 +00:00
Eric Kohl
98682c7937 IoStatusBlock is _not_ an optional parameter.
svn path=/trunk/; revision=6548
2003-11-06 18:03:30 +00:00
Aleksey Bragin
47651b5c5d .cvsignoe for kbduk.dll
svn path=/trunk/; revision=6547
2003-11-06 17:19:26 +00:00
Aleksey Bragin
3cd2ae5af7 kbduk.dll - by Johannes Olofsson. I have tested this dll with english keyboard - works great, except for AltGr+� combination, which should produce '�', and now it gives '?' char.
svn path=/trunk/; revision=6546
2003-11-06 17:18:25 +00:00
Eric Kohl
5c34e6b32e IoStatusBlock is _not_ an optional parameter.
svn path=/trunk/; revision=6545
2003-11-06 16:42:16 +00:00
Eric Kohl
28977a473c Fixed a typo.
svn path=/trunk/; revision=6544
2003-11-06 16:35:50 +00:00
Royce Mitchell III
999225b038 correct identification of functions that return struct pointers, and beginning of logic to parse inline function bodies
svn path=/trunk/; revision=6543
2003-11-06 14:28:24 +00:00
Royce Mitchell III
0fadf54b2f lots of stuff - tracking multiple headers, include dependencies, preprocessor logic, etc
svn path=/trunk/; revision=6542
2003-11-06 05:55:26 +00:00
Royce Mitchell III
46b4ed3668 cvsignore
svn path=/trunk/; revision=6541
2003-11-06 03:02:41 +00:00
Royce Mitchell III
0b63c2c64d the code does, in fact, handle bitfields correctly.
svn path=/trunk/; revision=6540
2003-11-06 02:50:12 +00:00
KJK::Hyperion
1b7b04aa07 Unstyled BUTTON class done, 25 more to go...
svn path=/trunk/; revision=6539
2003-11-06 02:47:24 +00:00
Gé van Geldorp
8eb8bd42c6 Fix IoInitializeTimer()
svn path=/trunk/; revision=6537
2003-11-05 22:49:06 +00:00
Gé van Geldorp
49f2b1905a Pass pointer to device object as the "handle" to DrvEnablePDEV since
some badly written drivers need it

svn path=/trunk/; revision=6536
2003-11-05 22:46:05 +00:00
Gé van Geldorp
b2a4140643 Store interrupt in resource list returned by HalpAssignPciSlotResources
svn path=/trunk/; revision=6535
2003-11-05 22:39:01 +00:00
Gé van Geldorp
7a2ebc71ae - Add -Wall and -Werror compile flags and fix resulting problems
- Reimplement KeAcquireSpinLockRaiseToSynch with the help of Vizzini

svn path=/trunk/; revision=6534
2003-11-05 22:37:42 +00:00
Gé van Geldorp
310f723526 - Add -Wall and -Werror flags, fix resulting problems
- Add dependency tracking
- Fix interrupt and timer handling

svn path=/trunk/; revision=6533
2003-11-05 22:31:50 +00:00
Steven Edwards
7bee3f3c72 Nevermind.
Regression found. Rolling back the last change.
Jim's adaption of the WINE code was better.

svn path=/trunk/; revision=6532
2003-11-05 20:42:02 +00:00
Steven Edwards
eaa7c16f59 Implemented better format message support based on WINE.
Winzip and a few other apps get a bit further now.

svn path=/trunk/; revision=6531
2003-11-05 20:32:07 +00:00
Royce Mitchell III
cb64e58964 initial version of sdkparse, not generating db output yet, just diagnostic info. Successfully parsing most of what we need.
TODO: handle bitfields in structs, preprocessor commands, output csv & xml formats.

svn path=/trunk/; revision=6530
2003-11-05 20:24:23 +00:00
Eric Kohl
3911ce2391 Issue SPECIFY command upon initialization.
svn path=/trunk/; revision=6529
2003-11-04 23:30:59 +00:00
Gé van Geldorp
f1259f48fe Avoid infinite loop
svn path=/trunk/; revision=6528
2003-11-04 21:36:22 +00:00
Martin Fuchs
68808ed299 added .cvsignore file
svn path=/trunk/; revision=6527
2003-11-04 19:20:58 +00:00
Martin Fuchs
8d1d9617fe added jamfile for Boost Build system V2
svn path=/trunk/; revision=6526
2003-11-03 23:57:18 +00:00
Martin Fuchs
0410ca7233 adder Jamfile fpr Boost Build V2
svn path=/trunk/; revision=6525
2003-11-03 23:53:28 +00:00
Steven Edwards
e37206382e Remove RosUser32 - May she rest in the attic.
svn path=/trunk/; revision=6524
2003-11-03 21:46:17 +00:00
Gunnar Dalsnes
3a348fb5fb utilize sorted list macros
svn path=/trunk/; revision=6523
2003-11-03 20:31:39 +00:00
Gunnar Dalsnes
d58f64745b added macros for sorted list insertions
svn path=/trunk/; revision=6522
2003-11-03 20:30:23 +00:00
Gunnar Dalsnes
a556f44333 improved 2 defines
svn path=/trunk/; revision=6521
2003-11-03 20:27:51 +00:00
Gunnar Dalsnes
1edc640537 utilize new macro: InsertAscendingList
svn path=/trunk/; revision=6520
2003-11-03 20:27:01 +00:00
Eric Kohl
c1f69cfe1a Implemented hotkey support.
svn path=/trunk/; revision=6519
2003-11-03 18:52:21 +00:00
Eric Kohl
806ae938e3 Fixed a typo.
svn path=/trunk/; revision=6518
2003-11-03 17:11:29 +00:00
Gunnar Dalsnes
425b073d1b added apc2 test
svn path=/trunk/; revision=6517
2003-11-03 00:40:48 +00:00
Gunnar Dalsnes
c215a03581 apc test
svn path=/trunk/; revision=6516
2003-11-03 00:34:43 +00:00
Eric Kohl
bf68eefdd1 Started hotkey support.
svn path=/trunk/; revision=6515
2003-11-02 16:33:51 +00:00
Filip Navara
bca263eb73 - Fixed compilation with older versions of W32API.
svn path=/trunk/; revision=6514
2003-11-02 14:11:29 +00:00
Filip Navara
fda98e2354 - Bugfixes and cleanup.
svn path=/trunk/; revision=6513
2003-11-02 14:08:34 +00:00
Martin Fuchs
0f7b9904ab add doxygen @todo tags to create a TODO list
svn path=/trunk/; revision=6512
2003-11-02 11:33:00 +00:00
Martin Fuchs
f1cf86e42b add CHM creation to Makefile
svn path=/trunk/; revision=6511
2003-11-02 11:06:30 +00:00
Martin Fuchs
97ee1909b6 make windres work again
svn path=/trunk/; revision=6510
2003-11-02 11:05:58 +00:00
Martin Fuchs
99c099b4e0 disabled warning messages
svn path=/trunk/; revision=6509
2003-11-02 11:05:35 +00:00
Filip Navara
ee6dfe9ff4 - Basic MDI support ported from Wine.
svn path=/trunk/; revision=6508
2003-11-02 06:58:57 +00:00
Eric Kohl
08c981ba53 Do not hold the PiThreadListLock spinlock while calling KeDispatchObjectWait() because the latter will acquire the spinlock.
This fixes bug #31.

svn path=/trunk/; revision=6505
2003-11-02 03:09:06 +00:00
Eric Kohl
fc75de898d Added 'done' messages.
svn path=/trunk/; revision=6504
2003-11-02 01:30:16 +00:00
James Tabor
e11643fd66 Added name
svn path=/trunk/; revision=6503
2003-11-02 01:27:39 +00:00
Eric Kohl
df0af98c1b Reimplemented dispatcher database lock and synchronization primitives.
This fixes bug #26.

svn path=/trunk/; revision=6502
2003-11-02 01:16:21 +00:00
Martin Fuchs
de4f0fd8ab full-docu
svn path=/trunk/; revision=6501
2003-11-02 00:25:54 +00:00
Martin Fuchs
624b756507 work around for make GPF bug
svn path=/trunk/; revision=6500
2003-11-02 00:18:01 +00:00
Martin Fuchs
05175c5ffa insert docu generation date
svn path=/trunk/; revision=6499
2003-11-01 23:32:21 +00:00
Martin Fuchs
d1cbf8d6a1 terminate sed command
svn path=/trunk/; revision=6498
2003-11-01 23:27:38 +00:00
Martin Fuchs
1a4db60836 added updatefooter script
svn path=/trunk/; revision=6497
2003-11-01 23:26:44 +00:00
Vizzini
24f99a1f1c fixed the 8-ping limit
svn path=/trunk/; revision=6496
2003-11-01 23:24:00 +00:00
Martin Fuchs
fa46e0b6c4 add footer template file
svn path=/trunk/; revision=6495
2003-11-01 23:18:27 +00:00
Martin Fuchs
3b223f7e1b extend doxygen documentation
svn path=/trunk/; revision=6494
2003-11-01 23:17:59 +00:00
Martin Fuchs
ec73f42181 added doxygen targets to Makefile
svn path=/trunk/; revision=6493
2003-11-01 17:04:20 +00:00
Eric Kohl
06a85f7e81 Implemented ScsiClassAsynchronousCompletion() and ScsiClassReleaseQueue().
svn path=/trunk/; revision=6492
2003-11-01 16:33:39 +00:00
Martin Fuchs
9ecaadc7e6 activate Doxygen Flag JAVADOC_AUTOBRIEF
svn path=/trunk/; revision=6491
2003-11-01 13:49:02 +00:00
Filip Navara
8f0c69a7d6 - Added French and German keyboard DLLs to makefile, registry and CD-ROM layout script.
svn path=/trunk/; revision=6490
2003-11-01 13:28:54 +00:00
Hartmut Birr
d8042fe330 - Check if a requested fixed address range is valid for the address space.
- This fixes bug #34.

svn path=/trunk/; revision=6489
2003-11-01 12:59:38 +00:00
Martin Fuchs
06f5aba298 added Doxygen configuration file
svn path=/trunk/; revision=6488
2003-11-01 12:24:10 +00:00
Hartmut Birr
49a370ce14 - Check for the current irql, if there is a call to IoStartNextPacket.
If it is  necessary, raise the irql to DISPATCH_LEVEL.

svn path=/trunk/; revision=6487
2003-11-01 10:42:32 +00:00
Filip Navara
7e110a9faa - Small bugfixes.
svn path=/trunk/; revision=6486
2003-11-01 04:06:59 +00:00
Art Yerkes
ba98b29885 Added p_dup_handle test.
svn path=/trunk/; revision=6485
2003-10-31 21:41:52 +00:00
Art Yerkes
0f8d274449 This test case test ROS' ability to duplicate a process handle, give the
handle to the child process, then have the child process give back its
own handle.  This is used by cygwin during fork and vfork.

svn path=/trunk/; revision=6484
2003-10-31 21:41:32 +00:00
Thomas Bluemel
cef6a8899c this temporarily fixes the crash displaying ansi messageboxes (Royce)
svn path=/trunk/; revision=6483
2003-10-31 20:49:45 +00:00
Art Yerkes
e15344ddce Added map_dup_inherit test case (currently, failing).
svn path=/trunk/; revision=6482
2003-10-31 20:27:16 +00:00
Art Yerkes
1a752ef4ba This is a simplified case of something cygwin does:
1) Create a shared memory are using CreateFileMapping with SEC_RESERVE set.
2) Make the handle inheritable.
3) Call CreateProcess with inherit = TRUE
4) Map the region using MapViewOfFile.
5) Commit pages using VirtualAlloc.

See: MSDN's documentation on CreateFileMapping and VirtualAlloc.

When the test runs correctly, "%d: starting" is printed twice, with no other
output.

svn path=/trunk/; revision=6481
2003-10-31 20:26:14 +00:00
Filip Navara
15da259ba7 - Fixed the last patch by Mark Tempel to really work correctly.
svn path=/trunk/; revision=6480
2003-10-31 18:25:56 +00:00
Filip Navara
f18cbd53ba - Added stack trace reporting in exception handler.
svn path=/trunk/; revision=6479
2003-10-31 16:27:01 +00:00
Filip Navara
65a44fd9e2 - Fixed passing of integer named controls in dialogs. Previously an integer was passed directly to CreateWindowEx, but that could not work, because it treats it as a string. After reading Microsoft documentation the correct way is to pass a string in form "#num".
- Fixed getting of integer names in STATIC control. Is this the right place?
- Fixed icon support in STATIC control.

svn path=/trunk/; revision=6478
2003-10-31 16:25:08 +00:00
Eric Kohl
c3b4b58a78 Use synchronous IO for screen and keyboard and get rid of the input event object.
svn path=/trunk/; revision=6477
2003-10-31 11:09:38 +00:00
Gunnar Dalsnes
888ca1574d improved IoMapTransfer (hopefylly)
svn path=/trunk/; revision=6476
2003-10-31 01:08:00 +00:00
Gunnar Dalsnes
b872ea2cad -impl. KeRemoveEntryDeviceQueue
-added irql asserts
-misc. small fixes and cleanups

svn path=/trunk/; revision=6475
2003-10-31 00:14:09 +00:00
Mark Tempel
286ec91295 Changing the DbgPrint outputs to be a bit more usefull.
svn path=/trunk/; revision=6474
2003-10-30 22:06:42 +00:00
Mark Tempel
98ec124b3d Update to add in a first attempt to send the WM_MOUSEACTIVATE message to windows when the user clicks the mouse over them.
TODO: Fix the PostMessage for WM_MOUSEACTIVATE to a SendMessage and check the return to see what to do with the origional mouse message.

svn path=/trunk/; revision=6473
2003-10-30 22:03:00 +00:00
Mark Tempel
555931d0f4 Update to implement WindowFromPoint by delegating to NtUserWindowFromPoint:
svn path=/trunk/; revision=6472
2003-10-30 21:58:42 +00:00
Mark Tempel
c8f5c0a9bd Update to implement NtUserWindowFromPoint:
TODO-- Fix the check for static windows, and validate that this version works the same way as WindowFromPoint in Windows...

svn path=/trunk/; revision=6471
2003-10-30 21:57:21 +00:00
Mark Tempel
2095d78af2 Update to specify the parameters to NtUserWindowFromPoint.
svn path=/trunk/; revision=6470
2003-10-30 21:54:35 +00:00
Eric Kohl
bd908afdf1 Issue a work item only if an object will be deleted.
Fixes bug #14.

svn path=/trunk/; revision=6469
2003-10-30 21:34:54 +00:00
Gé van Geldorp
d6e366fb65 Fix problem introduced when fixing bitblt'ing to monochrome bitmaps
svn path=/trunk/; revision=6468
2003-10-30 18:27:33 +00:00
Filip Navara
e11fa90a59 - Fixed loading of symbols when compiled with DBG=1 (again).
svn path=/trunk/; revision=6467
2003-10-30 18:16:25 +00:00
Art Yerkes
f382315b71 Set the lpvReserved parameter of DllMain according to whether the DLL was
loaded using LoadLibrary or at start time by the system loader.  DLLs use
this mechanism to determine how they were loaded.

svn path=/trunk/; revision=6466
2003-10-30 15:52:29 +00:00
Gunnar Dalsnes
39dca294c5 fixed a call to IoAllocateAdapterChannel
svn path=/trunk/; revision=6465
2003-10-30 13:34:47 +00:00
Gunnar Dalsnes
3186456e36 some fixes
svn path=/trunk/; revision=6464
2003-10-30 13:33:43 +00:00
Gunnar Dalsnes
454e9ef133 added some sugar
svn path=/trunk/; revision=6463
2003-10-30 13:29:38 +00:00
Gunnar Dalsnes
2b75113a2b added a comment
svn path=/trunk/; revision=6462
2003-10-30 13:25:38 +00:00
Gé van Geldorp
c3fc013ce4 Changes for W32API
svn path=/trunk/; revision=6461
2003-10-30 08:56:38 +00:00
Gé van Geldorp
51140532fa Create monochrome palette when selecting 1bpp bitmap into DC
svn path=/trunk/; revision=6460
2003-10-29 22:46:56 +00:00
Gé van Geldorp
6a8700f4b2 Fix DIB_1BPP_PutPixel
svn path=/trunk/; revision=6459
2003-10-29 22:45:45 +00:00
Martin Fuchs
f2be62ff1a add some calls to SHRestricted to replace awfull Registry reading
svn path=/trunk/; revision=6458
2003-10-29 21:37:14 +00:00
Filip Navara
4a4b64e0e7 - Fixed few more bugs reported by Wine user32 window test. 4/373 tests fails now. The rest is caused propably by incomplete NtUserDestroyWindow.
- Fixed locking of DCs in NtGdiBitBlt when hDCSrc == hDCDest.

svn path=/trunk/; revision=6457
2003-10-29 16:25:00 +00:00
Filip Navara
ac96511aae - Fixed more bugs reported by Wine user32 window test. (7/373 tests fails now)
svn path=/trunk/; revision=6456
2003-10-29 10:04:55 +00:00
Filip Navara
3247a4d444 - Fixed few more bugs reported by Wine user32 window test. (68/373 tests fails now)
svn path=/trunk/; revision=6455
2003-10-29 08:49:56 +00:00
Gé van Geldorp
ce50eff0b5 Allow environment variable ROS_INSTALL to set installation dir
svn path=/trunk/; revision=6454
2003-10-29 08:40:38 +00:00
Gé van Geldorp
fd5226dd32 Changes for W32API
svn path=/trunk/; revision=6453
2003-10-29 08:38:55 +00:00
Filip Navara
4926605241 - Fixed loading of symbols when compiled with DBG=1.
svn path=/trunk/; revision=6452
2003-10-28 22:48:37 +00:00
Filip Navara
1f31cc412e - Fixed more bugs reported by Wine user32 window test. (72/373 tests fail now)
svn path=/trunk/; revision=6451
2003-10-28 22:46:30 +00:00
Filip Navara
e95a291ceb - Fixed some bugs reported by Wine user32 window test. Still many are left.
svn path=/trunk/; revision=6450
2003-10-28 20:24:09 +00:00
Hartmut Birr
f9e7598cc7 - Fixed the length calculation of a unicode string in vfatGetFCBForFile.
svn path=/trunk/; revision=6449
2003-10-28 20:21:21 +00:00
Gé van Geldorp
40be01c894 Check for double class registration and implement Get/SetClassLong with
Offset >= 0

svn path=/trunk/; revision=6448
2003-10-28 20:19:45 +00:00
Gé van Geldorp
82fc43d926 More DirectDraw groundwork by Peter Bajusz
svn path=/trunk/; revision=6447
2003-10-28 19:30:08 +00:00
Filip Navara
e0d3016a0f - Added check for Atom == 0 in RtlQueryAtomInAtomTable.
- Set error code in one error case of GetDiskFreeSpaceW.
- Added call to DC_UnlockDc in one error case of NtGdiBitBlt.

svn path=/trunk/; revision=6446
2003-10-28 17:43:42 +00:00
Filip Navara
3fa0b64ad8 - Removed debug messages from GetWindowLong/SetWindowLong.
- Modified NtUserSetShellWindowEx to work. It passed Martin's tests, so I take it's correct.

svn path=/trunk/; revision=6445
2003-10-28 13:43:56 +00:00
Filip Navara
2609d3aece - Bugfixes of SetWindowPos. Now the window relinking really works for every window and not only for HWND_TOP. The Explorer Start Menu works now and desktop is painted. The dark side is that the desktop ShellView doesn't show anymore.
svn path=/trunk/; revision=6444
2003-10-28 12:21:36 +00:00
Filip Navara
92b58c12e3 - Fixed bug #25.
svn path=/trunk/; revision=6443
2003-10-28 09:49:04 +00:00
KJK::Hyperion
db7b08f3f4 Use and initialize Common Controls v6, or visual styles won't work
svn path=/trunk/; revision=6442
2003-10-27 23:20:57 +00:00
KJK::Hyperion
0d27ccca5d Skeleton for a Windows XP theme dumper
(note: doesn't compile on g++, at the moment - a #define hell I want to avoid entering, if possible)

svn path=/trunk/; revision=6441
2003-10-27 03:03:22 +00:00
KJK::Hyperion
ddf4e24c7d French keyboard layout by Jean-Michel Gay
svn path=/trunk/; revision=6440
2003-10-27 00:17:32 +00:00
Filip Navara
f2011619fc - Small bugfixes.
svn path=/trunk/; revision=6439
2003-10-26 18:08:51 +00:00
Eric Kohl
e9721e7a3e Bail out of RtlQueryRegistryValues if RTL_QUERY_REGISTRY_REQUIRED specified and value not found.
Patch by Ge van Geldorp.

svn path=/trunk/; revision=6438
2003-10-26 12:47:12 +00:00
Filip Navara
fc55092ea5 - Fixed placement of window caption buttons.
- Removed DefWindowProc handler for WM_NCLBUTTONUP.
- Rewritten DefWindowProc handler for WM_NCHITTEST.
- Fixed two defines in ReactOS headers.
- nonclient.c is compiled with ReactOS headers by default.

svn path=/trunk/; revision=6437
2003-10-26 11:08:32 +00:00
Filip Navara
50382abaf9 - Better implementation of window non-client area functions.
- Fixed GetWindowLong and SetWindowLong.
- Other small bug fixes.

svn path=/trunk/; revision=6436
2003-10-25 22:57:34 +00:00
Gé van Geldorp
95f63185a4 Added DirectDraw stubs by Peter Bajusz
svn path=/trunk/; revision=6435
2003-10-25 20:34:34 +00:00
Steven Edwards
475e195ad3 Add support for es->style and ES_MULTILINE back in
svn path=/trunk/; revision=6434
2003-10-25 18:51:26 +00:00
Gé van Geldorp
256162a37c Add DirectDraw driver calls to DRIVER_FUNCTIONS and the initializer to
DRIVER_BuildDDIFunctions. Patch by Peter Bajusz.

svn path=/trunk/; revision=6433
2003-10-25 18:45:13 +00:00
Steven Edwards
2acf4116c8 Fix building with the current stuff
svn path=/trunk/; revision=6432
2003-10-25 16:09:22 +00:00
Robert Dickenson
668039fd8a Commit of some work done last year...
svn path=/trunk/; revision=6431
2003-10-25 13:21:41 +00:00
Gé van Geldorp
afb4b42206 Resolution and screen depth change via registry settings, works for at
least the VMware driver

svn path=/trunk/; revision=6430
2003-10-25 10:59:19 +00:00
KJK::Hyperion
cf8011aa19 *** empty log message ***
svn path=/trunk/; revision=6429
2003-10-25 01:19:09 +00:00
KJK::Hyperion
4b6fa45980 Headers for theme support
svn path=/trunk/; revision=6428
2003-10-25 00:48:07 +00:00
KJK::Hyperion
d5640e8aad Fixes around GCC's stupidity
svn path=/trunk/; revision=6427
2003-10-25 00:46:01 +00:00
Gé van Geldorp
458bf0e03e Implement VideoPortGetRegistryParameters
svn path=/trunk/; revision=6426
2003-10-24 21:39:59 +00:00
Gé van Geldorp
bdb5b824b5 Bail out of RtlQueryRegistryValues if RTL_QUERY_REGISTRY_REQUIRED specified
and value not found

svn path=/trunk/; revision=6425
2003-10-24 21:38:33 +00:00
KJK::Hyperion
cda5a1a107 Minimal UxTheme skeleton (includes Borland C++ Builder project for my own sanity)
svn path=/trunk/; revision=6424
2003-10-24 21:29:48 +00:00
KJK::Hyperion
37296302c4 Fixed long-standing, annoying warnings in MSVCRT and CRTDLL
svn path=/trunk/; revision=6423
2003-10-24 21:28:00 +00:00
Gé van Geldorp
253dc51ca0 Complain a little bit louder if drivers can't be loaded
svn path=/trunk/; revision=6422
2003-10-24 08:22:29 +00:00
Vizzini
15fc6ff3af more.c:
Patch from Timothy Schepens <tischepe@fastmail.fm>:
This is a patch to let more use the window size instead of the buffer size.

sort.c: fixed qsort warning

svn path=/trunk/; revision=6421
2003-10-23 21:36:43 +00:00
Hartmut Birr
6a031188f2 - Initialize the used page count for the non paged pool in MmInitializeBalancer.
svn path=/trunk/; revision=6420
2003-10-23 20:28:08 +00:00
Thomas Bluemel
7b4d4ff86a clip the cursor while moving/sizing windows
svn path=/trunk/; revision=6419
2003-10-23 19:39:00 +00:00
Hartmut Birr
85a1b9d2bd - Fixed a crash which occurs if the maxmem option
reduces the memory size from the bios memory map.

svn path=/trunk/; revision=6418
2003-10-23 19:36:33 +00:00
Hartmut Birr
360e3be08a - Fixed the length calculation of some unicode strings.
svn path=/trunk/; revision=6417
2003-10-23 19:16:33 +00:00
Eric Kohl
9bb05f0dc5 Release the controller object if media detection fails.
svn path=/trunk/; revision=6416
2003-10-23 18:48:13 +00:00
Hartmut Birr
56605f5a0b - Changed the algorithm which makes the allocation 8-byte aligned.
- Fixed a bug which reserves to much memory (16MB) at startup.
- Fixed TAG_STATISTICS_TRACKING.

svn path=/trunk/; revision=6415
2003-10-23 18:43:36 +00:00
Gé van Geldorp
792f0b6860 Mark system color brushes as global so they won't be deleted when the
process which created them terminates

svn path=/trunk/; revision=6414
2003-10-23 15:34:44 +00:00
Hartmut Birr
2bb8751f3e - Added FULL_MAP support.
svn path=/trunk/; revision=6413
2003-10-23 13:16:17 +00:00
Gé van Geldorp
083311294c Work on activation/focus
svn path=/trunk/; revision=6412
2003-10-23 09:07:54 +00:00
Vizzini
3c640340fe Fixes to get slave DMA working again, as well as more architectural changes
that bring us closer to the Windows 2000 DMA model.

adapter.c: significantly re-worked and heavily commented
hal.h: more additions to ADAPTER_OBJECT; more pending
dma.c: added initialization of ADAPTER_OBJECT
ndis/io.c: minor DMA changes and addition of fixmes

svn path=/trunk/; revision=6411
2003-10-23 09:03:51 +00:00
Gé van Geldorp
47be3186ac Fix double output of lines > 80 chars in text mode
svn path=/trunk/; revision=6410
2003-10-23 06:53:20 +00:00
Gé van Geldorp
3cfa31a43d IntAcquireWinLockShared() was calling ExAcquireResourceExclusiveLite() and
IntAcquireWinLockExclusive() was calling ExAcquireResourceSharedLite(),
switch this.

svn path=/trunk/; revision=6409
2003-10-22 21:11:34 +00:00
Gé van Geldorp
7fc5f298e9 Release window lock in error conditions
svn path=/trunk/; revision=6408
2003-10-22 21:10:24 +00:00
Steven Edwards
67624ecdb3 Fix building the stub rpcrt4.dll to make the WINE dlls happy.
svn path=/trunk/; revision=6407
2003-10-22 20:14:25 +00:00
Steven Edwards
e4075679a4 GetDriveType should return DRIVE_NO_ROOT_DIR if there is no drive.
svn path=/trunk/; revision=6406
2003-10-22 20:06:32 +00:00
Thomas Bluemel
0967cc00ba fixed handling callback timers, thanks to GvG
svn path=/trunk/; revision=6405
2003-10-22 19:02:13 +00:00
Hartmut Birr
5be42e1107 - Added a check for a locked page in MmPageOutPhysicalAddress.
svn path=/trunk/; revision=6404
2003-10-22 18:26:34 +00:00
Hartmut Birr
e80fcc0855 - Added a missing check for a valid swap entry in MmPageOutSectionView.
svn path=/trunk/; revision=6403
2003-10-22 18:20:38 +00:00
Gé van Geldorp
7cb9ea96db Handle non-source ROPs and pattern ROPs
svn path=/trunk/; revision=6402
2003-10-22 17:44:01 +00:00
Filip Navara
4909784b30 - Removed commented-out code from FillRect to prevent anyone from uncommenting it, because it's wrong!
- Fixed WindowClass->hbrBackground == (COLOR_* + 1) bug I introduced, but now it's working the right way.
- Copied system coloe code from user32 to win32k, where it was messy!

svn path=/trunk/; revision=6401
2003-10-22 14:02:54 +00:00
Gé van Geldorp
b597738dd3 Fix window destruction on thread termination
svn path=/trunk/; revision=6400
2003-10-22 13:34:25 +00:00
Eric Kohl
4baf0a9002 Implemented ObQueryObjectAuditingByHandle().
svn path=/trunk/; revision=6399
2003-10-21 21:46:39 +00:00
Martin Fuchs
b9d355dbb5 replace old makefile by new MinGW makefile to fix resource compilation problems using cross compilers
svn path=/trunk/; revision=6398
2003-10-21 21:38:09 +00:00
Steven Edwards
47ae788845 Remove comment about freeldr depending on djgpp only.
svn path=/trunk/; revision=6397
2003-10-21 21:23:58 +00:00
Martin Fuchs
24632cd448 use WS_EX_TOOLWINDOW for floating menus
svn path=/trunk/; revision=6396
2003-10-21 20:23:53 +00:00
Thomas Bluemel
b8054aafb3 fixed small bug in WinPosSetActiveWindow()
svn path=/trunk/; revision=6395
2003-10-21 19:40:05 +00:00
Eric Kohl
79a459f094 Implemented handle flags 'Inherit' and 'ProtectFromClose'.
svn path=/trunk/; revision=6394
2003-10-21 15:50:51 +00:00
Vizzini
70bd83b2cb fixed line endings
svn path=/trunk/; revision=6393
2003-10-21 01:53:03 +00:00
Mark Tempel
97ebaeae3c Update to edit to fix:
-drawing lines while maintaining clip regions
-shutdown now works better. GlobalUnlock has the correct return codes.

svn path=/trunk/; revision=6392
2003-10-21 01:35:05 +00:00
Martin Fuchs
ecdcd538eb add missing icon
svn path=/trunk/; revision=6391
2003-10-20 19:33:55 +00:00
Eric Kohl
bf57d89032 Make paged and non-paged memory pools 8-byte aligned.
svn path=/trunk/; revision=6390
2003-10-20 18:43:11 +00:00
Gé van Geldorp
2515e0e291 Implement GUI consoles
svn path=/trunk/; revision=6389
2003-10-20 18:02:04 +00:00
Gé van Geldorp
f0f8de0966 Set tmMaxCharWidth
svn path=/trunk/; revision=6388
2003-10-20 17:57:42 +00:00
Gé van Geldorp
44c92af3c6 Partial fix for handling GDIOBJs between different processes
svn path=/trunk/; revision=6387
2003-10-20 17:57:05 +00:00
Gé van Geldorp
b8b3cf100c Add handling of SUBDIRS macro
svn path=/trunk/; revision=6386
2003-10-20 17:54:17 +00:00
Thomas Bluemel
a5ab15b6e3 fixed multiwin crashing win32k when closing the window with the child window
svn path=/trunk/; revision=6385
2003-10-20 14:00:58 +00:00
Robert Dickenson
139847baad Further version syncing...
svn path=/trunk/; revision=6384
2003-10-20 12:48:19 +00:00
Martin Fuchs
c42c8aa58a use DynamicFct for AllowSetForegroundWindow()
svn path=/trunk/; revision=6383
2003-10-20 07:55:52 +00:00
Vizzini
f177ad4810 Changes to support the 3Com 3c90x ndis5 driver and other bugfixes:
- Update registry with new 3com infor and set cards to disable by default
  - removed unnecessary crap from miniport.h
  - switch to using MINIPORT_BLOCK whenever possible for internal NDIS stuff
  - implemented NdisGetBufferPhysicalArraySize
  - fixed three similar bugs with overwriting memory in the config api
  - implemented NdisMQueryAssignedResources
  - fixed NdisMAllocateMapRegisters
  - implemented NdisMStartPhysicalBufferMapping
  - implemented NdisMCompletePhysicalBufferMapping
  - implemented NdisMMapIoSpace
  - implemented NdisMUnmapIoSpace
  - fixed HalAllocateAdapterChannel and IoAllocateAdapterChannel to
    act more like windows
  - fixed up a couple of enums
  - other misc. stuff

svn path=/trunk/; revision=6382
2003-10-20 06:03:29 +00:00
Nedko Arnaudov
39a209d69e Make it link with gcc 3.x
svn path=/trunk/; revision=6381
2003-10-19 22:59:36 +00:00
Filip Navara
d75f4aedc3 Fixed compilation errors in NDIS.
svn path=/trunk/; revision=6380
2003-10-19 21:55:37 +00:00
Filip Navara
dba6345f47 - Fixed GetFullPathNameA and debug message in GetFullPathNameW. The path handling is still wrong in some cases, I am trying to find out why.
- Very basic implementaion of NtUserPaintDesktop.
- Fixed bug in default window WM_ERASEBKGND.
- Fixed bug in default window WM_PAINT.
- Made BeginDeferWindowPos, DeferWindowPos, EndDeferWindowPos pseudo-working by returning values that make sense and calling SetWindowPos.

svn path=/trunk/; revision=6379
2003-10-19 19:51:48 +00:00
Eric Kohl
e3a669e3fa Ignore case of registry key and value names.
svn path=/trunk/; revision=6378
2003-10-19 19:42:20 +00:00
Vizzini
eaf5358cf8 uppercase NLS key to cure booting problems
svn path=/trunk/; revision=6377
2003-10-19 19:22:19 +00:00
Eric Kohl
f9d7f36bfe Initialize section object type after the object manager types have been initalized.
svn path=/trunk/; revision=6376
2003-10-19 17:33:54 +00:00
Hartmut Birr
08664af596 - Fixed the length value in some debug messages.
svn path=/trunk/; revision=6375
2003-10-19 17:10:46 +00:00
Hartmut Birr
91a9d5d368 - Fixed a bug in vfatGetNextDirEntry to get the first entry
from a directory, usually the '.' for a sub directory.

svn path=/trunk/; revision=6374
2003-10-19 17:07:58 +00:00
Filip Navara
b73b1eaf89 - Reverted to previous version of RtlGetFullPathName_U
- Fixed GetFullPathNameA

svn path=/trunk/; revision=6373
2003-10-19 16:17:50 +00:00
Martin Fuchs
0802d5a7f3 Docu-Update
svn path=/trunk/; revision=6372
2003-10-19 13:15:37 +00:00
Martin Fuchs
a887faa8e0 Implemented floating start menus
svn path=/trunk/; revision=6371
2003-10-19 13:09:45 +00:00
Robert Dickenson
d7f0fdf355 Further version syncing...
svn path=/trunk/; revision=6370
2003-10-19 11:13:54 +00:00
Robert Dickenson
308b455c7f Single line typo fixup consistent with same change in headers.
svn path=/trunk/; revision=6369
2003-10-19 10:43:10 +00:00
Robert Dickenson
81ef57a149 Header additions and modifications to bring our header versions closer to the latest mingw releases. Basically just reducing the diffs between the two versions.
Nothing should change with the resulting binaries (although various #pragma pack directives may have an effect )^:
Clean build tested without problem. Hopefully haven't broken anything with the runtime, ROS still boots ok for me under BOCHS.
Lots of laborious work all to be chucked out once we can finally switch over to the mingw headers full time.
Sorry if this causes anybody�s uncommitted work to be in conflict.
Heaps more coming to an directory near you soon (if nobody objects of course)
I noticed somewhere something like an 'include next' directive, however I can't find it now. In order to save me the research can anybody enlighten me as to its purpose. What I am hoping for is that it tells the pre-proc to go to the next header of the same name in the 'includes' search path. Such a directive would certainly be useful right now!
Regarding the mention on ros-kernel about wine-msvcrt v's ros-msvcrt I was hoping that the mingwacr project would addrs this however it seems to have lost all its steam. Anybody got an update concerning the project?
Somewhat off topic: finally the rains have come -> http://mirror.bom.gov.au/products/IDR032.loop.shtml#image

svn path=/trunk/; revision=6368
2003-10-19 10:36:41 +00:00
Eric Kohl
ed810e5f93 Add missing SOFTWARE key.
svn path=/trunk/; revision=6367
2003-10-19 09:35:07 +00:00
Thomas Bluemel
ce73b32829 Only load the US keyboard layout if no other was loaded successfully
svn path=/trunk/; revision=6366
2003-10-18 21:48:18 +00:00
Vizzini
0eb7b64bdc Forgot part of Art's patch
svn path=/trunk/; revision=6365
2003-10-18 21:45:00 +00:00
Martin Fuchs
19ce427c77 * Load default keyboard layout (GER or US) if no other load was successfull
svn path=/trunk/; revision=6364
2003-10-18 21:29:26 +00:00
Eric Kohl
36324e0454 Ignore the case of key and value names in the internal registry tree.
svn path=/trunk/; revision=6363
2003-10-18 20:41:14 +00:00
Vizzini
e6bdd2efdb Patch from Art Yerkes:
1. I removed the global keyboard pointer, and instead acquire a new copy of
the pointer for each thread that needs it.  This makes a lock unnecessary,
but is probably less efficient than it could be.

2. Keyboard DLL names are read from the registry in the same way as on win2k.
The (Default) value is taken from HKLM\System\currentcontrolset\nls\locale,
and used to form the key HKLM\System\currentcontrolset\<8-digit-locale>
And get the layout file from the "Layout File" value.  I added the entries
for kbdus in hivesys.inf.  When others make keyboard layouts, they should be
added here.

svn path=/trunk/; revision=6362
2003-10-18 20:41:10 +00:00
Filip Navara
db03a52a68 Updated RtlGetFullPathName_U from new Wine release.
svn path=/trunk/; revision=6361
2003-10-18 20:32:58 +00:00
Martin Fuchs
e8822d364b * add interactive sort functionality to program search dialog
svn path=/trunk/; revision=6360
2003-10-18 20:29:48 +00:00
Thomas Bluemel
87921d1868 fixed a return value
svn path=/trunk/; revision=6359
2003-10-18 19:18:41 +00:00
Thomas Bluemel
cf858e6be6 fixed a few warnings
svn path=/trunk/; revision=6358
2003-10-18 18:49:08 +00:00
Eric Kohl
1de8f5d574 Display 'Drive not ready' error if the user tries to list the directory on an empty drive.
svn path=/trunk/; revision=6357
2003-10-18 17:59:29 +00:00
Filip Navara
ed9a0cb22a - Fixed registry entries for Explorer (once more)
- Added very basic window relinking to WinPosSetWindowPos

svn path=/trunk/; revision=6356
2003-10-18 17:35:44 +00:00
Martin Fuchs
e9c87d778a * caching of searched start menu entries
* launch by double click

svn path=/trunk/; revision=6355
2003-10-18 13:35:40 +00:00
Filip Navara
d8255ef3ba Make DeferWindowPos call SetWindowPos instead of just saying unimplemented.
svn path=/trunk/; revision=6354
2003-10-18 10:35:52 +00:00
Hartmut Birr
02a2e5a3c6 - Moved the initializing of file caching after a possible
expansion of the file in MmCreateDataFileSection.

svn path=/trunk/; revision=6353
2003-10-18 09:35:11 +00:00
Martin Fuchs
b33671f3ab activate find-progra-dialog filter
svn path=/trunk/; revision=6352
2003-10-17 22:56:25 +00:00
Gé van Geldorp
5304188395 Don't set hClipRgn to NULL just before checking it
svn path=/trunk/; revision=6351
2003-10-17 21:35:45 +00:00
Thomas Bluemel
dc71bde604 fixed wrong parameters
svn path=/trunk/; revision=6350
2003-10-17 20:50:59 +00:00
Thomas Bluemel
04b57ad0bd implemented basic drawing of carets
svn path=/trunk/; revision=6349
2003-10-17 20:31:56 +00:00
Martin Fuchs
fb9b3cb9c2 make SetShellwindow() implementation more complete
svn path=/trunk/; revision=6348
2003-10-17 17:38:38 +00:00
Filip Navara
31c01ee91a Fixed paths for shell32.dll.
svn path=/trunk/; revision=6347
2003-10-17 15:35:07 +00:00
Thomas Bluemel
ac2f8c6d97 fixed warning
svn path=/trunk/; revision=6346
2003-10-17 14:18:18 +00:00
Robert Dickenson
c73c9212f8 Reverting previous mods due to even more problems occurring with a clean build.
Sorry for all the noise...

svn path=/trunk/; revision=6345
2003-10-17 12:53:48 +00:00
Robert Dickenson
a0c7411b79 Reverting previous mods due to even more problems occurring with a clean build.
svn path=/trunk/; revision=6344
2003-10-17 11:46:45 +00:00
Robert Dickenson
8a6ba12068 Couple of temporary fixes required, found after doing a clean build.
svn path=/trunk/; revision=6343
2003-10-17 11:15:29 +00:00
Robert Dickenson
4c7cd88113 Minor progress to bring ros-ddk headers closer to the latest mingw-ddk headers. Tested some dependant targets and found no build problems.
svn path=/trunk/; revision=6342
2003-10-17 09:17:59 +00:00
Robert Dickenson
427e1430ca Minor progress to bring ros-ddk headers closer to the latest mingw-ddk headers. Tested dependant targets and found no problems.
svn path=/trunk/; revision=6341
2003-10-17 05:36:39 +00:00
Thomas Bluemel
72ac951c61 initial implementation of carets
svn path=/trunk/; revision=6340
2003-10-16 22:07:37 +00:00
Thomas Bluemel
9ab1a381bc fixed warning
svn path=/trunk/; revision=6339
2003-10-16 18:03:26 +00:00
Filip Navara
db8287ce57 Fixed a small bug in IopInitializeBuiltinDriver.
svn path=/trunk/; revision=6338
2003-10-16 17:59:48 +00:00
Eric Kohl
1e3b13361d - Moved and renamed RtlpCreateRegistryKeyPath() to IopCreateDeviceKeyPath()
- Removed ntoskrnl/include/internal/registry.h

svn path=/trunk/; revision=6337
2003-10-16 14:50:11 +00:00
Eric Kohl
e4e84cbc31 Removed calls to RtlpGetRegistryHandle().
svn path=/trunk/; revision=6336
2003-10-16 12:50:30 +00:00
Eric Kohl
382a403ea1 Removed call to RtlpGetRegistryHandle().
svn path=/trunk/; revision=6335
2003-10-16 12:45:09 +00:00
Robert Dickenson
2e841b972e Trivial mod to remove obsolete comment about bugfix. Thanks Eric for comfirming.
Removed line:
//  while (Section != NULL)  // RobD - this looks like an error, Section variable never changes inside the while loop...

svn path=/trunk/; revision=6334
2003-10-16 08:39:28 +00:00
Vizzini
9ce7e4fa9d simplification of irql manipulation in a couple of places - patch by Mike Nordell
svn path=/trunk/; revision=6333
2003-10-16 03:26:51 +00:00
Vizzini
46fe6c1b84 merged in MDL fix and a makefile mod from the 0.1.4 release branch. This represents the last of the merging from the branch and officially closes it out.
svn path=/trunk/; revision=6332
2003-10-15 22:16:44 +00:00
Eric Kohl
194a827c38 Make RtlpGetRegistryHandle() a local helper function.
svn path=/trunk/; revision=6331
2003-10-15 21:15:45 +00:00
Thomas Bluemel
ba15abe412 unstubbed caret functions in win32k
svn path=/trunk/; revision=6330
2003-10-15 20:48:19 +00:00
Filip Navara
2233f43d06 Fixed loading icons with flag LR_LOADFROMFILE.
svn path=/trunk/; revision=6329
2003-10-15 19:39:08 +00:00
Thomas Bluemel
f09774d1ba fixed NtUserSetSystemTimer()
svn path=/trunk/; revision=6328
2003-10-15 19:28:57 +00:00
Thomas Bluemel
551e479436 fixed missing space
svn path=/trunk/; revision=6327
2003-10-15 18:29:59 +00:00
Thomas Bluemel
259baa738c added a test application for carets (which are currently not implemented)
svn path=/trunk/; revision=6326
2003-10-15 18:28:54 +00:00
Filip Navara
5753152b64 Fixed driver loading order, cleaned up relevant functions, and moved boot driver
initializing to separate function IopInitializeBootDrivers in io/driver.c.

These functions has been renamed:
LdrInitializeBootStartDriver -> IopInitializeBuiltinDriver (moved to io/driver.c)
LdrLoadAutoConfigDrivers -> IopInitializeSystemDrivers

How the driver loading works now:
- The root bus driver is enumerated by IoInit2 and it causes all drivers marked
as boot start to be initialized and attached to respective device tree node.
- Other boot drivers are initialized by IopInitializeBootDrivers (called from
ExpInitializeExecutive).
- After creating system root link (by IoCreateSystemRootLink) the device
tree is travesed by IopInitializePnpServices and all non-boot start drivers
all loaded.
- At last, system start drivers are loaded by IopInitializeSystemDrivers.

svn path=/trunk/; revision=6325
2003-10-15 17:04:39 +00:00
Eric Kohl
c44771a681 Added pointer to a security descriptor to OBJECT_HEADER.
svn path=/trunk/; revision=6324
2003-10-15 16:59:36 +00:00
Thomas Bluemel
5b025dc283 some work on timers
svn path=/trunk/; revision=6323
2003-10-15 13:39:09 +00:00
Eric Kohl
6d37414eab Cleaned up RtlpQuerySecurityDescriptor() and fixed SaclLength.
svn path=/trunk/; revision=6322
2003-10-15 11:02:04 +00:00
Vizzini
1075502a5c Patch by Mike Nordell to fix broken paths
svn path=/trunk/; revision=6321
2003-10-15 03:29:33 +00:00
Vizzini
f9ea16f884 added kbdus.dll to copy-over
svn path=/trunk/; revision=6320
2003-10-15 03:16:27 +00:00
Vizzini
1472d11a1f Patch, as suggested by Mike Nordell, to verify IRQL before calling unsafe fast mutex functions
svn path=/trunk/; revision=6319
2003-10-15 03:09:23 +00:00
Vizzini
e570a920e4 patch by d_layer to fix two unnecessary-rebuild problems
svn path=/trunk/; revision=6318
2003-10-15 02:56:02 +00:00
Eric Kohl
ca72cbfce5 RtlGetFullPathName_U() must use a drive's root directory if a current directory has not been assigned.
This fixes bug #7.

svn path=/trunk/; revision=6317
2003-10-14 19:36:26 +00:00
Filip Navara
98354eb95c Added one more registry entry for Application Data path.
svn path=/trunk/; revision=6316
2003-10-14 19:17:37 +00:00
Filip Navara
ec667f9dab Added check for PsGetWin32Process() == NULL to IntGetWindowObject. It's propably not right and only hiding the real problem, but I need it to get explorer wroking...
svn path=/trunk/; revision=6315
2003-10-14 18:49:10 +00:00
Filip Navara
cbcee55a07 Fixed line endings.
svn path=/trunk/; revision=6314
2003-10-14 18:25:31 +00:00
Filip Navara
e85d3f11f1 Added registry entries for Wine DLLs (needed by Explorer).
svn path=/trunk/; revision=6313
2003-10-14 18:22:16 +00:00
Filip Navara
3889a8a8dd Fixed RegQueryValueExA and marked as implemented.
svn path=/trunk/; revision=6312
2003-10-14 18:18:27 +00:00
Eric Kohl
47419d0b98 Implemented NtQueryObject(ObjectBasicInformation).
svn path=/trunk/; revision=6311
2003-10-14 14:49:05 +00:00
Eric Kohl
09bed329b8 - Moved symbolic link object type.
- Added create time and removed object attributes.

svn path=/trunk/; revision=6310
2003-10-14 14:45:23 +00:00
Mark Tempel
6af69a6d26 Update to edit to keep it from crashing the kernel when it is created.
svn path=/trunk/; revision=6309
2003-10-14 03:32:18 +00:00
Mark Tempel
c21ade114a Update to correct a bug in GlobalSize with GMEM_MOVEABLE memory. Now a valid heap pointer is passed into RtlSizeHeap.
svn path=/trunk/; revision=6308
2003-10-14 01:44:39 +00:00
Martin Fuchs
4ceccd2cd5 update version number to 0.1.4
svn path=/trunk/; revision=6307
2003-10-13 22:42:06 +00:00
Eric Kohl
a4504f3fa6 - Cancel pending hive scynchronization upon shutdown.
- Implemented NtSetInformationKey().
- Mark more modified blocks in NtCreateKey().

svn path=/trunk/; revision=6306
2003-10-13 20:53:42 +00:00
Thomas Bluemel
1992cfebcb added missing cvsignore file
svn path=/trunk/; revision=6305
2003-10-13 15:34:10 +00:00
Thomas Bluemel
4aec51e513 Add a quick test application for testing the GlobalXXX memory API.
by Mark Tempel

svn path=/trunk/; revision=6304
2003-10-13 15:05:59 +00:00
Mark Tempel
8789928717 Updated to add support for all GlobalXXX functions for GMEM_FIXED, and GMEM_MOVEABLE memory.
svn path=/trunk/; revision=6303
2003-10-13 04:45:30 +00:00
Mark Tempel
b04cf03c9a Windows implements GlobalDiscard by using a #define to GlobalReAlloc. This update removes GlobalDiscard from the function list, and adds the define.
svn path=/trunk/; revision=6302
2003-10-13 04:40:18 +00:00
Mark Tempel
677670754c Update make file to build a test application for the GlobalXXX memory API.
svn path=/trunk/; revision=6301
2003-10-13 04:33:40 +00:00
Hartmut Birr
fea73f2343 - Added ntoskrnl.h to the include files.
svn path=/trunk/; revision=6300
2003-10-12 21:21:40 +00:00
Gé van Geldorp
96ef6162d0 Handle invalid DC instead of ASSERTing
svn path=/trunk/; revision=6299
2003-10-12 20:23:25 +00:00
Hartmut Birr
59f99bc8c6 - Put all init functions in a special section and do free
the memory from this section after system initialization.

svn path=/trunk/; revision=6298
2003-10-12 17:37:08 +00:00
Hartmut Birr
2a1821394f - Fixed the freeing of memory from boot load drivers.
- Put all init functions in a special section and do free
  the memory from this section after system initialization.

svn path=/trunk/; revision=6296
2003-10-12 17:05:50 +00:00
Vizzini
74be14122f Support for VMWare NIC, and some general clean-up and other minor changes:
- default to full maps
 - switched ndis (temporarily) back to system-start
 - enabled the pcnet driver in the registry (temporary - awaiting PnP support)
 - fixed the version number in the ndis version resource
 - implemented packet array indications
 - added a missing enum member to kedef
 - added PAGED_CODE() to ndis.h
 - added IRQL checking, assertions, and some comments to ndis
 - did some re-formatting to bring into code standard
 - other minor/cosmetic changes

svn path=/trunk/; revision=6295
2003-10-12 16:39:52 +00:00
Eric Kohl
b635a41ae9 - Renamed a lot of variables and functions in the registry.
- Fixed buggy cell size calculation.

svn path=/trunk/; revision=6294
2003-10-12 15:52:45 +00:00
Gé van Geldorp
c21ca7f81c Bump version number to 0.1.4
svn path=/trunk/; revision=6293
2003-10-12 14:01:30 +00:00
Thomas Bluemel
73d4cc4bcd fixed button caption bug
svn path=/trunk/; revision=6292
2003-10-12 10:05:22 +00:00
Gé van Geldorp
4b70642b13 Store WindowStation in Win32Process data too when setting window station
svn path=/trunk/; revision=6290
2003-10-12 09:46:51 +00:00
Hartmut Birr
e9be00f3e9 - Fixed a missing 'S' from SynchronizeWindows31FilesAndWindowsNTRegistry.
svn path=/trunk/; revision=6289
2003-10-12 09:39:44 +00:00
Thomas Bluemel
e959d6aee2 fixed warnings
svn path=/trunk/; revision=6287
2003-10-12 01:13:23 +00:00
Martin Fuchs
6c3428a268 Display colorfull startmenu side logo if enough colors are available in the current display mode
svn path=/trunk/; revision=6286
2003-10-12 00:59:33 +00:00
Thomas Bluemel
7d418a62a8 rewritten MessageBox functions, added MessageBoxTimeout()
svn path=/trunk/; revision=6285
2003-10-12 00:39:50 +00:00
Gé van Geldorp
522c110055 Added Mark Tempel, Art Yerkes, Martin Fuchs, Vizzini, Filip Navara,
Andrew Greenwood, Thomas Weidenmueller and Jonathan Wilson to list
of coders.
Split up STRINGTABLE resource.

svn path=/trunk/; revision=6284
2003-10-11 21:06:18 +00:00
Mark Tempel
d3116f3c9e Update the allocator to try to force memory to be allocated on an 8-byte boundary.
svn path=/trunk/; revision=6283
2003-10-11 21:03:50 +00:00
Filip Navara
77d1c7d4ce Corrected prototypes for FsRtlNotifyInitializeSync and FsRtlNotifyUninitializeSync.
svn path=/trunk/; revision=6282
2003-10-11 20:40:21 +00:00
Mark Tempel
b54239c578 Fix the declaration of GlobalDiscard to be STDCALL
svn path=/trunk/; revision=6281
2003-10-11 20:25:42 +00:00
Mark Tempel
42c1e37424 Update to add GlobalXXX memory API constants that were missing.
svn path=/trunk/; revision=6280
2003-10-11 20:23:21 +00:00
Hartmut Birr
096a69471d - Changed the file names to unicode strings.
- Replaced most of the string functions with the unicode functions.
- Removed some overhead.
- Fixed some minor bugs.

svn path=/trunk/; revision=6279
2003-10-11 17:51:56 +00:00
Hartmut Birr
a751ffce23 - Replace the first part of the short name with a check sum after some rounds to get a unique name.
svn path=/trunk/; revision=6278
2003-10-11 17:38:42 +00:00
Hartmut Birr
056d573329 - Fixed some type casts to get correct index values into the nls tables.
svn path=/trunk/; revision=6277
2003-10-11 17:23:52 +00:00
Eric Kohl
a7d3c209b1 Fixed cell buggy cell size calculation.
svn path=/trunk/; revision=6276
2003-10-11 16:55:49 +00:00
Gé van Geldorp
573b369b03 Fix OpenDesktop()
svn path=/trunk/; revision=6275
2003-10-11 16:28:58 +00:00
Eric Kohl
3a2fbc9c8f - Fixed inconsistent detection of in-offset data.
- Fixed class name cell allocation.
- Renamed a lot of variables and functions.

svn path=/trunk/; revision=6274
2003-10-10 21:55:16 +00:00
Thomas Bluemel
d27fed0f93 1. added kbdgr (German Keyboard Layout), (at least two) keys don't work though, search for FIXME
2. Added some VK_* defines

svn path=/trunk/; revision=6273
2003-10-09 17:48:44 +00:00
Gé van Geldorp
1e839b2692 Free DCE when window is destroyed
svn path=/trunk/; revision=6272
2003-10-09 07:30:02 +00:00
Gé van Geldorp
3f52e9d728 Keyboard sync between gui and text modes, patch by Art Yerkes and
Hartmut Birr

svn path=/trunk/; revision=6271
2003-10-09 06:13:05 +00:00
Thomas Bluemel
511fc18181 don't draw caption icon if not needed
svn path=/trunk/; revision=6270
2003-10-08 13:46:34 +00:00
guido
58c18026cc fixed for working on linux (for real now ...)
svn path=/trunk/; revision=6268
2003-10-07 22:22:24 +00:00
Gé van Geldorp
53ef4cbee3 Reserve space for terminating NUL character in window text
svn path=/trunk/; revision=6267
2003-10-07 22:06:52 +00:00
guido
5d276433ca fix compilation on linux, TODO: accept wildcards
svn path=/trunk/; revision=6266
2003-10-07 22:00:32 +00:00
Gé van Geldorp
68620a65d5 Change check for absolute pathnames on Windows
svn path=/trunk/; revision=6265
2003-10-07 19:48:12 +00:00
James Tabor
f651e5f32c Fix Include for Linux
svn path=/trunk/; revision=6264
2003-10-07 16:40:12 +00:00
Thomas Bluemel
8c2e8abc3d fixed bug in drawing the window caption
svn path=/trunk/; revision=6263
2003-10-07 15:42:37 +00:00
Eric Kohl
908cf73ea4 Create type objects for all object types.
svn path=/trunk/; revision=6262
2003-10-07 14:08:43 +00:00
Martin Fuchs
568dabc967 WIne without _tcslwr
svn path=/trunk/; revision=6261
2003-10-07 08:35:41 +00:00
Gé van Geldorp
6c664de318 Add "make registry" target
svn path=/trunk/; revision=6260
2003-10-07 07:47:21 +00:00
Gé van Geldorp
3650a74350 Fix pixel swap error
svn path=/trunk/; revision=6259
2003-10-06 21:04:24 +00:00
Casper Hornstrup
2b41fc9ef0 2003-10-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: New target uboot for simple unattended setup.
	* bootdata/unattend.inf.sample: Sample unattended setup script.
	* subsys/system/usetup/partlist.c (SelectPartition): New function.
	* subsys/system/usetup/partlist.h (SelectPartition): Prototype.
	* subsys/system/usetup/usetup.c: Support unattended setup.
	(IsUnattendedSetup, UnattendDestinationDiskNumber,
	UnattendDestinationPartitionNumber, UnattendInstallationDirectory):
	New.
	(CheckUnattendedSetup, InstallDirectoryPage1): New function.

svn path=/trunk/; revision=6258
2003-10-06 19:22:42 +00:00
Filip Navara
ec64ee05f6 Fixed line endings.
svn path=/trunk/; revision=6257
2003-10-06 18:49:50 +00:00
Filip Navara
4dd437312a Added system32\\drivers\\ndis.sys as it's a boot start driver.
svn path=/trunk/; revision=6256
2003-10-06 18:30:54 +00:00
Filip Navara
91aeffd931 I commited more files than I wanted by mistake. :( This patch reverses most of the changes and addes commit message for the others.
reactos/config - Reversed
reactos/lib/gdi32/objects/bitblt.c - Reversed
reactos/lib/kernel32/process/create.c - Added output of user mode exception address.
reactos/lib/user32/controls/button.c - Fixed debug print
reactos/lib/user32/windows/bitmap.c - Reversed
reactos/ntoskrnl/cm/rtlfunc.c - Reversed
reactos/ntoskrnl/io/driver.c - Reversed
reactos/subsys/system/explorer/buildno.h - Updated
reactos/subsys/system/explorer/explorer_intres.rc - Changed VK_S and VK_X to numeric values, because MinGW doesn't have these constants.
reactos/subsys/system/explorer/makefile - Reversed
reactos/subsys/win32k/ntuser/windc.c - Reversed

svn path=/trunk/; revision=6255
2003-10-06 18:24:54 +00:00
Gé van Geldorp
3e4cc29925 Remove no longer needed stuff
svn path=/trunk/; revision=6254
2003-10-06 18:18:00 +00:00
Filip Navara
8d31e83bb5 Added vfw.h header for compiling comctl32.dll with older w32api.
svn path=/trunk/; revision=6253
2003-10-06 17:53:55 +00:00
Thomas Bluemel
fb45e50cc0 fixed bug in calculation of scrollbars
svn path=/trunk/; revision=6252
2003-10-06 17:25:16 +00:00
Gé van Geldorp
0c98050bdc Fix icon handling
svn path=/trunk/; revision=6251
2003-10-06 16:25:53 +00:00
Gé van Geldorp
307c3b1526 Prevent double output
svn path=/trunk/; revision=6250
2003-10-06 16:24:20 +00:00
Vizzini
2f9834a4b1 fixed line endings on all files
svn path=/trunk/; revision=6249
2003-10-06 16:13:28 +00:00
Vizzini
2b4d614b3b fixed line endings
svn path=/trunk/; revision=6248
2003-10-06 15:54:29 +00:00
Filip Navara
21a74ed02c Wine's COMCTL32 port.
svn path=/trunk/; revision=6247
2003-10-05 21:26:59 +00:00
Filip Navara
64591816e3 Added C++ terminate function.
svn path=/trunk/; revision=6246
2003-10-05 18:13:27 +00:00
Filip Navara
03195d93a6 Made registry key handles inheritable.
svn path=/trunk/; revision=6245
2003-10-05 17:13:27 +00:00
Filip Navara
d2734276cb Added semi-stub for GetCurrentHwProfileA.
svn path=/trunk/; revision=6244
2003-10-05 17:12:32 +00:00
Eric Kohl
7301a9d4b0 Return handle information in ObReferenceObjectByHandle().
svn path=/trunk/; revision=6243
2003-10-05 16:57:39 +00:00
Richard Campbell
5ba34e8e3d fixed makefile for mingw systems, make is no longer make.exe, it is mingw32-make.exe, fixed this permanently by changing everything to $(MAKE)
svn path=/trunk/; revision=6242
2003-10-05 05:51:26 +00:00
Martin Fuchs
26e9ba9eda display icons in search dialog
svn path=/trunk/; revision=6241
2003-10-04 23:30:22 +00:00
Thomas Bluemel
93e9630e67 implements system timers (similar to standard timers)
svn path=/trunk/; revision=6240
2003-10-04 22:36:37 +00:00
Filip Navara
996d541acf Updated makefile and changed target name to shell32.dll.
svn path=/trunk/; revision=6239
2003-10-04 21:30:05 +00:00
Thomas Bluemel
7ee95e2702 1.fixes drawing thin and dialog captions
2.fixes hittesting for thin and dialog style windows
3.hide scrollbars if client area is too small

svn path=/trunk/; revision=6238
2003-10-04 21:18:17 +00:00
Gé van Geldorp
9f165f1472 Stricter checking of GDIOBJ handles
svn path=/trunk/; revision=6237
2003-10-04 21:09:29 +00:00
Martin Fuchs
2a8a8ea559 read explorer policy settings from registry
svn path=/trunk/; revision=6236
2003-10-04 21:02:42 +00:00
Eric Kohl
32be4e4865 Fixed buggy DPRINT.
Found by Patvor.

svn path=/trunk/; revision=6235
2003-10-04 20:26:45 +00:00
Gé van Geldorp
8377a6d3cf Don't unreference driver for dc's with NULL drivername
svn path=/trunk/; revision=6234
2003-10-04 20:26:43 +00:00
Gé van Geldorp
e661c147ad Fix NtGdiRectangle
svn path=/trunk/; revision=6233
2003-10-04 20:04:10 +00:00
Filip Navara
2f8bd70826 Fixed WinMM and Shell32 DLLs to be usable by Solitaire and Task Manager.
svn path=/trunk/; revision=6232
2003-10-04 19:55:48 +00:00
Filip Navara
3e19a65825 Patch by Skywing.
- Added notice about PsGetCurrentProcessId not returning a real handle.
- Changed PsGetCurrentProcessId() to NtCurrentProcess() in RtlpGetRegistryHandle.
(I am still not sure if it works correctly, but it crashes otherwise!)

svn path=/trunk/; revision=6231
2003-10-04 18:19:17 +00:00
Martin Fuchs
cbd89b1469 compile resources with wrc
svn path=/trunk/; revision=6230
2003-10-04 17:57:11 +00:00
Martin Fuchs
30e42e78a6 remove winefile.rc
svn path=/trunk/; revision=6229
2003-10-04 17:56:51 +00:00
Martin Fuchs
d9f9ad8343 adjust for wrc
svn path=/trunk/; revision=6228
2003-10-04 17:56:34 +00:00
Martin Fuchs
56cae963fd removed compiler warning
svn path=/trunk/; revision=6227
2003-10-04 17:36:40 +00:00
Martin Fuchs
133757aaab disable call to AllowSetForegroundWindow() for Wine
svn path=/trunk/; revision=6226
2003-10-04 17:32:25 +00:00
Eric Kohl
9b66809886 - Added OBJECT_INFORMATION_CLASS type.
- Added, fixed or moved object information types.

svn path=/trunk/; revision=6225
2003-10-04 17:12:31 +00:00
Thomas Bluemel
c102b23e07 fixes in DefWndNCCalcSize() and other small fixes
svn path=/trunk/; revision=6224
2003-10-04 16:04:01 +00:00
Thomas Bluemel
193d845613 adding test app for the client area calculation using the WM_NCCALCSIZE message
svn path=/trunk/; revision=6223
2003-10-04 12:14:37 +00:00
Filip Navara
569ba4e82d Fixed DPRINT in NtQueryDirectoryObject.
svn path=/trunk/; revision=6222
2003-10-04 07:48:11 +00:00
Gé van Geldorp
80c2c54b48 Gracefully handle some out of resource situations
svn path=/trunk/; revision=6220
2003-10-03 22:07:40 +00:00
Gé van Geldorp
826367ef3c Implementation of ReleaseDC(), works for now but could be made more efficient
svn path=/trunk/; revision=6219
2003-10-03 18:04:37 +00:00
Eric Kohl
8f27cdee0d Initialize more port configuration information for PCI devices.
AHA-2940 gets detected and initialized. :-)

svn path=/trunk/; revision=6218
2003-10-03 16:18:35 +00:00
Martin Fuchs
c5a3a450b2 allow SetForegroundWindow() for Notify Windows
svn path=/trunk/; revision=6217
2003-10-03 15:33:18 +00:00
Filip Navara
5626948240 Fixed DPRINT in IopInvalidateDeviceRelations.
svn path=/trunk/; revision=6216
2003-10-03 13:37:53 +00:00
Gé van Geldorp
54c0f5b8de - Pass correct coordinates in WM_MOVE
- Fix non-client size calculation

svn path=/trunk/; revision=6215
2003-10-03 11:44:44 +00:00
Eric Kohl
340061ddcf Scan the SCSI buses by sending SCSI requests instead of calling the miniport's StartIo routine directly.
svn path=/trunk/; revision=6214
2003-10-03 10:47:41 +00:00
Thomas Bluemel
9dc187ebe5 SetScrollInfo() now repaints the scrollbars if needed
svn path=/trunk/; revision=6213
2003-10-02 23:21:42 +00:00
Gé van Geldorp
e2486f18e3 Fix computation of bounding rectangle
svn path=/trunk/; revision=6212
2003-10-02 21:32:45 +00:00
Eric Kohl
8da5e2f8e1 Major rework of ScsiPortInitialize():
- Got rid of pseudo device extension.
- Create port device object before the call to HwFindAdapter().

svn path=/trunk/; revision=6210
2003-10-02 13:40:00 +00:00
Martin Fuchs
bf5a98bcc0 _avive-Handling
svn path=/trunk/; revision=6209
2003-10-02 00:51:35 +00:00
Martin Fuchs
6ab07bccfd disabled console code for Wine
svn path=/trunk/; revision=6208
2003-10-02 00:50:13 +00:00
Martin Fuchs
d81895f3a3 Beginnings of "Search Program" dialog
svn path=/trunk/; revision=6207
2003-10-01 23:30:11 +00:00
Thomas Bluemel
9a49c3f027 disable DbgPrints
svn path=/trunk/; revision=6205
2003-10-01 19:11:06 +00:00
Eric Kohl
e0492ecd39 - Move port configuration info from the device extension.
- Prepare to reorganize ScsiPortInitialize().

svn path=/trunk/; revision=6204
2003-10-01 14:59:11 +00:00
Eric Kohl
14faffecc0 - Check the number of harddisks and fail if no harddisk is available.
- Updated some texts.
- Disabled debugging messages.

svn path=/trunk/; revision=6203
2003-10-01 14:54:21 +00:00
Gé van Geldorp
960aa79c36 Release PiThreadListLock as soon as possible
svn path=/trunk/; revision=6202
2003-09-30 22:36:29 +00:00
Gé van Geldorp
3df2c8544f Handle mouse not present situation
svn path=/trunk/; revision=6201
2003-09-30 22:04:24 +00:00
Thomas Bluemel
336b105291 fixed the keyboard driver crash if there was no mouse detected, maybe not the best solution but it seems to work. win32k still expects a mouse though
svn path=/trunk/; revision=6200
2003-09-30 19:59:45 +00:00
Filip Navara
55cfd3e3f4 Changed the video driver back to VGA. Sorry for bug in my previous patch.
svn path=/trunk/; revision=6198
2003-09-30 16:04:51 +00:00
Filip Navara
408392e571 - Small fixies for bus drivers.
- Added (commented out) registry entry for loading PCI driver
- Commented out the Ne2000 root bus registry entry, because it crashes ReactOS without reversed Skywing's object.c patch.

svn path=/trunk/; revision=6197
2003-09-30 15:46:59 +00:00
Martin Fuchs
550fd767cd Changed shell namespacew sort order to file name instead of displayed name
svn path=/trunk/; revision=6196
2003-09-30 08:53:00 +00:00
Martin Fuchs
6ef5b3b5fb Fix for wrong UNICODE definition of CFSTR_FILENAME in MinGW
svn path=/trunk/; revision=6195
2003-09-29 22:16:40 +00:00
Filip Navara
eb69ba9ec2 This is first part of patch to get loading boot bus drivers working. The loading still doesn't work, but it doesn't crash at least.
Changes:
- Added BootDriver parameter to IopInitializeDriver.
- Changed second parameter of IopInitializeDevice to BootDriver.
- Avoid initalizing boot bus drivers in IopInitializeDevice
- Remove thrid parameter (BootDriversOnly) of IopInterrogateBusExtender, because it isn't used
- Enabled calling of IopLoadBootStartDrivers in ExpInitializeExecutive.
- Disabled some debug messages
- Some other small fixies

svn path=/trunk/; revision=6194
2003-09-29 20:43:07 +00:00
Martin Fuchs
0ddc55f416 * open MDI cabinet folders instead of new mainframe windows
* avoid accessing floppy drive when browsing "My Computer"

svn path=/trunk/; revision=6193
2003-09-29 20:24:48 +00:00
Thomas Bluemel
99bf2fc3b8 rewrote the ps/2 mouse driver. it works now :)
svn path=/trunk/; revision=6192
2003-09-29 19:41:46 +00:00
Thomas Bluemel
4dba9c4e26 fixed handling of WM_MOUSEWHEEL....again
svn path=/trunk/; revision=6191
2003-09-29 19:38:30 +00:00
Thomas Bluemel
34d43b1c8a fixed passing a wrong parameter to GetWindowLong()
svn path=/trunk/; revision=6190
2003-09-29 19:00:44 +00:00
Martin Fuchs
f67ae3636f moved settings entries into submenu
svn path=/trunk/; revision=6189
2003-09-28 21:28:30 +00:00
Martin Fuchs
febcdf59e3 open subfolders in cabinet windows
svn path=/trunk/; revision=6188
2003-09-28 20:59:30 +00:00
Martin Fuchs
a7de09c7ea open cabinet windows then clicking on desktop folders
svn path=/trunk/; revision=6187
2003-09-28 19:51:05 +00:00
Martin Fuchs
b48f5abd49 ShellBrowserImpl::OnDefaultCommand()
svn path=/trunk/; revision=6186
2003-09-28 19:50:42 +00:00
Martin Fuchs
61382e6bca use ILGetSize() instead of IMalloc::GetSize()
svn path=/trunk/; revision=6185
2003-09-28 19:49:59 +00:00
Thomas Bluemel
bbe43cc970 fixed handling of WM_MOUSEWHEEL which are supposed to be sent to the window with the current focus no matter where the mouse cursor is
svn path=/trunk/; revision=6182
2003-09-28 14:21:26 +00:00
Filip Navara
59760bf0d0 Setting of device node flags DNF_PROCESSED and DNF_ENUMERATED.
svn path=/trunk/; revision=6181
2003-09-28 12:52:53 +00:00
Martin Fuchs
6e65f7ed9f new TODO entries
svn path=/trunk/; revision=6180
2003-09-28 12:00:22 +00:00
Martin Fuchs
b2c1f686f6 added a Makefile for compiling as winelib application
svn path=/trunk/; revision=6179
2003-09-28 07:42:30 +00:00
Martin Fuchs
4adc17e7ad corrections for compiling as winelib application
svn path=/trunk/; revision=6178
2003-09-28 07:39:40 +00:00
Filip Navara
4472b96d6b Fixed line endings.
svn path=/trunk/; revision=6177
2003-09-28 07:37:11 +00:00
Thomas Bluemel
c9e8d81464 disable detection of mice since bochs doesn't like it
svn path=/trunk/; revision=6175
2003-09-28 01:33:51 +00:00
Thomas Bluemel
5b44561405 fix resulution setting
svn path=/trunk/; revision=6174
2003-09-28 00:35:03 +00:00
Thomas Bluemel
9a74edf2a1 advanced ps/2 mouse driver that supports intellimouse and mice with mouse wheel and 4th and 5th buttons
svn path=/trunk/; revision=6173
2003-09-28 00:30:34 +00:00
Thomas Bluemel
7871924668 support for mouse wheels and 4th and 5th mouse button (WM_MOUSEWHEEL, WM_XBUTTON*)
svn path=/trunk/; revision=6172
2003-09-28 00:26:13 +00:00
Emanuele Aliberti
719909479f I changed the PSXDLL.DLL version info description to make it different from MS' (and make it say what it actually is).
svn path=/trunk/; revision=6171
2003-09-27 21:23:23 +00:00
Martin Fuchs
3018ab1bdc merged start menus of the same name (e.g. "All Users\Startup" with "<User>\Startup")
svn path=/trunk/; revision=6170
2003-09-27 21:20:32 +00:00
Filip Navara
48587e3e2f Fixed line endings.
svn path=/trunk/; revision=6169
2003-09-27 18:53:58 +00:00
guido
86e9bc55c8 Renamed 'makefile' to 'Makefile' in order to build on linux
svn path=/trunk/; revision=6168
2003-09-27 18:52:31 +00:00
Martin Fuchs
367a45d72a * created a Makefile for compiling as standalone project using MinGW
* eliminated all warnings displayed when using -Wall
* activated option for compiling as UNICODE version

svn path=/trunk/; revision=6166
2003-09-27 17:21:03 +00:00
Gé van Geldorp
8638791220 Set cursor position and time for posted messages
svn path=/trunk/; revision=6165
2003-09-27 15:41:54 +00:00
Filip Navara
c434e40598 Fixed SetPixel and initial implementation of SetPixelV.
svn path=/trunk/; revision=6164
2003-09-27 15:09:26 +00:00
Martin Fuchs
f7deec4b5c moved start menu entries for control panel, etc. into new settings submenu
svn path=/trunk/; revision=6163
2003-09-27 13:15:02 +00:00
Gé van Geldorp
1c7c828d1e Alternate implementation of DrawFocusRect() which works better in current
ReactOS

svn path=/trunk/; revision=6161
2003-09-27 12:32:52 +00:00
Filip Navara
4e2b376ccf Bugfix: Reverted order of mask1Bpp, this change fixes 1bpp blits.
svn path=/trunk/; revision=6159
2003-09-27 09:27:45 +00:00
Robert Dickenson
7f69240625 reactos\subsys\system\usetup\infcache.c (line 1156)
CacheSection = Cache->FirstSection;
  while (Section != NULL)

changed to:
  CacheSection = Cache->FirstSection;
//  while (Section != NULL)  // RobD - this looks like an error, variable 'Section' never changes inside the while loop...
  while (CacheSection != NULL)

and also the same in:
reactos\tools\mkhive\infcache.c (line 1007)

Could Royce or Eric confirm this 'fix' please.

svn path=/trunk/; revision=6158
2003-09-27 09:14:15 +00:00
Thomas Bluemel
b58279d977 partial support for intellimouse
svn path=/trunk/; revision=6156
2003-09-27 01:08:19 +00:00
Thomas Bluemel
82a60ec8d1 removed redefinition of WHEEL_DELTA constant
svn path=/trunk/; revision=6155
2003-09-27 00:29:52 +00:00
Thomas Bluemel
aa8f2f585a added constants for WM_XBUTTON* messages
svn path=/trunk/; revision=6154
2003-09-27 00:22:10 +00:00
Gé van Geldorp
2deb611ef7 Add NtUserReleaseDC
svn path=/trunk/; revision=6152
2003-09-26 21:05:48 +00:00
Gé van Geldorp
e80e96bff4 - Incomplete implementation of ReleaseDC()
- Fix pen color bug if pen was selected into a DC more than once
- Cache GetSysColorBrush() and GetSysColorPen()

svn path=/trunk/; revision=6151
2003-09-26 20:58:06 +00:00
Filip Navara
4671a645d8 Changed DPRINT1 to DPRINT when connecting to mouse device.
svn path=/trunk/; revision=6150
2003-09-26 20:10:07 +00:00
Eric Kohl
3bc1216b7f Check for presence of \reactos\ntoskrnl.exe instead of REACTOS disk label to identify the boot cdrom device.
svn path=/trunk/; revision=6149
2003-09-26 19:45:04 +00:00
Filip Navara
efec63db2f Fixed the type of PS2MouseInitializeDataQueue.
svn path=/trunk/; revision=6148
2003-09-26 19:37:38 +00:00
Filip Navara
afd54f8f9c Fixed DIB_BltToVGA and other functions calling it to handle situation where SourcePoint->x % 2 != 0.
svn path=/trunk/; revision=6147
2003-09-26 18:38:47 +00:00
Filip Navara
95d5d55bff Fixed the FileVersion once more. The version should be 5.1.2600 because some applications use the bitmap resources directly and depending on the FileVersion tries to load animations.
svn path=/trunk/; revision=6146
2003-09-26 12:17:05 +00:00
Gé van Geldorp
b13d959501 Handle some out of resource situations
svn path=/trunk/; revision=6145
2003-09-26 10:45:45 +00:00
Eric Kohl
5a99fbb2ce Search for devices if a valid vendor and device ids are passes to ScsiPortInitialize().
svn path=/trunk/; revision=6144
2003-09-25 23:23:21 +00:00
Thomas Bluemel
fbbaa9a97d fixed some drawing bugs of scrollbars
svn path=/trunk/; revision=6143
2003-09-25 21:16:56 +00:00
Eric Kohl
895c98c856 Replaced ObRosCreateObject() by ObCreateObject() and ObInsertObject().
Fixed ObCreateObject() and ObInsertObject().

svn path=/trunk/; revision=6140
2003-09-25 20:09:56 +00:00
Filip Navara
72d8964737 Fixed line endings.
svn path=/trunk/; revision=6139
2003-09-25 18:29:45 +00:00
Thomas Bluemel
636d453391 fixed file version to 1,0,0,0
svn path=/trunk/; revision=6138
2003-09-25 18:10:22 +00:00
Thomas Bluemel
37d56c9567 fixed version info
svn path=/trunk/; revision=6137
2003-09-25 17:05:19 +00:00
Filip Navara
7ea418b4eb Plug & Play manager improvments + few other things
ntoskrnl/ntoskrnl.edf:
   Added exports for IoGetDmaAdapter, IoIsWdmVersionAvailable,
   KefAcquireSpinLockAtDpcLevel, KefReleaseSpinLockFromDpcLevel,
   ExFreePoolWithTag.
ntoskrnl/io/driver.c:
   Implementation of NtUnloadDriver.
ntoskrnl/io/device.c:
   Added prepending "\\SystemRoot\" and displaying "PnP Loading xxx..." message
   in IopInitializeDeviceNodeService.
ntoskrnl/io/pnpmgr.c:
   Split into ntoskrnl/io/pnpmgr.c, ntoskrnl/io/deviface.c,
   ntoskrnl/io/pnpnotify.c, ntoskrnl/io/pnpmgr/pnpdma.c,
   ntoskrnl/io/pnpmgr.c, ntoskrnl/io/pnpmgr/pnproot.c,
   ntoskrnl/io/remlock.c, ntoskrnl/io/pnpmgr/pnpreport.c.
   Fixed registry handling in IopActionInterrogateDeviceStack and
   IopActionConfigureChildServices.
   Partial implementation of IoGetDeviceProperty.
ntoskrnl/io/pnpdma.c:
   Implementation of IoGetDmaAdapter.
ntoskrnl/io/wdm.c:
   New file. Contains implementation of IoIsWdmVersionAvailable.
ntoskrnl/ke/spinlock.c:
   Added KeAcquireSpinLockAtDpcLevel and KefReleaseSpinLockFromDpcLevel.
ntoskrnl/mm/pool.c:
   Partial implementation of ExFreePoolWithTag.

svn path=/trunk/; revision=6136
2003-09-25 15:54:43 +00:00
Filip Navara
bf8e3b5659 Device driver loading and unloading utilities.
svn path=/trunk/; revision=6135
2003-09-25 15:40:23 +00:00
Filip Navara
85fd5b07a7 Fixed generation of Device ID.
svn path=/trunk/; revision=6134
2003-09-25 15:21:11 +00:00
Aleksey Bragin
1fc4bb294e palbitblt installation is added to reactos tests
svn path=/trunk/; revision=6133
2003-09-25 15:20:59 +00:00
Aleksey Bragin
19fcfe178b Slightly changed PALETTE_SetMapping() to obtain pointer to the system palette dynamically instead of just looking into COLOR_sysPal.
Good news - palbitblt.exe now works as it as supposed to work under non-paletted mode, and in 16-colors too (but I haven't checked if it looks the same in this mode in Windows too)

svn path=/trunk/; revision=6132
2003-09-25 15:15:03 +00:00
Aleksey Bragin
30174c1155 Changes in COLOR_PaletteLookupPixel() to handel case, when it's called with NULL XlateObj,
svn path=/trunk/; revision=6131
2003-09-25 15:12:42 +00:00
Aleksey Bragin
fc32b5f1f9 Changed one UNIMPLEMENTED in NtGdiGetDIBits() to DPRINT (when bits=0, application queries for parameters, and gets them via this way). I guess this isn't fully correct behaviour, but everyone will get clear notification via DPRINT in case this branch of NtGdiGetDIBits is called.
svn path=/trunk/; revision=6130
2003-09-25 14:40:42 +00:00
Aleksey Bragin
2f740eff13 PALOBJ_cGetColors(): PalObj is already a pointer to PALGDI, no need to call AccessInternalObjectFromUserObject(PalObj). At least it gives error when this function is invoked. If I'm mistaking (this function is being called with wrong param), please notify me.
svn path=/trunk/; revision=6129
2003-09-25 14:32:55 +00:00
Vizzini
07a35efe80 Patch by Skywing:
- fixes issues with object manager calling object deletion callbacks at raised IRQL [which creates a ton of problems]
 - move kernel debugger init to after ExInit

svn path=/trunk/; revision=6128
2003-09-25 05:12:24 +00:00
Thomas Bluemel
0ae09914df fixed passing pointers to win32k
svn path=/trunk/; revision=6127
2003-09-24 21:09:22 +00:00
Thomas Bluemel
987f34d8d3 fixed file version field
svn path=/trunk/; revision=6126
2003-09-24 20:32:11 +00:00
Thomas Bluemel
4b416189e9 add capclock to the build system
svn path=/trunk/; revision=6125
2003-09-24 20:05:29 +00:00
Thomas Bluemel
63ebbd13c0 fixed some cvsignore files
svn path=/trunk/; revision=6124
2003-09-24 19:55:18 +00:00
Thomas Bluemel
461f1cab84 improved mouse (buttons) handling
svn path=/trunk/; revision=6123
2003-09-24 18:39:34 +00:00
Thomas Bluemel
b5d10cd2da added *.map to the cvsignore file
svn path=/trunk/; revision=6122
2003-09-24 17:36:58 +00:00
Thomas Bluemel
e669b2e1cb Added winhello2 test app by Michael Fritscher
svn path=/trunk/; revision=6121
2003-09-24 16:11:05 +00:00
Thomas Bluemel
3fd1dcd5e0 some fixes on on gdi handles
svn path=/trunk/; revision=6120
2003-09-24 16:01:32 +00:00
Thomas Bluemel
3ed28b6e6f some work on scrollbars
svn path=/trunk/; revision=6119
2003-09-24 13:41:40 +00:00
Gé van Geldorp
4fe38862eb NtGdiEllipse() improvements
svn path=/trunk/; revision=6118
2003-09-23 21:48:18 +00:00
Thomas Bluemel
3ec27cec15 fixed memory leak in REGION_XorRegion()
svn path=/trunk/; revision=6117
2003-09-23 19:33:29 +00:00
Gé van Geldorp
0b9c284361 Fix GDI_HANDLE_INDEX_MASK, thanks to Jonathan Wilson
svn path=/trunk/; revision=6116
2003-09-23 18:04:42 +00:00
Filip Navara
cb74b26689 Update of richedit to Wine 20030911 version
svn path=/trunk/; revision=6115
2003-09-22 06:11:49 +00:00
Thomas Bluemel
19aeb83a4b added *.iso and *.cab to cvsignore
svn path=/trunk/; revision=6114
2003-09-21 18:17:55 +00:00
Thomas Bluemel
a41feef44a fixed NtUserClipCursor()
svn path=/trunk/; revision=6113
2003-09-21 16:00:24 +00:00
Martin Fuchs
87768e6cca fix usage of 64 bit constants in SleepEx() and GetQueuedCompletionStatus()
svn path=/trunk/; revision=6112
2003-09-21 14:02:30 +00:00
Martin Fuchs
3d57db0ea0 Exception Handling
svn path=/trunk/; revision=6111
2003-09-21 13:51:20 +00:00
Martin Fuchs
3c50c8c091 Explorer FAQ
svn path=/trunk/; revision=6110
2003-09-21 13:51:02 +00:00
Thomas Bluemel
3a04e43292 fixed NtUserClipCursor()
svn path=/trunk/; revision=6109
2003-09-21 11:53:13 +00:00
Gé van Geldorp
3cd94c29a1 Fix some coordinate system mismatches
svn path=/trunk/; revision=6108
2003-09-21 06:44:51 +00:00
Thomas Bluemel
52c1dddf12 ported ConvertDefaultLocale() from wine
svn path=/trunk/; revision=6107
2003-09-21 01:47:02 +00:00
Thomas Bluemel
de2bded76d unstubbed national language support functions
svn path=/trunk/; revision=6105
2003-09-20 23:37:56 +00:00
Thomas Bluemel
df61aa9b8a fixed compiler warnings
svn path=/trunk/; revision=6104
2003-09-20 22:44:22 +00:00
Thomas Bluemel
9fb56830e8 fixed compiler warnings
svn path=/trunk/; revision=6103
2003-09-20 20:31:57 +00:00
Thomas Bluemel
174238220d fixed compiler warnings and cvsignore files
svn path=/trunk/; revision=6102
2003-09-20 20:12:43 +00:00
Gé van Geldorp
b2869f7a74 Revert previous change to dialog.c and fix the problem at it's root,
in EnumChildWindows. Thanks to Thomas Weidenmueller.

svn path=/trunk/; revision=6101
2003-09-20 19:52:23 +00:00
Gé van Geldorp
0504e0cffa Fix GetDlgItem()
svn path=/trunk/; revision=6100
2003-09-20 19:24:11 +00:00
Thomas Bluemel
04b9e7234a fixed compiler warnings
svn path=/trunk/; revision=6099
2003-09-20 19:08:44 +00:00
Thomas Bluemel
013bfffae8 fixed compiler warnings
svn path=/trunk/; revision=6098
2003-09-20 14:44:35 +00:00
Martin Fuchs
c92e25be46 improved exception handling in start menu, especially for non-NT systems
svn path=/trunk/; revision=6097
2003-09-19 20:27:59 +00:00
Martin Fuchs
f2fb2a7e5c rm REMOTE DBG
svn path=/trunk/; revision=6096
2003-09-19 07:43:27 +00:00
Martin Fuchs
2efa56ff58 fix for mingw build
svn path=/trunk/; revision=6095
2003-09-18 22:48:17 +00:00
Martin Fuchs
b0665e94ab compatibility changes for correct start menu subentries on Windows 9x
svn path=/trunk/; revision=6094
2003-09-18 22:18:38 +00:00
Aleksey Bragin
e125705217 Patch by Mike Nordell: Change UserMode to KeGetCurrentProcess()->PreviousMode in calls to ObReferenceObjectByHandle() in file ps/kill.c
svn path=/trunk/; revision=6093
2003-09-18 17:55:21 +00:00
Aleksey Bragin
4374bab13d Add msimg32 to the list of libraries
svn path=/trunk/; revision=6092
2003-09-18 16:03:03 +00:00
Aleksey Bragin
092aeee1ca Path by Filip Navarra, implementing initial version MSIMG32 dll that just calls relevant gdi32.dll functions.
svn path=/trunk/; revision=6091
2003-09-18 15:44:43 +00:00
Eric Kohl
b2a7aa0781 Added defines for uninitialized values.
svn path=/trunk/; revision=6090
2003-09-18 13:45:07 +00:00
Martin Fuchs
b4f1ad8ce1 use system colors instead of hardcoded constants for drive panes
svn path=/trunk/; revision=6089
2003-09-16 21:54:24 +00:00
Martin Fuchs
d1e179a339 command line option -nodesktop
svn path=/trunk/; revision=6088
2003-09-16 17:59:23 +00:00
Emanuele Aliberti
1f1078fba3 Patch by Valentin Verkhovsky: Ntfs driver is updated now and ready for testing.
I've been working on MFT processing for while.
Thus driver performs  only  files & attribute enumerating
by VCN-LCN pair mapping   like M$ Nfi  utility.

For me it compiles and the image loads correctly.

svn path=/trunk/; revision=6087
2003-09-15 16:01:16 +00:00
Vizzini
ed00963623 changed callbacks to use stdcall
made a number of changes to the protocol->miniport send path
clarified locking and irql manipulation code
added support for SendPacketsHandler
cleaned up NdisRegisterProtocol and NdisOpenAdapter

svn path=/trunk/; revision=6086
2003-09-15 03:58:12 +00:00
Vizzini
c7198d46d8 implemented MiniportHalt, MiniportQueryInformation, and MiniportSetInformation
svn path=/trunk/; revision=6085
2003-09-15 03:47:22 +00:00
Vizzini
6c6b49d3cb Patch from Filip Navara updating comctl32
svn path=/trunk/; revision=6084
2003-09-15 02:48:15 +00:00
Martin Fuchs
5cb3c6a572 updatebuildno without ./
svn path=/trunk/; revision=6083
2003-09-14 19:04:23 +00:00
Martin Fuchs
54c2f02940 lf
svn path=/trunk/; revision=6082
2003-09-14 19:00:03 +00:00
Martin Fuchs
88b58a6ff1 updatebuildno script for systems without installed "cp"
svn path=/trunk/; revision=6081
2003-09-14 18:43:44 +00:00
Martin Fuchs
64fddd5694 transparent Icons with shadow
svn path=/trunk/; revision=6080
2003-09-14 17:28:27 +00:00
Martin Fuchs
04f28a8acf transparent XP icons in various image sizes
svn path=/trunk/; revision=6079
2003-09-14 15:48:51 +00:00
Hartmut Birr
9604dab6c5 - Use KeSetBasePriorityThread for changing the thread priority in NtSetInformationThread.
svn path=/trunk/; revision=6078
2003-09-14 10:53:32 +00:00
Hartmut Birr
6f4149e361 - Reference all returned process objects (in PsGetNextProcess).
- Do not fail if a process is deleted (in PsGetNextProcess).
- Change the direction of the returned process (in PsGetNextProcess).
- Check if a process is deleted in NtOpenProcess.

svn path=/trunk/; revision=6077
2003-09-14 10:52:33 +00:00
Hartmut Birr
24203ec76e - Moved the call to ExpSwapThreadEventPair from PiDeleteThread to PsTerminateCurrentThread.
svn path=/trunk/; revision=6076
2003-09-14 10:50:29 +00:00
Hartmut Birr
5eb3a136c6 - Returned STATUS_PROCESS_IS_TERMINATING/STATUS_THREAD_IS_TERMINATING instead of
STATUS_UNSUCCESSFUL if a process/thread is deleted.

svn path=/trunk/; revision=6075
2003-09-14 10:48:39 +00:00
Thomas Bluemel
1324042725 added missing cvsignore
svn path=/trunk/; revision=6074
2003-09-14 10:37:03 +00:00
Hartmut Birr
0b9f28cec0 - Changed the reference/dereference order in ObDeleteHandle.
svn path=/trunk/; revision=6073
2003-09-14 09:19:07 +00:00
Hartmut Birr
753a4b6018 - Changed the wait parameter to FALSE in a call to KeSetEvent (in NtSetLowEventPair).
svn path=/trunk/; revision=6072
2003-09-14 09:18:04 +00:00
Hartmut Birr
8f692f9ab7 - Implemented the allocation type NonPagedPoolCacheAligned/NonPagedPoolCacheAlignedMustS.
svn path=/trunk/; revision=6071
2003-09-14 09:15:04 +00:00
Hartmut Birr
991009f8c6 - Reduce the size for the block header by using a union structure.
- Allocate the buffer for the pool bitmap dynamically.
- Fixed some of the debug functions.
- Implemented the allocation type NonPagedPoolCacheAligned/NonPagedPoolCacheAlignedMustS.

svn path=/trunk/; revision=6070
2003-09-14 09:14:20 +00:00
Hartmut Birr
230ad74f48 - Fixed KeReleaseDispatcherDatabaseLockAtDpcLevel/KeReleaseDispatcherDatabaseLock.
svn path=/trunk/; revision=6069
2003-09-14 09:12:19 +00:00
Hartmut Birr
f9cf46a778 - Initialize only the page table for the region up to 8MB.
svn path=/trunk/; revision=6068
2003-09-14 09:11:14 +00:00
Hartmut Birr
8331f92d3f - Dereference the process pointer in QSI_DEF(SystemProcessInformation).
svn path=/trunk/; revision=6067
2003-09-14 09:03:54 +00:00
Hartmut Birr
0ec4b3e636 - Fixed the length for the allocated buffer in IntGetClassName.
svn path=/trunk/; revision=6066
2003-09-14 09:03:53 +00:00
Vizzini
47c9a1e005 fix for building with DBG=1
svn path=/trunk/; revision=6065
2003-09-14 05:53:15 +00:00
Martin Fuchs
b5596b0da8 Use a better ReactOS Icon as application icon and for start menu button
svn path=/trunk/; revision=6064
2003-09-13 23:52:05 +00:00
Vizzini
fd94f77ea8 patch by Filip Navara for remaining mswsock stubs
svn path=/trunk/; revision=6063
2003-09-13 21:15:03 +00:00
Martin Fuchs
d17de36214 rename local variable from hwnd to hwndDesktop
svn path=/trunk/; revision=6062
2003-09-13 19:13:57 +00:00
Martin Fuchs
6ede4e5449 work around for Windows NT, Win 98, ... to display desktop window in the correct size
svn path=/trunk/; revision=6061
2003-09-13 19:01:25 +00:00
Thomas Bluemel
9b298429d8 fixed the hMenu parameter in CreateWindowEx so that this parameter changes the child windows' ID
svn path=/trunk/; revision=6060
2003-09-13 13:58:38 +00:00
Martin Fuchs
5d3579faab added link to FAQ web page
svn path=/trunk/; revision=6059
2003-09-13 11:27:20 +00:00
Martin Fuchs
3d6d2f3879 removed compatibility code for old W32API headers of version 2.3
svn path=/trunk/; revision=6058
2003-09-13 10:06:18 +00:00
Vizzini
a9aabdaaf1 Patch by skywing:
- wrote RtlRaiseException user mode implementation
  - wrote KiRaiseUserExceptionDispatcher/KeRaiseUserException to raise user exceptions from kernel mode
  - implemented raise STATUS_INVALID_HANDLE-if-debugged in NtClose

svn path=/trunk/; revision=6057
2003-09-13 06:17:52 +00:00
Gé van Geldorp
4eec93eae2 (Partial) implementation of Ellipse()
svn path=/trunk/; revision=6056
2003-09-12 22:17:06 +00:00
Vizzini
f7f1fc7717 new patch for more stubs and misc changes
patch changes:
1.add mswsock.dll with stubs for allmost all functions (1 or 2 I cant get prototype of)
2.add some definitions to various header files
3.add some stubs to advapi32.dll
4.add a stub for GdiInitializeLanguagePack to gdi32.dll
5.add some stubs to iphlpapi.dll
6.add some stubs to kernel32.dll
7.add some stubs to ntdll.dll
8.add some stubs to ws2_32.dll
9.add some stub definitions to wsock32.dll
10.change wsock32.dll so that most functions redirect to ws2_32.dll or mswsock.dll (which is how microsoft does it)
11.turn -Wall -Werror on for cards
12.turn -Wall -Werror on for epsapi
13.turn -Wall -Werror on for fmifs and fix problems that resulted
14.turn -Wall -Werror on for freetype
15.turn -Wall -Werror on for vfatlib and fix problems that resulted
15.turn -Wall -Werror on for kernel32 and fix problems that resulted
16.turn -Wall -Werror on for ntdll and fix problems that resulted
17.turn -Wall -Werror on for lzexpand
18.turn -Wall -Werror on for msafd
19.turn -Wall -Werror on for psapi
20.turn -Wall -Werror on for twain
21.add some stubs to user32.dll
22.turn -Wall -Werror on for version
23.turn -Wall -Werror on for wshirda

svn path=/trunk/; revision=6055
2003-09-12 17:51:48 +00:00
Thomas Bluemel
3eff784d88 fixed some cvsignore files
svn path=/trunk/; revision=6053
2003-09-12 16:18:52 +00:00
Thomas Bluemel
a4487cceea removed winedbc dependencies
svn path=/trunk/; revision=6052
2003-09-12 13:47:59 +00:00
Thomas Bluemel
a9160ac5fd implemented a couple of scrollbar functions and fixed GetDoubleClickTime()
svn path=/trunk/; revision=6051
2003-09-12 12:54:26 +00:00
Gé van Geldorp
fd08241470 Add some SS_* styles
svn path=/trunk/; revision=6050
2003-09-11 22:32:33 +00:00
Gé van Geldorp
30d562530c Fixed typo
svn path=/trunk/; revision=6049
2003-09-11 22:11:44 +00:00
Gé van Geldorp
1a9cd2de4a Implemented SS_PATHELLIPSIS and SS_ENDELLIPSIS styles and STN_CLICKED/STN_DBLCLK
notifications

svn path=/trunk/; revision=6048
2003-09-11 22:10:16 +00:00
Vizzini
1c0adb9ffd assignment bugfix for casper
svn path=/trunk/; revision=6047
2003-09-11 20:10:33 +00:00
Eric Kohl
a0fc1a5dac - Zero DMA related data in the pseudo device extension before a new port device is detected.
- Added code to support one device-queue per LUN (disabled).
- Cleaned-up / simplified some functions.
- Started to rename internal functions to SpiXxxx.

svn path=/trunk/; revision=6046
2003-09-11 11:51:05 +00:00
Eric Kohl
892557fccc Added Adapter-Object used for PCI-Bus-Master-DMA.
svn path=/trunk/; revision=6045
2003-09-11 11:45:28 +00:00
Gé van Geldorp
89d5a30486 Implement SS_SUNKEN and SS_WORDELLIPSIS styles
svn path=/trunk/; revision=6044
2003-09-11 08:32:42 +00:00
Gé van Geldorp
f837ed21ac Handle WM_CTLCOLOR* messages
svn path=/trunk/; revision=6043
2003-09-11 08:32:06 +00:00
Gé van Geldorp
755c84cde3 Support OPAQUE text background
svn path=/trunk/; revision=6042
2003-09-10 23:16:13 +00:00
Gé van Geldorp
5bdf0b7486 Switch back to correct mode
svn path=/trunk/; revision=6041
2003-09-10 23:08:28 +00:00
Aleksey Bragin
6b54dccd23 Small bug in debug data displayed: NtGdiCreatePrimarySurface(): Fixed line "Display Driver ... loaded", now loads really loaded driver instead of always first on the list.
svn path=/trunk/; revision=6040
2003-09-10 21:06:26 +00:00
Aleksey Bragin
e9d5901d8b NtGdiRealizePalette(): Unlock palettes prior to call to IntEngCreateXlate(). (prevents double-lock)
svn path=/trunk/; revision=6039
2003-09-10 21:03:18 +00:00
Aleksey Bragin
156ce01884 Small program to test ReactOS palette support in bitblt operations (Crashes on ROS for now, I'll commit patches to ROS later to fix this).
svn path=/trunk/; revision=6038
2003-09-10 20:15:46 +00:00
Gé van Geldorp
2d66ad555c Fix caption text width
svn path=/trunk/; revision=6037
2003-09-10 18:18:25 +00:00
Thomas Bluemel
5e5352278f added file version resource to riched32 and changed makefile to automatically build the riched32.dll
svn path=/trunk/; revision=6036
2003-09-10 15:30:53 +00:00
Vizzini
3a5cac081a cvsignores and commented out softice
svn path=/trunk/; revision=6035
2003-09-10 15:28:53 +00:00
Thomas Bluemel
233a78a636 added cvs ignore file
svn path=/trunk/; revision=6034
2003-09-10 14:41:29 +00:00
Thomas Bluemel
4d3bedb140 added richedit.h so the richedit control can be compiled
svn path=/trunk/; revision=6033
2003-09-10 14:39:33 +00:00
Gé van Geldorp
8636ea85a9 Let the mouse cursor go where it hasn't gone before: right and lower edge
of the screen

svn path=/trunk/; revision=6032
2003-09-10 07:24:31 +00:00
Vizzini
413af2c984 patch by Skywing: made existing eventpair code more efficient and added support for associating eventpairs with
threads and signaling them that way

svn path=/trunk/; revision=6031
2003-09-10 06:12:22 +00:00
Gé van Geldorp
05023f216e Limit cursor clip region to desktop region
svn path=/trunk/; revision=6030
2003-09-09 20:10:38 +00:00
Gé van Geldorp
7479009d8c Properly offset client-relative update rectangle
svn path=/trunk/; revision=6029
2003-09-09 20:06:58 +00:00
Gé van Geldorp
e34b503bd2 Remove debug breakpoint
svn path=/trunk/; revision=6028
2003-09-09 15:56:06 +00:00
Gé van Geldorp
860af295a0 Add RoundRect test (patch by Royce3)
svn path=/trunk/; revision=6027
2003-09-09 15:50:46 +00:00
Gé van Geldorp
213461d136 RoundRect() implementation by Royce3
svn path=/trunk/; revision=6026
2003-09-09 15:49:59 +00:00
Gé van Geldorp
93e8262300 Add KFLOATING_STATE
svn path=/trunk/; revision=6025
2003-09-09 14:51:41 +00:00
Gé van Geldorp
216280ce74 Naive implementation of Ke(Save/Restore)FloatingPointState
svn path=/trunk/; revision=6024
2003-09-09 14:50:19 +00:00
Gé van Geldorp
f7cd42043b Mark ScreenDeviceContext as local before destroying it
svn path=/trunk/; revision=6023
2003-09-09 10:57:03 +00:00
Gé van Geldorp
840130bc87 .cvsignore maintenance
svn path=/trunk/; revision=6022
2003-09-09 09:43:46 +00:00
Gé van Geldorp
c0339cdb1b Show which areas are being repainted
svn path=/trunk/; revision=6021
2003-09-09 09:40:19 +00:00
Gé van Geldorp
db573c519a Fixes to WinPosSetWindowPos() and the routines it depends upon
svn path=/trunk/; revision=6020
2003-09-09 09:39:21 +00:00
Vizzini
a5743bd648 code cleanup, lots of little bugfixes, implemented MiniportHandleISR
svn path=/trunk/; revision=6019
2003-09-09 04:42:21 +00:00
Steven Edwards
d34f9a0679 Sorry about that. the COPYING file is a copy of the GPL.
svn path=/trunk/; revision=6018
2003-09-08 19:25:50 +00:00
Thomas Bluemel
5f42375644 fixed drawing the window frame so there's a line between client area and caption bar
svn path=/trunk/; revision=6017
2003-09-08 18:50:00 +00:00
Steven Edwards
3551d4488a Added a copy of the GPL. Just to make it clear some parts of ReactOS
are GPL others are LGPL so we ship a copy of both licenses for now.

svn path=/trunk/; revision=6016
2003-09-08 18:27:53 +00:00
Gé van Geldorp
afb6548beb #include stddef.h in winsock2.h
svn path=/trunk/; revision=6015
2003-09-08 17:19:55 +00:00
Thomas Bluemel
205f58421e implemented calculating of tracking thumb in scrollbars
svn path=/trunk/; revision=6014
2003-09-08 15:08:56 +00:00
Gé van Geldorp
eca8e8ad7c winsock2.h now depends on stddef.h
svn path=/trunk/; revision=6013
2003-09-08 13:20:15 +00:00
Thomas Bluemel
569f26e923 changes in this patch by Jonathon Wilson:
1.add some definitions to ascii.h
2.add some definitions to base.h
3.add some definitions to defines.h
4.add some definitions to funcs.h
5.add some definitions to structs.h
6.add some definitions to unicode.h
7.add some definitions to winsock2.h
8.fix it so that the ACCESS_MODE definition in ntos\security.h is only visible in kernel mode
9.add lots of stubs to advapi32.dll (some stuff from appmgmt.h, winsafer.h, evntrace.h, winefs.h, sddl.h, wincred.h & mschapp.h still to be added)
10.add a bunch of stubs to iphlpapi.dll
11.modify kernel32.dll so that certain functions are forwarded to ntdll.dll instead of being stubs in kernel32.dll
12.modify lz32.dll so that everything points at kernel32.dll
13.fix msafd.h to account for changes to winsock2.h (winsock2.h now needs stdlib.h to get the size_t type)
14.add stubs for SendIMEMessageExW and SendIMEMessageExA to user32.dll
15.add some stubs to ws2_32.dll
16.rename WahCreateNotificationTable to WahCreateNotificationHandle in ws2help.dll (WahCreateNotificationHandle is what microsoft calls it)
17.fix ws2help.h to account for changes to winsock2.h (winsock2.h now needs stdlib.h to get the size_t type)
18.fix wshirda.h to account for changes to winsock2.h (winsock2.h now needs stdlib.h to get the size_t type)
19.fix wsock32\stubs.c to account for changes to winsock2.h (winsock2.h now needs stdlib.h to get the size_t type)
20.add some stubs/fix some others for wsock32.dll
21.add some stubs to secur32.dll (more to come when I get sspi.h, secext.h & ntsecpkg.h)
22.add stubs for GetConsoleKeyboardLayoutNameA & GetConsoleKeyboardLayoutNameW to kernel32
23.add stub for SetupChangeFontSize to syssetup.dll
24.add some header files from WINE (related to advapi, secur32 and others)
and 25.made lsass\ntsecapi.h redundant (the stuff that was in it is now in the WINE ntsecapi.h). Therefore, it should probobly be removed.

There are also a bunch of things in the defs/edfs that are there but commented out. This is because I have yet to find the prototype for them.

svn path=/trunk/; revision=6012
2003-09-08 09:56:57 +00:00
Thomas Bluemel
19c18b7f2c added hittesting for scrollbars and fixed passing the cursor coordinates to NCL messages
svn path=/trunk/; revision=6011
2003-09-08 02:14:20 +00:00
Martin Fuchs
61009dcbf6 Version 0.1.3.7
svn path=/trunk/; revision=6010
2003-09-07 22:00:02 +00:00
Eric Kohl
7bc7cff30d Fixed the button label bug.
svn path=/trunk/; revision=6009
2003-09-07 17:36:40 +00:00
Eric Kohl
55f95cb4b1 Fixed COLOR_WINDOWFRAME and COLOR_WINDOW system color. Default buttons and checkboxes look better now.
svn path=/trunk/; revision=6008
2003-09-07 17:35:15 +00:00
Eric Kohl
4d237d4e7c Removed checkbox bitmap loading code and hardcoded checkbox size.
Checkboxes are visible now.

svn path=/trunk/; revision=6007
2003-09-07 13:16:55 +00:00
Thomas Bluemel
1a1d4a8874 added syscall NtUserGetScrollInfo() and fixed nonclient hittest for caption buttons
svn path=/trunk/; revision=6006
2003-09-07 11:52:54 +00:00
Eric Kohl
f54139ad6e Do not link against ntdll.
svn path=/trunk/; revision=6005
2003-09-07 11:17:51 +00:00
Thomas Bluemel
76286b9a50 renamed and fixed a few functions regarding scrollbars
svn path=/trunk/; revision=6004
2003-09-07 09:55:52 +00:00
James Tabor
94b5d29d89 Implement temp GetEnhMetaFilePixelFormat
svn path=/trunk/; revision=6003
2003-09-06 19:44:00 +00:00
James Tabor
cd39c464f2 Implementing OpenGl support
svn path=/trunk/; revision=6002
2003-09-06 19:04:56 +00:00
Thomas Bluemel
62847198aa fixed disabled caption buttons bug
svn path=/trunk/; revision=6001
2003-09-06 16:59:30 +00:00
James Tabor
81b36f5903 Implementing OpenGl support
svn path=/trunk/; revision=6000
2003-09-06 16:50:11 +00:00
Thomas Bluemel
625bd1a280 better handling of caption buttons
svn path=/trunk/; revision=5999
2003-09-06 14:30:21 +00:00
Vizzini
e1f57fd5f7 added pcnet to make system and added unix installation script
svn path=/trunk/; revision=5997
2003-09-06 02:19:39 +00:00
Vizzini
8ed19da5a8 *** empty log message ***
svn path=/trunk/; revision=5996
2003-09-06 02:01:40 +00:00
Gé van Geldorp
0320c0fcc2 Allow serial mouse driver and COM debug output to coexist peacefully.
Patch by Filip Navara

svn path=/trunk/; revision=5995
2003-09-05 15:55:47 +00:00
Eric Kohl
31b2a95597 - Implemented ScsiPortGetPhysicalAddress() (incomplete).
- Implemented ScsiPortGetVirtualAddress().

svn path=/trunk/; revision=5994
2003-09-05 15:05:52 +00:00
Eric Kohl
7070f0804a Copy .nls files without renaming them. Bochs users can use DOS and Loadros or FreeLoader to boot ReactOS.
svn path=/trunk/; revision=5993
2003-09-05 15:03:38 +00:00
Eric Kohl
8cfd3cac0b Implemented ScsiPortGetUncachedExtension().
svn path=/trunk/; revision=5992
2003-09-05 11:48:03 +00:00
Vizzini
b078e28da7 returned debug level to MIN_TRACE
svn path=/trunk/; revision=5991
2003-09-05 06:25:44 +00:00
Vizzini
aa20c8ca0e several new APIs courtesy of Royce3
svn path=/trunk/; revision=5990
2003-09-05 06:18:26 +00:00
Vizzini
1a6db07631 re-worked ndis to do device detection from a win2k-style registry enum database, added debugging aids, commented, began to stub support for deserialized miniports
svn path=/trunk/; revision=5989
2003-09-05 05:44:53 +00:00
Vizzini
2ef78d9833 switched to mapped port i/o from immediate i/o, having solved the port mapping problem in ndis
svn path=/trunk/; revision=5988
2003-09-05 05:40:42 +00:00
Vizzini
3f8dab56a1 registry format change for new ndis device detection
svn path=/trunk/; revision=5987
2003-09-05 05:39:43 +00:00
Vizzini
646d02c426 orphan adapter list
svn path=/trunk/; revision=5986
2003-09-05 02:29:07 +00:00
Vizzini
1683474c77 fix broken build
svn path=/trunk/; revision=5985
2003-09-05 01:59:30 +00:00
Eric Kohl
9d8179a6c8 - Implemented LUN-Extensions.
- Moved Inquiry-Data from Port-Extension to LUN-Extensions.

svn path=/trunk/; revision=5984
2003-09-04 23:33:55 +00:00
Emanuele Aliberti
a7793b4ec9 Simple Win32 caption clock.
It exposes a bug possibly in win32k.sys which causes a system crash.

svn path=/trunk/; revision=5983
2003-09-04 21:33:11 +00:00
Vizzini
7377c5fe18 missed one
svn path=/trunk/; revision=5982
2003-09-04 16:52:10 +00:00
Eric Kohl
74ef9cda04 Search for all logical units (LUNs) of a SCSI target.
svn path=/trunk/; revision=5981
2003-09-04 11:30:42 +00:00
Vizzini
4517f7f992 added NdisMAllocateSharedMemory and NdisMFreeSharedMemory and fixed a couple minor bugs
svn path=/trunk/; revision=5980
2003-09-04 07:01:51 +00:00
Vizzini
dc354a8e32 implemented NdisMAllocateMapRegisters, NdisMFreeMapRegisters, NdisMQueryMapRegisterCount, and NdisMRegisterIoPortRange
svn path=/trunk/; revision=5979
2003-09-04 06:59:48 +00:00
Vizzini
f82864342a added object and added -Wall
svn path=/trunk/; revision=5978
2003-09-04 06:55:21 +00:00
Vizzini
7f9734c8df couple of new data structs and changes to LOGICAL_ADAPTER struct for resource tracking, dma, etc.
svn path=/trunk/; revision=5977
2003-09-04 06:53:31 +00:00
Vizzini
ce2f631b26 implemented NdisMPciAssignResources and fixed several string length bugs
svn path=/trunk/; revision=5976
2003-09-04 06:51:31 +00:00
Vizzini
0e0fac5636 fixed a potential 0-pointer deref
svn path=/trunk/; revision=5975
2003-09-04 06:47:37 +00:00
Vizzini
f0496db9c5 implemented HalAllocateCommonBuffer
svn path=/trunk/; revision=5974
2003-09-04 06:45:38 +00:00
Vizzini
02ee3e3600 fixed RtlUnicodeStringToInteger
svn path=/trunk/; revision=5973
2003-09-04 06:41:35 +00:00
Vizzini
908c5df187 added NdisRawXXX prototypes and moved callback function prototypes to stdcall
svn path=/trunk/; revision=5972
2003-09-04 06:35:20 +00:00
Vizzini
a26b8ceda1 nic enumerator
svn path=/trunk/; revision=5971
2003-09-04 01:45:42 +00:00
Vizzini
8a5da02367 started pcnet driver - incomplete but builds and loads
svn path=/trunk/; revision=5970
2003-09-03 23:59:56 +00:00
Eric Kohl
fef7f78541 Implemented device enumeration in QueryDosDeviceW().
svn path=/trunk/; revision=5969
2003-09-03 22:28:40 +00:00
Eric Kohl
89fc578c5f Fixed signature of [Nt/Zw]QueryDirectoryObject().
svn path=/trunk/; revision=5968
2003-09-03 20:16:06 +00:00
Eric Kohl
a1f144f35b Implemented/fixed QueryDosDevice[A/W].
svn path=/trunk/; revision=5967
2003-09-03 16:16:04 +00:00
Eric Kohl
c9313c9b83 Fixed bugs in NtQuerySymbolicLinkObject():
- fixed returned length and status

svn path=/trunk/; revision=5966
2003-09-03 15:12:16 +00:00
Eric Kohl
1aace81264 - Fixed calculation of the number of FAT sectors.
- Write disk label as Oem string.
- Moved hidden sector hack to vfatlib.c

svn path=/trunk/; revision=5965
2003-09-03 10:06:39 +00:00
Eric Kohl
dc6fc3e540 Export missing FreeOemString().
svn path=/trunk/; revision=5964
2003-09-03 10:03:50 +00:00
Martin Fuchs
3205402fac print KERNEL_VERSION_STR
svn path=/trunk/; revision=5963
2003-09-02 21:23:47 +00:00
Emanuele Aliberti
190fc39af4 HALx86: minor cleanup and internal calling convention changes in display functions.
svn path=/trunk/; revision=5962
2003-09-02 20:11:43 +00:00
Hartmut Birr
ed80957cfc - Don't put the digits strings on the stack.
svn path=/trunk/; revision=5961
2003-09-02 18:19:41 +00:00
Eric Kohl
14dfbc088a Added some splay-tree functions.
svn path=/trunk/; revision=5960
2003-09-02 13:18:22 +00:00
Eric Kohl
e3b6ff8479 Added some splay-tree functions.
svn path=/trunk/; revision=5959
2003-09-02 11:21:59 +00:00
Eric Kohl
f6ee216aae Added some splay-tree functions.
svn path=/trunk/; revision=5958
2003-09-02 11:14:15 +00:00
Eric Kohl
ed2e90a9e8 Implemented creation of simple cabinet files (one file per cabinet).
svn path=/trunk/; revision=5957
2003-09-01 15:43:25 +00:00
Eric Kohl
3882add234 The used FAT-type (FAT12/FAT16/FAT32) depends on the volume size, not on the partition type.
svn path=/trunk/; revision=5956
2003-09-01 13:15:42 +00:00
Steven Edwards
f61bbf368c Merge richedit.dll with Winehq. 8-31-03.
Ported by Filip Navara.

svn path=/trunk/; revision=5955
2003-08-31 21:33:32 +00:00
Richard Campbell
c49c4f3c5e - size of the close bitmap is now 16x14, i'd like to convert this to an icon like it's supposed to be, do we have icon support yet?
svn path=/trunk/; revision=5954
2003-08-31 14:25:28 +00:00
Gé van Geldorp
13dddecf2d Check hDC handle is valid before accessing its data
svn path=/trunk/; revision=5953
2003-08-31 13:24:38 +00:00
Martin Fuchs
7c9e70178a Wine workaround for displaying the desktop bar
svn path=/trunk/; revision=5952
2003-08-31 12:37:43 +00:00
Gé van Geldorp
cbd7a663c8 More bitmap format translation bugs
svn path=/trunk/; revision=5951
2003-08-31 10:20:33 +00:00
Gé van Geldorp
f62b36b0f1 - Fix various bitmap format translation bugs
- Fix some palette issues
- Fix some gdiobj locking warnings

svn path=/trunk/; revision=5950
2003-08-31 07:56:24 +00:00
nj
e9170f21ca Version 0.1.3
svn path=/trunk/; revision=5948
2003-08-30 22:14:42 +00:00
Martin Fuchs
d347dec099 Wine cleanup
svn path=/trunk/; revision=5947
2003-08-30 21:05:22 +00:00
Martin Fuchs
c2a5e8e44e compatibility to building as Winelib application
svn path=/trunk/; revision=5946
2003-08-30 20:48:21 +00:00
Casper Hornstrup
d88ab5ba6e Readd bootimage.bmp in binary mode.
svn path=/trunk/; revision=5945
2003-08-30 20:09:45 +00:00
Casper Hornstrup
283cd3b65a Readd bootimage.bmp in binary mode.
svn path=/trunk/; revision=5944
2003-08-30 20:07:09 +00:00
Casper Hornstrup
5e27514ba7 2003-08-30 Filip Navara <xnavara@volny.cz>
* tools/cabman/cabinet.cxx (CCabinet::ConvertPath): NULL-terminate
	newpath.

svn path=/trunk/; revision=5943
2003-08-30 19:22:32 +00:00
Thomas Bluemel
653c134ed1 some fixes on MessageBox code
svn path=/trunk/; revision=5942
2003-08-30 18:38:08 +00:00
Steven Edwards
449c82d834 Added stubs to iphlpapi that are needed by netapi32.
svn path=/trunk/; revision=5941
2003-08-30 15:27:42 +00:00
Richard Campbell
e388dadfac replaced tab with 2 spaces.
svn path=/trunk/; revision=5940
2003-08-30 15:09:46 +00:00
Richard Campbell
a18c29c6fb - Removed the loop from UNIMPLEMENTED and changed the text a bit
svn path=/trunk/; revision=5939
2003-08-30 15:04:34 +00:00
Hartmut Birr
335e8718f7 - Reference/dereference the parent key in CmiObjectDelete.
The call to CmiRemoveKeyFromList does dereference the parent and
  it is possible that the parent key is deleted before the
  subkey delete process is complete.

svn path=/trunk/; revision=5938
2003-08-30 14:51:05 +00:00
Hartmut Birr
5a6cf4163c - Use the parents registry hive if the parent is accessed in CmiRemoveSubKey.
svn path=/trunk/; revision=5937
2003-08-30 14:50:23 +00:00
Hartmut Birr
72bb12e96c - Allocate a separate name buffer in RtlQueryRegistryValues.
- Fixed a name parameter in a call to the callers supplied query routine.

svn path=/trunk/; revision=5936
2003-08-30 14:49:41 +00:00
Hartmut Birr
ee8ef2cacf - Fixed the enumeration of subkeys for which doesn't exist a hash entry.
- Fixed the enumeration of the length of all sub key and class names.

svn path=/trunk/; revision=5935
2003-08-30 14:49:03 +00:00
Hartmut Birr
249cdd634d - Copied some changes from wine tree.
svn path=/trunk/; revision=5934
2003-08-30 14:48:07 +00:00
Hartmut Birr
e1a7ba7e86 - Changed the attributes in all calls to NtOpenKey from KEY_ALL_ACCESS to MAXIMUM_ALLOWED.
- Fixed in some function the length of the allocated buffer and the returned values.
  The Ntxxx functions doesn't return a zero terminator for strings.

svn path=/trunk/; revision=5933
2003-08-30 14:46:29 +00:00
Eric Kohl
45d8282507 Reset last error before moving the file pointer.
svn path=/trunk/; revision=5932
2003-08-30 13:32:52 +00:00
Martin Fuchs
b69868a964 WINE build compatibility
svn path=/trunk/; revision=5931
2003-08-30 11:30:18 +00:00
Casper Hornstrup
2566f13f3e 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/rmkdir.c: Fix for absolute paths.

svn path=/trunk/; revision=5930
2003-08-30 00:59:11 +00:00
Casper Hornstrup
b6a3594f0e 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/rmkdir.c: Create all (sub)directories in path on win32.

svn path=/trunk/; revision=5929
2003-08-29 23:32:56 +00:00
Richard Campbell
8d9c42a241 Added vera fonts.
svn path=/trunk/; revision=5928
2003-08-29 23:08:10 +00:00
Casper Hornstrup
b80c0dd41c 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
* bootdata/packages/reactos.dff: Don't include winmm.dll in reactos.cab.

svn path=/trunk/; revision=5927
2003-08-29 22:56:18 +00:00
Richard Campbell
c87861cbec Use Vera instead of helmet for drawing menus, button captions, etc. Please note i wasn't able to TEST this patch but there is no possible way it doesn't work.
svn path=/trunk/; revision=5926
2003-08-29 21:53:50 +00:00
David Welch
88cdb96043 - Fix from art: use the region protection for faulted in pages.
svn path=/trunk/; revision=5925
2003-08-29 21:23:06 +00:00
David Welch
eebe1ed001 - Removed test code.
svn path=/trunk/; revision=5924
2003-08-29 21:22:24 +00:00
Thomas Bluemel
b8025b214f modified MsqTranslateMouseMessage() for Double clicks
svn path=/trunk/; revision=5922
2003-08-29 19:17:32 +00:00
Casper Hornstrup
37f50a72e5 2003-08-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Copy freeloader files to bootable CD.

svn path=/trunk/; revision=5921
2003-08-29 18:59:29 +00:00
Casper Hornstrup
e0351c91f1 - Add top-level makefile
- Add fdebug/.cvsignore
- Don't use rdel to remove files in tools/Makefile
- Remove warning in freeldr/mm/meminit.c

svn path=/trunk/; revision=5920
2003-08-29 18:54:17 +00:00
Martin Fuchs
5b3f0e0806 Now we handle start menu popups via StartMenuRoot::TrackStartmenu().
svn path=/trunk/; revision=5919
2003-08-29 14:52:57 +00:00
Gé van Geldorp
5db07c0a15 Fixed NtGdiCreateCompatableDC()
svn path=/trunk/; revision=5918
2003-08-29 12:28:24 +00:00
Eric Kohl
b4b3b303fe Keep users from deleting partitions in special cases that will damage partition tables.
svn path=/trunk/; revision=5917
2003-08-29 11:27:16 +00:00
Gé van Geldorp
5348dfac81 Allocate space for terminating NUL of window text
svn path=/trunk/; revision=5916
2003-08-29 11:00:19 +00:00
Martin Fuchs
ed65784cec multithreading for class Window; usage of window map insted of GWL_USERDATA
svn path=/trunk/; revision=5915
2003-08-29 10:35:37 +00:00
Gé van Geldorp
9665ee6bdb Handle non-nul terminated strings
svn path=/trunk/; revision=5914
2003-08-29 10:20:53 +00:00
Gé van Geldorp
3c1664946f Fix warning
svn path=/trunk/; revision=5913
2003-08-29 09:34:52 +00:00
Gé van Geldorp
6f5012a900 Various fixes by Filip Navara
svn path=/trunk/; revision=5912
2003-08-29 09:29:11 +00:00
Thomas Bluemel
12c2e7f892 fixed the definition of User32SetupDefaultCursors()
svn path=/trunk/; revision=5911
2003-08-29 08:46:20 +00:00
Thomas Bluemel
502394d4ce 1.added callback routine for loading system cursors after switching to gui (not implemented so far)
2.added CopyCursor() which didn't exist as yet

svn path=/trunk/; revision=5910
2003-08-29 00:24:42 +00:00
Gé van Geldorp
62a4b07158 Fix ellipsis in e.g. window captions
svn path=/trunk/; revision=5909
2003-08-28 21:40:26 +00:00
Emanuele Aliberti
24315e0593 PSX: POSIXW32: I updated a note about creating a PSX process from W32.
svn path=/trunk/; revision=5908
2003-08-28 20:01:23 +00:00
Martin Fuchs
1eea5d2dac set TTN_ALWAYS for quicklaunch icons
svn path=/trunk/; revision=5907
2003-08-28 19:59:14 +00:00
Gé van Geldorp
eee0086bc9 Serial mouse driver rewrite by Filip Navara
svn path=/trunk/; revision=5906
2003-08-28 19:44:00 +00:00
Gé van Geldorp
d6a2479e6a Fix PolyPolygon and PolyPolyline (patch by Jonathan Wilson)
svn path=/trunk/; revision=5905
2003-08-28 19:41:37 +00:00
Martin Fuchs
34a1adfed2 Implemented control panel window in cabinet view mode.
svn path=/trunk/; revision=5904
2003-08-28 19:38:17 +00:00
Gé van Geldorp
c954ec53c5 Stubs for newer functions (patch by Jonathan Wilson)
svn path=/trunk/; revision=5903
2003-08-28 19:37:00 +00:00
Gé van Geldorp
31393a210e Implement LZ functions (patch by Jonathan Wilson)
svn path=/trunk/; revision=5902
2003-08-28 19:34:10 +00:00
Gé van Geldorp
8975cb766b Cleaned up too much.... Sorry
svn path=/trunk/; revision=5901
2003-08-28 19:24:28 +00:00
Martin Fuchs
d1a58a026b Implemented control panel window in cabinet view mode.
svn path=/trunk/; revision=5900
2003-08-28 19:13:48 +00:00
Thomas Bluemel
7a0c1b40d1 1. implemented GetDoubleClickTime() and SetDoubleClickTime()
2. implemented SM_CXDOUBLECLK, SM_CYDOUBLECLK and SM_SWAPBUTTON for GetSystemMetrics()
3. implemented NtUserSystemParametersInfo() partially
4. implemented SPI_SETDOUBLECLKWIDTH, SPI_SETDOUBLECLKHEIGHT and SPI_SETDOUBLECLICKTIME for SystemParametersInfo()

svn path=/trunk/; revision=5899
2003-08-28 18:04:59 +00:00
Thomas Bluemel
303749022b implemented support for double clicks
svn path=/trunk/; revision=5898
2003-08-28 16:33:22 +00:00
Thomas Bluemel
9719db631e implemented SwapMouseButton()
svn path=/trunk/; revision=5897
2003-08-28 14:22:05 +00:00
Martin Fuchs
6381c3ac66 Implemented control panel window in cabinet view mode.
svn path=/trunk/; revision=5896
2003-08-28 14:20:05 +00:00
Gé van Geldorp
063d8646a9 .cvsignore maintenance
svn path=/trunk/; revision=5895
2003-08-28 14:00:22 +00:00
Gé van Geldorp
3a922d8d38 Fix double locking of DC
svn path=/trunk/; revision=5894
2003-08-28 13:50:49 +00:00
Gé van Geldorp
e9b3a79c09 Silence debug messages
svn path=/trunk/; revision=5893
2003-08-28 13:38:24 +00:00
Gé van Geldorp
4ab5d75768 Create palette handles as gdiobj handles which can be used by usermode
svn path=/trunk/; revision=5892
2003-08-28 12:35:59 +00:00
Thomas Bluemel
1847e2839e implemented drawing menu bar
svn path=/trunk/; revision=5891
2003-08-28 10:39:44 +00:00
Martin Fuchs
926aaa42ea control panel start entry
svn path=/trunk/; revision=5890
2003-08-28 08:19:50 +00:00
Thomas Bluemel
9cfd31e787 changed menu code to use UNICODE_STRING
svn path=/trunk/; revision=5889
2003-08-27 22:58:12 +00:00
David Welch
22f4e1ae9e - Forgot these two files.
svn path=/trunk/; revision=5888
2003-08-27 21:30:37 +00:00
David Welch
9231f7b9a2 - Added support for crash dumps:-
* Recognize the option /CRASHDUMP on the kernel command line to specify
the type of dump desired.
* Added a new driver (diskdump) which wraps the miniport for the disk
containing the pagefile and does the crash dump i/o.
* Added a FSCTL to get the mapping between LCNs and disk offsets so
crash dumps don't need to go through the filesystem.

svn path=/trunk/; revision=5887
2003-08-27 21:28:08 +00:00
David Welch
1d47b45a53 - Removed kernel private includes.
svn path=/trunk/; revision=5886
2003-08-27 21:21:59 +00:00
Martin Fuchs
49f689ef95 partly implemented control panel window
svn path=/trunk/; revision=5885
2003-08-27 21:07:33 +00:00
David Welch
f97528ca2d - Added .cvsignore file.
svn path=/trunk/; revision=5884
2003-08-27 20:59:35 +00:00
David Welch
9768ea066d - Fix for completion of file system control IRPs.
svn path=/trunk/; revision=5883
2003-08-27 20:57:09 +00:00
David Welch
927f2ae503 - Implement backspace control code in hal output.
svn path=/trunk/; revision=5882
2003-08-27 20:56:26 +00:00
Martin Fuchs
e092af6dee clock tool tips
svn path=/trunk/; revision=5881
2003-08-27 15:52:03 +00:00
Martin Fuchs
3bd933579b idea-update
svn path=/trunk/; revision=5880
2003-08-27 15:47:53 +00:00
Martin Fuchs
44eb89d031 Implemented launching of date/time control panel applet
svn path=/trunk/; revision=5879
2003-08-27 10:00:26 +00:00
Steven Edwards
8a964fafb7 New header from WINE for regression test suite.
svn path=/trunk/; revision=5878
2003-08-27 05:09:58 +00:00
Steven Edwards
c4f4234af6 Did some work implementing rpcrt4.dll so we can make use of the UUID
creation functions for other dlls we need to port. The other 90% of wines
rpc client and server code wont compile but this should be all we need for
a while.

Added regression test.

svn path=/trunk/; revision=5877
2003-08-27 05:07:19 +00:00
Steven Edwards
bac8e6e44e Imported imm32.dll from Winehq CVS 8-26-03
Needed for OpenOffice. (No it wont work yet.)

svn path=/trunk/; revision=5876
2003-08-27 03:11:40 +00:00
Martin Fuchs
2d0cf5cb61 Implemented Tooltip Popup for Clock to display current date
svn path=/trunk/; revision=5875
2003-08-26 22:37:20 +00:00
Thomas Bluemel
51b70de9b7 1. finally fixed handling the WM_MOUSEMOVE messages, credits go to Royce :)
2. Now passing cursor's hotspot position to SetPointerShape

svn path=/trunk/; revision=5874
2003-08-26 19:26:02 +00:00
Martin Fuchs
d239b6fbb7 added hostobjs dir to .cvsignore
svn path=/trunk/; revision=5873
2003-08-26 17:56:22 +00:00
David Welch
698ab100bb - Fixed slashes.
svn path=/trunk/; revision=5872
2003-08-26 16:36:33 +00:00
Martin Fuchs
5207a6524e Implemented Search and Shut Down in startmenu by calling undocumentd shell32 fucntions
svn path=/trunk/; revision=5871
2003-08-26 15:51:17 +00:00
Steven Edwards
93082694f4 end of line fix
svn path=/trunk/; revision=5870
2003-08-26 14:17:01 +00:00
Richard Campbell
9efc96ea08 - Figured i'd go ahead and commit these changes...reduces the cludge that is shell32.dll under ROS. Still needs ALOT of work (which i actually plan on doing :) )
svn path=/trunk/; revision=5869
2003-08-26 13:44:12 +00:00
David Welch
4825f80147 - Add the boot video driver to the system hive.
svn path=/trunk/; revision=5868
2003-08-26 12:48:47 +00:00
Thomas Bluemel
7e89d485f3 big patch by Jonathon Wilson for GDI32 & related stuff
changes are:
1.add some new functions to ascii.h and unicode.h
2.add some definitions to base.h
3.add a bunch of functions to funcs.h
4.add a few structures to structs.h
5.add definitions for some missing stuff to winddi.h
6.general fixes and updates to structures and definitions in winddi.h
7.add some other structures and definitions to winddi.h
8.add some Engxxx functions to winddi.h
9.a small fix in crtdll.def
10.add all the new defs to gdi32.def and gdi32.edf
11.add all the new stubs to gdi32 stubs.c
12.implement PolyPolygon and PolyPolyline
13.some fixes to msafd.def/msafd.edf
14.change WahCloseNotificationHelper to WahCloseNotificationHandleHelper in ws2help to match the microsoft definition
15.add d3d.h, d3dcaps.h, d3dtypes.h, ddraw.h, d3dhal.h, ddrawi.h to include and include\ddk (needed for the GdiEntryxx and DdEntryxx functions in gdi32.dll). Headers are modified versions of those from WINE (stuff removed that wont compile without OLE headers, some stuff added)
16.add ddentry.h which is used with the DdEntry and GdiEntry functions
and 17.fix some stuff in stubs.c of win32k

A fair few of these definitions could be wrong (some of them are educated guesses, like some of the Gdixxx functions)
If anyone has any corrections, any answers for the FIXMEs and structures I dont have definitions for, definitions for the remaining stuff in gdi32.def with a ; in front of it or whatever, do let me know.
Or if anyone wants to comment about my changes, please let me know.

svn path=/trunk/; revision=5867
2003-08-26 12:28:53 +00:00
Thomas Bluemel
0a74c43706 due to reports in the mailing list i fixed this file
svn path=/trunk/; revision=5866
2003-08-26 09:18:26 +00:00
Thomas Bluemel
692a8afd47 fixed a bug crashing the kernel when moving the cursor while returning to the console
svn path=/trunk/; revision=5865
2003-08-26 00:33:53 +00:00
Thomas Bluemel
a38845b010 disabled new code...
svn path=/trunk/; revision=5864
2003-08-26 00:06:16 +00:00
Steven Edwards
2832cd4e05 Added make and install for cards.dll
svn path=/trunk/; revision=5863
2003-08-25 23:56:58 +00:00
Thomas Bluemel
044494cbcd fixed a few bugs in MsqInsertSystemMessage() and improved moving mouse cursor
svn path=/trunk/; revision=5862
2003-08-25 23:55:46 +00:00
Steven Edwards
877b6f0c22 Forgot this
svn path=/trunk/; revision=5861
2003-08-25 23:41:55 +00:00
Steven Edwards
f4722f2cd8 Added cards.dll by Filip Navara with some minor changes I had to make
to merge with winehq.

svn path=/trunk/; revision=5860
2003-08-25 23:35:36 +00:00
Richard Campbell
5d01a60b97 - Solitaire now works partially, patch by Filip Navara
svn path=/trunk/; revision=5859
2003-08-25 23:24:03 +00:00
Andrew Greenwood
2721685576 * This is a TEMPORARY commit of some WINMM stubs to get comctl32 to compile, as requested by Steven. I am going to continue working on porting this over from WINE, but won't commit my changes until it compiles and links properly.
svn path=/trunk/; revision=5858
2003-08-25 22:41:26 +00:00
David Welch
5265ea1787 - Patch from Art Yerkes: return access violation on PAGE_NOACCESS memory.
svn path=/trunk/; revision=5857
2003-08-25 19:26:10 +00:00
Hartmut Birr
238889e049 - The pool lock should be acquired before any tests start (pool verify or red zone test).
svn path=/trunk/; revision=5856
2003-08-25 18:51:50 +00:00
Hartmut Birr
54867f2910 - Fixed a buffer overflow.
svn path=/trunk/; revision=5855
2003-08-25 18:24:20 +00:00
Martin Fuchs
cd92a2363b calculate taskbar size
svn path=/trunk/; revision=5854
2003-08-25 17:01:38 +00:00
Thomas Bluemel
15ccb1b4be fixed MsqInsertSystemMessage()
svn path=/trunk/; revision=5853
2003-08-25 14:54:06 +00:00
Thomas Bluemel
9acc460ae1 modified MsqInsertSystemMessage() so it prevents the system message queue from having more than one WM_MOUSEMOVE message. This should improve moving windows and reduce sending unnecessary WM_MOUSEMOVE messages to applications
svn path=/trunk/; revision=5852
2003-08-25 14:26:30 +00:00
Martin Fuchs
7b2f150c3c moved explorer.lst ti winefile dir
svn path=/trunk/; revision=5851
2003-08-25 13:54:10 +00:00
David Welch
c702fb192b - Only set up the registers that are needed for fading in the palette.
Fixes compatibility problems.

svn path=/trunk/; revision=5850
2003-08-25 12:27:45 +00:00
David Welch
0fb5176276 - Fixed DAC mask register definition.
svn path=/trunk/; revision=5849
2003-08-25 12:26:50 +00:00
Eric Kohl
aa839bb4ed Removed trailing newline. This could have caused some trouble.
svn path=/trunk/; revision=5848
2003-08-25 12:06:29 +00:00
Eric Kohl
f9d13d1819 Disabled two debug messages.
svn path=/trunk/; revision=5847
2003-08-25 11:57:22 +00:00
Eric Kohl
d84b0927cd Changed file system decision as per Brian Palmers suggestion.
Prepare check for valid bootsectors.

svn path=/trunk/; revision=5846
2003-08-25 11:56:07 +00:00
Martin Fuchs
aee5772252 todo update
svn path=/trunk/; revision=5845
2003-08-25 09:33:24 +00:00
Hartmut Birr
17ad3ee0db - Include roscfg.h previous all other header files.
svn path=/trunk/; revision=5844
2003-08-25 09:17:12 +00:00
Hartmut Birr
d09b29c3e8 - Check always the irq trapframe's cs before delivering an user mode apc.
- Copy the irq trap frame only for apc's.

svn path=/trunk/; revision=5843
2003-08-25 09:14:09 +00:00
Steven Edwards
78b253a811 Converted some C++ comment to C style comments
svn path=/trunk/; revision=5842
2003-08-25 01:37:48 +00:00
Thomas Bluemel
94053da414 fixed a bug in NtUserClipCursor()
svn path=/trunk/; revision=5841
2003-08-25 00:51:11 +00:00
Thomas Bluemel
862a1d3afe fixed a bug that caused the mouse cursor drawing incorrectly
svn path=/trunk/; revision=5840
2003-08-25 00:28:23 +00:00
Thomas Bluemel
94b7020933 fixed bugs and completed SetCursorPos() and ClipCursor()
svn path=/trunk/; revision=5839
2003-08-24 23:52:29 +00:00
Aleksey Bragin
35a75878d6 Fixing some obvious bugs in NtGdiRealizePalette (mentioned in the email to ros-kernel list)
svn path=/trunk/; revision=5838
2003-08-24 21:45:40 +00:00
Gé van Geldorp
259639183e BuildDIBPalette fix by Filip Navara
svn path=/trunk/; revision=5837
2003-08-24 20:58:09 +00:00
David Welch
d7e545ac33 - Added in some code from XFree86 to save the vga state on the startup
and restore it on a bugcheck.

svn path=/trunk/; revision=5836
2003-08-24 20:56:16 +00:00
Martin Fuchs
5d476a06de changes-update
svn path=/trunk/; revision=5835
2003-08-24 20:27:38 +00:00
Martin Fuchs
5ccd500de1 Added romanian translation of Ciobanu Alexander.
svn path=/trunk/; revision=5834
2003-08-24 20:19:38 +00:00
Thomas Bluemel
80f8d37b53 implemented SetCursorPos() and GetCursorPos() and changes in the win32k mouse driver callback
svn path=/trunk/; revision=5833
2003-08-24 18:52:18 +00:00
Eric Kohl
096203e6dc - xHalIoReadPartitionTable() returns proper HiddenSector values.
- Disabled some debug messgages.

svn path=/trunk/; revision=5832
2003-08-24 18:07:45 +00:00
David Welch
e4259d3298 - Support 'in dx, eax'/'in imm, eax' in the v86 monitor. Fixes gui startup
on my Radeon 9000.

svn path=/trunk/; revision=5831
2003-08-24 17:22:27 +00:00
Gé van Geldorp
c157c95deb - Improve repainting after a window move
- Move child windows if their parent is moved

svn path=/trunk/; revision=5830
2003-08-24 16:20:30 +00:00
Eric Kohl
c466a4450e Added FAT12 support.
Create random volume serial numbers.

svn path=/trunk/; revision=5829
2003-08-24 16:15:31 +00:00
Hartmut Birr
26532ec2d6 - Fixed the check for printable ascii characters.
svn path=/trunk/; revision=5828
2003-08-24 16:02:52 +00:00
David Welch
9cb40ad0da - Fixed typo in SetUnhandledExceptionFilter
svn path=/trunk/; revision=5827
2003-08-24 14:49:55 +00:00
Martin Fuchs
becf23850d Added logo in start menu.
svn path=/trunk/; revision=5826
2003-08-24 13:53:40 +00:00
Martin Fuchs
eed9914cd8 added shellclasses example project
svn path=/trunk/; revision=5825
2003-08-24 13:51:11 +00:00
Martin Fuchs
fc0152a86e added VC file patterns
svn path=/trunk/; revision=5824
2003-08-24 12:27:22 +00:00
Martin Fuchs
dc72d671b1 moved plugin source from taskbar directory to winefile/plugins
svn path=/trunk/; revision=5823
2003-08-24 12:24:03 +00:00
Martin Fuchs
d5cc3b7cb3 moved plugin source from taskbar directory to winefile/plugins
svn path=/trunk/; revision=5822
2003-08-24 12:22:14 +00:00
Martin Fuchs
86c2f8cff6 added comments
svn path=/trunk/; revision=5821
2003-08-24 12:20:38 +00:00
Martin Fuchs
72898415e4 checked in shellhook source code as backup
svn path=/trunk/; revision=5820
2003-08-24 12:20:20 +00:00
David Welch
26c230dd5a - Moved boot video support to a seperate driver.
svn path=/trunk/; revision=5819
2003-08-24 12:11:13 +00:00
David Welch
d75ef2bebd - Move bootvideo support for a seperate driver.
- Use the normal HalAcquire/ReleaseDisplayOwnership mechanism to reset the
display if a bugcheck occurs while the bootimage is displayed.

svn path=/trunk/; revision=5818
2003-08-24 12:08:16 +00:00
David Welch
d2c4219caf - Support for resetting the display mode on a bug check.
svn path=/trunk/; revision=5817
2003-08-24 11:58:16 +00:00
David Welch
1c8b6bc99e - Fill in the DriverBase and DriverSize fields in the DRIVER_OBJECT structure.
svn path=/trunk/; revision=5816
2003-08-24 11:35:41 +00:00
David Welch
659245c76a - Calls the miniport's HwReset if the HAL reacquires display ownership;
don't do an int10.

svn path=/trunk/; revision=5815
2003-08-24 11:30:02 +00:00
David Welch
f85a8455cb - Return TRUE from HwInitialize
- Implement HwReset.

svn path=/trunk/; revision=5814
2003-08-24 11:28:09 +00:00
Casper Hornstrup
aa6c5c7738 2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Support creating compressed bootable CDs.
	* rules.mak (HOST_CXX, HOST_AR, CABMAN): Define.
	* bootdata/txtsetup.sif: Add Cabinets section.
	Remove files that are put in reactos.cab.
	* subsys/system/usetup/filequeue.c (SetupCloseFileQueue): Release
	memory allocated for SourceCabinet.
	(SetupQueueCopy): Support copying files in cabinets.
	(SetupCommitFileQueue): Support copying files in cabinets.
	* subsys/system/usetup/filequeue.h (SetupQueueCopy): Add SourceCabinet
	parameter.
	* subsys/system/usetup/filesup.c (SetupExtractFile): New function.
	* subsys/system/usetup/filesup.h (SetupExtractFile): Prototype.
	* subsys/system/usetup/infcache.c (InfOpenBufferedFile): New function.
	* subsys/system/usetup/infcache.h (InfOpenBufferedFile): Prototype.
	* subsys/system/usetup/makefile (TARGET_SDKLIBS): Add zlib.a.
	(TARGET_CFLAGS): Add zlib to include path.
	(TARGET_OBJECTS): Add cabinet.o.
	* subsys/system/usetup/usetup.c (PrepareCopyPageInfFile): New function.
	(PrepareCopyPage): Process Cabinets section.
	* tools/helper.mk: Support C++ applications.
	* rosbin.txt: Remove.
	* bootdata/packages: New directory.
	* bootdata/packages/reactos.dff: New file.
	* lib/zlib/Makefile.host: New file.
	* subsys/system/usetup/cabinet.c: Ditto.
	* subsys/system/usetup/cabinet.h: Ditto.
	* tools/cabman: New directory.
	* tools/cabman/.cvsignore: New file.
	* tools/cabman/cabinet.cxx: Ditto.
	* tools/cabman/cabinet.h: Ditto.
	* tools/cabman/cabman.h: Ditto.
	* tools/cabman/dff.txt: Ditto.
	* tools/cabman/dfp.cxx: Ditto.
	* tools/cabman/dfp.h: Ditto.
	* tools/cabman/main.cxx: Ditto.
	* tools/cabman/makefile: Ditto.
	* tools/cabman/makefile.win32: Ditto.
	* tools/cabman/mszip.cxx: Ditto.
	* tools/cabman/mszip.h: Ditto.
	* tools/cabman/raw.cxx: Ditto.
	* tools/cabman/raw.h: Ditto.

svn path=/trunk/; revision=5813
2003-08-24 10:36:07 +00:00
Casper Hornstrup
a60eb421a7 2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/structs.h: Apply packed attribute to the typedef, not the
	type's name.
	* include/ntos/keyboard.h: Ditto.
	* include/ntos/tss.h: Ditto.
	* include/win32k/cursoricon.h: Ditto.
	* include/win32k/math.h: Include the compiler's math.h for builtins.
	* ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Avoid warning when compiling using
	GCC 3.4.

svn path=/trunk/; revision=5812
2003-08-24 10:00:12 +00:00
Martin Fuchs
a7977a2a2d Implement CTRL+ESC shortcut for poping up start menu
svn path=/trunk/; revision=5811
2003-08-24 09:44:02 +00:00
Martin Fuchs
80069f0d59 moved externals.h into winefile directory
svn path=/trunk/; revision=5810
2003-08-24 09:43:56 +00:00
Thomas Bluemel
65e70b333c added missing icon file
svn path=/trunk/; revision=5809
2003-08-24 07:58:01 +00:00
Martin Fuchs
aa77f6df20 browse drives in start menu
svn path=/trunk/; revision=5808
2003-08-24 05:04:04 +00:00
Thomas Bluemel
53ee161d92 1. ClipCursor(), GetClipCursor() in user32
2. NtUserClipCursor() and NtUserGetClipCursor() in win32k
3. moved system cursor information to WINSTATION_OBJECT
4. modified win32k mousedriver callback routine for cursor clipping

svn path=/trunk/; revision=5807
2003-08-24 01:12:16 +00:00
Steven Edwards
f9212d48c5 Fixed new tests added .cvsignore files.
Sorry about that.

svn path=/trunk/; revision=5806
2003-08-23 21:13:18 +00:00
Thomas Bluemel
7ef4a451c3 implemented NtUserGetIconSize()
svn path=/trunk/; revision=5805
2003-08-23 20:59:08 +00:00
Steven Edwards
a301bcf7df Updated patblt test and .cvsignore
svn path=/trunk/; revision=5804
2003-08-23 20:55:40 +00:00
Martin Fuchs
2de513433b work around for missing BTNS_NOPREFIX declaration in mingw commtrl.h
svn path=/trunk/; revision=5803
2003-08-23 19:52:15 +00:00
Martin Fuchs
ffa80e7e36 fixed create_absolute_pidl()
svn path=/trunk/; revision=5802
2003-08-23 19:48:37 +00:00
Martin Fuchs
20228bbf5d implemented context menus for task bar
svn path=/trunk/; revision=5801
2003-08-23 18:06:21 +00:00
Martin Fuchs
4d265e45f4 Implemented tool tips for quicklaunch bar.
svn path=/trunk/; revision=5800
2003-08-23 18:05:34 +00:00
Thomas Bluemel
05831e8a00 small changes
svn path=/trunk/; revision=5799
2003-08-23 17:06:07 +00:00
Thomas Bluemel
274ac97525 added icons
svn path=/trunk/; revision=5798
2003-08-23 16:50:58 +00:00
Casper Hornstrup
5f2c2b55be 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/tests/tcpsvr/tcpsvr.c (main): Fix multiline string constant.

svn path=/trunk/; revision=5797
2003-08-23 16:37:18 +00:00
Casper Hornstrup
2ef07b88f9 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/utils/stats/stats.c (ReadLine): Handle unix end-of-line characters.

svn path=/trunk/; revision=5796
2003-08-23 16:33:04 +00:00
Casper Hornstrup
4a3ede724b 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/tests/Makefile (TEST_APPS): Remove patblt and stretchblt
	as they break full make.

svn path=/trunk/; revision=5795
2003-08-23 16:30:49 +00:00
Martin Fuchs
3ff42008f4 improved error reporting for GCC version
svn path=/trunk/; revision=5794
2003-08-23 13:44:37 +00:00
Martin Fuchs
4fcd44e5eb removed warning for VS.Net compiler
svn path=/trunk/; revision=5793
2003-08-23 11:51:01 +00:00
Martin Fuchs
cb0cc914a1 added TODO entries
svn path=/trunk/; revision=5792
2003-08-23 10:59:20 +00:00
Martin Fuchs
b457e5103c fixed more memory and GDI handle leaks
svn path=/trunk/; revision=5791
2003-08-23 10:02:38 +00:00
Martin Fuchs
594afa2f55 fixed GDI handle leaks
svn path=/trunk/; revision=5790
2003-08-23 09:27:26 +00:00
Martin Fuchs
43fa5d1ab2 implemented 'run...' dialog by using shell32 functionality (taken from taskmgr/run.c)
svn path=/trunk/; revision=5789
2003-08-23 09:26:57 +00:00
Martin Fuchs
ea2e4b1c26 added .cvsignore
svn path=/trunk/; revision=5788
2003-08-23 07:53:54 +00:00
Steven Edwards
114ba86989 install new GDI tests
svn path=/trunk/; revision=5787
2003-08-23 07:00:35 +00:00
Steven Edwards
a38afaee02 Added new tests to build
svn path=/trunk/; revision=5786
2003-08-23 06:49:21 +00:00
Steven Edwards
bf3eb0bdde Fixed another demo
svn path=/trunk/; revision=5785
2003-08-23 06:48:35 +00:00
Steven Edwards
aceee42b0f Fix demo - for real this time
svn path=/trunk/; revision=5784
2003-08-23 06:43:54 +00:00
Steven Edwards
0c3c02ba8f Fix demo
svn path=/trunk/; revision=5783
2003-08-23 06:42:45 +00:00
Steven Edwards
5c77637a9b Added new scaled text demo from the Windows 2000 graphics API blackbook
svn path=/trunk/; revision=5782
2003-08-23 06:41:54 +00:00
Steven Edwards
90b7f43de7 Added new makefile for demo
svn path=/trunk/; revision=5781
2003-08-23 06:26:46 +00:00
Steven Edwards
121191e9e1 Set target type as Windows
svn path=/trunk/; revision=5780
2003-08-23 06:10:36 +00:00
Steven Edwards
65018e8631 Add winedbg.dll back
svn path=/trunk/; revision=5779
2003-08-23 05:06:34 +00:00
Steven Edwards
ed30599f45 Merge with Winehq to support w32api and MS_VC headers.
Add linking to winedbgc.dll

svn path=/trunk/; revision=5778
2003-08-22 23:36:27 +00:00
Steven Edwards
9c1b0dcc9f Make lzexpand use winedbg interface.
Merge latest changes with winehq CVS
reactos/subsys/system/expand should work now

svn path=/trunk/; revision=5777
2003-08-22 23:35:28 +00:00
Steven Edwards
62e998a88b Wine porting fixes
Patch by Filip Navara

svn path=/trunk/; revision=5776
2003-08-22 23:34:30 +00:00
Steven Edwards
1e60813c3c Updated winedbg.dll to support latest WINE dlls.
Patch by Filip Navara

svn path=/trunk/; revision=5775
2003-08-22 23:32:39 +00:00
Steven Edwards
7f4e557bf9 Removed sym file from CVS
svn path=/trunk/; revision=5774
2003-08-22 21:27:22 +00:00
Martin Fuchs
12b861a404 added quicklaunch bar
svn path=/trunk/; revision=5773
2003-08-22 21:16:58 +00:00
Martin Fuchs
0b414b7b38 fixed create_bitmap_from_icon()
svn path=/trunk/; revision=5772
2003-08-22 21:14:31 +00:00
Thomas Bluemel
7e8228e0c7 fixed GetIconInfo()
svn path=/trunk/; revision=5771
2003-08-22 20:50:44 +00:00
Martin Fuchs
764b078068 Implemented quick launch bar
svn path=/trunk/; revision=5770
2003-08-22 20:43:36 +00:00
Thomas Bluemel
c863a9d611 fixed a bug in LoadCursorImage()
svn path=/trunk/; revision=5769
2003-08-22 20:17:08 +00:00
Thomas Bluemel
aefd11c055 fixed a bug in LdrAccessResource(), it should abort when ResourceDataEntry == NULL
svn path=/trunk/; revision=5768
2003-08-22 20:00:39 +00:00
Hartmut Birr
130e0947f7 - Free the sub key table in CmiObjectDelete.
svn path=/trunk/; revision=5767
2003-08-22 19:22:19 +00:00
Thomas Bluemel
68cb54ddaf updated user32 resources
svn path=/trunk/; revision=5766
2003-08-22 19:14:01 +00:00
Gé van Geldorp
a15a37fcab Fix handling of invalid memory accesses by the stub
svn path=/trunk/; revision=5765
2003-08-22 18:46:40 +00:00
Thomas Bluemel
1aa98eb415 added 2 cursors
svn path=/trunk/; revision=5764
2003-08-22 18:42:45 +00:00
Martin Fuchs
ddcf08e7d2 double buffering
svn path=/trunk/; revision=5763
2003-08-22 18:25:48 +00:00
Thomas Bluemel
cc1e453ce3 updated cursor resources
svn path=/trunk/; revision=5762
2003-08-22 18:21:52 +00:00
Martin Fuchs
b60923167a NotifyArea::CancelModes()
svn path=/trunk/; revision=5761
2003-08-22 17:32:24 +00:00
Martin Fuchs
f45db7ba7a bugfix: focus handling in startmenu
svn path=/trunk/; revision=5760
2003-08-22 16:59:19 +00:00
Thomas Bluemel
e570fadda7 bugfixes for menus
svn path=/trunk/; revision=5759
2003-08-22 16:01:01 +00:00
Martin Fuchs
ef6eb3eb50 check for valid task icon owener windows
svn path=/trunk/; revision=5758
2003-08-22 15:30:30 +00:00
Martin Fuchs
c92a9be46a btntest.sym
svn path=/trunk/; revision=5757
2003-08-22 15:29:47 +00:00
Andrew Greenwood
7010fa377f * Started porting WINMM from WINE
* Defined __WINE_FOR_REACTOS__ and created internal.h, which defines a few things not already defined.

It compiles, but *will NOT* link, as I haven't finished porting yet. I'll continue hacking away at it.

svn path=/trunk/; revision=5756
2003-08-22 14:56:59 +00:00
Gé van Geldorp
a06a9da285 Prevent double screen output when GDB is active
svn path=/trunk/; revision=5755
2003-08-22 14:49:54 +00:00
Eric Kohl
8773b1104e Use FAT12 or FAT16 CHS for small partitions even if the drive supports LBA.
svn path=/trunk/; revision=5754
2003-08-22 13:55:36 +00:00
Emanuele Aliberti
b5984d7099 PSXDLL: RtlNtStatusToPsxErrno moved to PSX subsystem client library from NTDLL.
svn path=/trunk/; revision=5753
2003-08-22 13:55:15 +00:00
Eric Kohl
c07929b227 Moved FAT32 code to a sepatate file.
Added hack for HiddenSectors value. This is needed to boot FreeLoader.

svn path=/trunk/; revision=5752
2003-08-22 13:53:02 +00:00
Eric Kohl
b8eace220f Ignore junk data from ATA and ATAPI devices.
svn path=/trunk/; revision=5751
2003-08-22 13:50:39 +00:00
Emanuele Aliberti
c8ca03fbbf NTDLL: RtlNtStatusToPsxErrno moved to PSX subsystem client library.
svn path=/trunk/; revision=5750
2003-08-22 13:46:55 +00:00
Martin Fuchs
cd813d619c set work area size
svn path=/trunk/; revision=5749
2003-08-22 13:27:58 +00:00
Royce Mitchell III
5f5441389e C89 compatibility and fixed a pointer bug ( conferred with Thomas on his intensions first ).
svn path=/trunk/; revision=5748
2003-08-22 13:27:09 +00:00
Martin Fuchs
942ea1645e Implemented tray notification callback messages
svn path=/trunk/; revision=5747
2003-08-22 12:41:24 +00:00
Martin Fuchs
da38f35c6c Added tray notification area.
svn path=/trunk/; revision=5746
2003-08-22 09:50:41 +00:00
Martin Fuchs
78d7ed187a implemented clock display in tray notification area
svn path=/trunk/; revision=5745
2003-08-22 09:46:58 +00:00
Gé van Geldorp
9146491fcd Fix counting when going from bottom to top
svn path=/trunk/; revision=5744
2003-08-22 08:03:51 +00:00
Gé van Geldorp
adaa3d6de2 - Move CreateFrameBrushes() and DeleteFrameBrushes() to file where they are
actually used
- Only call them when needed
- Fix resource specification so CreateFrameBrushes() can actually find the
  bitmap it needs

svn path=/trunk/; revision=5743
2003-08-22 07:51:32 +00:00
Steven Edwards
c6066fbd1a Add guid generator by Jonathon Wilson
svn path=/trunk/; revision=5742
2003-08-22 07:26:41 +00:00
Martin Fuchs
74b969bb49 Removed commctrl.h to use the one of W32API headers.
svn path=/trunk/; revision=5741
2003-08-22 07:19:10 +00:00
Richard Campbell
de14bd7a54 - ewps, forgot to convert to 16 colors...interesting, loading 24 bitmaps from resources doesn't seem to work properly
svn path=/trunk/; revision=5740
2003-08-22 06:57:31 +00:00
Richard Campbell
01a760d4ec - obm_close update, i was bored and didn't feel like coding, i hate code burnout.
svn path=/trunk/; revision=5739
2003-08-22 06:33:22 +00:00
Steven Edwards
f6d8e666a9 Merged regedit from winehq cvs.
Moved to new home in reactos tree.
 - I know I said I was on vacation

svn path=/trunk/; revision=5738
2003-08-22 05:55:14 +00:00
Steven Edwards
cd80ac4da7 Add linking to libstdc++ for buggy gcc installs
svn path=/trunk/; revision=5737
2003-08-22 04:54:59 +00:00
Royce Mitchell III
897a184f5a C89 compatibility
svn path=/trunk/; revision=5736
2003-08-22 01:55:36 +00:00
Thomas Bluemel
8ad3e4af6d fixed MessageBeep()
svn path=/trunk/; revision=5735
2003-08-22 00:39:15 +00:00
Thomas Bluemel
91fbb3f0d8 fixed MessageBeep()
svn path=/trunk/; revision=5734
2003-08-22 00:37:36 +00:00
Thomas Bluemel
8b52facc15 unstubbed MessageBeep()
svn path=/trunk/; revision=5733
2003-08-22 00:33:47 +00:00
Thomas Bluemel
7b8304433e reorganized window.c
svn path=/trunk/; revision=5732
2003-08-21 23:07:40 +00:00
Hartmut Birr
b90ac7e87b - Fixed RtlLeaveCriticalSection and RtlTryEnterCriticalSection.
svn path=/trunk/; revision=5731
2003-08-21 22:40:18 +00:00
Thomas Bluemel
426e7567ba added @implemented/@unimplemented comments
svn path=/trunk/; revision=5730
2003-08-21 22:17:56 +00:00
Thomas Bluemel
6a048dddff work on system menus
svn path=/trunk/; revision=5729
2003-08-21 21:52:06 +00:00
Thomas Bluemel
2a0a6362e3 work on system menus
svn path=/trunk/; revision=5728
2003-08-21 20:29:44 +00:00
Gé van Geldorp
60e08b722e - Add Magic number back in
- Move all HANDLE_ENTRY fields into GDIOBJHDR (saves memory)

svn path=/trunk/; revision=5727
2003-08-21 20:16:55 +00:00
Gé van Geldorp
113ee4971a Don't free region if handle is special value 1 (whole window)
svn path=/trunk/; revision=5726
2003-08-21 20:14:45 +00:00
Martin Fuchs
61076e4c18 display icons in tray notification area
svn path=/trunk/; revision=5725
2003-08-21 19:24:30 +00:00
Martin Fuchs
afbf3c66b6 working start menu; beginning of tray notification area
Start menu popup is now closed when clicking in another window.

svn path=/trunk/; revision=5724
2003-08-21 17:11:49 +00:00
Thomas Bluemel
6d6caffd7d some more work on system menus
svn path=/trunk/; revision=5723
2003-08-21 16:04:26 +00:00
Eric Kohl
f7b82c11f2 Fixed FAT16 bootcode install. Don't overwrite any valid BPB data.
svn path=/trunk/; revision=5722
2003-08-21 15:35:32 +00:00
Eric Kohl
5f04c08330 Added FAT16 format code.
svn path=/trunk/; revision=5721
2003-08-21 15:33:48 +00:00
Thomas Bluemel
dad429cc35 initial support for system menus
svn path=/trunk/; revision=5720
2003-08-21 15:26:19 +00:00
Thomas Bluemel
45e8d98b48 Implemented loading compatibility settings (custom version information) for applications
svn path=/trunk/; revision=5719
2003-08-21 12:51:01 +00:00
Royce Mitchell III
cbbd90f4f1 C89 compatibility
svn path=/trunk/; revision=5718
2003-08-21 04:17:15 +00:00
Royce Mitchell III
6f9d6a7c74 fixed several dc locking bugs as well as several memory leaks
svn path=/trunk/; revision=5717
2003-08-20 22:07:36 +00:00
Eric Kohl
e2dd45fd4a Use FAT16 for partitions smaller than 512MB and FAT32 for larger ones.
svn path=/trunk/; revision=5716
2003-08-20 21:58:06 +00:00
Gé van Geldorp
a5e1765aa6 Handle system color background brushes
svn path=/trunk/; revision=5715
2003-08-20 21:42:27 +00:00
Gé van Geldorp
39b5c8f5e4 Change credits as requested by Jon Griffiths <jon_p_griffiths@yahoo.com>
svn path=/trunk/; revision=5714
2003-08-20 21:41:22 +00:00
Emanuele Aliberti
92f4c1b15d WIN32K: little work on Set/GetPixel (I don't know how to actually get/set a pixel value).
svn path=/trunk/; revision=5713
2003-08-20 20:45:28 +00:00
Royce Mitchell III
bbb8de1530 fixed some documentation and implemented RoundRect to call Rectangle so we at least see *something* until RoundRect can get implemented
svn path=/trunk/; revision=5712
2003-08-20 20:24:35 +00:00
Eric Kohl
8225007b2c Added check and warning about incompatible partition tables.
The previous patches (partlist.c and usetup.c) were written by Hartmut Birr!

svn path=/trunk/; revision=5711
2003-08-20 20:07:33 +00:00
Casper Hornstrup
11ee47208a 2003-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/win32k/ntuser/menu.c (IntSetMenuDefaultItem,
	IntGetMenuDefaultItem): Fix unsigned/signed warnings.

svn path=/trunk/; revision=5710
2003-08-20 18:55:03 +00:00
Eric Kohl
e89f5dacce Ignore valid but unused partition table (4 unused entries).
svn path=/trunk/; revision=5709
2003-08-20 16:59:46 +00:00
Eric Kohl
1926975c01 Install FAT16 bootcode on FAT16 partitions.
Don't modify valid partition types when a partiton is formatted.

svn path=/trunk/; revision=5708
2003-08-20 16:31:21 +00:00
Martin Fuchs
e4b7ecbc70 dynamic startmenu widths
svn path=/trunk/; revision=5707
2003-08-20 15:18:08 +00:00
Eric Kohl
3d0daebcc4 Enable ReactOS installation.
svn path=/trunk/; revision=5706
2003-08-20 15:16:43 +00:00
Eric Kohl
e9042b4e5a Fixed FAT32 cluster size calculation (GB instead of MB).
svn path=/trunk/; revision=5705
2003-08-20 15:15:30 +00:00
Emanuele Aliberti
bd5999bd1a NTOSKRNL PS: NtOpenThread implemented.
svn path=/trunk/; revision=5704
2003-08-20 15:02:53 +00:00
Royce Mitchell III
cafb322c66 commented out a DPRINT that referenced a variable that no longer exists
svn path=/trunk/; revision=5703
2003-08-20 14:53:16 +00:00
Thomas Bluemel
f8dadc910b Patch by Jonathon Wilson: Implemented loading cursors with LoadImage()
svn path=/trunk/; revision=5702
2003-08-20 14:08:19 +00:00
Thomas Bluemel
545e6f33fb some work on menus
svn path=/trunk/; revision=5701
2003-08-20 14:01:16 +00:00
Thomas Bluemel
33a53f0e47 implemented NtUserGetMenuDefaultItem()
svn path=/trunk/; revision=5700
2003-08-20 13:02:32 +00:00
Martin Fuchs
246cb6d247 automatically opening startmenu-submenus
svn path=/trunk/; revision=5699
2003-08-20 12:42:25 +00:00
Andrew Greenwood
1dbf9b9981 * Took an intelligent guess at NtLockVirtualMemory and NtUnlockVirtualMemory and attempted to implement them, but they're most likely *wrong*. Shouldn't break anything already though.
svn path=/trunk/; revision=5698
2003-08-20 10:37:33 +00:00
Thomas Bluemel
bcefe84d60 added NtUserGetMenuDefaultItem() syscall
svn path=/trunk/; revision=5697
2003-08-20 10:08:53 +00:00
Martin Fuchs
10f0f6628e draw startmenu subfolder arrows
svn path=/trunk/; revision=5696
2003-08-20 09:08:00 +00:00
Martin Fuchs
9a3c91b31d eliminating warning
svn path=/trunk/; revision=5695
2003-08-20 09:06:34 +00:00
Gé van Geldorp
2ad60bb5af .cvsignore maintenance
svn path=/trunk/; revision=5694
2003-08-20 08:05:10 +00:00
Gé van Geldorp
bb70febc2a - Store GDI object type in the handle itself
- Rename remaining XX_HandleToPtr/XX_ReleasePtr funcs to XX_LockXx/XX_UnlockXx

svn path=/trunk/; revision=5693
2003-08-20 07:45:02 +00:00
Royce Mitchell III
974eb2f364 patch by vizzini - Fixed a typoed struct member, Fixed a unicode->hex integer bug.
svn path=/trunk/; revision=5692
2003-08-20 04:18:31 +00:00
Andrew Greenwood
05bd5fcc78 * Made a start on a few user32 stubs
* Various other small changes

svn path=/trunk/; revision=5691
2003-08-20 03:07:33 +00:00
Andrew Greenwood
675c971445 * Implemented handling for DC_INBUTTON and DC_SMALLCAP styles in DrawCaption()
* Misc. other very minor improvements

svn path=/trunk/; revision=5690
2003-08-20 01:41:01 +00:00
Andrew Greenwood
de05ce363a * Merged common code from GetClassInfoExA/W into an internal GetClassInfoExCommon routine, called by both functions.
These changes conflicted with an earlier commit - I have manually merged the changed. If there are any mistakes, one of the functions has the original code commented out.

svn path=/trunk/; revision=5689
2003-08-20 01:05:10 +00:00
Andrew Greenwood
8eb1d07658 DrawCaption() now works, and is called (unsurprisingly) for drawing the captions of windows!
* Implemented DrawCaption() in lib/user32/windows/defwnd.c (couldn't put it in draw.c due to the functions it relies upon being in defwnd.c)
* Changed a few metrics in subsys/win32k/ntuser/metric.c to match the Windows defaults
* Added DC_GRADIENT and DC_BUTTONS to include/defines.h
* Modified prototype for UserDrawSysMenuButton in lib/user32/include/window.h to return success/failure
* Modified lib/usr32/resources/obm_close.bmp slightly. It now looks more like the Windows version.

svn path=/trunk/; revision=5688
2003-08-20 00:41:04 +00:00
David Welch
778113754c - Fix for accessing Section->Segment after dereferencing the associated
file object.

svn path=/trunk/; revision=5687
2003-08-20 00:02:31 +00:00
David Welch
12d437f94e - Forgot this file - sorry.
svn path=/trunk/; revision=5686
2003-08-20 00:01:30 +00:00
David Welch
f2d9fe4842 - Patch from PM implementing ldt and tss iobitmap support.
svn path=/trunk/; revision=5685
2003-08-19 23:59:08 +00:00
Thomas Bluemel
c301cf0343 small bugfix
svn path=/trunk/; revision=5684
2003-08-19 23:54:26 +00:00
David Welch
0bed5b1747 - Fixed whole page allocations.
svn path=/trunk/; revision=5683
2003-08-19 23:52:36 +00:00
Thomas Bluemel
aab0f8f999 fixed NtUserGetClassInfo() and GetClassInfoExA/W()
svn path=/trunk/; revision=5682
2003-08-19 23:41:20 +00:00
Steven Edwards
eca1b2621d Add lz32.dll to apistatus list.
svn path=/trunk/; revision=5681
2003-08-19 23:25:58 +00:00
Royce Mitchell III
23f865f379 fixed minor blip in Polygon algo
svn path=/trunk/; revision=5680
2003-08-19 21:29:20 +00:00
Martin Fuchs
0152db0310 new cvsignore entries
svn path=/trunk/; revision=5679
2003-08-19 21:05:21 +00:00
Martin Fuchs
c5ddf7eb05 Implementation of standard startmenu folders
svn path=/trunk/; revision=5678
2003-08-19 21:04:37 +00:00
Eric Kohl
cb15da56e1 * Added trailing fs info sector signature
* Calculate correct cluster size

svn path=/trunk/; revision=5677
2003-08-19 19:15:20 +00:00
Hartmut Birr
57a76c0f45 - Fixed the intial values for cluster 0 and 1.
- Write the fat in larger chunks.
- Calculate the necessary size for the fat more exactly.

svn path=/trunk/; revision=5676
2003-08-19 17:51:12 +00:00
Martin Fuchs
02a714f2b9 Implemented navigation and launching in start menu
svn path=/trunk/; revision=5675
2003-08-19 16:51:36 +00:00
Eric Kohl
a0f1b6fbfe * Install MBR boot code if necessary.
* Install partition boot code after formatting.

svn path=/trunk/; revision=5674
2003-08-19 15:54:47 +00:00
Royce Mitchell III
8fcc6f51cd fixed definition of DESKTOPENUMPROC
svn path=/trunk/; revision=5673
2003-08-19 15:18:26 +00:00
Thomas Bluemel
f75a6525b5 Patch by Jonathon Wilson:
1. renames all w32k syscalls to ntgdi
2. contains the fixed, working PolyPatBlt and PatBlt fixes from before
3. renames W32kInitialize to Win32kInitalize
4. renames W32kDeviceProcess to Win32kDeviceProcess
5. renames all the w32k functions in ntuser to int functions (like in ntgdi)

svn path=/trunk/; revision=5672
2003-08-19 11:48:50 +00:00
Martin Fuchs
4f3b4c81e2 use BTNS_SEP instead of TBSTYLE_SEP
svn path=/trunk/; revision=5671
2003-08-19 09:48:43 +00:00
Martin Fuchs
0fd6225404 OwnerdrawnButton
svn path=/trunk/; revision=5670
2003-08-19 09:36:25 +00:00
Martin Fuchs
a355ea3e20 added code comments and a bit of cleanup
svn path=/trunk/; revision=5669
2003-08-19 09:13:02 +00:00
Martin Fuchs
8ee9da9bb7 disable window resizing for start menu
svn path=/trunk/; revision=5668
2003-08-19 09:11:43 +00:00
Royce Mitchell III
a5dc482c4c Added MmDbgPagedPoolRedZoneCheck(). I hope to eventually export it so other OS components can check for bounds violations whenever they want. For now, you can do so by calling ExAllocatePool(PagedPool,0)
svn path=/trunk/; revision=5667
2003-08-19 05:24:07 +00:00
Royce Mitchell III
5b43864d3d C89 compatibility
svn path=/trunk/; revision=5666
2003-08-19 03:05:42 +00:00
Royce Mitchell III
b3b09803f9 fixed some memory leaks with GetClassInfoEx(A/W)
svn path=/trunk/; revision=5665
2003-08-19 02:55:53 +00:00
Steven Edwards
b46260a736 Added implemented and unimplemented tags.
svn path=/trunk/; revision=5664
2003-08-19 01:31:51 +00:00
Thomas Bluemel
ccceb1f9ac implemented SetLastErrorEx()
svn path=/trunk/; revision=5663
2003-08-19 01:31:15 +00:00
Thomas Bluemel
6569fdad17 minor fixes
svn path=/trunk/; revision=5662
2003-08-19 01:03:41 +00:00
Thomas Bluemel
01533e4a5d GetClassInfoExA/W() checks for valid parameters now
svn path=/trunk/; revision=5661
2003-08-19 00:49:42 +00:00
Thomas Bluemel
37da5cd4d8 fixed some bugs in GetClassInfoExA/W()
svn path=/trunk/; revision=5660
2003-08-19 00:36:40 +00:00
Thomas Bluemel
1717987643 fixed GetClassInfoExA/W() and CreateWindowExA/W()
svn path=/trunk/; revision=5659
2003-08-18 23:52:03 +00:00
Andrew Greenwood
5f8d059303 OK I must be having a bad coding day or something. This should finally fix the build problems.
svn path=/trunk/; revision=5658
2003-08-18 23:10:44 +00:00
Andrew Greenwood
0768d3a18b Oops... Sorry guys, the last commit I made broke the build, so I've just reversed most of what I did. Just commented out my changes in unwind.c
svn path=/trunk/; revision=5657
2003-08-18 22:55:15 +00:00
Martin Fuchs
ce4a563fbf first draft of explorer start menu
svn path=/trunk/; revision=5656
2003-08-18 22:28:41 +00:00
Andrew Greenwood
6fb621e9a8 * Added stubs for GetSecurityInfo and GetSecurityInfoExA/W in advapi32
* Added some rather messy code to msvcrt/except/unwind.c in an attempt to get cmd.exe from Windows 2000 to run once again (Microsoft must've updated it in SP4 ... it used to work!)

svn path=/trunk/; revision=5655
2003-08-18 22:19:25 +00:00
Andrew Greenwood
63a25cf323 I've attempted to (correctly) re-stub some of the WinMM.DLL functions, and have partly implemented some parameter checking, etc.
This is still a complete mess and won't link. And it doesn't like me using file mappings.

svn path=/trunk/; revision=5654
2003-08-18 19:14:57 +00:00
Eric Kohl
c01dbcf16b * Write modified partition sectors to disk.
* Enable partition formatting code.

svn path=/trunk/; revision=5653
2003-08-18 17:39:26 +00:00
Eric Kohl
c5cce225e2 xHalIoWritePartitionTable(): Don't bail out if a partition manager was found.
svn path=/trunk/; revision=5652
2003-08-18 17:34:18 +00:00
Emanuele Aliberti
0682a6e2b0 SystemProcessInformation: PPID retrieved.
Now tlist shows correct parent-child relations.

svn path=/trunk/; revision=5651
2003-08-18 15:18:03 +00:00
Thomas Bluemel
b68f0a643f some work on menus
svn path=/trunk/; revision=5650
2003-08-18 14:09:13 +00:00
Thomas Bluemel
065d88ba18 some work on menus
svn path=/trunk/; revision=5649
2003-08-18 13:37:54 +00:00
Martin Fuchs
e0306148f3 initializing for GCC
svn path=/trunk/; revision=5648
2003-08-18 13:09:46 +00:00
Martin Fuchs
aa7ecf8b2d BTNS_BUTTON
svn path=/trunk/; revision=5647
2003-08-18 13:07:50 +00:00
Thomas Bluemel
b2b074bf8c removed MENUITEMINFOW struct from MENU_ITEM
svn path=/trunk/; revision=5646
2003-08-18 11:58:17 +00:00
Hartmut Birr
f56db0bd84 - Enabled the break handler.
svn path=/trunk/; revision=5645
2003-08-18 11:55:43 +00:00
Hartmut Birr
3c9f26a7a0 - Remove all wait objects from a thread which would be deleted.
- Release the thread list lock after the real context switch
  (some code was moved from thread.c to tskswitch.S).
- Check for the state of a thread which is blocked or unblocked,
  because it is possible that there was a second thread switching.
- Fixed KeSetBasePriorityThread.
- Check for a necessary task switch after changing the thread priority in KeSetPriorityThread.

svn path=/trunk/; revision=5644
2003-08-18 11:52:31 +00:00
Hartmut Birr
69ade55431 - Check for the status after calling KeWaitForSingleObject in NtRequestWaitReplyPort.
svn path=/trunk/; revision=5643
2003-08-18 11:48:19 +00:00
Hartmut Birr
14aa056fe0 - Remove all wait objects from a thread which would be deleted.
- Release the thread list lock after the real context switch
  (some code was moved from thread.c to tskswitch.S).
- Check for the state of a thread which is blocked or unblocked,
  because it is possible that there was a second thread switching.
- Fixed KeSetBasePriorityThread.
- Check for a necessary task switch after changing the thread priority in KeSetPriorityThread.

svn path=/trunk/; revision=5642
2003-08-18 11:23:32 +00:00
Hartmut Birr
7aab7f108b - Store for each process a separate pointer for a control handler within the process data structure.
- Call the control handler only if processed input is enabled.
- Call the control handler for each process which is attached to the console.

svn path=/trunk/; revision=5641
2003-08-18 10:58:49 +00:00
Hartmut Birr
74b741f04a - Fixed the initializing of the initial console control handler.
- Fixed RemoveConsoleCtrlHandler.
- CreateProcess should send the console control handler to csrss.

svn path=/trunk/; revision=5640
2003-08-18 10:47:04 +00:00
Hartmut Birr
a11c2e5606 - Delete a process environment in the context of a worker thread
if the caller does not run in the same process which would
  be deleted and if KeAttachProcess was already called.

svn path=/trunk/; revision=5639
2003-08-18 10:20:57 +00:00
Hartmut Birr
8ab6fed82c - Do not call KeAttachProcess/keDetachProcess if the current process is the necessary process.
svn path=/trunk/; revision=5638
2003-08-18 10:18:14 +00:00
Andrew Greenwood
e7eff667e5 This is Jonathan Wilson's patch, which implements DrawFrame and fixes PolyPatBlt.
svn path=/trunk/; revision=5637
2003-08-18 09:59:29 +00:00
James Tabor
1ec31c1ff5 Commit Ctrl Event handler
svn path=/trunk/; revision=5636
2003-08-18 07:47:28 +00:00
James Tabor
542347bd13 Commit Ctrl Event handler
svn path=/trunk/; revision=5635
2003-08-18 07:32:00 +00:00
Martin Fuchs
c433be3d74 spelling fix
svn path=/trunk/; revision=5634
2003-08-18 07:24:28 +00:00
James Tabor
2cfb8d7b0d Commit Ctrl Event handler
svn path=/trunk/; revision=5633
2003-08-18 07:20:37 +00:00
James Tabor
38064c3a39 Commit Ctrl Event handler
svn path=/trunk/; revision=5632
2003-08-18 07:06:59 +00:00
Andrew Greenwood
f049704abd Implemented GrayStringA and GrayStringW (untested, probably won't work)
svn path=/trunk/; revision=5631
2003-08-18 00:14:50 +00:00
Thomas Bluemel
a234963ccf Implemented SetWindowContextHelpId() and GetWindowContextHelpId()
svn path=/trunk/; revision=5630
2003-08-18 00:11:17 +00:00
Thomas Bluemel
cfac33ce3b Implemented AnimateWindow()
svn path=/trunk/; revision=5629
2003-08-17 23:48:36 +00:00
Martin Fuchs
b988aae390 added cvsignore2
svn path=/trunk/; revision=5628
2003-08-17 23:28:24 +00:00
Martin Fuchs
2a4126d9ca corrected cvsignore
svn path=/trunk/; revision=5627
2003-08-17 23:26:13 +00:00
Martin Fuchs
b5aac7eb36 log off button in start menu
svn path=/trunk/; revision=5626
2003-08-17 23:14:23 +00:00
Andrew Greenwood
54a2b50917 * Ported listbox conrtol from WINE - it doesn't work properly yet, but registers and processes messages!
* Implemented IsChild and FreeConsole (latter is guesswork based on AllocConsole!)
* Started implementing OpenIcon (remains unfinished)
* Improved EnableWindow, IsWindowEnabled and IsZoomed
* Replaced some instances of GetWindowLong with NtUserGetWindowLong
* Added SIF_TRACKPOS to defines.h
* Added dwLocaleId to COMPAREITEMSTRUCT

svn path=/trunk/; revision=5625
2003-08-17 22:45:40 +00:00
Martin Fuchs
d9668b0a6a picture button for start menu
svn path=/trunk/; revision=5624
2003-08-17 20:41:41 +00:00
Martin Fuchs
a24652a4d7 picture button for start menu
svn path=/trunk/; revision=5623
2003-08-17 20:41:32 +00:00
Andrew Greenwood
ff7ea1c1f5 * Implemented EnabledWindow and IsWindowEnabled (seem to work OK)
* Modified DrawState slightly (still doesn't work very well)

svn path=/trunk/; revision=5622
2003-08-17 20:29:57 +00:00
Andrew Greenwood
04bd392176 More work on DrawStateA/DrawStateW. They are still both incomplete, and only really work for DSS_NORMAL and DST_TEXT at the moment. Button text drawing appears to be broken (window state is always disabled for some reason.)
svn path=/trunk/; revision=5621
2003-08-17 19:07:11 +00:00
Martin Fuchs
17412a6d95 new helper struct ClientRect
svn path=/trunk/; revision=5620
2003-08-17 18:31:45 +00:00
Royce Mitchell III
5b6d43ab50 * fixes a couple (several?) memory leaks
* fixes |many| gdi locking bugs ( particularly DC's )
* Polygon and Rectangle now match MS's perfectly.
* a lot of functions take PDC or have PDC-equivalents now.
* fixed some C89 compatibility issues. ( before you complain, I refuse
to upgrade b/c my gcc 2.95 has caught ERRORS that gcc 3 completely
ignores, so I refuse to upgrade )

svn path=/trunk/; revision=5619
2003-08-17 17:32:58 +00:00
David Welch
8b7c8b8dff - Fixed bug in small width brush blts aligned to an eight boundary.
- Accelerate dstinvert blts (treat as patinvert with a colour of 0xF).

svn path=/trunk/; revision=5618
2003-08-17 15:11:54 +00:00
Martin Fuchs
6fba0a4d96 refresh attributes of existing taskbar buttons
svn path=/trunk/; revision=5617
2003-08-17 15:03:11 +00:00
Martin Fuchs
76a258b41b Handling ofg iconized windows
svn path=/trunk/; revision=5616
2003-08-17 14:19:03 +00:00
Richard Campbell
8568d5b2bb - Added 'time.c' for time functions
- Updated makefile

No longer compiles due to errors?!?  I could use some help here.  Anyone want to tell me what i'm doing wrong?

svn path=/trunk/; revision=5615
2003-08-17 12:32:05 +00:00
Richard Campbell
59ac5f2e25 - Updated winmm defs, (This library isn't used or compiled yet, use the one from wine)
- Removed a comment

svn path=/trunk/; revision=5614
2003-08-17 10:47:27 +00:00
Eric Kohl
63f8c28d8b Implemented xHalIoSetPartitionInformation().
Fixed typos in debug messages.
Cleaned up the mess.

svn path=/trunk/; revision=5613
2003-08-17 10:36:45 +00:00
Thomas Bluemel
e283c5b7d3 Added WindowFromDC() by Philip Alldredge
svn path=/trunk/; revision=5612
2003-08-17 09:17:04 +00:00
Martin Fuchs
f8e97c4994 Optimierung der Applikationsfenster-Anzeige
svn path=/trunk/; revision=5611
2003-08-17 07:59:37 +00:00
Royce Mitchell III
85f2a50511 fixed GDIOBJ locking issue with DC_SET_MODE macro
svn path=/trunk/; revision=5610
2003-08-17 03:32:59 +00:00
Andrew Greenwood
96a1097b2d Very basic (and incomplete) implementation of DrawStateA, DrawStateW and some internal helper functions, based on the code from WINE. It works well enough to display text on buttons, but doesn't handle any state drawing yet. I hope to implement this over the next few days.
svn path=/trunk/; revision=5609
2003-08-17 02:51:42 +00:00
Martin Fuchs
e0aedc01c3 first draft of working task bar
svn path=/trunk/; revision=5608
2003-08-16 23:27:18 +00:00
Gé van Geldorp
8d77a084ae Remove ANSI window proc and related funcs, fix color of SS_*RECT/SS_*FRAME
styles, fix SS_ETCHEDHORZ and SS_ETCHEDVERT styles, fix clipping

svn path=/trunk/; revision=5607
2003-08-16 21:34:18 +00:00
Royce Mitchell III
2ef7538593 fixed line back-tracking in Polygon to match forward-tracking. No overlap occurs between line and fill if pen width <= 1.
svn path=/trunk/; revision=5606
2003-08-16 21:17:20 +00:00
Royce Mitchell III
cc588fb0f4 Updated by TortoiseCVS
svn path=/trunk/; revision=5605
2003-08-16 21:15:54 +00:00
Royce Mitchell III
33652190b3 Updated by TortoiseCVS
svn path=/trunk/; revision=5604
2003-08-16 21:15:37 +00:00
Gé van Geldorp
93b6368a9f Fix test for WindowTextAtom
svn path=/trunk/; revision=5603
2003-08-16 20:16:50 +00:00
James Tabor
1498f053e6 Commit Ctrl Event handler more changes are pending.
svn path=/trunk/; revision=5602
2003-08-16 17:37:51 +00:00
Martin Fuchs
a374276f97 additional comments
svn path=/trunk/; revision=5601
2003-08-16 12:06:52 +00:00
Martin Fuchs
0d9772d954 update from mail archive
svn path=/trunk/; revision=5600
2003-08-16 12:06:12 +00:00
Martin Fuchs
643f42422c use msdevfilt
svn path=/trunk/; revision=5599
2003-08-16 12:04:51 +00:00
James Tabor
0d9433ca45 Setup ConsoleLocks for Event handler
svn path=/trunk/; revision=5598
2003-08-16 06:19:15 +00:00
Royce Mitchell III
55aa0bc5a5 add abs() declaration
svn path=/trunk/; revision=5597
2003-08-16 05:12:37 +00:00
Royce Mitchell III
606b457dcd W32kRectangle() fixed.
svn path=/trunk/; revision=5596
2003-08-16 05:00:14 +00:00
Royce Mitchell III
321a71f1dd Polygon now works flawlessly ( with possible exception to the issue mentioned on the list earlier this evening ). Scrollbar arrows are now perfect.
svn path=/trunk/; revision=5595
2003-08-16 04:47:41 +00:00
Royce Mitchell III
58d4ce9842 my Polygon algorithm sandbox
svn path=/trunk/; revision=5594
2003-08-16 01:34:29 +00:00
Gé van Geldorp
349c41fe42 Revert most of last change
svn path=/trunk/; revision=5593
2003-08-15 21:56:48 +00:00
Eric Kohl
ff28f462af Got xHalIoWritePartitionTable() working.
svn path=/trunk/; revision=5592
2003-08-15 19:37:32 +00:00
Royce Mitchell III
d4deb682ee improvements to Polygon algo - commiting to get help on one last detail. Winding polygons now work and floating point code is eliminated.
svn path=/trunk/; revision=5591
2003-08-15 18:51:32 +00:00
Gé van Geldorp
4f6a2a6124 Simple maze demo
svn path=/trunk/; revision=5590
2003-08-15 17:06:49 +00:00
Gé van Geldorp
dd426f79b3 Handle SysColor background brushes
svn path=/trunk/; revision=5589
2003-08-15 17:06:11 +00:00
Martin Fuchs
acffe270aa checking wine patches
svn path=/trunk/; revision=5588
2003-08-15 16:13:41 +00:00
Martin Fuchs
cc6e4df2a4 include makefile project
svn path=/trunk/; revision=5587
2003-08-15 16:12:52 +00:00
Thomas Bluemel
f916e75837 changed registering builtin classes to unicode
svn path=/trunk/; revision=5586
2003-08-15 15:55:02 +00:00
Thomas Bluemel
946116f8d4 added builtin PopupMenu window class
svn path=/trunk/; revision=5585
2003-08-15 15:12:14 +00:00
Royce Mitchell III
898e3104f1 fixed UITOOLS95_DrawRectEdge to match repairs made to the vga driver. buttons and framed windows now look correct (again).
svn path=/trunk/; revision=5584
2003-08-15 13:44:30 +00:00
Thomas Bluemel
59c7cc4bc9 fixed small bug in NtUserSetMenu()
svn path=/trunk/; revision=5583
2003-08-15 11:11:02 +00:00
Richard Campbell
1c8bc47bcc - NtUserSetActiveWindow now called in CreateWindowEx
svn path=/trunk/; revision=5582
2003-08-15 10:53:16 +00:00
Richard Campbell
1fd05861d6 - Remove nonclient.c (not used)
svn path=/trunk/; revision=5581
2003-08-15 10:51:51 +00:00
Richard Campbell
d0443c94b3 - Remove nonclient.c (not used)
- Removed DbgPrints()

svn path=/trunk/; revision=5580
2003-08-15 10:51:23 +00:00
Hartmut Birr
08be7d88cc - Fixed the allocated size for the KernelCallbackTable.
svn path=/trunk/; revision=5579
2003-08-15 10:17:09 +00:00
Richard Campbell
eed3e59db4 Now use GetActiveWindow() to set the active flag.
svn path=/trunk/; revision=5578
2003-08-15 10:12:22 +00:00
Martin Fuchs
d27a1e6d43 move text
svn path=/trunk/; revision=5577
2003-08-15 07:53:26 +00:00
Martin Fuchs
501742224c remove warnings
svn path=/trunk/; revision=5576
2003-08-15 07:53:07 +00:00
Andrew Greenwood
98cc6d95b0 This commit mostly adds DbgPrint() statements to places relevant to the button control, and also partially implements DrawState(), although it doesn't seem to work *at all* at the moment.
svn path=/trunk/; revision=5575
2003-08-15 02:51:53 +00:00
Gé van Geldorp
168a174267 Fix line drawing
svn path=/trunk/; revision=5574
2003-08-14 22:34:16 +00:00
Royce Mitchell III
dacc05c901 patch by Jonathon Wilson
Implement PolyPatBlt, SetDeskWallpaper as a call to SystemParametersInfo, UserClientDllInitialize, WCSToMBEx, MBToWCSEx, MB_GetString, SetWindowWord, TranslateMessageEx, SetMessageQueue, IsHungAppWindow
Added stubs for a bunch more functions from NT4SP6 user32.dll

svn path=/trunk/; revision=5573
2003-08-14 20:25:52 +00:00
Andrew Greenwood
8535425fcd ReactOS W32API convert part 4
I've modified ReactOS' headers and source files to match W32API's headers, and fully recompiled and booted ReactOS without them, so it does still work.

A more detailed log of changes will be sent to the ros-kernel mailing list shortly.

svn path=/trunk/; revision=5572
2003-08-14 18:30:28 +00:00
Eric Kohl
979c196068 Fixed nls variable declarations.
svn path=/trunk/; revision=5571
2003-08-14 17:54:27 +00:00
Eric Kohl
d535f217c0 RtlQueryRegistryValues():
* Fixed a bug which returned malformed Unicode strings.
* Removed an unnecessary limitation.

svn path=/trunk/; revision=5570
2003-08-14 14:52:13 +00:00
Eric Kohl
2b3c1f4b49 Fixed some discrepancies (cdecl vs. stdcall) and typos.
svn path=/trunk/; revision=5569
2003-08-14 12:47:33 +00:00
Eric Kohl
6d3c6eba11 Fixed a lot of discrepancies (cdecl vs. stdcall).
svn path=/trunk/; revision=5568
2003-08-14 10:43:42 +00:00
Eric Kohl
1805517888 Implemented ProbeForRead() and ProbeFor Write() (but no SEH yet).
svn path=/trunk/; revision=5567
2003-08-14 10:41:36 +00:00
Eric Kohl
ce57c8d26d Added missing nls declarations.
svn path=/trunk/; revision=5566
2003-08-14 10:32:09 +00:00
Royce Mitchell III
2f9bb4b28a patch by Jonathon Wilson - fix bug in SetClassLong and SetWindowLong
svn path=/trunk/; revision=5565
2003-08-14 01:38:19 +00:00
Royce Mitchell III
238a317934 implementation of the Eng*Semaphore suite of functions. Thanks David, Ge, MikeN & vizzini.
svn path=/trunk/; revision=5564
2003-08-13 22:43:15 +00:00
Casper Hornstrup
715a74de6d Revert last change.
svn path=/trunk/; revision=5563
2003-08-13 20:25:41 +00:00
Casper Hornstrup
be065e6f54 2003-08-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/win32k/ntuser.h (NtUserGetClassName): Make nMaxCount an ULONG.
	* subsys/win32k/dib/dib16bpp.c: Fix unsigned/signed warnings.
	* subsys/win32k/dib/dib1bpp.c: Ditto.
	* subsys/win32k/dib/dib32bpp.c: Ditto.
	* subsys/win32k/dib/dib4bpp.c: Ditto.
	* subsys/win32k/dib/dib8bpp.c: Ditto.
	* subsys/win32k/eng/lineto.c: Ditto.
	* subsys/win32k/eng/mouse.c: Ditto.
	* subsys/win32k/eng/xlate.c: Ditto.
	* subsys/win32k/misc/driver.c: Ditto.
	* subsys/win32k/ntuser/class.c: Ditto.
	* subsys/win32k/ntuser/keyboard.c: Ditto.
	* subsys/win32k/ntuser/timer.c: Ditto.
	* subsys/win32k/ntuser/window.c: Ditto.
	* subsys/win32k/objects/bitmaps.c: Ditto.
	* subsys/win32k/objects/color.c: Ditto.
	* subsys/win32k/objects/coord.c: Ditto.
	* subsys/win32k/objects/dib.c: Ditto.
	* subsys/win32k/objects/path.c: Ditto.
	* subsys/win32k/objects/region.c: Ditto.
	* subsys/win32k/objects/text.c: Ditto.

svn path=/trunk/; revision=5562
2003-08-13 20:24:05 +00:00
Aleksey Bragin
6b9dcfa9e2 Add some stubs to winmm.dll so WinQuake could load (but certainly not run yet).
svn path=/trunk/; revision=5561
2003-08-13 20:19:03 +00:00
Martin Fuchs
02171eb485 make explorer bar look more like windows taskbar bar
svn path=/trunk/; revision=5560
2003-08-13 18:55:07 +00:00
Martin Fuchs
bfb4755f65 drawing desktop background by using PaintDesktop()
svn path=/trunk/; revision=5559
2003-08-13 16:40:09 +00:00
Martin Fuchs
f594676552 checked in Wine patch
svn path=/trunk/; revision=5558
2003-08-13 16:39:08 +00:00
Royce Mitchell III
95e83c3f2a all win32k's stubs now have correct function signatures. I think the def/edf files need more entries, but the linker doesn't complain at the moment.
svn path=/trunk/; revision=5557
2003-08-13 16:32:55 +00:00
Royce Mitchell III
efbb209fb9 no warnings on gcc 3.2, either, so warnings are now errors
svn path=/trunk/; revision=5556
2003-08-13 13:58:11 +00:00
James Tabor
3d4aee56e2 Still working on Ctrl Events
svn path=/trunk/; revision=5555
2003-08-13 06:53:54 +00:00
James Tabor
cbca322aec Type-O Fix
svn path=/trunk/; revision=5554
2003-08-13 05:18:40 +00:00
Royce Mitchell III
1e71f74fde no more win32k warnings any more according to gcc 2.95. Once I confirm that gcc 3.x has no warnings, I will enable -Werror
svn path=/trunk/; revision=5553
2003-08-13 00:50:25 +00:00
Thomas Bluemel
ea19302157 added InternalGetWindowText() exports
svn path=/trunk/; revision=5552
2003-08-12 22:47:20 +00:00
Thomas Bluemel
ef8535e025 removed warning
svn path=/trunk/; revision=5551
2003-08-12 22:45:27 +00:00
Thomas Bluemel
a6e48e9704 Implemented InternalGetWindowText() partially
svn path=/trunk/; revision=5550
2003-08-12 22:27:55 +00:00
Gé van Geldorp
2a4b68c022 Fix linker warnings for new stubs
svn path=/trunk/; revision=5549
2003-08-12 22:16:44 +00:00
Gé van Geldorp
538c7d51fd Add ROPs for 1, 8, 16, 24 and 32 bpp
svn path=/trunk/; revision=5548
2003-08-12 21:55:47 +00:00
Royce Mitchell III
038fbb6783 implemented KeAcquireSpinLockRaiseToSynch
svn path=/trunk/; revision=5547
2003-08-12 21:19:50 +00:00
Royce Mitchell III
18ebc095c1 fixed build error
svn path=/trunk/; revision=5546
2003-08-12 21:08:14 +00:00
Royce Mitchell III
eef42bcfe5 added proper definitions for many stubs. created xpstubs for functions only available since XP ( i.e. low priority )
svn path=/trunk/; revision=5545
2003-08-12 20:52:47 +00:00
Royce Mitchell III
e1c3966599 structs WCRUN, FD_GLYPHSET, DRIVEROBJ, TYPE1_FONT
svn path=/trunk/; revision=5544
2003-08-12 20:50:50 +00:00
Royce Mitchell III
ac95a0881d typedefs for FLONG & HDRVOBJ
svn path=/trunk/; revision=5543
2003-08-12 20:49:28 +00:00
Royce Mitchell III
253eef3eda forgot some stuff for STROBJ, this clears it up, sorry.
svn path=/trunk/; revision=5542
2003-08-12 20:16:22 +00:00
Royce Mitchell III
e1de2a798e Added GetLastNtError(), corrected STROBJ definition
svn path=/trunk/; revision=5541
2003-08-12 20:08:45 +00:00
Royce Mitchell III
16a98c2251 added HSEMAPHORE
svn path=/trunk/; revision=5540
2003-08-12 20:00:05 +00:00
Casper Hornstrup
ec5b094ed5 Version 1.8.14
svn path=/trunk/; revision=5539
2003-08-12 18:51:25 +00:00
Eric Kohl
03734abbca Implemented code to update container partitions. Only a few border-cases are still missing.
svn path=/trunk/; revision=5538
2003-08-12 15:56:21 +00:00
Martin Fuchs
6010f3ea82 open child folders by double click in ShellBrowserChild
svn path=/trunk/; revision=5537
2003-08-11 22:04:26 +00:00
Royce Mitchell III
4504834722 warnings, warnings, everywhere.... but not so many any more.
svn path=/trunk/; revision=5536
2003-08-11 21:10:49 +00:00
Royce Mitchell III
0eeded0a9a fixed vgaHLine and VGADDIFillSolid for cases where left edge and right edge are in same 8-pixel group. ( no longer needs to default to slow case )
svn path=/trunk/; revision=5535
2003-08-11 19:58:43 +00:00
Martin Fuchs
1503893d83 Subclassing of shell window for drawing desktop background
svn path=/trunk/; revision=5534
2003-08-11 19:53:47 +00:00
Martin Fuchs
6497f3daae draw blue background
svn path=/trunk/; revision=5533
2003-08-11 19:44:53 +00:00
Gunnar Dalsnes
9cc8d55331 -WinStaLock is now WinLock & made global
-removed desktop window list
-fixed/reworked window linking
-SetParent/NtUserSetParent somewhat implemented
-misc

svn path=/trunk/; revision=5532
2003-08-11 19:14:16 +00:00
Martin Fuchs
417dffd0c4 SubclassedWindow class for wrapping subclassed windows
svn path=/trunk/; revision=5531
2003-08-11 18:57:52 +00:00
Casper Hornstrup
ab7f9064f1 Clear screen to black when booting ReactOS.
svn path=/trunk/; revision=5530
2003-08-11 18:56:26 +00:00
Casper Hornstrup
9858f2daeb 2003-08-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* bootdata/txtsetup.sif (SetupData): Add /NOBOOTSCREEN to OsLoadOptions.
	* hal/halx86/display.c (CHAR_ATTRIBUTE_BLACK): Define.
	(HalClearDisplay): Add CharAttribute parameter.
	(HalInitializeDisplay, HalReleaseDisplayOwnership): Blue screen.
	* hal/halx86/halinit.c (DriverEntry): Blue screen for boot phase 2.
	* include/reactos/resource.h (IDB_BOOTIMAGE): Define.
	* ntoskrnl/Makefile: Add boot video objects.
	* ntoskrnl/Makefile.i386: Ditto.
	* ntoskrnl/ntoskrnl.def: Add boot video exports.
	* ntoskrnl/ntoskrnl.edf: Ditto.
	* ntoskrnl/ntoskrnl.rc (IDB_BOOTIMAGE): Define.
	* ntoskrnl/include/internal/kd.h (KdInit3): Add.
	* ntoskrnl/kd/kdebug.c (KdInitSystem): Print information in KdInit3.
	* ntoskrnl/ke/bug.c (KeBugCheckWithTf, KeBugCheckEx): Switch to
	text-mode on crash if needed.
	* ntoskrnl/ke/main.c (ExpInitializeExecutive): Display bootscreen image
	during boot.
	* ntoskrnl/ke/i386/v86m_sup.S (_KiV86Complete): Restore previous mode and
	old exception handler list.
	* subsys/csrss/init.c: Change PrintString to DPRINT1.
	* subsys/smss/init.c: Change PrintString to DPRINT1.
	(SignalInitEvent): New.
	(InitSessionManager): Call SignalInitEvent to switch to text-mode if
	needed.
	* subsys/smss/smss.c: Change PrintString to DPRINT1.
	* ntoskrnl/inbv: New directory.
	* ntoskrnl/inbv/i386: Ditto.
	* ntoskrnl/res: Ditto.
	* include/ntos/bootvid.h: New file.
	* ntoskrnl/inbv/.cvsignore: Ditto.
	* ntoskrnl/inbv/bootvid.c: Ditto.
	* ntoskrnl/inbv/inbv.c: Ditto.
	* ntoskrnl/inbv/i386/.cvsignore: Ditto.
	* ntoskrnl/inbv/i386/pixelsup.S: Ditto.
	* ntoskrnl/res/bootimage.bmp: Ditto.

svn path=/trunk/; revision=5529
2003-08-11 18:50:12 +00:00
Martin Fuchs
bad8c294c5 change CPP to CXX
svn path=/trunk/; revision=5528
2003-08-11 18:17:44 +00:00
Gé van Geldorp
4ad39f0a27 Fixes to SystemParametersInfoA (Unicode->Ansi conversions)
svn path=/trunk/; revision=5527
2003-08-11 11:02:43 +00:00
Gé van Geldorp
4fa73ed4a8 Repairs to WNDPROC and class handling by Jonathan Wilson
svn path=/trunk/; revision=5526
2003-08-11 10:30:19 +00:00
Richard Campbell
aee5041a87 Updates for new wine source tree.
svn path=/trunk/; revision=5525
2003-08-11 09:43:37 +00:00
Richard Campbell
acdc820a0d bug fixes
svn path=/trunk/; revision=5524
2003-08-11 07:02:06 +00:00
James Tabor
fa0bed7eab Clean up warning redefined RT_MESSAGETABLEW, and int w/o a cast at line 500.
svn path=/trunk/; revision=5523
2003-08-11 05:58:02 +00:00
Royce Mitchell III
111ed4cd20 fixed diag lines - initial error for bresnham algo should be 1/2 max error, not 0.
svn path=/trunk/; revision=5522
2003-08-11 04:23:37 +00:00
Royce Mitchell III
08f2d72ce1 fixed miscalculation for upward or leftward bound diagonal lines
svn path=/trunk/; revision=5521
2003-08-11 04:02:07 +00:00
Royce Mitchell III
bd2daaee8b added a couple more diagonal lines for testing
svn path=/trunk/; revision=5520
2003-08-11 03:55:47 +00:00
Royce Mitchell III
4e4e603189 fixed several bugs, simplified some calculations. This appears to have broken framerect drawing ( zoomin on min/max buttons ), but I think that was expecting the wrong behavior.
svn path=/trunk/; revision=5519
2003-08-11 03:51:44 +00:00
Royce Mitchell III
83399f1ec0 fixed bug in DrawLineTo for up-ward verticals and left-ward horizontals.
svn path=/trunk/; revision=5518
2003-08-11 03:35:06 +00:00
Royce Mitchell III
9aa18596b3 fixed the #endif problem reported by GvG.
svn path=/trunk/; revision=5517
2003-08-11 02:59:57 +00:00
Royce Mitchell III
0fa3b8483b added more hlines to isolate it's problem
svn path=/trunk/; revision=5516
2003-08-11 02:15:24 +00:00
Royce Mitchell III
77e6a164bb changes to get cmd compiling again
svn path=/trunk/; revision=5515
2003-08-11 00:22:04 +00:00
Royce Mitchell III
47916748b6 added #include <msvcrt/string.h>
svn path=/trunk/; revision=5514
2003-08-11 00:04:05 +00:00
Royce Mitchell III
254b88eb63 commented out unused things
svn path=/trunk/; revision=5513
2003-08-10 23:58:52 +00:00
Royce Mitchell III
ccf732d210 added _MAX_PATH and cousins as defined in wine
svn path=/trunk/; revision=5512
2003-08-10 23:55:18 +00:00
Eric Kohl
34572eba83 Reverted my logic changes to Mike Nordell's patch.
svn path=/trunk/; revision=5511
2003-08-10 20:33:05 +00:00
Hartmut Birr
da65ace973 - Fixed the allocation of the retrieval pointers for pagefiles
which do not end at a cluster boundary.

svn path=/trunk/; revision=5510
2003-08-10 20:03:10 +00:00
Hartmut Birr
6ae4b24c97 - Fixed the test for the start vcn in VfatGetRetrievalPointers.
svn path=/trunk/; revision=5509
2003-08-10 20:01:16 +00:00
Eric Kohl
65a5a3f831 Fixed returned container partition starting offsets in xHalIoReadPartitionTable().
svn path=/trunk/; revision=5508
2003-08-10 16:49:07 +00:00
Eric Kohl
279af692f5 Don't close the nls section object twice.
svn path=/trunk/; revision=5507
2003-08-10 10:09:51 +00:00
Martin Fuchs
eafe61d076 new TODO entries
svn path=/trunk/; revision=5506
2003-08-10 10:09:25 +00:00
Martin Fuchs
e4942a19d5 documentation update
svn path=/trunk/; revision=5505
2003-08-10 07:36:14 +00:00
Gé van Geldorp
198b7818d5 Adjust MmCopyFrom/ToCaller() declarations to fix warnings in win32k
svn path=/trunk/; revision=5504
2003-08-10 07:05:24 +00:00
Royce Mitchell III
b7ad386053 patch by art yerkes - fixes Y and BKSP
svn path=/trunk/; revision=5503
2003-08-10 06:33:39 +00:00
Martin Fuchs
da4d3ce2b0 slash fir linux compatibiliy
svn path=/trunk/; revision=5502
2003-08-10 06:23:44 +00:00
Martin Fuchs
71e03db3fe fix FOLDERSETTINGS usage
svn path=/trunk/; revision=5501
2003-08-09 23:12:30 +00:00
Martin Fuchs
749c3d1719 small improvements for DesktopWindow
svn path=/trunk/; revision=5500
2003-08-09 22:38:39 +00:00
Martin Fuchs
5bdce2b978 UNICODE for TARGET_RCFLAGS
svn path=/trunk/; revision=5499
2003-08-09 22:38:08 +00:00
Martin Fuchs
1b70b3872f removed *.coff
svn path=/trunk/; revision=5498
2003-08-09 22:37:32 +00:00
Gé van Geldorp
0d95af3a22 Failed to release DC
svn path=/trunk/; revision=5497
2003-08-09 21:14:01 +00:00
Gé van Geldorp
3d7fc85f62 Only set WIN_NCACTIVATED style on toplevel windows, the WIN_NCACTIVATED
style clashes with one of the SS_ (static control) styles and should
be removed in the future anyway

svn path=/trunk/; revision=5496
2003-08-09 21:13:14 +00:00
Martin Fuchs
2306a321ef removed warnings
svn path=/trunk/; revision=5495
2003-08-09 19:56:45 +00:00
Martin Fuchs
6d16724ea7 moved SetShellWindowEx() implementation into kernel space
svn path=/trunk/; revision=5494
2003-08-09 18:22:11 +00:00
Martin Fuchs
f3dec73013 implemented explorer and desktop window using shell view
svn path=/trunk/; revision=5493
2003-08-09 17:32:27 +00:00
Martin Fuchs
8e4b0ed4e7 Implemented explorer and desktop window using shell views
svn path=/trunk/; revision=5492
2003-08-09 17:11:40 +00:00
Eric Kohl
3943f08547 Moved filesystem list to a separate file.
Support installing ReactOS to 'unpartitioned disk space'.
Update drive letters and partition numbers when the partition list is modified.
Distinguish FAT16 CHS, FAT16 LBA and FAT32 LBA partitions.
Print internal partition list for debugging.

svn path=/trunk/; revision=5491
2003-08-09 16:32:26 +00:00
Casper Hornstrup
9654fc7a75 2003-08-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/windows/dialog.c (GetDlgItemInt): Fix unsigned/signed
	warning.
	* lib/user32/windows/menu.c (IsMenu): Ditto.
	* lib/user32/windows/messagebox.c (MSGBOX_OnInit): Ditto.
	* ntoskrnl/mm/ppool.c: Ditto.

svn path=/trunk/; revision=5488
2003-08-09 14:25:08 +00:00
Martin Fuchs
798b12d6be Implemented SetShellWindowEx()
svn path=/trunk/; revision=5487
2003-08-09 13:15:53 +00:00
Gé van Geldorp
bdb03fa472 Handle border case
svn path=/trunk/; revision=5486
2003-08-09 12:03:10 +00:00
Gé van Geldorp
f706d5fa85 Set mouse boundaries based on desktop size
svn path=/trunk/; revision=5485
2003-08-09 11:59:27 +00:00
Gé van Geldorp
900520aace Replace DbgPrint by DPRINT/DPRINT1
svn path=/trunk/; revision=5484
2003-08-09 11:58:13 +00:00
Gé van Geldorp
f223051440 Fix border case and improve speed
svn path=/trunk/; revision=5483
2003-08-09 11:56:57 +00:00
David Welch
f4de5cad85 - Accelerate PATINVERT blits. Makes moving windows less painful but there
is still a significant lag with mouse input.

svn path=/trunk/; revision=5482
2003-08-09 10:39:13 +00:00
David Welch
f40ab28955 - Fixed include path.
svn path=/trunk/; revision=5481
2003-08-09 09:34:09 +00:00
Martin Fuchs
02085be659 implemented GetShellWindow() and SetShellWindow()
svn path=/trunk/; revision=5480
2003-08-09 09:02:48 +00:00
Martin Fuchs
b6d1f250bb implement permission checking in SetShellWindow()
svn path=/trunk/; revision=5479
2003-08-09 08:57:13 +00:00
Martin Fuchs
3eb9a3bce5 implement GetShellWindow() and SetShellWindow()
svn path=/trunk/; revision=5478
2003-08-09 08:42:35 +00:00
Martin Fuchs
4a9e04a0c8 Add GetShellWindow() since it's now present in Microsofts Platform SDK 2003
svn path=/trunk/; revision=5477
2003-08-09 08:26:34 +00:00
Martin Fuchs
af85d1032f Add GetShellWindow() since it's now present in Microsofts Platform SDK 2003 header
svn path=/trunk/; revision=5476
2003-08-09 08:25:38 +00:00
Thomas Bluemel
3d4914c898 fixed build error
svn path=/trunk/; revision=5475
2003-08-09 07:15:20 +00:00
James Tabor
000755de9d This implements GetClassInfo
It also implements GetClassInfoEx
It also implements RealGetWindowClass as best as I can do it right now (i.e. I dont know exactly what makes it different from GetClassName so it just calls GetClassName)
And it finishes GetClassName

svn path=/trunk/; revision=5474
2003-08-09 07:09:57 +00:00
James Tabor
e658713c2c Implement a Default Console Handler for Console Apps.
svn path=/trunk/; revision=5473
2003-08-09 04:13:24 +00:00
Richard Campbell
5e599db3a7 fixed typo
svn path=/trunk/; revision=5472
2003-08-08 22:20:08 +00:00
Royce Mitchell III
8640002319 added apps/tests/linetest - demonstrates bugs in line-drawing routines.
svn path=/trunk/; revision=5471
2003-08-08 21:53:04 +00:00
Royce Mitchell III
c09e41690b appx 4x speed improvement to VGAtoVGA(), which is used when dragging windows around the screen.
svn path=/trunk/; revision=5470
2003-08-08 16:13:18 +00:00
Thomas Bluemel
5dc9eed728 Fixed a bug that crashed cmd.exe when the command name length > MAX_PATH
svn path=/trunk/; revision=5469
2003-08-08 15:52:32 +00:00
Royce Mitchell III
979bd81524 Updated by TortoiseCVS
svn path=/trunk/; revision=5468
2003-08-08 15:25:14 +00:00
Royce Mitchell III
120453cd7c patch by Jonathon Wilson - complete implemenation of GWL_WNDPROC, GCL_WNDPROC and GCL_MENUNAME..
svn path=/trunk/; revision=5467
2003-08-08 02:57:54 +00:00
Hartmut Birr
529277d521 - Fixed some type problems if cmd is compiled as unicode.
svn path=/trunk/; revision=5466
2003-08-08 00:49:24 +00:00
Hartmut Birr
8996ac2b8f - Fixed _(w)makepath.
svn path=/trunk/; revision=5465
2003-08-08 00:46:20 +00:00
Royce Mitchell III
ee25eea496 fixed locking bug, eliminated warnings
svn path=/trunk/; revision=5464
2003-08-07 16:18:02 +00:00
Andrew Greenwood
bda3572a3d Missed this file out last time... I moved KEBUGCHECK and KEBUGCHECKEX into ntos/kefuncs.h (a new file)
svn path=/trunk/; revision=5463
2003-08-07 12:31:55 +00:00
James Tabor
9c21a394bd Start implementing GenerateConsoleCtrlEven.
svn path=/trunk/; revision=5462
2003-08-07 12:17:56 +00:00
Andrew Greenwood
59a33415c2 W32API conversion update
This shouldn't directly affect anything for normal (non-W32API) builds. A more detailed change log will be sent to the ros-kernel mailing list shortly.

svn path=/trunk/; revision=5461
2003-08-07 11:47:33 +00:00
Thomas Bluemel
12d87df6e0 Added NtUserRemoveMenu() and NtUserDeleteMenu()
svn path=/trunk/; revision=5460
2003-08-07 10:25:59 +00:00
Hartmut Birr
b17b46078f - Fixed some type problems if cmd is compiled as unicode.
- Build an unicode argv pointer, if cmd is compiled as unicode.
- Fixed a buffer overflow, while processing the argv pointer.

svn path=/trunk/; revision=5459
2003-08-07 09:43:03 +00:00
Hartmut Birr
6810286aa0 - Fixed some type problems if cmd is compiled as unicode.
- Convert a string from unicode to ascii which is written
  to a file (or to the console), if cmd is compiled as unicode.

svn path=/trunk/; revision=5458
2003-08-07 09:38:54 +00:00
Hartmut Birr
fe60cb4985 - Fixed some type problems if cmd is compiled as unicode.
- Convert a string from a file to unicode if cmd is compiled as unicode.

svn path=/trunk/; revision=5457
2003-08-07 09:34:16 +00:00
Hartmut Birr
84c6569f84 - Fixed some type problems if cmd is compiled as unicode.
svn path=/trunk/; revision=5456
2003-08-07 09:27:42 +00:00
Hartmut Birr
5d1c88be8a - Fixed the build of the environmen in some functions.
svn path=/trunk/; revision=5455
2003-08-07 09:14:14 +00:00
Hartmut Birr
8aadf00967 - Added a missing call to string in __vfwprintf.
svn path=/trunk/; revision=5454
2003-08-07 09:11:08 +00:00
Hartmut Birr
d0daff91e8 - Set the _IOBINARY flag for in memory streams.
- Fixed the size of the terminating 0 in vswprintf/_vsnwprintf.

svn path=/trunk/; revision=5453
2003-08-07 09:08:45 +00:00
Hartmut Birr
2ecabff0a3 - Fixed the format string in GetTempFileNameW.
svn path=/trunk/; revision=5452
2003-08-07 09:05:43 +00:00
Hartmut Birr
0d5b332d52 - Fixed _(w)splitpath.
svn path=/trunk/; revision=5451
2003-08-07 09:04:10 +00:00
Royce Mitchell III
fcd871c119 patch by vizzini - added settings for vmware's net driver, implemented a handful of functions needed by the driver, more to come
svn path=/trunk/; revision=5450
2003-08-07 05:28:33 +00:00
Royce Mitchell III
74ff28452f * added _DISABLE_TIDENTS macro to disable any ANSI/UNICODE ambiguous elements from the header files.
* enabled _DISABLE_TIDENTS for most ReactOS OS components.
* fixed all errors that resulted from this change
* a few small bugfixes along the way

svn path=/trunk/; revision=5449
2003-08-07 04:03:25 +00:00
Royce Mitchell III
8828590645 function name to left-most column
svn path=/trunk/; revision=5448
2003-08-07 03:35:06 +00:00
Royce Mitchell III
ab15b1074b function names to left-most column
svn path=/trunk/; revision=5447
2003-08-07 03:32:00 +00:00
Royce Mitchell III
83c7463719 function names to left column
svn path=/trunk/; revision=5446
2003-08-07 03:29:44 +00:00
Royce Mitchell III
de019849b6 moved _NtCurrentTeb()'s function name to left-most column.
svn path=/trunk/; revision=5445
2003-08-07 01:51:42 +00:00
Royce Mitchell III
5784df93e4 bugfix: UNICODE_STRING objects are not null-terminated by default, but LoadLibraryW expects a null-terminated string.
svn path=/trunk/; revision=5444
2003-08-06 22:05:46 +00:00
Thomas Bluemel
2f728ecc17 some work on menus
svn path=/trunk/; revision=5443
2003-08-06 18:43:58 +00:00
Thomas Bluemel
bd3582207d more work on window classes and RegisterClass[Ex] by Jonathan Wilson
svn path=/trunk/; revision=5442
2003-08-06 16:47:35 +00:00
Royce Mitchell III
9eba70c367 Updated by TortoiseCVS
svn path=/trunk/; revision=5441
2003-08-06 16:39:57 +00:00
Eric Kohl
3b90d80a10 Implemented partition creation and deletion on the internal partition list.
Moved some functions from usetup.c to partlist.c.
Removed unused code.

svn path=/trunk/; revision=5440
2003-08-06 16:37:46 +00:00
Aleksey Bragin
1e452928ca Fixed GetWindowWord()
svn path=/trunk/; revision=5439
2003-08-06 16:37:28 +00:00
Aleksey Bragin
ec326fe1d6 Implemented GetWindowWord() as call to NtuserGetWindowLong() with casting result to WORD.
svn path=/trunk/; revision=5438
2003-08-06 15:38:13 +00:00
Aleksey Bragin
80c5a9419a Added GetWindowWord function to def and edf file
svn path=/trunk/; revision=5437
2003-08-06 15:34:46 +00:00
David Welch
c1de116da3 - Allow painting of the desktop window (why was this removed?)
svn path=/trunk/; revision=5436
2003-08-06 15:27:27 +00:00
David Welch
e373dfabf4 - Optimized implementation of blits from the display surface to a 4BPP DIB.
svn path=/trunk/; revision=5435
2003-08-06 13:53:18 +00:00
David Welch
5d3d0bf17b - Added .cvsignore file for this application.
svn path=/trunk/; revision=5434
2003-08-06 13:52:03 +00:00
David Welch
a1cbe39ded - Updated .cvsignore file for this dll.
svn path=/trunk/; revision=5433
2003-08-06 13:50:54 +00:00
David Welch
f5088eb8d9 - Added .cvsignore file for this directory.
svn path=/trunk/; revision=5432
2003-08-06 13:50:19 +00:00
Thomas Bluemel
461b5018b2 Some changes for menus and unstubbed NtUserGetSystemMenu(), NtUserSetSystemMenu() and NtUserCallHwndLock()
svn path=/trunk/; revision=5431
2003-08-06 13:17:44 +00:00
James Tabor
e5793b92ec Found problem when copy file to C:\TEST, output result was C:TEST, which placed it in current directory. CMD copy is still buggy.
svn path=/trunk/; revision=5430
2003-08-06 11:33:03 +00:00
Thomas Bluemel
0a6485b203 Some changes for menus and unstubbed NtUserCallNoParam() and NtUserCallOneParam()
svn path=/trunk/; revision=5429
2003-08-06 11:32:17 +00:00
James Tabor
a98f5b2575 Fix copy *.exe c:\test and c:test. Made use of GetFullPathNameA to force clean paths.
svn path=/trunk/; revision=5428
2003-08-05 23:48:51 +00:00
James Tabor
5c18315741 Found problem when copy file to C:\TEST, output result was C:TEST, which placed it in current directory. CMD copy is still buggy.
svn path=/trunk/; revision=5427
2003-08-05 23:30:03 +00:00
Emanuele Aliberti
0275f1127b FsRtlInitializeOplock is implemented with a void function because it is obsolete.
svn path=/trunk/; revision=5426
2003-08-05 21:37:21 +00:00
Eric Kohl
5f3ceed713 Added some cosmetical fixes.
Fixed size of trailing unused disk space.
Create partition page adds partition to internal list.
No on-disk changes yet.

svn path=/trunk/; revision=5425
2003-08-05 20:39:24 +00:00
Thomas Bluemel
0c3a60aa71 Added some more menu functions
svn path=/trunk/; revision=5424
2003-08-05 19:50:57 +00:00
Jason Filby
6295a1f99b Dont include winfile in main makefile since it doesnt compile
svn path=/trunk/; revision=5423
2003-08-05 19:05:32 +00:00
Thomas Bluemel
64c31c759c ANSI/UNICODE struct separation patch by Royce3, ANSI/UNICODE WNDCLASS separation and new gdi32 functions by Jonathan Wilson
svn path=/trunk/; revision=5422
2003-08-05 15:41:03 +00:00
Aleksey Bragin
d932b77179 Implemented NdisImmediateReadPort..() and NdisImmediateWritePort...() as calls to hal's READ_PORT_xxx and WRITE_PORT_xxx
svn path=/trunk/; revision=5421
2003-08-05 12:22:48 +00:00
Thomas Bluemel
7d209b51d0 Added new menu functions and fixed some bugs
svn path=/trunk/; revision=5420
2003-08-04 23:52:25 +00:00
Royce Mitchell III
e4dec071c1 added an ASSERT to W32kIsDesktopWindow()
svn path=/trunk/; revision=5419
2003-08-04 21:21:13 +00:00
Eric Kohl
c6f66985bf Additions and fix to NtQueryInformationProcess.
Patch by Mike Nordell.

svn path=/trunk/; revision=5418
2003-08-04 20:44:54 +00:00
Royce Mitchell III
cc71b9ec7a initial implementation of EngLockSurface and EngUnlockSurface
svn path=/trunk/; revision=5417
2003-08-04 19:57:47 +00:00
Royce Mitchell III
35e4a473dd marked implemented functions as such
svn path=/trunk/; revision=5416
2003-08-04 19:57:05 +00:00
Royce Mitchell III
f460558ae4 patch by vizzini - began addition of NDIS4 support to ndis.sys; began conversion of tcpip.sys to NDIS4, adjusted bindings info in the registry
svn path=/trunk/; revision=5415
2003-08-04 19:31:06 +00:00
Royce Mitchell III
602faeb404 bugfix in W32kDeleteDC() - you can't release a NULL handle ( i.e. DCToDelete->w.hBitmap )
svn path=/trunk/; revision=5414
2003-08-04 19:10:52 +00:00
Royce Mitchell III
0132757b63 reformatting + fix GDIOBJ_LockMultipleObj() to not try to lock a NULL handle.
svn path=/trunk/; revision=5413
2003-08-04 19:08:26 +00:00
Royce Mitchell III
3f0eccc563 reformatting, check return value of GDIOBJ_LockMultipleObj(), allow compile to calc size of Lock for calls to GDIOBJ_LockMultipleObj()
svn path=/trunk/; revision=5412
2003-08-04 19:07:50 +00:00
Royce Mitchell III
0af13836af fixed spelling error
svn path=/trunk/; revision=5411
2003-08-04 17:54:52 +00:00
Gunnar Dalsnes
a24079b8cc -misc
svn path=/trunk/; revision=5410
2003-08-04 16:56:49 +00:00
Gunnar Dalsnes
878bd7b8e1 -W32k/NtUser separation
-cleanup
-misc

svn path=/trunk/; revision=5409
2003-08-04 16:55:36 +00:00
Eric Kohl
92bab0c786 Cleaned up the partition list and update the status line.
Removed some global partition data.
Added delete partition page.

svn path=/trunk/; revision=5408
2003-08-04 15:54:05 +00:00
Thomas Bluemel
0b2338e5a9 made very small changes to some menu function definitions
svn path=/trunk/; revision=5407
2003-08-04 10:14:19 +00:00
Thomas Bluemel
ef0c664be9 Implemented a few things...
svn path=/trunk/; revision=5406
2003-08-04 10:13:51 +00:00
Hartmut Birr
afa27c2690 - Fixed a buffer overflow, if a atapi device returns more bytes as requested.
svn path=/trunk/; revision=5405
2003-08-04 08:32:48 +00:00
Hartmut Birr
0fe3e63201 - Fixed the calculation of the block end.
- Allocate large blocks (>=PAGE_SIZE) page aligned.

svn path=/trunk/; revision=5404
2003-08-04 08:26:19 +00:00
James Tabor
fdee06eae0 Fix end of line,
svn path=/trunk/; revision=5403
2003-08-04 03:30:34 +00:00
Royce Mitchell III
78dffae46c new version of PagedPoolCacheAligned. Fixing the problem in subsys/win32k/objects/dc.c allows this code to work perfectly ( even when forcing all PagedPool allocations to be cache aligned. Also implemented buffer over/under-run detection for the PagedPool.
svn path=/trunk/; revision=5402
2003-08-04 00:39:58 +00:00
Royce Mitchell III
330f6dce4f fixed 2 bugs in HEAP_strdupA2W, moved the HEAP_ functions to their own file, and caching the results of RtlGetProcessHeap() for improved performance.
svn path=/trunk/; revision=5401
2003-08-04 00:28:44 +00:00
Royce Mitchell III
bd3999379b clean-up work on my GDIOBJ lock/unlock tracing/debugging
svn path=/trunk/; revision=5400
2003-08-04 00:24:07 +00:00
Royce Mitchell III
1ddb9c245b fixed major ( but obscure ) bug, passing a PDC where an HDC should have been.
svn path=/trunk/; revision=5399
2003-08-04 00:18:21 +00:00
Emanuele Aliberti
a389755afc tlist in rosapps now compiles again.
svn path=/trunk/; revision=5398
2003-08-03 18:06:02 +00:00
Emanuele Aliberti
a98f810f35 CTM in rosapps now compiles again.
svn path=/trunk/; revision=5397
2003-08-03 18:00:41 +00:00
Jason Filby
83c3378434 Comment CTM out from main makefile until it can compile
svn path=/trunk/; revision=5396
2003-08-03 16:37:46 +00:00
Emanuele Aliberti
775fc49699 FsRtlSyncVolumes is implemented, even if it does nothing, because it is an absolete API since NT 4.0 or NT 3.50.
svn path=/trunk/; revision=5395
2003-08-03 15:53:45 +00:00
Emanuele Aliberti
bfa5b471b5 IMAGE_SUBSYSTEM_EFI_xxx added (KJK::Hyperion)
svn path=/trunk/; revision=5394
2003-08-03 15:34:52 +00:00
Royce Mitchell III
c5edad3a6b fixed declarations for W32kSetProp & W32kGetProp to eliminate build errors.
svn path=/trunk/; revision=5393
2003-08-03 15:08:14 +00:00
Eric Kohl
94880f6c27 Replaced partition arrays by a doubly-linked lists.
Display unpartitioned disk space correctly.

svn path=/trunk/; revision=5392
2003-08-03 12:20:22 +00:00
Richard Campbell
922496846f Removed duplicate code for drawing min/max/close buttons, I can actually implement this even better, but i have to leave.
svn path=/trunk/; revision=5391
2003-08-03 01:48:53 +00:00
David Welch
786dbef8e2 - Repaint the parent window in the non-paintself case.
- Updates since DceGetVisRgn returns a region which is in screen(?) coordinates.- Hacks to allow repainting of the desktop.

svn path=/trunk/; revision=5390
2003-08-02 19:56:19 +00:00
David Welch
6cb3436154 - Fixed vga to vga blits with a negative direction.
svn path=/trunk/; revision=5389
2003-08-02 19:53:56 +00:00
David Welch
a319015f49 - Fixed negative width/height off by one.
svn path=/trunk/; revision=5388
2003-08-02 19:52:03 +00:00
David Welch
334c131a7a - Fixed rounding direction.
svn path=/trunk/; revision=5387
2003-08-02 19:46:52 +00:00
Gunnar Dalsnes
5152bc11cc -partially impl. GetQueueStatus, GetInputState
svn path=/trunk/; revision=5386
2003-08-02 16:56:13 +00:00
Gunnar Dalsnes
d550965766 -invented NtUserGetQueueStatus
svn path=/trunk/; revision=5385
2003-08-02 16:54:38 +00:00
Gunnar Dalsnes
eec230298d -added queue bits (currently unused)
svn path=/trunk/; revision=5384
2003-08-02 16:53:40 +00:00
Gunnar Dalsnes
7f050c459b -invented NtUserGetQueueStatus
-added queue bits (currently unused)

svn path=/trunk/; revision=5383
2003-08-02 16:53:08 +00:00
Eric Kohl
0c6dca9836 Replaced array of disk entries in partition list by doubley-linked list of disk entries.
Disabled create, delete and format partition until bugs are fixed.

svn path=/trunk/; revision=5382
2003-08-02 16:49:36 +00:00
Gunnar Dalsnes
3ff6d5b32d -Introduce new WinSta lock to replace most others
svn path=/trunk/; revision=5381
2003-08-02 16:32:53 +00:00
Gunnar Dalsnes
59caa89d83 -W32k/NtUser separation
-Introduce new WinSta lock to replace most others

svn path=/trunk/; revision=5380
2003-08-02 16:32:18 +00:00
Emanuele Aliberti
0eec40929a IMAGE_SUBSYSTEM_XBOX added (Barubary).
svn path=/trunk/; revision=5379
2003-08-02 14:23:29 +00:00
Thomas Bluemel
c6ab1f9b5f Added the MENUITEMINFOA/W structure
svn path=/trunk/; revision=5377
2003-08-02 01:54:24 +00:00
Royce Mitchell III
920142e43a fixed build error
svn path=/trunk/; revision=5376
2003-08-02 00:34:19 +00:00
Royce Mitchell III
9bf077bd41 added UNIMPLEMENTED macro and return 0 to NtUserMenuInfo
svn path=/trunk/; revision=5375
2003-08-02 00:03:33 +00:00
Royce Mitchell III
85ee89fefe moved function names to left-most column
svn path=/trunk/; revision=5374
2003-08-01 23:53:55 +00:00
Royce Mitchell III
6779fdedf7 added file/line# tracking to GDIOBJ locking & unlocking to help track down any remaining GDIOBJ locking issues.
svn path=/trunk/; revision=5373
2003-08-01 20:54:03 +00:00
David Welch
786eaea3f0 - Check the validity of the window handle before calling checking for
a desktop in NtUserGetAncestor.

svn path=/trunk/; revision=5372
2003-08-01 20:24:54 +00:00
David Welch
ec488b1f40 - Realize the system font when creating a DC - avoids a crash on simple
startup.

svn path=/trunk/; revision=5371
2003-08-01 20:22:58 +00:00
Royce Mitchell III
2f64211efe reformatted and fixed one of the gdi locking bugs
svn path=/trunk/; revision=5370
2003-08-01 19:42:54 +00:00
David Welch
9b7ffc9f8a - Implemented GetMessagePos and GetMessageTime
svn path=/trunk/; revision=5369
2003-08-01 18:45:35 +00:00
Royce Mitchell III
63f62de42d death to warnings
svn path=/trunk/; revision=5368
2003-08-01 16:08:14 +00:00
David Welch
81ef6d78bf - Forgot this file.
svn path=/trunk/; revision=5367
2003-08-01 14:44:03 +00:00
David Welch
f09f142871 - More support for window moving. The window moves but what was below the
old position isn't repainted.

svn path=/trunk/; revision=5366
2003-08-01 14:38:51 +00:00
David Welch
07a3d1d8e3 - Added a missing break - fixes nonmasked, non-pattern blits.
- Added support for all vga to vga blit directions.

svn path=/trunk/; revision=5365
2003-08-01 14:34:19 +00:00
Eric Kohl
f8c432602c Fixed target directory for setupldr.sys.
svn path=/trunk/; revision=5364
2003-08-01 14:16:19 +00:00
Thomas Bluemel
36629a61f8 Changed a few definitions
svn path=/trunk/; revision=5363
2003-08-01 11:57:08 +00:00
Thomas Bluemel
2fc0098fe8 Moved a function from menu.c to window.c
svn path=/trunk/; revision=5362
2003-08-01 11:56:43 +00:00
David Welch
571d3f55d3 - Delete the device object and symbolic link if connecting to the port
driver fails.

svn path=/trunk/; revision=5361
2003-08-01 11:47:14 +00:00
Thomas Bluemel
ef7b713c37 Added a few new syscalls
svn path=/trunk/; revision=5360
2003-08-01 10:56:40 +00:00
Thomas Bluemel
6af74c71d9 Added some menu functions
svn path=/trunk/; revision=5359
2003-08-01 10:55:19 +00:00
Thomas Bluemel
7a7250c74b Adjusted usage hints
svn path=/trunk/; revision=5358
2003-08-01 09:06:54 +00:00
Richard Campbell
d798d54a08 boredom, figured i'd commit the change ;)
svn path=/trunk/; revision=5357
2003-08-01 06:32:55 +00:00
Richard Campbell
50a9df0d98 sync with latest wine source tree
svn path=/trunk/; revision=5356
2003-08-01 06:30:52 +00:00
Thomas Bluemel
66615a0c8a Implemented LoadMenuIndirectW()
svn path=/trunk/; revision=5355
2003-08-01 00:44:27 +00:00
Thomas Bluemel
08210803d8 new menu.c
svn path=/trunk/; revision=5354
2003-07-31 23:15:07 +00:00
Thomas Bluemel
feea865c46 Menu functions
svn path=/trunk/; revision=5353
2003-07-31 23:14:37 +00:00
Thomas Bluemel
381c1c6ca9 removed menu functions
svn path=/trunk/; revision=5352
2003-07-31 23:12:38 +00:00
Thomas Bluemel
536f4271e0 Added otMenu type
svn path=/trunk/; revision=5351
2003-07-31 23:11:38 +00:00
Thomas Bluemel
b8fa0ee48c Added W32kGetSysColorBrush() that's included by menu.c
svn path=/trunk/; revision=5350
2003-07-31 23:08:49 +00:00
Thomas Bluemel
a765936fc3 Modified CreateMenu() and DestroyMenu()
svn path=/trunk/; revision=5349
2003-07-31 23:06:43 +00:00
Thomas Bluemel
7cedf407f1 Added menu functions NtUser*
svn path=/trunk/; revision=5348
2003-07-31 23:04:48 +00:00
Thomas Bluemel
3445150d31 Added Handle table for menus
svn path=/trunk/; revision=5347
2003-07-31 23:00:55 +00:00
Martin Fuchs
23845e1644 fix include path for version.h
svn path=/trunk/; revision=5346
2003-07-31 22:00:18 +00:00
Martin Fuchs
c76d495bff Declared IDragSourceHelper
svn path=/trunk/; revision=5345
2003-07-31 21:54:28 +00:00
Royce Mitchell III
cab1b119f1 marked NdisAllocateMemoryWithTag as @implemented
svn path=/trunk/; revision=5344
2003-07-31 21:50:50 +00:00
Royce Mitchell III
361cc25b24 no code change - moved function names to beginning of line
svn path=/trunk/; revision=5343
2003-07-31 18:24:43 +00:00
Royce Mitchell III
a1de567eff kbdus.dll - submitted by art yerkes
svn path=/trunk/; revision=5342
2003-07-31 16:47:08 +00:00
David Welch
0b78b457fc - Reverted incorrect code.
svn path=/trunk/; revision=5341
2003-07-31 11:16:10 +00:00
Royce Mitchell III
bbb0ecb401 added page-aligned allocations ( reworked patch by Mike Nordell )
fixed 2 small probs w/ ntoskrnl.edf

svn path=/trunk/; revision=5340
2003-07-31 01:44:18 +00:00
Royce Mitchell III
84610d9546 fixed bug in struct _MODIFIERS declaration.
svn path=/trunk/; revision=5339
2003-07-31 00:52:59 +00:00
Steven Edwards
77dba28717 Added missing files from Vizzinis NDIS patch
svn path=/trunk/; revision=5338
2003-07-30 23:41:55 +00:00
Royce Mitchell III
eab39eae46 patch submitted by Vizzini (tested by myself) - implemented Ndis configuration api, adapted ne2000 to use it to get configuration, fixed up registry support for ne2000 driver, other supporting changes
svn path=/trunk/; revision=5337
2003-07-30 22:11:20 +00:00
Royce Mitchell III
e5f5b27064 disabled check for existing hive. Needed because hivesys.inf will be getting an update soon, and mkhive can't recognize that an existing file may be out of date.
svn path=/trunk/; revision=5336
2003-07-30 21:22:51 +00:00
Hartmut Birr
09c3a66c65 - Don't allocate/free a class name string in User32ConvertToAsciiMessage/
User32FreeAsciiConvertedMessage if the class name is an atom.

svn path=/trunk/; revision=5335
2003-07-30 19:36:36 +00:00
Magnus Olsen
f15e2b76b9 *** empty log message ***
svn path=/trunk/; revision=5334
2003-07-30 19:06:55 +00:00
Magnus Olsen
007c07efe6 *** empty log message ***
svn path=/trunk/; revision=5333
2003-07-30 18:55:27 +00:00
Royce Mitchell III
98f9507c1e cast away warning, reformatted function definition to conform to standard.
svn path=/trunk/; revision=5332
2003-07-30 18:35:03 +00:00
Martin Fuchs
8bd2e4e942 adapt winefile project file for new file hierarchie
svn path=/trunk/; revision=5331
2003-07-30 16:46:22 +00:00
Martin Fuchs
21ee9e011a usage of Get/SetShellWindow() for registering desktop window; display desktop only, if there is not already another
svn path=/trunk/; revision=5330
2003-07-30 16:44:43 +00:00
Royce Mitchell III
d2cd5c9398 renamed apps/tests/button, apps/test/button2 & apps/tests/tokentest to be ISO-9660 compatible.
fixed install.bat to reflect those changes, and commented out missing files.
fixed cdmake to abort on non-ISO-9660 names, and removed name mangling.

svn path=/trunk/; revision=5329
2003-07-30 14:08:16 +00:00
Eric Kohl
2d1ca36bba Fixed returned key names in calls to NtEnumerateKey() and NtQueryKey().
svn path=/trunk/; revision=5328
2003-07-30 10:49:09 +00:00
Martin Fuchs
31caa1aaff declare some additional missing shell constants and types
svn path=/trunk/; revision=5327
2003-07-30 05:43:07 +00:00
James Tabor
ff990ad35e Created NtUserCreateMenu.
svn path=/trunk/; revision=5326
2003-07-30 04:00:47 +00:00
James Tabor
f01a4bbc85 Adding Art Yerkes Keyboard Patch
svn path=/trunk/; revision=5325
2003-07-29 23:34:12 +00:00
James Tabor
ad08e4b8c5 Adding Art Yerkes Keyboard Patch
svn path=/trunk/; revision=5324
2003-07-29 23:24:01 +00:00
James Tabor
bf7329e25b Adding Art Yerkes Keyboard Testing Code
svn path=/trunk/; revision=5323
2003-07-29 23:03:01 +00:00
Richard Campbell
9b70e2debd A few bugfixes
svn path=/trunk/; revision=5322
2003-07-29 22:42:26 +00:00
James Tabor
132dc80b26 Adding Art Yerkes Keyboard Testing Code
svn path=/trunk/; revision=5321
2003-07-29 20:38:30 +00:00
Royce Mitchell III
d818b09a8c changes to compile on VC6 & fixed some long file name issues I was experiencing.
svn path=/trunk/; revision=5320
2003-07-29 20:30:11 +00:00
Royce Mitchell III
304ae1f0b9 another patch by Mike Nordell. Fixed pointer math to be AMD64 compatible per David Welch.
svn path=/trunk/; revision=5319
2003-07-29 19:43:13 +00:00
Royce Mitchell III
6992ecb9fa casting bug-fix in mm/npool.c - submitted by Mike Nordell aka tamlin - builds & boots to winhello for him & I both.
svn path=/trunk/; revision=5318
2003-07-29 19:00:34 +00:00
Royce Mitchell III
a1edd5239a fixed pointer math to be portable
svn path=/trunk/; revision=5317
2003-07-29 18:51:11 +00:00
Hartmut Birr
c709aacf75 - Close always the thread and process handle, even if cmd does not wait for termination of the process.
svn path=/trunk/; revision=5316
2003-07-29 18:27:10 +00:00
Hartmut Birr
e8644f681b - Reintialize the timer object to reset the event object if there is no user timer in the list.
svn path=/trunk/; revision=5315
2003-07-29 18:17:53 +00:00
Royce Mitchell III
d72f016227 fixed all my bugs passing PUNICODE_STRING objects as PWSTR. Fixed signature of RtlMultiByteToUnicodeN.
svn path=/trunk/; revision=5314
2003-07-29 16:44:48 +00:00
Royce Mitchell III
ef3c8f80d8 fix compiler bug warning by casting to void*
svn path=/trunk/; revision=5313
2003-07-29 16:42:35 +00:00
Eric Kohl
8d0d5db7c6 Make sure the object name is a zero-terminated Unicode in ObFindObject().
Bug found by Royce Mitchell and Vizzini.

svn path=/trunk/; revision=5312
2003-07-29 14:37:39 +00:00
Eric Kohl
5e24ec3176 Defined UNICODE_NULL.
svn path=/trunk/; revision=5311
2003-07-29 14:31:48 +00:00
Martin Fuchs
0ec78164b0 extended cvsignore
svn path=/trunk/; revision=5310
2003-07-29 06:57:19 +00:00
Richard Campbell
9a42a52561 reverted SetWindowPos change, causes display errors in other windows...
svn path=/trunk/; revision=5309
2003-07-29 05:37:23 +00:00
Richard Campbell
0f93fcfd62 Fixed a possible bug in mouse detection, the code states the return is because bochs coughs on the rest of the code, but it seems to work fine now...might this be why some people have issues with mice on real hardware? will check into this later.
svn path=/trunk/; revision=5308
2003-07-29 05:33:15 +00:00
Richard Campbell
51ddb25af9 small fix (subtracts 1 from each side of the client area) done for winemine
svn path=/trunk/; revision=5307
2003-07-29 02:14:46 +00:00
Royce Mitchell III
032b4ea8e6 added *.tmp to .cvsignore
svn path=/trunk/; revision=5306
2003-07-29 00:27:40 +00:00
Eric Kohl
c08e57bdfe Added some more features for messageboxes (MB_HELP, MB_RIGHT,
MB_CANCELTRYCONTINUE, MB_TOPMOST) and made some other changes.
Patch by Thomas Weidenmueller.

svn path=/trunk/; revision=5305
2003-07-28 23:23:17 +00:00
Royce Mitchell III
c96f5dedff fixed allocation size in call to RtlAllocateHeap
svn path=/trunk/; revision=5304
2003-07-28 19:38:58 +00:00
Royce Mitchell III
0d53ee5681 cast return value of RtlAllocateHeap to proper type
svn path=/trunk/; revision=5303
2003-07-28 19:37:13 +00:00
Royce Mitchell III
e170c778de fixed parameter declaration for GetSystemWindowsDirectoryA
svn path=/trunk/; revision=5302
2003-07-28 18:39:41 +00:00
Eric Kohl
1acf351783 Added Messagebox support.
Patch by Thomas Weidenmueller.

svn path=/trunk/; revision=5301
2003-07-28 08:09:51 +00:00
Steven Edwards
70d7e57a1d Mike McCormack <mike@codeweavers.com>
wvsnprint accepts %p too (on win2k).

svn path=/trunk/; revision=5300
2003-07-28 03:51:33 +00:00
Steven Edwards
cb4c1883dd Build Fix
svn path=/trunk/; revision=5299
2003-07-28 03:28:07 +00:00
Steven Edwards
c272eb5359 Fix buidling calc
svn path=/trunk/; revision=5298
2003-07-28 02:26:15 +00:00
James Tabor
ca40c0ffd4 Switch Thread and Process Id around in W32kGetWindowThreadProcessId
svn path=/trunk/; revision=5297
2003-07-28 02:05:46 +00:00
James Tabor
d3b4f0a838 Changes based on Gunnar Andr Dalsnes Thread & Process Id patch
svn path=/trunk/; revision=5296
2003-07-28 01:22:28 +00:00
Eric Kohl
3b66543ecb Added missing MultiSz support.
Fixed some minor bugs.

svn path=/trunk/; revision=5295
2003-07-27 22:27:36 +00:00
Steven Edwards
78e43e0f29 Treat DWORD values as unsigned - Patch by vizzini
svn path=/trunk/; revision=5294
2003-07-27 22:00:26 +00:00
David Welch
2ce9849248 - RegisterClassExA: Don't try to convert a class name which is an atom
to unicode.
- NtUserRegisterClass: Track classes by atom not by name.

svn path=/trunk/; revision=5293
2003-07-27 21:35:50 +00:00
David Welch
df807693a0 - Pass the rop code to PatBlt down to the BitBlt functions.
- Emulate all rop codes on dib 4bpp surfaces. I left the current code
as an optimized case for SRCCOPY.

svn path=/trunk/; revision=5292
2003-07-27 18:37:23 +00:00
David Welch
f858d1a51d - Made the argument to W32kIsEmptyRect constant; fixes some warnings.
svn path=/trunk/; revision=5291
2003-07-27 18:34:48 +00:00
Eric Kohl
938493d413 Added dialog class registration.
Patch by Thomas Weidenmueller.

svn path=/trunk/; revision=5290
2003-07-27 17:48:43 +00:00
Hartmut Birr
b7b1ad8ea9 - Set the deault base for user mode dlls to 0x10000000.
- Fixed the reloc entries for a user mode dll by a second call to ld/dlltools.

svn path=/trunk/; revision=5289
2003-07-27 14:08:38 +00:00
Hartmut Birr
70ebdbd3ec - Protected each access to the module list with acquiring the loader lock.
- Removed the both list entries from the module list in LdrUnloadDll.

svn path=/trunk/; revision=5288
2003-07-27 14:00:04 +00:00
David Welch
d7c14e4f71 - Made a start on implemented window moving.
- Implemented capturing input.
- Implemented some of window activation.
- Fixed a bug in NtUserGetAncestor - Don't return the desktop window for
GA_ROOT.

svn path=/trunk/; revision=5287
2003-07-27 11:54:42 +00:00
David Welch
fc10a5b013 - Don't continue the exception if there are no seh frames at all.
svn path=/trunk/; revision=5286
2003-07-27 11:49:32 +00:00
Eric Kohl
4a35181ef2 Implemented LdrQueryImageFileExecutionOptions().
svn path=/trunk/; revision=5285
2003-07-27 11:40:01 +00:00
Royce Mitchell III
f82ee00571 added missing assert for unhandled case in RtlMultiByteToUnicodeSize
svn path=/trunk/; revision=5284
2003-07-26 23:25:17 +00:00
Royce Mitchell III
a79eb7852c put variables at top to eliminate build error in DIALOG_CreateControls32
svn path=/trunk/; revision=5283
2003-07-26 23:12:08 +00:00
Royce Mitchell III
a432924599 no more complaints about missing .d files during build (yay!) - submitted by arty
svn path=/trunk/; revision=5282
2003-07-26 22:51:03 +00:00
David Welch
90e968621b - Forgot these files; sorry everyone.
svn path=/trunk/; revision=5281
2003-07-26 20:05:45 +00:00
Richard Campbell
6408c767ef bugfixes by Thomas Weidenmueller
svn path=/trunk/; revision=5280
2003-07-26 18:38:52 +00:00
David Welch
ae73363a39 Added some code from wine from menus.
svn path=/trunk/; revision=5279
2003-07-26 15:48:47 +00:00
Hartmut Birr
6b89ce1a25 - Fixed the using of the assert macro.
svn path=/trunk/; revision=5278
2003-07-26 14:56:55 +00:00
Richard Campbell
27d761134d dialog.c patch by Thomas Weidenmueller
svn path=/trunk/; revision=5277
2003-07-26 14:55:35 +00:00
Hartmut Birr
bb9fe349f2 - Moved the code for freeing a segment to separate function (MmUnmapViewOfSegment).
- Freed all segments for an image section in MmUnmapViewOfSection.

svn path=/trunk/; revision=5276
2003-07-26 12:47:51 +00:00
Hartmut Birr
fc9d49f8c0 - Freed the no access memory area in MmReleaseMemoryArea.
- Changed the iteration through the memory area list in MmReleaseMemoryArea.

svn path=/trunk/; revision=5275
2003-07-26 12:45:37 +00:00
Hartmut Birr
501204c9c5 - Fixed the compared length of the name in LdrFindEntryForName.
- Initialized the section handle for a loaded dll in LdrPEStartup.

svn path=/trunk/; revision=5274
2003-07-26 12:44:20 +00:00
Royce Mitchell III
2c955c5467 bigger font + reorganized
svn path=/trunk/; revision=5273
2003-07-26 00:04:02 +00:00
Royce Mitchell III
fd46a0c711 removed unused variable causing build failure. Also fixed int/ptr comparison warning
svn path=/trunk/; revision=5272
2003-07-25 23:57:20 +00:00
David Welch
99f9c40405 - Use a paged lookside list for window messages.
svn path=/trunk/; revision=5271
2003-07-25 23:53:36 +00:00
David Welch
2a0a58c945 - Added InterlockedPushEntrySList export so lookaside lists can be used
from outside ntoskrnl.

svn path=/trunk/; revision=5270
2003-07-25 23:51:23 +00:00
Royce Mitchell III
f66a066087 got rid of BS_FLAT ( Casper added it to include/defines.h )
svn path=/trunk/; revision=5269
2003-07-25 23:50:37 +00:00
Royce Mitchell III
bf34364f74 implementation of window enumeration. thread window enumeration appears to have a problem. Would someone who understands it better please fix it?
svn path=/trunk/; revision=5268
2003-07-25 23:02:21 +00:00
Steven Edwards
8a66dfeaad Added expand program ported from WINE.
svn path=/trunk/; revision=5267
2003-07-25 21:51:30 +00:00
Steven Edwards
56670e025c remove asm code from WINE string function.
svn path=/trunk/; revision=5266
2003-07-25 21:42:14 +00:00
Gunnar Dalsnes
457baf8e8c GetWindowThreadProcessId impl./fixed
svn path=/trunk/; revision=5265
2003-07-25 19:37:14 +00:00
Gunnar Dalsnes
a857d3b160 NtUser-/W32kGetWindowThreadProcessId impl.
svn path=/trunk/; revision=5264
2003-07-25 19:36:26 +00:00
Royce Mitchell III
1e85120647 test case for EnumWindows, EnumChildWindows, etc... all functions that make use of NtUserBuildHwndList
svn path=/trunk/; revision=5263
2003-07-25 19:13:14 +00:00
Gé van Geldorp
a5abfe745b Fix Sermouse entry
svn path=/trunk/; revision=5262
2003-07-25 08:47:30 +00:00
Royce Mitchell III
62662b7a88 destubbing
svn path=/trunk/; revision=5260
2003-07-24 22:17:15 +00:00
Gé van Geldorp
a847c6c2a6 Finished W32kGetTextExtentExPoint() implementation
svn path=/trunk/; revision=5259
2003-07-24 21:23:37 +00:00
Casper Hornstrup
b8ae2f9b96 2003-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/fs/vfat/*.c: Remove protection of NDEBUG.

svn path=/trunk/; revision=5258
2003-07-24 20:52:58 +00:00
Steven Edwards
fda0b5ab0b Build and install lz32.dll and twain_32.dll ported from WINE-20030709
svn path=/trunk/; revision=5257
2003-07-24 19:54:25 +00:00
Hartmut Birr
e465a87f9c - Removed import of kernel32.GetVersionExW.
svn path=/trunk/; revision=5256
2003-07-24 19:53:11 +00:00
Steven Edwards
e88c8bf234 Added GetSystemWindowsDirectory[A/W] stub
returning GetWindowsDirectory. FIXME

svn path=/trunk/; revision=5255
2003-07-24 19:50:40 +00:00
Steven Edwards
c32bccd381 Added GetSystemWindowsDirectory[A/W] stub.
svn path=/trunk/; revision=5254
2003-07-24 19:50:03 +00:00
Casper Hornstrup
b1026db1fa 2003-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
Move welcome from rosapps to here and beautify it a bit.

	* Makefile: Copy bootdata/autorun.inf, and bootdata/icon.ico to CD.
	(SYS_APPS) Add welcome.
	* include/defines.h (BS_FLAT): Define.
	* bootdata/autorun.inf: New file.
	* bootdata/icon.ico: Ditto.
	* subsys/system/welcome: New directory.
	* subsys/system/welcome/.cvsignore: New file.
	* subsys/system/welcome/Makefile: Ditto.
	* subsys/system/welcome/resource.h: Ditto.
	* subsys/system/welcome/welcome.c: Ditto.
	* subsys/system/welcome/welcome.rc: Ditto.
	* subsys/system/welcome/res/: New directory.
	* subsys/system/welcome/res/background-right.bmp: New file.
	* subsys/system/welcome/res/background-top.bmp: Ditto.
	* subsys/system/welcome/res/default.bmp: Ditto.
	* subsys/system/welcome/res/icon.ico: Ditto.
	* subsys/system/welcome/res/topic0.bmp: Ditto.
	* subsys/system/welcome/res/topic1.bmp: Ditto.
	* subsys/system/welcome/res/topic2.bmp: Ditto.

svn path=/trunk/; revision=5253
2003-07-24 19:37:20 +00:00
Casper Hornstrup
2b7294bcd1 Make vfatfs compile using VC6.
Patch by Mike Nordell.

svn path=/trunk/; revision=5252
2003-07-24 19:00:42 +00:00
Hartmut Birr
f312ea4371 - Fixed the loading of a segment which raw size is lower than the virtual size.
svn path=/trunk/; revision=5251
2003-07-24 18:37:44 +00:00
Royce Mitchell III
d47c833e21 reorganized for NDIS_WDM support ( submitted by vizzini )
svn path=/trunk/; revision=5250
2003-07-24 18:14:59 +00:00
Royce Mitchell III
080c7a7f06 finished destubbing
svn path=/trunk/; revision=5249
2003-07-24 17:53:13 +00:00
Richard Campbell
91e25632da W32kGetTextExtentExPoint now calls W32kGetTextExtentPoint.
This isn't the correct way of doing things, but it fixes a few bugs and allows more apps to load.  (specifically the samplewindow test
and static window test)

svn path=/trunk/; revision=5248
2003-07-24 16:56:59 +00:00
Gé van Geldorp
7adac2389e Prevent overflow
svn path=/trunk/; revision=5247
2003-07-24 16:28:26 +00:00
Royce Mitchell III
7fa795731e added lib/iphlpapi
svn path=/trunk/; revision=5246
2003-07-24 16:17:15 +00:00
Richard Campbell
d0ed98230d Make SampleWindow by default
svn path=/trunk/; revision=5245
2003-07-24 16:16:10 +00:00
Richard Campbell
acfe0be54e Various unicode/ANSI related bugfixes as pointed out by GvG
svn path=/trunk/; revision=5244
2003-07-24 16:14:33 +00:00
Gé van Geldorp
eb40ebc18a Remove unused files (msvcrt version is used instead)
svn path=/trunk/; revision=5243
2003-07-24 15:59:46 +00:00
Richard Campbell
1b631d3524 MoveWindow once again uses SetWindowPos.
svn path=/trunk/; revision=5242
2003-07-24 15:59:34 +00:00
Richard Campbell
c43855748b Sample window + command button test app by Colin Peters. Added because it doesn't yet work under ROS. Source is under public domain.
Requires GetTextMetricsA to work properly.

svn path=/trunk/; revision=5241
2003-07-24 15:51:58 +00:00
Gé van Geldorp
84ec27b055 Special processing for NULL locale
svn path=/trunk/; revision=5240
2003-07-24 15:38:15 +00:00
Royce Mitchell III
42db286418 RtlGetNtVersionNumbers (from WINE)
svn path=/trunk/; revision=5239
2003-07-24 14:25:33 +00:00
Eric Kohl
901dcf2a27 Native applications must not know about BOOL type.
svn path=/trunk/; revision=5238
2003-07-24 13:52:27 +00:00
Royce Mitchell III
2b64861966 fixed warning in ExitThread - gcc complained that noreturn function does return
svn path=/trunk/; revision=5237
2003-07-24 13:50:26 +00:00
Gé van Geldorp
7e7e74b988 This time, apply the correct patch from Art Yerkes instead of an old one...
svn path=/trunk/; revision=5236
2003-07-24 05:51:26 +00:00
Royce Mitchell III
c522666b4e In C:\cvs\reactos live: cvs -q -z9 commit -m "renamed MyGetAdaptersInfo to GetAdaptersInfo so that iphlpapi will compile. Also fixed some ANSI/UNICODE-related bugs ( eliminating the warnings )." lib/iphlpapi/iphlpapi.c lib/iphlpapi/makefile
CVSROOT=:ext:royce@osexperts.com:/CVS/ReactOS

svn path=/trunk/; revision=5235
2003-07-24 01:08:12 +00:00
Gé van Geldorp
b7fd15bf4b Set up for cross-compiling under Linux, patches by Vizzini
svn path=/trunk/; revision=5234
2003-07-23 21:27:15 +00:00
Gé van Geldorp
f36e90f9c1 Handle non-existing accelerator table
svn path=/trunk/; revision=5233
2003-07-23 20:39:45 +00:00
Gé van Geldorp
2cba955bd3 Fix movement direction of mouse cursor, install serial mouse driver but
do not load it by default

svn path=/trunk/; revision=5232
2003-07-23 20:03:28 +00:00
David Welch
e891a5adeb - Fix buffer overflow if mouse packets are arriving faster than we can
pass them to the callback.

svn path=/trunk/; revision=5231
2003-07-23 19:15:40 +00:00
David Welch
6e6bff4228 - Don't allocate/free a new callback on each callback to user mode.
svn path=/trunk/; revision=5230
2003-07-23 19:13:37 +00:00
Eric Kohl
b3503c4a97 Implemented IOCTL_DISK_IS_WRITABLE.
Reread disk geometry only if disk is removable.

svn path=/trunk/; revision=5229
2003-07-23 18:45:08 +00:00
Gé van Geldorp
0af61c4ff3 Release mutex on NULL hWnd, fix by Art Yerkes
svn path=/trunk/; revision=5228
2003-07-23 17:04:24 +00:00
Gé van Geldorp
42d63c02df Implement NtUserPostThreadMessage and add test program (all by Art Yerkes)
svn path=/trunk/; revision=5227
2003-07-23 17:00:55 +00:00
Gé van Geldorp
aa538172d6 Fixed PRTL_BASE_PROCESS_START_ROUTINE declaration
svn path=/trunk/; revision=5226
2003-07-23 15:30:53 +00:00
James Tabor
340036bb3b Implemented ClientToScreen & IsIconic
svn path=/trunk/; revision=5225
2003-07-23 06:19:14 +00:00
James Tabor
ffa7f8d851 Implemented IsIconic
svn path=/trunk/; revision=5224
2003-07-23 06:14:12 +00:00
Royce Mitchell III
c97baed023 Updated by TortoiseCVS
svn path=/trunk/; revision=5223
2003-07-23 05:48:29 +00:00
Royce Mitchell III
530d335005 Updated by TortoiseCVS
svn path=/trunk/; revision=5222
2003-07-23 05:46:55 +00:00
James Tabor
8b30a5168c Implemented ClientToScreen
svn path=/trunk/; revision=5221
2003-07-23 04:52:44 +00:00
KJK::Hyperion
67939b3b7b Made the thread creation code in ROSRTL more portable
svn path=/trunk/; revision=5220
2003-07-22 20:10:04 +00:00
Eric Kohl
c1efb7ad67 Implemented DC coordinate functions.
Patch by Mike Nordell.

svn path=/trunk/; revision=5219
2003-07-22 20:02:08 +00:00
Gé van Geldorp
add211f2ff Properly close file descriptors, fix by rwreed@users.sourceforge.net
svn path=/trunk/; revision=5218
2003-07-22 08:44:38 +00:00
Steven Edwards
b014017354 Added temp header to ease porting of WINE dlls untill w32api fixes are done.
svn path=/trunk/; revision=5217
2003-07-22 04:30:14 +00:00
Steven Edwards
45e9de34d9 Imported twain_32 in to source tree from WINE 20030709
svn path=/trunk/; revision=5216
2003-07-22 04:00:28 +00:00
Steven Edwards
081d91a2fa Imported lz32.dll in to source tree from WINE 20030709
svn path=/trunk/; revision=5215
2003-07-22 03:58:23 +00:00
James Tabor
415aa9b110 Fix KEBUGCHECK
svn path=/trunk/; revision=5214
2003-07-22 03:17:24 +00:00
Royce Mitchell III
2a438cfb48 created KEBUGCHECK, KEBUGCHECKEX, KEBUGCHECKWITHTS macros to report file/line of bugcheck. replace all direct calls of KeBugCheck, KeBugCheckEx and KeBugCheckWithTs with corresponding macros. I rebuilt from a make clean and it looks good.
svn path=/trunk/; revision=5213
2003-07-21 21:53:53 +00:00
David Welch
15550bfef3 - Checked in a test application which does various operations on a
terminated thread.

svn path=/trunk/; revision=5212
2003-07-21 21:44:28 +00:00
David Welch
b9185cc4c4 - Fix for lengthy delays when freeing a memory area. Don't attach/detach
another process when deleting each page table entry.

svn path=/trunk/; revision=5211
2003-07-21 21:41:21 +00:00
David Welch
a3cf0cbc62 Checked in Petr Matousek's fixes for sending APCs to terminated threads.
svn path=/trunk/; revision=5210
2003-07-21 21:36:01 +00:00
Royce Mitchell III
8b57be1bf4 lib/gdi32/misc/stubsa.c: fixed uninitialized pointer ( lpszDescriptionW ) in GetEnhMetaFileDescription()
svn path=/trunk/; revision=5209
2003-07-21 19:21:48 +00:00
Royce Mitchell III
5c1018772c more gdi32 destubbing.
svn path=/trunk/; revision=5208
2003-07-21 19:05:53 +00:00
James Tabor
d3e86a568d Fix FONTENUMEXPROC in W32kEnumFontFamiliesEx.
svn path=/trunk/; revision=5207
2003-07-21 17:43:46 +00:00
Royce Mitchell III
934564a9a6 more gdi32 destubbing, fixed declarations for EnumFontsA/W
svn path=/trunk/; revision=5206
2003-07-21 05:53:15 +00:00
Royce Mitchell III
ce107e0415 fixed declaration for W32kEnumFontFamiliesEx.
Added RosRtlLogFontA2W and RosRtlLogFontW2A to lib/rosrtl
more destubbing in gdi32/misc/stubsa/w.c

svn path=/trunk/; revision=5205
2003-07-21 04:56:32 +00:00
Royce Mitchell III
d0202ddfa2 put GetObjectW back in stubsw.c until Jim's ready for it
svn path=/trunk/; revision=5204
2003-07-21 04:10:41 +00:00
James Tabor
ca2708a0f7 Implemented Unplugged GDI32 code
svn path=/trunk/; revision=5203
2003-07-21 04:04:31 +00:00
Royce Mitchell III
7966c30375 fixed gdi32 not building. order is important for TARGET_SDKLIBS when dealing with static libraries it seems
svn path=/trunk/; revision=5202
2003-07-21 03:56:27 +00:00
Royce Mitchell III
a16d5260b7 removed duplicate definition (old stub) of PrivilegedServiceAuditAlarmA and PrivilegedServiceAuditAlarmW
svn path=/trunk/; revision=5201
2003-07-21 03:40:58 +00:00
Royce Mitchell III
38dce58aa9 fixed missing constants and build errors
svn path=/trunk/; revision=5200
2003-07-21 03:38:42 +00:00
Royce Mitchell III
aa3f68d3f9 *** empty log message ***
svn path=/trunk/; revision=5199
2003-07-21 02:36:00 +00:00
Royce Mitchell III
414a1f8012 moved USER32_DevModeA2W to lib/rosrtl/misc/devmode.c and renamed to RosRtlDevModeA2W. Modified user32 to use it there now. Fixed several stubs in GDI32 and added AddFontResourceExA/W functions.
svn path=/trunk/; revision=5198
2003-07-21 01:59:51 +00:00
James Tabor
55a6108edf Implemented Unplugged GDI32 code
svn path=/trunk/; revision=5197
2003-07-21 01:20:53 +00:00
Royce Mitchell III
39dc42b6a6 lib/advapi32/reg/reg.c:
copied from wine RegQueryMultipleValuesW, RegReplaceKeyA, RegRestoreKeyA
marked RegSaveKeyA as @implemented

svn path=/trunk/; revision=5196
2003-07-21 00:32:23 +00:00
Hartmut Birr
e9966875c8 - Fixed the volume label length in FsdGetFsVolumeInformation.
svn path=/trunk/; revision=5195
2003-07-20 23:09:01 +00:00
Hartmut Birr
3032eefcc4 - Changed volinfo from a windows to a console program.
svn path=/trunk/; revision=5194
2003-07-20 22:55:39 +00:00
Eric Kohl
537b19a1a3 Implemented missing audit functions.
svn path=/trunk/; revision=5193
2003-07-20 22:11:58 +00:00
Eric Kohl
54fd76554e Moved audit functions to a separate file.
Fixed audit function prototypes.

svn path=/trunk/; revision=5192
2003-07-20 22:10:38 +00:00
Royce Mitchell III
de766fd82e applied Mike Nordell's fix to lib/kernel32/synch/wait.c to fix an integer promotion bug causing WaitForSingleEvent, etc, to timeout early.
svn path=/trunk/; revision=5191
2003-07-20 19:53:53 +00:00
Royce Mitchell III
e475cbc5d8 reworked the code in drivers/fs/vfat/volume.c: FsdGetFsAttributeInformation no longer copies null terminator. Verified GetVolumeInformation still works correctly.
svn path=/trunk/; revision=5190
2003-07-20 18:36:53 +00:00
Royce Mitchell III
a084794f67 lpVolumeNameBuffer wasn't being null terminated either. The line of code to do so was there, but it was missing the "= 0"
svn path=/trunk/; revision=5189
2003-07-20 18:05:46 +00:00
James Tabor
9276a7b72a Implemented Unpluged DC code
svn path=/trunk/; revision=5188
2003-07-20 16:47:05 +00:00
Eric Kohl
b6f5c8a9af Implemented PrivilegeCheck().
svn path=/trunk/; revision=5187
2003-07-20 15:16:51 +00:00
Eric Kohl
67897f32c0 Fixed compiler warnings.
svn path=/trunk/; revision=5186
2003-07-20 13:13:03 +00:00
David Welch
b694ab70c9 Each test application should only occur once in the list of targets.
svn path=/trunk/; revision=5185
2003-07-20 12:18:03 +00:00
David Welch
eccf821ef2 Checked in Petr Matousek's suspend test application.
svn path=/trunk/; revision=5184
2003-07-20 12:17:19 +00:00
David Welch
ae921ed9bb - Checked in Petr Matousek's APC fix.
svn path=/trunk/; revision=5183
2003-07-20 12:14:46 +00:00
Hartmut Birr
4c772af134 - Fixed GetVolumeInformationA/W.
svn path=/trunk/; revision=5182
2003-07-20 09:40:13 +00:00
Royce Mitchell III
5d6837f300 added myself to the "notevil" list
svn path=/trunk/; revision=5181
2003-07-20 06:51:29 +00:00
James Tabor
2159a6ca97 Added SetDesktopBitmap
svn path=/trunk/; revision=5180
2003-07-20 06:25:52 +00:00
James Tabor
3c46b3026a Implemented GetKeyState, GetKeyboardState & SetKeyboardState.
svn path=/trunk/; revision=5179
2003-07-20 05:32:19 +00:00
Royce Mitchell III
06f059499a fixed ldr/loader.c to report a missing export before bugchecking. ( was a CPRINT, which apparently doesn't work). Updated ntoskrnl.edf exports so that ros boots in bochs on my system again ( my ATAPI zip drive apparently was choking it )
svn path=/trunk/; revision=5178
2003-07-20 05:15:34 +00:00
James Tabor
2f0ad8d685 Implemented unpluged DC code.
svn path=/trunk/; revision=5177
2003-07-20 04:00:36 +00:00
KJK::Hyperion
93baf2c7ad Fixed a bug in the accelerators code
svn path=/trunk/; revision=5176
2003-07-20 03:45:31 +00:00
James Tabor
e1c932cd9e Removed W32k from SelectObject. Doesnt effect anything.
svn path=/trunk/; revision=5175
2003-07-20 03:01:13 +00:00
James Tabor
377803bd56 Implemented unpluged DC code, FrameRect, InvertRect and DrawFocusRect.
svn path=/trunk/; revision=5174
2003-07-20 02:58:13 +00:00
Royce Mitchell III
91c717d561 drivers/fs/vfat/volume.c: fixed bug lines 88, 92 - wasn't copying null-terminator.
svn path=/trunk/; revision=5173
2003-07-20 01:48:46 +00:00
James Tabor
3a6b419266 Implemented FrameRect, InvertRect and DrawFocusRect.
svn path=/trunk/; revision=5172
2003-07-20 01:24:52 +00:00
James Tabor
a3be8dee2e Implemented Unpluged DC code
svn path=/trunk/; revision=5171
2003-07-20 00:42:55 +00:00
James Tabor
07ac6a5f63 Implemented Unpluged DC code
svn path=/trunk/; revision=5170
2003-07-20 00:33:55 +00:00
James Tabor
6dfe326b7b Implemented Unpluged DC code
svn path=/trunk/; revision=5169
2003-07-20 00:13:36 +00:00
Eric Kohl
313d9193b5 Moved caret functions to a separate file.
svn path=/trunk/; revision=5168
2003-07-20 00:06:27 +00:00
Eric Kohl
b474c2f621 Added audit functions.
svn path=/trunk/; revision=5167
2003-07-20 00:04:06 +00:00
David Welch
34a2109187 - Fixed case of include file name.
svn path=/trunk/; revision=5166
2003-07-19 23:11:16 +00:00
James Tabor
f0c49a6e83 Implemented Unpluged DC code
svn path=/trunk/; revision=5165
2003-07-19 22:53:21 +00:00
Eric Kohl
df985d0406 Implemented NdisMPciAssignSlotResources() partially.
svn path=/trunk/; revision=5164
2003-07-19 11:40:05 +00:00
Hartmut Birr
8e2008811b - Reverted my last changes.
svn path=/trunk/; revision=5163
2003-07-19 08:02:51 +00:00
James Tabor
e70d5b63e7 Add SetDesktopBitmap to def file
svn path=/trunk/; revision=5162
2003-07-19 04:52:52 +00:00
Royce Mitchell III
1519602c46 sorry I fubar'd the build :(
svn path=/trunk/; revision=5161
2003-07-19 04:10:30 +00:00
Royce Mitchell III
35e4ade503 see ChangeLog file please
svn path=/trunk/; revision=5160
2003-07-19 01:35:27 +00:00
Gé van Geldorp
24475b126e Only repaint those parts of the desktop window which need repainting
svn path=/trunk/; revision=5159
2003-07-18 20:55:21 +00:00
Royce Mitchell III
f064f64b1d StringFromCLSID missing call to IMalloc_Release
svn path=/trunk/; revision=5158
2003-07-18 04:01:58 +00:00
Steven Edwards
c79e8b6c63 install new tests.
svn path=/trunk/; revision=5157
2003-07-17 23:24:43 +00:00
Steven Edwards
0cd892553a Updated tests.
svn path=/trunk/; revision=5156
2003-07-17 23:18:23 +00:00
Gé van Geldorp
6b56586d3b Implement DCX_EXCLUDERGN and DCX_INTERSECTRGN
svn path=/trunk/; revision=5155
2003-07-17 21:25:11 +00:00
Gé van Geldorp
6a672c7aec Get SM_CXSCREEN and SM_CYSCREEN from size of desktop window
svn path=/trunk/; revision=5154
2003-07-17 19:31:49 +00:00
Eric Kohl
5e00b52f0a Partially implemented NdisImmediateWritePciSlotInformation() and NdisWritePciSlotInformation().
svn path=/trunk/; revision=5153
2003-07-17 18:17:55 +00:00
Eric Kohl
286447a2c9 Partially implemented NdisImmediateReadPciSlotInformation() and NdisReadPciSlotInformation().
svn path=/trunk/; revision=5152
2003-07-17 17:37:06 +00:00
Andrew Greenwood
e6d0d671b8 Win 32 API header compatibility update
Files that should now compile with Win 32 API headers:
* sysinfo.c
* time.c
* work.c
* zone.c

If you suddenly discover that something no longer works due to a missing struct member, it's probably because I've renamed it to match the Win 32 API headers.

svn path=/trunk/; revision=5151
2003-07-17 16:57:39 +00:00
Casper Hornstrup
cb35a5b425 2003-07-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/fs/ntfs/notes.txt: New file.
	* drivers/fs/ntfs/close.c: Ditto.
	* drivers/fs/ntfs/rw.c: Ditto.
	* drivers/fs/ntfs/attrib.c: Change Cdfs prefix to Ntfs.
	* drivers/fs/ntfs/fcb.c: Ditto.
	* drivers/fs/ntfs/finfo.c: Ditto.
	* drivers/fs/ntfs/fsctl.c: Ditto.
	* drivers/fs/ntfs/volinfo.c: Ditto.
	* drivers/fs/ntfs/ntfs.c (DriverEntry): Set remaining dispatch functions.
	* drivers/fs/ntfs/ntfs.h: Change Cdfs prefix to Ntfs.
	(NTFS_RECORD_HEADER, FILE_RECORD_HEADER): Document fields.
	* drivers/fs/ntfs/makefile (TARGET_OBJECTS): Add close.o rw.o.

svn path=/trunk/; revision=5150
2003-07-17 13:31:39 +00:00
Casper Hornstrup
7359af43d8 Revert.
svn path=/trunk/; revision=5149
2003-07-17 10:47:02 +00:00
Casper Hornstrup
ee523ca3ba 2003-07-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* INSTALL: Update installation instructions.

svn path=/trunk/; revision=5148
2003-07-17 10:46:21 +00:00
Gé van Geldorp
ef4ace3cd7 Changes for multiple window support
svn path=/trunk/; revision=5147
2003-07-17 07:49:15 +00:00
Gé van Geldorp
5e5c85ccdd Ignore generated _regtests.c
svn path=/trunk/; revision=5146
2003-07-17 06:37:39 +00:00
Steven Edwards
88a91a3783 Added combobox test by Waldo Alvarez
svn path=/trunk/; revision=5145
2003-07-17 03:05:44 +00:00
Royce Mitchell III
496acc2853 changed crtdll to use msvcrt's stdio/scanf.c
svn path=/trunk/; revision=5144
2003-07-16 22:09:07 +00:00
Royce Mitchell III
0d2df900ab using msvcrt's vfscanf now.
svn path=/trunk/; revision=5143
2003-07-16 21:59:56 +00:00
Royce Mitchell III
1a9bda60e7 modifed strtok & wcstok in msvcrt so that crtdll can use it.
new private support functions _lasttoken and _wlasttoken to support strtok and wcstok respectively.
fixed lib/msvcrt/stdio/vfscanf.c to remove unnecessary globals.

svn path=/trunk/; revision=5142
2003-07-16 21:54:22 +00:00
Hartmut Birr
a94bc96529 - Sorry, something was wrong with my last clean up and check in.
The MEMORY_AREA_CACHE_SEGMENT should go to MmPageOutSectionView.

svn path=/trunk/; revision=5141
2003-07-16 20:57:36 +00:00
Royce Mitchell III
0397f6f960 fixed some warnings
svn path=/trunk/; revision=5140
2003-07-16 17:53:34 +00:00
Royce Mitchell III
0b1a369faf integrated Art Yerkes' _ftime implementation at lib/msvcrt/time/ftime.c
fixed ungetc warning in lib/msvcrt/stdio/vfscanf.c (also renamed ungetc macro to UNGETC for clarity)

svn path=/trunk/; revision=5139
2003-07-16 13:29:01 +00:00
Eric Kohl
db21a27a3b Fixed a potential bug related to anonymous struct/union.
svn path=/trunk/; revision=5138
2003-07-16 11:51:56 +00:00
Royce Mitchell III
e847eaa655 Fixed references to errno in MSVCRT to use __set_errno() and _errno() respectively. Fixed warning (args 3 & 6 in call to CreateThread) in lib/msvcrt/process/threadx.c
svn path=/trunk/; revision=5137
2003-07-16 02:45:24 +00:00
Royce Mitchell III
8082dee891 Updated by TortoiseCVS
svn path=/trunk/; revision=5136
2003-07-15 21:56:01 +00:00
Hartmut Birr
067fe9985c - Check for a non existing memory area.
- Check if the memory area would be deleted.
- Allow to page out section pages which are mapped from cache.

svn path=/trunk/; revision=5135
2003-07-15 19:31:27 +00:00
Hartmut Birr
e6d3e40053 - Acquire always the segmemt lock in CcRosLookupCacheSegment/CcRosCreateCacheSegment.
- Try to remove mapped section pages from a cache segment in CcRosTrimCache.

svn path=/trunk/; revision=5134
2003-07-15 19:30:33 +00:00
Royce Mitchell III
4610a1b077 modified crtdll to forward most of it's CTYPE, STRING and WSTRING entries to NTDLL or MSVCRT.
svn path=/trunk/; revision=5132
2003-07-15 19:27:25 +00:00
Andrew Greenwood
8ff4e97a06 Sorry, I broke depend.mk last time by forcing forward slash usage... This should fix it.
svn path=/trunk/; revision=5131
2003-07-15 19:19:07 +00:00
Andrew Greenwood
acd21b1447 My first CVS commit. Hope I get this right. I did put a few files in the CVS dir manually... Innocent mistake... I'll clean it up after I'm done with this. Sorry!
Some of NTOSKRNL now compiles with __USE_W32API enabled. Note that this commit is purely so I know what to do, and also to allow other people to continue working on this if they wish to do so. I will continue hacking away at it.

It's not complete yet, but I've ensured that the changes I have made aren't incompatible with ReactOS as it stands at the moment. It compiles without __USE_W32API fine.

* Modified the tools/depend.mk file to force the use of forward slash (SEH variable?) otherwise it tries to run "toolsdepend.exe" without a slash.

* Moved a couple of routines from include/ddk/halfuncs.h to hal/halx86/include/hal.h

* Fixed conflicting types in ntoskrnl/ex/interlck.c

* Replaced .a with .u, #undef'd "lite" functions and defined NONAMELESSUNION in ntoskrnl/ex/resource.c so that it compiles with Win 32 API

* Added some more conditional defines to include/shared_data.h, ntoskrnl/include/internal/mm.h (and i386/mm.h), ntoskrnl/include/internal/ps.h

* Replaced .a with .u for OWNER_ENTRY and ERESOURCE in include/ddk/extypes.h (so they are compatible with Win 32 API headers)

* Various other small adjustments

Hope this works!

svn path=/trunk/; revision=5130
2003-07-15 16:26:18 +00:00
Royce Mitchell III
5522330a11 Updated by TortoiseCVS
svn path=/trunk/; revision=5129
2003-07-15 13:45:03 +00:00
Gé van Geldorp
fddc6df9fc Pass PHANDLE instead of HANDLE in NtOpenFile call
svn path=/trunk/; revision=5128
2003-07-15 10:49:52 +00:00
Gé van Geldorp
377c984b14 Return STATUS_NO_MEMORY instead of uninitialized Status on out of mem
svn path=/trunk/; revision=5127
2003-07-15 10:42:53 +00:00
Gé van Geldorp
a294d0a9ef Fix W32kFillRgn
svn path=/trunk/; revision=5126
2003-07-15 08:55:52 +00:00
Gé van Geldorp
4c172272c6 Remove debug.h
svn path=/trunk/; revision=5125
2003-07-15 08:15:27 +00:00
Steven Edwards
47a7fcd868 Added another static control test by Royce Mitchell.
svn path=/trunk/; revision=5124
2003-07-15 00:00:38 +00:00
Steven Edwards
de452dbacb Add include/wine/commctl.h back in untill w32api commctl.h header is fixed.
svn path=/trunk/; revision=5123
2003-07-14 22:07:12 +00:00
Steven Edwards
8434cb67a9 Added patch by Martain Fuchs for mulitple explorer instances.
svn path=/trunk/; revision=5122
2003-07-14 22:06:23 +00:00
Hartmut Birr
3364b9cc5f - Fixed the handling for page file backed sections.
svn path=/trunk/; revision=5121
2003-07-14 20:14:11 +00:00
Aleksey Bragin
9789c326b0 Make NdisMRegisterMiniport() say (MIN_TRACE) about failure of a call to driver's MiniportInitialize() instead of silently passing unsuccess to driver.
svn path=/trunk/; revision=5120
2003-07-14 18:55:11 +00:00
Royce Mitchell III
4f2e726bb3 Updated by TortoiseCVS
svn path=/trunk/; revision=5119
2003-07-14 18:44:10 +00:00
Gé van Geldorp
604728cdb1 Set CombinedClip region for memory DCs
svn path=/trunk/; revision=5118
2003-07-14 17:36:59 +00:00
Gé van Geldorp
bf39992fa1 Remove debug stuff
svn path=/trunk/; revision=5117
2003-07-14 17:35:31 +00:00
Gé van Geldorp
c341c05952 Handle NULL color translation
svn path=/trunk/; revision=5116
2003-07-14 17:34:52 +00:00
Gé van Geldorp
6b72cd60c5 Set screen width/height
svn path=/trunk/; revision=5115
2003-07-14 17:33:51 +00:00
Royce Mitchell III
bbab51678b *** empty log message ***
svn path=/trunk/; revision=5114
2003-07-14 13:55:24 +00:00
Gé van Geldorp
81d7932557 .cvsignore maintenance
svn path=/trunk/; revision=5113
2003-07-14 10:05:58 +00:00
Gé van Geldorp
b25c2dc92b Line clipping test program
svn path=/trunk/; revision=5112
2003-07-14 09:47:47 +00:00
Gé van Geldorp
7e11593f8c Implement clipping of lines
svn path=/trunk/; revision=5111
2003-07-14 09:43:11 +00:00
Gé van Geldorp
98d338a1c4 Implement sorting of clip rectangles
svn path=/trunk/; revision=5110
2003-07-14 09:38:02 +00:00
James Tabor
260e788eba Enable FillRgn
svn path=/trunk/; revision=5109
2003-07-14 06:36:36 +00:00
Steven Edwards
2ac4b3136b update sprintf fuctions with code from WINE.
User32 now passes the sprintf regression test

svn path=/trunk/; revision=5108
2003-07-13 18:02:04 +00:00
David Welch
b2730a4d61 - Fixed deadlock in pager thread.
- Added some more debugging checks.

svn path=/trunk/; revision=5107
2003-07-13 14:36:32 +00:00
Eric Kohl
988c5bb9eb Create media change events.
Check for XA disk formats.
Removed shutdown/flush routine.
Process read requests asynchronously.

svn path=/trunk/; revision=5106
2003-07-13 12:40:15 +00:00
Steven Edwards
a7afd50a26 typo - fix install of regression tests.
svn path=/trunk/; revision=5105
2003-07-13 05:42:31 +00:00
Steven Edwards
29189bc99c Added support for installing new regression tests
svn path=/trunk/; revision=5104
2003-07-13 05:14:34 +00:00
Eric Kohl
15f281d6a1 Convert SCSI SRB to ATAPI format for MODE_SENSE, MODE_SELECT and FORMAT_UNIT SCSI commands.
svn path=/trunk/; revision=5103
2003-07-12 19:18:31 +00:00
Eric Kohl
043a6c087f Append a newline to embedded binary files to keep compiler from crying.
svn path=/trunk/; revision=5102
2003-07-12 18:01:53 +00:00
Gé van Geldorp
5ed1368ae1 Please shoot (well, ok, at least never let him near a computer again) the
person who decided that the order of args for EngSort() is different from
the order for qsort()

svn path=/trunk/; revision=5101
2003-07-12 14:00:05 +00:00
Eric Kohl
c8356266c1 Added missing debug messages.
svn path=/trunk/; revision=5100
2003-07-12 13:13:43 +00:00
Eric Kohl
35a9700437 Implemented ScsiClassFindModePage().
Improved error handling.

svn path=/trunk/; revision=5099
2003-07-12 13:10:45 +00:00
Gé van Geldorp
36f596b459 Implement EngSort()
svn path=/trunk/; revision=5098
2003-07-12 12:45:29 +00:00
Casper Hornstrup
fdfc1cdb67 2003-07-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/extypes.h (NPAGED_LOOKASIDE_LIST, PAGED_LOOKASIDE_LIST):
	Match w32api fields.
	* include/ddk/halfuncs.h (HalReturnToFirmware, HalReleaseDisplayOwnership,
	HalQueryDisplayOwnership): Move ...
	* include/ntos/halfuncs.h: ... here.
	* include/ntos/rtl.h: (PopEntrySList, PushEntrySList): Move to
	ntoskrnl/ex/lookas.c.
	* include/ntos/zw.h (NtAccessCheckAndAuditAlarm, NtCancelTimer,
	NtCreatePagingFile, NtCreateThread, NtFlushInstructionCache,
	NtFlushVirtualMemory, NtGetTickCount, NtLoadKey, NtLockVirtualMemory,
	NtOpenObjectAuditAlarm, NtProtectVirtualMemory, NtQueryDirectoryObject,
	NtQueryIntervalProfile, NtQueryVirtualMemory, NtRaiseHardError,
	NtSetInformationKey, NtSetInformationObject, NtSetTimer, NtUnloadKey,
	NtUnlockVirtualMemory, NtWaitForMultipleObjects, NtCreateProfile,
	NtDelayExecution, NtExtendSection, NtQuerySection): Include for w32api.
	* ntoskrnl/ntoskrnl.def (ExInterlockedAddUlong,
	ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
	ExInterlockedPopEntryList, ExInterlockedPushEntryList,
	ExInterlockedRemoveHeadList): Make FASTCALL.
	* ntoskrnl/ntoskrnl.edf: Ditto.
	* ntoskrnl/ex/list.c: Ditto.
	* include/ddk/exfuncs.h: Ditto.
	(InterlockedPopEntrySList, InterlockedPushEntrySList,
	ExAllocateFromPagedLookasideList, ExFreeToPagedLookasideList): Add.
	* ntoskrnl/ex/interlck.c (ExInterlockedDecrementLong,
	ExInterlockedAddUlong, ExInterlockedIncrementLong): Undefine if defined.
	* ntoskrnl/ex/lookas.c (PopEntrySList, PushEntrySList,
	LookasideListLock): Add.
	* drivers/dd/blue/blue.c: Include <roskrnl.h>.
	* drivers/dd/videoprt/videoprt.c: Ditto.

svn path=/trunk/; revision=5097
2003-07-12 10:24:45 +00:00
Steven Edwards
b6eef9ca10 upload new config.h and remove unneeded commctl.h
svn path=/trunk/; revision=5096
2003-07-12 03:54:56 +00:00
Steven Edwards
c2f5d2a9c0 cleanup of old wine stuff in main reactos module
svn path=/trunk/; revision=5095
2003-07-12 03:42:01 +00:00
Steven Edwards
664a42a414 cleanup of old wine porting stuff
svn path=/trunk/; revision=5094
2003-07-12 03:40:49 +00:00
David Welch
bf56cfa999 - Return a specific status code when the pagefile is full.
svn path=/trunk/; revision=5093
2003-07-12 01:55:50 +00:00
David Welch
4ae404aaa8 - Implemented Harmutt Birr's suggestion of a seperate thread
to do balancing.
- Move pages that can't be paged out because the pagefile is
full to the end of the LRU list so we don't waste time checking
them again.

svn path=/trunk/; revision=5092
2003-07-12 01:52:10 +00:00
David Welch
e41f7f3329 - Fixed a deadlock - if a thread releasing an fmutex was rescheduled after
checking for contention but before setting the count to one then a thread
trying to acquire the fmutex between the two could be stuck forever even
though the fmutex was actually available.

svn path=/trunk/; revision=5091
2003-07-12 01:09:10 +00:00
Eric Kohl
719ae2a6dd Implemented RegSetKeySecurity().
Cleaned-up the function order.

svn path=/trunk/; revision=5090
2003-07-12 00:03:42 +00:00
Eric Kohl
6a67e42639 Fixed compiler warnings.
svn path=/trunk/; revision=5089
2003-07-11 23:58:45 +00:00
Royce Mitchell III
e2154cb138 checks against EOF were always failing according to compiler
svn path=/trunk/; revision=5088
2003-07-11 22:17:09 +00:00
Royce Mitchell III
abfcc7803e @implemented and @unimplemented comments for lib/msvcrt/*
svn path=/trunk/; revision=5087
2003-07-11 21:58:16 +00:00
Gé van Geldorp
edec53a34e Move qsort() to rosrtl static library
svn path=/trunk/; revision=5086
2003-07-11 20:55:43 +00:00
Casper Hornstrup
ad21febf7c 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/controls/edit.c (EDIT_EM_SetLimitText,
	EDIT_WM_StyleChanged): Fix unsigned/signed warning.

svn path=/trunk/; revision=5085
2003-07-11 18:25:03 +00:00
Casper Hornstrup
2f01236d5b 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* config (DBG): Default to 0.

svn path=/trunk/; revision=5084
2003-07-11 18:17:09 +00:00
Casper Hornstrup
8402d06a5c 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* regtests: New directory.
	* regtests/kmregtests: Ditto.
	* regtests/kmrtint: Ditto.
	* regtests/regtests: Ditto.
	* regtests/shared: Ditto.
	* regtests/win32base: Ditto.
	* include/roskrnl.h: New file.
	* regtests/Makefile: Ditto.
	* regtests/kmregtests/.cvsignore: Ditto.
	* regtests/kmregtests/driver.c: Ditto.
	* regtests/kmregtests/kmregtests.h: Ditto.
	* regtests/kmregtests/Makefile: Ditto.
	* regtests/kmrtint/.cvsignore: Ditto.
	* regtests/kmrtint/kmrtint.c: Ditto.
	* regtests/kmrtint/kmrtint.def: Ditto.
	* regtests/kmrtint/kmrtint.edf: Ditto.
	* regtests/kmrtint/Makefile: Ditto.
	* regtests/regtests/.cvsignore: Ditto.
	* regtests/regtests/Makefile: Ditto.
	* regtests/regtests/regtests.c: Ditto.
	* regtests/shared/.cvsignore: Ditto.
	* regtests/shared/Makefile: Ditto.
	* regtests/shared/regtests.c: Ditto.
	* regtests/shared/regtests.h: Ditto.
	* regtests/win32base/.cvsignore: Ditto.
	* regtests/win32base/driver.c: Ditto.
	* regtests/win32base/file-1.c: Ditto.
	* regtests/win32base/Makefile: Ditto.
	* regtests/win32base/win32base.def: Ditto.
	* regtests/win32base/win32base.edf: Ditto.
	* tools/regtests.c: Ditto.
	* Makefile: Add target regtests.
	* config: Add SEH option.
	* rules.mak: Add tool REGTESTS.
	* bootdata/hivesys.inf: Add service kmregtests.
	* include/win32k/bitmaps.h (DIB_BitmapInfoSize): Correct prototype.
	* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Reverse wrong boolean
	expression.
	* ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
	* tools/Makefile: Add tool regtests.
	* tools/config.mk: Handle SEH option.
	* tools/helper.mk: Support regression tests.

svn path=/trunk/; revision=5083
2003-07-11 18:13:57 +00:00
Steven Edwards
17d7cb86ae Enable the edit control
svn path=/trunk/; revision=5082
2003-07-11 18:00:14 +00:00
Steven Edwards
977727b6cd Forgot to commit Makefile
svn path=/trunk/; revision=5081
2003-07-11 17:58:51 +00:00
Casper Hornstrup
fb2b3f263e 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/tests/bitblt/bitblt.c (MainWndProc): Declare variables
	before any statements are processed in the scope.
	* apps/tests/icontest/icontest.c (WinMain): Ditto.
	* apps/tests/wm_paint/wm_paint.c (WinMain, MainWndProc): Ditto.

svn path=/trunk/; revision=5080
2003-07-11 17:33:55 +00:00
Royce Mitchell III
6d1c6531b5 @implemented and @unimplemented comments for lib/crtdll/*
svn path=/trunk/; revision=5079
2003-07-11 17:25:39 +00:00
Casper Hornstrup
06a9aa1f74 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/controls/button.c (PB_Paint, GB_Paint): Declare variables
	before any statements are processed in the scope.
	* lib/user32/controls/combo.c (CBPaintButton): Ditto.
	* lib/user32/windows/accel.c (TranslateAcceleratorA): Ditto.
	* subsys/win32k/include/class.h (W32kGetClassLong): Fix prototype.
	* subsys/win32k/ntuser/class.c (W32kGetClassLong): Match prototype.
	* subsys/win32k/ntuser/windc.c (DceAllocDCE): Ditto.
	* subsys/win32k/ntuser/window.c (DestroyThreadWindows): Ditto.

svn path=/trunk/; revision=5078
2003-07-11 17:08:44 +00:00
Royce Mitchell III
dadc689465 @implemented and @unimplemented comments for subsys/win32k
svn path=/trunk/; revision=5077
2003-07-11 15:59:37 +00:00
Eric Kohl
c31ca84c42 Handle abort command.
svn path=/trunk/; revision=5075
2003-07-11 14:10:41 +00:00
Eric Kohl
c71f4b34ff Implemented ScsiClassModeSense().
svn path=/trunk/; revision=5074
2003-07-11 14:07:30 +00:00
Royce Mitchell III
040095cb66 applied @implemented and @unimplemented comments to ntdll functions that are listed in NT4.0's ntdll exports
svn path=/trunk/; revision=5073
2003-07-11 13:50:23 +00:00
Casper Hornstrup
3e05a4dcd9 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/rgenstat/rgenstat.c (process_directory): Fix building on Windows.

svn path=/trunk/; revision=5072
2003-07-11 13:13:35 +00:00
Casper Hornstrup
19f0d68338 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/rgenstat/rgenstat.c (API_INFO): Add filename field.
	(path_to_url, get_filename): New functions.
	(parse_file, process_directory): Build cvs path.
	(generate_xml_for_component): Set file attribute on a function.
	* tools/rgenstat/web/rapistatus.css (.h): New class.
	* tools/rgenstat/web/rapistatus.js (clickHandler): Go to the file in
	ViewCVS on click on a function.
	* tools/rgenstat/web/rapistatus.xsl: Handle file attribute.

svn path=/trunk/; revision=5071
2003-07-11 13:05:10 +00:00
Gé van Geldorp
da0c79cd27 Fix calling convention of callback functions
svn path=/trunk/; revision=5070
2003-07-11 09:48:24 +00:00
Steven Edwards
8d6bf48e41 Added untested and mostly borked edit control ported from WINE.
svn path=/trunk/; revision=5069
2003-07-11 04:22:00 +00:00
Royce Mitchell III
59d5c9f016 finished applying @implemented and @unimplemented comments and remove the comments from non-api functions
svn path=/trunk/; revision=5068
2003-07-11 01:23:16 +00:00
Casper Hornstrup
fcdbcbec58 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/win32k/objects/region.c (W32kFillRgn): Fix syntax error.

svn path=/trunk/; revision=5065
2003-07-11 00:16:47 +00:00
Casper Hornstrup
153d94b106 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/rgenstat/rgenstat.c (get_previous_identifier): Skip end-of-line
	characters when searching for identifier.
	(parse_file): Print a warning if no identifier is found.

svn path=/trunk/; revision=5064
2003-07-10 23:41:36 +00:00
James Tabor
aea9dce89b Update Change Log
svn path=/trunk/; revision=5063
2003-07-10 23:26:51 +00:00
Casper Hornstrup
4453023a6c 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/winspool/stubs.c: Add @implemented and @unimplemented to APIs.

svn path=/trunk/; revision=5062
2003-07-10 21:48:16 +00:00
Casper Hornstrup
f5eab68f00 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/wsock32/stubs.c: Add @implemented and @unimplemented to APIs.

svn path=/trunk/; revision=5061
2003-07-10 21:41:56 +00:00
James Tabor
aa9708cead Implement W32kFillRgn
svn path=/trunk/; revision=5060
2003-07-10 21:36:39 +00:00
Royce Mitchell III
9c041c91d7 @implemented and @unimplemented comments for ntoskrnl/ob/*.c
svn path=/trunk/; revision=5059
2003-07-10 21:34:29 +00:00
Casper Hornstrup
3119d09f0c 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/ws2_32/misc/bsd.c: Add @implemented and @unimplemented
	to APIs.
	* lib/ws2_32/misc/dllmain.c: Ditto.
	* lib/ws2_32/misc/event.c: Ditto.
	* lib/ws2_32/misc/ns.c: Ditto.
	* lib/ws2_32/misc/sndrcv.c: Ditto.
	* lib/ws2_32/misc/stubs.c: Ditto.
	* lib/ws2_32/misc/upcall.c: Ditto.

svn path=/trunk/; revision=5058
2003-07-10 21:28:17 +00:00
Royce Mitchell III
229baeb7ed @implemented and @unimplemented comments for ntoskrnl/nt/*.c
svn path=/trunk/; revision=5057
2003-07-10 21:23:49 +00:00
Casper Hornstrup
f3f967897a 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/dd/videoprt/videoprt.c: Add @implemented and @unimplemented
	to APIs.

svn path=/trunk/; revision=5056
2003-07-10 21:12:40 +00:00
Casper Hornstrup
81b917771a 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/version/misc/stubs.c: Add @implemented and @unimplemented to APIs.

svn path=/trunk/; revision=5055
2003-07-10 21:07:14 +00:00
Royce Mitchell III
555bc8b89e @implemented and @unimplemented comments for ntoskrnl/mm/*.c and also added a few missing /* EOF */ entries
svn path=/trunk/; revision=5054
2003-07-10 21:05:04 +00:00
Casper Hornstrup
5966683fda 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/misc/dde.c: Add @implemented and @unimplemented to APIs.
	* lib/user32/misc/desktop.c: Ditto.
	* lib/user32/misc/display.c: Ditto.
	* lib/user32/misc/exit.c: Ditto.
	* lib/user32/misc/object.c: Ditto.
	* lib/user32/misc/resources.c: Ditto.
	* lib/user32/misc/sprintf.c: Ditto.
	* lib/user32/misc/stubs.c: Ditto.
	* lib/user32/misc/timer.c: Ditto.
	* lib/user32/misc/winhelp.c: Ditto.
	* lib/user32/misc/winsta.c: Ditto.
	* lib/user32/windows/accel.c: Ditto.
	* lib/user32/windows/bitmap.c: Ditto.
	* lib/user32/windows/class.c: Ditto.
	* lib/user32/windows/clipboard.c: Ditto.
	* lib/user32/windows/cursor.c: Ditto.
	* lib/user32/windows/dc.c: Ditto.
	* lib/user32/windows/defwnd.c: Ditto.
	* lib/user32/windows/dialog.c: Ditto.
	* lib/user32/windows/draw.c: Ditto.
	* lib/user32/windows/font.c: Ditto.
	* lib/user32/windows/hook.c: Ditto.
	* lib/user32/windows/icon.c: Ditto.
	* lib/user32/windows/input.c: Ditto.
	* lib/user32/windows/mdi.c: Ditto.
	* lib/user32/windows/menu.c: Ditto.
	* lib/user32/windows/message.c: Ditto.
	* lib/user32/windows/messagebox.c: Ditto.
	* lib/user32/windows/nonclient.c: Ditto.
	* lib/user32/windows/paint.c: Ditto.
	* lib/user32/windows/prop.c: Ditto.
	* lib/user32/windows/rect.c: Ditto.
	* lib/user32/windows/text.c: Ditto.
	* lib/user32/windows/window.c: Ditto.

svn path=/trunk/; revision=5053
2003-07-10 21:04:32 +00:00
Royce Mitchell III
00e0a5619c @implemented and @unimplemented comments for ntoskrnl/lpc/*.c
svn path=/trunk/; revision=5052
2003-07-10 20:42:53 +00:00
Royce Mitchell III
080762083a @implemented and @unimplemented comments for ntoskrnl/ldr/*.c
svn path=/trunk/; revision=5051
2003-07-10 20:34:50 +00:00
Casper Hornstrup
a7b9be5b82 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/tdi/cte/string.c: Add @implemented and @unimplemented to
	APIs.
	* drivers/net/tdi/cte/stubs.c: Ditto.
	* drivers/net/tdi/tdi/dereg.c: Ditto.
	* drivers/net/tdi/tdi/handler.c: Ditto.
	* drivers/net/tdi/tdi/obsolete.c: Ditto.
	* drivers/net/tdi/tdi/stubs.c: Ditto.

svn path=/trunk/; revision=5050
2003-07-10 19:54:13 +00:00
Casper Hornstrup
1c8bbc0320 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/snmpapi/snmpapi.c: Add @implemented and @unimplemented to APIs.

svn path=/trunk/; revision=5049
2003-07-10 19:47:23 +00:00
Casper Hornstrup
b22ef7ff80 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/secur32/lsa.c: Add @implemented and @unimplemented to APIs.

svn path=/trunk/; revision=5048
2003-07-10 19:44:20 +00:00
Casper Hornstrup
ca3c5c97f1 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/storage/scsiport/scsiport.c: Add @implemented and
	@unimplemented to APIs.

svn path=/trunk/; revision=5047
2003-07-10 19:41:20 +00:00
Casper Hornstrup
964084e0c4 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/ndis/ndis/40gone.c: Add @implemented and @unimplemented
	to APIs.
	* drivers/net/ndis/ndis/50gone.c: Ditto.
	* drivers/net/ndis/ndis/buffer.c: Ditto.
	* drivers/net/ndis/ndis/cl.c: Ditto.
	* drivers/net/ndis/ndis/cm.c: Ditto.
	* drivers/net/ndis/ndis/co.c: Ditto.
	* drivers/net/ndis/ndis/control.c: Ditto.
	* drivers/net/ndis/ndis/hardware.c: Ditto.
	* drivers/net/ndis/ndis/io.c: Ditto.
	* drivers/net/ndis/ndis/memory.c: Ditto.
	* drivers/net/ndis/ndis/miniport.c: Ditto.
	* drivers/net/ndis/ndis/protocol.c: Ditto.
	* drivers/net/ndis/ndis/string.c: Ditto.
	* drivers/net/ndis/ndis/stubs.c: Ditto.
	* drivers/net/ndis/ndis/time.c: Ditto.

svn path=/trunk/; revision=5046
2003-07-10 19:34:26 +00:00
Casper Hornstrup
5a7413d3b7 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/kernel32/debug/break.c: Add @implemented and @unimplemented
	to APIs.
	* lib/kernel32/debug/debugger.c: Ditto.
	* lib/kernel32/debug/output.c: Ditto.
	* lib/kernel32/except/except.c: Ditto.
	* lib/kernel32/file/backup.c: Ditto.
	* lib/kernel32/file/cnotify.c: Ditto.
	* lib/kernel32/file/copy.c: Ditto.
	* lib/kernel32/file/create.c: Ditto.
	* lib/kernel32/file/curdir.c: Ditto.
	* lib/kernel32/file/delete.c: Ditto.
	* lib/kernel32/file/deviceio.c: Ditto.
	* lib/kernel32/file/dir.c: Ditto.
	* lib/kernel32/file/dosdev.c: Ditto.
	* lib/kernel32/file/file.c: Ditto.
	* lib/kernel32/file/find.c: Ditto.
	* lib/kernel32/file/iocompl.c: Ditto.
	* lib/kernel32/file/lfile.c: Ditto.
	* lib/kernel32/file/lock.c: Ditto.
	* lib/kernel32/file/mailslot.c: Ditto.
	* lib/kernel32/file/move.c: Ditto.
	* lib/kernel32/file/npipe.c: Ditto.
	* lib/kernel32/file/pipe.c: Ditto.
	* lib/kernel32/file/rw.c: Ditto.
	* lib/kernel32/file/tape.c: Ditto.
	* lib/kernel32/file/volume.c: Ditto.
	* lib/kernel32/mem/global.c: Ditto.
	* lib/kernel32/mem/heap.c: Ditto.
	* lib/kernel32/mem/isbad.c: Ditto.
	* lib/kernel32/mem/local.c: Ditto.
	* lib/kernel32/mem/procmem.c: Ditto.
	* lib/kernel32/mem/section.c: Ditto.
	* lib/kernel32/mem/virtual.c: Ditto.
	* lib/kernel32/misc/atom.c: Ditto.
	* lib/kernel32/misc/comm.c: Ditto.
	* lib/kernel32/misc/computername.c: Ditto.
	* lib/kernel32/misc/console.c: Ditto.
	* lib/kernel32/misc/env.c: Ditto.
	* lib/kernel32/misc/error.c: Ditto.
	* lib/kernel32/misc/errormsg.c: Ditto.
	* lib/kernel32/misc/handle.c: Ditto.
	* lib/kernel32/misc/ldr.c: Ditto.
	* lib/kernel32/misc/mbchars.c: Ditto.
	* lib/kernel32/misc/muldiv.c: Ditto.
	* lib/kernel32/misc/perfcnt.c: Ditto.
	* lib/kernel32/misc/profile.c: Ditto.
	* lib/kernel32/misc/res.c: Ditto.
	* lib/kernel32/misc/stubs.c: Ditto.
	* lib/kernel32/misc/sysinfo.c: Ditto.
	* lib/kernel32/misc/time.c: Ditto.
	* lib/kernel32/misc/toolhelp.c: Ditto.
	* lib/kernel32/process/cmdline.c: Ditto.
	* lib/kernel32/process/create.c: Ditto.
	* lib/kernel32/process/proc.c: Ditto.
	* lib/kernel32/process/session.c: Ditto.
	* lib/kernel32/string/lstring.c: Ditto.
	* lib/kernel32/synch/critical.c: Ditto.
	* lib/kernel32/synch/event.c: Ditto.
	* lib/kernel32/synch/intrlck.c: Ditto.
	* lib/kernel32/synch/mutex.c: Ditto.
	* lib/kernel32/synch/sem.c: Ditto.
	* lib/kernel32/synch/timer.c: Ditto.
	* lib/kernel32/synch/wait.c: Ditto.
	* lib/kernel32/thread/fiber.c: Ditto.
	* lib/kernel32/thread/fls.c: Ditto.
	* lib/kernel32/thread/thread.c: Ditto.
	* lib/kernel32/thread/tls.c: Ditto.

svn path=/trunk/; revision=5045
2003-07-10 18:50:51 +00:00
Royce Mitchell III
7fc8c17d16 @implemented and @unimplemented comments for ntoskrnl/ke/*.c
svn path=/trunk/; revision=5044
2003-07-10 17:44:06 +00:00
Casper Hornstrup
0ef97879a2 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/iphlpapi/iphlpapi.c: Add @implemented and @unimplemented
	to APIs.

svn path=/trunk/; revision=5043
2003-07-10 16:57:05 +00:00
Eric Kohl
e3cf693557 Implemented FsRtlDoesNameContainWildCard().
svn path=/trunk/; revision=5042
2003-07-10 16:43:10 +00:00
Royce Mitchell III
061e95c9c9 @implemented and @unimplemented comments for ntoskrnl/kd/*.c
svn path=/trunk/; revision=5041
2003-07-10 15:50:09 +00:00
Royce Mitchell III
f5e3df2e1b @implemented and @unimplemented comments for ntoskrnl/io/*.c
svn path=/trunk/; revision=5040
2003-07-10 15:47:00 +00:00
Casper Hornstrup
e67a8deed9 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/gdi32/main/dllmain.c: Add @implemented and @unimplemented
	to APIs.
	* lib/gdi32/misc/stubs.c: Ditto.
	* lib/gdi32/misc/stubsa.c: Ditto.
	* lib/gdi32/misc/stubsw.c: Ditto.
	* lib/gdi32/objects/bitblt.c: Ditto.
	* lib/gdi32/objects/brush.c: Ditto.
	* lib/gdi32/objects/clip.c: Ditto.
	* lib/gdi32/objects/dc.c: Ditto.
	* lib/gdi32/objects/fillshap.c: Ditto.
	* lib/gdi32/objects/line.c: Ditto.
	* lib/gdi32/objects/pen.c: Ditto.
	* lib/gdi32/objects/region.c: Ditto.
	* lib/gdi32/objects/text.c: Ditto.

svn path=/trunk/; revision=5039
2003-07-10 15:35:49 +00:00
Casper Hornstrup
502033e823 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/storage/class2/class2.c: Add @implemented and @unimplemented
	to APIs.

svn path=/trunk/; revision=5038
2003-07-10 15:11:58 +00:00
Casper Hornstrup
9f9aba203f 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/advapi32/misc/shutdown.c: Add @implemented and @unimplemented
	to APIs.
	* lib/advapi32/misc/stubs.c: Ditto.
	* lib/advapi32/misc/sysfunc.c: Ditto.
	* lib/advapi32/reg/reg.c: Ditto.
	* lib/advapi32/sec/ac.c: Ditto.
	* lib/advapi32/sec/misc.c: Ditto.
	* lib/advapi32/sec/sec.c: Ditto.
	* lib/advapi32/sec/sid.c: Ditto.
	* lib/advapi32/service/scm.c: Ditto.
	* lib/advapi32/service/sctrl.c: Ditto.
	* lib/advapi32/token/privilege.c: Ditto.
	* lib/advapi32/token/token.c: Ditto.

svn path=/trunk/; revision=5037
2003-07-10 15:05:55 +00:00
Casper Hornstrup
ff80e432fd 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/rgenstat/rgenstat.c (parse_file): Be silent.

svn path=/trunk/; revision=5036
2003-07-10 12:32:39 +00:00
Casper Hornstrup
980d7609ca 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* rules.mak (XSLTPROC): Add.
	* tools/Makefile: Add rgenstat.
	* apistatus.lst: New file.
	* tools/rgenstat: New directory.
	* tools/rgenstat/.cvsignore: New file.
	* tools/rgenstat/llmosrt.c: Ditto.
	* tools/rgenstat/Makefile: Ditto.
	* tools/rgenstat/rgenstat.c: Ditto.
	* tools/rgenstat/web: New directory.
	* tools/rgenstat/web/*.gif: New files.
	* tools/rgenstat/web/.cvsignore: New file.
	* tools/rgenstat/web/rapistatus.css: Ditto.
	* tools/rgenstat/web/rapistatus.js: Ditto.
	* tools/rgenstat/web/rapistatus.xsl: Ditto.

svn path=/trunk/; revision=5035
2003-07-10 12:29:02 +00:00
Casper Hornstrup
b71535d7cf 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/fs/vfat/misc.c (VfatLockControl): Move it so it is placed
	before it is referenced.
	* include/win32k/ntuser.h (NtUserQueryWindow): Correct prototype.
	* lib/winedbgc/debug.c (default_dbg_vlog): Use wine_dbg_vprintf, not
	__wine_dbg_vprintf.
	* ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Work around GCC 3.4 trying to be
	smart.

svn path=/trunk/; revision=5034
2003-07-10 11:03:51 +00:00
Royce Mitchell III
5fd0423e1b added @implemented and @unimplemented notes to the cc through fs directories of ntoskrnl
svn path=/trunk/; revision=5033
2003-07-10 06:27:13 +00:00
Steven Edwards
36d8866638 New much better edit control test by Waldo Alvarez Ca�izares.
svn path=/trunk/; revision=5032
2003-07-10 05:37:17 +00:00
Casper Hornstrup
92cc25a074 Joakim Asplund <joakim_asplund@spray.se>
lib/user32/controls/combo.c:
- Combo height fix

lib/user32/windows/window.c
- Fix to FindWindowExW, incorrect allocation of UNICODE_STRING:s
    (uninitialized pointers...)

subsys/win32k/ntuser/painting.c:
- Put in locking of window lists where it was missing
- Fixed an incorrect CONTAINING_RECORD

subsys/win32k/ntuser/windc.c
- Put in locking of window lists where it was missing

subsys/win32k/ntuser/window.c
- Put in locking of window lists, both children and thread, where it was missing
- W32kCreateDesktopWindow had forgotten initializing its ChildrenListLock!
- Remade NtUserFindWindowEx which I hope should work more as expected now

subsys/win32k/ntuser/winpos.c:
- Put in locking of window lists where it was missing

svn path=/trunk/; revision=5031
2003-07-10 00:24:04 +00:00
KJK::Hyperion
ca5d43deae Missing file from my last commit
svn path=/trunk/; revision=5030
2003-07-09 21:55:44 +00:00
KJK::Hyperion
f98dc7b970 No more unnecessary and never-ending output from genw32k
svn path=/trunk/; revision=5029
2003-07-09 20:41:35 +00:00
Hartmut Birr
7c4a36f112 - Used string functions instead of iteration code.
- Replaced wcscpy with memcpy if the length of the string is known.

svn path=/trunk/; revision=5028
2003-07-09 20:25:00 +00:00
Hartmut Birr
198a10ed1b - GetTickCount should return the elapsed time since booting in milliseconds and not the tick count.
svn path=/trunk/; revision=5027
2003-07-09 20:19:50 +00:00
Hartmut Birr
52d7096779 - Initialized TickCountMultiplier from shared user data.
svn path=/trunk/; revision=5026
2003-07-09 20:17:47 +00:00
Hartmut Birr
c1c87cd076 - Fixed some debug messages.
svn path=/trunk/; revision=5025
2003-07-09 20:15:50 +00:00
Hartmut Birr
5ac5a18db9 - Used memcpy instead of iteration code.
svn path=/trunk/; revision=5024
2003-07-09 20:13:56 +00:00
Hartmut Birr
edd824b265 - Replaced _wcsnicmp with RtlEqualUnicodeString.
- Replaced wcscpy with memcpy if the length of the string is known.
- Used string functions instaed of iteration code.

svn path=/trunk/; revision=5023
2003-07-09 20:11:41 +00:00
Hartmut Birr
0efd005774 - Check for more illegal characters in VfatCreateFile.
svn path=/trunk/; revision=5022
2003-07-09 19:59:21 +00:00
Eric Kohl
b2805cde6e Implemented WriteConsoleOutputCharacterW().
svn path=/trunk/; revision=5021
2003-07-09 10:43:08 +00:00
Eric Kohl
33859812f3 Initialize lead byte info pointers.
svn path=/trunk/; revision=5020
2003-07-09 10:40:50 +00:00
Gé van Geldorp
d1c76c1e31 Prevent painting outside surface
svn path=/trunk/; revision=5019
2003-07-09 07:00:00 +00:00
KJK::Hyperion
d4b51b9c1f Fully implemented the user32 side of accelerator table functions
svn path=/trunk/; revision=5018
2003-07-09 00:09:47 +00:00
Steven Edwards
3159e14d52 Sync explorer with Martin Fuchs:
- File Management by provided by winefile merge (Requires WINE Headers).
- Fixes registry startup provide via wineboot merge
- Explorer bar loading fixed
- Cleaned up explorer source tree a little.
- Added doc/TODO.txt

svn path=/trunk/; revision=5017
2003-07-08 22:52:53 +00:00
Gé van Geldorp
1c92882c66 Removed tlist because it doesn't build correctly
svn path=/trunk/; revision=5016
2003-07-08 19:40:46 +00:00
Gé van Geldorp
016967f3ee Implement VideoPortLogError (not complete yet)
svn path=/trunk/; revision=5015
2003-07-08 17:06:44 +00:00
Steven Edwards
f3f9aa8224 Added a simple explorer bar to desktop.
Patch by Alexander Ciobanu with parts by Martin Fuchs.

svn path=/trunk/; revision=5014
2003-07-08 03:21:15 +00:00
Hartmut Birr
f824321d24 - Fixed FLUSH_TLB for higher optimization levels like -O6.
svn path=/trunk/; revision=5013
2003-07-07 20:22:47 +00:00
James Tabor
86faaec314 Implement GetWindowThreadProcessId
svn path=/trunk/; revision=5012
2003-07-07 06:39:34 +00:00
James Tabor
a08e8eb37d Implement NtUserQueryWindow
svn path=/trunk/; revision=5011
2003-07-07 06:12:08 +00:00
KJK::Hyperion
5514f345a3 - apps/utils/tickcount/tickcount.c: corrected assertion
- include/funcs.h: declared GetScrollBarInfo
 - include/napi/teb.h: removed misleading comment about NtCurrentTeb; preparing TEB for Windows 2003-compatible FLS support
 - include/tchar.h: added _tcslen
 - include/tgetopt.h: type-generic getopt (see lib/tgetopt)
 - include/win32k/ntuser.h, subsys/win32k/ntuser/window.c, subsys/win32k/ntuser/timer.c, lib/user32/misc/timer.c, lib/user32/windows/paint.c: corrected declarations of NtUserSetTimer, NtUserKillTimer and NtUserRedrawWindow (Win32K doesn't follow the NT calling convention)
 - lib/crtdll/crtdll.def: exported ::operator new and ::operator delete
 - lib/kernel32/thread/fls.c: FLS support almost done
 - lib/ntdll/*: implemented _chkstk/_alloca_probe - some more Visual C++ programs should run now; exported NtCurrentTeb for compatibility with Windows NT 3.51 and some non-i386 architectures; removed the CRT from the linker libraries
 - lib/string/*: type-generic string functions (single, shared implementation for single-byte and Unicode variants using _t macros); corrected a bug in the i386 wcsncmp; merged strspn/strcspn; corrected non-portable code in strspn/strcspn; implemented strnlen/tcsnlen for the i386 architecture; all changes were regression-tested and compared against the Microsoft CRT
 - tools/helper.mk: libraries, dlls and drivers now depend from their DEF/EDF files

svn path=/trunk/; revision=5010
2003-07-06 23:04:19 +00:00
Hartmut Birr
8ed329a442 - Do only attach/detach the process if the address is in user space
and if the current process is not the creator process (in MmProbeAndLockPages).

svn path=/trunk/; revision=5009
2003-07-06 10:50:21 +00:00
Hartmut Birr
0ae49a2c5e - Store the consumer type for each page.
- Implemented the zero pager thread.
- Check that the given page is a user page (in MmGetLRUNextUserPage).

svn path=/trunk/; revision=5008
2003-07-06 10:34:32 +00:00
Hartmut Birr
63ac615e14 - Don't free the memory from symbol files if the kernel debugger is active.
svn path=/trunk/; revision=5007
2003-07-06 10:25:15 +00:00
Hartmut Birr
c6b8b78565 - Release the lock while allocating pages for the pool (in grow_kernel_pool).
svn path=/trunk/; revision=5006
2003-07-06 07:36:56 +00:00
Steven Edwards
9fa9badcf4 Added desktop part of explorer clone by Andrew "Silver Blade" Greenwood.
svn path=/trunk/; revision=5005
2003-07-06 07:18:32 +00:00
Steven Edwards
48802da388 update cvsingnore files
svn path=/trunk/; revision=5004
2003-07-06 04:48:53 +00:00
Steven Edwards
7807d86143 Added new button test by Ciobanu Alexander.
svn path=/trunk/; revision=5003
2003-07-06 01:23:02 +00:00
Hartmut Birr
89b0516273 - Allocate a separate memory area for the kmap area.
- Changed the free block list for the non paged pool from a double linked list
  to an avl tree which is sorted by sizes.

svn path=/trunk/; revision=5002
2003-07-05 18:10:50 +00:00
Casper Hornstrup
4ac70b6bbb 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/windows/defwnd.c (DefWndHandleLButtonUpNC,
	User32DefWindowProc): Only send WM_SYSCOMMAND message, not WM_CLOSE.
	(DefWndHandleSysCommand): Handle SC_CLOSE message.

svn path=/trunk/; revision=5001
2003-07-05 17:57:22 +00:00
Casper Hornstrup
9826d4e679 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/win32k/ntuser.h (NtUserSetFocus): Correct prototype.
	* lib/user32/misc/stubs.c (SetFocus): Remove.
	* lib/user32/windows/defwnd.c (KEYDATA_ALT): New.
	(User32DefWindowProc): Handle WM_SYSKEYDOWN.
	* lib/user32/windows/input.c (SetFocus): New.
	* subsys/win32k/include/msgqueue.h (USER_MESSAGE_QUEUE): Document
	FocusWindow field.
	* subsys/win32k/include/window.h (W32kSetFocusWindow): Change return type
	to HWND.
	* subsys/win32k/include/winsta.h (W32kGetFocusMessageQueue): New.
	* subsys/win32k/ntuser/input.c (KeyboardThreadMain): Handle system keys.
	* subsys/win32k/ntuser/keyboard.c (NtUserSetFocus): New.
	* subsys/win32k/ntuser/msgqueue.c (MsqPostKeyboardMessage): Implement.
	* subsys/win32k/ntuser/stubs.c (NtUserSetFocus): Remove.
	* subsys/win32k/ntuser/window.c (W32kSetFocusWindow): Implement.
	(NtUserGetClientRect, W32kGetWindowProc, NtUserCreateWindowEx): Release
	window reference on error.
	(W32kDestroyWindow): Remove focus from window tree before destroying it
	if needed.
	* subsys/win32k/ntuser/winpos.c (WinPosChangeActiveWindow): Implement.
	(WinPosShowWindow): Activate window if needed.
	* subsys/win32k/ntuser/winsta.c (W32kGetFocusMessageQueue): New.

svn path=/trunk/; revision=5000
2003-07-05 16:04:01 +00:00
Steven Edwards
6c51b3072c Remove unimplemented in SetDebugErrorLevel.
svn path=/trunk/; revision=4999
2003-07-03 02:52:54 +00:00
Gé van Geldorp
d24db59ab5 Version 0.1.2
svn path=/trunk/; revision=4996
2003-07-02 21:10:16 +00:00
Steven Edwards
ad5a04b000 Add another stub (SetDebugErrorLevel) for dependancy walker.
svn path=/trunk/; revision=4995
2003-07-01 23:09:09 +00:00
Richard Campbell
c43774d9fe more exports...hate doing this manually...
svn path=/trunk/; revision=4994
2003-07-01 01:03:49 +00:00
Richard Campbell
677110b2cc New ROS User32...doesn't work...doesn't even compile...not even CLOSE to being complete...(no dllmain yet for instance...)
svn path=/trunk/; revision=4993
2003-06-30 22:17:37 +00:00
guido
1f77515cad last bit of .cvsignore updates
svn path=/trunk/; revision=4992
2003-06-29 21:12:24 +00:00
guido
0eb42760a8 another day of janitor stuff
svn path=/trunk/; revision=4991
2003-06-29 21:05:54 +00:00
Casper Hornstrup
397aee4126 Readd windows.h as it is needed for cross-compilation.
svn path=/trunk/; revision=4990
2003-06-29 12:30:20 +00:00
guido
f5c3d860c3 still more .cvsignore maintenance
svn path=/trunk/; revision=4989
2003-06-28 23:30:11 +00:00
guido
19a10245f0 again more .cvsignore maintenance
svn path=/trunk/; revision=4988
2003-06-28 23:10:02 +00:00
guido
4dd0876325 more .cvsignore maintenance
svn path=/trunk/; revision=4987
2003-06-28 23:09:27 +00:00
guido
258e83341b .cvsignore maintenance
svn path=/trunk/; revision=4986
2003-06-28 23:04:41 +00:00
Gé van Geldorp
9389c797ef Implement clipping for bitblt operations
svn path=/trunk/; revision=4985
2003-06-28 08:39:18 +00:00
Hartmut Birr
5e61f5b601 - Disabled TAG_STATISTICS_TRACKING.
svn path=/trunk/; revision=4984
2003-06-27 21:35:05 +00:00
Steven Edwards
66cc55e3e3 Remove unneed windows.h
svn path=/trunk/; revision=4983
2003-06-27 21:33:25 +00:00
Hartmut Birr
9195641c84 - Fixed some locking problems during different processes access the same sections (dlls).
- Reduced the overhead in MmCreateImageSection if for a file the caching is initialized already.
- Moved some values from SECTION_OBJECT to MM_IMAGE_SECTION_OBJECT.
- Removed the lock from SECTION_OBJECT.

svn path=/trunk/; revision=4982
2003-06-27 21:28:30 +00:00
Gé van Geldorp
8abf146aac Add architecture define to CFLAGS
svn path=/trunk/; revision=4981
2003-06-27 21:17:35 +00:00
Gé van Geldorp
d7ce70741b Small fixes for newer MinGW version
svn path=/trunk/; revision=4980
2003-06-27 21:10:35 +00:00
Steven Edwards
08ce61d1c2 CreateFileMapping Patch by Hartmut Birr for MSYS applications.
(No they still dont work)

svn path=/trunk/; revision=4979
2003-06-27 20:15:17 +00:00
Hartmut Birr
fcde5c2e54 - Call the FSD if the volume is mounted in IoVerifyVolume.
svn path=/trunk/; revision=4978
2003-06-27 19:00:33 +00:00
Casper Hornstrup
b36ca324a9 2003-06-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/controls/button.c (ButtonWndProc_comm): Fix unsigned/signed
	warning.

svn path=/trunk/; revision=4977
2003-06-27 17:49:07 +00:00
Steven Edwards
bf1abd5a1c Enable stubs for a few functions needed by dependancy walker.
Add new file stubs.c for the functions I didnt know where to place.

svn path=/trunk/; revision=4976
2003-06-27 15:19:19 +00:00
Eric Kohl
f99f43d367 Disabled potentially misleading error message.
svn path=/trunk/; revision=4975
2003-06-27 00:16:33 +00:00
Hartmut Birr
8aca12db20 - Revert the last changes. Support for removable medias needs more investigations.
svn path=/trunk/; revision=4974
2003-06-26 22:01:02 +00:00
Gé van Geldorp
c2f1fc8975 Implement SelectClipRgn() (note: this does NOT mean that clipping is
working now!)

svn path=/trunk/; revision=4973
2003-06-26 21:52:40 +00:00
Eric Kohl
352ebc2a24 Added cdrom IOCTLs.
svn path=/trunk/; revision=4972
2003-06-26 20:02:03 +00:00
Eric Kohl
60c39669a2 Added two NOPs.
FreeLoader can now be built using MinGW.

svn path=/trunk/; revision=4971
2003-06-26 15:16:36 +00:00
Gé van Geldorp
1d4c92223c Remove reference to ps.h
svn path=/trunk/; revision=4970
2003-06-26 06:31:49 +00:00
Steven Edwards
d6cb5e2e20 removed combobox file. code implemented in ported wine control
svn path=/trunk/; revision=4969
2003-06-26 00:14:15 +00:00
Steven Edwards
cefbfd89ed Updated license information with date.
svn path=/trunk/; revision=4968
2003-06-26 00:04:49 +00:00
Steven Edwards
76e2bc6284 Added combobox control ported from WINE
Added controls.h header to hold missing
defines and structures until w32api is in sync.

svn path=/trunk/; revision=4967
2003-06-26 00:01:34 +00:00
Gé van Geldorp
9aea24bfae On thread termination, destroy all windows owned by that thread
svn path=/trunk/; revision=4966
2003-06-25 22:37:07 +00:00
Gé van Geldorp
91e44fd859 Fix polygon outline special case and min/max caption buttons
svn path=/trunk/; revision=4965
2003-06-25 16:55:33 +00:00
Eric Kohl
a547aaf0c5 Added checksum calculation to PnPBiosSupported().
Patch by Petr Matousek.

svn path=/trunk/; revision=4964
2003-06-25 13:56:04 +00:00
Eric Kohl
676160308e Verify storage device upon file open request.
svn path=/trunk/; revision=4963
2003-06-24 21:34:41 +00:00
Eric Kohl
db571ee907 Implemented several IOCTLs.
Improved error handling/reporting.

svn path=/trunk/; revision=4962
2003-06-24 21:32:15 +00:00
Eric Kohl
7cc3dd52bb Merged duplicate code.
svn path=/trunk/; revision=4961
2003-06-24 21:30:08 +00:00
Eric Kohl
0059d716a1 Minor cleanup.
svn path=/trunk/; revision=4960
2003-06-24 12:39:08 +00:00
Eric Kohl
b209c5a96e Allocate a sense data buffer for each disk device.
svn path=/trunk/; revision=4959
2003-06-24 12:38:00 +00:00
Eric Kohl
39825a170b Minor cleanup.
svn path=/trunk/; revision=4958
2003-06-24 12:31:40 +00:00
Eric Kohl
1b854f5f2a Added more stuff to the IDENTIFY data block.
Added support for the TEST UNIT READY command.
Combined various booleans in a flags variable.

svn path=/trunk/; revision=4957
2003-06-24 12:29:02 +00:00
Eric Kohl
b6b732c937 Removed unused variable.
svn path=/trunk/; revision=4956
2003-06-24 12:22:14 +00:00
Gé van Geldorp
59a5712e45 Start scan for PnP$ signature at low end (0xf0000)
svn path=/trunk/; revision=4955
2003-06-24 11:41:58 +00:00
Gé van Geldorp
f974b5e263 Pass failures up the chain
svn path=/trunk/; revision=4954
2003-06-24 11:34:28 +00:00
Richard Campbell
0ceda3461a Some small fixes...more soon
svn path=/trunk/; revision=4953
2003-06-24 00:55:02 +00:00
Richard Campbell
a2ad470fa7 ewps
svn path=/trunk/; revision=4952
2003-06-23 21:16:01 +00:00
Richard Campbell
3fa6478075 Button test (used GvG's static control test as a template.)
svn path=/trunk/; revision=4951
2003-06-23 16:01:20 +00:00
Richard Campbell
d570317697 blah i need to stop having those late night coding sessions :P
Register the button control class

svn path=/trunk/; revision=4950
2003-06-23 14:46:17 +00:00
Richard Campbell
23ed82d969 Ported the button control from wine. This is untested, but will probably work, haven't written a test app yet, will do so when i have more time :)
Implements:
  - Pushbutton
  - RadioButton
  - CheckBox

svn path=/trunk/; revision=4949
2003-06-23 10:10:51 +00:00
Gé van Geldorp
a0f42417ab Implemented GetTextExtentPoint32() and fix GetTextExtentPoint()
svn path=/trunk/; revision=4948
2003-06-22 21:33:48 +00:00
guido
96b4efbbd6 fixed warning
svn path=/trunk/; revision=4947
2003-06-22 19:51:14 +00:00
guido
08aacf7745 fixed slashes
svn path=/trunk/; revision=4946
2003-06-22 19:43:53 +00:00
Steven Edwards
f6f96aa6c6 Ported icontitle control from WINE
svn path=/trunk/; revision=4945
2003-06-22 19:18:17 +00:00
Steven Edwards
cbb3e1c384 Added Icontitle Control
svn path=/trunk/; revision=4944
2003-06-22 19:17:18 +00:00
Eric Kohl
ee442cb63a Added missing SCSI pass-through structures.
svn path=/trunk/; revision=4943
2003-06-22 16:35:58 +00:00
Eric Kohl
eab41528ac Added missing disk io control codes.
svn path=/trunk/; revision=4942
2003-06-22 16:33:44 +00:00
Hartmut Birr
2f0c098757 - Allocate the pipe buffer at creation time.
- Interprete the given buffer size.
- Interprete the given direction (inbound, outbound or both).
- The handling of read/write request in message mode is possible incorrect.

svn path=/trunk/; revision=4941
2003-06-21 19:55:55 +00:00
Eric Kohl
246369270a Implemented NLS functions.
svn path=/trunk/; revision=4940
2003-06-21 18:06:11 +00:00
Jurgen van Gael
ea98149a49 Partial GetAdaptersInfo implementation in order to get ipconfig running.
svn path=/trunk/; revision=4939
2003-06-21 16:04:09 +00:00
Gé van Geldorp
500b7199f9 Bounds checking in MmMarkPage(Un)Mapped, call MmMarkPageMapped from
MmMapIoSpace() for symmetry with MmUnmapIoSpace()

svn path=/trunk/; revision=4938
2003-06-21 14:30:42 +00:00
Gé van Geldorp
ba8e03d72f Implement display ownership, also makes ATI Rage 3rd party video driver
runnable

svn path=/trunk/; revision=4937
2003-06-21 14:25:30 +00:00
guido
a9b7d71462 Fixed cdmake on linux, if D_TYPE is not supported.
svn path=/trunk/; revision=4936
2003-06-21 09:11:24 +00:00
Eric Kohl
58b09f3345 Initial work on error logging.
svn path=/trunk/; revision=4935
2003-06-20 22:43:27 +00:00
Eric Kohl
627e330d0d Disable debug messages.
svn path=/trunk/; revision=4934
2003-06-20 18:19:29 +00:00
Eric Kohl
ea01cf3f1f Enable automatic initialization and termination of Win32 threads and processes.
svn path=/trunk/; revision=4933
2003-06-20 16:26:53 +00:00
Gé van Geldorp
76d1058fc3 Map video memory based on actual size of screen
svn path=/trunk/; revision=4932
2003-06-20 13:04:09 +00:00
Gé van Geldorp
7704a6609a Remove debug breakpoint
svn path=/trunk/; revision=4931
2003-06-20 10:37:23 +00:00
Emanuele Aliberti
3f1690fdbd KERNEL32.GetConsoleWindow implemented
KERNEL32.GetConsoleHardwareState implemented (undoc;incompatible)
KERNEL32.SetConsoleHardwareState implemented (undoc;incompatible)

Console window's handle is actually not returned because csrss does not create a window for each allocated console.

HardwareState is undocumented. Only size of the returned/set data is the same as NT's.

svn path=/trunk/; revision=4930
2003-06-19 19:38:26 +00:00
Gé van Geldorp
3be996ffc4 Revert last change
svn path=/trunk/; revision=4929
2003-06-19 19:01:01 +00:00
Gé van Geldorp
9ad6e7c184 Implement EngQueryPerformanceFrequency, EngQueryPerformanceCounter and
partly Eng(Un)SecureMem

svn path=/trunk/; revision=4928
2003-06-19 17:13:28 +00:00
Gé van Geldorp
86d2a51a17 Implement VideoPortSynchronizeExecution() and VideoPortScanRom()
svn path=/trunk/; revision=4927
2003-06-19 16:04:05 +00:00
Gé van Geldorp
b5c47abf10 Implement KeQueryPerformanceCounter() and move all timer related stuff to
a single file timer.c

svn path=/trunk/; revision=4926
2003-06-19 16:00:03 +00:00
Gé van Geldorp
17b476d572 Implement VideoPortSynchronizeExecution() and VideoPortScanRom()
svn path=/trunk/; revision=4925
2003-06-19 15:57:45 +00:00
Gé van Geldorp
96d9fbe944 Don't mark pages as unmapped when releasing them via MmUnmapIoSpace
svn path=/trunk/; revision=4924
2003-06-19 15:48:39 +00:00
KJK::Hyperion
c37620bed9 Cosmetics...
svn path=/trunk/; revision=4923
2003-06-19 03:17:56 +00:00
KJK::Hyperion
bf7fd7c66e Updated D-Flat/32 readme (removed TODO item about naming conventions)
svn path=/trunk/; revision=4922
2003-06-19 02:52:02 +00:00
KJK::Hyperion
ec3b369d83 Renamed ALL DFlat32 symbols to include a Df/DF/DF_/DFM_ prefix. Compiles and works fine, apparently
svn path=/trunk/; revision=4921
2003-06-19 02:48:13 +00:00
Hartmut Birr
c4c8ee8bec - Fixed the install and dist rule for static libraries.
- Build user mode images without debug symbols.
- Build map files for each image.

svn path=/trunk/; revision=4920
2003-06-17 19:40:08 +00:00
Gé van Geldorp
58bf81b39f Call InitializeVideoAddressSpace() before opening the display device, so
the display open routine can make INT10 calls

svn path=/trunk/; revision=4919
2003-06-17 13:55:16 +00:00
Eric Kohl
79cd3ca256 Disable debug messages.
svn path=/trunk/; revision=4918
2003-06-17 10:52:56 +00:00
Eric Kohl
21ef04df28 Initialize pointers to lead byte info tables.
svn path=/trunk/; revision=4917
2003-06-17 10:44:16 +00:00
Eric Kohl
b905ce98aa Fixed NtAdjustPrivilegeToken() and SeSinglePrivilegeCheck().
svn path=/trunk/; revision=4916
2003-06-17 10:42:37 +00:00
Gé van Geldorp
a2be00bf0e Fix processing of com port options
svn path=/trunk/; revision=4915
2003-06-17 10:39:43 +00:00
Hartmut Birr
df3bf6cc39 - something was wrong with the previous checkin.
svn path=/trunk/; revision=4914
2003-06-16 19:41:56 +00:00
Hartmut Birr
1d64761f02 - Restart the access fault handler if the return value is STATUS_MM_RESTART_OPERATION.
svn path=/trunk/; revision=4913
2003-06-16 19:20:28 +00:00
Hartmut Birr
11eb72da00 - Fixed the test for context flags because the architecture flag is always set.
svn path=/trunk/; revision=4912
2003-06-16 19:19:30 +00:00
Hartmut Birr
f56c6ce607 - Removed the architecture flag while checking the context flag.
- Fixed the test for math support.

svn path=/trunk/; revision=4911
2003-06-16 19:18:48 +00:00
Hartmut Birr
5ce7ebb682 - Fixed the delivering of pending dpcs in KiDispatchInterrupt.
- Raise the irql before acquiring the lock in KeRemoveQueueDpc.

svn path=/trunk/; revision=4910
2003-06-16 19:18:14 +00:00
Hartmut Birr
c4bb72e4ce - Decrement the pending apc count while holding the lock in KiDeliverUserApc.
- Restart the scanning through the apc list if there was released the lock in KiDeliverApc.

svn path=/trunk/; revision=4909
2003-06-16 19:17:45 +00:00
Hartmut Birr
5f1dae9d19 - Release the lock while accessing pageable user mode buffers in NtReplyWaitReceivePortEx.
svn path=/trunk/; revision=4908
2003-06-16 19:17:08 +00:00
Hartmut Birr
b13e656c10 - Remove only the necessary page count from cache in CcRosTrimCache.
svn path=/trunk/; revision=4907
2003-06-16 19:16:32 +00:00
Hartmut Birr
d62b3b42e8 - Fixed the check for an existing paging file.
svn path=/trunk/; revision=4906
2003-06-16 19:15:57 +00:00
Eric Kohl
322b60c160 Added service table pointer to KTHREAD.
svn path=/trunk/; revision=4905
2003-06-16 16:45:52 +00:00
Gé van Geldorp
8726fa1797 Unicode windows not supported yet, convert to Ascii
svn path=/trunk/; revision=4904
2003-06-16 14:05:02 +00:00
Eric Kohl
1cffd5317b Fixed yet another buggy debug message.
svn path=/trunk/; revision=4903
2003-06-16 14:00:51 +00:00
Eric Kohl
6b85686432 Fixed buggy debug message
svn path=/trunk/; revision=4902
2003-06-16 13:56:30 +00:00
Gé van Geldorp
4345b27024 Introduce WNDCLASS(EX)A/W
svn path=/trunk/; revision=4901
2003-06-16 13:56:09 +00:00
Gé van Geldorp
065af84ed5 Static control test application by Radoslaw Sokol
svn path=/trunk/; revision=4900
2003-06-16 13:51:16 +00:00
Gé van Geldorp
4d4af768ba First shot at STATIC control
svn path=/trunk/; revision=4899
2003-06-16 13:46:26 +00:00
Gé van Geldorp
628c166c14 Handle NULL window name
svn path=/trunk/; revision=4898
2003-06-16 13:43:16 +00:00
Gé van Geldorp
5b1bf6da3b Introduce WNDCLASS(EX)A/W
svn path=/trunk/; revision=4897
2003-06-16 13:10:01 +00:00
Steven Edwards
e752a43c37 Gcc 3.x end of line warning fixes
svn path=/trunk/; revision=4896
2003-06-15 21:20:34 +00:00
Gé van Geldorp
acf78985a1 Fixes to get CS_PARENTDC working
svn path=/trunk/; revision=4895
2003-06-15 20:08:02 +00:00
Richard Campbell
53bf611e09 Implemented FindWindowEx, it's untested, but the code should work, as it's fairly straightfoward...This is only a partial implementation however. It searches all windows regardless...
svn path=/trunk/; revision=4894
2003-06-15 04:25:34 +00:00
Steven Edwards
57a3b7cc34 Turn off SEH Junk some other minor cleanups.
svn path=/trunk/; revision=4893
2003-06-14 22:17:48 +00:00
Gé van Geldorp
60dd268c50 Pass WndProc in call to W32kCallWindowProc, saving a usermode -> kernelmode ->
usermode trip

svn path=/trunk/; revision=4892
2003-06-14 21:21:23 +00:00
Hartmut Birr
6a3ff87ad2 - Fixed the calculation of MiPagesRequired.
- Fixed the calculation of the target in MiRebalanceMemoryConsumers.

svn path=/trunk/; revision=4891
2003-06-14 17:53:25 +00:00
Hartmut Birr
07dd3a3809 - Added a boot option for reducing the used memory size ('/maxmem=used_memory_in_mb').
svn path=/trunk/; revision=4890
2003-06-14 17:46:24 +00:00
Gé van Geldorp
2e437e9b34 Partial implementation of DestroyWindow(), handling child windows
svn path=/trunk/; revision=4889
2003-06-14 10:00:58 +00:00
Gé van Geldorp
9c7d6c225d Do not delete WindowTextAtom on WM_NCDESTROY, default WM_NCCREATE might
not have been called (overridden) messing up the WindowTextAtom ref count

svn path=/trunk/; revision=4888
2003-06-14 09:59:17 +00:00
Gé van Geldorp
814ac65da6 Fix RtlpFreeHandle
svn path=/trunk/; revision=4887
2003-06-14 09:52:57 +00:00
Steven Edwards
eda4cb882d primitives test from the Windows 2000 Graphics API Backbook
Used with permission from Damon Chandler <dmc27@ee.cornell.edu>

Makefile still needs to be converted to ReactOS Makefile
and SEH needs to be disabled.

svn path=/trunk/; revision=4886
2003-06-13 19:39:30 +00:00
Gé van Geldorp
3da2ebbda8 Patch by Hartmut to clean up my mess
svn path=/trunk/; revision=4885
2003-06-11 18:38:44 +00:00
Gé van Geldorp
6e6cbd0cc2 "ext" is a pointer
svn path=/trunk/; revision=4884
2003-06-11 18:37:30 +00:00
Eric Kohl
9ddebf95c5 Added math support routines.
Removed entry point.

svn path=/trunk/; revision=4883
2003-06-11 15:42:31 +00:00
Eric Kohl
398d93b19b Added math support routines.
svn path=/trunk/; revision=4882
2003-06-11 15:38:36 +00:00
Eric Kohl
6fb78880ce Fixed math support routines.
svn path=/trunk/; revision=4881
2003-06-11 12:29:49 +00:00
KJK::Hyperion
649a9d362a - i386/fiber.S: SwitchToFiber: there was data defined in the middle of the function - ooops
- thread.c: ThreadStartup: initialize error code to zero, so that void ThreadMains set the thread's exit code to something that makes sense

svn path=/trunk/; revision=4880
2003-06-09 22:39:48 +00:00
Hartmut Birr
a3048f0254 - Replaced FindFirstFile/FindClose with GetFileAttributesEx.
- Fixed some minor bugs.

svn path=/trunk/; revision=4879
2003-06-09 20:31:13 +00:00
Hartmut Birr
48be1aeb7d - Moved strspn and strcspn to the string library.
svn path=/trunk/; revision=4878
2003-06-09 20:27:14 +00:00
Hartmut Birr
e9f3a8740c - Implemented GetFileAttributesExA/W.
svn path=/trunk/; revision=4877
2003-06-09 19:58:21 +00:00
Eric Kohl
52b40cdd07 Verify checksums of preloaded DLLs.
svn path=/trunk/; revision=4876
2003-06-09 13:45:22 +00:00
Eric Kohl
b99ad0e0a6 Implemented LdrVerifyImageMatchesChecksum().
svn path=/trunk/; revision=4875
2003-06-09 13:44:37 +00:00
Eric Kohl
b7bf13d061 Added full implementations of [Get/Set]ComputerName[A/W].
svn path=/trunk/; revision=4874
2003-06-08 21:00:04 +00:00
Eric Kohl
e7d27b01ee Added default computer name settings.
svn path=/trunk/; revision=4873
2003-06-08 20:56:46 +00:00
Gé van Geldorp
472ebde7ec Fix NtGetContextThread() and implement NtSetContextThread()
svn path=/trunk/; revision=4872
2003-06-07 19:13:43 +00:00
Casper Hornstrup
32f2d198df Add missing file.
svn path=/trunk/; revision=4871
2003-06-07 16:23:46 +00:00
Casper Hornstrup
a86b74f2fe 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddk/dbgfuncs.h: Move ...
	* include/ntos/dbgfuncs.h: ... here.
	* include/basetsd.h (LONG32): Make it a long.
	* include/ntos.h: Include ntos/dbgfuncs.h.
	* include/ddk/dbgfuncs.h (DBG_STATUS_*, DBG_GET_SHOW_*): Move to
	include/ntos/dbgfuncs.h.
	* include/ddk/exfuncs.h (ExNotifyCallback): Match w32api prototype.
	(*BinaryTree, *SplayTree, *HashTable): Move to include/ntos/zw.h.
	* include/ddk/extypes.h (TRAVERSE_METHOD, PKEY_COMPARATOR,
	PTRAVERSE_ROUTINE, _BINARY_TREE_NODE, BINARY_TREE, SPLAY_TREE_NODE,
	SPLAY_TREE, HASH_TABLE): Move to include/ntos/zwtypes.h.
	* include/ddk/status.h (STATUS_PATH_SYNTAX_BAD): Rename to
	STATUS_OBJECT_PATH_SYNTAX_BAD.
	* apps/utils/objdir/objdir.c (StatusToName): Change
	STATUS_PATH_SYNTAX_BAD to STATUS_OBJECT_PATH_SYNTAX_BAD.
	* ntoskrnl/dbg/errinfo.c: Use STATUS_OBJECT_PATH_SYNTAX_BAD.
	* include/ntos/rtl.h (RtlQueryRegistryValues, RtlWriteRegistryValue,
	RtlDeleteRegistryValue): Match w32api prototypes.
	* include/ntos/zw.h (ZwQuerySystemTime): Ditto.
	* lib/kernel32/file/cnotify.c (FindFirstChangeNotificationW): Use
	STATUS_OBJECT_PATH_SYNTAX_BAD.
	* lib/ntdll/rtl/registry.c (RtlDeleteRegistryValue,
	RtlQueryRegistryValues, RtlWriteRegistryValue): Match w32api prototypes.
	* ntoskrnl/cm/cm.h, ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/regfile.c: Change
	FILETIME to LARGE_INTEGER.
	* ntoskrnl/cm/rtlfunc.c (RtlDeleteRegistryValue, RtlQueryRegistryValues,
	RtlWriteRegistryValue): Match w32api prototypes.
	* ntoskrnl/ex/callback.c (ExNotifyCallback): Ditto.
	* ntoskrnl/ex/time.c (NtQuerySystemTime): Ditto.

svn path=/trunk/; revision=4870
2003-06-07 16:16:39 +00:00
Hartmut Birr
a47b482b97 - Dereference the process object in W32kCleanupForProcess.
svn path=/trunk/; revision=4869
2003-06-07 12:37:01 +00:00
Casper Hornstrup
39c92c6522 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* hal/halx86/dma.c (AdapterObjects): Don't put braces on scalar
	initializers.

svn path=/trunk/; revision=4868
2003-06-07 12:25:53 +00:00
Casper Hornstrup
685119e0cd 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/obfuncs.h (ObCreateObject): Remove.
	* include/ntos/zwtypes.h (ObRosCreateObject): Add.
	* ntoskrnl/ntoskrnl.def, ntoskrnl/ntoskrnl.edf: Export ObCreateObject@36
	and ObRosCreateObject@20.
	* ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/registry.c, ntoskrnl/cm/regobj.c,
	ntoskrnl/io/create.c, ntoskrnl/io/device.c, ntoskrnl/io/iocomp.c,
	ntoskrnl/lpc/connect.c, ntoskrnl/lpc/create.c, ntoskrnl/mm/section.c,
	ntoskrnl/nt/evtpair.c, ntoskrnl/nt/mutant.c, ntoskrnl/nt/ntevent.c,
	ntoskrnl/nt/ntsem.c, ntoskrnl/nt/nttimer.c, ntoskrnl/nt/profile.c,
	ntoskrnl/ob/dirobj.c, ntoskrnl/ob/namespc.c, ntoskrnl/ob/symlink.c,
	ntoskrnl/ps/create.c, ntoskrnl/ps/process.c, ntoskrnl/se/token.c,
	subsys/win32k/ntuser/winsta.c: Use ObRosCreateObject, not ObCreateObject.
	* ntoskrnl/ob/object.c (ObRosCreateObject): Rename from ObCreateObject.
	(ObCreateObject): Add stub.

svn path=/trunk/; revision=4867
2003-06-07 12:23:14 +00:00
Casper Hornstrup
1e6c809d07 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/obfuncs.h (ObCreateObject): Remove.
	* include/ntos/zwtypes.h (ObRosCreateObject):
	* ntoskrnl/ntoskrnl.def, ntoskrnl/ntoskrnl.edf: Export ObCreateObject@36
	and ObRosCreateObject@20.
	* ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/registry.c, ntoskrnl/cm/regobj.c,
	ntoskrnl/io/create.c, ntoskrnl/io/device.c, ntoskrnl/io/iocomp.c,
	ntoskrnl/lpc/connect.c, ntoskrnl/lpc/create.c, ntoskrnl/mm/section.c,
	ntoskrnl/nt/evtpair.c, ntoskrnl/nt/mutant.c, ntoskrnl/nt/ntevent.c,
	ntoskrnl/nt/ntsem.c, ntoskrnl/nt/nttimer.c, ntoskrnl/nt/profile.c,
	ntoskrnl/ob/dirobj.c, ntoskrnl/ob/namespc.c, ntoskrnl/ob/symlink.c,
	ntoskrnl/ps/create.c, ntoskrnl/ps/process.c, ntoskrnl/se/token.c,
	subsys/win32k/ntuser/winsta.c: Use ObRosCreateObject, not ObCreateObject.
	* ntoskrnl/ob/object.c (ObRosCreateObject): Rename from ObCreateObject.
	(ObCreateObject): Add stub.

svn path=/trunk/; revision=4866
2003-06-07 12:17:20 +00:00
Casper Hornstrup
922b9fdf46 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/cctypes.h (PREACTOS_COMMON_FCB_HEADER): Remove.
	(FSRTL_COMMON_FCB_HEADER): Add.
	* include/ddk/iotypes.h (FILE_OBJECT): Rename field
	SectionObjectPointers to SectionObjectPointer.
	* ntoskrnl/cc/copy.c, ntoskrnl/cc/misc.c, ntoskrnl/cc/pin.c,
	ntoskrnl/cc/view.c, ntoskrnl/io/rawfs.c, ntoskrnl/mm/section.c,
	drivers/fs/cdfs/cleanup.c, drivers/fs/cdfs/fcb.c,
	drivers/fs/cdfs/fsctl.c, drivers/fs/ntfs/fcb.c, drivers/fs/ntfs/fsctl.c,
	drivers/fs/vfat/close.c, drivers/fs/vfat/create.c,
	drivers/fs/vfat/finfo.c, drivers/fs/vfat/fcb.c, drivers/fs/vfat/fsctl.c:
	Use new	FILE_OBJECT structure.
	* drivers/fs/cdfs/cdfs.h, drivers/fs/ntfs/ntfs.h, drivers/fs/vfat/vfat.h:
	Use new FSRTL_COMMON_FCB_HEADER structure.
	* drivers/net/afd/include/afd.h (FSRTL_COMMON_FCB_HEADER): Remove.
	* include/ddk/ketypes.h (KQUEUE): Match w32api structure.
	* ntoskrnl/ke/queue.c, ntoskrnl/ke/wait.c: Use new structure.
	* ntoskrnl/ke/spinlock.c (KeAcquireSpinLockAtDpcLevel,
	KeReleaseSpinLockFromDpcLevel): Undefine before declaring.

svn path=/trunk/; revision=4865
2003-06-07 11:34:36 +00:00
Eric Kohl
83f9a49a15 Added RtlRandom() and RtlUniform().
svn path=/trunk/; revision=4864
2003-06-07 11:33:13 +00:00
Casper Hornstrup
cafd29d267 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/ketypes.h (KSPIN_LOCK, PKSPIN_LOCK): Match w32api
	structures.
	* ntoskrnl/ke/spinlock.c: Use new structures.

svn path=/trunk/; revision=4863
2003-06-07 10:37:50 +00:00
Eric Kohl
bdb2981529 Fixed minor bugs in RtlConvertSidToUnicodeString().
svn path=/trunk/; revision=4862
2003-06-07 10:35:27 +00:00
Casper Hornstrup
ebabe56624 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/service.h: Move ...
	* include/ntos/service.h: ... here.
	* include/ddk/kdfuncs.h: Move ...
	* include/ntos/kdfuncs.h: ... here.
	* include/ntos/halfuncs.h: New file.
	* ntoskrnl/include/internal/hal/hal.h,
	ntoskrnl/include/internal/hal/bus.h,
	ntoskrnl/include/internal/hal/mps.h: Remove.
	* hal/halx86/include/hal.h: Remove disabled code.
	* include/ntos.h: Include ntos/service.h, ntos/halfuncs.h, and
	ntos/kdfuncs.h.
	* include/ddk/fstypes.h (FILE_LOCK_TOC): Move ...
	* include/ntos/file.h: ... here.
	* include/ddk/halfuncs.h (HalAllProcessorsStarted,
	HalBeginSystemInterrupt, HalDisableSystemInterrupt,
	HalEnableSystemInterrupt, HalEndSystemInterrupt,
	HalInitializeProcessor, HalInitSystem, HalReportResourceUsage): Move to
	include/ntos/halfuncs.h.
	* include/ddk/iofuncs.h (IoAssignDriveLetters): Ditto.
	* include/ddk/kefuncs.h (KeInitializeApc): Match w32api prototype.
	(KeRaiseIrqlToSynchLevel): Move to include/ntos/halfuncs.h.
	* include/ddk/ketypes.h (KAPC_ENVIRONMENT): Move to include/ntos/types.h.
	(KDEVICE_QUEUE, KDEVICE_QUEUE_ENTRY): Match w32api prototype.
	(KINTERRUPT): Move to include/ntos/zwtypes.h.
	* include/ddk/mmtypes.h (PAGE_ROUND_UP, PAGE_ROUND_DOWN): Move ...
	* include/ntos/mm.h: ... here.
	* include/ddk/ntddk.h: Don't include ddk/kdfuncs.h.
	* include/ddk/pstypes.h (PKTHREAD, PRKTHREAD): Add.
	(PsInitialSystemProcess, PsProcessType, PsThreadType): Move ...
	include/ntos/ps.h: ... here.
	* lib/ntdll/rtl/i386/exception.c (SehpContinue): New.
	* ntoskrnl/rtl/i386/exception.c (SehpContinue): Ditto.
	* ntoskrnl/include/internal/ke.h: Include <ddk/ntifs.h>.
	* ntoskrnl/include/internal/ntoskrnl.h: Include internal/ke.h.
	* ntoskrnl/ex/napi.c: Use new structure SSDT_ENTRY.
	* ntoskrnl/ke/apc.c (KeInitializeApc): Match w32api prototype.
	* ntoskrnl/ke/kqueue.c: Use fields of new structures KDEVICE_QUEUE
	and KDEVICE_QUEUE_ENTRY.

svn path=/trunk/; revision=4861
2003-06-07 10:14:40 +00:00
Emanuele Aliberti
9e0e46f4bd fireball added
svn path=/trunk/; revision=4860
2003-06-07 09:43:16 +00:00
Casper Hornstrup
b6102c5a3c 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/cm/regfile.c (CmiCopyKey): Fix unsigned/signed warning.

svn path=/trunk/; revision=4859
2003-06-07 07:34:54 +00:00
Hartmut Birr
d4c1149b14 - Do not interpret spaces within a quoted string as break marker.
svn path=/trunk/; revision=4857
2003-06-06 21:05:58 +00:00
Hartmut Birr
a72bd6590c - Return ENOENT if the path name contains '*' or '?'.
svn path=/trunk/; revision=4856
2003-06-06 21:04:13 +00:00
Hartmut Birr
705db1eb52 - Do not create cache segments after the end of a file.
svn path=/trunk/; revision=4855
2003-06-06 21:02:42 +00:00
Hartmut Birr
5143077b97 - Fixed the used offset for page table/directory entries and pageops.
svn path=/trunk/; revision=4854
2003-06-06 21:01:36 +00:00
Hartmut Birr
08b4648a0a - Fixed the used offset for page table/directory entries and pageops.
- Use the page directory as page table for short segments.
- Handle zero padded segments (segments which are not complete within a file)
  by using of non dircet mapped non private pages.
- Removed some overhead.
- Fixed the locking of pages and cache segments in MmPageOutDeleteMapping/MmPageOutSectionView.

svn path=/trunk/; revision=4853
2003-06-06 21:00:28 +00:00
Eric Kohl
b694b8942b Implemented NtSaveKey().
svn path=/trunk/; revision=4852
2003-06-06 19:11:02 +00:00
Gé van Geldorp
2730a5ab14 Improve polygon filling, patch by Tim Jobling
svn path=/trunk/; revision=4851
2003-06-06 10:27:43 +00:00
Gé van Geldorp
9ee4f092fc Remove some dead code
svn path=/trunk/; revision=4850
2003-06-06 10:18:32 +00:00
Gé van Geldorp
2b5affa11d Fix CreateDIBSection() and add some stuff to GetDIBits()
svn path=/trunk/; revision=4849
2003-06-06 10:17:44 +00:00
Gunnar Dalsnes
a988e5ab0e -corrected protoype
svn path=/trunk/; revision=4848
2003-06-05 23:38:37 +00:00
Gunnar Dalsnes
aba6a902a2 -impl. process and thread cleanup
svn path=/trunk/; revision=4847
2003-06-05 22:47:47 +00:00
Gunnar Dalsnes
9b53ffc03a -call thread notify routines below DISPATCH_LVL
svn path=/trunk/; revision=4846
2003-06-05 22:45:38 +00:00
Gunnar Dalsnes
1f8cbb88a0 -call process notify routines below DISPATCH_LVL
-enable removal of process notify routines

svn path=/trunk/; revision=4845
2003-06-05 22:45:22 +00:00
Brian Palmer
5320d2eb3f Changes in v1.8.13 (6/05/2003) (brianp)
- Added support for booting Linux 2.4.x kernels
- i386 exception handler now reports FreeLoader version number

svn path=/trunk/; revision=4844
2003-06-05 20:06:48 +00:00
Casper Hornstrup
1179903bd5 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/windows/icon.c (CURSORICON_FindBestCursor,
	CURSORICON_FindBestIcon): Fix unsigned/signed warning.

svn path=/trunk/; revision=4843
2003-06-05 11:57:12 +00:00
Casper Hornstrup
f2f1a0251b 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* ntoskrnl/include/internal/i386/ps.h (KPCR_TSS): Redefine as 0x3C.
	(KPCR_TIB): New structure.
	(IKPCR): Ditto.
	(KPCR): Match w32api structure fieldnames.
	* ntoskrnl/ke/main.c (ExpInitializeExecutive): Adjust for changes to KPCR.
	* ntoskrnl/ke/i386/kernel.c: Ditto.
	* ntoskrnl/ps/thread.c: Ditto.

svn path=/trunk/; revision=4842
2003-06-05 11:51:13 +00:00
Marty Dill
55c6517e00 Send WM_STYLECHANGING/WM_STYLECHANGED when setting GWL_STYLE or GWL_EXSTYLE.
svn path=/trunk/; revision=4841
2003-06-05 03:55:36 +00:00
Gunnar Dalsnes
56bcfe5420 -cleanup IoBuildSynchronousFsdRequest
svn path=/trunk/; revision=4840
2003-06-04 21:41:12 +00:00
Gunnar Dalsnes
08b9eddcc0 -Impl. IoGetRelatedDeviceObject
-Impl. IoAttachDevice

svn path=/trunk/; revision=4839
2003-06-04 21:35:37 +00:00
Hartmut Birr
ffe18386b5 - Implemented memmove fot i386 with assembler.
svn path=/trunk/; revision=4838
2003-06-04 18:14:46 +00:00
Hartmut Birr
b49e2bc450 - Clear the direction flag previous each 'rep string' instruction.
svn path=/trunk/; revision=4837
2003-06-04 18:11:16 +00:00
Hartmut Birr
b841a51945 - Fixed a wrong call to OffsetToCluster in VfatSetAllocationSizeInformation (Thanks to Marc Sch�tz).
svn path=/trunk/; revision=4836
2003-06-04 18:01:02 +00:00
Eric Kohl
b1b828a434 Improved icon support. Patch by Tim Jobling.
svn path=/trunk/; revision=4835
2003-06-03 22:26:52 +00:00
Eric Kohl
e25101088c Improved icon support. Patch by tim Jobling.
svn path=/trunk/; revision=4834
2003-06-03 22:23:48 +00:00
Eric Kohl
62b803fe27 Install icon file.
svn path=/trunk/; revision=4833
2003-06-03 22:22:15 +00:00
Eric Kohl
966127468f Add icon as binary file.
svn path=/trunk/; revision=4831
2003-06-03 20:37:01 +00:00
Eric Kohl
277fc435a5 Removed broken icon.
svn path=/trunk/; revision=4830
2003-06-03 20:35:48 +00:00
Jurgen van Gael
7e41bced72 Implemented NtUserGetAncestor with GA_ROOT flag, stops winhello from crashing when clicking on the title bar.
svn path=/trunk/; revision=4828
2003-06-03 15:43:57 +00:00
Eric Kohl
1018ad9087 Point the root key's parent key pointer to the root key to prevent check routines from reporting false positives.
svn path=/trunk/; revision=4827
2003-06-03 07:28:01 +00:00
Eric Kohl
642d896c7b Implemented 'QueryName' method for key objects.
svn path=/trunk/; revision=4826
2003-06-02 16:51:15 +00:00
Eric Kohl
f05c47fa29 Fixed a tiny bug in ObQueryNameString().
svn path=/trunk/; revision=4825
2003-06-02 16:49:33 +00:00
Eric Kohl
002980df9c Fixed ObQueryNameString() for unnamed objects.
svn path=/trunk/; revision=4824
2003-06-02 13:03:15 +00:00
Emanuele Aliberti
881f1cd531 Campbell and Dalsnes added to the coders directory.
By the way:
- who's fireball@mok ?
- how do I add Unicode strings to RC files?

svn path=/trunk/; revision=4823
2003-06-02 12:30:05 +00:00
Eric Kohl
cea34097ce - Implemented ObQueryNameString().
- Added 'QueryName' object function.
- Implemented 'QueryName' function for file objects.

svn path=/trunk/; revision=4822
2003-06-02 10:04:28 +00:00
Hartmut Birr
210252c422 - Update two pde's if the kernel stack crosses a 4MB boundary.
svn path=/trunk/; revision=4821
2003-06-01 19:50:04 +00:00
Hartmut Birr
d4ce775b60 - Fixed the type of the result from open and replace fclose with close.
- Call time with a parameter (WIN32).

svn path=/trunk/; revision=4820
2003-06-01 19:35:28 +00:00
Hartmut Birr
819f2750e9 - Return after cleanup in NtEnumerateKey.
svn path=/trunk/; revision=4819
2003-06-01 19:28:12 +00:00
Hartmut Birr
392a5753ab - Added memccpy.
svn path=/trunk/; revision=4818
2003-06-01 19:23:18 +00:00
Hartmut Birr
4900a6f281 - Removed some files which are replaced by the string library.
svn path=/trunk/; revision=4817
2003-06-01 19:18:09 +00:00
Eric Kohl
c28184bd36 Added missing .cvsignore file. Patch by Michael Fritscher.
svn path=/trunk/; revision=4816
2003-06-01 18:18:02 +00:00
Eric Kohl
25758f18d9 Implemented RtlExtendedMagicDivide() and RtlSelfRelativeToAbsoluteSD(). Patch by Marc Schuetz.
svn path=/trunk/; revision=4815
2003-06-01 18:14:24 +00:00
Eric Kohl
b036cea0eb Implemented RtlExtendedMagicDivide(). Patch by Marc Schuetz.
svn path=/trunk/; revision=4814
2003-06-01 18:13:23 +00:00
Eric Kohl
8eb47000b7 Remobed duplicate functionality and cleaned-up the registry code.
svn path=/trunk/; revision=4813
2003-06-01 17:39:14 +00:00
Hartmut Birr
d197898a75 - Fixed a bug in the section which makes the destination pointer dword aligned.
svn path=/trunk/; revision=4812
2003-06-01 17:10:42 +00:00
Hartmut Birr
cdeedf3bb4 - Do not free the environment strings from the initial environment.
svn path=/trunk/; revision=4811
2003-06-01 17:08:03 +00:00
Hartmut Birr
ec5e98348c - Open CONOUT$ for accessing the console buffer. This fixes the
"GetConsolScreenBufferInfo : error 6" message, if the stdout handle is redirected.

svn path=/trunk/; revision=4810
2003-06-01 17:06:22 +00:00
Eric Kohl
f170e40b0a Fixed remaining object name issues in NtLoadKey2() and NtUnloadKey().
svn path=/trunk/; revision=4809
2003-06-01 15:10:52 +00:00
Eric Kohl
813549499b Preliminary fix for NtQueryObject().
svn path=/trunk/; revision=4808
2003-06-01 15:09:34 +00:00
Casper Hornstrup
05a9cdcf10 2003-06-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ntos/zwtypes.h (SYSTEM_MODULES): Rename to
	SYSTEM_MODULE_INFORMATION. Match w32api structure fieldnames.
	(SYSTEM_MODULE_INFORMATION):  Rename to SYSTEM_MODULE_INFORMATION_ENTRY.
	Match w32api structure fieldnames.
	* include/epsapi.h: Include <ntos.h>.
	(PSYSMOD_ENUM_ROUTINE, PsaCaptureSystemModules, PsaWalkSystemModules,
	PsaWalkFirstSystemModule, PsaWalkNextSystemModule): Use
	SYSTEM_MODULE_INFORMATION_ENTRY and SYSTEM_MODULE_INFORMATION structures.
	* lib/epsapi/enum/drivers.c: Use SYSTEM_MODULE_INFORMATION_ENTRY and
	SYSTEM_MODULE_INFORMATION structures.
	* lib/psapi/misc/win32.c: Ditto.
	* ntoskrnl/ldr/loader.c: Ditto.
	* lib/epsapi/enum/modules.c: Include <ntos.h>.
	* lib/ntdll/rtl/thread.c: Ditto.
	* lib/rosrtl/thread/context.c: Ditto.
	* lib/rosrtl/thread/create.c: Ditto.
	* lib/rosrtl/thread/stack.c: Ditto.
	* include/ntos.h: Include "rosrtl/thread.h".
	* include/structs.h (_BLOB_DEFINED): Rename to __BLOB_T_DEFINED.
	* include/winsock2.h: Ditto.
	* include/ntos/obtypes.h (POBJECT_TYPE): Make a pointer to struct
	_OBJECT_TYPE.
	(PHANDLE_TABLE): Make a pointer to struct _HANDLE_TABLE.
	* ntoskrnl/include/internal/mm.h (PSECTION_OBJECT): Make a pointer to
	struct _SECTION_OBJECT.
	* ntoskrnl/include/internal/i386/ps.h (PKPCR): Make a pointer to struct
	_KPCR.

svn path=/trunk/; revision=4807
2003-06-01 14:59:02 +00:00
Steven Edwards
17c104a163 Added named pipe test by Dan Kegel
svn path=/trunk/; revision=4806
2003-05-31 20:26:49 +00:00
Steven Edwards
d29a317edc Changed name of edit control test
svn path=/trunk/; revision=4805
2003-05-31 19:43:59 +00:00
Eric Kohl
ba5a26559b - Implemented RtlAdjustPrivileges().
- Implemented NtAdjustPrivilegesToken() partially.
- Fixed declaration of LUID.

svn path=/trunk/; revision=4804
2003-05-31 11:10:30 +00:00
Gé van Geldorp
5f47cf8a2a Use DPRINT1 instead of DbgPrint
svn path=/trunk/; revision=4803
2003-05-31 08:53:14 +00:00
Gé van Geldorp
f0aa23eb97 Fix some bugs relating to child windows
svn path=/trunk/; revision=4802
2003-05-31 08:51:58 +00:00
Eric Kohl
dea1b856c7 Implemented NtLoadKey2() and NtUnloadKey().
Implementation is still incomplete but functional.

svn path=/trunk/; revision=4801
2003-05-30 22:28:14 +00:00
Eric Kohl
da25678127 Added missing registry options.
svn path=/trunk/; revision=4800
2003-05-30 22:26:25 +00:00
Hartmut Birr
ddeb6c9e87 - Removed files for functions which are used from the string library.
svn path=/trunk/; revision=4799
2003-05-29 18:01:42 +00:00
Eric Kohl
6d2758d3b7 Converted the Registry to Unicode.
Link default user hive to '\Registry\User\.Default'

svn path=/trunk/; revision=4798
2003-05-29 14:09:41 +00:00
Gé van Geldorp
7a7e93c4ab Set height of default fonts to non-zero
svn path=/trunk/; revision=4797
2003-05-29 13:18:39 +00:00
Gé van Geldorp
9906724442 Fix WM_GETTEXT handling
svn path=/trunk/; revision=4796
2003-05-29 13:17:41 +00:00
Eric Kohl
d5d6a165bd Added removal of .d files to 'clean' rule.
svn path=/trunk/; revision=4795
2003-05-29 08:50:23 +00:00
KJK::Hyperion
66080da575 - Kernel32: implemented fibers. Almost complete - only lacks some Windows 2003 Server features (switching the floating point context and Fiber Local Storage functions)
- Kernel32: GetCurrentFiber and GetFiberData are macros, not functions
 - Kernel32: ExitThread now is declared as __declspec(noreturn)
 - RosRtl: two new functions to allocate and free stacks
 - RosRtl: corrected a couple of prototypes

svn path=/trunk/; revision=4794
2003-05-29 00:36:41 +00:00
Steven Edwards
2382d9e48e Add simple edit control test.
- I'm going to try my hand at porting the WINE edit control
  as Richard and Ge work on User32

svn path=/trunk/; revision=4793
2003-05-28 22:14:19 +00:00
Casper Hornstrup
1e2c725f58 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Update bootcd target.

svn path=/trunk/; revision=4792
2003-05-28 19:53:53 +00:00
Casper Hornstrup
a255631bec 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/system/usetup/progress.c (ProgressNextStep): Check if NewPos
	is odd.

svn path=/trunk/; revision=4790
2003-05-28 18:35:35 +00:00
Casper Hornstrup
2d947f6f92 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/haltypes.h: Move ...
	* include/ntos/haltypes.h: ... here.
	* include/ddk/obtypes.h: Move ...
	* include/ntos/obtypes.h: ... here.
	* include/ddk/i386/tss.h: Move ...
	* include/ntos/tss.h: ... here.
	* include/errors.h, include/windows.h: #include_next <windows.h>.
	* include/ntos.h: Include "ntos/haltypes.h", "ntos/obtypes.h", and
	"ntos/tss.h".
	* include/ddk/defines.h (EXPORTED, IMPORTED): Move to
	include/ntos/types.h.
	* include/ddk/exfuncs.h, include/ddk/mmtypes.h, include/ntos/except.h,
	include/ntos/file.h, include/ole32/guiddef.h, include/win32k/color.h,
	lib/msafd/include/debug.h, lib/user32/include/debug.h,
	lib/ws2_32/include/debug.h, lib/ws2help/debug.h,
	ntoskrnl/include/internal/debug.h, ntoskrnl/ke/i386/bthread.S,
	ntoskrnl/rtl/error.c: Don't define macros if previously defined.
	* include/ddk/halfuncs.h: Include <ntos/haltypes.h>.
	* include/ddk/iotypes.h: Include <ntos/obtypes.h>.
	* include/ddk/ketypes.h (MB_FLAGS_*, LOADER_MODULE, ADDRESS_RANGE,
	LOADER_PARAMETER_BLOCK): Move to include/ntos/types.h.
	* include/ddk/ntddk.h: #include_next <ddk/ntddk.h>.
	* include/ddk/ntifs.h: #include_next <ddk/ntifs.h>.
	* include/napi/shared_data.h (SharedUserData): Undefine before defining.
	* include/ntos/rtl.h (RtlUpcaseUnicodeString): Correct prototype.
	* include/ntos/zwtypes.h (THREAD_STATE): Add.
	* lib/ntdll/rtl/unicode.c (RtlUpcaseUnicodeString): Match new prototype.
	* ntoskrnl/rtl/unicode.c (RtlUpcaseUnicodeString): Ditto.
	* lib/string/Makefile: Include Makefile.$(ARCH). Don't include
	makefile.$(ARCH).
	* ntoskrnl/ex/sysinfo.c, ntoskrnl/include/internal/ntoskrnl.h,
	* ntoskrnl/include/internal/ob.h, ntoskrnl/ob/handle.c: Include <ntos.h>.
	* ntoskrnl/ke/i386/syscall.S: Don't include <ddk/defines.h>.
	(KernelMode, UserMode): Define.
	* ntoskrnl/ke/i386/stkswitch.S, ntoskrnl/ke/i386/tskswitch.S,
	ntoskrnl/ke/i386/v86m_sup.S: Include <ntos/tss.h>

svn path=/trunk/; revision=4789
2003-05-28 18:09:10 +00:00
Eric Kohl
91987ce5dc Convert Registry to Unicode. Part 2.
svn path=/trunk/; revision=4788
2003-05-28 16:09:51 +00:00
Eric Kohl
80344c77a6 Use Unicode strings in key objects.
svn path=/trunk/; revision=4787
2003-05-28 12:04:17 +00:00
Eric Kohl
be3c31a2c2 Updated registry key flags. Added missing fix.
svn path=/trunk/; revision=4786
2003-05-27 23:09:11 +00:00
Hartmut Birr
cf33a9ca6e - Forgot icon.ico for icontest.
svn path=/trunk/; revision=4785
2003-05-27 21:02:21 +00:00
Eric Kohl
00d19927ae Implemented spinlock and event functions.
svn path=/trunk/; revision=4784
2003-05-27 20:59:24 +00:00
Hartmut Birr
9bcbb3492c - Added icontest.
svn path=/trunk/; revision=4783
2003-05-27 20:57:11 +00:00
Hartmut Birr
07d2bba441 - Added icontest (contributed by Tim Jobling).
svn path=/trunk/; revision=4782
2003-05-27 20:51:39 +00:00
Hartmut Birr
6796cee74b - Removed files for functions which are used from the string library.
svn path=/trunk/; revision=4781
2003-05-27 20:17:04 +00:00
Hartmut Birr
8761554070 - Link string library to msvcrt.
svn path=/trunk/; revision=4780
2003-05-27 20:07:53 +00:00
Hartmut Birr
7944ef0129 *** empty log message ***
svn path=/trunk/; revision=4779
2003-05-27 20:02:20 +00:00
Hartmut Birr
d9ee350ffd - Link string library to crtdll.
svn path=/trunk/; revision=4778
2003-05-27 20:01:30 +00:00
Hartmut Birr
fac54407bb *** empty log message ***
svn path=/trunk/; revision=4777
2003-05-27 19:49:14 +00:00
Hartmut Birr
3d7e102b13 - Removed strcat, strchr, strcmp, strcpy, strlen, strncat, strncmp, strncpy and strrchr.
svn path=/trunk/; revision=4776
2003-05-27 19:41:10 +00:00
Hartmut Birr
7a6772f94b - Link the string library to ntdll.
svn path=/trunk/; revision=4775
2003-05-27 19:40:20 +00:00
Hartmut Birr
2ba9015708 *** empty log message ***
svn path=/trunk/; revision=4774
2003-05-27 19:28:40 +00:00
Hartmut Birr
7297d83e9f - Removed wcscat, wcschr, wcscmp, wcscpy, wcslen, wcsncat, wcsncmp, wcsncpy and wcsrchr.
svn path=/trunk/; revision=4773
2003-05-27 19:24:04 +00:00
Hartmut Birr
5ae840005e - Removed strcat, strchr, strcmp, strcpy, strlen, strncat, strncmp, strncpy and strrchr.
svn path=/trunk/; revision=4772
2003-05-27 19:22:42 +00:00
Hartmut Birr
ce562b2ba0 - Linked the string library to ntoskrnl.
svn path=/trunk/; revision=4771
2003-05-27 19:21:14 +00:00
Hartmut Birr
e44c02e52b - Added a one rule for static libraries.
- Added static string library.

svn path=/trunk/; revision=4770
2003-05-27 19:02:26 +00:00
Hartmut Birr
34cc922d57 - Added static string library.
svn path=/trunk/; revision=4769
2003-05-27 18:58:15 +00:00
Eric Kohl
28c98fe9b4 Get codepage and casetable files from txtsetup.sif.
svn path=/trunk/; revision=4768
2003-05-27 14:13:41 +00:00
Eric Kohl
1aa2d79e1d Added NLS information.
svn path=/trunk/; revision=4767
2003-05-27 13:59:53 +00:00
Eric Kohl
d5533a3ed7 Updated registry key flags. 0x20 means packed key name.
svn path=/trunk/; revision=4766
2003-05-27 13:58:26 +00:00
Gé van Geldorp
dfe58a3a5c Implement OffsetViewportOrgEx()
svn path=/trunk/; revision=4765
2003-05-27 07:23:05 +00:00
Gé van Geldorp
3c0df75f7c Fixes to UpdateRegion code, implement GetUpdateRgn() and ValidateRgn()
svn path=/trunk/; revision=4764
2003-05-26 18:52:37 +00:00
Richard Campbell
bae47d7a0f Install MultiWin test
svn path=/trunk/; revision=4763
2003-05-26 10:53:37 +00:00
Richard Campbell
7a4f224456 Syncing my changes with tree
svn path=/trunk/; revision=4762
2003-05-26 10:52:15 +00:00
Richard Campbell
2d32e95fa9 Simple Multiple Window Test
svn path=/trunk/; revision=4761
2003-05-26 10:51:20 +00:00
Hartmut Birr
ab5ce5a163 - Fixed the releasing of cache segments on error in ReadCacheSegment/CcCopyWrite/CcCopyRead.
svn path=/trunk/; revision=4760
2003-05-25 21:50:18 +00:00
Hartmut Birr
10acad2b71 - Check if a file object is on the close list and remove it from the list in CcRosRefernceCache.
- Sort the cache segments for the bcb by offsets.

svn path=/trunk/; revision=4759
2003-05-25 21:49:04 +00:00
Eric Kohl
939d5316af - Added .inf-file parser
- SetupLdr loads and uses txtsetup.sif
- Removed .hiv (text-hive) parser

svn path=/trunk/; revision=4758
2003-05-25 21:20:43 +00:00
Eric Kohl
c028a8b5e0 Added OsLoadOptions (kernel command line).
svn path=/trunk/; revision=4757
2003-05-25 21:14:53 +00:00
Richard Campbell
f8758cae49 Small visual fixes, more coming soon.
svn path=/trunk/; revision=4756
2003-05-25 21:05:38 +00:00
Eric Kohl
9526676d67 Removed unused NLS files.
svn path=/trunk/; revision=4755
2003-05-25 17:17:52 +00:00
Eric Kohl
c2b48451a9 Fixed memory-allocation for bins while loading hives.
svn path=/trunk/; revision=4754
2003-05-25 17:16:09 +00:00
Casper Hornstrup
49729ea1ab 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Fix typo.

svn path=/trunk/; revision=4753
2003-05-25 14:26:28 +00:00
Casper Hornstrup
419b1c5759 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Don't install system.hiv. Install fonts and nls directory.
	* tools/rcopy.c (copy_file, copy_directory, is_directory): New functions.

svn path=/trunk/; revision=4752
2003-05-25 11:33:58 +00:00
Richard Campbell
ca127f5069 Several small bug fixes, nothing important
svn path=/trunk/; revision=4751
2003-05-25 10:53:05 +00:00
Hartmut Birr
2602dc4fec - Fixed the parameters in two calls to MEMCHECK.
svn path=/trunk/; revision=4750
2003-05-24 17:26:39 +00:00
Hartmut Birr
01a3fd2a8b - Initialize TableBase in PsCreatePeb.
svn path=/trunk/; revision=4749
2003-05-24 17:14:41 +00:00
Eric Kohl
763c776f24 Optimized hive import.
Removed text-hive support.
Removed text-hives.

svn path=/trunk/; revision=4748
2003-05-24 13:19:15 +00:00
Richard Campbell
9b91b02ef8 Actually, compile errors, let me fix first.
svn path=/trunk/; revision=4747
2003-05-23 23:12:02 +00:00
Richard Campbell
34855b5f6b Okay, NtUserFineWindowEx bug fixed.
svn path=/trunk/; revision=4746
2003-05-23 23:08:03 +00:00
Eric Kohl
6528cf1fdc Add experimental jamfiles (still buggy).
svn path=/trunk/; revision=4745
2003-05-23 22:43:03 +00:00
Richard Campbell
04572bc608 - Implemented FindWindowEx*() (it was already implemented in subsys\win32k\ntuser\window.c with the exception of a small bug, but wasn't mapped to by user32??) FIXED
- FindWindow() is also implemented, though not properly. (Someone has it set up to use FindWindowEx, this isn't the proper way to do this...FindWindow doesn't search children...)

svn path=/trunk/; revision=4744
2003-05-23 17:07:12 +00:00
Richard Campbell
832463b116 Implement GetDesktopWindow()
svn path=/trunk/; revision=4743
2003-05-23 16:44:12 +00:00
Steven Edwards
c3234a4ad8 Patch by Tim Jobling - Fix unhandled exception in bitblt test.
svn path=/trunk/; revision=4742
2003-05-22 21:41:20 +00:00
Gé van Geldorp
fe8db53413 Add DebugOut device driver
svn path=/trunk/; revision=4741
2003-05-22 15:11:29 +00:00
Gunnar Dalsnes
5882d8441a -Dereference thread
-Reduce/fix handle-less-timer bitmap

svn path=/trunk/; revision=4740
2003-05-22 02:07:22 +00:00
Gunnar Dalsnes
e76a3a5ab0 -Fixed FileObject/Event dereferencing at IRP completion problem
-Reworked IRP completion rotuines
-io/irp.c: Reworked IoIsOperationSynchronous
-afd/opnclose.c: Fixed bug where CCB was freed twice
-io/create.c: changed Lock event in FileObject from NotificationEvent to SynchronizationEvent

svn path=/trunk/; revision=4739
2003-05-22 00:47:04 +00:00
Gé van Geldorp
5af5f51b74 - Implement WaitMessage()
- Rearrange message code to avoid code duplication
- Fix bugs, mainly in signaling new messages
- Include Hartmut's fix of 2003/03/26

svn path=/trunk/; revision=4738
2003-05-21 22:58:43 +00:00
Brian Palmer
f152732d04 Lot's of fixes for the FAT12/16 boot sector code.
svn path=/trunk/; revision=4737
2003-05-21 20:28:13 +00:00
Eric Kohl
faa8f94f27 Use NLS-Section in user-mode.
svn path=/trunk/; revision=4736
2003-05-21 16:11:02 +00:00
Eric Kohl
17ad474bcb Minor update
svn path=/trunk/; revision=4735
2003-05-21 16:09:30 +00:00
Eric Kohl
d043a91017 Removed unused NLS stuff.
Cleaned-up PEB initialization.

svn path=/trunk/; revision=4734
2003-05-21 15:06:33 +00:00
Hartmut Birr
aa2f971da2 - Fixed the calculation of the TopAddress in MmFindGapTopDown.
svn path=/trunk/; revision=4733
2003-05-20 18:56:25 +00:00
Eric Kohl
562eeb5ceb Finished kernel-mode part of NLS section implementation.
svn path=/trunk/; revision=4732
2003-05-20 14:38:05 +00:00
Eric Kohl
74592b5432 Implemented NDIS timer functions.
svn path=/trunk/; revision=4731
2003-05-20 13:00:41 +00:00
Gé van Geldorp
ecd7b2f8f3 Handle SetWindowText() across Unicode/Ansi conversions
svn path=/trunk/; revision=4730
2003-05-19 20:11:17 +00:00
guido
c1cf7ec993 commented out some duplicate defines
svn path=/trunk/; revision=4729
2003-05-19 19:42:30 +00:00
Gé van Geldorp
388f86d19c Implement GetSysColor()
svn path=/trunk/; revision=4728
2003-05-19 18:36:43 +00:00
Hartmut Birr
58781325ac - Release the rmap list lock also, if the address is in kernel space.
svn path=/trunk/; revision=4727
2003-05-19 15:58:09 +00:00
Eric Kohl
7e921a40c1 Implemented NLS file import.
svn path=/trunk/; revision=4726
2003-05-19 14:39:09 +00:00
Eric Kohl
e76752c103 Load NLS files.
Add basic support for installing ReactOS from floppy disks.

svn path=/trunk/; revision=4725
2003-05-19 09:58:50 +00:00
Eric Kohl
031f55682e Removed obsolete settings.
svn path=/trunk/; revision=4724
2003-05-19 09:51:34 +00:00
Gé van Geldorp
7bd3409f53 Recompute scrollbar positions in case window changed size
svn path=/trunk/; revision=4723
2003-05-18 22:11:41 +00:00
Gé van Geldorp
94571478d5 Send WM_NCPAINT and WM_ERASEBKGND messages when making a window visible
svn path=/trunk/; revision=4722
2003-05-18 22:09:08 +00:00
Gé van Geldorp
15073977b6 Remove WINDOWOBJECT_NEED_BEGINPAINT flag since calling BeginPaint in a
WM_PAINT handler is not strictly required

svn path=/trunk/; revision=4721
2003-05-18 22:07:02 +00:00
guido
97c3fae178 proper CFLAGS when DBG=0
svn path=/trunk/; revision=4720
2003-05-18 21:17:33 +00:00
Eric Kohl
f1d44624af Fixed wrong argument order.
svn path=/trunk/; revision=4718
2003-05-18 19:37:20 +00:00
Emanuele Aliberti
b44dda2928 I forgot to remove debug code in MouseGDICallBack.
svn path=/trunk/; revision=4717
2003-05-18 19:30:55 +00:00
Emanuele Aliberti
c0bb24f7ad Fix for a bug I introduced declaring FASTCALL MouseGDICallBack.
svn path=/trunk/; revision=4716
2003-05-18 19:21:24 +00:00
Emanuele Aliberti
fec738c6cb WIN32K code cleanup.
Prefer FASTCALL/STDCALL in kernel mode code.
Make compiler check function signatures.
Tested under BOCHS 2.0.2 + FreeDOS + loadros.

svn path=/trunk/; revision=4715
2003-05-18 17:22:31 +00:00
Emanuele Aliberti
982fd1f286 WIN32K code cleanup.
Prefer FASTCALL/STDCALL in kernel mode code.
Make compiler check function signatures.
Tested under BOCHS 2.0.2 + FreeDOS + loadros.

svn path=/trunk/; revision=4714
2003-05-18 17:16:18 +00:00
Emanuele Aliberti
6955ff7e6e RECT *is* RECTL
svn path=/trunk/; revision=4713
2003-05-18 17:12:11 +00:00
Eric Kohl
df24b9bb9a Add known DLLs.
Install NLS files.

svn path=/trunk/; revision=4712
2003-05-18 15:22:52 +00:00
Eric Kohl
e35e42758a Remove the INSTALL directory of the Boot-CD.
svn path=/trunk/; revision=4711
2003-05-18 15:21:30 +00:00
Eric Kohl
2cd0a85f57 Do not overwrite existing hive files.
Add hive header checksum.

svn path=/trunk/; revision=4710
2003-05-18 13:50:58 +00:00
Eric Kohl
bcef4d4f0e Fixed .inf parser to accept DOS and *nix files.
svn path=/trunk/; revision=4709
2003-05-18 12:50:17 +00:00
Eric Kohl
e568d2b165 Parse DOS and *nix text files correctly.
svn path=/trunk/; revision=4708
2003-05-18 12:12:07 +00:00
Gé van Geldorp
19c81674a3 Implement SetWindowPos()
svn path=/trunk/; revision=4707
2003-05-18 07:51:41 +00:00
Gé van Geldorp
7ba70583b9 Generate WM_PAINT messages in PeekMessage()
svn path=/trunk/; revision=4706
2003-05-18 06:47:19 +00:00
Eric Kohl
397169c1a8 Added new MEMORY_AREA_NO_ACCESS type.
Make the top and bottom 64KB of process memory space and the 60KB above the shared user page from unaccessible.
Introduced MmSystemRangeStart.

svn path=/trunk/; revision=4705
2003-05-17 19:16:39 +00:00
Eric Kohl
e1c437438c Implemented Top-Down-Allocator.
svn path=/trunk/; revision=4704
2003-05-17 15:29:50 +00:00
Gé van Geldorp
c865c87d30 When sending WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages from
Win32k, make sure the WINDOWPOS structure referenced by lParam is located
in user space

svn path=/trunk/; revision=4703
2003-05-17 14:37:23 +00:00
Gé van Geldorp
b41ecb619a When sending WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages from
Win32k, make sure the WINDOWPOS structure referenced by lParam is located
in user space

svn path=/trunk/; revision=4702
2003-05-17 14:30:28 +00:00
Hartmut Birr
9ad263f04e - Reference/Dereference the process object only for adresses within user space.
svn path=/trunk/; revision=4701
2003-05-17 13:46:05 +00:00
Hartmut Birr
f5048a6a3b - Initialize the page directory for a new process from global kernel page directory in MmCopyMmInfo.
- Check for kernel or user space in MmIsAccessedAndResetAcessPage/MmSetCleanPage/MmSetDirtyPage.
- Added InitGlobalKernelPageDirectory.

svn path=/trunk/; revision=4700
2003-05-17 13:45:04 +00:00
Hartmut Birr
fd4d79b7fd - Added some checks for kernel or user space.
- Added MmMapViewInSystemSpace/MmUnmapViewInSystemSpace (implemented by Eric).

svn path=/trunk/; revision=4699
2003-05-17 13:43:44 +00:00
Hartmut Birr
8e68ec6bf2 - Marked the initial kernel space as mapped.
svn path=/trunk/; revision=4698
2003-05-17 13:42:56 +00:00
Gé van Geldorp
8674a82d87 Implement SetWindowLong() and refine implementation of GetWindowLong()
svn path=/trunk/; revision=4697
2003-05-17 13:41:31 +00:00
Hartmut Birr
f5aebd93f1 - Free memory for boot load files, except ntoskrnl.exe and hal.dll.
svn path=/trunk/; revision=4696
2003-05-17 13:40:03 +00:00
Gé van Geldorp
61b19adbb6 Implement SetWindowLong() and refine implementation of GetWindowLong()
svn path=/trunk/; revision=4695
2003-05-17 09:20:23 +00:00
Casper Hornstrup
ae351cde87 2003-05-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/io/irp.c (IofCallDriver): Don't reference FileObject.

svn path=/trunk/; revision=4694
2003-05-17 00:25:39 +00:00
Emanuele Aliberti
79780a3bcd KERNEL32.OpenConsoleW interface changed a proposed by KJK:Hyperion.
svn path=/trunk/; revision=4693
2003-05-16 20:33:15 +00:00
Gé van Geldorp
1e77c45603 Convert from Unicode to ANSI in GetTextMetricsA()
svn path=/trunk/; revision=4692
2003-05-16 18:55:27 +00:00
Eric Kohl
389d19a1e3 Updated NLS function signature.
Reverted NLS section mapping because of unability to fix the section mapping code.

svn path=/trunk/; revision=4691
2003-05-16 17:38:41 +00:00
Eric Kohl
14e53ad5b6 Accept .nls files.
svn path=/trunk/; revision=4690
2003-05-16 15:37:50 +00:00
Gé van Geldorp
7295ea3de1 Added Bitstream Vera fonts and removed accidental loading of Arial font
svn path=/trunk/; revision=4689
2003-05-16 15:10:10 +00:00
Casper Hornstrup
270cb3a0ec 2003-05-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/io/cleanup.c (IopCompleteRequest1, IoSecondStageCompletion):
	Don't dereference Irp->UserEvent here.
	* ntoskrnl/io/irp.c (IofCallDriver): Reference FileObject.
	* ntoskrnl/io/rw.c (IopReadWriteIoComplete): New function.
	* (NtReadFile, NtWriteFile): Set I/O completion routine if using an
	event that is under object manager control.

svn path=/trunk/; revision=4688
2003-05-16 12:03:11 +00:00
Gé van Geldorp
f728ec4f27 Fixed typo in TEXTMETRICSW
svn path=/trunk/; revision=4687
2003-05-16 06:23:14 +00:00
Eric Kohl
366cd995f3 Fixed crash upon shutdown.
svn path=/trunk/; revision=4686
2003-05-15 13:34:37 +00:00
Eric Kohl
556a38e0c0 Implemented NLS section (not usable yet) and updated NLS functions.
svn path=/trunk/; revision=4685
2003-05-15 11:07:51 +00:00
Eric Kohl
54aa3104d4 Don't crash ReactOS if DLL-Preloading fails.
svn path=/trunk/; revision=4684
2003-05-14 21:27:53 +00:00
Eric Kohl
9fef3a18ee Implemented MmMapViewInSystemSpace() and MmUnmapViewInSystemSpace().
svn path=/trunk/; revision=4683
2003-05-14 10:52:46 +00:00
Casper Hornstrup
10f9688a17 2003-05-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/Makefile (OBJECTS_IO): Add io/rawfs.o.
	* ntoskrnl/cm/registry.c (CmiInitHives): Check status using NT_SUCCESS().
	* ntoskrnl/include/internal/io.h (RawFsIsRawFileSystemDeviceObject,
	RawFsDriverEntry): Add prototypes.
	* ntoskrnl/include/internal/ntoskrnl.h (IoInit2): Add prototype.
	* ntoskrnl/io/device.c (IopCreateDriverObject): Handle unnamed services.
	* ntoskrnl/io/fs.c (IoMountVolume): Handle mounting of raw volumes.
	(IoRegisterFileSystem): Add registered filesystem device objects at the
	head of the list.
	* ntoskrnl/io/iomgr.c (IoInit2): New function.
	* ntoskrnl/ke/main.c (ExpInitializeExecutive): Call IoInit2().
	* ntoskrnl/mm/section.c (MmQuerySectionView): Check return value of call
	to MmFindRegion().
	* ntoskrnl/io/rawfs.c: New file.

svn path=/trunk/; revision=4682
2003-05-13 21:28:26 +00:00
Eric Kohl
107725f820 Implemented dll preloading and mapping.
svn path=/trunk/; revision=4681
2003-05-12 19:47:53 +00:00
Jason Filby
b5b83b1d47 UNIMPLEMENTED put in unimplemented functions
svn path=/trunk/; revision=4680
2003-05-12 19:30:00 +00:00
Gé van Geldorp
017f478b25 Implemented IsWindow()
svn path=/trunk/; revision=4679
2003-05-12 18:52:14 +00:00
Eric Kohl
484cf7d5bf Directory objects must be able to parse a 'remaining path' that does not start with a backslash.
This is needed to support relative path names in the object tree.

svn path=/trunk/; revision=4678
2003-05-12 13:59:09 +00:00
Eric Kohl
c0f1cf6933 Added ability to open a file using a handle to a directory file and a relative path name.
Tested on NT4.

svn path=/trunk/; revision=4677
2003-05-12 10:00:46 +00:00
Eric Kohl
64ca9e3c34 Fixed a bug which skipped the first letter of a relative object path name.
svn path=/trunk/; revision=4676
2003-05-11 19:41:22 +00:00
Casper Hornstrup
0c6f80f830 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/fslib/vfatlib/vfatlib.c (VfatFormat): Set hidden sectors.
	* ntoskrnl/io/xhaldrv.c (xHalIoWritePartitionTable): Implement support
	for primary partitions.
	* subsys/system/usetup/partlist.c (CreateSelectedPartition): Compute
	hidden sectors.
	* subsys/system/usetup/usetup.c (SelectPartitionPage,
	DrawFileSystemList, FormatPartitionPage): Don't use conditional define
	ENABLE_FORMAT.
	(CreateFileSystemList): Don't draw "Keep current file system" option if
	formatting is needed.
	(SelectFileSystemPage): Figure out if partition must be formatted.
	* subsys/system/usetup/usetup.h (ENABLE_FORMAT): Remove.
	(FILE_SYSTEM_LIST): Add ForceFormat field.

svn path=/trunk/; revision=4675
2003-05-11 18:31:09 +00:00
Casper Hornstrup
67e99cf820 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/windows/font.c (TEXT_PathEllipsify, TEXT_Reprefix): Fix
	unsigned/signed warning.
	* ntoskrnl/mm/pagefile.c (MmWriteToSwapPage, MmReadFromSwapPage,
	NtCreatePagingFile): Ditto.

svn path=/trunk/; revision=4674
2003-05-11 15:18:01 +00:00
Jason Filby
5bbb8860e3 Fixed return values of W32kArc and W32kMoveToEx
svn path=/trunk/; revision=4673
2003-05-11 12:44:09 +00:00
Jason Filby
76c3289be5 NtUserSendMessageCallback is UNIMPLEMENTED
svn path=/trunk/; revision=4672
2003-05-11 12:29:41 +00:00
Gé van Geldorp
f507252aa5 Implement DrawTextA()/DrawTextW() (mostly copied from Wine)
svn path=/trunk/; revision=4671
2003-05-11 11:12:00 +00:00
Jason Filby
6c2e6e0aa5 NtUserPostMessage: use a switch statement instead of if; WM_NULL: ignore message
svn path=/trunk/; revision=4670
2003-05-11 10:47:33 +00:00
Hartmut Birr
7a801d3bd8 - Implemented FSCTL_GET_RETRIVAL_POINTERS.
- Call the storage driver for read/write requests to pagefiles directly.

svn path=/trunk/; revision=4669
2003-05-11 09:51:26 +00:00
Hartmut Birr
710b4c97a6 - Retrieve the cluster chunks for a pagefile from fsd and use this values for reading/writing to the pagefile.
svn path=/trunk/; revision=4668
2003-05-11 09:48:57 +00:00
Eric Kohl
f99473b691 Display human readable device descriptions for generic PnP-IDs.
svn path=/trunk/; revision=4667
2003-05-11 09:42:40 +00:00
Hartmut Birr
3350303771 - Changed data pointers from signed to unsigned char.
svn path=/trunk/; revision=4666
2003-05-11 07:44:14 +00:00
Gé van Geldorp
8d4eee3aab Check for messages sent by other threads
svn path=/trunk/; revision=4665
2003-05-10 21:47:04 +00:00
Emanuele Aliberti
780c1a105d Right description.
svn path=/trunk/; revision=4664
2003-05-10 10:31:32 +00:00
Emanuele Aliberti
9fa1fd384e Names fixed.
svn path=/trunk/; revision=4663
2003-05-10 10:30:18 +00:00
Eric Kohl
3e708e6c79 Detect hardware before ntoskrnl.exe will be loaded.
svn path=/trunk/; revision=4662
2003-05-10 09:26:59 +00:00
Eric Kohl
7f6db59b55 - Fixed counting the number of available harddisks for broken BIOSes.
- Enable/disable the display of read error messages.

svn path=/trunk/; revision=4661
2003-05-10 09:25:35 +00:00
Eric Kohl
8e23b88b00 Removed duplicate output of used disk space in the summary.
svn path=/trunk/; revision=4660
2003-05-09 21:58:05 +00:00
Eric Kohl
dbf90936aa Added a little PnP-BIOS data dumper.
svn path=/trunk/; revision=4659
2003-05-08 18:55:09 +00:00
Eric Kohl
d882e9a38b Reworked and fixed most of the CPU and PnP code.
svn path=/trunk/; revision=4658
2003-05-08 18:35:46 +00:00
Gé van Geldorp
77d0973eaa Only update page dir for page containing stack
svn path=/trunk/; revision=4657
2003-05-08 05:26:36 +00:00
Gé van Geldorp
5966a211e9 Don't let page containing stack disappear when switching memory spaces
svn path=/trunk/; revision=4656
2003-05-07 21:41:03 +00:00
Aleksey Bragin
74c0e6eb1c Added EthFilterDprIndicateReceive(), EthFilterDprIndicateReceiveComplete() functions, since Realtek 8139 network card driver imports them. Their contents is "UNIMPLEMENTED". This makes ReactOS at least gracefully discarding this driver (and not crashing with BugCheck).
svn path=/trunk/; revision=4655
2003-05-07 19:33:14 +00:00
Aleksey Bragin
1ee3211646 Uncommented exporting of EthFilterDprIndicateReceive (and ReceiveComplete)
svn path=/trunk/; revision=4654
2003-05-07 19:09:48 +00:00
Eric Kohl
2b3487d3d6 Removed unix newlines
svn path=/trunk/; revision=4653
2003-05-07 18:45:56 +00:00
Eric Kohl
e0352540ed Moved test sound.
svn path=/trunk/; revision=4652
2003-05-06 19:01:03 +00:00
Eric Kohl
df18b87eab Added PnP-BIOS detection.
svn path=/trunk/; revision=4651
2003-05-06 16:36:42 +00:00
Eric Kohl
e09ba35e8c Fixed wrong types in printf strings.
svn path=/trunk/; revision=4650
2003-05-06 08:45:10 +00:00
Eric Kohl
d13fee86d3 Added emergency console dummy page.
Removed unused code.

svn path=/trunk/; revision=4649
2003-05-06 07:17:52 +00:00
Gé van Geldorp
4d7b93456f Fixes to GetFullPathNameA and RtlGetFullPathName_U by Tim Jobling
svn path=/trunk/; revision=4648
2003-05-06 06:49:57 +00:00
Casper Hornstrup
4ac8de4791 2003-05-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/helper.mk: Kill implicit rule ".o".

svn path=/trunk/; revision=4647
2003-05-05 19:59:21 +00:00
Emanuele Aliberti
38056aff4c KERNEL32.OpenConsoleW() implemented.
svn path=/trunk/; revision=4646
2003-05-05 19:58:27 +00:00
Steven Edwards
e8ebc1da08 build wm_paint and bitblt tests
svn path=/trunk/; revision=4645
2003-05-05 16:40:38 +00:00
Steven Edwards
65e14fea99 Add install for wm_paint and bitblt test
svn path=/trunk/; revision=4644
2003-05-05 16:40:05 +00:00
Gé van Geldorp
9f2567f198 Allow sending of messages from non-GUI threads
svn path=/trunk/; revision=4643
2003-05-04 15:42:21 +00:00
Gé van Geldorp
e16ddc6bdf Clean up debugging stuff and silence debug messages
svn path=/trunk/; revision=4642
2003-05-04 15:41:40 +00:00
Gé van Geldorp
d82ce80d6c (Partial) implementation of W32kGetDIBits()
svn path=/trunk/; revision=4641
2003-05-03 14:38:11 +00:00
Gé van Geldorp
e6f39d93f0 Fix GetDC(NULL), not complete yet
svn path=/trunk/; revision=4640
2003-05-03 14:12:14 +00:00
Gé van Geldorp
158fda092b Implement GetDeviceCaps()
svn path=/trunk/; revision=4639
2003-05-03 13:39:06 +00:00
Eric Kohl
8e7f49204c Added .cvsignore files. Patch by Mihcael Fritscher.
svn path=/trunk/; revision=4638
2003-05-03 13:11:39 +00:00
Eric Kohl
98ed7cd2b1 Started work on second stage setup.
svn path=/trunk/; revision=4636
2003-05-02 18:12:38 +00:00
Gé van Geldorp
ec67470a38 Silence CVS
svn path=/trunk/; revision=4635
2003-05-02 07:57:04 +00:00
Gé van Geldorp
6644846375 Implemented NtUserRegisterWindowMessage
svn path=/trunk/; revision=4634
2003-05-02 07:52:33 +00:00
Gé van Geldorp
8eaabc5146 Properly clean up terminated threads
svn path=/trunk/; revision=4633
2003-05-01 22:00:31 +00:00
Eric Kohl
8cbf35a0f7 Get timeout value from the registry or use default timeout.
svn path=/trunk/; revision=4632
2003-05-01 17:50:35 +00:00
Eric Kohl
85c99dd8aa Get timeout value from the registry.
svn path=/trunk/; revision=4631
2003-05-01 17:49:23 +00:00
Eric Kohl
62d7fe29c6 Added CPU detection for multiprocessor systems.
svn path=/trunk/; revision=4630
2003-05-01 15:46:06 +00:00
Gé van Geldorp
45661acd89 C++ runtime support, mostly copied from Wine
svn path=/trunk/; revision=4629
2003-04-30 22:07:30 +00:00
Gé van Geldorp
412a23aa10 Changed some DbgPrint's to DPRINT's
svn path=/trunk/; revision=4628
2003-04-30 22:04:12 +00:00
Gé van Geldorp
70dce1ee4b Added stubs for keybd_event() and mouse_event()
svn path=/trunk/; revision=4627
2003-04-30 22:03:00 +00:00
Gé van Geldorp
340ee78475 Fix SetThreadPriority()
svn path=/trunk/; revision=4626
2003-04-30 22:00:41 +00:00
Gé van Geldorp
ad70cd4bbe Implement ThreadBasePriority case for NtSetInformationThread()
svn path=/trunk/; revision=4625
2003-04-30 21:56:22 +00:00
Gé van Geldorp
e70e534a2e Added imm32 and winspool
svn path=/trunk/; revision=4624
2003-04-30 21:06:02 +00:00
Gé van Geldorp
deba825487 Install winspool.drv
svn path=/trunk/; revision=4623
2003-04-30 20:55:00 +00:00
Gé van Geldorp
4c59119a88 Fully stubbed winspool.drv (Wine printing is too different from ReactOS
to use that one)

svn path=/trunk/; revision=4622
2003-04-30 20:44:06 +00:00
Eric Kohl
5fd8b65697 Fixed disk geometry detection bug.
Added CPU detection for uniprocessor systems.

svn path=/trunk/; revision=4621
2003-04-30 18:10:46 +00:00
Gé van Geldorp
f0d4e3c543 Zero-initialze TEB for new threads
svn path=/trunk/; revision=4620
2003-04-30 15:11:31 +00:00
Eric Kohl
43ab2f61b4 - Added DiskGetExtendedDriveParameters()
- Moved hardware detection into the arch directory
- Rewrote/completed harddisk detection
- Removed PCI and IDE detection
- Added basic CPU detection

svn path=/trunk/; revision=4619
2003-04-30 14:08:04 +00:00
Gé van Geldorp
78a50b48b4 All IsBadXxxxPtr return values were backward (TRUE when they should be
FALSE and vv.)

svn path=/trunk/; revision=4618
2003-04-29 22:39:57 +00:00
Eric Kohl
e678b87637 Disabled debug messages.
svn path=/trunk/; revision=4617
2003-04-29 19:49:17 +00:00
Eric Kohl
23f8e2083b Implemented disk geometry update for BIOS drives.
Disk manager handling is not implemented yet.

svn path=/trunk/; revision=4616
2003-04-29 18:06:26 +00:00
KJK::Hyperion
38a1364aae - new statically linked library ROSRTL, for code to be shared among system DLLs
- user-mode thread creation code moved to ROSRTL
 - user-mode thread context initialization code fixed
 - LdrInitializeThunk() breakin stub fixed

svn path=/trunk/; revision=4615
2003-04-29 02:17:01 +00:00
Casper Hornstrup
6247d82cc7 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile (DLLS): Add epsapi, psapi and wsock32.
	* lib/ntdll/ldr/utils.c (LdrPerformRelocations): Handle the case where a
	relocation crosses a page boundary.
	(LdrFixupImports): Use image load address in calculatation of import
	address list.

svn path=/trunk/; revision=4614
2003-04-28 21:32:10 +00:00
Eric Kohl
e97422786f Wiped the partition sector structure mess away.
Made sector read and write routines more flexible.
Fixed disk signature reading bug.

svn path=/trunk/; revision=4613
2003-04-28 21:15:07 +00:00
Casper Hornstrup
37f29ead4b 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/fslib/vfatlib/vfatlib.h: New file.
	* subsys/system/usetup/format.c: Ditto.
	* subsys/system/usetup/format.h: Ditto.
	* lib/fslib/vfatlib/vfatlib.c (GetShiftCount): Define.
	(VfatWriteBootSector, VfatWriteFsInfo, VfatWriteFAT,
	VfatWriteRootDirectory): New function.
	(VfatFormat): Implement.
	* subsys/system/usetup/bootsup.c: (InstallFat32BootCodeToFile): Use
	0x0000 as marker to disable backup boot sector.
	(InstallFat32BootCodeToDisk): Add lower 8-bit to BackupBootSector.
	Also treat 0x0000 as no backup boot sector is available.
	* subsys/system/usetup/makefile (TARGET_SDKLIBS): Define.
	(TARGET_OBJECTS): Add format.o.
	* subsys/system/usetup/partlist.c (AddPartitionList): Initialize
	PartNumber field.
	(GetSelectedPartition): Set PartEntryNumber correctly.
	(CreateSelectedPartition): Write partition information to disk.
	(DeleteSelectedPartition): New function.
	* subsys/system/usetup/partlist.h (PARTDATA): Add field CreatePartition.
	(DeleteSelectedPartition): Prototype.
	* subsys/system/usetup/usetup.c (ConfirmDeletePartition): New function.
	(SelectPartitionPage): Support deletion of partition.
	(FormatPartitionPage): Support formatting of partition.

svn path=/trunk/; revision=4612
2003-04-28 19:44:13 +00:00
Aleksey Bragin
55300ebbf2 Added DbgPrint-notification for stubbed function KeSetAffinityThread()
svn path=/trunk/; revision=4611
2003-04-28 14:32:36 +00:00
Aleksey Bragin
331899f621 Added notification for partly-implemented NdisMSetAttributesEx()
svn path=/trunk/; revision=4610
2003-04-28 14:31:47 +00:00
Eric Kohl
29a610ad56 Use disk signature or MBR checksum to find the right disk.
Add missing device objects to device extensions.

svn path=/trunk/; revision=4609
2003-04-28 11:05:34 +00:00
Gé van Geldorp
ffebf21131 RegionSize in MEMORY_BASIC_INFORMATION is relative to BaseAddress, not to
AllocationBase

svn path=/trunk/; revision=4608
2003-04-28 10:37:40 +00:00
Gé van Geldorp
458d8d250c Layout stat structures exactly the same as in Microsoft MSVCRT, for
binary compatibility

svn path=/trunk/; revision=4607
2003-04-27 23:14:04 +00:00
guido
8429d49021 fixed file dates in root directory
svn path=/trunk/; revision=4606
2003-04-27 20:23:30 +00:00
Hartmut Birr
b5d5cf6145 - Initialize the fpu control register within the context structure.
svn path=/trunk/; revision=4605
2003-04-27 18:58:00 +00:00
Casper Hornstrup
371b0fd87e - Query BIOS for supported disk drives
svn path=/trunk/; revision=4604
2003-04-27 18:18:51 +00:00
Eric Kohl
3f270ca3d4 Removed unused bios32 support.
svn path=/trunk/; revision=4603
2003-04-27 18:12:15 +00:00
Eric Kohl
392883e81f Detect and print BIOS disk geometry.
svn path=/trunk/; revision=4602
2003-04-27 18:10:38 +00:00
Eric Kohl
0f71890bc8 Added disk geometry structures for hardware detection.
svn path=/trunk/; revision=4601
2003-04-27 18:08:56 +00:00
Emanuele Aliberti
52fa46b090 FsRtlNumberOfRunsInLargeMcb() implemented (simple).
svn path=/trunk/; revision=4600
2003-04-27 16:25:25 +00:00
Hartmut Birr
676d1d9ebf - Fixed the frame layout for trap 15 and 16.
svn path=/trunk/; revision=4599
2003-04-27 16:21:16 +00:00
Casper Hornstrup
a80496b963 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/helper.mk (TARGET_ASFLAGS): Add -march and define MK_ARCH_ID.
	* lib/ntdll/makefile (TARGET_ASFLAGS): Define as
	"-I $(PATH_TO_TOP)/include".
	(TARGET_OBJECTS): Add ldr/entry.o.
	* lib/ntdll/ldr/startup.c: Move inline assembly code...
	* lib/ntdll/ldr/entry.S: ...here. New file.

svn path=/trunk/; revision=4598
2003-04-27 14:45:52 +00:00
Casper Hornstrup
3568bb9b50 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/kernel32/kernel32.h (assert): Define.
	* tools/mkhive/.cvsignore: New file.

svn path=/trunk/; revision=4597
2003-04-27 11:43:31 +00:00
Eric Kohl
a950079369 Moved disk manager related offset calculation to class2.
Implemented dynamic partition management.
Removed unused header files.

svn path=/trunk/; revision=4596
2003-04-27 10:50:07 +00:00
KJK::Hyperion
879b1f5754 My biggest commit so far (everything compiles and apparently runs fine):
- replaced DWORD with ULONG in a couple of places
 - replaced some ULONGs with LONGs in the KD GDB stub
 - replaced INITIAL_TEB with USER_STACK, as per Nebbet's book, to support both fixed size and expandable stacks
 - added InterlockedExchangePointer
 - added the ASM_BREAKPOINT macro as the architecture-dependent assembler code to raise a breakpoint exception
 - corrected definitions of INT, LONG, DWORD, UINT, ULONG and ULONG32
 - corrected IoSetCancelRoutine to use InterlockedExchangePointer
 - corrected definition of NtCurrentTeb and NtCurrentPeb
 - corrected DbgBreakPoint and DbgUserBreakPoint not to set up a stack frame (temporary fix with inline assembler - why doesn't GCC understand __declspec(naked)?)
 - corrected various calls to Interlocked* functions to cast OUT operands to LONG *
 - corrected various printf format strings
 - corrected DbgUiIssueRemoteBreakin to use the smallest possible stack  (this is what started everything)
 - removed a DPRINT that accessed pageable memory at non-PASSIVE_LEVEL IRQL
 - beautified CreateProcessA (another temporary fix - all the new functions will be isolated in the upcoming stand-alone RTL)
 - prefixed LdrInitializeThunk with a nop that can be overwritten with a breakpoint for debugging purposes (temporary debugging aid until we have user-mode debugger support). Will add support for this to the breakin utility soon
 - thread creation code rewritten from scratch (some glitches documented inline, but works fine)
 - thread creation code now duplicated just twice, as opposed to five times (temporary fix - three new, non standard functions have been exported from NTDLL.DLL, will fix later)

svn path=/trunk/; revision=4595
2003-04-26 23:13:33 +00:00
Eric Kohl
f2c91805a0 Added missing newline.
svn path=/trunk/; revision=4594
2003-04-26 22:51:21 +00:00
Steven Edwards
71df58baf5 Fixed wm_paint test to use ReactOS build system.
svn path=/trunk/; revision=4593
2003-04-26 21:39:36 +00:00
Steven Edwards
91316fff93 Fixed bitblt test to use ReactOS build system.
svn path=/trunk/; revision=4592
2003-04-26 21:37:09 +00:00
Eric Kohl
8b4929f41e Improved command line completion. Patch by Marc Schuetz.
svn path=/trunk/; revision=4591
2003-04-26 16:38:05 +00:00
Gé van Geldorp
01a868d4b8 Remove SetLastErrorByStatus, since it's no longer needed (it is a macro
now) and is giving compile errors

svn path=/trunk/; revision=4590
2003-04-26 12:50:56 +00:00
Gé van Geldorp
ffa4267973 Silence debug messages
svn path=/trunk/; revision=4589
2003-04-26 10:06:10 +00:00
Gé van Geldorp
1139966a4e If name of DLL to load contains a path and it has been loaded before,
find the previous entry

svn path=/trunk/; revision=4588
2003-04-26 10:05:38 +00:00
Gé van Geldorp
1e0a179dd4 FileNameLength and ShortNameLength are in bytes, adjust offset for writing
terminating NUL character accordingly

svn path=/trunk/; revision=4587
2003-04-26 08:56:50 +00:00
Hartmut Birr
4b11a99bfe - Fixed the offset in ReadPciConfigUshort.
svn path=/trunk/; revision=4586
2003-04-26 07:09:26 +00:00
Hartmut Birr
40b6b22911 - Fixed the offset in ReadPciConfigUshort/WritePciConfigUshort.
svn path=/trunk/; revision=4585
2003-04-26 07:06:55 +00:00
Steven Edwards
63e4fdcdc6 Replace SetLastErrorByStatus with RtlNtStatusToDosError
svn path=/trunk/; revision=4584
2003-04-26 01:19:31 +00:00
KJK::Hyperion
b9269e59c8 SetLastErrorByStatus() now a macro, for binary compatibility with Windows
svn path=/trunk/; revision=4583
2003-04-26 00:25:01 +00:00
Aleksey Bragin
2e6c5e5a92 Implement part of the functionality of NdisMSetAttributesEx(). (So ROS doesn't complain while loading VMWare net driver -- though it still doesn't load)
svn path=/trunk/; revision=4582
2003-04-25 21:22:48 +00:00
Casper Hornstrup
b119bad3fa - Detect PCI busses
- Detect IDE controllers and devices
- Improved RegEnumValue()

svn path=/trunk/; revision=4581
2003-04-25 19:32:51 +00:00
Hartmut Birr
37339cbf6b - Fixed the detection of a fat32 boot sector.
svn path=/trunk/; revision=4580
2003-04-25 18:45:06 +00:00
Aleksey Bragin
143395e386 KeSetAffinityThread stub added (returns STATUS_SUCCESS and thus VMWare network driver won't crash ReactOS)
svn path=/trunk/; revision=4579
2003-04-25 18:37:44 +00:00
Aleksey Bragin
79c386dcf3 KeSetAffinityThread added (uncommented in def files)
svn path=/trunk/; revision=4578
2003-04-25 18:36:10 +00:00
Hartmut Birr
9282a443a1 - Fixed a rounding bug within the translation from float values to printable wstrings.
svn path=/trunk/; revision=4577
2003-04-25 17:49:07 +00:00
Eric Kohl
80b2784520 - Added memmove().
- Added hardware hive export.

svn path=/trunk/; revision=4576
2003-04-25 09:54:52 +00:00
Eric Kohl
323bc49a36 - Added memmove().
- Added hardware hive export.

svn path=/trunk/; revision=4575
2003-04-25 09:45:17 +00:00
Gé van Geldorp
6aa450d7d9 Moved _ftol to NTDLL
svn path=/trunk/; revision=4574
2003-04-24 22:21:13 +00:00
Hartmut Birr
f4e4a5dd14 - Call KeBugCheckWithTf for not handled kernel mode exceptions in KiDispatchException.
svn path=/trunk/; revision=4573
2003-04-24 16:55:08 +00:00
Hartmut Birr
3eb21f737e - Implemented KeBugCheckWithTf like KeBugCheckEx.
svn path=/trunk/; revision=4572
2003-04-24 16:53:59 +00:00
Hartmut Birr
d7982ea298 - Do not free the initial environment block, if the environment changed.
svn path=/trunk/; revision=4571
2003-04-24 16:34:26 +00:00
Hartmut Birr
0d54f93d31 - Fixed a rounding bug within the translation from float values to printable strings.
svn path=/trunk/; revision=4570
2003-04-24 16:28:57 +00:00
Eric Kohl
33b0769d71 Enable hardware hive import.
svn path=/trunk/; revision=4569
2003-04-24 12:28:57 +00:00
Gé van Geldorp
a94c5d7e28 Fix _ftol() and move it to NTDLL i386 subdir
svn path=/trunk/; revision=4568
2003-04-23 22:58:02 +00:00
Brian Palmer
fb8745e1ef Turned the FreeLoader debugger into a GUI app.
Basically just a terminal program that logs the RS232 data to a file.

svn path=/trunk/; revision=4567
2003-04-23 20:59:30 +00:00
Eric Kohl
0abf32e9f6 Fixed returning an undefined value.
svn path=/trunk/; revision=4566
2003-04-23 19:36:04 +00:00
Brian Palmer
201324d607 Changes in v1.8.7 (4/22/2003) (brianp)
- Added a file system recognizer to get around problems where
  the partition id did not match the file system type.

svn path=/trunk/; revision=4565
2003-04-23 16:47:24 +00:00
Eric Kohl
198be0032b Remove gstart.exe from boot CD.
svn path=/trunk/; revision=4563
2003-04-23 12:43:23 +00:00
Eric Kohl
e39c8f7e42 Use cdmake.exe to create reactos.iso file.
Remove gstart.exe from boot CD.

svn path=/trunk/; revision=4562
2003-04-23 12:42:59 +00:00
Eric Kohl
a2ba772d42 Added checks for invalid block pointers.
Update free cell list when three cells are merged.

svn path=/trunk/; revision=4561
2003-04-22 21:14:39 +00:00
KJK::Hyperion
c1ce9a4b84 - string-type-generic getopt() (hacked together in half a hour - seems to work fine, though). Very simple - only implements the POSIX standard (no long options, etc.)
- modified tlist to use getopt() to parse the command line, just for fun. Seems to work

svn path=/trunk/; revision=4560
2003-04-22 03:20:25 +00:00
Gé van Geldorp
aac3b7cd7b Exclude dependency files from CVS operations
svn path=/trunk/; revision=4559
2003-04-20 19:54:51 +00:00
Gé van Geldorp
0f4fba969a Implemented _beginthreadex and _endthreadex
svn path=/trunk/; revision=4558
2003-04-20 19:42:50 +00:00
Gé van Geldorp
628cc3fad9 Simple implementation of GetCPInfo
svn path=/trunk/; revision=4557
2003-04-20 19:42:11 +00:00
Emanuele Aliberti
728ac0f0b5 FsRtl: More obsolete functions for handling Memory Control Blocks (MCB).
It seems that, whit the release of WNT40, MCBs were replaced with LARGE_MCBs.

svn path=/trunk/; revision=4556
2003-04-20 17:59:18 +00:00
Emanuele Aliberti
638d0bd31a FsRtl{Un}InitializeMcb() implemented (apparently obsolete).
svn path=/trunk/; revision=4555
2003-04-20 09:07:12 +00:00
Emanuele Aliberti
e47c7dd876 FsRtl:Memory Control Block updates (from ntifs.h by B.Branten)
svn path=/trunk/; revision=4554
2003-04-19 17:17:10 +00:00
Gé van Geldorp
ee030d79d9 For binary compatibility, layout the fields in the TEB at exactly the
same offsets as in WinNT.

svn path=/trunk/; revision=4553
2003-04-18 19:02:16 +00:00
Casper Hornstrup
569a7a02b6 2003-04-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/system/usetup/partlist.c (AddPartitionList): Create
	unpartitioned areas.
	(CreatePartitionListNoGUI): Save disk geometry.
	(PrintDiskData): Do not print hidden partition list entries.
	(ScrollDownPartitionList, ScrollUpPartitionList): Skip hidden partition
	list entries.
	(GetActiveBootPartition): Use CurrentDisk as index.
	(CreateSelectedPartition): New function.
	* subsys/system/usetup/partlist.h (PARTDATA): Add field NewPartSize.
	(PARTENTRY): Add fields StartingOffset and HidePartEntry.
	(DISKENTRY): Add fields Cylinders, TracksPerCylinder, SectorsPerTrack,
	and BytesPerSector;
	(CreateSelectedPartition): Add Prototype.
	* subsys/system/usetup/usetup.c (PAGE_NUMBER): Add CREATE_PARTITION_PAGE
	and FORMAT_PARTITION_PAGE
	(CurrentPartitionList, CurrentFileSystemList): New globals.
	(SelectPartitionPage): Set CurrentPartitionList.
	(PARTITION_SIZE_INPUT_FIELD_LENGTH): Define as 6.
	(DrawInputField, ShowPartitionSizeInputBox, CreatePartitionPage,
	CreateFileSystemList, DestroyFileSystemList, DrawFileSystemList,
	ScrollDownFileSystemList, ScrollUpFileSystemList, FormatPartitionPage):
	New functions.
	(SelectFileSystemPage): Draw partition screen.
	(CheckFileSystemPage): Handle CREATE_PARTITION_PAGE and
	FORMAT_PARTITION_PAGE.
	* subsys/system/usetup/usetup.h (FILE_SYSTEM, FILE_SYSTEM_LIST): Add enums.

svn path=/trunk/; revision=4552
2003-04-18 14:00:17 +00:00
Gé van Geldorp
9acdb61c4b Pass CC on make command line so we won't have to change FreeType source
files

svn path=/trunk/; revision=4551
2003-04-18 10:48:13 +00:00
Gé van Geldorp
3ac978f542 Import FreeType 2.1.4
svn path=/trunk/; revision=4550
2003-04-18 10:44:19 +00:00
Gé van Geldorp
296d8bc63f Implement duplication of NtCurrentThread() pseudo-handle
svn path=/trunk/; revision=4549
2003-04-18 09:37:01 +00:00
Gé van Geldorp
63401fccd2 Change DPL in trap gate for INT 3 to 3, so INT 3 can be used from user mode
svn path=/trunk/; revision=4548
2003-04-18 09:09:56 +00:00
Gé van Geldorp
ff17fbcf89 Fix GetVersion
svn path=/trunk/; revision=4547
2003-04-18 08:29:35 +00:00
Gé van Geldorp
bbe715ec28 Print debug message if DllMain of a loaded DLL fails
svn path=/trunk/; revision=4546
2003-04-18 08:28:31 +00:00
Gé van Geldorp
857a0fc520 Have GetACP() return something sensible
svn path=/trunk/; revision=4545
2003-04-18 08:26:50 +00:00
Eric Kohl
70ce973518 Create hardware keys only if hardware hive was not imported.
svn path=/trunk/; revision=4544
2003-04-17 11:07:47 +00:00
Casper Hornstrup
ac3799c79c 2003-04-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/mkhive/infcache.c (InfpCacheFindSection, InfpCacheFindKeyLine,
	InfFindFirstLine, InfFindFirstMatchLine, InfFindNextMatchLine,
	InfGetLineCount): Change call to stricmp() to strcasecmp().
	* tools/mkhive/reginf.c (GetRootKey): Ditto.
	* tools/mkhive/registry.c (RegSetValue, RegQueryValue): Ditto.

svn path=/trunk/; revision=4543
2003-04-17 10:41:02 +00:00
Eric Kohl
f284e3a41c - remove gstart.exe
- call mkhive.exe
- load system instead of system.hiv

svn path=/trunk/; revision=4542
2003-04-16 15:08:55 +00:00
Eric Kohl
8b6b2e1d5b Finished mkhive.
svn path=/trunk/; revision=4541
2003-04-16 15:06:33 +00:00
Brian Palmer
273b6dd69f Fixed the EXT2/3 boot sector code so that it only uses the boot drive in the boot sector if it exists (i.e. not 0xff)
Otherwise it uses the boot drive passed in the DL register.
Updated the EXT2/3 installer to reflect the changes in the boot sector code for EXT2/3.

svn path=/trunk/; revision=4540
2003-04-15 22:48:06 +00:00
Brian Palmer
b4d0aca25a Changes in v1.8.6 (4/14/2003) (brianp)
- Fixed a bug in fathelp.asm where is wasn't adding the hidden sector
  count before performing a subtraction.

svn path=/trunk/; revision=4539
2003-04-15 02:15:54 +00:00
Eric Kohl
1a884ce84d Add hive maker. It does not export binary hives yet.
svn path=/trunk/; revision=4538
2003-04-14 17:19:42 +00:00
Eric Kohl
be94ceb3d5 Disabled packet.sys driver.
svn path=/trunk/; revision=4537
2003-04-14 15:41:30 +00:00
KJK::Hyperion
6225a118af sorry, forgot to exclude auto-generated files from dependency tracking
svn path=/trunk/; revision=4536
2003-04-14 12:14:50 +00:00
KJK::Hyperion
1bd4ae1455 - fixed definition of IO_COUNTERS structure to make it binary compatible with Windows (and make EPSAPI enumerate threads correctly on Windows)
- cleaned up some makefiles, added dependency tracking
 - tlist now uses EPSAPI, and, incidentally, a bug has also been fixed

svn path=/trunk/; revision=4535
2003-04-14 01:19:08 +00:00
Casper Hornstrup
e7940ebdad 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/kd/gdbstub.c (KdEnterDebuggerException): Fix signed/unsigned
	comparison warning.
	* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Ditto.
	* ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
	* tools/helper.mk: Do not install static libraries.

svn path=/trunk/; revision=4533
2003-04-13 17:38:27 +00:00
Casper Hornstrup
c64cac2688 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/Makefile: Fix rule for mkflpimg.

svn path=/trunk/; revision=4532
2003-04-13 13:05:04 +00:00
guido
ca2e0585ff added tool to create floppy disk images
svn path=/trunk/; revision=4531
2003-04-13 12:51:28 +00:00
Brian Palmer
b4581c2c95 Added simple utility to read the FreeLoader debug output
from the serial port and display it on the console.
Someday I will turn this into a GUI app.

svn path=/trunk/; revision=4530
2003-04-13 04:14:20 +00:00
KJK::Hyperion
336f8e82c1 - corrected typo in epsapi.h
- CTM: cleaned up to use EPSAPI and the ReactOS DDK

svn path=/trunk/; revision=4529
2003-04-13 03:57:41 +00:00
KJK::Hyperion
1b1afc9539 - the build system now handles static libraries 0.5% better
- cabman: brand new makefile - uses TARGET_* macros, the build helper, and the zlib library properly
 - fmifs: static libraries (.a archives) are built directly into the dk/w32/lib directory, instead of their base directory, so the makefile has been fixed
 - psapi: split into PSAPI.dll and EPSAPI (Extended PSAPI), renamed some files, new header
 - zlib: cleaned up makefile from unnecessary hacks

svn path=/trunk/; revision=4528
2003-04-13 03:24:28 +00:00
Gunnar Dalsnes
0871ebf88b implemeted waiting on file handles/file objects
svn path=/trunk/; revision=4527
2003-04-12 20:34:27 +00:00
Eric Kohl
7b5e0bebdf Final preparations for hardware hive import.
svn path=/trunk/; revision=4526
2003-04-12 18:41:43 +00:00
Eric Kohl
4aa19f2392 * Removed CmiLockBlock() and CmiReleaseBlock().
* Added new hive flags to distinguish between volatile/non-volatile and pointer/offset hives.

svn path=/trunk/; revision=4525
2003-04-12 15:09:57 +00:00
Casper Hornstrup
01aebbdd9d 2003-04-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/cdmake/Makefile: Use HOST_CC.
	* tools/cdmake/cdmake.c (MAX_PATH, DIR_SEPARATOR_CHAR,
	DIR_SEPARATOR_STRING): Define.
	(directory_record): Add fields name_on_cd and extension_on_cd.
	(error_exit): Make a macro. Avoid using vfprintf and fprintf.
	(write_directory_record, new_directory_record, compare_directory_order,
	pass): Use name_on_cd and extension_on_cd.
	(make_directory_records, get_file_specifications): Use DIR_SEPARATOR_CHAR.
	(new_directory_record, make_directory_records): Linux implementations.
	(main): Use DIR_SEPARATOR_CHAR.

svn path=/trunk/; revision=4524
2003-04-12 14:53:56 +00:00
Phillip Susi
03cba78fff Moved a local declaration to the top of the funtion, where it has to be to compile
svn path=/trunk/; revision=4523
2003-04-11 21:02:21 +00:00
KJK::Hyperion
22f750cd54 The GDB KD stub now correctly references/dereferences ETHREAD objects
svn path=/trunk/; revision=4522
2003-04-11 02:25:24 +00:00
KJK::Hyperion
5c6df46d27 - PsLookup* functions fixed to increment the reference count of the object they are about to return. The GDB KD stub is directly affected by this patch, but it hasn't been fixed yet
- PsGetCurrentProcess and PsGetCurrentThread are now macros calling IoGetCurrentProcess and KeGetCurrentThread, for binary compatibility with Windows

svn path=/trunk/; revision=4521
2003-04-10 23:14:47 +00:00
Gé van Geldorp
71c3c7c1cc Fix named resource handling and LoadString by d_layer
svn path=/trunk/; revision=4520
2003-04-10 19:12:15 +00:00
Eric Kohl
68962b6249 Remove system.hiv from Boot-CD.
svn path=/trunk/; revision=4519
2003-04-10 18:55:27 +00:00
Eric Kohl
c26ce9f93b Added support for binary system hive.
svn path=/trunk/; revision=4518
2003-04-10 18:51:22 +00:00
Eric Kohl
55a31c6b98 Added support for binary system hive.
svn path=/trunk/; revision=4517
2003-04-10 18:43:14 +00:00
Eric Kohl
ceb7d45424 Do not add empty bins to a binry hive.
svn path=/trunk/; revision=4516
2003-04-10 17:49:55 +00:00
Aleksey Bragin
294c3bcf94 New ctm version, supports killing of process, some bugfixes, increased speed of scrolling. My first ReactOS commit via CVS :)
svn path=/trunk/; revision=4515
2003-04-09 16:31:28 +00:00
Gé van Geldorp
2602dec603 Improve (hardware) exception handling and reporting
svn path=/trunk/; revision=4514
2003-04-07 23:10:08 +00:00
Eric Kohl
e81de9962d Added new tool 'cdmake'.
svn path=/trunk/; revision=4513
2003-04-07 18:16:58 +00:00
Eric Kohl
4aa447d8d2 Added missing boot signature.
svn path=/trunk/; revision=4512
2003-04-06 20:01:09 +00:00
Gé van Geldorp
abbc08ce15 Moved MSVCRT setjmp.o
svn path=/trunk/; revision=4511
2003-04-06 13:10:21 +00:00
Gé van Geldorp
f579397b48 Add wsock32
svn path=/trunk/; revision=4510
2003-04-06 12:49:13 +00:00
Gé van Geldorp
c3fb300cc3 Zero-fill initialized data not contained in image file (2nd try)
svn path=/trunk/; revision=4509
2003-04-06 12:48:33 +00:00
Gé van Geldorp
3fe2b722fd Added _setjmp3() and __p__iob()
svn path=/trunk/; revision=4508
2003-04-06 12:40:56 +00:00
Eric Kohl
e6af1b07da Removed outdated declarations and macros.
svn path=/trunk/; revision=4507
2003-04-06 12:13:53 +00:00
Casper Hornstrup
61914f23d0 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/freetype/.cvsignore: Ignore nul.

svn path=/trunk/; revision=4506
2003-04-06 10:51:29 +00:00
Casper Hornstrup
09754161f9 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/storage/atapi/atapi.c (AtapiReadWrite): Expect an interrupt a
	bit sooner.
	* hal/halx86/isa.c (HalpGetIsaInterruptVector): Compute vector for MP.
	* hal/halx86/pci.c (HalpGetPciInterruptVector): Ditto.
	* hal/halx86/sysbus.c (HalpGetSystemInterruptVector): Ditto.
	* hal/halx86/mp.c (AssignIrqVector): Rewrite.
	(MpsTimerHandler): Disable for now.
	(MpsSpuriousHandler): Do not acknowledge interrupt.
	(HalAllProcessorsStarted): Only boot 1 CPU for now.
	(RescheduleDpcRoutine): New function.
	(RescheduleDpc): New variable.
	(HalpInitMPS): Initialize RescheduleDpc. Fix bug in call to memset.
	* hal/halx86/mpsirql.c: Rewrite.
	* hal/halx86/include/mps.h (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL,
	IRQL2VECTOR): New macros.
	* ntoskrnl/ntoskrnl.def: Add KeRescheduleThread@0.
	* ntoskrnl/ntoskrnl.edf: Ditto.
	* ntoskrnl/include/internal/ke.h (KeRescheduleThread): Prototype.
	* ntoskrnl/ke/kthread.c (KeRescheduleThread): New function.
	* ntoskrnl/ke/i386/exp.c (KeInitExceptions): Remove unneeded call to
	set_trap_gate().
	* ntoskrnl/ke/i386/irq.c (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL): Correct.
	(IRQ_BASE): Define as FIRST_DEVICE_VECTOR.
	(NR_IRQS): Define using IRQ_BASE.
	(KeInitInterrupts): Use IRQ_BASE.
	(KiInterruptDispatch2): Rewrite.
	(KiInterruptDispatch): Ditto.
	(KeConnectInterrupt): Pass Vector to HalEnableSystemInterrupt() for MP.
	(KeDisconnectInterrupt): Pass Vector to HalDisableSystemInterrupt() for MP.
	* ntoskrnl/ke/i386/trap.s (_KiTrapProlog): Change 0x124 to KPCR_CURRENT_THREAD.

svn path=/trunk/; revision=4505
2003-04-06 10:45:16 +00:00
Casper Hornstrup
d6d1a08b48 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Add format.
	* include/fslib/vfatlib.h (VfatFormat): Prototype.
	* lib/fmifs/format.c (VfatFormat): Add stub.
	* lib/fmifs/makefile (TARGET_LIBS): Add vfatlib.a.
	* lib/fslib/vfatlib/vfatlib.c (VfatFormat): Add stub.
	* tools/helper.mk: Do not install .sym files for static libraries.
	* subsys/system/format: New directory.
	* subsys/system/format/makefile: New file.
	* subsys/system/format/format.c: Ditto.

svn path=/trunk/; revision=4504
2003-04-05 23:17:22 +00:00
guido
6756a59755 initialize variable
svn path=/trunk/; revision=4503
2003-04-05 22:21:33 +00:00
guido
5ccf66a359 housekeeping
svn path=/trunk/; revision=4502
2003-04-05 22:19:57 +00:00
Gé van Geldorp
e09c1c61dc Rollback previous change for now, gives problems when memory area extends beyond
end of file image

svn path=/trunk/; revision=4501
2003-04-05 21:57:13 +00:00
Casper Hornstrup
013bcd214a 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/fslib: New directory.
	* lib/fslib: Ditto.
	* lib/fslib/vfatlib: Ditto.
	* include/fslib/vfatlib.h: New file.
	* lib/fslib/vfatlib/.cvsignore: Ditto.
	* lib/fslib/vfatlib/Makefile: Ditto.
	* lib/fslib/vfatlib/vfatlib.c: Ditto.
	* Makefile: Support file system libraries
	* lib/zlib/Makefile: Remove nostrip target.
	* tools/helper.mk: Add nostrip target.

svn path=/trunk/; revision=4500
2003-04-05 19:40:41 +00:00
Casper Hornstrup
d322047b43 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/.cvsignore: Ignore rline.

svn path=/trunk/; revision=4499
2003-04-05 15:37:58 +00:00
Casper Hornstrup
e656184ad6 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* bootcd.bat: Install dosmbr.bin.
	* drivers/storage/disk/disk.c (DiskClassDeviceControl): Pass physical
	device object to IoWritePartitionTable().
	* ntoskrnl/io/xhaldrv.c (xHalReadMBR): New function.
	(xHalWriteMBR): Ditto.
	(xHalExamineMBR): Use xHalReadMBR() to read MBR.
	(xHalIoWritePartitionTable): Partial implement.
	* subsys/system/usetup/bootsup.c (InstallMBRBootCodeToDisk): New function.
	* subsys/system/usetup/bootsup.h (InstallMBRBootCodeToDisk): Prototype.
	* subsys/system/usetup/partlist.c (CreatePartitionListNoGUI): New function.
	(CreatePartitionList): Use CreatePartitionListNoGUI() to create partition
	list.
	(GetPartitionInformation): New function.
	(MarkPartitionActive): Ditto.
	* subsys/system/usetup/partlist.h (MarkPartitionActive): Prototype.
	* subsys/system/usetup/usetup.c (SelectPartitionPage): Make SystemRootPath
	point to the selected partition if no partitions are active.
	(BootLoaderPage): If no partitions are active, then install a DOS MBR and
	mark the selected partition active.

svn path=/trunk/; revision=4498
2003-04-05 15:36:34 +00:00
Casper Hornstrup
d44d6e392a Added DOS compatible Master Boot Record (MBR)
svn path=/trunk/; revision=4497
2003-04-05 15:28:45 +00:00
Gé van Geldorp
4f133928b7 Zero-fill initialized data not contained in image file
svn path=/trunk/; revision=4496
2003-04-05 13:19:05 +00:00
Gé van Geldorp
2aab2423c2 Silcence CVS messages
svn path=/trunk/; revision=4495
2003-04-05 09:48:40 +00:00
Casper Hornstrup
7b1020a10e 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Add bootcd target.
	(BOOTCD_INSTALL): Set for bootcd install.
	* rules.mak (TOPDIR): Define on windows.
	(BOOTCD_DIR): Define.
	(RLINE): Define.
	* apps/tests/lpc/makefile: Handle BOOTCD_INSTALL.
	* apps/tests/mstest/Makefile: Ditto.
	* apps/tests/nptest/Makefile: Ditto.
	* apps/tests/shm/makefile: Ditto.
	* ntoskrnl/Makefile: Handle BOOTCD_INSTALL. Add bootcd target.
	* drivers/dd/vga/makefile: Add bootcd target.
	* drivers/dd/blue/makefile (TARGET_BOOTSTRAP): Define as yes.
	* drivers/dd/floppy/Makefile: Ditto.
	* drivers/fs/cdfs/makefile: Ditto.
	* drivers/fs/ntfs/makefile: Ditto.
	* drivers/fs/vfat/makefile: Ditto.
	* drivers/input/keyboard/makefile: Ditto.
	* drivers/storage/atapi/makefile: Ditto.
	* drivers/storage/cdrom/makefile: Ditto.
	* drivers/storage/class2/makefile: Ditto.
	* drivers/storage/disk/makefile: Ditto.
	* drivers/storage/scsiport/makefile: Ditto.
	* hal/halx86/Makefile: Ditto.
	* lib/ntdll/makefile: Ditto.
	* subsys/system/usetup/makefile (TARGET_BOOTSTRAP): Define as yes.
	(TARGET_BOOTSTRAP_NAME): Define as smss.exe.
	* tools/Makefile: Add rline executable.
	* tools/helper.mk: Support bootcd targets.
	* tools/rline.c: New file.

svn path=/trunk/; revision=4494
2003-04-05 09:37:45 +00:00
Hartmut Birr
e174c6dcd5 - Fixed the initializing of the buffer length in CmiConnectHive.
svn path=/trunk/; revision=4492
2003-04-04 21:52:25 +00:00
Casper Hornstrup
dd53666e1a 2003-04-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/freetype/builds/compiler/gcc.mk (CC): Comment out; use CC from
	rules.mak instead.
	* lib/freetype/README.ROS: Note this in porting guide.

svn path=/trunk/; revision=4491
2003-04-04 21:30:31 +00:00
KJK::Hyperion
f729ca1756 NtCurrentTeb() for Alpha rewritten. Reorganized a couple of things
svn path=/trunk/; revision=4490
2003-04-04 20:36:15 +00:00
KJK::Hyperion
81369c3603 Updated FIXME comment
svn path=/trunk/; revision=4489
2003-04-04 20:35:24 +00:00
Steven Edwards
2941c583a4 add ctm by Aleksey Bragin
svn path=/trunk/; revision=4488
2003-04-04 19:26:04 +00:00
Eric Kohl
82389bc005 Cleaned-up and simplified hive import and registry initialization.
svn path=/trunk/; revision=4487
2003-04-04 14:05:29 +00:00
Gé van Geldorp
69b46e8303 Ignore .*.d files
svn path=/trunk/; revision=4486
2003-04-03 22:58:28 +00:00
Gé van Geldorp
4fbceaaefc Add time...() stubs
svn path=/trunk/; revision=4485
2003-04-03 22:57:00 +00:00
Gé van Geldorp
1eb65f81dd WSOCK32 stub
svn path=/trunk/; revision=4484
2003-04-03 22:44:19 +00:00
KJK::Hyperion
37f24851c5 - Nebbet-ized a couple of Zw types [tested]
- PSAPI now 10% better

svn path=/trunk/; revision=4483
2003-04-03 00:06:24 +00:00
Gunnar Dalsnes
4948893df6 timer messages impl.
svn path=/trunk/; revision=4482
2003-04-02 23:29:04 +00:00
Gé van Geldorp
42f7ce354a Turn optimization off in DBG builds
svn path=/trunk/; revision=4481
2003-04-02 23:25:56 +00:00
Gunnar Dalsnes
94975d7d95 timer messages impl.
svn path=/trunk/; revision=4480
2003-04-02 23:19:28 +00:00
Gunnar Dalsnes
9db4bafa99 timer messages impl.
svn path=/trunk/; revision=4479
2003-04-02 23:12:53 +00:00
KJK::Hyperion
a812f4e0b2 Long due update to PSAPI
svn path=/trunk/; revision=4478
2003-04-02 22:09:57 +00:00
KJK::Hyperion
01da24f40c Miscellaneous fixes:
- activated dependency tracking for ntdll [tested]
 - fixed trivial warning [tested]
 - build rules now define appropriate _M_<arch> macro, for compatibility with the Microsoft DDK [tested]
 - faster implementation of NtCurrentPeb() on the x86 [tested]
 - NtCurrentTeb() implementations for the Alpha AXP and MIPS R4000 architectures

svn path=/trunk/; revision=4477
2003-04-02 21:55:16 +00:00
KJK::Hyperion
323478bacf Forgot to remove this
svn path=/trunk/; revision=4476
2003-04-02 02:09:28 +00:00
KJK::Hyperion
4e0c54a3b8 Finalized my previous kernel32.dll patch - please test OutputDebugString
svn path=/trunk/; revision=4475
2003-04-02 00:23:12 +00:00
KJK::Hyperion
870f594d75 RtlRunDecodeUnicodeString & RtlRunEncodeUnicodeString patch finalized
svn path=/trunk/; revision=4474
2003-04-02 00:06:00 +00:00
KJK::Hyperion
e379c5e0b7 RtlRunEncodeUnicodeString & RtlRunDecodeUnicodeString contributed by crazylord
svn path=/trunk/; revision=4473
2003-04-02 00:01:21 +00:00
Eric Kohl
c3a2a5dc0d Start cleaning-up the hive management routines.
Initialize hive and log file names for the system hive.

svn path=/trunk/; revision=4472
2003-04-01 19:01:58 +00:00
Eric Kohl
1a56964de6 Fix missing entry point warning.
svn path=/trunk/; revision=4471
2003-04-01 18:58:59 +00:00
Gé van Geldorp
db73ddbe31 Add labs() needed for new MinGW environment
svn path=/trunk/; revision=4470
2003-04-01 17:14:36 +00:00
Eric Kohl
0ce7c979ac Enable import of binary system hive.
svn path=/trunk/; revision=4469
2003-04-01 16:37:14 +00:00
Eric Kohl
1fb9958a68 Fix bug which causes a crash in RtlpCheckFileNameExtension() if the file doesn't have an extension.
svn path=/trunk/; revision=4468
2003-04-01 16:35:22 +00:00
Gé van Geldorp
1d1253f734 Changed location of FreeType to lib/freetype
svn path=/trunk/; revision=4467
2003-04-01 08:55:51 +00:00
Gé van Geldorp
b4f4566a01 Use FreeType DLL
svn path=/trunk/; revision=4466
2003-04-01 08:43:46 +00:00
Gé van Geldorp
fa1f8db542 FreeType 2.1.3 import
svn path=/trunk/; revision=4465
2003-04-01 08:38:33 +00:00
Gé van Geldorp
fbc6b77b36 Support for kernel mode DLLs (TARGET_TYPE kmdll)
svn path=/trunk/; revision=4464
2003-04-01 08:13:30 +00:00
KJK::Hyperion
1f3d9b8335 - implemented a couple of DbgUi* APIs introduced in NT 5.1
- implemented RtlExitUserThread

svn path=/trunk/; revision=4463
2003-03-31 22:32:18 +00:00
KJK::Hyperion
279e7acf18 - added annotation to TEB definition
- new DbgUi* APIs added in NT 5.1
 - implemented RtlExitThread
 - added definition of various ACE_* structures

svn path=/trunk/; revision=4462
2003-03-31 22:30:49 +00:00
KJK::Hyperion
647129da1f - debugging support APIs moved into their own directory
- reversed the Debug Monitor protocol, implemented OutputDebugString accordingly
 - added a handful of new functions introduced in NT 5.1, either stubbed out or implemented

svn path=/trunk/; revision=4461
2003-03-31 22:28:59 +00:00
KJK::Hyperion
63a0f413bf Fixed tlist
svn path=/trunk/; revision=4460
2003-03-31 21:03:42 +00:00
Eric Kohl
1f8fe422c6 Remove unused code.
svn path=/trunk/; revision=4459
2003-03-31 11:49:38 +00:00
Eric Kohl
4dc8e937b1 Enable loading of binary hive files (without file extension).
svn path=/trunk/; revision=4458
2003-03-31 11:48:48 +00:00
Gé van Geldorp
14952fd4f9 Add \SystemRoot\system32 to the search path for implicitly linked
kernel mode DLLs

svn path=/trunk/; revision=4457
2003-03-31 09:30:00 +00:00
Eric Kohl
fc3c449b62 Updated for 0.1.1 CD.
svn path=/trunk/; revision=4455
2003-03-29 21:41:21 +00:00
Jason Filby
0c7e8e368e Version 0.1.1
svn path=/trunk/; revision=4454
2003-03-29 18:37:07 +00:00
Casper Hornstrup
579da78402 2003-03-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/ex/sysinfo.c (SystemProcessInformation): Fix warning.

svn path=/trunk/; revision=4453
2003-03-29 12:55:48 +00:00
Eric Kohl
e4dd0575db Removed cmd from the target list.
svn path=/trunk/; revision=4452
2003-03-29 12:06:09 +00:00
Eric Kohl
7bf5e6cae6 Added support for the Ontrack Disk Manager.
svn path=/trunk/; revision=4451
2003-03-28 22:47:33 +00:00
Richard Campbell
1d95979106 Ported AdjustClientRect(Ex) from wine, this fixes bugs in hcalc
svn path=/trunk/; revision=4450
2003-03-28 19:25:00 +00:00
Richard Campbell
2b62e9b22c Fixes a client area issue in winemine and other apps.
svn path=/trunk/; revision=4449
2003-03-28 18:59:18 +00:00
Gé van Geldorp
5fff73db86 Fix crash in W32kGetTextMetrics
svn path=/trunk/; revision=4448
2003-03-28 16:20:51 +00:00
Gé van Geldorp
34aacc4e6b Fix crash at load-time
svn path=/trunk/; revision=4447
2003-03-28 15:34:17 +00:00
Gé van Geldorp
a2c3aa0f98 Send mouse movement messages when moving to left/top
svn path=/trunk/; revision=4446
2003-03-28 15:27:47 +00:00
Gé van Geldorp
c338b7de02 Initialize DC with BLACK_PEN
svn path=/trunk/; revision=4445
2003-03-28 15:27:02 +00:00
Gé van Geldorp
58ce5de527 Rollback last change
svn path=/trunk/; revision=4444
2003-03-27 23:17:22 +00:00
Jason Filby
cdc8ff38a8 Readme.txt for users
svn path=/trunk/; revision=4443
2003-03-27 22:25:33 +00:00
Gé van Geldorp
1b46517748 Fix linker warning
svn path=/trunk/; revision=4442
2003-03-27 19:34:00 +00:00
Richard Campbell
c99b43d4cb - Tim Jobling implemented PolyLine
svn path=/trunk/; revision=4441
2003-03-27 03:24:04 +00:00
Richard Campbell
9588279d27 *** empty log message ***
svn path=/trunk/; revision=4440
2003-03-27 02:31:41 +00:00
Richard Campbell
dd8f77cf0f - Implemented InvalidateRect and InvalidateRgn by Tim Jobling
svn path=/trunk/; revision=4439
2003-03-27 02:27:42 +00:00
Richard Campbell
90bdbbb09a *** empty log message ***
svn path=/trunk/; revision=4438
2003-03-27 02:26:15 +00:00
Richard Campbell
8923bf8701 - InvalidateRgn and InvalidateRect by Tim Jobling
svn path=/trunk/; revision=4437
2003-03-27 02:25:14 +00:00
Hartmut Birr
b47552e96f - Do not create a console for GUI applications.
svn path=/trunk/; revision=4436
2003-03-26 22:11:27 +00:00
Hartmut Birr
4950a5230f - Fixed a bug in CsrDeleteConsole. Sometimes the console wasn't removed from the console list.
svn path=/trunk/; revision=4435
2003-03-26 22:10:43 +00:00
Eric Kohl
6748410167 Implemented RtlIsTextUnicode().
svn path=/trunk/; revision=4434
2003-03-26 15:19:28 +00:00
Gé van Geldorp
52dfe36e11 Introduce ANSI version of LOGFONT and associated structures
svn path=/trunk/; revision=4433
2003-03-26 08:11:53 +00:00
Richard Campbell
96719caa15 *** empty log message ***
svn path=/trunk/; revision=4432
2003-03-26 01:01:21 +00:00
Gé van Geldorp
59371a062e Introduce TEXTMETRICSA and TEXTMETRICSW
svn path=/trunk/; revision=4431
2003-03-25 22:35:19 +00:00
Richard Campbell
dcedc133e0 *** empty log message ***
svn path=/trunk/; revision=4430
2003-03-25 20:34:52 +00:00
Eric Kohl
5ae904ab74 Added automatic start of 2nd stage setup.
svn path=/trunk/; revision=4429
2003-03-25 19:26:33 +00:00
Richard Campbell
eefe9aeef3 Removed a DbgPrint
svn path=/trunk/; revision=4428
2003-03-24 23:45:47 +00:00
Richard Campbell
464468ce33 Implemented UpdateWindow()
svn path=/trunk/; revision=4427
2003-03-24 23:08:51 +00:00
Gé van Geldorp
428e6983d1 Speed up search for free handle somewhat
svn path=/trunk/; revision=4426
2003-03-24 22:50:17 +00:00
Gé van Geldorp
0d5ed410c1 Fix GDI handle leaks
svn path=/trunk/; revision=4425
2003-03-24 22:49:54 +00:00
Eric Kohl
a3437854ba Use an enum for page id's instead of an ULONG.
svn path=/trunk/; revision=4424
2003-03-24 19:12:10 +00:00
Eric Kohl
192fe9f464 Implemented import of binary system hive. (UNTESTED)
Improved handling of a hive's dirty block bitmap.

svn path=/trunk/; revision=4423
2003-03-24 19:10:00 +00:00
Eric Kohl
6b349cca78 Added leading semicolons to comment lines
svn path=/trunk/; revision=4422
2003-03-24 13:45:27 +00:00
Eric Kohl
d64b0c501f Implemented RegLoadKey[A/W]() and RegUnLoadKey[A/W]().
svn path=/trunk/; revision=4421
2003-03-24 13:44:15 +00:00
Richard Campbell
e93115c5a2 - Proper implementation of NtUserMoveWindow()
svn path=/trunk/; revision=4420
2003-03-24 01:36:10 +00:00
KJK::Hyperion
1c607fc7d1 zlib is a static library, not (necessarily) a driver library. Moved it back to reactos/lib (who moved it?)
svn path=/trunk/; revision=4419
2003-03-24 01:28:44 +00:00
KJK::Hyperion
f7d6015170 why was zlib.a included in the list of files to install?
svn path=/trunk/; revision=4418
2003-03-24 00:23:18 +00:00
KJK::Hyperion
5c1108ea15 - changed a couple of structures to match the definitions given in the book "Windows 2000 Native API"
- implementation of the SystemProcessInformation class of NtQuerySystemInformation() by Aleksey Bragin

svn path=/trunk/; revision=4417
2003-03-24 00:09:32 +00:00
Gunnar Dalsnes
d3c97ea09d init. change notification work
svn path=/trunk/; revision=4416
2003-03-23 19:51:11 +00:00
Hartmut Birr
f771a79dd9 - Set the executable flag for some files in _stat.
svn path=/trunk/; revision=4415
2003-03-23 15:18:34 +00:00
Hartmut Birr
fa9eae54dd - Fixed a bug in valisttos.
- Implemented _spawnlp.

svn path=/trunk/; revision=4414
2003-03-23 15:18:01 +00:00
Eric Kohl
f392901f75 Implemented NtQueryAttributesFile() and NtQueryFullAttributesFile().
svn path=/trunk/; revision=4413
2003-03-23 14:46:09 +00:00
Hartmut Birr
2aef8289eb - Save the device object for dereferencing before the worker routine is called (IoWorkItemCallback).
svn path=/trunk/; revision=4412
2003-03-23 10:50:13 +00:00
Hartmut Birr
457a70030c - Add a trailing '\' if the path is only a drive (RtlpEatPath).
svn path=/trunk/; revision=4411
2003-03-23 10:49:19 +00:00
Hartmut Birr
52b9204b29 - Extract the correct search pattern and do not interpret '.' or '..'
at the end of the pattern as path (InternalFindFirstFile).

svn path=/trunk/; revision=4410
2003-03-23 10:48:14 +00:00
Hartmut Birr
d7d389bf60 - Fixed the length parameter for calling RtlGetCurrentDirectory_U (GetCurrentDirectoryW).
svn path=/trunk/; revision=4409
2003-03-23 10:46:59 +00:00
Hartmut Birr
1032130eaf - Fixed the intialization of the returned fcb if the directory is the root (FindFile).
svn path=/trunk/; revision=4408
2003-03-23 10:45:56 +00:00
Jason Filby
4687fe39e4 Free bitmap in EngTransparentBlt
svn path=/trunk/; revision=4407
2003-03-23 10:15:12 +00:00
Jason Filby
3aed736c06 Improved font loaded message
svn path=/trunk/; revision=4406
2003-03-23 09:46:22 +00:00
Jason Filby
44b3528f71 Line drawing fixes
svn path=/trunk/; revision=4405
2003-03-23 09:18:51 +00:00
Eric Kohl
68c3b158fc GetFileAttributes() and SetFileAttributes() must use NtOpenFile() to open directories too.
svn path=/trunk/; revision=4404
2003-03-23 04:01:16 +00:00
Gé van Geldorp
8b0fa2ce3d Release XLATEOBJs after use
svn path=/trunk/; revision=4403
2003-03-22 23:57:32 +00:00
Gé van Geldorp
1e8cc39810 Don't access internal object for NULL handle
svn path=/trunk/; revision=4402
2003-03-22 23:57:05 +00:00
Eric Kohl
a8c65e148b Check only the last path component for system hive name.
svn path=/trunk/; revision=4401
2003-03-22 22:32:17 +00:00
Jason Filby
e02bb01522 Use DPRINT1 for errors
svn path=/trunk/; revision=4400
2003-03-22 22:05:36 +00:00
Jason Filby
0a595fb831 Use DbgPrint for errors
svn path=/trunk/; revision=4399
2003-03-22 21:52:38 +00:00
Jason Filby
8526f38f43 Line drawing fixes
svn path=/trunk/; revision=4398
2003-03-22 21:51:05 +00:00
Eric Kohl
0e4840598e Fix typo.
svn path=/trunk/; revision=4397
2003-03-22 18:45:20 +00:00
Eric Kohl
5aa85e8ac2 Separate import of system and hardware hive.
svn path=/trunk/; revision=4396
2003-03-22 18:27:40 +00:00
Eric Kohl
c5b283562d Import registry data from inf files which are listed in txtsetup.sif.
svn path=/trunk/; revision=4395
2003-03-22 15:25:03 +00:00
Eric Kohl
8b3c315dd9 Add new registry inf files.
svn path=/trunk/; revision=4394
2003-03-22 15:22:14 +00:00
Eric Kohl
4f8e2ab714 Fixed NtLoadKey(), NtLoadKey2() and NtSaveKey() signature.
svn path=/trunk/; revision=4393
2003-03-22 11:26:51 +00:00
Mark Tempel
9bb9270ac0 Update to make shaptest be a windowed application.
svn path=/trunk/; revision=4392
2003-03-22 06:53:06 +00:00
Richard Campbell
87a1ef504f Allocated space for the menu
svn path=/trunk/; revision=4391
2003-03-22 04:53:01 +00:00
Richard Campbell
948bca0d7e Allocate space for menu in MoveWindow, will filter this change to SetWindowPos/CreateWindowEx soon, gotta go. PS doesn't work yet due to menu not being 'seen'
svn path=/trunk/; revision=4390
2003-03-22 03:05:26 +00:00
KJK::Hyperion
7c39153727 small fix to linking error
svn path=/trunk/; revision=4389
2003-03-21 21:46:06 +00:00
Hartmut Birr
a9b1cd3b93 - Fixed the buffer handling for ioctl requests and direct access
input buffers (METHODE_IN_DIRECT, output buffer from caller).

svn path=/trunk/; revision=4388
2003-03-21 21:09:42 +00:00
Hartmut Birr
99146c71b3 - Write direct to the console buffer in CsrWriteConsoleOutputChar.
- Update only the necessary screen region in CsrFillOutputChar.
- Improve the access to the console buffer in CsrFillOutputAttrib/CsrWriteConsoleOutputAttrib.

svn path=/trunk/; revision=4387
2003-03-21 20:17:55 +00:00
Eric Kohl
79dcc93088 Fixed typos in hivesys.inf.
Changed shell.exe to cmd.exe in txtsetup.sif

svn path=/trunk/; revision=4386
2003-03-21 18:10:32 +00:00
Eric Kohl
a4e1a6d03d Fixed value list cell resizing bug.
svn path=/trunk/; revision=4385
2003-03-21 17:40:57 +00:00
Mark Tempel
71c0c0f710 fixed the shaptest copy command.
svn path=/trunk/; revision=4384
2003-03-21 04:26:50 +00:00
Gunnar Dalsnes
ed69e0431b LoadResource crashed with NULL hModule
svn path=/trunk/; revision=4383
2003-03-21 00:20:41 +00:00
Gé van Geldorp
5b0769c317 Change install path
svn path=/trunk/; revision=4382
2003-03-20 21:46:41 +00:00
Gé van Geldorp
b3b7b23fa1 Set default shell to cmd.exe
svn path=/trunk/; revision=4381
2003-03-20 20:59:33 +00:00
Gé van Geldorp
6aa0e3b90d Shutdown after shell exit
svn path=/trunk/; revision=4380
2003-03-20 20:56:52 +00:00
Richard Campbell
a4907447eb *** empty log message ***
svn path=/trunk/; revision=4379
2003-03-20 20:56:24 +00:00
Richard Campbell
285f0befdd Remove shell
svn path=/trunk/; revision=4378
2003-03-20 20:53:15 +00:00
Richard Campbell
dc30187ea9 shell.exe is now cmd.exe
svn path=/trunk/; revision=4377
2003-03-20 20:50:40 +00:00
Richard Campbell
a0d62646a9 bug fixes
svn path=/trunk/; revision=4376
2003-03-20 20:29:48 +00:00
Richard Campbell
aa72305d58 Get CMD.EXE to build.
svn path=/trunk/; revision=4375
2003-03-20 19:32:59 +00:00
Richard Campbell
589616a406 Made cmd default shell
svn path=/trunk/; revision=4374
2003-03-20 19:22:23 +00:00
Richard Campbell
11dbd69c7c Changed default shell to cmd.exe
svn path=/trunk/; revision=4373
2003-03-20 19:21:01 +00:00
Richard Campbell
82d063e87d Move cmd to ReactOS module
svn path=/trunk/; revision=4372
2003-03-20 19:19:23 +00:00
Gé van Geldorp
43ff81f72d Search child list for windows to be repainted
svn path=/trunk/; revision=4371
2003-03-20 10:10:12 +00:00
Gé van Geldorp
6088c8a758 Initialize FastMutex before it's used
svn path=/trunk/; revision=4370
2003-03-20 10:09:24 +00:00
Gé van Geldorp
61656150fa Fix loader warnings
svn path=/trunk/; revision=4369
2003-03-20 09:45:57 +00:00
Gé van Geldorp
4a6584272a Silence some debug messages
svn path=/trunk/; revision=4368
2003-03-20 08:22:01 +00:00
Richard Campbell
f6818caa5e What the HELL was I smokin? :)
svn path=/trunk/; revision=4367
2003-03-20 04:03:13 +00:00
Richard Campbell
962a19c45f fixed bug because mingw is stupid (no newline at end of file? WHY OH WHY?)
svn path=/trunk/; revision=4366
2003-03-20 03:37:14 +00:00
Mark Tempel
a5c783b93c Updated comment to be more accurate.
svn path=/trunk/; revision=4365
2003-03-20 03:12:25 +00:00
Mark Tempel
504851d85e Added an initial implementation of Polygon. The initial revision is pretty slow,
and needs to be optimized.

svn path=/trunk/; revision=4364
2003-03-20 03:07:38 +00:00
Mark Tempel
3203df9587 Initial revision of the polygon fill routines. This implementation only supports ALTERNATE mode.
This revision is slow and has some drawing inaccuracies that need to be ironed out.

svn path=/trunk/; revision=4363
2003-03-20 03:06:52 +00:00
Mark Tempel
fac59fb33a Added objects/polyfill.c (polygon fill routines) to the build.
svn path=/trunk/; revision=4362
2003-03-20 03:05:03 +00:00
Mark Tempel
694a6b2c6e Removed Get/SetPolygonFillMode and Polygon
svn path=/trunk/; revision=4361
2003-03-20 03:04:02 +00:00
Mark Tempel
ea5140f3c0 Moved implementation of Rectangle to here.
Added Polygon

svn path=/trunk/; revision=4360
2003-03-20 03:03:39 +00:00
Mark Tempel
358c2e54fd Moved Rectangle to fillshap.c
svn path=/trunk/; revision=4359
2003-03-20 03:03:00 +00:00
Mark Tempel
f404855197 Add Get/SetPolygonFillMode
svn path=/trunk/; revision=4358
2003-03-20 03:02:38 +00:00
Mark Tempel
ba707122eb Update to add the file fillshap.c to the build.
svn path=/trunk/; revision=4357
2003-03-20 03:02:07 +00:00
Richard Campbell
cfb0571c4e Minor change to PATH=
svn path=/trunk/; revision=4356
2003-03-20 02:43:18 +00:00
Richard Campbell
769b12cd45 Removed NEWS
svn path=/trunk/; revision=4355
2003-03-20 02:39:59 +00:00
Richard Campbell
e3c29f8bcd Updated INSTALL
svn path=/trunk/; revision=4354
2003-03-20 02:38:41 +00:00
Richard Campbell
2fbb2609d7 Attempt at updating README file
svn path=/trunk/; revision=4353
2003-03-20 02:33:37 +00:00
Gunnar Dalsnes
957f814a24 initial work on I/O completion
svn path=/trunk/; revision=4352
2003-03-19 23:17:52 +00:00
Gunnar Dalsnes
fc1366d624 set thread WaitReason when blocking
svn path=/trunk/; revision=4351
2003-03-19 23:12:41 +00:00
Gunnar Dalsnes
313dc5e53f set thread WaitReason when blocking
initial work on I/O completion

svn path=/trunk/; revision=4350
2003-03-19 23:09:54 +00:00
KJK::Hyperion
14597f5f11 MinGW includes libmsvcrt.a by default, no need to add it manually
svn path=/trunk/; revision=4349
2003-03-19 21:36:01 +00:00
KJK::Hyperion
85e1c49842 Fixed parsing of color specification strings containing "bright"
svn path=/trunk/; revision=4348
2003-03-19 21:34:13 +00:00
Eric Kohl
65620794d3 Reorganize registry initialization.
Fix typos.

svn path=/trunk/; revision=4347
2003-03-19 20:12:44 +00:00
Eric Kohl
1b066695c5 Fix typos.
svn path=/trunk/; revision=4346
2003-03-19 20:10:24 +00:00
Mark Tempel
cb7c9a0a09 Test application used for testing GDI shape drawing functions. Currently it tests Polygon
svn path=/trunk/; revision=4345
2003-03-19 16:03:02 +00:00
Mark Tempel
367031db4a Update to add a new test application (shaptest) to the build. This application
is used to test shape drawing GDI functions.

svn path=/trunk/; revision=4344
2003-03-19 03:37:07 +00:00
Brian Palmer
958c16b6d9 Only compile if running win32 version of gcc.
svn path=/trunk/; revision=4343
2003-03-18 22:53:05 +00:00
Brian Palmer
1c8640a836 Changes in v1.8.3 (3/18/2003) (brianp)
- Added _alloca() function because Mingw32 generates code that needs it
- Defined _mainCRTStartup in fathelp.asm because Mingw32 looks for that symbol

svn path=/trunk/; revision=4342
2003-03-18 22:32:30 +00:00
Eric Kohl
3c2e048a81 Implemented the import of default registry settings from .inf files.
This is based on Wine's setupapi implementation by Alexandre Julliard.

svn path=/trunk/; revision=4341
2003-03-18 20:39:49 +00:00
Eric Kohl
1b53680503 Fixed an off-by-one error in CmiPopulateHive().
Removed dead code from NtFlushKey().
Changed some debugging messages.

svn path=/trunk/; revision=4340
2003-03-18 20:36:17 +00:00
Gé van Geldorp
c306d43c24 Pass NTSTATUS return code from NtUser functions and use MmCopyFromCaller
to access pointer parameter

svn path=/trunk/; revision=4339
2003-03-18 09:16:44 +00:00
Gé van Geldorp
32f822eab5 Add #include to prevent warnings on MmCopyFrom/ToUser
svn path=/trunk/; revision=4338
2003-03-18 08:34:37 +00:00
Gé van Geldorp
c5c4fcd810 Pass PWINDOW_OBJECT instead of HANDLE in call to W32kGetClientRect
svn path=/trunk/; revision=4337
2003-03-18 08:33:27 +00:00
Richard Campbell
cc078531ba Implemented RedrawWindow()
svn path=/trunk/; revision=4336
2003-03-18 07:19:17 +00:00
Richard Campbell
2c77bbfae2 Implemented CloseWindow()
svn path=/trunk/; revision=4335
2003-03-18 07:01:09 +00:00
Richard Campbell
6952a4bc36 Implemented GetParent()
svn path=/trunk/; revision=4334
2003-03-18 06:46:10 +00:00
Richard Campbell
46cdc5f1ca Implemented IsZoomed()
svn path=/trunk/; revision=4333
2003-03-18 06:44:11 +00:00
Steven Edwards
075b861ce8 A little more good housekeeping
svn path=/trunk/; revision=4332
2003-03-18 01:21:49 +00:00
Steven Edwards
91b46db515 Removed Extra unnneed messagebox test
svn path=/trunk/; revision=4331
2003-03-18 01:00:33 +00:00
Steven Edwards
201760656a Moved MessageBox test to a more proper name
svn path=/trunk/; revision=4330
2003-03-18 00:55:23 +00:00
Steven Edwards
d46106cd34 disabled unneeded EH in test
svn path=/trunk/; revision=4329
2003-03-18 00:54:09 +00:00
Gunnar Dalsnes
04719148b0 LdrGetExportByOrdinal was broken
LdrGetExportByName: fixed bug visible when number of exported functions > number of exported names + check for zero symbol name export table

svn path=/trunk/; revision=4328
2003-03-17 23:05:07 +00:00
Gunnar Dalsnes
b41c5aa867 TlsGetValue: fix to comply with SDK behaviour
svn path=/trunk/; revision=4327
2003-03-17 22:39:09 +00:00
Gunnar Dalsnes
cff9e3c02f don't touch FileObject after IoCallDriver + cleanup
svn path=/trunk/; revision=4326
2003-03-17 22:30:55 +00:00
Gunnar Dalsnes
d03afca494 ObReferenceObjectByHandle: don't fail if NULL DesiredAccess
svn path=/trunk/; revision=4325
2003-03-17 22:28:55 +00:00
Eric Kohl
55d730e10e NtCreateKey() must return STATUS_OBJECT_NAME_NOT_FOUND if the caller tries to create a tree instead of a single key.
svn path=/trunk/; revision=4324
2003-03-17 22:09:26 +00:00
Eric Kohl
b5d59b0618 Fixed registry paths and some typos.
svn path=/trunk/; revision=4323
2003-03-17 22:06:31 +00:00
Richard Campbell
63a26e233a - Updated obm_close
- Fixed a bug with min/max hit tracking
- Added support for allocating a DCE for each window (untested)

svn path=/trunk/; revision=4322
2003-03-16 23:01:08 +00:00
Emanuele Aliberti
c2f91bfad0 SoftModalMessageBox stub added.
svn path=/trunk/; revision=4321
2003-03-16 17:11:22 +00:00
Emanuele Aliberti
328caa7669 Minor changes.
svn path=/trunk/; revision=4320
2003-03-16 17:01:45 +00:00
Eric Kohl
1ac75e85d3 Moved txtsetup.sif to the bootdata directory.
Added hivesys.inf file.

svn path=/trunk/; revision=4319
2003-03-16 16:17:39 +00:00
Hartmut Birr
bd8712ad37 - Fixed the screen updating in CsrWriteConsoleOutputChar.
svn path=/trunk/; revision=4318
2003-03-16 16:14:38 +00:00
Casper Hornstrup
77eee7ca44 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ntos/rtltypes.h (PRTL_BASE_PROCESS_START_ROUTINE): Define.
	* lib/kernel32/process/create.c (RtlBaseProcessStartRoutine): Import.
	(KlCreateFirstThread): Support images with native subsystem ID.
	* lib/ntdll/def/ntdll.def (RtlBaseProcessStartRoutine): Export.
	* lib/ntdll/def/ntdll.edf (RtlBaseProcessStartRoutine): Ditto.
	* lib/ntdll/rtl/exception.c (RtlBaseProcessStart): Forward declare.
	(RtlBaseProcessStartRoutine, RtlBaseProcessStart): Add.

svn path=/trunk/; revision=4317
2003-03-16 14:16:54 +00:00
Casper Hornstrup
4f23f4eae4 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/defines.h (VS_FFI_SIGNATURE, VS_FFI_STRUCVERSION): Define.

svn path=/trunk/; revision=4316
2003-03-16 13:45:27 +00:00
Casper Hornstrup
5f81b22161 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Use exception code
	STATUS_ACCESS_VIOLATION for exception 14.

svn path=/trunk/; revision=4315
2003-03-16 13:25:47 +00:00
Casper Hornstrup
43b6dc2a24 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/fs/util.c (FsRtlGetFileSize): Implement.

svn path=/trunk/; revision=4314
2003-03-16 13:18:49 +00:00
Casper Hornstrup
0a8aad891f 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/ntdll/rtl/nls.c (RtlCustomCPToUnicodeN, RtlMultiByteToUnicodeN,
	RtlOemToUnicodeN, RtlUnicodeToCustomCPN, RtlUnicodeToMultiByteN,
	RtlUnicodeToMultiByteSize, RtlUnicodeToOemN,
	RtlUpcaseUnicodeToCustomCPN, RtlUpcaseUnicodeToMultiByteN,
	RtlUpcaseUnicodeToOemN): Assert when unimplemented code is reached.

svn path=/trunk/; revision=4313
2003-03-16 13:07:02 +00:00
Casper Hornstrup
6697890d71 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ntos/zwtypes.h (FILE_BASIC_INFORMATION): Use LARGE_INTEGER,
	not TIME type for time fields.
	* lib/kernel32/file/copy.c (SetLastWriteTime): Adjust for new type.
	(CopyFileExW): Ditto.

svn path=/trunk/; revision=4312
2003-03-16 12:57:32 +00:00
Casper Hornstrup
09e4426af3 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ntos/types.h (FALSE): Protect with #ifndef FALSE.
	(TRUE): Protect with #ifndef TRUE.

svn path=/trunk/; revision=4311
2003-03-16 12:45:03 +00:00
Casper Hornstrup
a9d3504875 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/napi/i386/segment.h (put_user, get_user,
	bad_user_access_length, __segment_dummy, __sd, __const_sd, __put_user,
	__get_user, __generic_memcpy_tofs, __constant_memcpy_tofs, COMMON,
	__generic_memcpy_fromfs, __constant_memcpy_fromfs, memcpy_fromfs,
	memcpy_tofs, get_fs_byte, get_fs_word, get_fs_long, put_fs_byte,
	put_fs_word, put_fs_long, get_user_word, get_user_byte, get_user_long,
	put_user_byte, put_user_word, put_user_long, get_fs, get_ds, set_fs,
	set_ds): Remove.

svn path=/trunk/; revision=4310
2003-03-16 12:39:29 +00:00
Casper Hornstrup
8702f6b7e1 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddk/pstypes.h (TLS_OUT_OF_INDEXES): Define.

svn path=/trunk/; revision=4309
2003-03-16 12:27:54 +00:00
Richard Campbell
a02dfcdf70 Fixed more bugs...
svn path=/trunk/; revision=4308
2003-03-16 07:02:38 +00:00
Richard Campbell
46535b89b5 System buttons actually look like they press.
svn path=/trunk/; revision=4307
2003-03-16 06:43:09 +00:00
Eric Kohl
9c982f8f51 Implemented InfGetXxxField() functions.
svn path=/trunk/; revision=4306
2003-03-15 19:36:11 +00:00
Steven Edwards
e8cb3842fb turn off EH in test program.
svn path=/trunk/; revision=4305
2003-03-15 00:28:09 +00:00
Steven Edwards
cb418f8fa6 ....
svn path=/trunk/; revision=4304
2003-03-14 23:45:00 +00:00
Steven Edwards
2b4f936add Hack stub for NdisWriteErrorLogEntry so VMware network driver fails with some grace. =/
svn path=/trunk/; revision=4303
2003-03-14 23:37:26 +00:00
Eugene Ingerman
3cacdf6d55 Added safe copy from user.
svn path=/trunk/; revision=4302
2003-03-14 22:48:32 +00:00
Steven Edwards
a8e0023bb0 Gcc 3.x newline warning fix
svn path=/trunk/; revision=4301
2003-03-14 22:13:40 +00:00
Richard Campbell
f257940218 *** empty log message ***
svn path=/trunk/; revision=4300
2003-03-14 08:34:25 +00:00
Richard Campbell
2be2440055 IDEALLY this should look like NT4 windows to the pixel. Problem is the client area is off...anyone know how to fix it?
svn path=/trunk/; revision=4299
2003-03-14 07:24:35 +00:00
Richard Campbell
4fd70f50be Added some entries, changed some entries. This may or may not bug out windowing in ROS, haven't checked. Will check and fix as necessary next.
svn path=/trunk/; revision=4298
2003-03-13 20:02:36 +00:00
Eric Kohl
e4228315fc Replaced the current inf-parser by a robust state-machine parser. It is heavily based on Alexandre Julliard's setupapi inf-parser.
svn path=/trunk/; revision=4297
2003-03-13 17:58:52 +00:00
Eric Kohl
7e590b2656 Seperated inf- and ini-file routines. The inf-file routines look like the setupapi-routines.
Create 'Setup' key in the system hive.

svn path=/trunk/; revision=4296
2003-03-13 09:51:11 +00:00
Richard Campbell
19af3dbdde *** empty log message ***
svn path=/trunk/; revision=4295
2003-03-12 16:36:18 +00:00
Richard Campbell
593d22e757 A couple bugfixes
svn path=/trunk/; revision=4294
2003-03-12 16:27:32 +00:00
Richard Campbell
54fa81f819 Windows are activated when created. This is actually just a hack, they really are active, but I don't know how well this will work in a multi windowing environment.
svn path=/trunk/; revision=4293
2003-03-12 08:26:54 +00:00
Richard Campbell
b1839c1917 YAY for bug fixes!
svn path=/trunk/; revision=4292
2003-03-12 06:32:44 +00:00
Richard Campbell
77ca8d96bd More bugfixes
svn path=/trunk/; revision=4291
2003-03-12 06:02:59 +00:00
Richard Campbell
876c0e392b ditto
svn path=/trunk/; revision=4290
2003-03-12 05:40:46 +00:00
Richard Campbell
a09e66521a Small bugfix
svn path=/trunk/; revision=4289
2003-03-12 05:21:53 +00:00
Richard Campbell
adcf4970da Implemented MoveWindow()
svn path=/trunk/; revision=4288
2003-03-12 05:18:21 +00:00
Steven Edwards
3e669eed4d Added Demo for WM_ERASEBKGND
- Contributed by Damon Chandler Windows2000 Graphics API Backbook

svn path=/trunk/; revision=4287
2003-03-11 19:50:30 +00:00
Gé van Geldorp
ab42b89f19 Get mouse cursor working under VMware
svn path=/trunk/; revision=4286
2003-03-11 00:21:41 +00:00
Richard Campbell
aee47209b1 LOTs of changes, a few bug fixes, some code cleanup.
svn path=/trunk/; revision=4285
2003-03-11 00:18:54 +00:00
Jason Filby
5a4eded72e Updated Serial Mouse driver
svn path=/trunk/; revision=4284
2003-03-10 19:53:08 +00:00
Jason Filby
34d1c4a88a Removing old mouse driver
svn path=/trunk/; revision=4283
2003-03-10 19:44:40 +00:00
Richard Campbell
744b947f71 Defined DFC_POPUPMENU
svn path=/trunk/; revision=4282
2003-03-10 06:27:13 +00:00
Jason Filby
b0e9fcf187 Minor button fixes
svn path=/trunk/; revision=4281
2003-03-09 21:49:08 +00:00
Hartmut Birr
f92f7ff968 - Return TRUE on success in DrvAssertMode.
svn path=/trunk/; revision=4280
2003-03-09 21:44:24 +00:00
Hartmut Birr
b98522fd18 - Protected the access to the crtc registers (cursor position) with cli/sti.
svn path=/trunk/; revision=4279
2003-03-09 21:43:37 +00:00
Hartmut Birr
b7c7511503 - Added CsrDuplicateHandle.
svn path=/trunk/; revision=4278
2003-03-09 21:42:47 +00:00
Hartmut Birr
035e6fa830 - Added CsrCreateProcessData.
- Added CsrDuplicateHandle.

svn path=/trunk/; revision=4277
2003-03-09 21:41:35 +00:00
Hartmut Birr
718da6238e - Check for a valid process data pointer in some functions.
svn path=/trunk/; revision=4276
2003-03-09 21:41:00 +00:00
Hartmut Birr
2a8c933a65 - Check for a valid process data pointer in some functions.
- Fixed the length parameter for the title if the console is swapped.
- Fixed some tests in CsrpWriteConsole.
- Fixed some rectangle functions.
- Fixed some offset calculations for accessing the screen buffer.

svn path=/trunk/; revision=4275
2003-03-09 21:40:19 +00:00
Hartmut Birr
8716ed6781 - Fixed the return value in SearchPathW.
svn path=/trunk/; revision=4274
2003-03-09 21:39:17 +00:00
Hartmut Birr
1768a37e66 - Duplicate the error handle in CreateProcessW.
- Fixed the size parameter in calls to SearchPathW.

svn path=/trunk/; revision=4273
2003-03-09 21:38:40 +00:00
Hartmut Birr
59798c6f34 - Improved DuplicateHandle for console handles.
svn path=/trunk/; revision=4272
2003-03-09 21:37:57 +00:00
Hartmut Birr
bb63ba9048 - Implemented DuplicateConsoleHandle.
- Duplicate the error handle in AllocConsole.
- Opening 'CONIN$' for console access in GetConsoleTitleW, SetConsoleTitleW, SetConsoleTitleA.

svn path=/trunk/; revision=4271
2003-03-09 21:37:18 +00:00
Gé van Geldorp
95bceebe67 #include file moved
svn path=/trunk/; revision=4270
2003-03-09 19:34:14 +00:00
Jason Filby
2fb8899caa Refer to new ntddmou.h
svn path=/trunk/; revision=4269
2003-03-09 18:44:59 +00:00
Jason Filby
feda09e7a3 Calculation fix (from Tim Jobling)
svn path=/trunk/; revision=4268
2003-03-09 15:09:23 +00:00
Jason Filby
397c2118fd Calculation fix
svn path=/trunk/; revision=4267
2003-03-09 15:08:33 +00:00
Jason Filby
975ce25154 Improved mouse button handling
svn path=/trunk/; revision=4266
2003-03-09 15:00:51 +00:00
Eric Kohl
098af174b6 Start to fill-in the registry.
svn path=/trunk/; revision=4265
2003-03-08 19:29:09 +00:00
Eric Kohl
a130f0e169 Create binary system hive when usetup is running.
svn path=/trunk/; revision=4264
2003-03-08 19:26:12 +00:00
Gé van Geldorp
6fdd94516b - Fix DC/Bitmap handling
- Fix compiler warnings
- Silence some debug output

svn path=/trunk/; revision=4263
2003-03-08 13:16:52 +00:00
Gé van Geldorp
10283bad30 Remove DCE from linked list on destroy
svn path=/trunk/; revision=4261
2003-03-08 00:46:14 +00:00
Gé van Geldorp
4817869d83 Remove debugging statements
svn path=/trunk/; revision=4260
2003-03-08 00:45:04 +00:00
Richard Campbell
3548ecb7a4 Implemented MoveWindow and SetWindowPos, SetWindowPos is based on WinPosSetWindowPos, so now i need to investigate why it's not working :P.
svn path=/trunk/; revision=4259
2003-03-07 05:38:02 +00:00
Richard Campbell
cba82eeb5e More bug fixes, should behave alot like Windows NT now.
svn path=/trunk/; revision=4258
2003-03-07 04:50:42 +00:00
Gé van Geldorp
f0d0dc3adf Adjust to new position in rosapps build tree
svn path=/trunk/; revision=4257
2003-03-07 00:13:22 +00:00
Gé van Geldorp
ddf2e52b15 Switch back to the command prompt when you press the "X" Close button
svn path=/trunk/; revision=4256
2003-03-06 23:57:03 +00:00
Richard Campbell
18e402c803 *** empty log message ***
svn path=/trunk/; revision=4255
2003-03-06 21:46:19 +00:00
Richard Campbell
e924b6d06c Updated by TortoiseCVS
svn path=/trunk/; revision=4254
2003-03-06 21:45:23 +00:00
Richard Campbell
d2f53a79d8 Added WineMine
svn path=/trunk/; revision=4253
2003-03-06 21:13:17 +00:00
Richard Campbell
c8c6395488 Removed winemine from reactos core module
svn path=/trunk/; revision=4252
2003-03-06 21:10:51 +00:00
Gé van Geldorp
63d294b58a GetClientRect implementation by Tim Jobling
svn path=/trunk/; revision=4251
2003-03-06 21:03:49 +00:00
Richard Campbell
5d28d9704c Temp fix because LoadString isn't working properly.
svn path=/trunk/; revision=4250
2003-03-06 19:33:18 +00:00
Gé van Geldorp
e2ef77ef6c Copied from Wine with some adjustments for our build environment
svn path=/trunk/; revision=4249
2003-03-06 18:44:57 +00:00
Eric Kohl
f7e5711321 Implemented GetProcessAffinityMask() and SetProcessAffinityMask().
svn path=/trunk/; revision=4248
2003-03-06 15:05:29 +00:00
Eric Kohl
916b14c816 Implemented SignalObjectAndWait().
Added some checks for console handles.

svn path=/trunk/; revision=4247
2003-03-06 13:01:15 +00:00
Gé van Geldorp
bceffa7c9b Convert between RGBQUAD and COLORREF when creating a palette for a DIB
svn path=/trunk/; revision=4246
2003-03-06 00:57:44 +00:00
Gé van Geldorp
d339a04507 Silence some debug messages
svn path=/trunk/; revision=4245
2003-03-06 00:56:59 +00:00
Gé van Geldorp
85f75f7691 Conversion between bitfield and indexed no longer hardcoded
svn path=/trunk/; revision=4244
2003-03-06 00:56:40 +00:00
Eric Kohl
cb8b8e6c15 Implemented VerifyConsoleIoHandle().
svn path=/trunk/; revision=4243
2003-03-05 22:51:48 +00:00
Richard Campbell
7f5d1e97f4 Implemented MoveWindow, won't work until SetWindowPos is fixed.
svn path=/trunk/; revision=4242
2003-03-04 22:34:48 +00:00
Eric Kohl
088b5e86e8 Added code to handle 'Ontrack Disk Manager' harddisks. (Untested!)
svn path=/trunk/; revision=4241
2003-03-04 21:58:05 +00:00
Richard Campbell
481eddb6df Minor fix
svn path=/trunk/; revision=4240
2003-03-04 13:19:01 +00:00
Gé van Geldorp
57b8529cb5 Remove some debug #if's
svn path=/trunk/; revision=4239
2003-03-04 10:39:41 +00:00
Gé van Geldorp
31e559fb73 - Add support for 8-bit and 32-bit displays
- Precompute DIB routines
- Fix some compiler warnings

svn path=/trunk/; revision=4238
2003-03-04 10:09:01 +00:00
Richard Campbell
4ea32f911a Added OBM_CLOSE
svn path=/trunk/; revision=4237
2003-03-04 01:23:37 +00:00
Richard Campbell
8d7b189b73 Removed unused resources.
svn path=/trunk/; revision=4236
2003-03-04 01:10:30 +00:00
Richard Campbell
e67fee744a Implemented GetWindowDC()
svn path=/trunk/; revision=4235
2003-03-04 00:40:37 +00:00
Richard Campbell
8abf7a676f Temp fix
svn path=/trunk/; revision=4234
2003-03-03 19:51:31 +00:00
Richard Campbell
c6e059cb67 Added GWL_ID to NtUserGetWindowLong. Not implemented yet. Just there to prevent the debug printfs.
svn path=/trunk/; revision=4233
2003-03-03 18:57:26 +00:00
Gé van Geldorp
1b48f7d941 Get MS 16 color driver to work under Bochs
svn path=/trunk/; revision=4232
2003-03-03 00:17:24 +00:00
Richard Campbell
31ed89a07f Lots of bug fixes
svn path=/trunk/; revision=4231
2003-03-02 16:30:07 +00:00
Gé van Geldorp
0dcf21545b Fixed some compiler warnings
svn path=/trunk/; revision=4230
2003-03-02 12:07:28 +00:00
Gé van Geldorp
1b1e741e1b Fixed several off-by-one errors and some compiler warnings
svn path=/trunk/; revision=4229
2003-03-02 12:04:00 +00:00
Gé van Geldorp
8690cad211 Fix boot problems and make it work under VMware
svn path=/trunk/; revision=4228
2003-03-02 10:53:38 +00:00
Marty Dill
ad0f593f37 Bumped CSRSS_MAX_TITLE_LENGTH up to 80.
svn path=/trunk/; revision=4227
2003-03-02 01:25:45 +00:00
Marty Dill
15f7619166 Minor fixes to CsrGetTitle and Console_Api to get titles working properly.
svn path=/trunk/; revision=4226
2003-03-02 01:24:37 +00:00
Marty Dill
20a78cdf13 Fixed up Get/SetConsoleTitleAW().
svn path=/trunk/; revision=4225
2003-03-02 01:23:19 +00:00
Richard Campbell
cb819643dd Some bug fixes.
svn path=/trunk/; revision=4224
2003-03-01 20:39:16 +00:00
Richard Campbell
2d631fae3f Changed timmons to helmet, but this should be loaded from the registry.
svn path=/trunk/; revision=4223
2003-03-01 09:05:34 +00:00
Richard Campbell
348b71b4a6 Small bug fix
svn path=/trunk/; revision=4222
2003-03-01 09:01:51 +00:00
Richard Campbell
c8274bd166 Now uses DrawFrameControl to draw controls, still MANY bugs but I'm slowly getting there.
svn path=/trunk/; revision=4221
2003-03-01 08:56:34 +00:00
Richard Campbell
424f2d1c24 Fixed DrawFrameControl Somewhat
svn path=/trunk/; revision=4220
2003-03-01 06:05:36 +00:00
Eric Kohl
87364d1ef4 Fixed wrong MBR declaration.
svn path=/trunk/; revision=4219
2003-03-01 00:00:32 +00:00
Richard Campbell
95cee3fcfb Remove OBM_CLOSED
svn path=/trunk/; revision=4218
2003-02-28 23:22:18 +00:00
Richard Campbell
23d3f40462 oops.
svn path=/trunk/; revision=4217
2003-02-28 23:20:41 +00:00
Richard Campbell
107f4e64ce ditto.
svn path=/trunk/; revision=4216
2003-02-28 23:19:32 +00:00
Richard Campbell
93549aa9d8 Removed unused OBM_CLOSED resource. Part of a fix coming soon.
svn path=/trunk/; revision=4215
2003-02-28 23:18:11 +00:00
Richard Campbell
a526796893 Use DrawEdge for drawing windows.
svn path=/trunk/; revision=4214
2003-02-28 22:59:30 +00:00
Gé van Geldorp
343857f12a Replace direct calls to "make" with $(MAKE)
svn path=/trunk/; revision=4213
2003-02-28 22:51:17 +00:00
Eric Kohl
0390d46de9 Fixed [Nt/Zw]QuerySecurityObject() prototype.
svn path=/trunk/; revision=4212
2003-02-27 22:49:06 +00:00
Eric Kohl
4b23fcb6ce Fixed string lengths in calls to ZwSetValueKey() to include terminating zero character.
svn path=/trunk/; revision=4211
2003-02-27 20:32:31 +00:00
Eric Kohl
9a9d96086b Terminate service name string.
svn path=/trunk/; revision=4210
2003-02-27 20:29:55 +00:00
Gé van Geldorp
e024154763 Cleanup
svn path=/trunk/; revision=4209
2003-02-27 16:34:15 +00:00
Gunnar Dalsnes
0acc0f3aa9 Non expired timer wasn't dequeued/canceled before freed
svn path=/trunk/; revision=4208
2003-02-27 15:41:54 +00:00
Gunnar Dalsnes
d295bac408 WaitForMultipleObjectsEx passed WaitAny for WaitAll waits and vice versa
svn path=/trunk/; revision=4207
2003-02-27 15:40:46 +00:00
Gunnar Dalsnes
dd41cf2e27 corrected prototype
svn path=/trunk/; revision=4206
2003-02-27 15:39:10 +00:00
Gunnar Dalsnes
5852f3f492 WaitForMultipleObjects: WaitAll waits were buggy
Many small fixes and cleanups

svn path=/trunk/; revision=4205
2003-02-27 15:38:36 +00:00
Eric Kohl
3013b90260 Fixed compiler warings.
svn path=/trunk/; revision=4204
2003-02-27 14:42:43 +00:00
Eric Kohl
9321cd1e2c Do not expand command lines automatically. This fixes 'objdir \??'.
svn path=/trunk/; revision=4203
2003-02-27 14:40:31 +00:00
Gé van Geldorp
74a0e47a7c Queue GDI callback in CriticalWorkQueue to improve mouse smoothness
under Bochs

svn path=/trunk/; revision=4202
2003-02-26 22:29:28 +00:00
Eric Kohl
dcd495dbe5 Detect disk manager software.
svn path=/trunk/; revision=4201
2003-02-26 16:25:40 +00:00
Eric Kohl
64e0e82479 Fixed some hal dispatch table issues.
Improved HalExamineMBR() to detect disk managers.

svn path=/trunk/; revision=4200
2003-02-26 14:14:47 +00:00
Gé van Geldorp
991196c35e - Move GDI drivers and win32k.sys from system32\drivers to system32
- Load GDI driver from registry key
- Clean up hacks in videoprt (borrowed some code from scsiport)
- Support for MS VGA driver under VMware, doesn't work yet under Bochs

svn path=/trunk/; revision=4199
2003-02-25 23:08:54 +00:00
Eric Kohl
31f87c95ae * Moved symbolic link implementation to the object manager.
* Free target string when the link object is deleted.
* Create a type object for symbolic links.
* Use different security descriptors for protected and unprotected symbolic links.

svn path=/trunk/; revision=4198
2003-02-25 16:50:46 +00:00
Eric Kohl
97049b595e no message
svn path=/trunk/; revision=4197
2003-02-25 16:43:45 +00:00
Eric Kohl
a4dd288c42 Implemented ExIsProcessorFeaturePresent().
svn path=/trunk/; revision=4196
2003-02-25 00:25:07 +00:00
Hartmut Birr
0c1e5baf17 - Improved CloseConsoleHandle.
svn path=/trunk/; revision=4195
2003-02-24 23:24:55 +00:00
Hartmut Birr
471aaa7f5e - Added oppening of console handles (CreateFileW).
svn path=/trunk/; revision=4194
2003-02-24 23:23:32 +00:00
Hartmut Birr
0d292546b8 - Implemented CsrGetInputHandle, CsrGetOutputHandle and CsrCloseHandle.
svn path=/trunk/; revision=4193
2003-02-24 23:20:16 +00:00
Hartmut Birr
3432e6048e - Fixed a dead look in CsrFlushInputBuffer.
svn path=/trunk/; revision=4192
2003-02-24 23:17:32 +00:00
Hartmut Birr
ef47860772 - Fixed a bug within the parameter check.
- Improved speed.

svn path=/trunk/; revision=4191
2003-02-24 23:16:13 +00:00
Hartmut Birr
0b69830fa0 - Removed allocation of nonpaged pool memory for event objects.
- Fixed a dead look while fsd's are loading with the fs recognizer (in IoMountVolume).

svn path=/trunk/; revision=4190
2003-02-24 23:14:05 +00:00
Steven Edwards
b70c013718 Fix by Hartmut Birr
Csrss inserts a '\n' after '\r' in the event queue. This extra event must be removed in
CsrReadInputEvent.

svn path=/trunk/; revision=4189
2003-02-24 21:58:46 +00:00
Jason Filby
e0fbe100b8 New and delete operators
svn path=/trunk/; revision=4188
2003-02-21 21:50:04 +00:00
Robert Dickenson
95cb8daf2a corrected parameter type for towupper.
svn path=/trunk/; revision=4187
2003-02-21 16:32:57 +00:00
Robert Dickenson
7c50d54d90 minor cleanup.
svn path=/trunk/; revision=4186
2003-02-21 16:30:05 +00:00
Robert Dickenson
2375f4f3f4 removed taskmgr from default target list since it requires c++.
svn path=/trunk/; revision=4185
2003-02-21 16:24:35 +00:00
Robert Dickenson
562b3cf13b getting some mods from a while ago sync'd.
svn path=/trunk/; revision=4184
2003-02-21 16:23:11 +00:00
Robert Dickenson
c3ff43d969 minor updates to try and find some debug output from the wine libs.
svn path=/trunk/; revision=4183
2003-02-21 14:47:34 +00:00
Robert Dickenson
9f3fb17e6e minor mod to main header to attempt to fix mingw version problem.
svn path=/trunk/; revision=4182
2003-02-21 14:04:55 +00:00
Robert Dickenson
a3e2ea980a minor update to sync my tree.
svn path=/trunk/; revision=4181
2003-02-20 15:07:37 +00:00
Marty Dill
b556b6e5a6 Richard Campbell's Win9x/NT4/5 window style patch.
svn path=/trunk/; revision=4180
2003-02-19 22:44:57 +00:00
Jason Filby
331ea2e7ba Updated close graphic
svn path=/trunk/; revision=4179
2003-02-19 20:34:31 +00:00
Eric Kohl
8fb7776793 Started implementing a hive check (still disabled).
svn path=/trunk/; revision=4178
2003-02-19 17:24:20 +00:00
Gé van Geldorp
7380b03af6 Don't pass (unused) DeviceHandle into ObCreateObject, that causes the
HandleCount to be unnecessarily incremented.

svn path=/trunk/; revision=4177
2003-02-19 00:05:07 +00:00
Casper Hornstrup
e35969fcc7 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/cc/view.c (CcRosFlushDirtyPages): Treat a write attempt with
	a return value of STATUS_END_OF_FILE as a successful write.
	* ntoskrnl/cc/copy.c (WriteCacheSegment): Ditto.

svn path=/trunk/; revision=4176
2003-02-18 22:06:53 +00:00
Casper Hornstrup
05a7ea2883 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/cm/regfile.c (CmiRemoveSubKey): Kill warnings.
	(CmiMergeFree): Ditto.

svn path=/trunk/; revision=4175
2003-02-18 21:30:08 +00:00
Eric Kohl
d4830ae787 Use a 5-step transaction to update hive and log file.
svn path=/trunk/; revision=4174
2003-02-18 17:02:49 +00:00
Eric Kohl
9728fb6d1c Tiny update, fixes some output annoyances.
svn path=/trunk/; revision=4173
2003-02-18 17:01:10 +00:00
Gé van Geldorp
40160296f7 Implemented VideoPortGetAccessRanges
svn path=/trunk/; revision=4172
2003-02-17 21:24:42 +00:00
Gé van Geldorp
7e66e6636b Implemented HalpAssignPciSlotResources
svn path=/trunk/; revision=4171
2003-02-17 21:24:13 +00:00
Gé van Geldorp
5a0ca2a384 Bring types of memory to allocate (PagedPool etc.) constants inline with
MS DDK for binary compatibility of drivers

svn path=/trunk/; revision=4170
2003-02-17 21:22:49 +00:00
Gé van Geldorp
cef6fb49d1 FreeLdr tries to load "Start"=dword:00000000 entries, remove vmx_svga
service for the moment

svn path=/trunk/; revision=4169
2003-02-17 21:19:16 +00:00
Jason Filby
969ec4afc2 Minor fixes
svn path=/trunk/; revision=4168
2003-02-17 21:03:52 +00:00
Jason Filby
f3ad138b6b Improvements by Royce Mitchell III
svn path=/trunk/; revision=4167
2003-02-17 19:48:27 +00:00
Eric Kohl
acea065ea0 Write log file header, block bitmap and dirty blocks.
svn path=/trunk/; revision=4166
2003-02-17 19:15:41 +00:00
Eric Kohl
32bef2128d Fixed a compiler warning.
svn path=/trunk/; revision=4165
2003-02-17 16:30:17 +00:00
Eric Kohl
d38b07d910 Added errcodes.rc.
svn path=/trunk/; revision=4164
2003-02-17 16:29:11 +00:00
Eric Kohl
9f61985794 Replaced kernel32 heap functions by ntdll heap functions.
svn path=/trunk/; revision=4163
2003-02-17 16:27:31 +00:00
Hartmut Birr
bf6c33299c - Set the last error if SearchPathW fails.
svn path=/trunk/; revision=4162
2003-02-16 18:56:04 +00:00
Hartmut Birr
77e9bdc898 - Added iswspace.
svn path=/trunk/; revision=4161
2003-02-16 18:54:26 +00:00
Hartmut Birr
7644e39b2c - errcodes.rc and msg00409.bin are build by the makefile.
svn path=/trunk/; revision=4160
2003-02-16 18:52:31 +00:00
Hartmut Birr
7aa65c578d - Add a rule to build errcodes.rc.
svn path=/trunk/; revision=4159
2003-02-16 18:47:41 +00:00
Eric Kohl
b4f988014e Changed vidport to videoprt.
svn path=/trunk/; revision=4158
2003-02-16 00:46:37 +00:00
Eric Kohl
491e42c760 Added missing Acl and SD functions from ntdll.
svn path=/trunk/; revision=4157
2003-02-15 22:29:45 +00:00
Eric Kohl
0c2028b391 Added missing Acl and SD functions from ntdll.
svn path=/trunk/; revision=4156
2003-02-15 21:07:49 +00:00
Phillip Susi
da676ec715 Converted a few stray unix linefeeds to dos
svn path=/trunk/; revision=4155
2003-02-15 20:25:03 +00:00
Gé van Geldorp
7ff8369044 Support for VMware video drivers (oops, forgot this one)
svn path=/trunk/; revision=4154
2003-02-15 19:51:27 +00:00
Gé van Geldorp
7f3777d9ad Moved to drivers\dd\videoprt
svn path=/trunk/; revision=4153
2003-02-15 19:25:12 +00:00
Gé van Geldorp
e942503f49 Support for VMware video driver
svn path=/trunk/; revision=4152
2003-02-15 19:21:31 +00:00
Gé van Geldorp
aaa7b9a682 Support for VMware video drivers
svn path=/trunk/; revision=4151
2003-02-15 19:16:34 +00:00
Eric Kohl
d9dc30e0aa * Implemented/fixed NtSetSecurityObject() and NtQuerySecurityObject().
* Updated object security method.
* Added security method for key objects.
* NtDeleteKey() deletes existing values but no subkeys.
* Calculate hive header checksum and increment hive update counters.

svn path=/trunk/; revision=4150
2003-02-15 18:46:28 +00:00
Eric Kohl
e028c60886 Calculate hive header checksum.
Use update counters for hive flushing.
Invalidate more than one block if a cell crosses block boundaries.

svn path=/trunk/; revision=4149
2003-02-14 23:01:06 +00:00
Eric Kohl
e8f191a72e Replaced filesystem list spinlock by an executive resource.
svn path=/trunk/; revision=4148
2003-02-14 22:54:38 +00:00
Eric Kohl
75e27edb71 Fixed declarations.
svn path=/trunk/; revision=4147
2003-02-14 17:52:31 +00:00
Eric Kohl
458223c320 New bins should be flushed properly.
Prepared log file support.

svn path=/trunk/; revision=4146
2003-02-14 17:48:54 +00:00
Hartmut Birr
1c043c1647 - Ntoskrnl uses for all access to internal structures the SectionObjectPointers from file object.
- The bcb field is removed from the REACTOS_COMMON_FCB_HEADER structure.
- FSD's store the pointer to the fcb in FsContext from file object. There is no pointer from ccb to the fcb.

svn path=/trunk/; revision=4145
2003-02-13 22:24:19 +00:00
Eric Kohl
44e85c2846 Implemented merging of free blocks.
svn path=/trunk/; revision=4144
2003-02-13 13:59:57 +00:00
Eric Kohl
493e797fa0 Added hive synchronization to value-related registry functions.
svn path=/trunk/; revision=4143
2003-02-12 19:00:23 +00:00
Eric Kohl
bd0f683f94 Added value delete and enumerate tests.
svn path=/trunk/; revision=4142
2003-02-12 18:56:49 +00:00
Eric Kohl
9895df9741 Implemented IsProcessorFeaturePresent().
svn path=/trunk/; revision=4141
2003-02-12 03:44:20 +00:00
KJK::Hyperion
15d50c5fcd * include/defines.h: defined INVALID_FILE_SIZE
* include/ntos/rtl.h: fixed typo
 * lib/kernel32/file/file.c: fixed GetCompressedFileSizeW
 * lib/kernel32/misc/comm.c: implemented BuildCommDCB and BuildCommDCBAndTimeouts
 * lib/kernel32/misc/handle.c: fixed SetHandleInformation
 * lib/kernel32/misc/time.c: fixed FileTimeToSystemTime
 * lib/kernel32/misc/dllmain.c: shut up a warning
 * lib/kernel32/misc/env.c: ditto
 * lib/kernel32/misc/ldr.c: ditto

svn path=/trunk/; revision=4140
2003-02-12 00:39:31 +00:00
Eric Kohl
c9f5e072dc Added two 'create value' tests.
svn path=/trunk/; revision=4139
2003-02-11 23:47:04 +00:00
Gé van Geldorp
ef9c7cc11f Font facename is stored in LOGFONTW itself (like in LOGFONT)
svn path=/trunk/; revision=4138
2003-02-11 23:35:23 +00:00
Gé van Geldorp
ffb96febaf Match STYPE_* definitions to DDK values
svn path=/trunk/; revision=4137
2003-02-11 00:16:40 +00:00
KJK::Hyperion
d470f18cfb sorry Casper, I have to insist: OSVERSIONINFOEX *derives* from OSVERSIONINFO. It's not just a matter of field names and types, it's a type-checking issue. At least for C++, it has to be inheritance. For C, it's temporarily commented out, until there's a macro to specify if the compiler supports unnamed structure members
svn path=/trunk/; revision=4136
2003-02-10 23:18:41 +00:00
Casper Hornstrup
1e6fba5a39 2003-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/structs.h (OSVERSIONINFOEXA): Expand definition of
	OSVERSIONINFOA.
	(OSVERSIONINFOEXW): Expand definition of OSVERSIONINFOW.
	* lib/msafd/misc/helpers.c (LocateHelperDLL): Cast AddressFamily,
	SocketType, and Protocol to INT.
	* lib/ws2_32/misc/catalog.c (LocateProvider): Ditto.

svn path=/trunk/; revision=4135
2003-02-10 21:29:41 +00:00
Eric Kohl
848ea5c2e0 Use ERESOURCE instead of spinlock to protect the hive list.
Use worker thread to run hive flush routine at dispatch level.
 - Changes by Hartmut Birr!

Delete a key's hash block when the key is deleted.
Update pointers and offsets in a key object when the key cell is deleted.

svn path=/trunk/; revision=4134
2003-02-10 21:24:45 +00:00
Eric Kohl
0430d6bf60 Fixed a typo.
svn path=/trunk/; revision=4133
2003-02-10 21:17:37 +00:00
Eric Kohl
51806a9cd8 Defined HTCLOSE. Patch by Richard Campbell.
svn path=/trunk/; revision=4132
2003-02-10 15:22:23 +00:00
KJK::Hyperion
bc3ba178e3 New utility tickcount: displays the kernel tick count in human readable format. Sample output:
3 days, 11 hours, 13 minutes, 27 seconds and 943 milliseconds

svn path=/trunk/; revision=4131
2003-02-09 21:17:21 +00:00
KJK::Hyperion
38078e6603 Some more fixes to tchar.h
svn path=/trunk/; revision=4130
2003-02-09 21:15:29 +00:00
Eric Kohl
8ce89c167c Simplified key deletion.
Added workaround to prevent BSOD on missing hives.

svn path=/trunk/; revision=4129
2003-02-09 19:55:40 +00:00
Eric Kohl
cc025a380a Disabled unimplemented tests
svn path=/trunk/; revision=4128
2003-02-09 19:11:51 +00:00
Eric Kohl
2c649ff694 Install hivetest.
svn path=/trunk/; revision=4127
2003-02-09 18:28:16 +00:00
Eric Kohl
e1bae36982 Added hivetest (modified regtest).
Replaced direct calls to make by $(MAKE).

svn path=/trunk/; revision=4126
2003-02-09 18:27:29 +00:00
Eric Kohl
4363c6ef6f Added hivetest (modified regtest).
svn path=/trunk/; revision=4125
2003-02-09 18:26:36 +00:00
Hartmut Birr
ee641bec75 Removed the fix for flushing modified cache segments in NtShutdownSystem.
svn path=/trunk/; revision=4124
2003-02-09 18:04:54 +00:00
Hartmut Birr
965149e8db Implemented IRP_MJ_FLUSH_BUFFERS.
Added cache flushing at shutdown.

svn path=/trunk/; revision=4123
2003-02-09 18:02:56 +00:00
Eric Kohl
8a23cc7a5b Added hive flushing.
- Only keys are supported (create / delete).
- No log-file support yet.
- Still a little buggy.

svn path=/trunk/; revision=4122
2003-02-09 11:57:14 +00:00
Nedko Arnaudov
652669005d Uncommented dependency file generating rule.
$(EXE_POSTFIX) use instead of ".exe".

svn path=/trunk/; revision=4121
2003-02-09 02:18:10 +00:00
Nedko Arnaudov
747e565cb0 Reference to web site at geocities removed (site is dropped).
svn path=/trunk/; revision=4120
2003-02-09 02:15:23 +00:00
Nedko Arnaudov
3cf6c316e7 Some minor documentation at last.
svn path=/trunk/; revision=4119
2003-02-09 02:13:27 +00:00
Eric Kohl
541a44a00e Fixed a bug in RtlFindSetBits().
svn path=/trunk/; revision=4118
2003-02-08 20:59:50 +00:00
Eric Kohl
0be3b55ba5 Copy file dates of source file too.
Get default install directory from txtsetup.sif.

svn path=/trunk/; revision=4116
2003-02-08 00:19:32 +00:00
Nedko Arnaudov
3fad983cf2 *** empty log message ***
svn path=/trunk/; revision=4115
2003-02-05 03:18:57 +00:00
KJK::Hyperion
325856dad9 Small fix to tchar.h
svn path=/trunk/; revision=4114
2003-02-04 01:13:26 +00:00
Gé van Geldorp
38535d7610 Fix by Royce3 to make _tolower() and _toupper() behave like their
MS counterparts

svn path=/trunk/; revision=4113
2003-02-03 17:05:19 +00:00
Gé van Geldorp
0f7e47f8bd Fix by Royce3
svn path=/trunk/; revision=4112
2003-02-03 16:59:27 +00:00
Eric Kohl
a9b14e9d16 Implemented CancelIo() and SetThreadIdealProcessor().
svn path=/trunk/; revision=4111
2003-02-03 14:20:24 +00:00
Gé van Geldorp
5bd96088c4 Set page protection for images having section alignment < page size
svn path=/trunk/; revision=4110
2003-02-03 11:52:46 +00:00
Gé van Geldorp
f5f297382d Set lpcbData (data length) correctly
svn path=/trunk/; revision=4109
2003-02-02 22:40:36 +00:00
Gé van Geldorp
45ce03c95f Make starting of SERVICES.EXE dependent on registry key
svn path=/trunk/; revision=4108
2003-02-02 22:38:54 +00:00
KJK::Hyperion
dc2da3fbac Cleaning up victims of stricter warning checking...
svn path=/trunk/; revision=4107
2003-02-02 19:27:17 +00:00
KJK::Hyperion
a9d96a9cfc Finally solved some advapi32 nonsense:
- advapi32 doesn't import any more from itself
 - smarter stubbing (look at the files modified in this commit)

svn path=/trunk/; revision=4106
2003-02-02 19:24:44 +00:00
KJK::Hyperion
2eabc8e38d Various makefile fixes:
- don't link crt0 and msvcrt by default into system DLLs
 - strict warning checking: all warnings displayed, and treated as errors

svn path=/trunk/; revision=4105
2003-02-02 19:24:16 +00:00
KJK::Hyperion
ec3fc77a5f Don't link crt0 and msvcrt into system DLLs
svn path=/trunk/; revision=4104
2003-02-02 17:36:16 +00:00
KJK::Hyperion
29981bcab8 Reimplemented LoadStringA
Implemented LoadStringW

svn path=/trunk/; revision=4103
2003-02-02 17:35:30 +00:00
Eric Kohl
670b6c8678 Fixed compiler warnings.
svn path=/trunk/; revision=4102
2003-02-02 17:21:06 +00:00
Eric Kohl
ffebe8dee1 Implemented QueryPerformanceCounter() and QueryPerformanceFrequency().
svn path=/trunk/; revision=4101
2003-02-02 16:57:49 +00:00
Eric Kohl
74bc05988d Implemented NtQueryPerformanceCounter().
svn path=/trunk/; revision=4100
2003-02-02 16:55:56 +00:00
Hartmut Birr
f979d1b237 Check the length of the gap if this starts at the begin or end of the area in MmFindGap.
svn path=/trunk/; revision=4099
2003-02-02 08:55:51 +00:00
Hartmut Birr
f0fd058aef Fixed a call to ZwFreeVirtualMemory.
svn path=/trunk/; revision=4098
2003-02-02 08:53:32 +00:00
KJK::Hyperion
26c473a88d OSVERSIONINFO and OSVERSIONINFOEX properly declared
Corrected some PEB fields

svn path=/trunk/; revision=4096
2003-02-01 20:00:26 +00:00
KJK::Hyperion
035dcd8224 GetVersion, GetVersionExA and GetVersionExW reimplemented correctly (almost)
svn path=/trunk/; revision=4095
2003-02-01 19:58:17 +00:00
Jason Filby
c2e49604ca ReactOS 0.1.0
svn path=/trunk/; revision=4093
2003-02-01 15:34:35 +00:00
Hartmut Birr
f6e1dcfb06 Fixed a wrong DPRINT.
svn path=/trunk/; revision=4091
2003-01-31 21:49:11 +00:00
Eric Kohl
ef148f5d2b Renamed misleading 'BootBackupSector' to 'FsInfoSector'.
svn path=/trunk/; revision=4089
2003-01-31 15:55:18 +00:00
Brian Palmer
8ae622059e Updated freeldr.ini to work with latest .ini file changes.
svn path=/trunk/; revision=4088
2003-01-31 02:44:32 +00:00
Eric Kohl
6c8aa0f44c Added write cache flushing (untested).
svn path=/trunk/; revision=4087
2003-01-30 22:09:15 +00:00
Hartmut Birr
ec65b164ca Increase the write back count in CcRosFlushDirtyPages
according to the dirty page count from cache manager.

svn path=/trunk/; revision=4086
2003-01-30 18:30:53 +00:00
Hartmut Birr
945450876a Write back dirty pages from cache manager at shutdown.
svn path=/trunk/; revision=4085
2003-01-30 18:28:10 +00:00
Eric Kohl
79baa4d74c Added more install files. Patch by Hartmut Birr.
svn path=/trunk/; revision=4084
2003-01-30 17:38:30 +00:00
Eric Kohl
14f750504e Distinguish between ini-files and inf/sif-files. Patch by Hartmut Birr.
svn path=/trunk/; revision=4083
2003-01-30 17:37:13 +00:00
Eric Kohl
155e4760a8 Added some more files to the boot-cd.
Fixed bug in txtsetup.sif.

svn path=/trunk/; revision=4082
2003-01-30 14:45:51 +00:00
Eric Kohl
6002d83db8 - Added error messages
- Added support for multiple installations

Please wait until the Disk-LED stopps flashing or your installation will be corrupted. :-/

svn path=/trunk/; revision=4081
2003-01-30 14:41:45 +00:00
Hartmut Birr
40e995eed2 -Using DataBuffer and DataTransferLength from DeviceExtension on read/write requests.
-Check if there is a device attached to the ide channel in AtapiFindDevice.

svn path=/trunk/; revision=4080
2003-01-28 17:34:20 +00:00
Hartmut Birr
596dfc3682 -Do not modify the buffer and length field within the srb for read/write retries.
svn path=/trunk/; revision=4079
2003-01-28 17:33:18 +00:00
Eric Kohl
4263b27dfb Added bootsector installation and boot.ini manipulation.
svn path=/trunk/; revision=4078
2003-01-28 17:29:22 +00:00
Hartmut Birr
3c193e4b74 - Check the returned status after calls to NextCluster/OffsetToCluster
to detect a full disk.
- Call NextCluster with the correct parameters (FirstCluster/NextCluster).
- If the size for a file would be reduced, free first the cache segments
  and as second the clusters within the fat.

svn path=/trunk/; revision=4077
2003-01-28 16:48:03 +00:00
Robert Dickenson
9cac22fb79 minor update.
svn path=/trunk/; revision=4076
2003-01-27 15:12:12 +00:00
Robert Dickenson
6c08d81780 backdoor macro fixed.
svn path=/trunk/; revision=4075
2003-01-27 14:49:18 +00:00
Eugene Ingerman
2e3e5c7bd3 Implemented a couple of stubbed functions. Added several pointer checks.
svn path=/trunk/; revision=4074
2003-01-25 23:09:40 +00:00
Eugene Ingerman
6a14e674e4 Minor bug fix.
svn path=/trunk/; revision=4073
2003-01-25 23:06:32 +00:00
Eugene Ingerman
9715d6594d Minor changes to palette code.
svn path=/trunk/; revision=4072
2003-01-25 23:01:24 +00:00
Eugene Ingerman
d4e882e816 Fixed save/restore screen area bug. This bug showed up as a black rectangle on the vertical scrollbar in winhello test.
svn path=/trunk/; revision=4071
2003-01-25 22:53:12 +00:00
Hartmut Birr
4bf9e37598 -Added some file locking improvements.
svn path=/trunk/; revision=4070
2003-01-25 18:53:27 +00:00
Hartmut Birr
eb70f5ed97 - Reverted my latest changes to fix the handling of errors/retries.
- Set the correct data buffer on retries.

svn path=/trunk/; revision=4069
2003-01-25 16:19:06 +00:00
Hartmut Birr
1c7ac901e2 -IoCallDriver didn't set DeviceObject member in next stack location.
-IofCompleteRequest: fixed broken completion routine handling
(Thanks to Gunnar Andr� Dalsnes)

svn path=/trunk/; revision=4068
2003-01-25 16:16:54 +00:00
Hartmut Birr
5d6425550e -IoCancelIrp fixed/improved (Thanks to Gunnar Andr� Dalsnes).
svn path=/trunk/; revision=4067
2003-01-25 16:15:33 +00:00
Hartmut Birr
8b9d426c26 -Added some irp stack macros (IoSetPreviousIrpStackLocation, IoGetPreviousIrpStackLocation, IoRetardIrpStackLocation). (Thanks to Gunnar Andr� Dalsnes)
svn path=/trunk/; revision=4066
2003-01-25 16:01:49 +00:00
Hartmut Birr
4b68ac00e4 -Implemented vfat file locking. (Thanks to Gunnar Andr� Dalsnes)
svn path=/trunk/; revision=4065
2003-01-25 15:55:08 +00:00
Hartmut Birr
ca34b94db6 -Added some file locking improvements. (Thanks to Gunnar Andr� Dalsnes)
svn path=/trunk/; revision=4064
2003-01-25 15:52:43 +00:00
Hartmut Birr
1fb967f911 -Added file locking test application. (Thanks to Gunnar Andr� Dalsnes)
svn path=/trunk/; revision=4063
2003-01-25 15:46:52 +00:00
Eugene Ingerman
2f26431f71 Fixed: locking GDI objects twice when running wm_paint test.
svn path=/trunk/; revision=4062
2003-01-24 23:25:34 +00:00
Jason Filby
4b0f9d9631 Scrollbar improvements
svn path=/trunk/; revision=4061
2003-01-24 22:42:15 +00:00
Steven Edwards
d3190c9220 Turned off SEH in test
svn path=/trunk/; revision=4060
2003-01-24 19:48:13 +00:00
Steven Edwards
8dc97ce4a4 Added WM_PAINT test from the Windows2000 graphics API blackbook,
used with permission of author under public domain license.

svn path=/trunk/; revision=4059
2003-01-24 19:45:57 +00:00
Eric Kohl
d51c4061d7 Fixed size of BootBackup in the FAT32 bootsector.
svn path=/trunk/; revision=4058
2003-01-24 13:42:43 +00:00
Eric Kohl
1ce736a133 Changes in v1.8.2 (1/24/2003) (ekohl)
- Relaxed check for Int13-Extension support.
  Some BIOSes have a strange opinion about what is supported. :-/

svn path=/trunk/; revision=4057
2003-01-24 11:25:56 +00:00
Eugene Ingerman
9a5403580f Fixed a shameful bug. Color translation should work now.
svn path=/trunk/; revision=4056
2003-01-24 09:11:03 +00:00
Gé van Geldorp
fe5caa6437 Retrieve startup shell from registry
svn path=/trunk/; revision=4055
2003-01-23 00:16:47 +00:00
Gé van Geldorp
cd5b2167bd Make cmd.exe usable as startup shell
svn path=/trunk/; revision=4054
2003-01-23 00:15:10 +00:00
Steven Edwards
24ed00435b Added more stubbs for bochs
svn path=/trunk/; revision=4053
2003-01-22 17:52:14 +00:00
Eric Kohl
834dbc5fd5 Fixed some warnings.
Added missing stubs.
Implemented GetThreadPriotityBoost() and SetThreadPriorityBoost().

svn path=/trunk/; revision=4052
2003-01-22 02:24:36 +00:00
Robert Dickenson
1eac255e7c Changed define _OLE2NLS_IN_BUILD_ to reactivate various stubs including GetACP.
svn path=/trunk/; revision=4050
2003-01-21 20:50:51 +00:00
Gé van Geldorp
382a976b49 Use fclose() on FILE* object
svn path=/trunk/; revision=4049
2003-01-21 17:56:10 +00:00
Eric Kohl
e1cf009871 Changes in v1.8.1 (1/20/2003) (ekohl)
- Fixed the ISO filesystem detection code.
- Removed IsSetupLdr.

svn path=/trunk/; revision=4047
2003-01-20 18:39:53 +00:00
Eric Kohl
3960f23e28 Copy second sector of the fat32 bootsector instead of the fat(12/16) bootsector.
Fixed several compiler warnings.

svn path=/trunk/; revision=4046
2003-01-19 17:01:38 +00:00
Hartmut Birr
ac0965daf7 Added special handling for shift value 32.
svn path=/trunk/; revision=4045
2003-01-19 01:49:10 +00:00
Hartmut Birr
25f4f4f91c Attache the process if we are running in the context of an other process (in KdbFreeSymbols).
svn path=/trunk/; revision=4044
2003-01-19 01:46:33 +00:00
Gé van Geldorp
14fc3556c8 Silence some debug messages
svn path=/trunk/; revision=4043
2003-01-19 01:13:04 +00:00
Eugene Ingerman
15128f6053 Removed debug output.
svn path=/trunk/; revision=4042
2003-01-19 01:07:46 +00:00
Gé van Geldorp
31036dbb90 Honour FILE_OVERWRITE and FILE_OVERWRITE_IF (truncate existing file)
svn path=/trunk/; revision=4041
2003-01-19 01:06:45 +00:00
Gé van Geldorp
96fdaea58f Fix truncation to 0 bytes
svn path=/trunk/; revision=4040
2003-01-19 01:06:09 +00:00
Gé van Geldorp
10d48ac01e Handle textmode translation where CR is at the end of a request and the LF is
at the beginning of the next request

svn path=/trunk/; revision=4039
2003-01-19 01:05:03 +00:00
Brian Palmer
59f1842f56 Changes in v1.8 (1/18/2003) (brianp)
- Added F8 options menu
- Added custom Boot functionality
- Moved all OS= settings from [FreeLoader] section to [Operating Systems] section.
- Removed MessageLine= setting. MessageBox= now accepts "\n" as an escape character for newlines.
- Added descriptions for disk error codes returned by the BIOS.
- Device names like "fd0" and "hd0" and "hd1" as well as BIOS drive numbers can now be used as BootDrive= settings.

svn path=/trunk/; revision=4038
2003-01-19 01:04:01 +00:00
Eugene Ingerman
a26dfde014 Made GDI object locking exclusive. Added functions for locking multiple objects. Added comments.
svn path=/trunk/; revision=4037
2003-01-19 01:01:21 +00:00
Eugene Ingerman
898f490858 Some cleanup.
svn path=/trunk/; revision=4036
2003-01-19 01:01:00 +00:00
Eugene Ingerman
58c9054f3f Made GDI object locking exclusive. Added functions for locking multiple objects.
svn path=/trunk/; revision=4035
2003-01-18 20:53:57 +00:00
Eugene Ingerman
736ff1ac84 Fixed functions where GDI objects were locked but not released.
svn path=/trunk/; revision=4034
2003-01-18 20:47:32 +00:00
Eugene Ingerman
b8049283dc Don't compute absolute values after squaring.
svn path=/trunk/; revision=4033
2003-01-18 20:44:34 +00:00
Rex Jolliff
3b71d9191e a test
svn path=/trunk/; revision=4032
2003-01-18 20:26:20 +00:00
Robert Dickenson
d55087f86e Hope I fixed the broken issue.
svn path=/trunk/; revision=4031
2003-01-18 15:55:07 +00:00
Brian Palmer
4fb2283421 Changes in v1.8 (1/18/2003) (brianp)
- Added F8 options menu
- Added custom Boot functionality
- Moved all OS= settings from [FreeLoader] section to [Operating Systems] section.
- Removed MessageLine= setting. MessageBox= now accepts "\n" as an escape character for newlines.
- Added descriptions for disk error codes returned by the BIOS.
- Device names like "fd0" and "hd0" and "hd1" as well as BIOS drive numbers can now be used as BootDrive= settings.

svn path=/trunk/; revision=4030
2003-01-18 10:21:23 +00:00
Marty Dill
47333299bc Fixed a few memory leaks. Minor cleanup.
svn path=/trunk/; revision=4029
2003-01-18 00:10:59 +00:00
guido
586bc4dd7c ignore rtouch
svn path=/trunk/; revision=4028
2003-01-18 00:10:36 +00:00
Eric Kohl
52aba34f15 Dump some file attributes (file name, volume name, etc.)
Fixed infinite loop in a 'dir' command.

svn path=/trunk/; revision=4027
2003-01-17 19:57:31 +00:00
guido
3adeec8d80 fix compiler warning
svn path=/trunk/; revision=4026
2003-01-17 19:26:14 +00:00
guido
d0d1b840ca make it compile on linux too
svn path=/trunk/; revision=4025
2003-01-17 19:06:15 +00:00
Eric Kohl
e5057ddea7 Dump some file attributes (file name, volume name, etc.)
Fixed infinite loop in a 'dir' command.

svn path=/trunk/; revision=4024
2003-01-17 18:51:13 +00:00
Gé van Geldorp
08a01c4da8 Correctly expand wildcards in other directories
svn path=/trunk/; revision=4023
2003-01-17 18:04:08 +00:00
Eric Kohl
5dc512f7c3 Prepared bootloader installation.
svn path=/trunk/; revision=4022
2003-01-17 13:18:15 +00:00
Eric Kohl
fec5d8fcaf Removed unnecessary includes.
svn path=/trunk/; revision=4021
2003-01-17 13:09:43 +00:00
Eric Kohl
4e7b1eb14b ntddndis.h must include OID definitions.
svn path=/trunk/; revision=4020
2003-01-17 13:04:55 +00:00
Eric Kohl
0349fbade9 Fixed a few STDCALL issues and other warnings.
svn path=/trunk/; revision=4019
2003-01-17 13:03:16 +00:00
Gé van Geldorp
3ade7829d0 * Move (optional) wildcard expansion to split()
* Only expand arguments actually containing wildcard characters
  (to prevent expanding directory names to all files within that directory)

svn path=/trunk/; revision=4018
2003-01-17 00:31:33 +00:00
Gé van Geldorp
1bfce04639 When an empty filename is passed in directory search, find all (*) entries, not
the current directory (.)

svn path=/trunk/; revision=4017
2003-01-16 22:02:24 +00:00
Jason Filby
bf924ece94 New SystemState enumeration
svn path=/trunk/; revision=4016
2003-01-16 20:05:34 +00:00
Casper Hornstrup
50e4ffb8e8 2003-01-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/dbg/profile.c (KdbProfilerThreadMain): Make STDCALL.

svn path=/trunk/; revision=4015
2003-01-16 19:51:20 +00:00
Eric Kohl
96d8f03765 Removed outdated and duplicate bugcode definition.
svn path=/trunk/; revision=4014
2003-01-16 17:56:00 +00:00
Eric Kohl
308b132b5d Added UDF filesystem recognizer (still incomplete).
Fixed several memory leaks.

svn path=/trunk/; revision=4013
2003-01-16 11:58:15 +00:00
guido
191a1899fc ignore *.d
svn path=/trunk/; revision=4012
2003-01-15 23:42:11 +00:00
Casper Hornstrup
36aa98343d 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/tcpip/makefile (TCP_OBJECTS): Add transport/tcp/tcpcore.o,
	transport/tcp/tcp_input.o, transport/tcp/tcp_ipv4.o,
	transport/tcp/tcp_output.o, and transport/tcp/tcp_timer.o.
	* drivers/net/tcpip/transport/tcp/tcp.c (TCPStartup): Call tcp_init().
	* drivers/net/tcpip/include/linux.h: New file.
	* drivers/net/tcpip/include/tcpcore.h: Ditto.
	* drivers/net/tcpip/include/tcpdef.h: Ditto.
	* drivers/net/tcpip/transport/tcp/tcp_input.c: Ditto.
	* drivers/net/tcpip/transport/tcp/tcp_ipv4.c: Ditto.
	* drivers/net/tcpip/transport/tcp/tcp_output.c: Ditto.
	* drivers/net/tcpip/transport/tcp/tcp_timer.c: Ditto.
	* drivers/net/tcpip/transport/tcp/tcpcore.c: Ditto.

svn path=/trunk/; revision=4011
2003-01-15 21:57:31 +00:00
Casper Hornstrup
fd6f0e5b04 *** empty log message ***
svn path=/trunk/; revision=4010
2003-01-15 21:25:29 +00:00
Casper Hornstrup
910f281f6e 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/kernel32/k32.h: New file.
	* lib/kernel32/makefile (TARGET_CFLAGS): Add -I./.
	(TARGET_PCH): Set to k32.h.
	* lib/kernel32/except/except.c: Use <k32.h>.
	* lib/kernel32/file/backup.c: Ditto.
	* lib/kernel32/file/cnotify.c: Ditto.
	* lib/kernel32/file/copy.c: Ditto.
	* lib/kernel32/file/create.c: Ditto.
	* lib/kernel32/file/curdir.c: Ditto.
	* lib/kernel32/file/delete.c: Ditto.
	* lib/kernel32/file/deviceio.c: Ditto.
	* lib/kernel32/file/dir.c: Ditto.
	* lib/kernel32/file/dosdev.c: Ditto.
	* lib/kernel32/file/file.c: Ditto.
	* lib/kernel32/file/find.c: Ditto.
	* lib/kernel32/file/iocompl.c: Ditto.
	* lib/kernel32/file/lfile.c: Ditto.
	* lib/kernel32/file/lock.c: Ditto.
	* lib/kernel32/file/mailslot.c: Ditto.
	* lib/kernel32/file/move.c: Ditto.
	* lib/kernel32/file/npipe.c: Ditto.
	* lib/kernel32/file/pipe.c: Ditto.
	* lib/kernel32/file/rw.c: Ditto.
	* lib/kernel32/file/tape.c: Ditto.
	* lib/kernel32/file/volume.c: Ditto.
	* lib/kernel32/mem/global.c: Ditto.
	* lib/kernel32/mem/heap.c: Ditto.
	* lib/kernel32/mem/isbad.c: Ditto.
	* lib/kernel32/mem/local.c: Ditto.
	* lib/kernel32/mem/procmem.c: Ditto.
	* lib/kernel32/mem/section.c: Ditto.
	* lib/kernel32/mem/virtual.c: Ditto.
	* lib/kernel32/misc/atom.c: Ditto.
	* lib/kernel32/misc/comm.c: Ditto.
	* lib/kernel32/misc/console.c: Ditto.
	* lib/kernel32/misc/debug.c: Ditto.
	* lib/kernel32/misc/dllmain.c: Ditto.
	* lib/kernel32/misc/env.c: Ditto.
	* lib/kernel32/misc/error.c: Ditto.
	* lib/kernel32/misc/handle.c: Ditto.
	* lib/kernel32/misc/ldr.c: Ditto.
	* lib/kernel32/misc/profile.c: Ditto.
	* lib/kernel32/misc/res.c: Ditto.
	* lib/kernel32/misc/stubs.c: Ditto.
	* lib/kernel32/misc/sysinfo.c: Ditto.
	* lib/kernel32/misc/time.c: Ditto.
	* lib/kernel32/process/cmdline.c: Ditto.
	* lib/kernel32/process/create.c: Ditto.
	* lib/kernel32/process/proc.c: Ditto.
	* lib/kernel32/process/session.c: Ditto.
	* lib/kernel32/string/lstring.c: Ditto.
	* lib/kernel32/synch/critical.c: Ditto.
	* lib/kernel32/synch/event.c: Ditto.
	* lib/kernel32/synch/intrlck.c: Ditto.
	* lib/kernel32/synch/mutex.c: Ditto.
	* lib/kernel32/synch/sem.c: Ditto.
	* lib/kernel32/synch/timer.c: Ditto.
	* lib/kernel32/synch/wait.c: Ditto.
	* lib/kernel32/thread/fiber.c: Ditto.
	* lib/kernel32/thread/thread.c: Ditto.
	* lib/kernel32/thread/tls.c: Ditto.

svn path=/trunk/; revision=4009
2003-01-15 21:24:36 +00:00
Casper Hornstrup
76b1705795 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/testsets/Makefile (TEST_SETS): Remove ldr.
	* include/msvcrt/ctype.h (towupper): Make returntype wchar_t.

svn path=/trunk/; revision=4008
2003-01-15 21:07:18 +00:00
Casper Hornstrup
1c52b61e7d 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/rtouch.c: Include <sys/utime.h>, not <utime.h>.

svn path=/trunk/; revision=4007
2003-01-15 20:32:35 +00:00
Casper Hornstrup
f63e1913da 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/rtouch.c: New file.
	* rules.mak (ROS_USE_PCH): Default to no.
	(RTOUCH): Define.
	* tools/Makefile: Add rtouch utility.
	* tools/helper.mk: Support precompiled headers.

svn path=/trunk/; revision=4006
2003-01-15 20:18:12 +00:00
Robert Dickenson
8b09e17d3f Required for some wine libs and now rosapps to build with ros includes in preference to mingw's
svn path=/trunk/; revision=4005
2003-01-15 20:17:50 +00:00
Robert Dickenson
b2a576cd5f Pulling in wstring support functions from wine, need to either bring in wctype_table or access the kernel32 nls files??? TODO:
svn path=/trunk/; revision=4004
2003-01-15 20:12:27 +00:00
Robert Dickenson
9ebba084e6 Split out separate makefiles for apps/tests apps/testsets & apps/utils.
svn path=/trunk/; revision=4003
2003-01-15 20:09:52 +00:00
Robert Dickenson
e6a193806c Mainly standardisation of makefiles. Added some exports to core libs for wine dependancies.
svn path=/trunk/; revision=4002
2003-01-15 20:05:53 +00:00
Casper Hornstrup
eb3b9049a9 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/dbg/profile.c: New file.
	* ntoskrnl/Makefile (OBJECTS_KDBG): Add dbg/profile.o.
	* ntoskrnl/dbg/kdb.h: Define NTOS_MODE_KERNEL. Include <ntos.h>.
	(LdrGetAddressInformation, KdbInitProfiling, KdbInitProfiling2,
	KdbDisableProfiling, KdbEnableProfiling, KdbProfileInterrupt) Prototype.
	* ntoskrnl/kd/kdebug.c (KdInitSystem): Add /PROFILE option if KDBG=1.
	* ntoskrnl/ke/main.c (ExpInitializeExecutive): Call KdbInitProfiling2()
	if KDBG=1.
	* ntoskrnl/ke/i386/irq.c: Include <../dbg/kdb.h> if KDBG=1.
	(KiInterruptDispatch): Call KdbProfileInterrupt() on timer interrupt
	if KDBG=1.

svn path=/trunk/; revision=4001
2003-01-15 19:58:07 +00:00
Robert Dickenson
92dec86909 Mainly standardisation of makefiles, now support make install rules and use ros headers...
svn path=/trunk/; revision=4000
2003-01-15 19:55:29 +00:00
Casper Hornstrup
f811f37004 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/fs/vfat/create.c (VfatSupersedeFile): Only notify cache manager
	about change in file size if caching is initiated on the file stream.

svn path=/trunk/; revision=3999
2003-01-15 19:53:49 +00:00
Hartmut Birr
594558c6e2 Fixed the corrupted screen after a console switching with ALT+TAB.
svn path=/trunk/; revision=3998
2003-01-15 00:36:10 +00:00
Gé van Geldorp
97bb8934e2 Include error code in diagnostic and exit on error
svn path=/trunk/; revision=3997
2003-01-15 00:17:12 +00:00
guido
0319671dea just fixed a few warnings
svn path=/trunk/; revision=3996
2003-01-14 18:51:12 +00:00
Hartmut Birr
6f63730de8 Fixed low memory mapping.
svn path=/trunk/; revision=3995
2003-01-13 01:11:12 +00:00
Hartmut Birr
2cc8694271 Fixed UINT8/PUINT8.
svn path=/trunk/; revision=3994
2003-01-13 00:50:37 +00:00
Robert Dickenson
e9ba047848 path to root correction.
svn path=/trunk/; revision=3993
2003-01-12 02:03:06 +00:00
Robert Dickenson
87c1e63ebe Added new targets.
svn path=/trunk/; revision=3992
2003-01-12 02:02:17 +00:00
Robert Dickenson
329c896e1f Updates to the VDM support. Improvemnts to the new wine-debug-channels supprt.
svn path=/trunk/; revision=3991
2003-01-12 01:54:40 +00:00
Gé van Geldorp
1028fc6755 getc must return unsigned chars, cast to int
svn path=/trunk/; revision=3990
2003-01-11 22:40:24 +00:00
Casper Hornstrup
a437c36e7f 2003-01-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* boot.bat: Use DOS end-of-line characters.

svn path=/trunk/; revision=3989
2003-01-11 17:30:34 +00:00
Hartmut Birr
6dac0c12b1 Reduced the size of the copy buffer.
svn path=/trunk/; revision=3988
2003-01-11 16:03:55 +00:00
Hartmut Birr
99a3325875 Removed FCB_UPDATE_ENTRY.
svn path=/trunk/; revision=3987
2003-01-11 16:02:29 +00:00
Hartmut Birr
0f02fa7c0d Call VfatUpdateEntry on each write operation.
svn path=/trunk/; revision=3986
2003-01-11 16:01:28 +00:00
Hartmut Birr
3ce30c75e1 Inform/query the cache/memory manager if a file would be deleted.
svn path=/trunk/; revision=3985
2003-01-11 16:00:16 +00:00
Hartmut Birr
3e3f697064 Store a pointer to the parent in the fcb structure and
reference/dereference the parent fcb on create/destroy.

svn path=/trunk/; revision=3984
2003-01-11 15:59:07 +00:00
Hartmut Birr
a2aa04440b Reduced some overhead in VfatUpdateEntry.
svn path=/trunk/; revision=3983
2003-01-11 15:57:55 +00:00
Hartmut Birr
7a16a8cbe7 Removed the call to VfatUpdateEntry.
Executed VfatClose always synchronous.

svn path=/trunk/; revision=3982
2003-01-11 15:56:43 +00:00
Hartmut Birr
189d9d92c3 Removed the call to VfatUpdateEntry.
svn path=/trunk/; revision=3981
2003-01-11 15:52:54 +00:00
Hartmut Birr
543fd98805 Used a hash table for storing/searching of process data pointers.
Unmap the connected view in CsrFreeProcessData.
Set the correct reply status in CsrCreateProcess.

svn path=/trunk/; revision=3980
2003-01-11 15:51:48 +00:00
Hartmut Birr
dfbf98b1b0 Fixed the check for the correct count of pagefiles.
svn path=/trunk/; revision=3979
2003-01-11 15:49:33 +00:00
Hartmut Birr
aa18c0d5d4 Ended the searching for a free block if it was found one.
svn path=/trunk/; revision=3978
2003-01-11 15:48:33 +00:00
Hartmut Birr
779329a8ee Disabled the call to MmWriteDirtyPages. MmWriteDirtyPages doesn't work correctly.
svn path=/trunk/; revision=3977
2003-01-11 15:47:14 +00:00
Hartmut Birr
9a1546a675 Signaled the event of pageop at return if the function have previous wait at this event.
svn path=/trunk/; revision=3976
2003-01-11 15:45:55 +00:00
Hartmut Birr
680b25b598 Did not dereference the connected port if the function returns success.
svn path=/trunk/; revision=3975
2003-01-11 15:33:49 +00:00
Hartmut Birr
b99cb5b1aa Fixed a comment.
svn path=/trunk/; revision=3974
2003-01-11 15:32:40 +00:00
Hartmut Birr
be6d0d37cd Signaled the event of pageop at return if the function have previous wait at this event.
Freed the section segments for a pagefile mapping in MmpDeleteSection.
Dereferenced the section object at the end of MmCreatePageFileSection.
Implemented MmFlushImageSection (not complete).

svn path=/trunk/; revision=3973
2003-01-11 15:31:05 +00:00
Hartmut Birr
14c1929fc2 Used lookasidelists for rmap's.
svn path=/trunk/; revision=3972
2003-01-11 15:28:18 +00:00
Hartmut Birr
ac22af2d68 Used lookasidelists for pageop's.
svn path=/trunk/; revision=3971
2003-01-11 15:26:59 +00:00
Hartmut Birr
e177cc849d Used lookasidelists for some memory allocations.
Implemented a delayed remove/close function for file objects.
This holds files for section views (exe's and dll's) longer
within the cache.

svn path=/trunk/; revision=3970
2003-01-11 15:24:38 +00:00
Hartmut Birr
7a00c6be46 Used lookasidelists for ibcb's.
Enabled caching of directories and fat segments.

svn path=/trunk/; revision=3969
2003-01-11 15:22:31 +00:00
Hartmut Birr
a0e6246535 Moved all definitions for internal structures and functions to cc.h.
svn path=/trunk/; revision=3968
2003-01-11 15:21:09 +00:00
Gé van Geldorp
ec67f794e9 Temporary fix to allow build to continue(generated file, shouldn't be in CVS)
svn path=/trunk/; revision=3967
2003-01-10 20:02:50 +00:00
Robert Dickenson
f821d1d7cc Changes to included libraries in build.
svn path=/trunk/; revision=3966
2003-01-08 19:56:26 +00:00
Robert Dickenson
d606d9479f New name for packet capture library network driver, packet driver to be deprecated.
svn path=/trunk/; revision=3965
2003-01-08 19:55:02 +00:00
Robert Dickenson
cfc75012b1 New library to export the wine debug channel support functions.
svn path=/trunk/; revision=3964
2003-01-08 19:52:22 +00:00
Robert Dickenson
f81a1de259 Moved wine debug channel exports to new library.
svn path=/trunk/; revision=3963
2003-01-08 19:50:39 +00:00
Robert Dickenson
1af5429d2b And that wraps up our broadcast for this evening.
svn path=/trunk/; revision=3961
2003-01-07 18:22:54 +00:00
Robert Dickenson
9c58563e7b Updates to accomodate changes and additions with the various sub-modules.
svn path=/trunk/; revision=3960
2003-01-07 18:20:34 +00:00
Robert Dickenson
158847adad temporarily removed regexpl due to C++ dependance problems.
svn path=/trunk/; revision=3959
2003-01-07 18:16:44 +00:00
Robert Dickenson
34f1644a51 Updated and removed temporarily regexpl due to C++ problems.
svn path=/trunk/; revision=3958
2003-01-07 18:14:30 +00:00
Robert Dickenson
b30bc31e1f CVS housekeeping.
svn path=/trunk/; revision=3957
2003-01-07 18:10:30 +00:00
Robert Dickenson
299dc7ee24 Added clipboard and common dialog references as well as build improvements.
svn path=/trunk/; revision=3956
2003-01-07 18:06:16 +00:00
Robert Dickenson
d73cc06799 Temporary fork of candidate base of potententially very useful development tool for ros.
svn path=/trunk/; revision=3955
2003-01-07 17:59:20 +00:00
Robert Dickenson
b8573aace5 Added _alldiv,_allmul,_allrem,_allshl,_allshr,_aulldiv,_aullrem,_aullshr stubs and exported them.
svn path=/trunk/; revision=3954
2003-01-07 17:48:12 +00:00
Robert Dickenson
5def2455d3 Added rules for building 'proglib' targets since nothing seemed to use this target already and it didn't work for csrss otherwise.
svn path=/trunk/; revision=3953
2003-01-07 17:39:58 +00:00
Robert Dickenson
839ce7a195 Changed from target type 'program' to 'proglib' and exported CsrServerInitialization for OS/2 subsystem linkage.
svn path=/trunk/; revision=3952
2003-01-07 17:37:22 +00:00
Robert Dickenson
2f4bd108e7 Turned back off and modified some other debug noise.
svn path=/trunk/; revision=3951
2003-01-07 17:35:56 +00:00
Robert Dickenson
b4ed26f8da Added some some missing exports for wine module linkage.
Shutdown was a mess from *nix newlines.

svn path=/trunk/; revision=3950
2003-01-07 17:32:59 +00:00
Robert Dickenson
ae2157bade Added some some missing exports for wine module linkage.
svn path=/trunk/; revision=3949
2003-01-07 17:30:33 +00:00
Robert Dickenson
0ffa768455 Added support for lauching VDM on dos image load.
Depends phase in makefile for processing with wmc.
Included message table resources section.
Added some some missing exports for wine module linkage.

svn path=/trunk/; revision=3948
2003-01-07 17:29:09 +00:00
Robert Dickenson
3f13766f16 added install batch similar to that provided in /reactos. Removed deprecated Makefile.
svn path=/trunk/; revision=3947
2003-01-07 16:24:45 +00:00
Robert Dickenson
a6d6844e8a Performed housekeeping to get the subsystem building. Introduced ros makefile 'standards' throughout.
Is anybody doing any work on the OS/2 support?

svn path=/trunk/; revision=3946
2003-01-07 16:23:12 +00:00
Robert Dickenson
a8e38f8c30 housekeeping files...
svn path=/trunk/; revision=3945
2003-01-05 19:32:32 +00:00
Robert Dickenson
8efeab6149 Include a define for a Macro having being defined, temporary fix to avoid conflict with posix+ headers.
svn path=/trunk/; revision=3944
2003-01-05 19:23:20 +00:00
Robert Dickenson
176e744766 Trivial update to trace message plus the usual housekeeping...
svn path=/trunk/; revision=3943
2003-01-05 19:18:44 +00:00
Robert Dickenson
add8773a9b Added a new phase to the build cycle, make depends, in order to get certain dependancies built first.
This includes but is not limited to global error code headers generated from message scripts via wmc.

svn path=/trunk/; revision=3942
2003-01-05 19:17:16 +00:00
Robert Dickenson
9b802163c5 Updated global ReactOS makefile to incorporate new wine and posix etc sub-targets with the defacto standard make style.
svn path=/trunk/; revision=3941
2003-01-05 19:15:10 +00:00
Robert Dickenson
3028effd84 doing some maintenance on the posix build system, getting in sync with reactos base.
svn path=/trunk/; revision=3940
2003-01-05 18:29:41 +00:00
Robert Dickenson
0ab5c4ecee doing some maintenance on the posix build system, getting in sync with reactos base.
svn path=/trunk/; revision=3939
2003-01-05 18:10:27 +00:00
Robert Dickenson
bc87211c3f housekeeping files...
svn path=/trunk/; revision=3938
2003-01-05 17:54:20 +00:00
Robert Dickenson
d110568a5c created stubs for the rest of the functions listed in mingw's tlhelp.h and exported them.
svn path=/trunk/; revision=3937
2003-01-05 14:32:32 +00:00
Robert Dickenson
c374e4ed3e Created test program for loading libraries in various ways.
svn path=/trunk/; revision=3936
2003-01-05 14:17:42 +00:00
Robert Dickenson
b9113d3fae Moved the beginnings of some toolhelp exports to their own module.
svn path=/trunk/; revision=3935
2003-01-05 10:07:08 +00:00
Robert Dickenson
661896dfde ps did not require a lot from C++, so now it doesn't require it at all.
svn path=/trunk/; revision=3934
2003-01-04 18:36:28 +00:00
Robert Dickenson
7a48c7fcf2 exported stubs for Process32First, Process32Next and CreateToolhelp32Snapshot created.
svn path=/trunk/; revision=3933
2003-01-04 18:33:18 +00:00
Robert Dickenson
7c22eaa402 reference to mingw's libth32.a added so the thing compiles *and* links.
svn path=/trunk/; revision=3932
2003-01-04 17:45:49 +00:00
Emanuele Aliberti
14759bdf75 Copyright years updated to 2003.
svn path=/trunk/; revision=3931
2003-01-04 15:24:12 +00:00
Emanuele Aliberti
3d07c7ba00 Eugene Ingerman, Guido de Jong, Jurgen van Gael, Marty Dill, and Ge van Geldorp added to the list of ROS coders.
svn path=/trunk/; revision=3930
2003-01-04 15:21:18 +00:00
Hartmut Birr
267074bb2e Fixed handling of large FAT32 partitions.
svn path=/trunk/; revision=3928
2003-01-04 02:07:18 +00:00
Gé van Geldorp
0a4d96cc81 Handle FAT32 partitions larger than 4GB
svn path=/trunk/; revision=3927
2003-01-03 23:58:31 +00:00
guido
85c1893693 fix some warnings
----------------------------------------------------------------------

svn path=/trunk/; revision=3926
2003-01-03 00:28:07 +00:00
Casper Hornstrup
31fe11951c 2003-01-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/ke/timer.c (KeExpireTimers): Avoid signed/unsigned comparison
	warning.
	* lib/user32/controls/scrollbar.c (SCROLL_DrawScrollBar): Put a statement
	at end.

svn path=/trunk/; revision=3925
2003-01-02 23:37:28 +00:00
Hartmut Birr
a39bff34c3 Set the hidden sector value from boot sector with the correct partition offset.
svn path=/trunk/; revision=3924
2003-01-02 21:43:52 +00:00
Hartmut Birr
8c7e8c4bbc Recalculate the partition value for freeldr. Freeldr uses a different partition numbering like linux.
svn path=/trunk/; revision=3923
2003-01-02 21:42:56 +00:00
Hartmut Birr
efc518af7b Fixed the access to the region list in MmAlterRegion.
svn path=/trunk/; revision=3922
2003-01-02 16:41:56 +00:00
Hartmut Birr
4af2b6bcb7 Splited HalEndSystemInterrupt in two functions. HalEndSystemInterrupt,
HalpLowerIrql and HalpExecuteIrqs was called recursively.

svn path=/trunk/; revision=3921
2003-01-02 16:07:49 +00:00
Hartmut Birr
e7cbcafe30 Moved the call to HalEndSystemInterrupt to the end of KiInterruptDispatch.
svn path=/trunk/; revision=3920
2003-01-02 16:06:49 +00:00
Hartmut Birr
7d15711868 Fixed a buffer overflow in wcsncpy.
svn path=/trunk/; revision=3919
2003-01-02 16:05:50 +00:00
Hartmut Birr
0b2f407fd4 Added a missing call to VfatCloseFile.
svn path=/trunk/; revision=3918
2003-01-02 16:04:31 +00:00
Hartmut Birr
b3f5d3a6f8 Added a terminating 0 in vfatGetFCBForFile. Vfat has used the buggy implementation of wcsncpy.
svn path=/trunk/; revision=3917
2003-01-02 16:03:56 +00:00
Hartmut Birr
c937cd4933 Fixed the handling for errors/retries.
svn path=/trunk/; revision=3916
2003-01-02 16:03:04 +00:00
Hartmut Birr
f9725d0888 Check if a uncached read is sector aligned, fail if is not.
svn path=/trunk/; revision=3915
2003-01-02 16:02:02 +00:00
Hartmut Birr
5d8ab9ff70 Uninitialize the file cache only if it was initialized.
svn path=/trunk/; revision=3914
2003-01-02 16:01:21 +00:00
Robert Dickenson
5b2709d12e added missing sub-dir to clean rule.
svn path=/trunk/; revision=3913
2003-01-01 11:18:06 +00:00
Robert Dickenson
e5b16f9408 Updates to test program.
svn path=/trunk/; revision=3912
2003-01-01 11:16:18 +00:00
Robert Dickenson
617e618fda Minor mods.
svn path=/trunk/; revision=3911
2003-01-01 11:11:49 +00:00
Robert Dickenson
980c3dbb9a Changes to all definitions involving wchar_t. The unsigned short type caused g++ to fail.
svn path=/trunk/; revision=3910
2003-01-01 06:19:37 +00:00
Robert Dickenson
4d245b3040 updates to the sc utility.
svn path=/trunk/; revision=3909
2002-12-28 16:19:22 +00:00
Robert Dickenson
239ec2591c added a default test ip address, i'm sure i've done this before...
svn path=/trunk/; revision=3908
2002-12-28 16:12:04 +00:00
Robert Dickenson
79a36072ff added new targets - does anybody else use these?
perhaps I should try make install some time...

svn path=/trunk/; revision=3907
2002-12-28 16:10:03 +00:00
Robert Dickenson
c7e92bc001 added new targets and some macros.
svn path=/trunk/; revision=3906
2002-12-28 16:07:59 +00:00
Robert Dickenson
d4e546fc84 moved all wine targets to makefile in wine dir
svn path=/trunk/; revision=3905
2002-12-28 16:06:11 +00:00
Gé van Geldorp
fab451963b Added apps\tests\copymove
svn path=/trunk/; revision=3904
2002-12-27 23:56:03 +00:00
Gé van Geldorp
92dee16101 Tests for MoveFile and related routines
svn path=/trunk/; revision=3903
2002-12-27 23:54:33 +00:00
Gé van Geldorp
133a166af6 Improved file attribute and file time handling
svn path=/trunk/; revision=3902
2002-12-27 23:50:21 +00:00
Robert Dickenson
d2d897b1c4 something going spooky with CVS, trying to get this file in...
svn path=/trunk/; revision=3901
2002-12-27 14:53:06 +00:00
Robert Dickenson
3288c0e0d5 Include test for truncating files, which currently doesn't work.
svn path=/trunk/; revision=3900
2002-12-27 14:44:01 +00:00
Robert Dickenson
bb2e6e63b8 Progress with opening and closing handles to SCM.
svn path=/trunk/; revision=3899
2002-12-27 14:40:03 +00:00
Robert Dickenson
70544cdae0 First draft of a ScmNamedPipeListenerThread implementation.
Some debug noise from winlogon and as always edited an ignore file.

svn path=/trunk/; revision=3898
2002-12-27 13:54:28 +00:00
Robert Dickenson
e464b1cd43 rename target from sh.exe to baresh.exe to avoid namespace conflict.
svn path=/trunk/; revision=3897
2002-12-26 18:28:25 +00:00
Robert Dickenson
c36596ece0 Keep the posix module buildable, and add some CVS sugar for easier scanning.
svn path=/trunk/; revision=3896
2002-12-26 18:14:38 +00:00
Robert Dickenson
2ed726833f Changed THREAD_STATE_RUNNABLE to THREAD_STATE_READY however PsDispatchThread() is still inaccessible.
svn path=/trunk/; revision=3895
2002-12-26 17:36:12 +00:00
Robert Dickenson
0edbb923d6 Perl5.8 requires the pointer to i/o table to be exported, and layed out correctly...
svn path=/trunk/; revision=3894
2002-12-26 17:26:41 +00:00
Robert Dickenson
b9d3e630ef Unix extra lines cleaned up.
svn path=/trunk/; revision=3893
2002-12-26 17:23:27 +00:00
Robert Dickenson
8e885e0492 Started to port some of the support for IsCharAlphaNumeric et al from wine.
svn path=/trunk/; revision=3892
2002-12-26 17:21:27 +00:00
Robert Dickenson
6cf975887d More sugar for CVS...
svn path=/trunk/; revision=3891
2002-12-26 17:16:13 +00:00
Robert Dickenson
df6e777080 Added new Service Control utitlity.
svn path=/trunk/; revision=3890
2002-12-26 17:04:46 +00:00
Gé van Geldorp
ccf4643b4c Fix sector size for AT LBA drives at 512 bytes
svn path=/trunk/; revision=3889
2002-12-22 11:38:41 +00:00
Gé van Geldorp
67cf4a374e Fixed typo, Edi was not restored
svn path=/trunk/; revision=3888
2002-12-22 11:35:15 +00:00
Gé van Geldorp
7140e3951d Volume label doesn't always have the ARCHIVE bit set
svn path=/trunk/; revision=3887
2002-12-22 11:26:01 +00:00
Jason Filby
2f3111335f Oops! Commented out offending line
svn path=/trunk/; revision=3886
2002-12-22 10:50:04 +00:00
Jason Filby
69ccaa8434 Scrollbar improvements
svn path=/trunk/; revision=3885
2002-12-21 19:25:41 +00:00
Eric Kohl
afe60dcdbf Add bootsectors and FREELDR.SYS to bootcd.
svn path=/trunk/; revision=3884
2002-12-21 14:54:47 +00:00
Robert Dickenson
05a8cab618 Revisted the packet capture driver and updated with fixes in latest 3.0a4 release.
Seems I'll need to do some work on the SCM before this'll be running for me.

svn path=/trunk/; revision=3883
2002-12-21 04:46:09 +00:00
Hartmut Birr
5f09dd1402 Replaced some calls to DbgPrint with the DPRINT macro.
svn path=/trunk/; revision=3882
2002-12-16 23:23:21 +00:00
Hartmut Birr
2774a7c60b Unmap the low memory in SMP mode in MmInit3.
svn path=/trunk/; revision=3881
2002-12-16 22:59:44 +00:00
Hartmut Birr
5b1b2a4860 Fixed Exfi386InterlockedExchangeUlong and InterlockedExchange.
svn path=/trunk/; revision=3880
2002-12-16 22:56:30 +00:00
Casper Hornstrup
3aa9d2d9ba 2002-12-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/fs/vfat/cleanup.c (VfatCleanupFile): Only uninitialize caching
	when initialized.
	* drivers/fs/vfat/fcb.c (vfatReleaseFCB): Ditto.
	* lib/kernel32/mem/section.c (CreateFileMappingW): Pass NULL as
	MaximumSize to NtCreateSection if dwMaximumSizeHigh and dwMaximumSizeLow
	are both 0.
	* ntoskrnl/cc/pin.c (CcMapData): Assert if Bcb is NULL.
	* ntoskrnl/cc/view.c (CcRosReleaseCacheSegment, CcRosLookupCacheSegment,
	CcRosMarkDirtyCacheSegment, CcRosUnmapCacheSegment,
	CcRosCreateCacheSegment, CcRosGetCacheSegmentChain,
	CcRosGetCacheSegment, CcRosRequestCacheSegment, CcFlushCache,
	CcRosDeleteFileCache, CcRosReferenceCache, CcRosDereferenceCache,
	CcRosReleaseFileCache, CcGetFileObjectFromSectionPtrs): Ditto.
	* ntoskrnl/mm/section.c (MiReadPage): Assert if Fcb->Bcb is NULL.
	(MmCreateDataFileSection): Make sure caching is initialized for the file
	stream.

svn path=/trunk/; revision=3879
2002-12-15 17:01:52 +00:00
Eric Kohl
d774049979 Use lookaside list to allocate SRBs.
svn path=/trunk/; revision=3878
2002-12-15 14:34:43 +00:00
Robert Dickenson
35ccf47588 created kernel32.mc message file which generates errcodes.rc, MSG00409.bin and /include/reactos/errcodes.h
need to figure out how to get these to build automatically at the dependancy stage before including the output rc into kernel32 resources.

svn path=/trunk/; revision=3877
2002-12-15 06:34:43 +00:00
Steven Edwards
dd8087fdde Apply'd hartmut sector size patch for VMware.
Please report if you have problems on your platform

svn path=/trunk/; revision=3876
2002-12-15 00:23:31 +00:00
Steven Edwards
9894d327a4 Added more stubs for bochs.
svn path=/trunk/; revision=3875
2002-12-14 17:36:51 +00:00
Robert Dickenson
218703bf94 Updated test program.
Successfully reads and writes short test buffer using stream I/O, both A and W versions.
Tests for correct handling of /r/n in text modes however nothing as yet for multi-bytes.
If you rebuild me watch out for the dependacy _tfileio.c which doesn't have an entry in the makefile.

svn path=/trunk/; revision=3874
2002-12-14 14:42:01 +00:00
Eric Kohl
4e2f492dc0 Fixed data overrun upon read commands.
svn path=/trunk/; revision=3873
2002-12-13 19:35:12 +00:00
Eric Kohl
34056f0e1c Don't build ide.sys any longer.
svn path=/trunk/; revision=3872
2002-12-12 17:04:01 +00:00
Robert Dickenson
30b8d5cc45 Fixed "kernel32_test codepage" conformance test:
C:\reactos\bin>kernel32_test codepage
codepage: 2 tests executed, 0 marked as todo, 0 failures.
Plus a bit of cvsignoring and #ifdef's in stubs for trying to build with the ole2nls module.

svn path=/trunk/; revision=3871
2002-12-12 04:53:23 +00:00
Robert Dickenson
785d4e6698 KdDebuggerEnable -> KdDebuggerEnabled
svn path=/trunk/; revision=3870
2002-12-11 04:39:20 +00:00
Hartmut Birr
a7be665092 Removed dependancy tracking.
svn path=/trunk/; revision=3869
2002-12-10 19:09:26 +00:00
Steven Edwards
1ff8dc116a Linking not hosed now. Fixed via import of -lstdc++.
svn path=/trunk/; revision=3868
2002-12-10 17:03:03 +00:00
Steven Edwards
e4493af78d Fixed makefile for cabman. Linking is still hosed.
svn path=/trunk/; revision=3867
2002-12-10 17:01:16 +00:00
Eric Kohl
1ff210919e Added the Promise Ultra100 (PDC20267) controller to the list of supported atapi controllers.
svn path=/trunk/; revision=3866
2002-12-10 12:18:33 +00:00
Robert Dickenson
c43641f102 Put things back how they work for others until I work it out properly.
svn path=/trunk/; revision=3865
2002-12-10 09:31:30 +00:00
Eric Kohl
f51d9f66a6 Replaced bios error codes by valid status codes.
svn path=/trunk/; revision=3864
2002-12-09 23:15:57 +00:00
Eric Kohl
e1ed68fe85 Implemented ScsiPortGetDeviceBase() and ScsiPortFreeDeviceBase().
svn path=/trunk/; revision=3863
2002-12-09 23:14:04 +00:00
Eric Kohl
2b0a6b6d38 Fixed buggy system hive identification.
svn path=/trunk/; revision=3862
2002-12-09 23:09:25 +00:00
Hartmut Birr
8f1bfbccb6 Fixed some bugs in the wait functions.
svn path=/trunk/; revision=3861
2002-12-09 20:16:42 +00:00
Hartmut Birr
e1b39fac3c Protected the access to system_time with a spinlock.
svn path=/trunk/; revision=3860
2002-12-09 20:15:25 +00:00
Hartmut Birr
d008835685 Fixed the setting of the real time clock.
svn path=/trunk/; revision=3859
2002-12-09 20:13:12 +00:00
Hartmut Birr
cd35c38aa0 Added ntdll.a to TARGET_SDKLIBS. Ntdll.a is needed to import DbgPrint for DPRINT macros.
svn path=/trunk/; revision=3858
2002-12-09 20:11:56 +00:00
Hartmut Birr
14d77e9c63 Added -D_MSVCRT_LIB_ to TARGET_CFLAGS and ntdll.a to TARGET_SDKLIBS.
Ntdll.a is needed to import DbgPrint for DPRINT macros.

svn path=/trunk/; revision=3857
2002-12-09 20:09:24 +00:00
Hartmut Birr
c8662b4cab Disabled the definition of DbgPrint for __GNUC__. DbgPrint is imported from ntdll.dll.
svn path=/trunk/; revision=3856
2002-12-09 20:07:46 +00:00
Hartmut Birr
1fa5ceab79 Fixed the initializing of the C runtime handles.
svn path=/trunk/; revision=3855
2002-12-09 20:06:24 +00:00
Hartmut Birr
1cd89b296e Added support for shared interrupts (tested with a promise ultra100tx2 controller).
Added support for the Promise utra100tx2 controller.
Used multiple sector commands and 32bit IO only if the disk does support this.

svn path=/trunk/; revision=3854
2002-12-09 20:04:44 +00:00
Hartmut Birr
4db7fe648e Added more debug messages.
Register interrupts with hal and allow shared interrupts.

svn path=/trunk/; revision=3853
2002-12-09 20:01:14 +00:00
Hartmut Birr
39a9c0a865 Register interrupts with hal.
svn path=/trunk/; revision=3852
2002-12-09 19:57:56 +00:00
Hartmut Birr
a7ee619591 Enable/Disable the irq in KeConnectInterrupt/KeDisconnectInterrupt.
Call each registered interrupt in KiInterruptDispatch2 (only for UP).

svn path=/trunk/; revision=3851
2002-12-09 19:53:44 +00:00
Hartmut Birr
c657e69cc6 Fixed handling for level triggered interrupts.
svn path=/trunk/; revision=3850
2002-12-09 19:51:16 +00:00
Hartmut Birr
4386afd7cb Protected the cmos ports with a spinlock.
svn path=/trunk/; revision=3849
2002-12-09 19:47:22 +00:00
Hartmut Birr
89fd93f5c7 Fixed the calculation of the irql.
svn path=/trunk/; revision=3848
2002-12-09 19:46:39 +00:00
Hartmut Birr
bb6414ddad Fixed the addressing of pci device and function numbers.
Protected the pci ports with a spinlock.
Fixed the calculation of the irql.
Added HalpTranslatePciAddress.

svn path=/trunk/; revision=3847
2002-12-09 19:45:55 +00:00
Hartmut Birr
24941bbcb3 Added HalpGetIsaInterruptVector.
svn path=/trunk/; revision=3846
2002-12-09 19:44:44 +00:00
Robert Dickenson
167268f4b3 Commented out reference to VECTOR2IRQ in order to get MP config building.
svn path=/trunk/; revision=3845
2002-12-09 18:44:05 +00:00
Robert Dickenson
74075d4ed5 Commented out call to PsDispatchThread(THREAD_STATE_RUNNABLE) in order to get MP config building.
svn path=/trunk/; revision=3844
2002-12-09 18:42:41 +00:00
Robert Dickenson
58d9c81bdc Added a dummy copy of KiInterruptDispatch2 and removed reference to KeGetCurrentThread()->LastEip in order to get MP config building.
svn path=/trunk/; revision=3843
2002-12-09 18:40:45 +00:00
Robert Dickenson
5118ff8a48 Still... having problems with auto-depends on when running building Windows.
DEPENDS_PATH := $(PATH_TO_TOP)/tools/
Seems to need a trailing / on the other option as well???
I can't explain what's going on here, so I'm trying to fix it by trial and error.
Once again, please let me know if it breaks things for others.

svn path=/trunk/; revision=3842
2002-12-09 17:26:00 +00:00
Robert Dickenson
8d49e96dcf Still having problems with auto-depends on when running building Windows.
Cannot see how or when this problem was introduced, just suddenly stopped working the other day...
Appending the final \ seems to get it fixed again.
DEPENDS_PATH := $(subst /,\,$(PATH_TO_TOP))\tools\
Please let me know if it breaks things for others.

svn path=/trunk/; revision=3841
2002-12-09 17:03:09 +00:00
Robert Dickenson
719e18bbee Added some more libraries which now build to the WINE_DLLS section.
svn path=/trunk/; revision=3840
2002-12-09 15:38:18 +00:00
Robert Dickenson
1a95510552 Rollback removal of auto-dependancy checking.
Another version of make had made it's way in front of my path )^;

svn path=/trunk/; revision=3839
2002-12-09 15:18:11 +00:00
Eric Kohl
029fe88aa3 Fixed a bug which created new registry hives in the wrong directory.
svn path=/trunk/; revision=3838
2002-12-08 18:54:45 +00:00
Robert Dickenson
f2a2cbc0d9 minor format modifications to reduce diffs with latest wine sources to simplify updating.
mainly just updated with LGPL license in headers.

svn path=/trunk/; revision=3837
2002-12-08 16:26:52 +00:00
Robert Dickenson
5e2ff077e8 minor format modifications to reduce diffs with duplicates elsewhere in tree.
comment out depends rule in makefile since it doesn't work when building on windows.

svn path=/trunk/; revision=3836
2002-12-08 16:23:33 +00:00
Robert Dickenson
dd12442072 typos, reduce mingw header diffs, extra includes.
svn path=/trunk/; revision=3835
2002-12-08 16:18:30 +00:00
Robert Dickenson
a49981697a Fix for wide character streams.
svn path=/trunk/; revision=3834
2002-12-08 16:14:28 +00:00
Robert Dickenson
91616f730f Adding support for resource based error message table
svn path=/trunk/; revision=3833
2002-12-08 16:07:18 +00:00
Robert Dickenson
61bb7ba7ad Split out the resource functions for finer control of debug output.
svn path=/trunk/; revision=3832
2002-12-08 15:57:40 +00:00
Eric Kohl
688e9b05d9 Ouch!
svn path=/trunk/; revision=3831
2002-12-07 15:43:29 +00:00
Eric Kohl
822d5e3d78 Call CmInit2() only if the system hive was imported.
svn path=/trunk/; revision=3830
2002-12-07 14:47:10 +00:00
Eric Kohl
1a57936f09 Added progress bar to file copy page.
svn path=/trunk/; revision=3828
2002-12-06 21:39:04 +00:00
Eric Kohl
72136233fb Fixed warnings.
svn path=/trunk/; revision=3827
2002-12-06 17:33:16 +00:00
Eric Kohl
5c0db541d3 Fixed a typo.
svn path=/trunk/; revision=3826
2002-12-06 17:31:33 +00:00
Robert Dickenson
accbf7c896 In search of meaningful error messages and some housekeeping on the stubs file.
svn path=/trunk/; revision=3825
2002-12-06 13:14:14 +00:00
Brian Palmer
0853d8cf3d Changes in v1.7.12 (12/05/2002) (brianp)
- Minor tweak to UI code to allow description
  text to be displayed along with the progress
  bar.

svn path=/trunk/; revision=3824
2002-12-06 04:43:02 +00:00
Brian Palmer
f54c214e8e Changes in v1.7.11 (12/05/2002) (brianp)
- Added memory map count to GetBiosMemoryMap() so that
  it doesn't just assume the size of the array.
- Fix so that we use the continuation value that
  the BIOS returns.

svn path=/trunk/; revision=3823
2002-12-06 04:00:41 +00:00
Robert Dickenson
f1592aa69f Improved unicode fileio support.
svn path=/trunk/; revision=3822
2002-12-05 15:31:26 +00:00
Eric Kohl
2aacb78c3e Removed some error-prone bit-fiddling.
svn path=/trunk/; revision=3821
2002-12-04 20:39:03 +00:00
Eric Kohl
e51ba71a9b Fixed a typo.
svn path=/trunk/; revision=3820
2002-12-04 20:36:22 +00:00
Eric Kohl
b4d4bdf465 Added bus- and target-specific data to the device map.
svn path=/trunk/; revision=3819
2002-12-03 23:57:05 +00:00
Hartmut Birr
e3a1b88d60 Added support for the lower case flags of 8.3 names.
Fixed a bug that will corrupt directories if ros creates 8.3 names without a long name.

svn path=/trunk/; revision=3818
2002-12-03 01:14:49 +00:00
Eric Kohl
c00bebf1f2 Implemented SetThreadAffinityMask().
Fixed some *nix line breaks.

svn path=/trunk/; revision=3817
2002-12-02 21:28:40 +00:00
Eric Kohl
a378416e55 Implemented deferred hive synchronization. It doesn't sync yet.
svn path=/trunk/; revision=3816
2002-12-02 18:52:44 +00:00
Robert Dickenson
0416e5796f updated wine target section.
svn path=/trunk/; revision=3815
2002-12-02 18:40:33 +00:00
Eric Kohl
13c33450ed Fixed NtQueryValueKey() wrt packed value names.
svn path=/trunk/; revision=3814
2002-12-01 19:18:16 +00:00
Eric Kohl
21ad71423a Fixed a display bug in test 1.
svn path=/trunk/; revision=3813
2002-12-01 19:16:26 +00:00
Robert Dickenson
64c768602f Temporarily remove last few wine build targets that need some more work.
svn path=/trunk/; revision=3812
2002-11-30 19:12:51 +00:00
Eric Kohl
d608e437c9 Implemented packing of value names
svn path=/trunk/; revision=3811
2002-11-30 14:46:27 +00:00
Robert Dickenson
4bad5b8b2f Split out a few variable differences between libraries.
svn path=/trunk/; revision=3810
2002-11-29 16:00:21 +00:00
Robert Dickenson
1b135b8732 Further reduced differences and include all identical msvcrt targets in crtdll makefile.
svn path=/trunk/; revision=3809
2002-11-29 15:59:05 +00:00
Robert Dickenson
b5cd7d30a0 Updating include path in files previously missed.
svn path=/trunk/; revision=3808
2002-11-29 12:27:50 +00:00
Robert Dickenson
2ebbba0d7d Updating files somehow confused by CVS.
Old tree cvs reports up-to-date.
New tree - different ???
more to come...

svn path=/trunk/; revision=3807
2002-11-29 11:26:58 +00:00
Eric Kohl
5f25774f6e Added driver name to the partition list
svn path=/trunk/; revision=3806
2002-11-28 19:20:38 +00:00
Eric Kohl
4603c2ef5a Build the hardware device map for each SCSI port.
Bus or device specific information is not implemented yet.

svn path=/trunk/; revision=3805
2002-11-28 16:07:04 +00:00
Robert Dickenson
630e12009d Thank-you to Eugene for pointing out that I missed a required change
I:\Dev\reactos\reactos\apps\utils\net\roshttpd\include\socket.h
           8 : #include <crtdll/stdio.h>
Fixed to now include <msvcrt/....> instead which is now common to both the ntdll and msvcrt dll's

svn path=/trunk/; revision=3804
2002-11-28 12:21:02 +00:00
Hartmut Birr
ac08a1048a Added a missing increment operator.
svn path=/trunk/; revision=3803
2002-11-27 21:00:49 +00:00
Hartmut Birr
99b937362d Fixed the return value in ferror.
svn path=/trunk/; revision=3802
2002-11-27 20:56:28 +00:00
Hartmut Birr
d4386d7b53 Free the user stack in PsReapThreads.
svn path=/trunk/; revision=3801
2002-11-27 20:54:37 +00:00
Hartmut Birr
56964fad03 Do only for process handles detach/attach the process. Some handles
needs the correct process on close/delete. Only for process handles
is it possible that ObCloseAllHandles is called recursively.

svn path=/trunk/; revision=3800
2002-11-27 20:52:29 +00:00
Hartmut Birr
baf7670d00 Change the type for the page fault handler from trap to interrupt gate.
Enable interrupts on page faults only if the faulting process has interrupts enabled.

svn path=/trunk/; revision=3799
2002-11-27 20:49:54 +00:00
Hartmut Birr
d6ec424dbf Fixed the definition of NTKERNELAPI.
svn path=/trunk/; revision=3798
2002-11-27 20:46:44 +00:00
Hartmut Birr
6dc09f22d2 Initialize the registers for the next call to Int386 in GetBiosMemoryMap.
svn path=/trunk/; revision=3797
2002-11-27 20:31:17 +00:00
Hartmut Birr
dd6e3b8b31 Intialize the size for the bios memory map.
svn path=/trunk/; revision=3796
2002-11-27 20:29:43 +00:00
Eric Kohl
5f973ce0cf Use a 'secret' registry value to tell ntoskrnl where to create the registry hives.
svn path=/trunk/; revision=3795
2002-11-26 15:33:06 +00:00
Eric Kohl
a76689e99c Use ERESOURCE to lock registry hives.
Keep open hives in a global list.

svn path=/trunk/; revision=3794
2002-11-26 15:31:41 +00:00
guido
56b706f3e0 fixed compiler error: removed reference to crtdll
svn path=/trunk/; revision=3793
2002-11-25 23:53:38 +00:00
guido
8d09bf7839 Changes '\' to '/' to enable x-compiling on linux.
svn path=/trunk/; revision=3792
2002-11-25 23:19:31 +00:00
Robert Dickenson
a38f0cad21 cleaned up some warnings.
svn path=/trunk/; revision=3791
2002-11-25 17:41:40 +00:00
Robert Dickenson
8a0cebc9b6 no longer depend on msvcrt/tchar.h
svn path=/trunk/; revision=3790
2002-11-25 17:38:18 +00:00
Robert Dickenson
6b09fd544c Some cleanup.
svn path=/trunk/; revision=3789
2002-11-25 15:47:52 +00:00
Jason Filby
503d6a8fec Fixes
svn path=/trunk/; revision=3788
2002-11-24 20:25:49 +00:00
Jason Filby
dfc58357af Fixes
svn path=/trunk/; revision=3787
2002-11-24 20:18:35 +00:00
Jason Filby
683e4a3c99 Initial scrollbar code
svn path=/trunk/; revision=3786
2002-11-24 20:15:37 +00:00
Robert Dickenson
e676e56f6d cleaning up the cvs views a bit and added a makefile I must have missed a while ago.
svn path=/trunk/; revision=3785
2002-11-24 19:48:56 +00:00
Robert Dickenson
5110b764c2 update registry test program.
svn path=/trunk/; revision=3784
2002-11-24 19:13:40 +00:00
Robert Dickenson
11e87876dc update test program.
svn path=/trunk/; revision=3783
2002-11-24 19:12:30 +00:00
Brian Palmer
425bbb1543 Changes in v1.7.10 (11/24/2002) (brianp)
- Added assembler versions of memcmp() memcpy() memset()
- Implemented Int386() so that real-mode interrupts can be called from C-code
- Removed unnecessary call in DbgPrint() macro (freeldr.sys is ~16k smaller now)
- 64-bit lba sector addressing for disk calls
- Re-coded biosdisk.S as i386disk.c
- Re-coded mem.S as i386mem.c
- Re-coded rtlcode.S as i386rtl.c
- Cleaned up i386trap.S so that it only saves the registers once.
- Re-coded biosvid.S as i386vid.c
- Video fade in/out
- VESA text modes supported now
- Offscreen buffering to remove flicker
- Standardized format of boot sector so that BootPartition is stored right before 0xaa55
- Prefixed all file system functions with 'Fs'

svn path=/trunk/; revision=3782
2002-11-24 19:10:06 +00:00
Robert Dickenson
787724058b Added binary and unicode file i/o support to msvcrt.
Reduced differences between crtdll and msvcrt sources

svn path=/trunk/; revision=3781
2002-11-24 18:42:26 +00:00
Robert Dickenson
5bdf3d7d22 Added a header I created a while ago when looking into irda support.
svn path=/trunk/; revision=3780
2002-11-24 18:28:38 +00:00
Robert Dickenson
cd5fad8f71 Changes to suit addition of a single macro in the types header.
svn path=/trunk/; revision=3779
2002-11-24 18:26:40 +00:00
Robert Dickenson
e80942cd98 Mainly just added some small #ifdef sections for a little portability.
svn path=/trunk/; revision=3778
2002-11-24 18:24:52 +00:00
Robert Dickenson
db2294a694 Added header to aid porting and include tchar.h here as it's the only unique thing about /include/crtdll
svn path=/trunk/; revision=3777
2002-11-24 18:14:19 +00:00
Robert Dickenson
29f20a14b6 Not sure quite how these changed seeing as they're to go shortly I just want to clear my CVS for now.
svn path=/trunk/; revision=3776
2002-11-24 18:09:57 +00:00
Robert Dickenson
1b66fde766 Result of three way diffing with include/crtdll and the winapi2 headers.
reactos/include/crtdll now unused and to be deprecated.

svn path=/trunk/; revision=3775
2002-11-24 18:06:01 +00:00
Eric Kohl
e6d113445e Added some more files to the boot cd.
Implemented file copy queue.

svn path=/trunk/; revision=3774
2002-11-23 01:55:27 +00:00
Eric Kohl
b8d0354d95 Disabled debug message.
Attempt to read beyond the end of a file must return STATUS_END_OF_FILE.

svn path=/trunk/; revision=3773
2002-11-20 21:55:25 +00:00
Jason Filby
64975d00e2 Added some missing border style definitions
svn path=/trunk/; revision=3772
2002-11-20 20:56:41 +00:00
Robert Dickenson
cc6b5ab403 Altered layout for easier comparison with msvcrt's makefile.
svn path=/trunk/; revision=3771
2002-11-19 17:16:14 +00:00
Robert Dickenson
caadfbc4fa Created new subtree for groups of related test programs.
Created application for ANSI and UNICODE stream I/O testing.

svn path=/trunk/; revision=3770
2002-11-19 13:03:29 +00:00
Robert Dickenson
7c17b26c4e Created skeleton for notepad application.
svn path=/trunk/; revision=3769
2002-11-19 12:56:47 +00:00
Eric Kohl
19a1ecf23f Disabled a debug message.
svn path=/trunk/; revision=3768
2002-11-18 22:40:32 +00:00
Eric Kohl
3788a144f4 Added PCI class and subclass definitions.
svn path=/trunk/; revision=3767
2002-11-18 22:39:02 +00:00
Robert Dickenson
8e08360d7b Fixed up the path spec and filename in the header blocks
svn path=/trunk/; revision=3766
2002-11-18 05:43:33 +00:00
Robert Dickenson
e8a0978c40 Fixed up the path spec and filename in the header blocks
svn path=/trunk/; revision=3765
2002-11-18 03:19:43 +00:00
Robert Dickenson
3cdb8f8517 *nix newlines throughout file fixed.
svn path=/trunk/; revision=3764
2002-11-17 04:10:56 +00:00
Robert Dickenson
bcccc0197d Relative include path fixed to absolute path.
svn path=/trunk/; revision=3763
2002-11-17 04:00:33 +00:00
Eric Kohl
89c5d6dd51 Revoved lots of unix line breaks.
svn path=/trunk/; revision=3762
2002-11-16 00:08:45 +00:00
Casper Hornstrup
28516f1bfb Fix compillation error.
svn path=/trunk/; revision=3761
2002-11-15 23:26:16 +00:00
Casper Hornstrup
5e586c9ecf 2002-11-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddk/ldrtypes.h: Move ...
	* include/ntos/ldrtypes.h: ... here.
	* include/ddk/ntddk.h: Include ldrtypes.h at new location.

svn path=/trunk/; revision=3760
2002-11-15 22:30:30 +00:00
Eric Kohl
da9ce8cff3 Removed special case of process without process parameter block for initial process (smss.exe).
svn path=/trunk/; revision=3759
2002-11-15 22:06:01 +00:00
Eric Kohl
5a6a428544 Create process parameter block for initial process (smss.exe).
svn path=/trunk/; revision=3758
2002-11-15 22:04:51 +00:00
Casper Hornstrup
7a11ad1c92 Add missing files
svn path=/trunk/; revision=3757
2002-11-15 21:59:54 +00:00
Casper Hornstrup
2c1d2fb84f Add missing files.
svn path=/trunk/; revision=3756
2002-11-15 21:56:37 +00:00
Casper Hornstrup
755fde7e59 2002-11-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/bus/acpi/ospm/osl.c (acpi_os_readable, acpi_os_writable):
	Match prototypes.
	* include/ascii.h (AbortSystemShutdownA): Correct prototype.
	* include/debug.h (assert): Wrap in #ifndef assert.
	* include/funcs.h (AbortSystemShutdown): Remove duplicate prototype.
	* include/ddk/rtltypes.h: Move ...
	* include/ntos/rtltypes.h: ... here.
	* include/ddk/rtl.h: Move ...
	* include/ntos/rtl.h: ... here.
	* include/ddk/zwtypes.h: Move ...
	* include/ntos/zwtypes.h: ... here.
	* include/ddk/zw.h: Move ...
	* include/ntos/zw.h: ... here.
	| include/ddk/cmfuncs.h: Remove file; Move NtCreateKey to ntos/zw.h.
	* include/ntos.h: #include ntos/rtltypes.h, ntos/rtl.h, ntos/zwtypes.h,
	and ntos/zw.h.
	* include/unicode.h: (AbortSystemShutdownW): Correct prototype.
	* include/ddk/ntddk.h: Include headers at new location; Don't include
	removed files.
	* include/defines.h: Wrap definitions in w32api in #ifndef __USE_W32API.
	* include/ntos/zwtypes.h: Ditto.
	* include/napi/lpc.h: Ditto.
	* include/napi/shared_data.h: Ditto.
	* include/napi/teb.h: Ditto.
	* include/napi/types.h: Ditto.
	* include/ntdll/ldr.h: Ditto.
	* include/ntdll/rtl.h: Ditto.
	* include/ntos/console.h: Ditto.
	* include/ntos/disk.h: Ditto.
	* include/ntos/except.h: Ditto.
	* include/ntos/file.h: Ditto.
	* include/ntos/gditypes.h: Ditto.
	* include/ntos/heap.h: Ditto.
	* include/ntos/keyboard.h: Ditto.
	* include/ntos/mm.h: Ditto.
	* include/ntos/ntdef.h: Ditto.
	* include/ntos/ps.h: Ditto.
	* include/ntos/registry.h: Ditto.
	* include/ntos/security.h: Ditto.
	* include/ntos/synch.h: Ditto.
	* include/ntos/time.h: Ditto.
	* include/ntos/types.h: Ditto.
	* include/ntos/port.h: Ditto.
	* lib/advapi32/misc/shutdown.c (AbortSystemShutdownW,
	AbortSystemShutdownA): Correct prototype.
	* lib/advapi32/reg/reg.c: #include ntos.h.
	* lib/advapi32/sec/misc.c: Ditto.
	* lib/advapi32/sec/sid.c: Ditto.
	* lib/advapi32/service/sctrl.c: Ditto.
	* lib/advapi32/token/token.c: Ditto.
	* lib/kernel32/misc/dllmain.c: Ditto.
	* ntoskrnl/ex/napi.c: Ditto.
	* ntoskrnl/rtl/i386/exception.c: Ditto.
	* lib/advapi32/sec/ac.c: Ditto.
	(FindFirstFreeAce, GetAce): Change PACE* to PACE_HEADER*.
	* lib/advapi32/service/scm.c (EnumServicesStatusExA,
	EnumServicesStatusExW, QueryServiceStatusEx): Correct prototype.
	* lib/ntdll/rtl/ppb.c (RtlDestroyProcessParameters): Match prototype.
	* ntoskrnl/dbg/errinfo.c (DbgGetErrorText): Use %08x, not %08lx.
	* ntoskrnl/io/arcname.c (IoCreateSystemRootLink): Use %u, not %lu.
	* ntoskrnl/ke/main.c (ExpInitializeExecutive): Ditto.
	* (_main): Use %d, not %ld.
	* ntoskrnl/include/internal/i386/ke.h: Add #pragma GCC system_header.
	* include/ddk/ntdef.h (NTSYSAPI, NTAPI, NTKERNELAPI): Define to STDCALL;
	Check if already defined.
	* include/base.h (STDCALL, CDECL, CALLBACK, PASCAL): Move to ntos/types.h.

svn path=/trunk/; revision=3755
2002-11-14 18:21:07 +00:00
Casper Hornstrup
d9e3082d1f 2002-11-13 Rick Gaiser <RickG81@Wanadoo.nl>
* drivers/bus/isapnp/isapnp.c (FindNextReadPort): Increment Port before
	checking wether port address is in NE2000 address space range and returning
	port address value.

svn path=/trunk/; revision=3754
2002-11-13 21:57:47 +00:00
Eric Kohl
58cbfb764a * Added ini file suport (Thanks to Royce Mitchell!)
* Improved the partition list.
* Use information from txtsetup.sif to create directories.
* Added basic error handling.

svn path=/trunk/; revision=3753
2002-11-13 18:25:18 +00:00
Robert Dickenson
d4293289b3 Just getting in sync with removal of obsolete #pragma directive.
New work soon to come. Having a bad time with heap corruption
when attempting to import massive reg scripts into the ROS registry.

svn path=/trunk/; revision=3752
2002-11-13 12:08:26 +00:00
Robert Dickenson
e2d799f080 Commit of the rest of Gunnars file locking patch.
svn path=/trunk/; revision=3751
2002-11-13 06:01:12 +00:00
Robert Dickenson
84831891ce added #ifdef around headers to support test build. Modified debug messages.
svn path=/trunk/; revision=3750
2002-11-13 05:18:03 +00:00
Eric Kohl
3a8df0d499 Added setup information file txtsetup.sif.
svn path=/trunk/; revision=3749
2002-11-12 19:17:21 +00:00
Eric Kohl
eb1c9c77ee Reworked initial process loader.
Crash the system if the initial process fails within 5 seconds.

svn path=/trunk/; revision=3748
2002-11-12 19:12:34 +00:00
Steven Edwards
2f04a917bb Relicensed as LGPL and Released back to the WINE project as per
Rob's Approvial.

svn path=/trunk/; revision=3747
2002-11-12 15:25:15 +00:00
Marty Dill
49c384301b Implemented ReadConsoleOutputA() and WriteConsoleInputA().
svn path=/trunk/; revision=3746
2002-11-12 00:48:26 +00:00
Marty Dill
13aca9ca62 Added missing exports for a few console functions.
svn path=/trunk/; revision=3745
2002-11-12 00:46:02 +00:00
Marty Dill
4f2f3061db CreateDirectoryExW: Fail gracefully if directory name is null/empty.
svn path=/trunk/; revision=3744
2002-11-12 00:45:16 +00:00
Hartmut Birr
62765739e2 * Changed the access to the bitmap from BYTE to ULONG for speeding up.
svn path=/trunk/; revision=3743
2002-11-11 22:53:26 +00:00
Hartmut Birr
7c80de2804 * Do not exit if GetConsoleScreenBufferInfo fails. GetConsoleScreenBufferInfo fails
if the given handle is redirected to a file or pipe. This stops windres from working.

svn path=/trunk/; revision=3742
2002-11-11 21:53:25 +00:00
Hartmut Birr
153843d464 * Implemented multiple sector commands for reading and writing (only for disks).
* Implemented 32 bit access for I/O (only for disks).
* Both options can be desabled by undefining ENABLE_MULTIMODE and ENABLE_32BIT.

svn path=/trunk/; revision=3741
2002-11-11 21:51:33 +00:00
Hartmut Birr
62eac3dcff * Used look aside lists to allocate memory for VFATFCB, VFATCCB and VFAT_IRP_CONTEXT.
* Removed IsLastEntry, IsVolEntry, IsDeletedEntry, vfat_wstrlen, vfatGrabFCB,
  vfat_initstr, vfat_wcsncat, vfat_wcsncpy, vfat_movestr, wstrcmpi and replaced
  this functions with existing equivalents or functions from ntoskrnl.
* Merged GetEntryName into vfatGetNextDirEntry for reducing some overhead.
* Implemented a file name cache to speed up the searching for existing fcb.
* Removed some calls to FsdDosDateTimeToFileTime.
* Moved the call to CcZeroData behind the initializing of the cache (in VfatWrite).
* Using existing fcbs in FindFile if there is no '*?' within the search name.

svn path=/trunk/; revision=3740
2002-11-11 21:49:18 +00:00
Casper Hornstrup
4ba36f62e4 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/bus/acpi/include/acpi.h: Include platform/types.h.
	* drivers/bus/acpi/include/actypes.h: (UINT8, BOOLEAN, UCHAR, UINT16,
	INT32, UINT32, UINT64): Disable, use the OS defined types instead.
	* drivers/bus/acpi/include/platform/types.h: Remove all types,
	include ntos.h instead.
	* drivers/bus/acpi/ospm/include/acpisys.h: Don't include
	platform/types.h.

svn path=/trunk/; revision=3739
2002-11-10 19:24:01 +00:00
Casper Hornstrup
d8acda7c3e 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/defines.h: Fix warnings when bulding with gcc 3.3.
	* include/ddk/status.h: Ditto.
	* include/freetype/internal/ftdebug.h: Ditto.
	* include/net/ndis.h: Ditto.
	* lib/msafd/misc/helpers.c: Ditto.
	* lib/user32/windows/defwnd.c: Ditto.
	* lib/user32/windows/window.c: Ditto.
	* ntoskrnl/cm/ntfunc.c: Ditto.
	* ntoskrnl/cm/regfile.c: Ditto.
	* ntoskrnl/cm/regobj.c: Ditto.
	* ntoskrnl/dbg/errinfo.c: Ditto.
	* ntoskrnl/ex/hashtab.c: Ditto.
	* ntoskrnl/include/internal/mm.h: Ditto.
	* ntoskrnl/io/irp.c: Ditto.
	* ntoskrnl/kd/gdbstub.c: Ditto.
	* ntoskrnl/ke/queue.c: Ditto.
	* ntoskrnl/ke/sem.c: Ditto.
	* ntoskrnl/ldr/resource.c: Ditto.
	* ntoskrnl/mm/balance.c: Ditto.
	* ntoskrnl/mm/freelist.c: Ditto.
	* ntoskrnl/mm/mdl.c: Ditto.
	* ntoskrnl/mm/npool.c: Ditto.
	* ntoskrnl/mm/section.c: Ditto.
	* ntoskrnl/rtl/error.c: Ditto.
	* ntoskrnl/rtl/mem.c: Ditto.
	* ntoskrnl/rtl/string.c: Ditto.
	* ntoskrnl/rtl/time.c: Ditto.
	* ntoskrnl/rtl/unicode.c: Ditto.
	* ntoskrnl/rtl/wstring.c: Ditto.
	* ntoskrnl/rtl/i386/exception.c: Ditto.
	* subsys/win32k/freetype/src/base/ftinit.c: Ditto.

svn path=/trunk/; revision=3738
2002-11-10 18:17:43 +00:00
Robert Dickenson
5db0748cc3 committing more developments.
svn path=/trunk/; revision=3737
2002-11-10 14:29:27 +00:00
Robert Dickenson
5acde91b05 changed "$(RM) *.various" to "- $(RM) *.various" in order to keep the clean rule going.
svn path=/trunk/; revision=3736
2002-11-10 14:27:45 +00:00
Robert Dickenson
9a3d4ea3c6 added a couple of entries within the [\Registry\Machine\SOFTWARE\Classes] section for testing.
svn path=/trunk/; revision=3735
2002-11-10 14:12:41 +00:00
Robert Dickenson
adb86bd362 added #ifdef around headers to support private test build and various changes to debug diagnostics.
svn path=/trunk/; revision=3734
2002-11-10 14:10:09 +00:00
Robert Dickenson
d7753423c7 added #ifdef around headers to support private test build and some temporary zeroing of arrays during debugging.
svn path=/trunk/; revision=3733
2002-11-10 14:02:44 +00:00
Robert Dickenson
2e1e2b7968 added #ifdef around headers to support private test build.
svn path=/trunk/; revision=3732
2002-11-10 14:00:41 +00:00
Robert Dickenson
68c82b15c9 added #ifdef around headers and some debug message copying/terminating to support private test build.
svn path=/trunk/; revision=3731
2002-11-10 13:57:06 +00:00
Robert Dickenson
4ca5b5aa15 changed the default trace level to MID_TRACE for when DBG is defined.
svn path=/trunk/; revision=3730
2002-11-10 13:53:34 +00:00
Robert Dickenson
e99ad86ebe slight mod to the end of line for received ip packets to display a debug message.
svn path=/trunk/; revision=3729
2002-11-10 13:52:13 +00:00
Robert Dickenson
ba7265a614 some un-important modifications to my serial coms test program.
not of interest for now until I get something commitable for the simple serial driver.

svn path=/trunk/; revision=3728
2002-11-10 13:48:51 +00:00
Robert Dickenson
73eb67f51b just some code to to some specific key reading tests.
svn path=/trunk/; revision=3727
2002-11-10 13:47:03 +00:00
Robert Dickenson
24ef4d36dc added a whole bunch of hacks #ifdef'd into the header section to support private test build.
totally turned the contents upside down so functions are implicitly declared before use without header prototypes.

svn path=/trunk/; revision=3726
2002-11-10 13:44:48 +00:00
Robert Dickenson
e0461e2d52 display some extra debug messages on boot to see whats going on.
svn path=/trunk/; revision=3725
2002-11-10 13:40:08 +00:00
Robert Dickenson
c2cdc52d2e committing a parameter swap from Gunnars heap fix which I seem to have missed.
svn path=/trunk/; revision=3724
2002-11-10 13:38:14 +00:00
Robert Dickenson
77f5d4efe8 added #ifdef around headers to support private test build.
svn path=/trunk/; revision=3723
2002-11-10 13:36:59 +00:00
Robert Dickenson
2c9f063386 added #ifdef around headers to support private test build and modified debug messages.
svn path=/trunk/; revision=3722
2002-11-10 13:36:15 +00:00
Robert Dickenson
c37549f7cd added trivial comment reference consistancy with DDK prototype.
svn path=/trunk/; revision=3721
2002-11-10 13:34:42 +00:00
Robert Dickenson
ccb6663108 useless change to only some parameter names to be more consistent with DDK prototype.
svn path=/trunk/; revision=3720
2002-11-10 13:33:26 +00:00
Robert Dickenson
af405dcb05 display debug message on boot.
svn path=/trunk/; revision=3719
2002-11-10 13:30:32 +00:00
Hartmut Birr
3e9e0d0737 * Unlock the address space if MmOpenMemoryAreaByAddress fails (MmWritePhysicalAddress).
svn path=/trunk/; revision=3718
2002-11-09 20:27:03 +00:00
Robert Dickenson
0d78d25da5 Manually applying Gunnars patch because it's easier this way - and a good chance to review mods.
svn path=/trunk/; revision=3717
2002-11-07 16:36:50 +00:00
Robert Dickenson
2e3612cc58 Manually applying Gunnars patch because it's easier this way - and a good chance to review mods.
svn path=/trunk/; revision=3716
2002-11-07 02:52:37 +00:00
Robert Dickenson
f2064b3f8b Manually applying Gunnars patch became it's easier this way - and a good chance to review mods.
svn path=/trunk/; revision=3715
2002-11-07 02:45:29 +00:00
David Welch
a079c4b347 Reverted previous changes - Mm{Enable,Disable}VirtualMapping are faster
and won't allocate or free page tables. A page fault handler should
never see a disabled page since enabling and disabling is guarded by
a pageop.

svn path=/trunk/; revision=3714
2002-11-05 21:13:15 +00:00
Hartmut Birr
a794750da6 * Fixed the length for the page protection.
svn path=/trunk/; revision=3713
2002-11-05 21:01:38 +00:00
Hartmut Birr
8e4b80043b * Initialize the return value in DefWndNCCalcSize.
svn path=/trunk/; revision=3712
2002-11-05 20:59:48 +00:00
Hartmut Birr
1d127839b8 * Fixed the call to LoadImageW/RemovePropW if there is given
an identifier in LoadImageA/RemovePropA.

svn path=/trunk/; revision=3711
2002-11-05 20:58:20 +00:00
Hartmut Birr
e8899a2a5b * Fixed the searching for executable files in the spawnXpX/execXpX-functions.
svn path=/trunk/; revision=3710
2002-11-05 20:55:59 +00:00
Hartmut Birr
cb7fd6d214 * Fixed the searching for the file extension in CreateProcessW.
svn path=/trunk/; revision=3709
2002-11-05 20:54:10 +00:00
Hartmut Birr
811a27af00 * Fixed a wrong pointer initialization in RtlClearBits.
svn path=/trunk/; revision=3708
2002-11-05 20:52:38 +00:00
Hartmut Birr
3ec57dfda5 * Check for symbolic-links in ObFindObject.
svn path=/trunk/; revision=3707
2002-11-05 20:51:23 +00:00
Hartmut Birr
95b7092276 * Use the cache for images where the section offset is not page
alligned in MiReadPage.
* Removed a wrong call to MmReferencePage in MmPageOutSectionView.
* Fixed the length in MmAlterViewAttributes.
* Wait for releasing of the pageop in MmFreeSectionPage.
* Fixed some wrong return values in MmMapViewOfSection.

svn path=/trunk/; revision=3706
2002-11-05 20:50:02 +00:00
Hartmut Birr
9c17318aff * Used tagged memory for rmap entries.
svn path=/trunk/; revision=3705
2002-11-05 20:48:08 +00:00
Hartmut Birr
e4be6a3090 * Fixed the used and free block calculation.
* Allocate all blocks dword alligned and all big blocks (>=4K) page alligned.

svn path=/trunk/; revision=3704
2002-11-05 20:47:05 +00:00
Hartmut Birr
ffadffc82b * Fixed the allocation length for the mdl bitmap.
* Changed the bit allocation functions to RtlXxxBitMapYyy.
* Fixed the calculation of the starting point for free bitmap entries.

svn path=/trunk/; revision=3703
2002-11-05 20:45:09 +00:00
Hartmut Birr
ef586c33c1 * Fixed the calculation of the gap in MmFindGap.
* Serach for page alligned blocks in MmCreateMemorArea.

svn path=/trunk/; revision=3702
2002-11-05 20:43:35 +00:00
Hartmut Birr
4fcb4176f8 * Delete the virtual mapping first before the the mapped range
is freed in MmFreeNonPagedPoolRegion.
* Adujust AllocMapHint only if the reserved block starts at AllocMapHint.
* Changed the bit allocation functions to RtlXxxBitMapYyy.

svn path=/trunk/; revision=3701
2002-11-05 20:41:17 +00:00
Hartmut Birr
3d3d96c5d6 * Call KeBugcheck in MmDeletePageTable/MmFreePageTable if the
address points to the kernel address space.
* Check if an other process has inserted a kernel page directory
  entry while waiting for a page (MmGetPageEntry/MmGetPageEntry2).
* Check the kernel page directory only for an entry if the
  address points to the kernel address space (MmGetPageEntry1/2,
  MmDeleteVirtualMapping and MmDeletePageFileMapping).
* Disabled MmEnableVirtualMapping/MmDisableVirtualMapping.
  There is no difference between an entry with disabled mapping and
  a swap entry.

svn path=/trunk/; revision=3700
2002-11-05 20:39:03 +00:00
Hartmut Birr
a4b5d8a978 * Locking the address space before accessing it.
* Fixed some length calculations.

svn path=/trunk/; revision=3699
2002-11-05 20:35:33 +00:00
Hartmut Birr
4096437ab3 * Disabled all calls to MmEnableVirtualMapping/MmDisableVirtualMapping,
there is no difference for the page entry between a
  disabled mapping and a swap entry.

svn path=/trunk/; revision=3698
2002-11-05 20:31:34 +00:00
Hartmut Birr
fb46b3c16a * Fixed the buffer allocation in NtAccecptConnectedPort.
svn path=/trunk/; revision=3697
2002-11-05 20:27:56 +00:00
Hartmut Birr
39537ca751 * Setting the DeviceObject and Vbp for given FileObject to zero
if the open operation fails. The close and cleanup call must
  not route throught the FSD if the open call failed.
* Wait for the completion from FSD after the close/cleanup call.

svn path=/trunk/; revision=3696
2002-11-05 20:24:33 +00:00
Casper Hornstrup
1d57b8f66d 2002-11-03 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/tests/lpc/lpcclt.c: Change LPC_MESSAGE_HEADER to LPC_MESSAGE.
	* include/csrss/csrss.h: Ditto.
	* include/lsass/lsass.h: Ditto.
	* include/napi/dbg.h: Ditto.
	* include/napi/lpc.h: Ditto.
	* lib/kernel32/misc/console.c: Ditto.
	* lib/ntdll/csr/lpc.c: Ditto.
	* lib/ntdll/dbg/debug.c: Ditto.
	* lib/secur32/lsa.c: Ditto.
	* ntoskrnl/dbg/user.c: Ditto.
	* ntoskrnl/include/internal/port.h: Ditto.
	* ntoskrnl/lpc/connect.c: Ditto.
	* ntoskrnl/lpc/reply.c: Ditto.
	* ntoskrnl/ps/process.c: Ditto.
	* subsys/csrss/api/conio.c: Ditto.
	* subsys/csrss/api/process.c: Ditto.
	* subsys/csrss/api/user.c: Ditto.

svn path=/trunk/; revision=3692
2002-11-03 20:01:07 +00:00
Eric Kohl
614f689b29 Display drive letters in partition list.
svn path=/trunk/; revision=3691
2002-11-02 23:17:06 +00:00
Robert Dickenson
d6d5e1af3d Update for VALENTA and VALENTW type changes.
Change HANDLE to HKEY throughout.
Bugfix and memory leak fixed.

svn path=/trunk/; revision=3690
2002-11-02 13:55:06 +00:00
Robert Dickenson
781e188154 Created typedefs for VALENTA and VALENTW, deprecated common VALENT type.
svn path=/trunk/; revision=3689
2002-11-02 13:50:45 +00:00
David Welch
cb8ac201ad Don't crash when a mouse message doesn't fall inside a window.
svn path=/trunk/; revision=3687
2002-11-01 11:29:58 +00:00
David Welch
6072415050 Fixed race condition between psaux ISR and DPC.
svn path=/trunk/; revision=3686
2002-10-31 23:48:06 +00:00
Jason Filby
58aee3a2d8 Version 0.0.21
svn path=/trunk/; revision=3684
2002-10-31 17:50:55 +00:00
Hartmut Birr
b8114825ec Merged all exec* and spawn* functions in one source file.
svn path=/trunk/; revision=3683
2002-10-31 07:29:07 +00:00
Hartmut Birr
9b875ab82c Merged all exec* and spawn* functions in one source file.
Reduced some overhead.

svn path=/trunk/; revision=3682
2002-10-31 07:26:08 +00:00
Eric Kohl
ad6fb31ad3 Fixed warnings.
svn path=/trunk/; revision=3681
2002-10-31 01:50:00 +00:00
Eric Kohl
5294570a8d Fixed minor linker warning for native apps.
Only link against default libraries if TARGET_SDKLIBS is not set.

svn path=/trunk/; revision=3680
2002-10-31 00:48:27 +00:00
David Welch
ae67380311 Implemented mouse messages.
svn path=/trunk/; revision=3679
2002-10-31 00:03:31 +00:00
David Welch
5672a8cbc6 Removed surplus debug messages.
svn path=/trunk/; revision=3678
2002-10-31 00:02:01 +00:00
Brian Palmer
39204fdedc Fix for MS's idiocy on a Win98 boot disk I have.
Apparently they use ESP without initializing anything more than SP.

svn path=/trunk/; revision=3677
2002-10-30 23:05:17 +00:00
Eric Kohl
8cfdeb8c6b Fixed wrong r/o protection of excessive pages. Spotted by Jan Kratochvil.
svn path=/trunk/; revision=3676
2002-10-30 19:53:20 +00:00
Eric Kohl
92bb09bd8d Various improvements and hardcoded directory creation.
svn path=/trunk/; revision=3675
2002-10-29 18:40:02 +00:00
Rex Jolliff
385fdfdfeb revert of mass delete of the posix subsystem. perhaps there is hope for it yet.
svn path=/trunk/; revision=3674
2002-10-29 04:45:58 +00:00
Marty Dill
c29a543da5 Added stub for IsProcessorFeaturePresent() to stop LdrGetProcedureAddress from complaining.
svn path=/trunk/; revision=3673
2002-10-29 04:05:26 +00:00
Marty Dill
da8792228d Implemented PeekConsoleInputA().
svn path=/trunk/; revision=3672
2002-10-29 03:49:32 +00:00
Robert Dickenson
644b07f2e1 RtlOpenCurrentUser() freed a string a little to early in some circumstances - fixed.
svn path=/trunk/; revision=3671
2002-10-28 15:50:25 +00:00
Robert Dickenson
a650557ee6 Fixed up some typos.
svn path=/trunk/; revision=3670
2002-10-28 15:45:56 +00:00
Robert Dickenson
f0cbb2db03 Found the problem, local copy of win32k.c required here but not in repository?
svn path=/trunk/; revision=3669
2002-10-28 15:27:01 +00:00
Robert Dickenson
e6e5a8a75e Reverted addition of target win32k.a in the SDK import libs.
svn path=/trunk/; revision=3668
2002-10-28 15:20:37 +00:00
Robert Dickenson
859479e295 Revert one of the makefile changes.
Linking with TARGET_SDKLIBS = win32k.a proved to be a very bad idea!
Something is wrong with building csrss, what happened to subsys/csrss/win32k.c ???

svn path=/trunk/; revision=3667
2002-10-28 15:19:09 +00:00
Robert Dickenson
01637f8e7f Check for GMEM_ZEROINIT flag and pass HEAP_ZERO_MEMORY flag to RtlAllocateHeap if required.
svn path=/trunk/; revision=3666
2002-10-28 15:08:32 +00:00
Robert Dickenson
58d86a321d Added rule to build win32k.a for linking by csrss.
This is already in dk/nkm however there doesn't seem to be a make macro to reference this?

svn path=/trunk/; revision=3665
2002-10-28 15:04:58 +00:00
Robert Dickenson
fbbe455d39 Added some exports required by csrss to get things building again.
svn path=/trunk/; revision=3664
2002-10-28 15:03:18 +00:00
Robert Dickenson
4c028e84ab Updated with fix for missing win32k.lib imports
svn path=/trunk/; revision=3663
2002-10-28 15:02:18 +00:00
Robert Dickenson
572227dc48 Starting something for VDM support.
svn path=/trunk/; revision=3662
2002-10-28 13:59:59 +00:00
Robert Dickenson
821199a87a Removed files that don't belong in the repository.
svn path=/trunk/; revision=3661
2002-10-28 12:10:23 +00:00
David Welch
31c69eaf8a dos2unix'd some more files.
svn path=/trunk/; revision=3660
2002-10-26 09:53:16 +00:00
Casper Hornstrup
9bbe34eb81 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/msvcrt/except/seh.s: Fix end-of-line formatting.
	* lib/ntdll/rtl/i386/exception.c: Ditto.
	* lib/ntdll/rtl/i386/except.s: Ditto.
	* ntoskrnl/rtl/i386/except.s: Ditto.
	* ntoskrnl/rtl/i386/seh.s: Ditto.

svn path=/trunk/; revision=3659
2002-10-26 07:32:08 +00:00
Casper Hornstrup
b824c3ef39 *** empty log message ***
svn path=/trunk/; revision=3658
2002-10-26 00:38:01 +00:00
Casper Hornstrup
a1e055e943 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/msvcrt/Makefile (OBJECTS_EXCEPT): Add except/seh.o; Remove
	except/exhand3.o.
	* lib/msvcrt/except/exhand2.c (MsvcrtDebug): New function.
	* lib/msvcrt/except/unwind.c (PEXCEPTION_FRAME): Remove.
	(_global_unwind2): Correct prototype.
	* lib/ntdll/makefile (RTL_I386_OBJECTS, ARCH_OBJECTS): New groups.
	(TARGET_OBJECTS): Add ARCH_OBJECTS group.
	* lib/ntdll/rtl/exception.c (KiUserExceptionDispatcher): Set
	NumberParameters in exception record.
	(RtlRaiseStatus): Remove.
	* ntoskrnl/Makefile (OBJECTS_RTL): Remove rtl/seh.o.
	(OBJECTS_RTL_I386): Add rtl/i386/except.o, rtl/i386/exception.o, and
	rtl/i386/seh.o.
	* ntoskrnl/ke/catch.c (RtlpExecuteHandlerForException,
	RtlpDumpExceptionRegistrations, RtlpDispatchException,
	RtlpExecuteHandler, RtlpExceptionHandler, RtlpUnwindHandler,
	RtlpExecuteHandlerForException, RtlpExecuteHandlerForUnwind,
	RtlUnwind): Remove.
	(RtlpDispatchException): Add prototype.
	* ntoskrnl/ke/i386/usertrap.c (ExceptionTypeStrings): Remove.
	* ntoskrnl/ps/create.c (PsCreateTeb): Mark end of exception
	registration list.
	* tools/helper.mk (TARGET_ASFLAGS): Add -g if DBG = 1.
	* lib/msvcrt/except/exhand3.c: Remove.
	* ntoskrnl/rtl/seh.c: Ditto.
	* lib/msvcrt/except/seh.s: New file.
	* lib/ntdll/rtl/i386/except.s: Ditto.
	* lib/ntdll/rtl/i386/exception.c: Ditto.
	* ntoskrnl/rtl/i386/except.s: Ditto.
	* ntoskrnl/rtl/i386/exception.c: Ditto.
	* ntoskrnl/rtl/i386/seh.s: Ditto.

svn path=/trunk/; revision=3657
2002-10-26 00:32:19 +00:00
Casper Hornstrup
5437114eaa 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/kernel32/process/create.c (_except_handler): New function.
	(BaseProcessStart): Ditto.
	(KlCreateFirstThread): Return INVALID_HANDLE_VALUE on error; Call
	BaseProcessStart() before process entry point.
	* lib/kernel32/thread/thread.c (_except_handler): New function.
	(ThreadStartup): Protect thread using SEH constructs.

svn path=/trunk/; revision=3656
2002-10-25 22:59:55 +00:00
Casper Hornstrup
9e54d1d8d3 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddk/zw.h (NtProcessStartup): Use standard calling convention.
	* subsys/csrss/csrss.c (NtProcessStartup): Ditto.
	* subsys/smss/smss.c (NtProcessStartup): Ditto.
	* subsys/system/autochk/autochk.c (NtProcessStartup): Ditto.
	* subsys/system/usetup/usetup.c (NtProcessStartup): Ditto.

svn path=/trunk/; revision=3655
2002-10-25 22:08:21 +00:00
Casper Hornstrup
c28439db70 2002-10-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/tests/tokentest/tokentest.c (ROS_ACE_HEADER): Move field
	AccessMask ...
	(ROS_ACE): ... here.
	(DisplayDacl): Make pAce an ROS_ACE*; Use new path for AceType; Use
	sizeof(ACE) instead of sizeof(ACE_HEADER).
	* include/ntos/security.h (ACE_HEADER): Move field AccessMask ...
	(ACE): ... here.
	* lib/ntdll/rtl/acl.c: Use new path for AccessMask.
	* ntoskrnl/se/semgr.c: Ditto.
	* ntoskrnl/se/acl.c (SepInitDACLs): Use new path for AccessMask; Use
	sizeof(ACE) instead of sizeof(ACE_HEADER).
	* ntoskrnl/se/token.c (SepCreateSystemProcessToken): Use sizeof(ACE)
	instead of sizeof(ACE_HEADER).

svn path=/trunk/; revision=3654
2002-10-25 21:48:00 +00:00
KJK::Hyperion
6efd5e3b01 POSIX+ says goodbye and leaves. It used to be fun, now it's just painful
svn path=/trunk/; revision=3653
2002-10-24 23:29:19 +00:00
Steven Edwards
a42476b9fb added tests for StretchBlt, PatBlt and BitBlt by Damon Chandler
svn path=/trunk/; revision=3652
2002-10-24 07:46:43 +00:00
Eric Kohl
95bb94d117 Initialize registry hives only once.
svn path=/trunk/; revision=3651
2002-10-23 17:21:07 +00:00
Steven Edwards
e8f680ecbb Add some includes to fix part of building. (Adopt me)
svn path=/trunk/; revision=3650
2002-10-23 17:07:06 +00:00
Hartmut Birr
7e51468aab KeSetEvent must be called with Wait set to FALSE within a DPC.
svn path=/trunk/; revision=3649
2002-10-21 17:05:32 +00:00
Marty Dill
66e64009cd Revert last changes.
svn path=/trunk/; revision=3648
2002-10-21 00:53:33 +00:00
Marty Dill
552baccb19 Implemented SubtractRect(). Misc fixes.
svn path=/trunk/; revision=3647
2002-10-20 23:57:03 +00:00
Marty Dill
f56af542aa Implemented FreeEnvironmentStringsW().
svn path=/trunk/; revision=3646
2002-10-20 23:56:05 +00:00
Eric Kohl
bb4e509794 Implemented [Get/Set]ProcessShutdownParameters().
svn path=/trunk/; revision=3645
2002-10-20 16:40:12 +00:00
Eric Kohl
31789101ee Implemented RegisterServicesProcess() and ExitWindowsEx() partially.
svn path=/trunk/; revision=3644
2002-10-20 14:54:34 +00:00
Robert Dickenson
e1365d9be6 Bugfix for ascii-hex conversions.
svn path=/trunk/; revision=3643
2002-10-20 13:55:09 +00:00
Casper Hornstrup
aa9fe526e2 2002-10-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/napi/teb.h (RTL_USER_PROCESS_PARAMETERS): Use field names
	as described in Windows NT/2000 Native API Reference.
	* lib/kernel32/file/file.c: Use new field names.
	* lib/kernel32/misc/console.c: Ditto.
	* lib/kernel32/process/create.c: Ditto.
	* lib/kernel32/process/proc.c: Ditto.
	* lib/ntdll/rtl/path.c: Ditto.
	* lib/ntdll/rtl/ppb.c: Ditto.
	* lib/ntdll/rtl/process.c: Ditto.

svn path=/trunk/; revision=3642
2002-10-20 11:56:00 +00:00
Robert Dickenson
bab254e373 Part of patch contributed by Gunnar Andr� Dalsnes.
svn path=/trunk/; revision=3641
2002-10-20 03:34:00 +00:00
Robert Dickenson
db067a2011 Part of patch contributed by Gunnar Andr� Dalsnes.
svn path=/trunk/; revision=3640
2002-10-20 03:13:51 +00:00
Marty Dill
4add2cf6f0 -Implemented GetNumberOfConsoleInputEvents and ReadConsoleOutputAttribute
-Added definition of CONSOLE_SELECTION_INFO struct
-Added stubs for GetConsoleSelectionInfo, GetConsoleProcessList, and AttachConsole
-Fixed prototypes for AddConsoleAlias[AW]

svn path=/trunk/; revision=3639
2002-10-20 00:34:40 +00:00
Casper Hornstrup
0f48860c6c 2002-10-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ntos.h: Include relevant files.
	* include/internal/ke.h: Include files relative to
	ntoskrnl/include.
	* include/internal/arch/ke.h: Ditto.

svn path=/trunk/; revision=3638
2002-10-19 14:24:16 +00:00
Emanuele Aliberti
21f3631d43 PAGESIZE to PAGE_SIZE.
svn path=/trunk/; revision=3637
2002-10-18 21:56:39 +00:00
Eric Kohl
a190455587 Implemented selection of install partition and directory.
svn path=/trunk/; revision=3635
2002-10-18 20:04:00 +00:00
Hartmut Birr
50d4270639 Fixed the initializing of the memory map for reactos.
svn path=/trunk/; revision=3634
2002-10-16 16:39:15 +00:00
Robert Dickenson
96dce91abb Added MODE command.
svn path=/trunk/; revision=3633
2002-10-16 01:47:11 +00:00
Robert Dickenson
89e00ddbac Added some support for the MODE command.
svn path=/trunk/; revision=3632
2002-10-16 01:45:49 +00:00
Eugene Ingerman
f576feb997 Work around environment variables size limitation of make program.
svn path=/trunk/; revision=3631
2002-10-09 07:11:24 +00:00
Robert Dickenson
97575f89c9 Added define _USE_NE2000 with increased tracing level instead of #if 0 block to bind stack to NIC.
svn path=/trunk/; revision=3630
2002-10-07 12:44:51 +00:00
Robert Dickenson
273ae68ba9 Added backdoor check for _BLOB_DEFINED to prevent header conflict.
svn path=/trunk/; revision=3629
2002-10-07 12:40:41 +00:00
Robert Dickenson
6cf061fde8 Changed GUID_DEFINED to _GUID_DEFINED for compatibility (prevent conflict) with mingw headers.
svn path=/trunk/; revision=3628
2002-10-07 12:34:33 +00:00
Robert Dickenson
4fbeb6d1f1 Quick fix to prevent bochs users experiencing aborts on load.
New basic WDM serial driver still being worked on.

svn path=/trunk/; revision=3627
2002-10-06 13:16:26 +00:00
Jason Filby
86d248e99b DIB color fix, palette fix
svn path=/trunk/; revision=3626
2002-10-05 17:13:16 +00:00
David Welch
a686f1e6f4 Implemented IO work queue functions using the system work queues.
svn path=/trunk/; revision=3625
2002-10-05 10:53:37 +00:00
Steven Edwards
34f0970179 New line fix for gcc 3.x
svn path=/trunk/; revision=3623
2002-10-03 20:57:13 +00:00
Steven Edwards
c95ee52187 New line fix for gcc 3.x
svn path=/trunk/; revision=3622
2002-10-03 20:49:03 +00:00
Robert Dickenson
f312c1f4c7 Simple test program for Serial Driver testing.
svn path=/trunk/; revision=3621
2002-10-03 19:43:31 +00:00
Robert Dickenson
d58db5470b Added exports to def/edf files and modified some pnp functions.
svn path=/trunk/; revision=3620
2002-10-03 19:39:56 +00:00
Robert Dickenson
f787714862 Added call to possibly tempory IoInitializeWorkerThreads.
svn path=/trunk/; revision=3619
2002-10-03 19:34:50 +00:00
Robert Dickenson
75a4e11044 Added comment about problem discovered when testing packet.sys
svn path=/trunk/; revision=3618
2002-10-03 19:33:07 +00:00
Steven Edwards
f10756010c 1. stub sndPlaySnd[A/W] to keep notepad from bitching
2. gcc 3.x end of line fix

svn path=/trunk/; revision=3617
2002-10-03 19:32:05 +00:00
Robert Dickenson
a5ba8c663e Included new file io/iowork.c in build.
svn path=/trunk/; revision=3616
2002-10-03 19:29:09 +00:00
Robert Dickenson
4251d141a6 Enabled entry for STATUS_OBJECT_NAME_EXISTS
svn path=/trunk/; revision=3615
2002-10-03 19:28:31 +00:00
Robert Dickenson
73905b2cdb Replaced original with version from FreeDDK and tested fine. One less to merge later....
svn path=/trunk/; revision=3614
2002-10-03 19:27:51 +00:00
Robert Dickenson
48d7bdc4d9 Added required defines and typedefs for ntoskrnl/io modules.
svn path=/trunk/; revision=3613
2002-10-03 19:26:47 +00:00
Robert Dickenson
a46d78f359 Added prototype for IoInitializeWorkerThreads, possibly temporary.
svn path=/trunk/; revision=3612
2002-10-03 19:24:24 +00:00
Robert Dickenson
95d4c902d7 Make WinCVS look a little cleaner.
svn path=/trunk/; revision=3611
2002-10-03 19:22:53 +00:00
Robert Dickenson
fc9c5cf9a4 Some debug macro changes.
svn path=/trunk/; revision=3610
2002-10-03 19:22:27 +00:00
Robert Dickenson
c5384d5b78 Added new file. Lots of research and work required to make it work.
svn path=/trunk/; revision=3609
2002-10-03 19:17:26 +00:00
Robert Dickenson
feef5457b3 Fix for DeviceIoControl masking FILE_DEVICE_FILE_SYSTEM incorrectly.
Anybody familiar with this module please review.

svn path=/trunk/; revision=3608
2002-10-03 19:09:04 +00:00
Steven Edwards
445f205034 End of file fix for gcc 3.x
svn path=/trunk/; revision=3607
2002-10-03 18:34:09 +00:00
Steven Edwards
3c1edaacd4 End of line fix for gcc 3.x
svn path=/trunk/; revision=3606
2002-10-03 18:28:22 +00:00
Robert Dickenson
2a2fb0f8d3 Implemented many of the ComXX exports.
svn path=/trunk/; revision=3605
2002-10-03 18:26:53 +00:00
Robert Dickenson
d983ce92fe Added ntddser.h from FreeDDK for Serial Driver development.
svn path=/trunk/; revision=3604
2002-10-03 18:06:23 +00:00
Hartmut Birr
d6d2e95044 Fixed the start value for the time calculation in time2.
svn path=/trunk/; revision=3603
2002-10-03 17:17:35 +00:00
Eric Kohl
df43e0e3f8 Added some commnets.
Changed valid slot numbers from 0-7 to 1-8.
Reset (leave) setup-mode for slot after reading POS data.

svn path=/trunk/; revision=3602
2002-10-03 09:11:00 +00:00
guido
5073fe8a33 removed duplicate type definition
svn path=/trunk/; revision=3601
2002-10-02 21:08:24 +00:00
Eric Kohl
3d254b8d29 Added minimal MicroChannel bus handler.
svn path=/trunk/; revision=3600
2002-10-02 19:32:57 +00:00
Hartmut Birr
bf6ff83636 Added CcFlushCache and CcGetFileObjectFromSectionPtrs.
svn path=/trunk/; revision=3599
2002-10-02 19:25:19 +00:00
Hartmut Birr
9f97892ffa Release the cache segment if the reading of it fails (in CcMapData).
svn path=/trunk/; revision=3598
2002-10-02 19:23:42 +00:00
Hartmut Birr
68d5450c51 Release the BcbLock before there is a call to CcRosFreeCacheSegment (in CcSetFileSizes).
svn path=/trunk/; revision=3597
2002-10-02 19:22:06 +00:00
Hartmut Birr
8aca0dc370 Modified some functions, changed the sequence for acquiring some of
the protection elements (VieLock, BcbLock, SegmentLock..) and protected
the access to some elements with the associated locking element.
Implemented CcFlushCache and CcGetFileObjectFromSectionPtrs.

svn path=/trunk/; revision=3596
2002-10-02 19:20:51 +00:00
Emanuele Aliberti
ef773a3f6b PSX: minor changes to the 'posix' module for enabling full compilation.
Q: should the dk for a subsystem be contained in that subsystem's tree?

svn path=/trunk/; revision=3595
2002-10-01 20:21:45 +00:00
Casper Hornstrup
1e847489e4 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/dd/floppy/floppy.c: Changed PAGESIZE to PAGE_SIZE.
	* drivers/fs/cdfs/fcb.c: Ditto.
	* drivers/fs/cdfs/fsctl.c: Ditto.
	* drivers/fs/cdfs/rw.c: Ditto.
	* drivers/fs/ext2/dir.c: Ditto.
	* drivers/fs/ext2/inode.c: Ditto.
	* drivers/fs/ext2/rw.c: Ditto.
	* drivers/fs/ext2/super.c: Ditto.
	* drivers/fs/minix/blockdev.c: Ditto.
	* drivers/fs/minix/cache.c: Ditto.
	* drivers/fs/minix/inode.c: Ditto.
	* drivers/fs/minix/rw.c: Ditto.
	* drivers/fs/ntfs/fcb.c: Ditto.
	* drivers/fs/ntfs/ntfs.h: Ditto.
	* drivers/fs/vfat/create.c: Ditto.
	* drivers/fs/vfat/direntry.c: Ditto.
	* drivers/fs/vfat/dirwr.c: Ditto.
	* drivers/fs/vfat/fat.c: Ditto.
	* drivers/fs/vfat/fcb.c: Ditto.
	* drivers/fs/vfat/fsctl.c: Ditto.
	* drivers/fs/vfat/rw.c: Ditto.
	* drivers/storage/class2/class2.c: Ditto.
	* drivers/storage/scsiport/scsiport.c: Ditto.
	* hal/halx86/adapter.c: Ditto.
	* hal/halx86/mp.c: Ditto.
	* include/ddk/mmfuncs.h: Ditto.
	* include/ddk/mmtypes.h: Ditto.
	* include/ddk/i386/pagesize.h: Ditto.
	* include/ntdll/pagesize.h: Ditto.
	* lib/kernel32/process/create.c: Ditto.
	* lib/kernel32/thread/thread.c: Ditto.
	* lib/ntdll/ldr/utils.c: Ditto.
	* lib/ntdll/rtl/env.c: Ditto.
	* lib/ntdll/rtl/heap.c: Ditto.
	* lib/ntdll/rtl/ppb.c: Ditto.
	* lib/ntdll/rtl/process.c: Ditto.
	* lib/ntdll/rtl/thread.c: Ditto.
	* ntoskrnl/cc/copy.c: Ditto.
	* ntoskrnl/cc/view.c: Ditto.
	* ntoskrnl/ex/sysinfo.c: Ditto.
	* ntoskrnl/include/internal/i386/mm.h: Ditto.
	* ntoskrnl/io/mdl.c: Ditto.
	* ntoskrnl/ke/kthread.c: Ditto.
	* ntoskrnl/ke/i386/kernel.c: Ditto.
	* ntoskrnl/ldr/init.c: Ditto.
	* ntoskrnl/ldr/loader.c: Ditto.
	* ntoskrnl/mm/anonmem.c: Ditto.
	* ntoskrnl/mm/cont.c: Ditto.
	* ntoskrnl/mm/freelist.c: Ditto.
	* ntoskrnl/mm/iospace.c: Ditto.
	* ntoskrnl/mm/kmap.c: Ditto.
	* ntoskrnl/mm/marea.c: Ditto.
	* ntoskrnl/mm/mdl.c: Ditto.
	* ntoskrnl/mm/mminit.c: Ditto.
	* ntoskrnl/mm/ncache.c: Ditto.
	* ntoskrnl/mm/npool.c: Ditto.
	* ntoskrnl/mm/pagefile.c: Ditto.
	* ntoskrnl/mm/pageop.c: Ditto.
	* ntoskrnl/mm/section.c: Ditto.
	* ntoskrnl/mm/slab.c: Ditto.
	* ntoskrnl/mm/i386/page.c: Ditto.
	* ntoskrnl/ob/handle.c: Ditto.
	* ntoskrnl/ps/create.c: Ditto.
	* ntoskrnl/ps/process.c: Ditto.
	* ntoskrnl/ps/w32call.c: Ditto.
	* subsys/win32k/include/object.h: Ditto.

svn path=/trunk/; revision=3594
2002-10-01 19:27:25 +00:00
Casper Hornstrup
e10af6e59e 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/ntdll/string/ctype.c: Undefine __MSVCRT__ to not have mingw
	runtime import _pctype.

svn path=/trunk/; revision=3593
2002-10-01 18:57:23 +00:00
Jurgen van Gael
768a5a2297 FIX:previous was wrong file
svn path=/trunk/; revision=3592
2002-10-01 12:57:23 +00:00
Jurgen van Gael
a98d50ca9b FIX:memory leak - font objects got create for every WM_PAINT message and never deleted
svn path=/trunk/; revision=3591
2002-10-01 12:52:00 +00:00
Eugene Ingerman
c6002facd3 1. Cleanup GDI objects when process is deleted.
2. Bug fixes.

svn path=/trunk/; revision=3590
2002-10-01 06:41:57 +00:00
Brian Palmer
784dc1a198 Changes in v1.7.9 (9/30/2002) (brianp)
- Fix for bug in BiosInt13ReadExtended() (biosdisk.S)
  by Christophe Bothamy & Mike Lerwill

svn path=/trunk/; revision=3589
2002-09-30 23:30:32 +00:00
Casper Hornstrup
7b7130b9ca 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/misc/desktop.c (string.h): Include.
	* lib/user32/misc/resources.c: Ditto.
	* lib/user32/misc/winhelp.c: Ditto.
	* lib/user32/windows/accel.c: Ditto.
	* lib/user32/windows/bitmap.c: Ditto.
	* subsys/win32k/freetype/ctype.c: Undefine __MSVCRT__ and _pctype to not
	have mingw runtime import _pctype.

svn path=/trunk/; revision=3588
2002-09-30 21:21:38 +00:00
Hartmut Birr
beb75552bb Replaced EXE_SUFFIX with EXE_POSTFIX.
svn path=/trunk/; revision=3587
2002-09-30 21:02:54 +00:00
Hartmut Birr
5bb8c3c68f WideCharToMultiByte accept each code page like MultiByteToWideChar.
Wmc.exe will now produce correct header files (bugcode.h) on ros.

svn path=/trunk/; revision=3586
2002-09-30 21:01:32 +00:00
Hartmut Birr
d9c63079bb Fixed the value for dwHighDateTime in SystemTimeToFileTime.
svn path=/trunk/; revision=3585
2002-09-30 20:59:39 +00:00
Hartmut Birr
dad0922fda Fixed the value for EPOCHWEEKDAY.
Improve converting speed in RtlTimeToTimeFields.

svn path=/trunk/; revision=3584
2002-09-30 20:57:54 +00:00
Hartmut Birr
ffe7ccffd2 Release PiThreadListLock before KeReleaseThread is called in PiDeleteThread.
svn path=/trunk/; revision=3583
2002-09-30 20:56:17 +00:00
Casper Hornstrup
f5eae01623 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/cc/view.c (alloca): Prototype.
	* ntoskrnl/rtl/ctype.c: Undefine __MSVCRT__ to not have mingw runtime
	import _pctype.

svn path=/trunk/; revision=3582
2002-09-30 20:55:33 +00:00
Hartmut Birr
80d9dd3cc3 Fixed the value for EPOCHWEEKDAY.
svn path=/trunk/; revision=3581
2002-09-30 20:54:59 +00:00
Hartmut Birr
1ad57518fc Changed from OrginalFileObject to the FileObject from current stack location in IoIsOperationSynchronous.
svn path=/trunk/; revision=3580
2002-09-30 20:53:38 +00:00
Hartmut Birr
2b72f3d894 Changed the allocation function from ExAllocatePool to ExAllocatePoolWithTag in ExpDefaultAllocate.
svn path=/trunk/; revision=3579
2002-09-30 20:52:23 +00:00
Hartmut Birr
7a4a78d0b1 Removed VfatIoIsOperationSynchronous and changed back to IoIsOperationSynchronous.
svn path=/trunk/; revision=3578
2002-09-30 20:49:44 +00:00
Hartmut Birr
749530e630 Free the DirectorySeachPattern.
svn path=/trunk/; revision=3577
2002-09-30 20:48:43 +00:00
Hartmut Birr
a2d32d6cf7 Changed the starting cluster for the call to OffsetToCluster in VfatSetAllocationSizeInformation
from current cluster to the first cluster of a file or directory.
Do not set the new size for directories in VfatSetAllocationSizeInformation.

svn path=/trunk/; revision=3576
2002-09-30 20:47:28 +00:00
David Welch
5f0f163996 Use the correct bit order.
svn path=/trunk/; revision=3575
2002-09-30 19:45:19 +00:00
David Welch
5daca85b58 Fix for wrongly disabling interrupts causing system time loss.
svn path=/trunk/; revision=3574
2002-09-30 19:43:33 +00:00
Jason Filby
dc908bafd1 Perform color translation for 4BPP to 4BPP DIBs
svn path=/trunk/; revision=3573
2002-09-28 22:23:36 +00:00
Jason Filby
d166ac40b1 Draw minimize and maximize buttons with smaller, correct, metrics
svn path=/trunk/; revision=3572
2002-09-28 22:13:28 +00:00
Hartmut Birr
bf59f99dac Fixed the conversion in MultiByteToWideChar. Wmc.exe does now running on ros.
svn path=/trunk/; revision=3571
2002-09-27 15:29:03 +00:00
Hartmut Birr
7c651fda9c Fixed the calculation of leap days in RtlTimeToTimeFields.
svn path=/trunk/; revision=3570
2002-09-27 15:23:03 +00:00
David Welch
51ee9ffb3d Added nicer looking default mouse cursor.
Draw a mouse cursor as a pair of AND and XOR masks.
Speedup saving the screen area behind the mouse cursor by blitting it to
a non-displayed part of the frame buffer.

svn path=/trunk/; revision=3569
2002-09-25 21:21:36 +00:00
Hartmut Birr
9b17dd2a05 Stored the return value in the location given by the parameter (in function time()).
svn path=/trunk/; revision=3568
2002-09-25 16:31:36 +00:00
Eric Kohl
db14727518 Added more setup 'pages'. No install functionality yet.
svn path=/trunk/; revision=3567
2002-09-25 14:48:35 +00:00
Robert Dickenson
2ef96cd555 Added serial to the device_drivers target list.
svn path=/trunk/; revision=3566
2002-09-25 12:49:12 +00:00
Robert Dickenson
c08624515a Moved location of serial driver entry to prevent very strange behaviour of serial appearing to load multiple times as currently seen under bochs.
svn path=/trunk/; revision=3565
2002-09-25 12:45:13 +00:00
Brian Palmer
c3457c3890 Added more compiler flags
svn path=/trunk/; revision=3564
2002-09-25 04:22:37 +00:00
Steven Edwards
7222eece5c added test for mktime()
svn path=/trunk/; revision=3563
2002-09-25 01:09:49 +00:00
Jason Filby
559919d821 Added missing palette.h
svn path=/trunk/; revision=3562
2002-09-24 20:25:49 +00:00
Jason Filby
bf2d96d820 Win32k fixes including better 1BPP support
svn path=/trunk/; revision=3561
2002-09-24 20:22:10 +00:00
guido
25c608fd37 added .cvsignore
svn path=/trunk/; revision=3560
2002-09-24 19:50:47 +00:00
guido
895e809d7a changed backslash to slash
(I'm probably the only one having trouble with backslashes ...)

svn path=/trunk/; revision=3559
2002-09-24 19:34:18 +00:00
Steven Edwards
afbe90de84 added install for winmm.dll
svn path=/trunk/; revision=3558
2002-09-24 18:45:56 +00:00
Steven Edwards
230dc66a3a Added blank winmm.dll with one stub to try and get bochs working.
svn path=/trunk/; revision=3557
2002-09-24 18:45:32 +00:00
Steven Edwards
2e6e06f683 Change caption from Task Manager to ReactOS Task Manager
svn path=/trunk/; revision=3556
2002-09-24 16:45:12 +00:00
Robert Dickenson
5f1366aacc Updated with latest version changes to original source.
svn path=/trunk/; revision=3555
2002-09-24 15:16:46 +00:00
Robert Dickenson
2217a4d789 Temporary workaround to prevent bochs trouble.
svn path=/trunk/; revision=3554
2002-09-24 15:12:33 +00:00
Robert Dickenson
e7c419950d Added calls to INIT_TAG for better debugging messages.
svn path=/trunk/; revision=3553
2002-09-24 15:11:34 +00:00
Robert Dickenson
44572b3e1e Suspicious call to ExFreePool commented out for peer review?
svn path=/trunk/; revision=3552
2002-09-24 15:10:35 +00:00
Robert Dickenson
be84fb0f1c Updated with latest version changes to original source by Politecnico di Torino.
svn path=/trunk/; revision=3551
2002-09-24 15:08:14 +00:00
Robert Dickenson
eda8dee587 Addition of control panel applet support to shell32. Still need to clean local and do build testing. More to come soon.
svn path=/trunk/; revision=3550
2002-09-24 15:06:10 +00:00
Robert Dickenson
939bdcdace Doing some work on the serial driver.
svn path=/trunk/; revision=3549
2002-09-24 14:59:32 +00:00
Robert Dickenson
066f6e3fdc Added new registry entries in support of the network components.
svn path=/trunk/; revision=3548
2002-09-24 14:58:54 +00:00
Robert Dickenson
8f5a73d237 Added new targets to the copy list.
svn path=/trunk/; revision=3547
2002-09-24 14:47:27 +00:00
Robert Dickenson
0ea72c53bc Added targets for getting new import libraries built.
svn path=/trunk/; revision=3546
2002-09-24 14:44:15 +00:00
Robert Dickenson
954cb157af Test app for some visibility on whats in the registry.
svn path=/trunk/; revision=3545
2002-09-24 14:41:55 +00:00
Robert Dickenson
6179622668 Added SNMP Error Codes.
svn path=/trunk/; revision=3544
2002-09-24 14:37:04 +00:00
Robert Dickenson
803e49c960 Very minor updates in support of network applications development.
svn path=/trunk/; revision=3543
2002-09-24 14:35:49 +00:00
Robert Dickenson
6ee5647f7b Minor fix to get ROS pinging reliably over ne2000 as tested on hardware and bochs.
svn path=/trunk/; revision=3542
2002-09-24 14:34:41 +00:00
Robert Dickenson
55fe4b8ca1 Misc updates and additions to as yet only partial applications.
svn path=/trunk/; revision=3541
2002-09-24 14:26:47 +00:00
Robert Dickenson
edfa8a7002 Sync'ing remaining changes after recent CVS problems. Seem to now have my route back!
svn path=/trunk/; revision=3540
2002-09-24 14:22:48 +00:00
Steven Edwards
5902c7241e End of line fix for gcc 3.x, other misc fixes for 3x
svn path=/trunk/; revision=3539
2002-09-24 03:57:59 +00:00
Steven Edwards
2e1536cfa6 End of line fix for gcc 3.x
svn path=/trunk/; revision=3538
2002-09-24 03:43:25 +00:00
Steven Edwards
19c7a64cf1 added install for regression test suite
svn path=/trunk/; revision=3537
2002-09-23 23:50:43 +00:00
guido
fec8acf355 re-added some files and fixed a few errors
svn path=/trunk/; revision=3536
2002-09-23 21:22:42 +00:00
guido
cd5724441e added clean rule
svn path=/trunk/; revision=3535
2002-09-23 20:09:10 +00:00
Steven Edwards
41f1cd4bda Added some stubbs for the WINE kernel32 regression test
svn path=/trunk/; revision=3534
2002-09-23 19:20:34 +00:00
Jason Filby
ee7cad8534 Added dibtest - only 1BPP test for now
svn path=/trunk/; revision=3533
2002-09-22 20:09:01 +00:00
guido
44279ad4aa added .cvsignore
svn path=/trunk/; revision=3532
2002-09-22 18:53:37 +00:00
guido
43cd157b8f updated .cvsignore
svn path=/trunk/; revision=3531
2002-09-22 18:52:45 +00:00
guido
4f8b6f7d02 added port of freedos find command
svn path=/trunk/; revision=3530
2002-09-22 18:41:59 +00:00
guido
714d720147 minor fix for 'dist'
svn path=/trunk/; revision=3529
2002-09-22 18:41:16 +00:00
David Welch
02d56c87f1 Accelerate PATCOPY blits.
svn path=/trunk/; revision=3528
2002-09-21 18:05:25 +00:00
Jason Filby
93dd94f0db Minor fixes
svn path=/trunk/; revision=3527
2002-09-21 10:39:54 +00:00
Jason Filby
2f3e32bfea Windows now show captions
svn path=/trunk/; revision=3526
2002-09-20 21:55:50 +00:00
Eugene Ingerman
088dbb0953 Patch by Hartmut Birr: protect IrpFlags with spinlock.
svn path=/trunk/; revision=3525
2002-09-20 05:40:28 +00:00
Jason Filby
d0a1f447f1 Corrected comment
svn path=/trunk/; revision=3524
2002-09-19 22:56:14 +00:00
Jason Filby
dfcf977473 Text alignment should be TA_TOP for a new DC
svn path=/trunk/; revision=3523
2002-09-19 22:41:57 +00:00
Eric Kohl
db1b121d20 Major rework.
Fixed keyboard bug.

svn path=/trunk/; revision=3522
2002-09-19 16:21:15 +00:00
Eric Kohl
f38f607dc4 Moved SCSI headers because they are used by usetup.
svn path=/trunk/; revision=3521
2002-09-19 16:18:50 +00:00
David Welch
af353b6572 Create a PDEV for the display driver only once.
svn path=/trunk/; revision=3520
2002-09-18 23:56:48 +00:00
KJK::Hyperion
c14f0762b7 Temporary getopt.h. MingW doesn't define getopt() anywhere, but ships with libiberty, that implements it. This file temporarily fills the gap
svn path=/trunk/; revision=3519
2002-09-18 01:09:10 +00:00
David Welch
b3aca5f5cc Pass only the base name of a module.
svn path=/trunk/; revision=3518
2002-09-17 23:48:14 +00:00
David Welch
93381cbd04 More user fixes.
svn path=/trunk/; revision=3517
2002-09-17 23:46:23 +00:00
David Welch
8874b95126 Misc. user fixes.
svn path=/trunk/; revision=3516
2002-09-17 23:43:29 +00:00
David Welch
57e810c555 Misc. user fixes.
Don't load FPU or debug register data unless requested.

svn path=/trunk/; revision=3515
2002-09-17 23:41:44 +00:00
Jason Filby
8c69edcca7 Fixes for DIBs to show with correct vertical orientation
svn path=/trunk/; revision=3514
2002-09-17 23:20:44 +00:00
Jason Filby
319a04a8a0 Remove unneeded floating point code
svn path=/trunk/; revision=3513
2002-09-17 21:39:10 +00:00
Hartmut Birr
60457afcdc Changed the detection of the last session from IOCTL_CDROM_READ_TOC to IOCTL_CDROM_GET_LAST_SESSION.
Fixed the calculation of the VolumeOffset.

svn path=/trunk/; revision=3512
2002-09-17 20:42:59 +00:00
Hartmut Birr
fe3896a798 added support for IOCTL_CDROM_GET_LAST_SESSION.
svn path=/trunk/; revision=3511
2002-09-17 20:35:22 +00:00
guido
11e344c9df fix calculation of InitSize and correctly set edx in the trap frame
svn path=/trunk/; revision=3510
2002-09-17 16:41:22 +00:00
Hartmut Birr
28bdb2c847 Fixed a wrong length in CdfsReadFile.
svn path=/trunk/; revision=3509
2002-09-15 22:26:52 +00:00
Hartmut Birr
520643c107 Added support for multi session CD's.
svn path=/trunk/; revision=3508
2002-09-15 22:25:05 +00:00
Hartmut Birr
3c54f08801 Added CdfsSetPosition/CdfsSetInformation.
svn path=/trunk/; revision=3507
2002-09-15 22:23:23 +00:00
Hartmut Birr
9083e6bddd Check some attributes in CdfsCreateFile.
svn path=/trunk/; revision=3506
2002-09-15 22:21:40 +00:00
Hartmut Birr
c7c45f9bac Added support for IOCTL_CDROM_READ_TOC.
svn path=/trunk/; revision=3505
2002-09-15 22:19:16 +00:00
guido
c9aa7a8462 Initialisation of debugging and floating point registers in
PsBeginThread*.

svn path=/trunk/; revision=3504
2002-09-15 13:49:57 +00:00
guido
2b22998369 Switch i287 fpu, if present, into protected mode (ignored on i387) and
properly initialize some variables.

svn path=/trunk/; revision=3503
2002-09-15 10:45:05 +00:00
guido
50bd524398 Fix building using gcc-2.95
svn path=/trunk/; revision=3502
2002-09-14 13:10:45 +00:00
guido
347f421015 Ported SORT command form FreeDOS
svn path=/trunk/; revision=3501
2002-09-13 21:40:28 +00:00
Jason Filby
8678f12e61 Initial support for 1BPP
svn path=/trunk/; revision=3500
2002-09-13 20:36:06 +00:00
Hartmut Birr
8b3648cad0 Increased the search buffer for InternalFindFirstFile/InternalFindNextFile.
Changed from single entry to multiple entries in InternalFindNextFile.

svn path=/trunk/; revision=3497
2002-09-13 19:03:40 +00:00
Hartmut Birr
5d53de65e2 Improve converting speed in RtlTimeFieldsToTime/RtlTimeFieldsToTime.
Fixed an error if the month is negativ in RtlTimeFieldsToTime.

svn path=/trunk/; revision=3496
2002-09-13 18:58:36 +00:00
Hartmut Birr
61e3f21f42 Check for CREATE_UNICODE_ENVIRONMENT in CreateProcessA.
svn path=/trunk/; revision=3495
2002-09-13 18:55:31 +00:00
Hartmut Birr
0542fdd563 Use the functions from ntdll in SystemeTimeToFileTime/FileTimeToSystemTime.
svn path=/trunk/; revision=3494
2002-09-13 18:53:17 +00:00
Hartmut Birr
5c88f1916c Fixed some problems which occurs if a directory goes over the sector (2048 byte) boundary.
Save the current directory offset in the ccb for increasing the speed for countinous directory queries.

svn path=/trunk/; revision=3493
2002-09-13 18:51:01 +00:00
Hartmut Birr
eec75375c4 Fixed a buffer overflow if there is given a not null terminated string with a precision parameter.
Reduced some overhead for outputing strings.
Added handling of the precision parameter for counted strings.
Return the outputed character count (or an error) in __vf(w)printf.

svn path=/trunk/; revision=3492
2002-09-13 18:48:42 +00:00
Hartmut Birr
3f316cde99 Fixed a buffer overflow if there is given a not null terminated string with a precision parameter.
Added handling of the precision parameter for counted strings.
Reduced some overhead for strings.

svn path=/trunk/; revision=3491
2002-09-13 18:45:10 +00:00
Hartmut Birr
1950866768 Reduced some overhead for strings.
Added handling of the precision parameter for counted strings.

svn path=/trunk/; revision=3490
2002-09-13 18:43:01 +00:00
guido
8d4571bdf3 Fix case sensitivity problem
svn path=/trunk/; revision=3489
2002-09-12 18:08:54 +00:00
guido
c8227ebcc5 Prevent buffer overflows in vsn(w)printf
svn path=/trunk/; revision=3488
2002-09-12 17:50:42 +00:00
Steven Edwards
19a7100f39 Fixed text output for simple messagebox test
svn path=/trunk/; revision=3487
2002-09-11 22:34:40 +00:00
KJK::Hyperion
0ddd0152c2 Path to SMSS can be now set in the registry value REGISTRY\MACHINE\SYSTEM\CurrentControlSet\Session Manager\Path. The code is temporarily disabled because it hasn't been tested yet
svn path=/trunk/; revision=3486
2002-09-11 19:36:14 +00:00
Robert Dickenson
dc91eccd19 Replaced many CPP modules with C ones. All filenames now lowercase 8.3 format. Now builds as UNICODE or ANSI.
svn path=/trunk/; revision=3485
2002-09-10 02:07:02 +00:00
Robert Dickenson
ef39f0a5aa Removed obsolete cpp modules ready for new imports.
svn path=/trunk/; revision=3484
2002-09-10 02:01:38 +00:00
Steven Edwards
a0797d5f25 added patch submitted by Guido de Jong
svn path=/trunk/; revision=3483
2002-09-09 22:49:00 +00:00
Steven Edwards
f17812383d added patch submitted by Guido de Jong
svn path=/trunk/; revision=3482
2002-09-09 22:36:40 +00:00
Steven Edwards
8d67244770 added patch submitted by Guido de Jong
svn path=/trunk/; revision=3481
2002-09-09 22:27:57 +00:00
Hartmut Birr
4b6d4d065b Added CdfsCleanup.
svn path=/trunk/; revision=3480
2002-09-09 17:27:14 +00:00
Hartmut Birr
b06d4dcc2f Changed initialization/deinitialization of caching.
svn path=/trunk/; revision=3479
2002-09-09 17:26:24 +00:00
Hartmut Birr
b35e9d39b5 Free the DirectorySeachPattern.
svn path=/trunk/; revision=3478
2002-09-09 17:25:39 +00:00
KJK::Hyperion
af0e0e9ab6 Trivial syntax error
svn path=/trunk/; revision=3477
2002-09-08 23:28:11 +00:00
Eric Kohl
5c1d53b4eb Added initial console setup code.
svn path=/trunk/; revision=3476
2002-09-08 18:29:56 +00:00
Casper Hornstrup
f6ca76b756 Reverted latest changes
svn path=/trunk/; revision=3475
2002-09-08 11:16:44 +00:00
Casper Hornstrup
831938b9ee Reverted latest changes
svn path=/trunk/; revision=3474
2002-09-08 10:47:47 +00:00
Casper Hornstrup
17c0b5798e Reverted latest changes.
svn path=/trunk/; revision=3473
2002-09-08 10:23:54 +00:00
Casper Hornstrup
06d3fda385 Fixed declaration of WSHGetWSAProtocolInfo
svn path=/trunk/; revision=3471
2002-09-07 19:40:57 +00:00
Casper Hornstrup
96a7d97dac Fixed declaration of WSHGetWSAProtocolInfo
svn path=/trunk/; revision=3470
2002-09-07 19:20:08 +00:00
Casper Hornstrup
fb914ea8cb Remove some debugging code.
svn path=/trunk/; revision=3469
2002-09-07 17:08:31 +00:00
Casper Hornstrup
59448c64c0 Fixed typo.
svn path=/trunk/; revision=3468
2002-09-07 16:44:12 +00:00
Casper Hornstrup
5f42259b67 Added MSVCRT.DLL private headers.
svn path=/trunk/; revision=3467
2002-09-07 15:18:12 +00:00
Casper Hornstrup
387d432884 Use free Windows DDK and compile with latest MinGW releases.
svn path=/trunk/; revision=3466
2002-09-07 15:13:13 +00:00
Eric Kohl
fb29fa8a10 Added new 'bootcd' target.
Removed/disabled debugging code.
SetupLdr must not call BiosInt13ExtensionsSupported() to check extended int13 capabilities because they are already used to boot a CD and some BIOSes return incorrect results when a CD-ROM drive is checked.

svn path=/trunk/; revision=3465
2002-09-06 22:38:10 +00:00
Emanuele Aliberti
81a79af1eb USER32.EqualRect(): partial implementation.
svn path=/trunk/; revision=3462
2002-09-05 21:50:53 +00:00
Emanuele Aliberti
17974568f9 Just one more line. Little is known about MCBs.
svn path=/trunk/; revision=3461
2002-09-05 20:41:05 +00:00
Eric Kohl
28da6203e2 Got iso-fs working again.
Implemented very simple setup loader.

svn path=/trunk/; revision=3460
2002-09-05 15:31:45 +00:00
Robert Kopferl
449e39d06a Added some stubs in order to
implement them some time

svn path=/trunk/; revision=3459
2002-09-04 22:19:47 +00:00
Eric Kohl
296c5258a4 Check for a busy device in AtapiInterrupt().
svn path=/trunk/; revision=3458
2002-09-04 21:33:26 +00:00
David Welch
9191240ab4 Added missing file.
svn path=/trunk/; revision=3457
2002-09-04 18:09:31 +00:00
Eric Kohl
3e871a4ef6 Added code to identify the cdrom drive when ReactOS is booted from a CD because the bios does not provide any usable information.
The Boot-CD must be labeled 'REACTOS'.

svn path=/trunk/; revision=3456
2002-09-04 13:58:56 +00:00
David Welch
afe56d0970 Implemented part of window properties support
Convert WM_GETTEXT messages when sending between windows
Added Steven's bitmaps to the user32 resources
Fixed some bugs when creating a DIB
Implemented LoadBitmap

svn path=/trunk/; revision=3455
2002-09-03 22:44:21 +00:00
Casper Hornstrup
068a37b1cd Don't try to build modules that won't build.
Support latest MinGW releases.
Support building on linux.

svn path=/trunk/; revision=3454
2002-09-03 18:44:19 +00:00
Steven Edwards
f8310e0ce2 Added binary resources from Wine for user32.
To be replaced latter by wrc format

svn path=/trunk/; revision=3453
2002-09-02 23:35:00 +00:00
Steven Edwards
9ca848afd6 Fixed another stub for the WINE dlls.
svn path=/trunk/; revision=3452
2002-09-02 20:30:25 +00:00
Steven Edwards
b3a582dbdd Fix export to get WineMine to load.
svn path=/trunk/; revision=3451
2002-09-02 18:48:32 +00:00
David Welch
b163519757 Don't reinitialize the VGA on an enable surface if it is already initialized
Implemented patblt and rectangle fill
Offset drawing by the origin of the DC
Other GUI fixes

svn path=/trunk/; revision=3450
2002-09-01 20:39:56 +00:00
Robert Dickenson
a8c82f2bfb Added some exports.
svn path=/trunk/; revision=3449
2002-09-01 04:27:51 +00:00
Robert Dickenson
96561f80c2 Seem to have missed updating these previously....
svn path=/trunk/; revision=3448
2002-09-01 04:17:05 +00:00
David Welch
c81c209798 Non-client painting fixes.
svn path=/trunk/; revision=3447
2002-08-31 23:18:47 +00:00
KJK::Hyperion
cbc3029db7 Defined missing virtual memory query/set information types
svn path=/trunk/; revision=3446
2002-08-31 18:33:21 +00:00
Eric Kohl
fd7d5a399f Build FREELDR.SYS and SETUPLDR.SYS in a single make run.
Fixed build process for SETUPLDR.SYS.

svn path=/trunk/; revision=3445
2002-08-31 18:09:31 +00:00
Eric Kohl
bd3e14d1f7 Added a workaround for broken BIOSes.
Load SETUPLDR.SYS instead of FREELDR.SYS.
Disabled waiting for key.

svn path=/trunk/; revision=3444
2002-08-31 18:00:25 +00:00
KJK::Hyperion
08d5474187 PSAPI (re)licensed under LGPL to be shared with WinE, as per Steven's request. Interfaces (headers and import library definitions) and trivial sources put in the public domain
svn path=/trunk/; revision=3443
2002-08-31 17:11:24 +00:00
KJK::Hyperion
75cabefb26 LGPL 2.1
svn path=/trunk/; revision=3442
2002-08-31 17:07:30 +00:00
KJK::Hyperion
a0cbde7bb0 PSAPI: all the annoying stuff (enumeration and search, basically) has been taken care of. Only profiling remains to be implemented.
Check out the subsystem-independent routines in enum/ (FWIW: the whole DLL only imports two calls from kernel32.dll, SetLastError and AreFileApisANSI): they've been tested, and they could make for a great static library, to implement task manager, tlist, ToolHelp API, etc. Maybe a future addition to mingwnt?

svn path=/trunk/; revision=3441
2002-08-31 15:36:56 +00:00
David Welch
c0b94f90f9 Implemented GetAncestor and IsWindowVisible
Save and restore the trap frame around exceptions
Allow nested w32 callbacks

svn path=/trunk/; revision=3440
2002-08-30 02:47:37 +00:00
KJK::Hyperion
6332533037 PSAPI almost finished
svn path=/trunk/; revision=3439
2002-08-29 23:57:54 +00:00
David Welch
3ede8f0814 Fixed when changing the attributes of an area larger than the mapped area.
Unprotect pages before applying relocations
Create a module entry before fixing up imports to support recursive
dependencies
Added missing symbol to user32

svn path=/trunk/; revision=3438
2002-08-29 22:12:16 +00:00
Robert Dickenson
27e2be0d83 Added start of utility application zoomin.
svn path=/trunk/; revision=3437
2002-08-29 20:28:13 +00:00
Robert Dickenson
d173db00ea Added command line handling from wine regedit, removed stdafx rubbish.
Builds cleanly and executes but no run-time testing as yet - beware.

svn path=/trunk/; revision=3436
2002-08-29 18:42:38 +00:00
KJK::Hyperion
0a0f2c9c13 Corrected source paths for Event Log service and RPC subsystem
svn path=/trunk/; revision=3435
2002-08-28 23:13:08 +00:00
Robert Kopferl
6c040588b1 *** empty log message ***
svn path=/trunk/; revision=3434
2002-08-28 22:31:56 +00:00
Jason Filby
69b5fb7882 A few new definitions related to windowing
svn path=/trunk/; revision=3433
2002-08-28 22:03:44 +00:00
Jason Filby
bf5d7b47c9 Initial nonclient code
svn path=/trunk/; revision=3432
2002-08-28 21:58:00 +00:00
Hartmut Birr
444da66580 Replaced 'jmp $+3' with 'jmp label'.
svn path=/trunk/; revision=3431
2002-08-28 20:53:20 +00:00
Robert Kopferl
4bad48b791 added a preliminary WideCharToMultyByte(). This impl. only cuts of the upper 9 Bit and makes no use of NLS - its a Hack
svn path=/trunk/; revision=3430
2002-08-28 19:31:09 +00:00
Robert Dickenson
8a22ec305f Respond to WM_MEASUREITEM with the font height.
svn path=/trunk/; revision=3429
2002-08-28 19:01:49 +00:00
Eric Kohl
5857837550 Added detection of PCI Bus Master Controllers.
svn path=/trunk/; revision=3428
2002-08-28 18:36:18 +00:00
Robert Kopferl
07c788111d added some CP_ definitions
svn path=/trunk/; revision=3427
2002-08-28 17:52:00 +00:00
Robert Kopferl
b767c78d56 added CodePage symbols inside a #if 0
svn path=/trunk/; revision=3426
2002-08-28 17:47:09 +00:00
Hartmut Birr
2fe8ed1c18 *** empty log message ***
svn path=/trunk/; revision=3425
2002-08-28 07:32:39 +00:00
Hartmut Birr
f454afa33c Changed parameters for IoPageRead/IoPageWrite/IoSynchronousPageWrite.
Removed referencing of the event/file object.

svn path=/trunk/; revision=3424
2002-08-28 07:19:10 +00:00
Hartmut Birr
a5a8fc4a5a Removed dereferencing of the event/file object for paging IO.
svn path=/trunk/; revision=3423
2002-08-28 07:17:22 +00:00
Hartmut Birr
2066bfecef Added/enabled IoAcquireRemoveLockEx, IoInitializeRemoveLockEx, IoPageRead,
IoReleaseRemoveLockAndWaitEx, IoReleaseRemoveLockEx.

svn path=/trunk/; revision=3422
2002-08-28 07:15:14 +00:00
Hartmut Birr
1b9c730b99 Moved IoPageRead from io.h to iofuncs.h.
Changed parameters for IoPageRead/IoPageWrite/IoSynchronousPageWrite.
Fixed the length calculation in CcZeroData.

svn path=/trunk/; revision=3421
2002-08-28 07:13:04 +00:00
Hartmut Birr
fdd13c6ff5 Changed the parameters for InterlockedCompareExchange.
svn path=/trunk/; revision=3420
2002-08-28 07:08:26 +00:00
Hartmut Birr
9b2f541051 Set the allocation size in IoCreateFile.
svn path=/trunk/; revision=3419
2002-08-28 07:05:14 +00:00
Hartmut Birr
9ad20399e9 Added memcpy/memset with inline assembler implementation for target i386.
svn path=/trunk/; revision=3418
2002-08-28 07:03:10 +00:00
Brian Palmer
0f2ad47bfb Fix for disk error while Loading FreeLoader... discovered by Dave Albert
In ReadSectorsCHS it was pop'ing values off the stack that hadn't been push'ed

svn path=/trunk/; revision=3417
2002-08-28 04:46:17 +00:00
Steven Edwards
7a32bdf315 update .cvsignore
svn path=/trunk/; revision=3416
2002-08-28 00:03:29 +00:00
Steven Edwards
1810bf3caa add .cvsignore
svn path=/trunk/; revision=3415
2002-08-28 00:03:09 +00:00
Steven Edwards
258b472dd7 copy gstart.exe to C:\reactos\system32
svn path=/trunk/; revision=3414
2002-08-27 23:59:17 +00:00
David Welch
78126b68a6 More painting fixes.
svn path=/trunk/; revision=3413
2002-08-27 23:32:21 +00:00
David Welch
25788364e8 Misc. painting fixes.
svn path=/trunk/; revision=3412
2002-08-27 23:29:40 +00:00
Jason Filby
c75df46270 Minor fix
svn path=/trunk/; revision=3411
2002-08-27 21:20:45 +00:00
Jason Filby
cb6d74f998 BeginPaint and EndPaint now functional
svn path=/trunk/; revision=3410
2002-08-27 20:32:03 +00:00
Robert Dickenson
74c9931dbf Created new module for library IPRTPRIO.DLL
svn path=/trunk/; revision=3409
2002-08-27 13:22:30 +00:00
Hartmut Birr
b6e3b83941 Repleaced wcsicmp with _wcsicmp in ScLookupServiceByServiceName.
wcsicmp is imported from msvcrt.dll and _wcsicmp from ntdll.dll.

svn path=/trunk/; revision=3408
2002-08-27 06:41:58 +00:00
Robert Dickenson
3b451c4642 Added required support for WinHelp exports in user32.lib
svn path=/trunk/; revision=3407
2002-08-27 06:41:33 +00:00
Hartmut Birr
a9a618aeb0 Using ReadCacheSegment for reading a cache segment in MiReadPage.
Fixed the attribute in a call to MmCreateVirtualMapping in MmNotPresentFaultSectionView.
Removed a wrong call to MmUnlockAddressSpace in MmUnmapViewOfSection.

svn path=/trunk/; revision=3406
2002-08-27 06:40:32 +00:00
Robert Dickenson
4463ef833f Added entry points for WinHelpA and WinHelpW exports.
svn path=/trunk/; revision=3405
2002-08-27 06:40:15 +00:00
Hartmut Birr
69b3035df8 Changed from CreateFileW for opening a directory to the new
function InternalOpenDirectoryW. InternalOpenDirectory uses
NtCreateFile instead of CreateFileW.

svn path=/trunk/; revision=3404
2002-08-27 06:38:23 +00:00
Hartmut Birr
efcf4c3d7f Added testing for a valid proccess pointer in
MmWritePagePhysicalAddress/MmPageOutPhysicalAddress.
Moved the call to ObDereferenceObject to the end in
MmWritePagePhysicalAddress/MmPageOutPhysicalAddress.

svn path=/trunk/; revision=3403
2002-08-27 06:36:32 +00:00
Hartmut Birr
06226b583c Added CloseInProcess to the structure OBJECT_HEADER.
Check for close operation in ObReferenceObjectByPointer,
ObpPerformRetentionChecks, ObfReferenceObject.

svn path=/trunk/; revision=3402
2002-08-27 06:34:22 +00:00
Hartmut Birr
9e3bef3b3c Fixed the calculation of the ActiveCount member from structure ERESOURCE.
svn path=/trunk/; revision=3401
2002-08-27 06:31:55 +00:00
Robert Dickenson
58bbc5be5d Created new application template dialog for testing and demonstration.
svn path=/trunk/; revision=3400
2002-08-27 00:53:34 +00:00
David Welch
7a3564314a Added missing prototype.
svn path=/trunk/; revision=3399
2002-08-26 23:22:53 +00:00
David Welch
df75d0d97f Fixes for painting.
svn path=/trunk/; revision=3398
2002-08-26 23:20:54 +00:00
Hartmut Birr
3f6d544a66 Initialized Peb->WindowFlags (instead of Flags) with dwFlags in CreateWindowW.
svn path=/trunk/; revision=3397
2002-08-26 22:07:01 +00:00
David Welch
024738024e 2002-08-26 David Welch <welch@computer2.darkstar.org>
* lib/gdi32/misc/dllmain.c (GdiDllInitialize): Don't initialize
	win32k.sys for each process.
	* subsys/csrss/init.c (CsrServerInitialization): Initialize
	win32k.sys as well.

2002-08-26  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ps/process.c (NtCreateProcess): Reference the
	parent process's handle using ExGetPreviousMode.

2002-08-26  David Welch  <welch@computer2.darkstar.org>

	* lib/user32/misc/dllmain.c (Init): Initialize gdi32 as well.

2002-08-26  David Welch  <welch@computer2.darkstar.org>

	* iface/addsys/genw32k.c (main, process): Generate a set of
	stubs for csrss as well.

svn path=/trunk/; revision=3396
2002-08-26 13:06:03 +00:00
David Welch
f7c5c8bcd2 Oops, fixed compile errors.
svn path=/trunk/; revision=3395
2002-08-26 12:27:48 +00:00
David Welch
87579ff3f0 Copy all the startup info to the new process.
svn path=/trunk/; revision=3394
2002-08-26 11:24:29 +00:00
Jason Filby
84a242512b DCE header file
svn path=/trunk/; revision=3393
2002-08-25 15:56:54 +00:00
Steven Edwards
2df0829929 Stick the import lib in the right place.
svn path=/trunk/; revision=3392
2002-08-25 10:20:51 +00:00
Robert Dickenson
9971dc596a More CVS sugar.
svn path=/trunk/; revision=3391
2002-08-25 07:22:29 +00:00
Robert Dickenson
9c63868251 Added a whole lot of CVS sugar so I can use WinCVS flat mode more effectively.
svn path=/trunk/; revision=3390
2002-08-25 07:16:37 +00:00
Robert Dickenson
94aa216cf4 Fixed some broken stuff, added some cvs sugur.
svn path=/trunk/; revision=3389
2002-08-25 06:59:34 +00:00
Robert Dickenson
381af4ae02 Fixes for building with __MINGW32_VERSION 2.1
svn path=/trunk/; revision=3388
2002-08-25 06:47:16 +00:00
Jason Filby
1231d02b03 Initial code for NtUserGetDC
svn path=/trunk/; revision=3387
2002-08-24 11:09:17 +00:00
KJK::Hyperion
34b85a88a2 Removed superfluous DPRINTs
svn path=/trunk/; revision=3386
2002-08-24 03:50:49 +00:00
Eric Kohl
bdf9e628c0 Fixed dependency file deletion bug.
svn path=/trunk/; revision=3385
2002-08-24 01:45:37 +00:00
Eric Kohl
4abbed187f Added welcome/autorun application
svn path=/trunk/; revision=3384
2002-08-23 16:17:12 +00:00
Eric Kohl
e8d3ef310d Added welcome/autorun application (test bitmaps)
svn path=/trunk/; revision=3383
2002-08-23 16:15:47 +00:00
Emanuele Aliberti
b07c25b369 Fixes for building the imports libraries.
svn path=/trunk/; revision=3382
2002-08-23 12:41:55 +00:00
Emanuele Aliberti
d4dc1756c4 Makefile fixes to compile.
svn path=/trunk/; revision=3381
2002-08-23 12:40:56 +00:00
Robert Dickenson
0b318e24d3 Added new include file.
svn path=/trunk/; revision=3380
2002-08-23 08:28:43 +00:00
Robert Dickenson
90d386b1c0 Added some exports.
svn path=/trunk/; revision=3379
2002-08-23 08:27:46 +00:00
Robert Dickenson
8f61fc390c Modified to use new include file reactos/include/snmp.h to be committed shortly.
svn path=/trunk/; revision=3378
2002-08-23 08:26:52 +00:00
Robert Dickenson
f4dca9cd17 Added entries for new network applications.
svn path=/trunk/; revision=3377
2002-08-23 08:24:13 +00:00
Robert Dickenson
3a41864fff Created framework for new network utility applications.
svn path=/trunk/; revision=3376
2002-08-23 08:23:28 +00:00
Eric Kohl
ed21a6af20 -Implemented ReadConsoleOutputCharacterA and CsrReadConsoleOutputChar
-Added null pointer check to FillConsoleOutputCharacterA
-Added parameter names and removed 'undocumented' label for
GetConsoleFontSize and GetCurrentConsoleFont
-Added definition of CONSOLE_FONT_INFO struct
-Added call to SetLastError(ERROR_OUTOFMEMORY) to a number of
RtlAllocateHeap return value checks

Patch by Marty Dill

svn path=/trunk/; revision=3375
2002-08-22 15:21:57 +00:00
Brian Palmer
d3991649c5 Changes in v1.7.5 (8/21/2002) (brianp)
- biosvid.S (BiosVideoDisableBlinkBit): Added code to
  disable the blink bit in the text mode character
  attribute byte so that the full range of
  background colors can be used.

svn path=/trunk/; revision=3374
2002-08-22 05:33:59 +00:00
Brian Palmer
f64597ef92 Initial commit for utility to install FreeLoader under Linux
svn path=/trunk/; revision=3373
2002-08-21 03:34:01 +00:00
Brian Palmer
367cfa7085 Changes in v1.7.4 (8/20/2002) (brianp)
- Boot sector code now reports to freeldr.sys the partition
  that it was installed on. This is specified by a byte
  value in the boot sector code. By default the boot partition
  is set to zero which indicates the active (bootable)
  partition, unless the installer sets the value to non-zero.
  If FreeLoader is installed on a partition other than
  the active (bootable) partition then the installer must
  set this byte to that partition number. Otherwise
  FreeLoader will not be able to find freeldr.ini.
- i386trap.S: Added debug macros BREAKPOINT(),
  INSTRUCTION_BREAKPOINTX(), MEMORY_READWRITE_BREAKPOINTX(), &
  MEMORY_WRITE_BREAKPOINTX().
- partition.c (DiskGetPartitionEntry): Add the relative offset
  of the extended partition to the partitions start sector.
- ext2.c (Ext2ReadBlockPointerList, Ext2CopyIndirectBlockPointers,
  Ext2CopyDoubleIndirectBlockPointers, Ext2CopyTripleIndirectBlockPointers):
  Rewrote the block pointer functions so they actually work.
- ini_init.c (IniFileInitialize, IniOpenIniFile): Looks for freeldr.ini
  on both the active (bootable) partition and the partition
  passed in from the boot sector code.
- meminit.c (MmInitializeMemoryManager, MmFixupSystemMemoryMap,
  MmGetEndAddressOfAnyMemory, MmGetAddressablePageCountIncludingHoles,
  MmInitPageLookupTable): Fixed bug that would cause FreeLoader to
  have an off-by-one error when accessing the last entry in the
  page lookup table on systems with 4GB of memory (or memory mapped
  at the end of the address space).

svn path=/trunk/; revision=3372
2002-08-21 03:32:49 +00:00
KJK::Hyperion
d8bd5ccb4a New macros InitializeUnicodeString(), RtlInitUnicodeStringFromLiteral() and UNICODE_STRING_INITIALIZATOR(), for fast, compile-time initialization of UNICODE_STRING variables
svn path=/trunk/; revision=3371
2002-08-20 20:37:19 +00:00
Jason Filby
51f0384fc0 Improved HLine algorithm; improvement carried over to FillSolid
svn path=/trunk/; revision=3370
2002-08-19 22:01:12 +00:00
Eugene Ingerman
6b30cb44dd Added color translation for solid color brushes.
svn path=/trunk/; revision=3369
2002-08-19 21:49:45 +00:00
Jason Filby
5add7bd9d8 Fixed VGADDIFillSolid - now fast, although ugly (will clean it up still)
svn path=/trunk/; revision=3368
2002-08-18 22:11:06 +00:00
Hartmut Birr
92de298b36 - Added a check for valid result pointers in GetDiskFreeSpaceExW.
- Changed from CreateFileW to NtCreateFile in GetVolumeInformationW.
  CreateFileW doesn't allow to open directories.

svn path=/trunk/; revision=3367
2002-08-18 21:07:59 +00:00
Hartmut Birr
0127899031 Rewrote _stat functions. This functions can't use _fstat.
svn path=/trunk/; revision=3366
2002-08-18 21:04:52 +00:00
KJK::Hyperion
82557ffc26 RtlGetProcessHeap() is not a function in Microsoft Windows
svn path=/trunk/; revision=3365
2002-08-18 18:50:27 +00:00
KJK::Hyperion
8a7fe191c9 CreateFileW: corrected a couple of buglets, added handling of GENERIC_ALL access, packed with DPRINTs to catch the bug that breaks gcc and cmd (sorry, last time I touch something I can't test)
svn path=/trunk/; revision=3364
2002-08-18 16:01:11 +00:00
Jason Filby
6c96aec67d Use clip.h instead of enum.h
svn path=/trunk/; revision=3363
2002-08-18 13:55:11 +00:00
Eugene Ingerman
95d847d794 1. CLIPOBJ_bEnum, CLIPOBJ_cEnumStart - implemented internal clip region enumeration.
2. Implemented PaintRgn. Added test to gditest.
3. Removed enum.c enum.h (duplicates for clip.c clip.h).

svn path=/trunk/; revision=3362
2002-08-18 07:02:57 +00:00
KJK::Hyperion
cfd7b8b886 Cleaned up CreateFileW. Please check out the FIXMEs
svn path=/trunk/; revision=3361
2002-08-18 04:20:21 +00:00
KJK::Hyperion
9a20837e5c Added definition of FILE_OPEN_FOR_RECOVERY
svn path=/trunk/; revision=3360
2002-08-18 04:19:27 +00:00
Robert Dickenson
aca2356310 Minor cosmetic changes to define, fixup workaround of windres bug.
svn path=/trunk/; revision=3359
2002-08-17 17:26:14 +00:00
Robert Dickenson
2cac3f921d Rudimentiary drivebar support added.
svn path=/trunk/; revision=3358
2002-08-17 17:23:18 +00:00
Hartmut Birr
7376639aea Call VfatSetAllocationSizeInformation only if the file size is increased (VfatWrite).
svn path=/trunk/; revision=3357
2002-08-17 16:51:07 +00:00
Robert Dickenson
85acea80c6 Added new module for iphlpapi.dll
svn path=/trunk/; revision=3356
2002-08-17 16:23:13 +00:00
Robert Dickenson
4115f5826a Newline at EOF to fix warning
svn path=/trunk/; revision=3355
2002-08-17 16:18:54 +00:00
Robert Dickenson
d078405603 Added TOOLS_PATH macro and default target similar to that in reactos/rules.mak
svn path=/trunk/; revision=3354
2002-08-17 16:06:29 +00:00
Robert Dickenson
faa53591e2 Added NDISVERSION define for our target NDIS support level, currently commented out pending testing.
svn path=/trunk/; revision=3353
2002-08-17 16:02:08 +00:00
Robert Dickenson
8141b34d44 fixed clean rule to match other makefile standard
svn path=/trunk/; revision=3352
2002-08-17 15:58:38 +00:00
Robert Dickenson
ee57fdbbc9 Fixed typo in header comment.
svn path=/trunk/; revision=3351
2002-08-17 15:57:22 +00:00
Robert Dickenson
2bcc926b73 Added new module for snmpapi.dll
svn path=/trunk/; revision=3350
2002-08-17 15:48:21 +00:00
Hartmut Birr
4b6ce94d5d Disabled/removed debug messages.
svn path=/trunk/; revision=3349
2002-08-17 15:46:36 +00:00
Hartmut Birr
d7f19d41ea Changed the values for the page file size from the registry from Byte to MByte.
svn path=/trunk/; revision=3348
2002-08-17 15:31:03 +00:00
Hartmut Birr
e0c35e0076 Zero out the page in MmTransferOwnershipPage.
svn path=/trunk/; revision=3347
2002-08-17 15:29:18 +00:00
Hartmut Birr
c463dfec1b Change the type of the parameter PhysicalAddress in MmDisableVirtualMapping.
svn path=/trunk/; revision=3346
2002-08-17 15:27:54 +00:00
Hartmut Birr
9443ca8347 Set the extension length to 0 if there is no extension (RtlGenerate8dot3Name).
svn path=/trunk/; revision=3345
2002-08-17 15:23:50 +00:00
Hartmut Birr
ea5ed93302 Fixed the size for memory unmapping from boot process.
svn path=/trunk/; revision=3344
2002-08-17 15:22:33 +00:00
Hartmut Birr
4e9dc21691 Removed freeing of IRP's MDL in ScsiClassIoComplete.
svn path=/trunk/; revision=3343
2002-08-17 15:21:12 +00:00
Hartmut Birr
675afa7691 Setup the correct stack location for completion routines in IofCompleteRequest.
This change correct also the called completion routine in IoSecondStageCompletion
(ntoskrnl\io\cleanup.c).

svn path=/trunk/; revision=3342
2002-08-17 15:20:33 +00:00
Hartmut Birr
74e8579c8f Removed the absolute path (c:\reactos\system32) to smss.exe.
svn path=/trunk/; revision=3341
2002-08-17 15:17:59 +00:00
Robert Dickenson
9baabd888d Removed modules to go into shell32. New control panel launcher based on same wine program.
svn path=/trunk/; revision=3340
2002-08-17 15:16:38 +00:00
Hartmut Birr
6130c02167 - Release streaming file object for directories in vfatReleaseFCB.
- Removed initialization of caching in vfatAttacheFCBToFileObject.
  The cache for files is initialized at the first read/write operation.
- Merged vfatExtendSpace and VfatSetAllocationSizeInformation in one function.

svn path=/trunk/; revision=3339
2002-08-17 15:15:50 +00:00
Hartmut Birr
01d5ad9279 - Disabled write caching for meta data (FAT, directories) in
CcSetDirtyPinedData. There is no working shutdown function
  for writing back each modified cache segment. A reboot or
  crash can damage the disk.
- Added CcRosReferenceCache and CcRosDereferenceCache.
- Check at each call to CcRosInitializeFileCache if the cache was
  initialized for the file stream by a previous call to this function.
- Check at each call to CcRosReleaseFileCache if this is possible
  to delete the caching for the file stream.

svn path=/trunk/; revision=3338
2002-08-17 15:14:26 +00:00
Hartmut Birr
572bbc6ea5 Increment/Decrement the cache reference count on each create/delete
operation for a section. This prevents the cache from uninitialization
for a mapped file (data or image) at the cleanup of a given file object
or force the uninitialization if the last section of a file is deleted.

svn path=/trunk/; revision=3337
2002-08-17 15:12:49 +00:00
David Welch
c62229b967 2002-08-17 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): Ensure the
	process isn't freed in the middle of our operations.

2002-08-17  David Welch  <welch@computer2.darkstar.org>

	* drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation): Fixed.

svn path=/trunk/; revision=3336
2002-08-17 14:14:20 +00:00
David Welch
1a46ca7d8a 2002-08-17 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ps/create.c (PiDeleteThread): Don't dereference
	the thread's process while holding the thread list lock.

2002-08-17  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/section.c (MmMapViewOfSection): Check there is
	enough space for all parts of an image before mapping it; if
	there isn't enough space free at the preferred base address
	then try to choose a different one.

2002-08-17  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/mpw.c (MmInitMpwThread): Run the MPW thread at
	idle priority.

2002-08-17  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/kmap.c (ExUnmapPage, ExAllocatePageWithPhysPage,
	MiFreeNonPagedPoolRegion, MiAllocNonPagedPoolRegion): Maintain
	a hint of the next free page; makes running with whole page
	allocation more bearable.

2002-08-17  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/anonmem.c (MmPageOutVirtualMemory): Show an
	out of swap space message if we are out of swap space.
	* ntoskrnl/mm/section.c (MmPageOutSectionView): Show an
	out of swap space message if we are out of swap space.
	* ntoskrnl/mm/pagefile.c (MmAllocSwapPage): Don't automatically
	show an out of swap space message on failure.
	* ntoskrnl/mm/pagefile.c (MmShowOutOfSpaceMessagePagingFile): New
	function to notify the user that the pagefile is full.

2002-08-17  David Welch  <welch@computer2.darkstar.org>

	* drivers/lib/zlib/Makefile: Create a dummy zlib.sym

svn path=/trunk/; revision=3335
2002-08-17 01:42:03 +00:00
Eugene Ingerman
1052bedeed Updated memory area const names.
svn path=/trunk/; revision=3334
2002-08-16 22:03:07 +00:00
David Welch
99c4e70f22 2002-08-16 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/npool.c (ExAllocateWholePageBlock): Converted
	to use PHYSICAL_ADDRESS type for page address.

2002-08-16  David Welch  <welch@computer2.darkstar.org>

	* subsys/win32k/ntuser/class.c (W32kCreateClass): Corrected
	typo when calculating the offset into the class object to
	put the class name string.

2002-08-16  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ps/thread.c (PsDispatchThreadNoLock): Don't call
	the reaper function directly; set an event to wake up a seperate
	reaper thread.
	* ntoskrnl/ps/thread.c (PsReaperThreadMain): New function that
	waits for a notification and then calls PsReapThreads.
	* ntoskrnl/ps/thread.c (PsInitThreadManagement): Create the
	reaper thread.

svn path=/trunk/; revision=3333
2002-08-16 01:39:17 +00:00
David Welch
a4e3a21cfa Export LdrFindResourceDirectory_U
Remove LdrFindResourceDirectory_U stub

svn path=/trunk/; revision=3332
2002-08-15 16:11:01 +00:00
David Welch
8cec2e609d 2002-08-14 David Welch <welch@computer2.darkstar.org>
* subsys/smss/init.c (SmPagingFilesQueryRoutine): If possible
	take the size of the paging file from the registry.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/section.c (MmCreateDataFileSection): Extend the
	section if necessary.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/pagefile.c (NtCreatePagingFile): Set the file
	size using the FileAllocationInformation class.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/anonmem.c (MmWritePageVirtualMemory): Implemented
	function to write anonymous memory pages to the swap file.
	* ntoskrnl/mm/anonmem.c (MmFreeVirtualMemoryPage): Free any
	swap page associated with the page.
	* ntoskrnl/mm/mpw.c (MmWriteDirtyPages): New function to find
	pages to write to disk.
	* ntoskrnl/mm/mpw.c (MmMpwThreadMain): Implemented MPW functionality.
	* ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): New function
	to write a single page back to disk.
	* ntoskrnl/mm/rmap.c (MmSetCleanAllRmaps, MmSetDirtyAllRmaps,
	MmIsDirtyPageRmap): New rmap function to support the MPW thread.
	* ntoskrnl/mm/section.c (MmWritePageSectionView): Implemented
	function to write back section pages.
	* ntoskrnl/mm/section.c (MmFreeSectionPage): Free any swap
	entry associated with the page; mark pages shared with
	the cache as dirty if necessary.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set name of
	the module into the module text structure.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/io/rw.c (NtReadFile, NtWriteFile): Use the correct
	test for whether to wait for the completion of i/o.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/cm/ntfunc.c (NtFlushKey): Request synchronous i/o
	from NtOpenFile.
	* ntoskrnl/cm/regfile (CmiInitPermanentRegistryHive): Request
	synchronous i/o from NtCreateFile.
	* ntoskrnl/dbg/kdb_stabs.c (LdrpLoadModuleSymbols): Request
	synchronous i/o from NtOpenFile.
	* ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Request synchronous i/o
	from NtOpenFile.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/cc/view.c (CcRosSuggestFreeCacheSegment): Maintain the
	correct reference count.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/cc/view.c (CcRosFlushCacheSegment): New function to
	write back a modified cache segment.
	* ntoskrnl/cc/view.c (CcRosFlushDirtyPages): New function to
	flush some dirty pages from the cache.
	* ntoskrnl/cc/view.c (CcRosMarkDirtyCacheSegment): New function to
	mark a cache segment modified while mapped into memory as dirty.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/cc/pin.c (CcMapData, CcUnpinData, CcSetDirtyPinnedData):
	Store the dirty status in the BCB; don't write back dirty data
	immediately.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* include/ntos/mm.h: Added SEC_XXXX defines from 'Windows NT/2000
	Native API Reference'

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* drivers/fs/vfat/ea.c (VfatSetExtendedAttributes): Empty
	placeholder for extended attribute functions.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation):
	Added function to set allocation size.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* drivers/fs/vfat/fcb.c (vfatFCBInitializeCache): Renamed
	to vfatFCBInitializeCacheFromVolume.
	* drivers/fs/vfat/fcb.c (vfatMakeFCBFromDirEntry): Don't
	initialise the cache with a file object representing the
	volume unless the FCB is for a directory.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* drivers/fs/vfat/create.c (VfatPagingFileCreate): Added a
	new function for handling paging file only code.
	* drivers/fs/vfat/create.c (VfatSupersedeFile): Added a
	new function for doing a file supersede.
	* drivers/fs/vfat/create.c (VfatCreateFile): Reformatted and
	adjusted control flow. Set allocation size and extended attributes
	on create.
	* drivers/fs/vfat/create.c (VfatCreate): Removed goto.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* drivers/fs/vfat/cleanup.c (VfatCleanupFile): Renamed
	updEntry to VfatUpdateEntry.
	* drivers/fs/vfat/close.c (VfatCloseFile): Renamed
	updEntry to VfatUpdateEntry.
	* drivers/fs/vfat/dirwr.c (updEntry): Renamed to
	VfatUpdateEntry.
	* drivers/fs/vfat/dirwr.c (addEntry): Renamed to
	VfatAddEntry.

2002-08-14  David Welch  <welch@computer2.darkstar.org>

	* apps/tests/sectest/sectest.c (main): Fixed formatting.

svn path=/trunk/; revision=3331
2002-08-14 20:58:39 +00:00
Eric Kohl
54865265f0 Implemented and fixed several ACL and SD functions.
Patch by Alexandru Matei.

svn path=/trunk/; revision=3330
2002-08-13 20:41:22 +00:00
Eric Kohl
ce083074cf Added missing newline
svn path=/trunk/; revision=3329
2002-08-10 21:58:14 +00:00
Eric Kohl
5e4fc8c66d Added compression stubs
svn path=/trunk/; revision=3328
2002-08-10 21:57:41 +00:00
David Welch
383eddd11e 2002-08-10 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/i386/page.c (MmSetPageProtect): Fixed
	behaviour when called on the system address space.

2002-08-10  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/virtual.c (MmQueryAnonMem, MmProtectAnonMem,
	NtAllocateVirtualMemory, NtFreeVirtualMemory): Renamed
	segments to regions; moved region code to seperate file.
	Implemented NtQueryVirtualMemory and NtProtectVirtualMemory
	for anonymous memory areas.

2002-08-10  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/anonmem.c: Moved functions relating to
	areas created with NtAllocateVirtualMemory to a
	seperate file.

2002-08-10  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/section.c (MmQuerySectionView): Implemented
	NtQueryVirtualMemory for section views.

2002-08-10  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/mm/section.c (MmAccessFaultSectionView,
	MmNotPresentFaultSectionView, MmProtectSectionView,
	MmMapViewOfSegment, MmAlterViewAttributes): Implemented
	NtProtectVirtualMemory for section views.

2002-08-10  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ke/main.c: Removed SEH test code.

2002-08-10  David Welch  <welch@computer2.darkstar.org>

	* lib/ntdll/ldr/utils.c (LdrFixupImports): Remove the readonly
	protection from the IAT before writing to it.

2002-08-10  David Welch  <welch@computer2.darkstar.org>

	* lib/ntdll/ldr/utils.c (LdrAdjustDllName): Properly null terminate
	the base name of the DLL.

2002-08-10  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set the text segment
	of modules to readonly after loading.

svn path=/trunk/; revision=3327
2002-08-10 16:41:20 +00:00
Eric Kohl
6809339d27 Fixed several function prototypes.
svn path=/trunk/; revision=3326
2002-08-09 22:57:48 +00:00
Brian Palmer
10e943e65d Preliminary EXT2 boot sector code
Fixed bug in FAT32 boot sector where it wasn't properly updating the sector load address

svn path=/trunk/; revision=3325
2002-08-09 17:34:24 +00:00
David Welch
95fbecfd46 2002-08-09 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ps/create.c (NtCreateThread): Call PsSuspendThread
	if NtCreateThread has CreateSuspended as TRUE.
	* ntoskrnl/ps/suspend.c (PsSuspendThread, PsResumeThread,
	PiSuspendThreadKernelRoutine): Fixed suspend functionality.

2002-08-09  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ke/i386/usertrap.c (print_user_address): Copy
	the LDR variable from the right address.

2002-08-09  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ke/apc.c (KiDeliverNormalApc): Check for
	kernel APCs pending on exit from the kernel.
	* ntoskrnl/ke/apc.c (KiDeliverNormalApc, KiDeliverUserApc,
	KiDeliverApc): Set the APC's inserted flag to FALSE after
	removing it from the thread's queue.

2002-08-09  David Welch  <welch@computer2.darkstar.org>

	* lib/kernel32/thread/thread.c (ThreadStartup): Don't
	call DLL entrypoints; this is done by LdrInitializeThunk.
	* lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
	DLLs in initialization order; take the loader lock before
	calling.

2002-08-09  David Welch  <welch@computer2.darkstar.org>

	* apps/tests/thread/thread.c (main): Test suspend and
	resume functionality.

svn path=/trunk/; revision=3324
2002-08-09 17:23:57 +00:00
David Welch
5a801d58c3 2002-08-08 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/section (NtQuerySection): Return the
	right result length.

2002-08-08  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ke/usertrap.c (print_user_address): Check for
	a NULL LDR structure in the PEB; copy the LDR pointer in
	safely.

2002-08-08  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ke/apc.c (KiDeliverUserApc): Deliver all present
	APCs; release the APC spinlock while acccessing user memory.

2002-08-08  David Welch  <welch@computer2.darkstar.org>

	* include/internal/ps.h: Adjusted offsets into the ETHREAD
	structure.
	* include/internal/ps.h: Removed redundant members from the
	KTHREAD structure.
	* ntoskrnl/ke/kthread.c (KeInitializeThread): Removed
	redundant members from the KTHREAD structure.

2002-08-08  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/dbg/kdb.c (KdbEnterDebuggerException): New
	function to enter the debugger on an exception.
	* ntoskrnl/kd/kdebug.c (KdInitSystem): Initialize the
	local kernel debugger if enabled.
	* ntoskrnl/ke/catch.c (KiDispatchException): Enter the
	local kernel debugger on an exception.

2002-08-08  David Welch  <welch@computer2.darkstar.org>

	* include/ntdll/ldr.h: Added definition for a DLL entrypoint.
	* lib/kernel32/process/create.c (KlCreateFirstThread): Put
	the argument to the NtProcessStartup function on the stack.
	* lib/kernel32/process/create.c (KlInitPeb): Read the
	base address of the new image from the PEB.
	* lib/kernel32/process/create.c (CreateProcessW): Start the
	first thread at the entrypoint of the new image.
	* lib/ntdll/ldr/startup.c (LdrInitializeThunk): If the
	function is called after the initial startup then just call the
	entrypoints for the loaded DLLs with DLL_THREAD_ATTACH. Don't
	call the entrypoint of the image.
	* lib/ntdll/rtl/process.c (RtlpCreateFirstThread): Put the
	argument to the NtProcessStartup function on the stack.
	* lib/ntdll/rtl/process.c (KlInitPeb): Read the base address of
	the new image from the PEB.
	* lib/ntdll/rtl/process.c (RtlCreateUserProcess): Start the
	first thread at the entrypoint of the new image.
	* ntoskrnl/ke/i386/bthread.S (PsBeginThreadWithContextInternal):
	Use the system call path to begin a usermode thread.
	* ntoskrnl/ke/i386/thread.c (Ke386InitThreadWithContext): Convert
	the supplied context into a trap frame.
	* ntoskrnl/ldr/init.c (LdrLoadInitialProcess): Put the PEB argument
	to the NtProcessStartup function on the new stack; start the
	first thread at the entrypoint of the image.
	* ntoskrnl/ps/create.c (NtCreateThread): Create an APC to call
	LdrInitializeThunk in the context of a new thread before its
	entrypoint.

2002-08-08  David Welch  <welch@computer2.darkstar.org>

	* drivers/fs/vfat/cleanup.c (VfatCleanupFile): Uninitialise
	the cache on file cleanup.
	* drivers/fs/vfat/fcb.c (vfatReleaseFcb): Don't uninitialise
	the cache on file close.
	* ntoskrnl/cc/copy.c: Renamed zero page global variable.
	* ntoskrnl/cc/view.c: Added cache delete function.

svn path=/trunk/; revision=3323
2002-08-08 17:54:16 +00:00
Brian Palmer
7cbe6176ad Defined FAST_SYMLINK_MAX_NAME_SIZE
svn path=/trunk/; revision=3322
2002-08-08 04:46:46 +00:00
Brian Palmer
793d60fcff Changes in v1.7.2 (8/7/2002) (brianp)
- Fragment size must be equal to the block size

svn path=/trunk/; revision=3321
2002-08-08 04:38:43 +00:00
Brian Palmer
3cb41fbb8b Changes in v1.7.1 (8/7/2002) (brianp)
- Symbolic links on EXT2/3 are now supported

svn path=/trunk/; revision=3320
2002-08-08 04:28:08 +00:00
Brian Palmer
f5ac842ed4 Fix for compiling in non-debug (release) mode. (Reduces binary size from 128k to 82k currently)
svn path=/trunk/; revision=3319
2002-08-07 05:37:07 +00:00
Brian Palmer
70d2e3812d Changes in v1.7 (8/6/2002) (brianp)
- EXT2/EXT3 file system support.
- Does not yet support symbolic links or booting from an EXT2/3 partition.
- Fixed bug in UI code.
- Added '%%' format specifier to printf()-like functions.
- Added functions __udivdi3 & __umoddi3 so that 64-bit division is now supported.
- Changed types BYTE, WORD, DWORD, LONG, ULONG to U8, U16, U32, S32, U32
  so that you know the size of the variable across different
  architectures with different sized words & dwords, etc.
- Types CHAR, UCHAR, PCHAR, PUCHAR, WCHAR, PWCHAR have not been
  changed yet (I haven't decided exactly how I'm going to handle unicode)

(isn't this an awesome commit? ;-) Just look at that list of files)

svn path=/trunk/; revision=3318
2002-08-07 05:13:18 +00:00
Jason Filby
aac9125953 Updated version file to 0.0.20
svn path=/trunk/; revision=3316
2002-08-05 19:57:47 +00:00
Robert Dickenson
aa405ed6f1 Added combobox to drivebar, yet to get working. Whole application needs alot of cleanup.
Fixed up makefile plus dependancies and now builds (and runs) with ros-tools.

svn path=/trunk/; revision=3315
2002-08-04 18:40:49 +00:00
Eugene Ingerman
c724d71f77 Fixed a bug in the new Engxxx objects code.
svn path=/trunk/; revision=3314
2002-08-04 18:21:59 +00:00
Eugene Ingerman
7325b379e2 Rewrote gdi (Engxxx) objects.
svn path=/trunk/; revision=3313
2002-08-04 09:55:11 +00:00
Eugene Ingerman
94706d121d Added more tests to gditest.c
svn path=/trunk/; revision=3312
2002-08-04 09:53:19 +00:00
Eugene Ingerman
d9243a0a4b Removed deprecated file.
svn path=/trunk/; revision=3311
2002-08-04 09:52:05 +00:00
Eric Kohl
cfa1943b4f Don't alloc an extra console upon startup.
Added correct calculation of free disk size for drives larger than 2GB.

svn path=/trunk/; revision=3309
2002-08-01 10:29:18 +00:00
Eric Kohl
4201812a7e Added RtlCopyLuidAndAttributesArray() and RtlCopySidAndAttributesArray().
svn path=/trunk/; revision=3308
2002-07-29 15:37:06 +00:00
Eric Kohl
5295bac977 Added cache flush counters.
svn path=/trunk/; revision=3307
2002-07-29 15:29:58 +00:00
Brian Palmer
410b3629c3 Changes in v1.6.2 (7/28/2002) (brianp)
- Fix for GetFatEntry16 bug (fathelp.asm) by Mike Lerwill

svn path=/trunk/; revision=3306
2002-07-29 06:49:58 +00:00
Eric Kohl
8e93e09163 Added missing fastcall list functions
svn path=/trunk/; revision=3305
2002-07-27 13:02:37 +00:00
Robert Kopferl
d35d4191c1 -Nearly compiles doscalls
-Added  an mixing header to have ntddk and os2 included without conflicts

svn path=/trunk/; revision=3304
2002-07-26 00:23:13 +00:00
Eric Kohl
554d0a03f4 Implemented RtlTimeToElapsedTimeFields().
svn path=/trunk/; revision=3303
2002-07-25 16:58:58 +00:00
Eric Kohl
873c86599e Implemented RtlTimeToElapsedtimeFields().
svn path=/trunk/; revision=3302
2002-07-25 16:57:49 +00:00
Eric Kohl
9a04ad5955 Added compression functions (not usabel yet).
svn path=/trunk/; revision=3301
2002-07-25 13:18:31 +00:00
Eric Kohl
a79a9cbba6 Implemented IoCheckDesiredAccess() and IoGetInitialStack().
svn path=/trunk/; revision=3300
2002-07-24 17:49:31 +00:00
Robert Kopferl
d6e258cc9e free os2.h version
svn path=/trunk/; revision=3299
2002-07-23 13:00:46 +00:00
Robert Kopferl
a6c291342a *** empty log message ***
svn path=/trunk/; revision=3298
2002-07-23 13:00:11 +00:00
Robert Kopferl
77fce8841d update
svn path=/trunk/; revision=3297
2002-07-23 12:30:01 +00:00
Robert Dickenson
58d70d404f Added control panel applet icons to the list control imagelist. Next I'll make them lauch!
svn path=/trunk/; revision=3296
2002-07-23 08:24:54 +00:00
Jurgen van Gael
3ce45b038f OpenSCManager waits for services.exe to initialize
svn path=/trunk/; revision=3295
2002-07-23 08:16:05 +00:00
Eugene Ingerman
57a74268f7 Fixed bugs in region operations code (should run region tests correctly now)
svn path=/trunk/; revision=3294
2002-07-23 08:03:15 +00:00
Brian Palmer
ac37c58b98 Fix for disk caching while doing drive remapping
svn path=/trunk/; revision=3293
2002-07-23 06:46:55 +00:00
Robert Dickenson
0e96a84263 Whatever it is I changed, it's now backed up before I go to bed.
svn path=/trunk/; revision=3292
2002-07-22 21:12:26 +00:00
Robert Dickenson
916c8b493b Basic Control Panel created.
svn path=/trunk/; revision=3291
2002-07-22 21:05:41 +00:00
Eric Kohl
c1652a2ee6 Read drive number from the command line.
Added some sanity checks.

svn path=/trunk/; revision=3290
2002-07-22 17:53:12 +00:00
Eugene Ingerman
5faa3537c3 Missing file.
svn path=/trunk/; revision=3289
2002-07-22 17:42:52 +00:00
Robert Dickenson
63850f4969 Added missing file and some hex string conversion routines. Now displays registry data.
svn path=/trunk/; revision=3288
2002-07-22 14:41:40 +00:00
Steven Edwards
11a446cf74 Commited as binary
svn path=/trunk/; revision=3287
2002-07-22 11:12:38 +00:00
Steven Edwards
b2e2bb7f04 Removed to recommit as binary
svn path=/trunk/; revision=3286
2002-07-22 11:11:55 +00:00
Eugene Ingerman
2bda045a8e Added GetRegionData gdi function. Added region test. Fixed some bugs.
svn path=/trunk/; revision=3285
2002-07-22 07:55:49 +00:00
Brian Palmer
1aa76f94bd Added BIOS drive mapping functionality
svn path=/trunk/; revision=3284
2002-07-22 03:44:08 +00:00
Eric Kohl
c747481470 Moved WS_EX_CLIENTEDGE to the correct location.
svn path=/trunk/; revision=3283
2002-07-21 22:57:06 +00:00
Robert Dickenson
48266252bf Almost completed dialog layouts contributed by Ian McLean.
svn path=/trunk/; revision=3282
2002-07-21 18:28:26 +00:00
David Welch
45d7740d94 Renamed kernel.map -> ntoskrnl.map
svn path=/trunk/; revision=3280
2002-07-20 21:49:35 +00:00
Eugene Ingerman
d525647699 Use kernel.map (text format ntoskrnl symbols) instead of ntosknl.sym in pice. Fixed several bugs.
svn path=/trunk/; revision=3279
2002-07-20 20:27:22 +00:00
Jurgen van Gael
6fc62fb9b0 GCC 3.1 compatibility
svn path=/trunk/; revision=3278
2002-07-20 16:54:58 +00:00
Robert Dickenson
0efb5bd01d Updated version information.
svn path=/trunk/; revision=3277
2002-07-20 16:43:35 +00:00
Robert Dickenson
f3e89b62de Added new section to support default applications:
/* ReactOS default Application Registry Root Path */
#define RES_STR_ROSAPP_REGISTRY_ROOT	"Software\\ReactWare"

svn path=/trunk/; revision=3276
2002-07-20 16:38:55 +00:00
Robert Dickenson
e6ccc243b9 Updated with changes to version information.
svn path=/trunk/; revision=3275
2002-07-20 16:37:12 +00:00
Robert Dickenson
51278afbc0 Updated with an improvement to the registry save/restore module.
svn path=/trunk/; revision=3274
2002-07-20 16:35:34 +00:00
Robert Dickenson
f4629b5599 Updated with latest progress. How does one read a default registry value???
svn path=/trunk/; revision=3273
2002-07-20 16:29:26 +00:00
Robert Dickenson
ad319a46cf Updated with latest progress. Started on a worker thread for network enumerating and file change notifications.
svn path=/trunk/; revision=3272
2002-07-20 16:24:45 +00:00
Eric Kohl
86dc3a88d2 Added check for loaded system start drivers.
Create control pipe before a service is started.

svn path=/trunk/; revision=3271
2002-07-20 13:34:10 +00:00
Eric Kohl
ed77972722 Minor improvements.
svn path=/trunk/; revision=3270
2002-07-20 13:32:26 +00:00
Eric Kohl
951f903bda Added some experimental code
svn path=/trunk/; revision=3269
2002-07-20 13:31:34 +00:00
Eric Kohl
db6e84c404 Implemented FileAllInformation.
svn path=/trunk/; revision=3268
2002-07-20 11:44:37 +00:00
Eric Kohl
aa3245dd92 Fixed [Nt/Zw]QueryAttributeFile() and [Nt/Zw]QueryFullAttributesFile() prototypes.
svn path=/trunk/; revision=3267
2002-07-20 01:00:34 +00:00
Eric Kohl
41598868d1 Implemented FileNetworkOpenInformation.
svn path=/trunk/; revision=3266
2002-07-20 00:57:36 +00:00
Eric Kohl
f91b107c89 Fixed 'clean' rule because rdel cannot delete itself.
svn path=/trunk/; revision=3265
2002-07-19 12:31:49 +00:00
Eugene Ingerman
72c8bf3db3 Fixed typo. Now can disable kernel debugger by setting KDBG = 0 in config.
svn path=/trunk/; revision=3264
2002-07-19 03:56:47 +00:00
Steven Edwards
0504b08b95 Cleanup make and install, Moved all of the incompleate stuff to the end of make.
svn path=/trunk/; revision=3263
2002-07-19 02:11:11 +00:00
Eugene Ingerman
8d9c181908 Implemented some of gdi region functions.
svn path=/trunk/; revision=3262
2002-07-18 21:59:18 +00:00
Eugene Ingerman
52102e72fc Export MmCopyFrom/ToCaller from ntoskrnl. Added MulDiv.
svn path=/trunk/; revision=3261
2002-07-18 21:49:59 +00:00
Robert Dickenson
76e2e2e22f Added listview updating.
svn path=/trunk/; revision=3260
2002-07-18 20:27:52 +00:00
Eric Kohl
8553d39828 Moved _SET_PARTITON_INFORMATION to a common location.
svn path=/trunk/; revision=3259
2002-07-18 19:56:31 +00:00
Eric Kohl
a54c9ddecb Fixed a typo.
svn path=/trunk/; revision=3258
2002-07-18 18:18:17 +00:00
Robert Dickenson
b3b4923b11 Added properties dialog.
svn path=/trunk/; revision=3257
2002-07-18 18:18:12 +00:00
Robert Dickenson
53dd918713 Updated with cleanup of treeview module.
svn path=/trunk/; revision=3256
2002-07-18 18:16:42 +00:00
Eric Kohl
fb4e8713ea Added _purecall().
svn path=/trunk/; revision=3255
2002-07-18 18:15:09 +00:00
Eric Kohl
dbd109d357 Removed some obsolete definitions of __unit64.
Added a few missing newlines.

svn path=/trunk/; revision=3254
2002-07-18 18:12:59 +00:00
Eric Kohl
b0c64e3f9f Added IOCTL_DISK_SET_PARTITION_INFO.
Added checks for user induced errors.
Added basic shutdown/flush support.

svn path=/trunk/; revision=3253
2002-07-18 18:09:59 +00:00
Eric Kohl
3b8674494e Build and install beep and null driver.
svn path=/trunk/; revision=3252
2002-07-18 00:31:40 +00:00
Eric Kohl
99197ba099 Reported sector size must always be a power of 2.
svn path=/trunk/; revision=3251
2002-07-18 00:30:22 +00:00
Eric Kohl
fc1193592b Fixed access to non-existent device extension.
svn path=/trunk/; revision=3250
2002-07-18 00:29:19 +00:00
David Welch
2e467c56a3 Symbol loading working in kdb.
svn path=/trunk/; revision=3249
2002-07-18 00:25:31 +00:00
David Welch
90bd33d955 Print stack frames as densely as possible.
svn path=/trunk/; revision=3248
2002-07-17 23:11:37 +00:00
David Welch
d7c17b103d Updated .cvsignore file
svn path=/trunk/; revision=3247
2002-07-17 22:57:58 +00:00
David Welch
bbeb8dbe36 KDB stabs file.
svn path=/trunk/; revision=3246
2002-07-17 22:57:18 +00:00
David Welch
e646abc58c Fixed null pointer exceptions.
Removed private install script.
Moved stabs reading to a seperate file.
Added hooks for the kernel debugger.

svn path=/trunk/; revision=3245
2002-07-17 22:56:11 +00:00
David Welch
82ad78524a Remove crash testing code.
svn path=/trunk/; revision=3244
2002-07-17 21:28:37 +00:00
David Welch
9d6848e6ed Fixed some bugs.
svn path=/trunk/; revision=3243
2002-07-17 21:04:57 +00:00
Robert Dickenson
21214f6b8c Updated treeview and listview functionality.
svn path=/trunk/; revision=3242
2002-07-16 23:22:19 +00:00
Robert Dickenson
1ad1b97103 Updated treeview and listview functionality.
svn path=/trunk/; revision=3241
2002-07-16 22:18:29 +00:00
Robert Dickenson
74571d0428 Added save and restore of calculator mode using registry.
svn path=/trunk/; revision=3240
2002-07-16 21:54:17 +00:00
Robert Dickenson
8e12d121dc Added framework for new application - calc.
svn path=/trunk/; revision=3239
2002-07-16 19:15:12 +00:00
Steven Edwards
3c63d04d0d Fixed warning about missing include
svn path=/trunk/; revision=3238
2002-07-15 22:48:56 +00:00
Steven Edwards
83ed1ffe5f added hcalc target
svn path=/trunk/; revision=3237
2002-07-15 22:41:07 +00:00
Steven Edwards
9eb8af7e68 Added Makefile for hcalc calc replacement. Works.
svn path=/trunk/; revision=3236
2002-07-15 22:40:36 +00:00
Steven Edwards
7a09dc279a Fix no new line at end of file gcc 3.1 warrnings
svn path=/trunk/; revision=3235
2002-07-15 22:29:32 +00:00
Robert Dickenson
a4ae51d977 Minor mod.
svn path=/trunk/; revision=3234
2002-07-15 20:02:06 +00:00
Robert Dickenson
2f8748afe5 Updates with progress on calling standard dialogs, FileOpen, SelectFont and more...
svn path=/trunk/; revision=3233
2002-07-15 20:01:15 +00:00
Robert Dickenson
cc89fd7bba Updates with progress on TreeView, ChildWnd type and more...
svn path=/trunk/; revision=3232
2002-07-15 20:00:02 +00:00
Hartmut Birr
4f0371f4af Changed the ordering for allocating the inquiry buffer and zeroing the srb in ScsiPortInquire.
svn path=/trunk/; revision=3231
2002-07-15 18:25:17 +00:00
Eric Kohl
3886e2f66b Dump the first MFT cluster and some file attributes.
svn path=/trunk/; revision=3230
2002-07-15 15:37:33 +00:00
Steven Edwards
d34f38d43f Fix end of line warning for gcc 3.1
svn path=/trunk/; revision=3229
2002-07-15 11:26:07 +00:00
Steven Edwards
8ef0e02d6f Fix end of line warning
svn path=/trunk/; revision=3228
2002-07-15 11:11:17 +00:00
Steven Edwards
7e1f00545a Fix winebuild of regsvr32
svn path=/trunk/; revision=3227
2002-07-15 10:54:13 +00:00
Rex Jolliff
4177237053 a test
svn path=/trunk/; revision=3226
2002-07-15 05:24:27 +00:00
Steven Edwards
c979d633b1 Import of DJ Dalories hcalc window calculator
svn path=/trunk/; revision=3225
2002-07-15 04:55:44 +00:00
Robert Dickenson
1713f73a79 sync minor mod.
svn path=/trunk/; revision=3224
2002-07-14 22:38:37 +00:00
Brian Palmer
17731321a4 *** empty log message ***
svn path=/trunk/; revision=3223
2002-07-14 22:33:06 +00:00
Robert Dickenson
a0f2e6b8ca Split window control, listview and treeview moved to child window.
svn path=/trunk/; revision=3222
2002-07-14 21:03:10 +00:00
Robert Dickenson
dbbae605b7 Split window control, listview and treeview moved to child window.
svn path=/trunk/; revision=3221
2002-07-14 20:38:52 +00:00
Robert Dickenson
45552bacf0 Updated with minor modifications only.
svn path=/trunk/; revision=3220
2002-07-14 18:00:54 +00:00
Robert Dickenson
cf0bb98945 Updated with progress. Still far to go....
svn path=/trunk/; revision=3219
2002-07-14 17:59:36 +00:00
Steven Edwards
5705c99d2a Added touch to the makefile
svn path=/trunk/; revision=3218
2002-07-14 16:01:28 +00:00
Robert Dickenson
8919efa70d Removed obsolete cpp versions of files.
svn path=/trunk/; revision=3217
2002-07-14 15:22:53 +00:00
Hartmut Birr
0ff8db0de8 Close the files after loading.
svn path=/trunk/; revision=3216
2002-07-14 07:48:17 +00:00
Eugene Ingerman
a0e70e46a2 Added reference counting and deferred deletion for GDI objects.
svn path=/trunk/; revision=3215
2002-07-13 21:37:27 +00:00
Casper Hornstrup
e39975e5f1 Fix typo
svn path=/trunk/; revision=3214
2002-07-13 20:56:53 +00:00
Casper Hornstrup
66b0087b28 If symbols are available then pass them to the OS as multiboot modules
svn path=/trunk/; revision=3213
2002-07-13 12:55:07 +00:00
Casper Hornstrup
84b74a9cd9 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* rules.mak (RSYM): Define.
	* include/ddk/zwtypes.h (DebugDbgLoadSymbols): Add to enum
	_DEBUG_CONTROL_CODE.
	* include/ntdll/ldr.h (LDR_SYMBOL_INFO, LdrpLoadUserModuleSymbols): Add.
	(LdrLoadModuleSymbols): Remove.
	* include/ntos/kdbgsyms.h (ST_FILENAME, ST_FUNCTION,
	ST_LINENUMBER): Add.
	(SYMBOL). Make Name an ANSI_STRING.
	(IMAGE_SYMBOL_INFO, AreSymbolsParsed): Add.
	* lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
	LdrpLoadUserModuleSymbols() not LdrLoadModuleSymbols().
	* lib/ntdll/ldr/utils.c (LdrLoadModuleSymbols): Rename to
	LdrpLoadUserModuleSymbols.
	(LdrpLoadUserModuleSymbols): Use DebugDbgLoadSymbols debug control code.
	(LdrLoadDll): assert if out of memory.
	(LdrLoadDll): Call
	LdrpLoadUserModuleSymbols(), not LdrLoadModuleSymbols().
	* lib/ntdll/string/ctype.c (_pctype): #undef.
	* ntoskrnl/dbg/dbgctrl.c (NtSystemDebugControl): Call
	LdrLoadUserModuleSymbols on DebugDbgLoadSymbols.
	* ntoskrnl/include/internal/ldr.h (LdrGetAddressInformation): Add.
	* ntoskrnl/include/internal/module.h (MODULE_TEXT_SECTION): Make SymbolInfo
	an IMAGE_SYMBOL_INFO.
	* ntoskrnl/ke/i386/exp.c (LdrGetAddressInformation): Add prototype.
	(print_address): Change #ifdef KDBG to #ifdef DBG.
	(KiDoubleFaultHandler, KiDumpTrapFrame, KeDumpStackFrames): Dump
	one stack frame per line.
	* ntoskrnl/ke/i386/multiboot.S: Create pagetables for more kernel
	address space so larger modules can be passed from the boot loader.
	* ntoskrnl/ke/i386/usertrap.c (LdrGetAddressInformation): Add prototype.
	(print_user_address): Print symbols using LdrGetAddressInformation().
	* ntoskrnl/ldr/loader.c (SYMBOLFILE_HEADER, IMAGE_SYMBOL_INFO_CACHE,
	STAB_ENTRY, N_FUN, N_SLINE, N_SO, SymbolListHead): Add.
	(TAG_SYM_BUF): Remove.
	(LdrInitDebug): Remove unneeded code.
	(LdrInit1): Prepare for loading symbols.
	(LdrpReadLine, HexL, LdrpParseLine, LdrpLoadModuleSymbolsFromBuffer,
	LdrpLoadUserModuleSymbolsFromBuffer): Remove.
	(LdrpParseImageSymbols, LdrpGetFileName, LdrpGetFunctionName,
	LdrpGetLineNumber, LdrGetAddressInformation, LdrpLookupUserSymbolInfo): Add.
	(LdrpLoadModuleSymbols, LdrInitializeBootStartDriver): Change to use new
	symbol structures.
	(LdrLoadUserModuleSymbols): Cache symbol buffers.
	(LdrUnloadModuleSymbols): Implement.
	(LdrLoadModule, LdrUnloadModule): Change #ifdef KDBG to #ifdef DBG.
	(LdrPEProcessModule): Split a line into two lines.
	(LdrPEProcessModule): Setup for loading symbols.
	* ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Open with FILE_SHARE_READ.
	* ntoskrnl/ps/process.c (PiFreeSymbols): Call LdrUnloadModuleSymbols() to
	free symbols.
	(PiDeleteProcess): Change #ifdef KDBG to #ifdef DBG.
	* ntoskrnl/rtl/ctype.c (_pctype): #undef.
	* ntoskrnl/rtl/string.c (strncpy): Terminate destination string.
	* tools/Makefile (rsym): Add target.
	* tools/helper.mk: Include config and use -g if DBG = 1.

svn path=/trunk/; revision=3212
2002-07-13 12:44:09 +00:00
Casper Hornstrup
3e56065829 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile (install_before): Install system.hiv to correct location.

svn path=/trunk/; revision=3211
2002-07-13 11:45:13 +00:00
Eric Kohl
684b660d77 Fixed a typo
svn path=/trunk/; revision=3210
2002-07-13 11:31:02 +00:00
Robert Dickenson
54a958627a Corrected makefiles for all tests and added new application GetSysMetrics.
svn path=/trunk/; revision=3209
2002-07-10 20:10:16 +00:00
Robert Dickenson
8c8c369504 Updated with changes due to file manager and registry editor work.
svn path=/trunk/; revision=3208
2002-07-10 18:41:10 +00:00
Robert Dickenson
0a8fa54c83 Updated with latest work. Still far to go...
svn path=/trunk/; revision=3207
2002-07-10 18:39:21 +00:00
Eric Kohl
aaf641d620 Implemented the ability to create suspended threads.
svn path=/trunk/; revision=3206
2002-07-10 15:17:35 +00:00
Eric Kohl
cae7cd6a6c Renamed some thread states.
svn path=/trunk/; revision=3205
2002-07-10 15:15:00 +00:00
Eric Kohl
2ecad3b855 ConnectNamedPipe(): STATUS_PIPE_CONNECTED reports a successful connect.
svn path=/trunk/; revision=3204
2002-07-10 15:09:57 +00:00
Robert Dickenson
4684f7fe0e cleanup
svn path=/trunk/; revision=3203
2002-07-09 21:47:54 +00:00
Robert Dickenson
c63a30db15 Fixed missing module in makefile.
svn path=/trunk/; revision=3202
2002-07-09 21:46:46 +00:00
Robert Dickenson
00bd48992d Added some options dialog procedures.
svn path=/trunk/; revision=3201
2002-07-09 21:40:02 +00:00
Robert Dickenson
b2afb794ec Added some resources.
svn path=/trunk/; revision=3200
2002-07-09 20:42:46 +00:00
Robert Dickenson
95e5b26b81 Added new template multiple document interface application.
svn path=/trunk/; revision=3199
2002-07-09 19:53:58 +00:00
Robert Dickenson
d28f38708e Removed obsolete files.
svn path=/trunk/; revision=3198
2002-07-09 19:49:08 +00:00
Robert Dickenson
131548b463 Committing latest progress, still much TODO:
svn path=/trunk/; revision=3197
2002-07-09 19:46:14 +00:00
Robert Dickenson
8fafe08ea7 Added network information utility, net\niclist.
svn path=/trunk/; revision=3196
2002-07-09 19:41:53 +00:00
Robert Dickenson
11d5861527 cleanup
svn path=/trunk/; revision=3195
2002-07-09 19:40:50 +00:00
Robert Dickenson
3f876808eb Created new network utility niclist for displaying list of packet capture devices.
svn path=/trunk/; revision=3194
2002-07-09 19:34:41 +00:00
Steven Edwards
51fbd50e50 More wine dlls/programs
svn path=/trunk/; revision=3193
2002-07-09 03:15:41 +00:00
Steven Edwards
6270465595 Updated for wine
svn path=/trunk/; revision=3192
2002-07-08 12:35:50 +00:00
Steven Edwards
500bd3f56c Fixed typo
svn path=/trunk/; revision=3191
2002-07-08 07:19:38 +00:00
Steven Edwards
f562ef75b8 Fixed more of wine
svn path=/trunk/; revision=3190
2002-07-07 20:03:52 +00:00
Robert Dickenson
ee5be2916e Added entry for new coder.
svn path=/trunk/; revision=3189
2002-07-07 19:47:04 +00:00
Steven Edwards
8c8444aecb Removed by mistake
svn path=/trunk/; revision=3188
2002-07-07 10:44:03 +00:00
Steven Edwards
cb2bfa2afb Syncing of WINE dlls
svn path=/trunk/; revision=3187
2002-07-06 22:36:44 +00:00
Eric Kohl
5e114ab271 Revert last patch.
svn path=/trunk/; revision=3186
2002-07-06 17:38:06 +00:00
Steven Edwards
8fc03ec0f6 Remove wine's rpcrt for the list of targets
svn path=/trunk/; revision=3185
2002-07-06 10:39:18 +00:00
Steven Edwards
3c971f2b7b new config.h
svn path=/trunk/; revision=3184
2002-07-06 10:08:29 +00:00
Robert Dickenson
050dbf13f5 Updated with progress work.
svn path=/trunk/; revision=3182
2002-07-06 02:44:16 +00:00
Eric Kohl
8e101e71d4 Added the ability to expand embedded environment variables to RtlExpandEnvironmentVariable().
svn path=/trunk/; revision=3181
2002-07-05 17:23:05 +00:00
David Welch
54ab6db1c4 Added some missing files.
svn path=/trunk/; revision=3180
2002-07-04 20:12:28 +00:00
David Welch
3c453d5dc1 2002-07-04 David Welch <welch@computer2.darkstar.org>
* subsys/win32k/include/callback.h: Fixed callback argument
	definitions.
	* subsys/win32k/ntuser/winpos.c: Implemented some more of the windows
	sizing/moving code.
	* subsys/win32k/ntuser/painting.c: Implemented some more of the
	window painting code.
	* subsys/win32k/objects/coord.c: Implemented LPtoDP and DPtoLP.
	* subsys/win32k/objects/region.c: Added stubs for some more
	region functions.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the
	process desktop handle as well.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/se/token.c: Don't call the ZwXXX variant of
	system calls when in system context.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* ntoskrnl/Makefile: Added file with MDA output code.
	* ntoskrnl/kd/kdebug.c: Recognize MDA as a destination for
	debug output.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* lib/user32/windows/defwnd.c: Implemented some more of the
	default window handler.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* lib/user32/misc/stubs.c: Removed some stubs to seperate files.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* lib/user32/user32.def: Export ScreenToClient otherwise we
	get problems when code in user32 tries to call it.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* include/win32k/region.h: Added prototypes for some missing
	region functions.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* include/win32k/ntuser.h: Added prototypes for some missing
	NtUserXXX functions.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* include/user32/wininternal.h: Added some constants for
	private GetDCEx styles that WINE needs.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* include/user32/callback.h: Fixed callbacks for messages with
	parameters.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* include/napi/win32.h (W32THREAD): Added pointer to the
	thread's desktop.
	* include/napi/win32.h (W32PROCESS): Removed handle table,
	added a pointer to the process's window station.
	* subsys/win32k/ntuser/guicheck.c (W32kGuiCheck): Reference
	a process's window station on the first win32k system call. Reference
	a thread's desktop on the first win32k system call.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* include/messages.h: Added some missing WM_XXX constants.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* drivers/dd/ide/makefile: Compiling with debugging messages
	needs libgcc to be linked in.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* iface/addsys/genw32k.c: Generate a variable with the
	number of system calls.
	* iface/native/genntdll.c: Generate a proper stack frame for
	the user system call stubs.
	* ntoskrnl/ke/i386/syscall.S: Generate a proper stack frame for
	the handler for system calls.

2002-07-04  David Welch  <welch@computer2.darkstar.org>

	* Makefile: Build the GUI startup application.
	* subsys/system/gstart/gstart.c: Application to start up
	the GUI.

svn path=/trunk/; revision=3179
2002-07-04 19:56:38 +00:00
Steven Edwards
9033534bb4 Fix Wine Resource Compiler Path
svn path=/trunk/; revision=3178
2002-07-04 18:16:42 +00:00
Robert Dickenson
d5251a1991 Fixed incorrect order of resource strings to identifiers.
svn path=/trunk/; revision=3177
2002-07-03 19:33:40 +00:00
Robert Dickenson
157460c518 New File Manager application - winfile.
svn path=/trunk/; revision=3176
2002-07-03 19:32:52 +00:00
Robert Dickenson
bfab1ffb07 Added entries for regedit, regedt32 and taskmgr.
svn path=/trunk/; revision=3175
2002-07-03 18:13:30 +00:00
Robert Dickenson
2c0cbaa9e2 Cleanup after first check-in.
svn path=/trunk/; revision=3174
2002-07-03 18:12:53 +00:00
Robert Dickenson
7fe69e5501 Cleanup after extracting regedit code.
svn path=/trunk/; revision=3173
2002-07-03 18:11:49 +00:00
Robert Dickenson
dc8c16d0fc Created new application - regedit.
svn path=/trunk/; revision=3172
2002-07-03 17:52:20 +00:00
Robert Dickenson
a13ca47ccb Minor updates, added status bar support from TaskMgr.
svn path=/trunk/; revision=3171
2002-07-02 17:37:20 +00:00
Robert Dickenson
06560b36fd Started ReactOS regedt32 application. Mainframe, menus and makefile only.
svn path=/trunk/; revision=3170
2002-07-02 16:57:56 +00:00
Robert Dickenson
bdbc30455a Fixes to performance page resizing and font.bmp updated.
svn path=/trunk/; revision=3169
2002-07-02 15:43:04 +00:00
Brian Palmer
4b42b078ed Recommitting files as binary.
svn path=/trunk/; revision=3168
2002-07-02 04:16:12 +00:00
Brian Palmer
6de3925ad4 Removed corrupt binary files that were added as text files.
svn path=/trunk/; revision=3167
2002-07-02 04:13:43 +00:00
Robert Dickenson
aea5d54245 Fixed font bitmap and minor window placement mods.
svn path=/trunk/; revision=3166
2002-06-30 14:52:10 +00:00
Eugene Ingerman
994b70bb48 Video mode switching when entering pice shell.
svn path=/trunk/; revision=3165
2002-06-30 02:45:44 +00:00
Eugene Ingerman
d01d6a21a7 Ignore v86 faults (for now).
svn path=/trunk/; revision=3164
2002-06-30 02:41:29 +00:00
Eugene Ingerman
a6b20c5fda Added NFLAGS when calling nasm.
svn path=/trunk/; revision=3163
2002-06-30 02:40:24 +00:00
Robert Dickenson
7ec506fe21 no message
svn path=/trunk/; revision=3162
2002-06-29 20:14:26 +00:00
Robert Dickenson
d08fc97f99 Some work on resizing performance page.
svn path=/trunk/; revision=3161
2002-06-29 20:01:17 +00:00
Robert Dickenson
b7d141eefe Added macro for passing RCFLAGS to resource compiler.
svn path=/trunk/; revision=3160
2002-06-29 18:21:00 +00:00
Robert Dickenson
51036c7f74 Updated for building with GCC.
Added graphcntrl for performance page.
Various fixes and additions.

svn path=/trunk/; revision=3159
2002-06-29 18:13:03 +00:00
Brian Palmer
7fc762dac1 Changes in v1.4 (6/27/2002)
- Added separate configuration for a SETUPLDR version

svn path=/trunk/; revision=3158
2002-06-28 00:50:16 +00:00
Eric Kohl
1f6b602dc5 Added check for loaded module prior to loading it.
svn path=/trunk/; revision=3157
2002-06-27 17:52:32 +00:00
Eric Kohl
5b7f97ebf6 Stop the system if SystemRoot cannot be created or is not accessible.
svn path=/trunk/; revision=3156
2002-06-27 17:47:55 +00:00
Eric Kohl
32dfc1175f Set missing OBJ_OPENLINK attribute in IoDeleteSymbolicLinkObject().
svn path=/trunk/; revision=3155
2002-06-27 17:46:53 +00:00
Eric Kohl
1020b229fe Fixed SystemRoot accessibility check.
svn path=/trunk/; revision=3154
2002-06-27 17:45:45 +00:00
Brian Palmer
c2f51ccadd Makefile now generates a sorted symbol file - freeldr.sym
svn path=/trunk/; revision=3153
2002-06-26 22:44:07 +00:00
Brian Palmer
3d14932152 Fixed Makefile so it will work when you do a clean checkout and the tools aren't already built.
svn path=/trunk/; revision=3152
2002-06-26 22:32:43 +00:00
Hartmut Birr
ccf3e5b082 Fixed a typo.
svn path=/trunk/; revision=3151
2002-06-26 18:39:50 +00:00
Hartmut Birr
402fdf5780 Fixed some calculatations in ObmpGetObjectHandle.
svn path=/trunk/; revision=3150
2002-06-26 18:38:24 +00:00
Hartmut Birr
317666175c Added PCM_PARTIAL_RESOURCE_LIST.
svn path=/trunk/; revision=3149
2002-06-26 18:37:36 +00:00
Hartmut Birr
518b1b7a13 Changed the sector size from BLOCKSIZE to the size from the boot sector.
svn path=/trunk/; revision=3148
2002-06-26 18:36:41 +00:00
Eric Kohl
40fe11fc2b Added 'Multi UNC Provider' driver stub.
Added NTFS driver stub.

svn path=/trunk/; revision=3147
2002-06-25 22:25:17 +00:00
Eric Kohl
24c84ca4b7 Added NTFS driver stub.
svn path=/trunk/; revision=3146
2002-06-25 22:23:06 +00:00
Eric Kohl
ef401a1081 Added 'Multi UNC Provider' driver stub.
svn path=/trunk/; revision=3145
2002-06-25 22:21:41 +00:00
Eric Kohl
0892a6b53a Added eventlog service stub.
Added rpc server stub.

svn path=/trunk/; revision=3144
2002-06-25 21:14:26 +00:00
Eric Kohl
b7bc22228a Added rpc server stub.
svn path=/trunk/; revision=3143
2002-06-25 21:11:11 +00:00
Eric Kohl
5190929b04 Added eventlog service stub.
svn path=/trunk/; revision=3142
2002-06-25 21:10:14 +00:00
Eric Kohl
e8b989193d Implemented CallNamedPipeW() and TransactNamedPipe().
svn path=/trunk/; revision=3141
2002-06-25 18:49:38 +00:00
David Welch
409ca20cca One case only please.
svn path=/trunk/; revision=3138
2002-06-22 11:59:46 +00:00
Robert Dickenson
8a68c12c32 Updated with latest changes for including new net modules.
svn path=/trunk/; revision=3136
2002-06-21 21:05:32 +00:00
Robert Dickenson
ea7f10019b Added required definitions for the packet driver to build.
svn path=/trunk/; revision=3135
2002-06-21 20:40:51 +00:00
Eugene Ingerman
1c6674aa68 Fixed typo/bug in W32kCallWindowProc.
svn path=/trunk/; revision=3134
2002-06-21 04:14:07 +00:00
Eric Kohl
5bba28324f Fixed a long-standing hack to open symbolic link objects.
svn path=/trunk/; revision=3133
2002-06-20 21:31:39 +00:00
Eric Kohl
27a682e098 Fixed severe bugs in the default value handling of RegSetValue() and RegQueryValue().
Implemented simple registry links.
Added creation of the CurrentControlSet link.

svn path=/trunk/; revision=3132
2002-06-20 16:31:59 +00:00
Eugene Ingerman
669dabbc82 Updated PICE to work with recent kernel changes. Changed kernel module handling.
svn path=/trunk/; revision=3131
2002-06-20 04:46:11 +00:00
Eric Kohl
79d575aef4 Implemented registry links (REG_LINK).
Create the 'CurrentControlSet' link after the registry has been initialized.

svn path=/trunk/; revision=3130
2002-06-19 22:32:47 +00:00
Eric Kohl
5c4728ed0a Added registry link tests.
svn path=/trunk/; revision=3129
2002-06-19 22:27:43 +00:00
Robert Dickenson
a493f4baea Added new library packet.dll
svn path=/trunk/; revision=3128
2002-06-19 15:50:29 +00:00
Robert Dickenson
0f848a3fd1 Added packet.sys to target list.
svn path=/trunk/; revision=3127
2002-06-19 15:46:32 +00:00
Robert Dickenson
2ce7a61b0b Fixed invalid paths. Added packet to target list.
svn path=/trunk/; revision=3126
2002-06-19 15:45:48 +00:00
Robert Dickenson
d45d540c92 Added new exports
svn path=/trunk/; revision=3125
2002-06-19 15:44:47 +00:00
Robert Dickenson
b61d3e84c2 Added new driver 'packet', ported from the Windows Packet Capture Driver project.
svn path=/trunk/; revision=3124
2002-06-19 15:43:15 +00:00
Robert Dickenson
d8141822e2 Added .cvsingore file.
svn path=/trunk/; revision=3123
2002-06-19 06:38:03 +00:00
Robert Dickenson
c2b9c68cbf Created new module for wshirda.dll
svn path=/trunk/; revision=3122
2002-06-19 06:26:11 +00:00
KJK::Hyperion
2d2ac84025 PSAPI meta-source files moved in the standard location
svn path=/trunk/; revision=3121
2002-06-18 22:36:43 +00:00
KJK::Hyperion
1a9ed68d15 PSAPI initial commit
svn path=/trunk/; revision=3120
2002-06-18 22:16:53 +00:00
David Welch
77a2974988 Moved win32 callback support into a new file.
svn path=/trunk/; revision=3119
2002-06-18 22:03:48 +00:00
David Welch
5f997bca7b 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
* tools/helper.mk: Make an import library a proper target
	depending on the .def file.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* subsys/win32k/ntuser/window.c (NtUserGetWindowLong): Began
	implementation.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* subsys/win32k/misc/object.c (ObmCreateHandle): Return the
	correct handle value.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* subsys/win32k/makefile: Make win32k depend on the file containing
	the service table.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* ntoskrnl/ke/i386/stkswitch.S (KeSwitchStackAndRet,
	KePushAndStackSwitchAndSysRet): Push one value only.
	* ntoskrnl/ps/w32call.c (NtCallbackReturn, NtW32Call): Moved
	these functions to a new file. Restore the old trap frame after
	returning from a callback.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* lib/user32/windows/message.c (CallWindowProcA, CallWindowProcW):
	Convert message to Unicode or ASCII if necessary.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* include/user32/callback.h: Added WM_CREATE and WM_NCCALCSIZE
	callbacks.
	* lib/user32/windows/window.c (User32SendCREATEMessageForKernel,
	User32SendNCCREATEMessageForKernel): Implemented.
	* subsys/win32k/ntuser/callback.c (W32kSendCREATEMessage):
	Implemented.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* include/structs.h: Added Unicode and ASCII versions of
	CREATESTRUCT.

svn path=/trunk/; revision=3118
2002-06-18 21:51:11 +00:00
Brian Palmer
3acd677b53 Fixed GetBiosMemoryMap() function.
svn path=/trunk/; revision=3117
2002-06-18 21:40:27 +00:00
Eric Kohl
9fb8f57561 IoDestroyDriverList(): Free memory of group and service entries.
IopCreateServiceListEntry(): simplified function and reduced memory consumption.

svn path=/trunk/; revision=3116
2002-06-18 07:11:44 +00:00
Eric Kohl
b29a9b85b9 RtlQueryRegistryValues() must treat REG_MULTI_SZ and REG_EXPAND_SZ values like REG_SZ values upon direct queries.
svn path=/trunk/; revision=3115
2002-06-18 07:07:42 +00:00
joeg
57c8a1c6e3 apps/tests/tokentest.c
* Fix stupidity that prevented tokentest
  from compiling

svn path=/trunk/; revision=3114
2002-06-17 23:13:35 +00:00
joeg
941ae04aa2 ntoskrnl/ps/process.c
* Call SepCreateSystemProcessToken() when creating the
  initial system process.  Cleanup the token during
  in PiDeleteProcess().

* Call SepInitializeNewProcess() during NtCreateProcess
  to copy the parent processes token to the new process.

ntoskrnl/include/internal/se.h
ntoskrnl/se/token.c

* Change name of SepDuplicationToken() [which was unimplemented]
  to SepDuplicateToken().  Implement it.

* Implement new functions (which are used by process.c)
  SepInitializeNewProcess() and SepCreateSystemToken().

* Correctly (I think) set Token->ImpersonationLevel in
  NtCreateToken().

apps/tests/tokentest/tokentest.c

* Dump the current processes token.

svn path=/trunk/; revision=3113
2002-06-17 22:52:32 +00:00
joeg
0f1c17eda0 ntoskrnl/ke/main.c
* Move SeInit2() to before we initialize process
  management so we can create an initial system
  token to go with the initial system process.

ntoskrnl/ps/process.c
* Implement NtOpenProcessToken() by calling
  _NtOpenProcessToken() -- why do we have
  both of these?

* Fix bug in _NtOpenProcessToken() that
  caused us to crash creating the token
  handle.

* Return STATUS_INVALID_INFO_CLASS from
  NtQueryInformationProcess() and
  NtSetInformationProcess() for information classes
  documented as unqueryable or unsettable
  by Gary Nebbet in his book "Native API Reference".

* Fix bug in NtSetInformationProcess() where it
  assigns the primary token -- it derefeneced the
  old token if SeExchangePrimaryToken() failed;
  it should have derferenced it if it succeeded.

svn path=/trunk/; revision=3112
2002-06-17 22:16:34 +00:00
Robert Dickenson
eebe5809fd Created new empty module for buiding ws2help.dll
Yet to define parameters and return values for all exports.

svn path=/trunk/; revision=3111
2002-06-17 19:33:45 +00:00
Eric Kohl
81a07ed6a6 Improved driver loading sequence with respect to the group order.
Added ability to run user-mode services.

svn path=/trunk/; revision=3110
2002-06-17 15:47:32 +00:00
Eric Kohl
1b52f5ff18 Implemented direct query of REG_EXPAND_SZ values.
svn path=/trunk/; revision=3109
2002-06-17 15:42:30 +00:00
Steven Edwards
df3c5b992e added simple tcp server test
svn path=/trunk/; revision=3108
2002-06-17 06:01:17 +00:00
David Welch
279f0b0ed5 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
* tools/help.mk: Make the install target depend on all the
	files to be installed.

2002-06-16  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* ntoskrnl/ps/thread.c (NtCallbackReturn): Set TSS.Esp0 to the
	top of the old stack.
	* ntoskrnl/ps/thread.c (NtW32Call): Set TSS.Esp0 to the top of
	the new stack. Free the callback stack correctly. Don't copy
	portion of the trap frame that doesn't exist in non-v86-mode
	interrupts.
	* ntoskrnl/ps/thread.c (PsFreeCallbackStack): New function to
	free a stack allocated with PsAllocateCallbackStack.

2002-06-16  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* drivers/dd/null/makefile: Commented out local LDFLAGS as
	these cause bad relocations in the stripped image.

2002-06-16  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* config: Corrected spelling error.

svn path=/trunk/; revision=3107
2002-06-16 21:41:16 +00:00
Jason Filby
78f1caa4a9 NtW32Call: replace sizeof(KTRAP_FRAME) with 124 bytes
svn path=/trunk/; revision=3106
2002-06-16 20:52:07 +00:00
Eric Kohl
e6b5136b65 Fixed wrong interpretation of value cell size in NtSetValueKey().
svn path=/trunk/; revision=3105
2002-06-16 20:00:34 +00:00
Casper Hornstrup
7c5d3bb9ef Revert last change
svn path=/trunk/; revision=3104
2002-06-16 17:25:58 +00:00
Casper Hornstrup
1a1942d5c0 Avoid importing _pctype when using mingw-runtime 2.0.
svn path=/trunk/; revision=3103
2002-06-16 16:27:22 +00:00
Eric Kohl
d783d4d686 Fixed loading of symbol files.
Implemented automatic loading of PICE.

svn path=/trunk/; revision=3102
2002-06-16 11:45:06 +00:00
Steven Edwards
56deabe577 Updated Makefile to fix building
svn path=/trunk/; revision=3101
2002-06-16 06:05:28 +00:00
Steven Edwards
a8b847f532 Fixed include path in ramdriver
svn path=/trunk/; revision=3100
2002-06-16 06:02:17 +00:00
Steven Edwards
4d831f2242 Fixed building of Serial Mouse driver (still broken)
svn path=/trunk/; revision=3099
2002-06-16 04:47:56 +00:00
Eric Kohl
7c25d62093 Changed calling convention of EngXxx funtions to STDCALL.
Added missing includes.

svn path=/trunk/; revision=3096
2002-06-15 21:44:08 +00:00
Eric Kohl
37c39cc09a Changed the calling convention used by the video miniport/port driver interface and the display driver/win32k interface (DrvXxx functions) to STDCALL.
The EngXxx and other funtions will be changed in a second step.

svn path=/trunk/; revision=3095
2002-06-15 14:58:25 +00:00
Hartmut Birr
8dd702a72b Fixed saving of esp in KePushAndStackSwitchAndSysRet.
svn path=/trunk/; revision=3094
2002-06-15 14:57:29 +00:00
Jason Filby
97970adc7d Fixed missing initialization in PsAllocateCallback
svn path=/trunk/; revision=3093
2002-06-15 11:27:28 +00:00
Eric Kohl
5e1123c888 Cleanup, add display of token values being passed into ZwCreateToken() as well as display of values coming out of the token.
(Patch by Joseph Galbraith)

svn path=/trunk/; revision=3092
2002-06-15 10:13:35 +00:00
Eric Kohl
6017a8515d Enable %wZ and %Z format specifiers (remove #if 0).
Fix check for NULL Buffer (it was checking for non-null Buffer).
Fix length field when printing unicode strings; it was printing twice as many characters as it should have.
(Patch by Joseph Galbraith)

svn path=/trunk/; revision=3091
2002-06-15 10:12:43 +00:00
Eric Kohl
165c6d209a Fix bug in RtlEqualSid() that caused all sids with the same sub-authority count to compare equal.
Teach RtlpAddKnownAce() some status values other than STATUS_UNSUCCESSFUL.
(Patch by Joseph Galbraith)

svn path=/trunk/; revision=3090
2002-06-15 10:10:43 +00:00
Eric Kohl
fd874ecc14 Fix bug in RtlpAddKnownAce() that caused it to place the SID in the wrong location.
Teach RtlpAddKnownAce() some status values other than STATUS_UNSUCCESSFUL.
(Patch by Joseph Galbraith)

svn path=/trunk/; revision=3089
2002-06-15 10:09:17 +00:00
Jason Filby
b6b3e3f14e Bugfix: correct memory allocation calculation
svn path=/trunk/; revision=3088
2002-06-14 20:56:17 +00:00
Jason Filby
b592122ee6 Fixed another typo
svn path=/trunk/; revision=3087
2002-06-14 19:07:32 +00:00
Jason Filby
0a5b749896 Fixed some typos
svn path=/trunk/; revision=3086
2002-06-14 18:55:09 +00:00
Casper Hornstrup
5b804e36db Don't install static libraries.
svn path=/trunk/; revision=3085
2002-06-14 17:17:38 +00:00
Jason Filby
a0c16e128a GuiCheck for NtUserRegisterClassExWOW
svn path=/trunk/; revision=3081
2002-06-14 15:21:43 +00:00
Eric Kohl
260116f684 Fixed direct reference to a driver object.
svn path=/trunk/; revision=3080
2002-06-14 14:24:28 +00:00
Eric Kohl
01b92c6de5 Pass pointer to CSRSS process on first create request.
svn path=/trunk/; revision=3079
2002-06-14 14:23:14 +00:00
Eric Kohl
69c0982e64 Added vga driver
svn path=/trunk/; revision=3078
2002-06-14 14:19:28 +00:00
Casper Hornstrup
7e27a9348f Delete dependency files on clean
svn path=/trunk/; revision=3077
2002-06-14 13:20:08 +00:00
Casper Hornstrup
49051a245f Use standard mingw32 prefix on linux.
svn path=/trunk/; revision=3076
2002-06-14 13:04:18 +00:00
Casper Hornstrup
8d0ecd86c9 Make clean rule depend on tools rule
svn path=/trunk/; revision=3075
2002-06-14 11:06:03 +00:00
Eric Kohl
503826a739 Fixed automatic loading of required modules.
Cleaned up module loading interface.

svn path=/trunk/; revision=3074
2002-06-14 07:49:58 +00:00
David Welch
fd2a5c35a4 Split up some stubs into their own files.
svn path=/trunk/; revision=3068
2002-06-13 20:36:40 +00:00
Hartmut Birr
e019c02170 Reseting the conversion qualifier for each new value from the format string.
svn path=/trunk/; revision=3063
2002-06-13 16:45:02 +00:00
Eric Kohl
e2822009d7 Fixed driver unloading upon failing initialization.
svn path=/trunk/; revision=3062
2002-06-13 15:14:28 +00:00
Brian Palmer
63ea3fb94c Cross-platform tools added to Makefiles.
svn path=/trunk/; revision=3061
2002-06-13 00:39:49 +00:00
Eric Kohl
6ab0a870c1 Updated the system hive and the boot driver list.
svn path=/trunk/; revision=3060
2002-06-12 23:38:28 +00:00
Eric Kohl
6f7c3842bc Now ZwLoadDriver() uses the registry path instead of a file name to load a driver.
svn path=/trunk/; revision=3059
2002-06-12 23:35:55 +00:00
Eric Kohl
9d3870ce78 Cleaned up the driver loading routines.
svn path=/trunk/; revision=3058
2002-06-12 23:33:15 +00:00
Eric Kohl
2137580260 Use the registry to load system start drivers.
svn path=/trunk/; revision=3057
2002-06-12 23:30:36 +00:00
Eric Kohl
0f47c75c9a Use NtSetSystemInformation() to load win32k.sys because it is not a driver but a kernel extension.
svn path=/trunk/; revision=3056
2002-06-12 23:26:56 +00:00
Eric Kohl
c16bc4c28d RtlpGetRegistryHandle(): Don't remove a leading backslash if an absolute registry path is used.
svn path=/trunk/; revision=3055
2002-06-12 23:24:19 +00:00
Casper Hornstrup
debb46b5c3 BugCheck if no boot drivers are passed to ntoskrnl.exe
svn path=/trunk/; revision=3054
2002-06-12 14:06:29 +00:00
Casper Hornstrup
a07b0d8b8e * Call RtlCreateUnicodeString() instead of RtlInitUnicodeString() when
initializing the DeviceNode->ServiceName, since IopFreeDeviceNode()
  will use RtlFreeUnicodeString() on it.

* Call ObDereferenceObject() instead of ExFreePool() to release the
  DeviceObject if DriverEntry fails.
  Patch from Joseph Galbraith.

svn path=/trunk/; revision=3053
2002-06-12 14:05:03 +00:00
Rex Jolliff
72a2cedd0a another test of commit mailer
svn path=/trunk/; revision=3052
2002-06-12 02:32:14 +00:00
Rex Jolliff
c2c993d6bb a test of commit mailer
svn path=/trunk/; revision=3051
2002-06-12 01:59:50 +00:00
David Welch
05ad1d3198 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
* subsys/system/winlogon/winlogon.c (WinMain): Check for
	failure when creating a window system.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* ntoskrnl/ob/handle.c (ObDuplicateObject): Added this internal
	function for duplicating objects.
	* ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the parent
	process's window station to the child process.
	* ntoskrnl/ps/process.c (PsInitProcessManagement): Initialize the
	first process's window station.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* ntoskrnl/mm/marea.c (MmCreateMemoryArea): Initialise
	page operation structure members.
	* ntoskrnl/mm/pageop.c (MmReleasePageOp, MmGetPageOp): Increment
	or decrement the page operation count in the memory area.
	* ntoskrnl/mm/virtual.c (MmNotPresentFaultVirtualMemory,
	MmPageOutVirtualMemory): Check for a deleted memory area before
	handling the fault.
	* ntoskrnl/mm/virtual.c (MmFreeVirtualMemory): Wait for all
	page operations to finish before freeing the memory area.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* ntoskrnl/ke/i386/syscall.S (interrupt_handler2e): Corrected
	test for previous mode, upper 16-bit of CS on the stack after an
	interrupt are arbitary.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* lib/user32/misc/winsta.c: Cleaned up indentation.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* apps/tests/winhello/winhello.c (WinMain, MainWndProc):
	Cleaned up formatting, some more error checks.

2002-06-04  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* ntoskrnl/mm/virtual.c (MmSecureVirtualMemory,
	MmUnsecureVirtualMemory, NtQueryVirtualMemory): Corrected indentation.

svn path=/trunk/; revision=3050
2002-06-11 22:09:03 +00:00
Casper Hornstrup
669a991546 Add multi and expand registry key type support.
svn path=/trunk/; revision=3049
2002-06-11 20:10:36 +00:00
Eric Kohl
30a776c6e9 Fixed LdrpCompareModuleNames() to accept fully qualified path names too.
svn path=/trunk/; revision=3048
2002-06-11 18:37:23 +00:00
Brian Palmer
a89e08d368 Caches the current FAT sector so it doesn't read again if it doesn't have to.
svn path=/trunk/; revision=3047
2002-06-11 16:58:31 +00:00
Casper Hornstrup
65ae3074e9 Kill warnings.\n Use DbgPrint for debugging registry.
svn path=/trunk/; revision=3046
2002-06-11 16:23:20 +00:00
Brian Palmer
8bab1a8f2d Optimized FAT32 bootsector to read more than 1 sector at a time on systems supporting LBA calls.
svn path=/trunk/; revision=3045
2002-06-11 05:41:45 +00:00
Eric Kohl
6ac81e7954 Changed data structure which represents driver objects from MODULE_OBJECT to DRIVER_OBJECT.
Now a DriverEntry's RegistryPath string is usable automagically.

svn path=/trunk/; revision=3044
2002-06-10 23:04:48 +00:00
Hartmut Birr
0ddc3e2715 Reference/Dereference the process object in PiTerminateProcess.
svn path=/trunk/; revision=3043
2002-06-10 21:37:45 +00:00
Hartmut Birr
0dbc90e4e0 Unmap the pages first and than remove the entries from the allocation map in MmUnmapLockedPages.
svn path=/trunk/; revision=3042
2002-06-10 21:36:31 +00:00
Hartmut Birr
16068960f0 Replaced all calls to MmDereferencePage with MmReleasePageMemoryConsumer.
Added handling for multiple referenced pages in MmReleasePageMemoryConsumer.

svn path=/trunk/; revision=3041
2002-06-10 21:34:38 +00:00
Hartmut Birr
a64eec7e49 Added flushing of file streams.
svn path=/trunk/; revision=3040
2002-06-10 21:28:36 +00:00
Hartmut Birr
495dfc660f Rewrote fread/fwrite for a better/faster handling of reads/writes requests.
svn path=/trunk/; revision=3039
2002-06-10 21:26:36 +00:00
Hartmut Birr
9ac5422074 Fixed ftell for streams which are opened for reading and writing.
svn path=/trunk/; revision=3038
2002-06-10 21:23:34 +00:00
Hartmut Birr
f0cb69cade Fixed fflush for non dirty file streams.
svn path=/trunk/; revision=3037
2002-06-10 21:21:06 +00:00
Hartmut Birr
b971a7adc6 Fixed a minor bug in updEntry.
svn path=/trunk/; revision=3036
2002-06-10 21:19:18 +00:00
Hartmut Birr
f3e094f2f0 Updating the directory entries in VfatWrite only, if the allocation size has changed.
Added zeroing for files, if the write starts after the current end of the file.

svn path=/trunk/; revision=3035
2002-06-10 21:17:57 +00:00
Hartmut Birr
20a4914b89 Added updating of directory entries in VfatCleanupFile/VfatCloseFile.
svn path=/trunk/; revision=3034
2002-06-10 21:15:58 +00:00
Hartmut Birr
87e32585f2 Fixed a minor bug in CcSetFileSizes.
svn path=/trunk/; revision=3033
2002-06-10 21:13:26 +00:00
Hartmut Birr
8393c73b3b Implemented CcZeroData.
svn path=/trunk/; revision=3032
2002-06-10 21:11:56 +00:00
Eric Kohl
c4d4559cce Moved io/drvlck.c to mm.
Minimize access to the module object via the object manager.
Use module list for internal module management.
Protect module list with a spinlock.

svn path=/trunk/; revision=3031
2002-06-10 08:50:55 +00:00
Eric Kohl
c9e12ce035 Handle multi-string group order list properly.
svn path=/trunk/; revision=3030
2002-06-09 13:28:49 +00:00
Emanuele Aliberti
10514a1fd8 PSXSS: It seems the renamed csrterm did not get in the repository.
PSXSS: I try again.

svn path=/trunk/; revision=3029
2002-06-09 08:37:07 +00:00
Brian Palmer
662162a601 Fixed bug that was preventing FreeLoader from booting on FAT32 systems.
svn path=/trunk/; revision=3028
2002-06-09 00:03:58 +00:00
Brian Palmer
20327bf11a Changes in v1.3.1 (6/8/2002)
- Implemented MmAllocateMemoryAtAddress()
- Fixed Linux boot code to go through the memory manager to allocate memory at 1MB

svn path=/trunk/; revision=3027
2002-06-08 19:20:01 +00:00
Emanuele Aliberti
6eab84796a Mostly path fixing after new modules layout is in effect.
I renamed the terminal emulator CSRTERM: now it is named POSIXW32,
because it is a a door to reach the POSIX+ subsystem FROM the Win32
subsystem.

svn path=/trunk/; revision=3026
2002-06-08 16:28:05 +00:00
Eric Kohl
bb14287865 - Implement NtCreateToken()
- Implement RtlGetAce()
- Fix bug which cause RtlCreateAcl() to always fail.
- Cleanup parameter names and fix bug that caused a buffer overrun in RtlCopySidAndAttributesArray()
- When referencing the token object in NtQueryInformationToken() pass in either TOKEN_QUERY access or TOKEN_QUERY_SOURCE access. Passing in zero led to ObReferenceObjectByHandle() always failing with ACCESS_DENIED.
- Fixed NtQueryInformationToken() to check the buffer length and return STATUS_BUFFER_TO_SMALL and the required length.
- Ensure that the ReturnLength is set correctly when NtQueryInformationToken() succeeds. Previously, it was set to the number of bytes unused in the user buffer in some cases or not set at all.
- Handle case of NULL default dacl correctly in NtQueryInformationToken()
- Update main makefile to build apps\utils.
- Update makefiles in apps\utils to have the correct PATH_TO_TOP.
- Update main makefile to build apps\tests\tokentest

Written by Joseph Galbraith.

svn path=/trunk/; revision=3024
2002-06-07 23:00:20 +00:00
Eric Kohl
33cc33c731 Let services.exe load the auto-start drivers.
svn path=/trunk/; revision=3023
2002-06-07 20:11:03 +00:00
Hartmut Birr
e1a2eb2f0b Fixed the return value in GetFileSize.
svn path=/trunk/; revision=3022
2002-06-07 16:54:04 +00:00
Hartmut Birr
23ed00e90e Fixed the allocation size for the fat in VfatMount.
svn path=/trunk/; revision=3021
2002-06-07 16:53:18 +00:00
Eugene Ingerman
9910fb19ec Updated paths after directory was moved.
svn path=/trunk/; revision=3020
2002-06-07 05:35:04 +00:00
Eric Kohl
421ce5c9dc Fixed broken handling of SCSI port capabilities.
svn path=/trunk/; revision=3019
2002-06-06 23:20:08 +00:00
Brian Palmer
0bb513eddf Makefile fixes
svn path=/trunk/; revision=3018
2002-06-06 21:33:13 +00:00
Jason Filby
aa8aca9ec4 Don't define CC in makefile
svn path=/trunk/; revision=3017
2002-06-06 20:36:52 +00:00
Eric Kohl
6a97fcb4f7 Added full short name (8.3 name) support.
svn path=/trunk/; revision=3016
2002-06-06 19:01:04 +00:00
Eric Kohl
cf6fb9b64c Fixed another silly bug.
svn path=/trunk/; revision=3015
2002-06-06 18:59:50 +00:00
Jason Filby
51fddda8d4 Implemented NtUserPeekMessage
svn path=/trunk/; revision=3014
2002-06-06 17:50:16 +00:00
Eric Kohl
bee2ec8653 Added partial suppport for short names (8.3 names).
svn path=/trunk/; revision=3013
2002-06-06 16:20:52 +00:00
Eric Kohl
f9769b54cf Fixed a typo in RtlGenerate8dot3Name().
Added more tests to RtlIsNameLegalDOS8Dot3().

svn path=/trunk/; revision=3012
2002-06-06 16:17:26 +00:00
Eric Kohl
819490ac07 Fixed the copy length in RtlQueryRegistryValues(). Found by Hartmut Birr.
svn path=/trunk/; revision=3011
2002-06-06 14:03:58 +00:00
Brian Palmer
ac99fa1fdc Changes in v1.3 (6/5/2002)
- Added protected mode exception handling in case FreeLoader crashes
- Reworked memory manager to use all of extended memory
- Reworked UI code, now supports multiple text-mode resolutions

svn path=/trunk/; revision=3010
2002-06-06 05:58:37 +00:00
Hartmut Birr
998a072d3f Fixed the alocation size in NtRegisterThreadTerminatePort.
svn path=/trunk/; revision=3009
2002-06-05 19:38:08 +00:00
Hartmut Birr
a7c919c505 Created the object handle only if the object is created successful in ObCreateObject.
This fixes some crashs after changing to a nonexisting drive and
a message like 'Parent is a Directory which is not a device type'.

svn path=/trunk/; revision=3008
2002-06-05 19:37:12 +00:00
Hartmut Birr
2422bc4676 Fixed the wrong parameter odering in a call to memset in EiAddSharedOwner.
svn path=/trunk/; revision=3007
2002-06-05 19:36:10 +00:00
Hartmut Birr
69671d74e1 Fixed the copy length in RtlQueryRegistryValues.
svn path=/trunk/; revision=3006
2002-06-05 19:35:04 +00:00
Hartmut Birr
926cc1342f Fixed a test after a memory allocation in CmiInitPermanentRegistryHive.
svn path=/trunk/; revision=3005
2002-06-05 19:34:08 +00:00
Hartmut Birr
d55c657a07 Fixed the error string odering.
svn path=/trunk/; revision=3004
2002-06-05 19:33:11 +00:00
Hartmut Birr
6e8befbaa7 Fixed the declaration of _alloca/alloca.
svn path=/trunk/; revision=3003
2002-06-05 19:32:20 +00:00
Hartmut Birr
b37ed73013 Fixed the value CurrentTransferPages for splited requests in ScsiClassReadWrite.
svn path=/trunk/; revision=3002
2002-06-05 19:31:39 +00:00
Eric Kohl
9078342c24 Implemented RtlGenerate8dot3Name() and RtlIsNameLegalDOS8Dot3().
svn path=/trunk/; revision=3001
2002-06-05 16:53:36 +00:00
David Welch
3d3be3df27 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
* ntoskrnl/ke/i386/exp.c (KiDoubleFaultHandler): Print CR3
	correctly.

2002-06-04  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

	* ntoskrnl/include/internal/ps.h: Added KTHREAD_STACK_LIMIT definition.
	* ntoskrnl/ke/i386/tskswitch.S (Ki386ContextSwitch): Force all the
	pages of the kernel stack to be accessible from this process.

2002-06-04  David Welch  <welch@cwcom.net>

	* ntoskrnl/cc/view.c (ReadCacheSegmentChain): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/cc/copy.c (CcRosCreateCacheSegment): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/cc/copy.c (CcFreeCachePage): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/include/internal/mm.h: Changed prototypes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/include/internal/ps.h (KPROCESS): Changed type of
	page directory base to PHYSICAL_ADDRESS.
	* ntoskrnl/include/internal/i386/mm.h: Changed prototypes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/ke/kthread.c (KeFreeStackPage): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/ke/kthread.c (KeInitializeThread): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/ke/process.c (KeAttachProcess, KeDetachProcess): Changes
	to use PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/ke/kernel.c (PcrPages, KeApplicationProcessorInit): Changes
	to use PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/balance.c (MM_ALLOCATION_REQUEST): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/balance.c (MmReleasePageMemoryConsumer): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/balance.c (MmRequestPageMemoryConsumer): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/cont.c (MmFreeContinuousPage): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/cont.c (MmAllocateContinuousAlignedMemory): Changes to
	use PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/freelist.c (MmTransferOwnershipPage,
	MmGetLRUFirstUserPage, MmGetLRUNextUserPage, MmGetContinuousPages,
	MmInitializePageList, MmSetFlagsPage, MmSetRmapListHeadPage,
	MmGetRmapListHeadPage, MmMarkPageMapped, MmMarkPageUnmapped,
	MmGetFlagsPage, MmSetSavedSwapEntryPage, MmGetSavedSwapEntryPage,
	MmReferencePage, MmGetReferenceCountPage, MmIsUsablePage,
	MmDereferencePage, MmGetLockCountPage, MmLockPage, MmUnlockPage,
	MmAllocPage): Changes to use PHYSICAL_ADDRESS type for physical
	addresses.
	* ntoskrnl/mm/iospace.c (MmMapIoSpace): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/kmap.c (ExAllocatePage, MiZeroPage, MiCopyFromUserPage,
	ExAllocatePageWithPhysPage): Changes to use PHYSICAL_ADDRESS type for
	physical addresses.
	* ntoskrnl/mm/marea.c (MmFreeMemoryArea): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/mdl.c (MmUnlockPages, MmMapLockedPages,
	MmProbeAndLockPages): Changes to use PHYSICAL_ADDRESS type for
	physical addresses.
	* ntoskrnl/mm/mm.c (MmSharedDataPagePhysicalAddress,
	MmCommitPagedPoolAddress, MmNotPresentFault): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/mminit.c (MmInitVirtualMemory): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/ncache.c (MmAllocateNonCachedMemory,
	MmFreeNonCachedPage): Changes to use PHYSICAL_ADDRESS type for
	physical addresses.
	* ntoskrnl/mm/npool.c (grow_kernel_pool): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/rmap.c (MmPageOutPhysicalAddress, MmInsertRmap,
	MmDeleteAllRmaps, MmDeleteRmap): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/section.c (MiReadPage, MmNotPresentFaultSectionView,
	MmAccessFaultSectionView, MmPageOutDeleteMapping,
	MmPageOutSectionView, MmFreeSectionPage): Changes to use
	PHYSICAL_ADDRESS type for physical addresses.
	* ntoskrnl/mm/slab.c (ExGrowSlabCache): Changes to use
	PHYSICAL_ADDRESS type for physical address.
	* ntoskrnl/mm/virtual.c (MmPageOutVirtualMemory,
	MmNotPresentFaultVirtualMemory, MmFreeVirtualMemoryPage): Changes to
	use PHYSICAL_ADDRESS type for physical address.
	* ntoskrnl/mm/wset.c (MmTrimUserMemory): Changes to use
	PHYSICAL_ADDRESS type for physical address.
	* ntoskrnl/mm/page.c (Mmi386ReleaseMmInfo, MmCopyMmInfo,
	MmGetPhysicalAddressForProcess, MmCreateVirtualMapping,
	MmCreateVirtualMappingUnsafe, MmCreateVirtualMappingForProcess,
	MmDeleteVirtualMapping): Changes to use PHYSICAL_ADDRESS type for
	physical address.
	* ntoskrnl/ps/process (PsInitProcessManagment): Changes to use
	PHYSICAL_ADDRESS type for physical address.
	* ntoskrnl/ps/thread.c (PsAllocateCallbackStack): Changes to use
	PHYSICAL_ADDRESS type for physical address.

2002-06-04  David Welch  <welch@cwcom.net>

	* Lots of change since the ChangeLog was last updated.

svn path=/trunk/; revision=3000
2002-06-04 15:26:58 +00:00
Eric Kohl
a7a6f4a353 Fixed typo!
svn path=/trunk/; revision=2999
2002-06-04 14:14:07 +00:00
Eric Kohl
0fae9a2eac Fixed token type initialization.
svn path=/trunk/; revision=2998
2002-06-04 13:44:06 +00:00
Casper Hornstrup
a31f8b8f88 Corrected install.bat
svn path=/trunk/; revision=2997
2002-06-02 22:19:11 +00:00
Nedko Arnaudov
63409d34cf Ignore some intermediate files
svn path=/trunk/; revision=2996
2002-06-02 21:16:44 +00:00
Casper Hornstrup
1504a1115c Compile with new layout
svn path=/trunk/; revision=2995
2002-06-02 19:25:02 +00:00
Robert Kopferl
3d8bcf9d02 reorganized some files
svn path=/trunk/; revision=2994
2002-05-30 15:11:47 +00:00
Eric Kohl
9238b6279b Replaced linux partition type constants.
svn path=/trunk/; revision=2993
2002-05-29 21:41:41 +00:00
Eric Kohl
f07010f0fe Replaces linux partition type constants.
svn path=/trunk/; revision=2992
2002-05-29 21:39:06 +00:00
Eric Kohl
a6945246c2 Minor cleanup
svn path=/trunk/; revision=2991
2002-05-28 16:11:17 +00:00
Eric Kohl
b5f307997d Wait for BUSY to clear prior to selecting a drive. Disabled old code.
svn path=/trunk/; revision=2990
2002-05-28 09:34:18 +00:00
Eric Kohl
4cd4c7a855 Build a fake partition table for removable media drives.
svn path=/trunk/; revision=2989
2002-05-28 09:29:07 +00:00
Eric Kohl
d92e35924c Fix to support removable media (512 bytes per sector only!).
svn path=/trunk/; revision=2988
2002-05-28 09:25:09 +00:00
Hartmut Birr
a6f55d8cf7 Fixed creation of paging file in SmPagingFilesQueryRoutine.
svn path=/trunk/; revision=2987
2002-05-27 18:24:44 +00:00
Hartmut Birr
5d9e939c65 Fixed returned file length in GetFileInformationByHandle.
svn path=/trunk/; revision=2986
2002-05-27 18:23:49 +00:00
Eric Kohl
69494ad0b8 Silenced debug messages.
svn path=/trunk/; revision=2985
2002-05-26 20:25:49 +00:00
Eric Kohl
f193742266 Implemented command retries.
Improved error handling.

svn path=/trunk/; revision=2984
2002-05-26 20:24:42 +00:00
Eric Kohl
af5a948adf Always update disk geometry.
svn path=/trunk/; revision=2983
2002-05-26 20:23:22 +00:00
Eric Kohl
5aad28cf99 Silenced debug messages.
svn path=/trunk/; revision=2982
2002-05-26 20:20:39 +00:00
Eric Kohl
32e8099716 Enabled driver letter assignment for removable drives.
svn path=/trunk/; revision=2981
2002-05-26 20:18:18 +00:00
Eric Kohl
9ca6cf1169 Made NTFS-Partitions mountable.
svn path=/trunk/; revision=2980
2002-05-25 13:32:51 +00:00
Eric Kohl
a9f79206fa Fixed timeout for unpopulated ide channels.
Fixed inquiry data block for unpopulated ide channels.
Minor cleanup.

svn path=/trunk/; revision=2979
2002-05-25 13:30:53 +00:00
Eric Kohl
66bc07c8b9 Fixed severe bug in drive detection code.
Minor cleanup.

svn path=/trunk/; revision=2978
2002-05-24 22:28:11 +00:00
Eric Kohl
6ff87bd4f1 Fixed a severe bug in RtlQueryRegistryValues() and implemented support for REG_EXPAND_SZ.
Read the system environment from the registry.

svn path=/trunk/; revision=2977
2002-05-24 18:08:39 +00:00
Eric Kohl
dffbf01285 Added import of REG_EXPAND_SZ registry values.
Added media change support.
Added 'BootExecute'-feature to smss.
Added autochk dummy application.

svn path=/trunk/; revision=2976
2002-05-24 07:52:09 +00:00
Emanuele Aliberti
890bc030ff Build failed, then I removed it and checked it out again but ^Ms were there again.
I just removed the ^M at EOF. Maybe this time it works.

svn path=/trunk/; revision=2975
2002-05-23 20:59:22 +00:00
Eric Kohl
02fd65a6dc Use NT-compatible (VPB-based) mounting mechanism.
svn path=/trunk/; revision=2974
2002-05-23 09:53:26 +00:00
Brian Palmer
e5423f156b Compared the output of fat.asm from nasm v0.98 and nasm v0.98.32.
Modified fat.asm to produce the same output under both versions.

svn path=/trunk/; revision=2973
2002-05-22 22:15:28 +00:00
Eric Kohl
8e529b4411 Read settings from the registry.
svn path=/trunk/; revision=2972
2002-05-22 15:55:51 +00:00
Eric Kohl
47ee8afc68 Fixed Unload routine prototype.
svn path=/trunk/; revision=2971
2002-05-21 19:29:00 +00:00
David Welch
f4623b38f3 ntoskrnl/cc/view.c: CcRosTrimCache: Added a comment describing the
function.
ntoskrnl/ex/fmutex.c: ExAcquireFastMutexUnsafe: Reverted incorrect fix.
ntoskrnl/mm/section.c: MmUnmapViewOfSection: Removed acquiring the address
space lock; this is always done by the caller.
ntoskrnl/mm/section.c: NtUnmapViewOfSection: Hold the address space lock
over calls to MmUnmapViewOfSection.

svn path=/trunk/; revision=2970
2002-05-19 14:09:35 +00:00
Casper Hornstrup
10100f9649 Fixed a bug in ExAquireFastMutexUnsafe
svn path=/trunk/; revision=2969
2002-05-19 13:53:02 +00:00
David Welch
daad760238 services/fs/cdfs/.cvsignore: Added .cvsignore file
ntoskrnl/ex/fmutex.c: ExAcquireFastMutex: Added an check for recursively
acquiring a FAST_MUTEX.
ntoskrnl/include/internal/mm.h: ADDRESS_SPACE: Changed lock from a KMUTEX
to a FAST_MUTEX.
ntoskrnl/mm/aspace: MmLockAddressSpace, MmUnlockAddressSpace,
MmInitializeAddressSpace: Changed lock from a KMUTEX to a FAST_MUTEX
ntoskrnl/mm/mdl.c: MmInitializeMdlImplementation, MmMapLockedPages,
MmUnmapLockedPages: Use a special region that doesn't need the address
space lock for mapping MDLs.
ntoskrnl/mm/mminit.c: MmInit2: Call MDL initialization routine.
ntoskrnl/mm/section.c: MmMapViewOfSegment: Changed to a static function,
don't lock the address space since it is done by the caller.
ntoskrnl/ps/thread.c: PsDumpThreads: Fixed garbage prints in stack dump.

svn path=/trunk/; revision=2968
2002-05-17 23:01:57 +00:00
KJK::Hyperion
aec0b9bcfc New calls and new exported functions
svn path=/trunk/; revision=2967
2002-05-17 02:21:54 +00:00
KJK::Hyperion
da32d20e2c Miscellaneous calls
svn path=/trunk/; revision=2966
2002-05-17 02:16:16 +00:00
KJK::Hyperion
2d949174b9 Preliminary code for fork()
svn path=/trunk/; revision=2965
2002-05-17 02:12:55 +00:00
KJK::Hyperion
bce8535f50 Started implementing sys/stat.h calls
svn path=/trunk/; revision=2964
2002-05-17 02:10:41 +00:00
KJK::Hyperion
75a810da7d TLS calls (currently unused)
svn path=/trunk/; revision=2963
2002-05-17 02:07:14 +00:00
KJK::Hyperion
69ca37d697 Temporary code for debugging purposes
svn path=/trunk/; revision=2962
2002-05-17 02:04:39 +00:00
KJK::Hyperion
d24e468cb0 Fixed some embarassing errors
svn path=/trunk/; revision=2961
2002-05-17 01:55:34 +00:00
KJK::Hyperion
a2da78fa4e errno finally thread-safe
svn path=/trunk/; revision=2960
2002-05-17 01:52:03 +00:00
KJK::Hyperion
a97804075b Temporary code for debugging purposes
svn path=/trunk/; revision=2959
2002-05-17 01:49:53 +00:00
KJK::Hyperion
084950fd26 Temporary code
svn path=/trunk/; revision=2958
2002-05-17 01:47:13 +00:00
KJK::Hyperion
34a6708f44 Fixed assert() macro, fixed header
svn path=/trunk/; revision=2957
2002-05-17 01:42:41 +00:00
KJK::Hyperion
9523648137 SysV IPC headers
svn path=/trunk/; revision=2956
2002-05-17 01:37:15 +00:00
Eric Kohl
cca52d053b Modified LdrLoadModule() to return NTSTATUS.
Added missing definitions.

svn path=/trunk/; revision=2955
2002-05-16 06:41:30 +00:00
Eric Kohl
2d27974602 Added experimental support for FAT and NTFS FSDs.
Silenced debug messges.

svn path=/trunk/; revision=2954
2002-05-15 18:05:00 +00:00
Eric Kohl
1875c5ebb2 Added file system recognizer driver.
Implemented file system driver loading.
Minor cleanup.

svn path=/trunk/; revision=2953
2002-05-15 09:42:19 +00:00
Eric Kohl
3991d36943 Silenced debug message.
svn path=/trunk/; revision=2952
2002-05-14 23:17:12 +00:00
Eric Kohl
58cf63221a Fixed several cache-related bugs.
Silenced debug messages.

svn path=/trunk/; revision=2951
2002-05-14 23:16:23 +00:00
David Welch
fb21de32de Reverted the MPW changes (keep these in a seperate branch)
svn path=/trunk/; revision=2950
2002-05-14 21:19:21 +00:00
Casper Hornstrup
7922a9018d Added section test
svn path=/trunk/; revision=2947
2002-05-13 20:16:26 +00:00
Casper Hornstrup
c804ca06be Use ULONG_PTR instead of ULONG when doing pointer arithmetics.
Use ULONG_PTR for physical adresses and PVOID for virtual addresses.
Added several consistency checks in the memory memory manager.

svn path=/trunk/; revision=2946
2002-05-13 18:10:41 +00:00
Eric Kohl
5e4527aff7 Added file and directory caching.
Improved verify support.
Fixed a joliet filename bug.

svn path=/trunk/; revision=2945
2002-05-09 15:53:02 +00:00
Casper Hornstrup
e37bad87b8 Support multiple debug targets at the same time.
E.g. to use both serial logging on COM1 and GDB remote debugging on COM2 use:
/DEBUGPORT=COM1 /COM2 /DEBUGPORT=GDB
Made PICE compile with GCC 3.2.

svn path=/trunk/; revision=2944
2002-05-08 17:05:32 +00:00
Hartmut Birr
f82f2801bb Removed reseting of IrpFlags in ScsiPortDispatchScsi.
svn path=/trunk/; revision=2943
2002-05-07 23:13:24 +00:00
Hartmut Birr
51b30bed9f Opened files for redirection inheritable.
Printed error messages in main to stderr. If the output is redirected,
the error message isn't printed in the redirection.

svn path=/trunk/; revision=2942
2002-05-07 23:05:33 +00:00
Hartmut Birr
0e177cc7b9 Fixed a memory leakage in MmCreateImageSection.
Fixed a bug in MmNotPresentFaultSectionView.
Removed some wrong calls to ObDereferenceObject in MmMapViewOfSection.

svn path=/trunk/; revision=2941
2002-05-07 22:53:05 +00:00
Hartmut Birr
72d2c10489 Implemented CsrTerminateProcess.
svn path=/trunk/; revision=2940
2002-05-07 22:46:23 +00:00
Hartmut Birr
be75fc2273 Fixed the range test for handles in CsrGetObject/CsrReleaseObject.
svn path=/trunk/; revision=2939
2002-05-07 22:45:40 +00:00
Hartmut Birr
cbfefd1beb Create console active event inheritable.
svn path=/trunk/; revision=2938
2002-05-07 22:44:23 +00:00
Hartmut Birr
b6c40390d2 Fixed return value in CdfsGetFsSizeInformation.
svn path=/trunk/; revision=2937
2002-05-07 22:42:46 +00:00
Hartmut Birr
0ef49e3484 Modified reading of pipes.
Fixed some bugs.

svn path=/trunk/; revision=2936
2002-05-07 22:41:22 +00:00
Hartmut Birr
311a376750 Modified closing of pipes.
svn path=/trunk/; revision=2935
2002-05-07 22:40:35 +00:00
Hartmut Birr
cd1ca716e4 Added testing for inheritable objects/handles.
svn path=/trunk/; revision=2934
2002-05-07 22:39:26 +00:00
Hartmut Birr
8844bece5a Added testing for inheritable objects in NtDuplicateObject/ObCreateHandleTable.
Modified ObCreateHandleTable. The target handle table has now the same layout as the source table.

svn path=/trunk/; revision=2933
2002-05-07 22:38:29 +00:00
Hartmut Birr
136a40d069 Lock address space at returning in MmNotPresentFaultVirtualMemory.
svn path=/trunk/; revision=2932
2002-05-07 22:36:46 +00:00
Hartmut Birr
a2b0f101ef Fixed a wrong index in MmProbeAndLockPages.
svn path=/trunk/; revision=2931
2002-05-07 22:35:02 +00:00
Hartmut Birr
a76424cbbb Lock/unlock address space in KeReleasThread.
svn path=/trunk/; revision=2930
2002-05-07 22:34:17 +00:00
Hartmut Birr
d05ba1b39e Fixed the command line.
svn path=/trunk/; revision=2929
2002-05-07 22:33:07 +00:00
Hartmut Birr
ad703f36f3 Added handling for pipe closing.
svn path=/trunk/; revision=2928
2002-05-07 22:32:13 +00:00
Hartmut Birr
eb12656476 Started piping implementation.
svn path=/trunk/; revision=2927
2002-05-07 22:31:26 +00:00
Hartmut Birr
f88bb45115 Started piping implementation.
Fixed the command line for popen.

svn path=/trunk/; revision=2926
2002-05-07 22:27:42 +00:00
Hartmut Birr
b343539680 Added csrss notification in ExitProcess.
svn path=/trunk/; revision=2925
2002-05-07 22:26:29 +00:00
Hartmut Birr
e11e2826a9 Added support for piping.
svn path=/trunk/; revision=2924
2002-05-07 22:25:40 +00:00
Hartmut Birr
deb8a30fce Added basic support for console handles in DuplicateHandle.
svn path=/trunk/; revision=2923
2002-05-07 22:24:52 +00:00
Hartmut Birr
8b88e468e5 Fixed return value in CloseConsoleHandle.
svn path=/trunk/; revision=2922
2002-05-07 22:23:17 +00:00
Hartmut Birr
889631b2b9 Added handling for lpSecurityAttributes (for inheitable handles) in CreatePipe.
svn path=/trunk/; revision=2921
2002-05-07 22:22:28 +00:00
Hartmut Birr
652f529412 Do not call NtFlushBuffersFile for console handles.
svn path=/trunk/; revision=2920
2002-05-07 22:21:47 +00:00
Hartmut Birr
8aa6e0e7f6 Added handling for lpSecurityAttributes (for inheritable handles) in CreateFileW.
svn path=/trunk/; revision=2919
2002-05-07 22:21:02 +00:00
Hartmut Birr
b5d90aa2e5 Added O_NOINHERIT.
svn path=/trunk/; revision=2918
2002-05-07 22:20:00 +00:00
David Welch
2503ffd406 Added some comments.
svn path=/trunk/; revision=2916
2002-05-06 22:25:50 +00:00
David Welch
f1694d4913 Some additions to the USER code; nothing is working yet.
svn path=/trunk/; revision=2915
2002-05-06 22:20:32 +00:00
Hartmut Birr
2593e9b43d Added support for accessing the raw volume.
Rewrote the read/write functions.

svn path=/trunk/; revision=2914
2002-05-05 20:20:15 +00:00
Hartmut Birr
2ca90e6988 Implemented VfatGetUserBuffer and VfatLockUserBuffer.
svn path=/trunk/; revision=2913
2002-05-05 20:19:45 +00:00
Hartmut Birr
cc92156f65 Added support for accessing the raw volume.
Disabled some debug messages.

svn path=/trunk/; revision=2912
2002-05-05 20:19:14 +00:00
Hartmut Birr
d31b1c24ca Added support for accessing the raw volume.
svn path=/trunk/; revision=2911
2002-05-05 20:18:33 +00:00
KJK::Hyperion
11cc443546 made _read() non-greedy - it now returns as soon as any amount of data has been read. It's the expected behavior for line-buffered streams (KJK::Hyperion)
svn path=/trunk/; revision=2910
2002-05-05 17:18:50 +00:00
Casper Hornstrup
ee0b635648 Corrected mailing lists link
svn path=/trunk/; revision=2909
2002-05-05 15:30:01 +00:00
Casper Hornstrup
9ee98eeca9 Fixed warnings and errors so ReactOS can be compiled with GCC 3.2.
Removed unused ntoskrnl/rtl/bitops.c

svn path=/trunk/; revision=2908
2002-05-05 14:57:45 +00:00
Phillip Susi
b0188a2a7a Fixed ReadConsoleInput() to not wait for a newline
svn path=/trunk/; revision=2907
2002-05-05 03:45:21 +00:00
Brian Palmer
86b351ce41 Changes in v1.2.2 (5/4/2002)
- Fixed memory leak in menu.c

svn path=/trunk/; revision=2906
2002-05-04 09:25:47 +00:00
Brian Palmer
5d75740eea Quick Makefile fix
svn path=/trunk/; revision=2905
2002-05-04 08:19:22 +00:00
Brian Palmer
ab6d9f2a6b Changes in v1.2.1 (5/3/2002)
- Makefile updates
- Optimized the Makefile
- Removed recursive make functionality (builds much faster now)
- Places all output into one single directory
- Added automagically generated dependencies

svn path=/trunk/; revision=2904
2002-05-03 23:56:18 +00:00
David Welch
42bf54f96d Fixed irq problems.
Print more information on kernel mode exceptions.
Translate grub style command lines.

svn path=/trunk/; revision=2903
2002-05-02 23:45:33 +00:00
Jason Filby
930e00507c Proper line spacing and implemented cls
svn path=/trunk/; revision=2902
2002-05-02 09:10:00 +00:00
Eric Kohl
bff0ad1c2b Implemented read support.
Disabled debug messages.

svn path=/trunk/; revision=2901
2002-05-01 21:52:05 +00:00
Eric Kohl
7e9f288b08 Fixed FCB management functions.
Added file and directory information.
Fixed several minor bugs.
Disabled most of the debug messages.

svn path=/trunk/; revision=2900
2002-05-01 13:15:42 +00:00
Brian Palmer
467e8c55cc Changes in v1.2 (4/30/2002)
- All Linux kernels are supported (zImage & bzImage, loaded high & low)
- Initrd support
- FreeLoader now compiles under Mingw32 instead of just DJGPP, but
  the Mingw32 linker seems to output a corrupt binary.

svn path=/trunk/; revision=2899
2002-04-30 06:26:33 +00:00
Eric Kohl
b5d501b385 Improved default value handling in RtlQueryRegistryValues().
svn path=/trunk/; revision=2898
2002-04-29 23:20:44 +00:00
KJK::Hyperion
488ec274f1 Fixed bugs in null device drivers, added zero stream device
svn path=/trunk/; revision=2897
2002-04-29 23:06:42 +00:00
KJK::Hyperion
bceb83614d Fixed order of TARGET_LFLAGS in the command lines of rules for kernel-mode targets
Added "nostrip" rule for static libraries, currently does nothing new

svn path=/trunk/; revision=2896
2002-04-29 23:02:12 +00:00
Hartmut Birr
2a609b87c4 Added wild card expansion for argv.
svn path=/trunk/; revision=2895
2002-04-28 22:38:11 +00:00
Hartmut Birr
9412a16ec8 Added S_IFREG for files only.
svn path=/trunk/; revision=2894
2002-04-28 22:37:36 +00:00
Hartmut Birr
0bb4cfa71e Added _fcloseall for DLL_PROCESS_DETACH.
svn path=/trunk/; revision=2893
2002-04-28 22:37:00 +00:00
Brian Palmer
a28d727f4e Fixed FAT short file name buffer overflow that was causing some long filenames not to work correctly.
svn path=/trunk/; revision=2892
2002-04-28 20:31:42 +00:00
Hartmut Birr
efa19d923d Added support for bat/cmd files.
Added support for shell piping.

svn path=/trunk/; revision=2891
2002-04-27 19:26:54 +00:00
Hartmut Birr
ade2b9c4eb Fixed a bug in findDirSpace().
svn path=/trunk/; revision=2890
2002-04-27 19:25:57 +00:00
Hartmut Birr
418853bd8f Added seting of exit status in NtTerminateProcess.
svn path=/trunk/; revision=2889
2002-04-27 19:25:16 +00:00
Hartmut Birr
4aead93e6e Fixed a bug in MmUnmapLockedPages.
svn path=/trunk/; revision=2888
2002-04-27 19:24:45 +00:00
Hartmut Birr
83bcc22c5e Added npfs.sys to the automatic loaded drivers.
svn path=/trunk/; revision=2887
2002-04-27 19:24:15 +00:00
Hartmut Birr
18501a22c4 Added IoFileObjectType to ObReferenceObjectByHandle. If the function is not called with a file handle, there occures a page fault.
Moved dereferencing of the file object to IoSecondStageCompletion.

svn path=/trunk/; revision=2886
2002-04-27 19:23:33 +00:00
Hartmut Birr
10e98570f5 Changed to event object from file object.
svn path=/trunk/; revision=2885
2002-04-27 19:22:55 +00:00
Hartmut Birr
474ffaeded Fixed the test for FO_SYNCHONOUS_IO.
svn path=/trunk/; revision=2884
2002-04-27 19:22:09 +00:00
Hartmut Birr
ce8cda7cc1 Moved dereferencing of file objects to IoSecondStageCompletion.
svn path=/trunk/; revision=2883
2002-04-27 19:21:32 +00:00
Hartmut Birr
a253312fcf Moved '/DEBUGPORT=SCREEN' from loadros to (a)boot.bat.
svn path=/trunk/; revision=2882
2002-04-27 19:20:29 +00:00
Hartmut Birr
608baa209c Removed S_IFREG for files.
svn path=/trunk/; revision=2881
2002-04-27 19:17:25 +00:00
Hartmut Birr
ff2c349be8 Fixed a minor bug.
svn path=/trunk/; revision=2880
2002-04-27 19:16:53 +00:00
Hartmut Birr
d5b7bf25ee Moved CloseFile within MoveFileExW.
svn path=/trunk/; revision=2879
2002-04-27 19:15:43 +00:00
Hartmut Birr
4e33db4f34 Made GetTempFileNameA/W workable.
svn path=/trunk/; revision=2878
2002-04-27 19:15:00 +00:00
Hartmut Birr
80d859daab Added a trailing '\' to the directory in GetTempPathW.
svn path=/trunk/; revision=2877
2002-04-27 19:14:30 +00:00
Hartmut Birr
a82ce4daf4 Fixed a memory leakage in DeleteFileW.
svn path=/trunk/; revision=2876
2002-04-27 19:13:41 +00:00
Hartmut Birr
6d95c53a84 Fixed a memory leakage in CreateFileW.
svn path=/trunk/; revision=2875
2002-04-27 19:13:15 +00:00
Eric Kohl
e2ccc04cc8 Release MDL on IRP-completion. Thanks to Hartmut Birr.
svn path=/trunk/; revision=2874
2002-04-27 19:01:24 +00:00
Eric Kohl
4e09f73d4d Added code to import REG_MULTI_SZ values.
svn path=/trunk/; revision=2873
2002-04-27 19:00:14 +00:00
Eric Kohl
23f679e571 Added media change support (untested).
Added directory listing (works only on the root directory).

svn path=/trunk/; revision=2872
2002-04-26 23:21:28 +00:00
Eric Kohl
321c888721 Fixed drive map in the shared user page.
svn path=/trunk/; revision=2871
2002-04-26 19:59:25 +00:00
Eric Kohl
f46d1f34e3 Simplified access to the shared user page.
Update TickCountLow on timer ticks.

svn path=/trunk/; revision=2870
2002-04-26 13:12:34 +00:00
Eric Kohl
8ae62fd2db Removed direct debug output.
Replaced direct calls to bios routines.

svn path=/trunk/; revision=2869
2002-04-25 22:24:24 +00:00
Eric Kohl
7111fc6bfa Added the original copyright from isolinux.
Added 'Press any key to boot from CD' feature.
Changed load path to '\REACTOS\FREELDR.SYS'.

svn path=/trunk/; revision=2868
2002-04-25 14:22:25 +00:00
Brian Palmer
a9450f5a72 FreeLoader version 1.0!
Supports booting Linux bzImage kernels
No initrd support (yet)
No zImage support (yet)
No ext2 file system support (yet)
Forward slashes '/' as well as backslashes '\' can be used for path names in FAT & ISO-9660
Fixed bug in LBA code where is was only reading one sector even if you asked for more
Fixed bug in FAT code, was also present in ISO-9660 code

svn path=/trunk/; revision=2867
2002-04-25 02:48:15 +00:00
Eric Kohl
8c136a909a Implemented request-splitting.
svn path=/trunk/; revision=2866
2002-04-24 22:20:50 +00:00
Eric Kohl
c1e3c3d7fe Added ISO-9660 support.
svn path=/trunk/; revision=2865
2002-04-23 09:08:59 +00:00
Eric Kohl
13206a61a1 Added ISO-9660 boot sector description.
svn path=/trunk/; revision=2864
2002-04-22 12:05:07 +00:00
Eric Kohl
bba0443d8d Added .cvsignore file.
Added cdrom bootsector.

svn path=/trunk/; revision=2863
2002-04-22 10:02:35 +00:00
Phillip Susi
2b6504d6a9 Some more fixes to the IO manager routines to use the KEVENT in the FILE_OBJECT correctly
svn path=/trunk/; revision=2862
2002-04-20 03:46:40 +00:00
Phillip Susi
951c94bc9a Fixed stat() to set the S_IFREG flag to indicate that the file is a normal file
svn path=/trunk/; revision=2861
2002-04-20 03:33:12 +00:00
Phillip Susi
bd99ddf7af KiInterruptDispatch was leaving interrupts disabled when dropping to PASSIVE_LEVEL to run the idle thread
I'm not quite sure I have it reenable interrupts at a safe place, but at least it does enable them

svn path=/trunk/; revision=2860
2002-04-20 03:21:35 +00:00
Eric Kohl
50015e56ee Fixed a silly bug! I forgot to move an #include line. :-/
svn path=/trunk/; revision=2859
2002-04-19 20:27:20 +00:00
Eric Kohl
b88eb21a16 Restricted mounting of file systems (e.g. don't try to mount a cdrom file system to a harddisk).
Moved helper functions of IoVerifyVolume().
Minor improvements to IoVerifyVolume().

svn path=/trunk/; revision=2858
2002-04-19 10:10:29 +00:00
Robert Kopferl
3665f8cac4 documentatnio
and slight mods

svn path=/trunk/; revision=2857
2002-04-18 23:49:42 +00:00
Robert Kopferl
a333340f0b my idea of a dirstruct
svn path=/trunk/; revision=2856
2002-04-18 23:48:12 +00:00
Eric Kohl
1fbe5019da Fixed a typo that caused cdfs mounts to fail ('CdRom0' vs 'Cdrom0'). :-/
Removed old drive letter assignment code.

svn path=/trunk/; revision=2855
2002-04-17 18:26:53 +00:00
Eric Kohl
d3e627f08c Moved the hardcoded command line string to loadros.
svn path=/trunk/; revision=2854
2002-04-17 11:56:33 +00:00
Eric Kohl
d3b50da3ce Added a dos command line buffer and hardcoded the kernel command line for ntoskrnl.exe.
svn path=/trunk/; revision=2853
2002-04-17 11:55:37 +00:00
Brian Palmer
c44d02099d Added LBA support to FAT12/16 boot sector
Now the FAT12/16 boot sector properly works on all FAT12/16 partition types (1, 4, 6, 0xe)
Fixed a few small bugs

svn path=/trunk/; revision=2852
2002-04-16 06:11:08 +00:00
Eric Kohl
3730336e4d Split the driver into more files.
Replaced FCB code.
Improved the mount code.

svn path=/trunk/; revision=2851
2002-04-15 20:39:49 +00:00
Eric Kohl
e00643eb28 Removed obsolete 'optimization'.
svn path=/trunk/; revision=2850
2002-04-15 12:38:01 +00:00
Emanuele Aliberti
3febeb4ae5 Minor fixes-
svn path=/trunk/; revision=2847
2002-04-14 18:06:39 +00:00
Phillip Susi
9c79266654 Fixed idle loop to use HLT to save power and cpu time under vmware
svn path=/trunk/; revision=2846
2002-04-14 16:01:19 +00:00
Phillip Susi
03c68cbfb4 HiSetIrql() was leaving interrupts disabled, fixed.
svn path=/trunk/; revision=2845
2002-04-14 16:00:27 +00:00
Steven Edwards
81345fd691 Still working on making dflat32 a dll. Alot of this will be cleaned up in the
next few weeks. I'm going through the DFLAT api doc and fixing the export
names and then going to try to build a simple hello dflat application.

svn path=/trunk/; revision=2844
2002-04-14 10:15:06 +00:00
Eugene Ingerman
531d8f275d Fixed potential zero pointer reference.
svn path=/trunk/; revision=2843
2002-04-12 17:54:07 +00:00
Eric Kohl
c423031b39 Added basic iso-9660 file system driver. Thanks to Art Yerkes.
svn path=/trunk/; revision=2842
2002-04-12 15:43:38 +00:00
Emanuele Aliberti
bb24d01a48 PSX: early code for the PSXSS server program. Currently it is a W32 console application,
therefore it is not a proper subsystem, but it will be converted to native as soon as
it begins working. It probably does NOT work under ROS. I tested it under NT 4.0 SP 6a.
To see what it creates in the system name sapce, run WinObj, and HandleEx. If you
run csrterm.exe, it tries to connect to psxss.exe, but then dies because the API to
tell psxss to create a PSX process it not implemented yet. PSXDLL.DLL will connect
to \POSIX+\ApiPort (initial code in psx/lib/psxdll/misc/init.c is mute).

svn path=/trunk/; revision=2841
2002-04-10 21:30:22 +00:00
Emanuele Aliberti
f6c21b1a91 PSX: updated internal PSXSS system calls table generator.
svn path=/trunk/; revision=2840
2002-04-10 21:13:30 +00:00
Emanuele Aliberti
b9b1d40823 PSX: more work on the terminal emulator that runs in the W32 subsystem.
svn path=/trunk/; revision=2839
2002-04-10 21:12:41 +00:00
Eric Kohl
f1bc2201f0 Implemented IOCTL_CDROM_GET_DRIVE_GEOMETRY.
Some fixes to enable mounting of cdroms.

svn path=/trunk/; revision=2838
2002-04-10 17:02:22 +00:00
Eric Kohl
62b86daaf8 Moved IoVerifyVolume().
Made CDROM and TAPE devices mountable.

svn path=/trunk/; revision=2837
2002-04-10 09:58:45 +00:00
Steven Edwards
b6a1093b95 Disregard this, I hit remove by mistake and am adding it back
svn path=/trunk/; revision=2836
2002-04-10 07:47:56 +00:00
Steven Edwards
80bd55a9d0 Disregard this, I hit remove by mistake and am adding it back
svn path=/trunk/; revision=2835
2002-04-10 07:44:09 +00:00
Steven Edwards
1e8b9112f0 fix some warnings in the makefile and added a time_t test
svn path=/trunk/; revision=2834
2002-04-10 07:18:40 +00:00
Steven Edwards
5a5caf8ad5 A even more simple windowing test.
This should be our first goal before winhello

svn path=/trunk/; revision=2833
2002-04-10 03:52:30 +00:00
Phillip Susi
b1caf2b5e9 Reworked quite a bit of IO manager code to fix several bugs:
1) fixed create.c to use a null file name when opening the raw device, instead of a file name with a single null terminator char

2) fixed cleanup.c create.c dir.c file.c fs.c page.c rw.c to use the KEVENT object in the FILE_OBJECT when it needs one to wait on, or if there is no FILE_OBJECT, the KEVENT MUST be allocated from non paged pool, NOT the stack.

svn path=/trunk/; revision=2832
2002-04-07 18:36:13 +00:00
Phillip Susi
6ce277b452 MAJOR BUGFIX: ide.sys was not returning iostatus information when it completed requests ( error code, and length transfered )
svn path=/trunk/; revision=2831
2002-04-07 18:28:49 +00:00
Emanuele Aliberti
5a81c98a15 Fixed makefile for building import libraries for the PSX subsystem DK.
svn path=/trunk/; revision=2830
2002-04-07 14:21:13 +00:00
Emanuele Aliberti
2888319d30 Wrong port: CSRTERM.EXE will connect to \POSIX+\SessionPort not to
\POSIX+\ApiPort.

svn path=/trunk/; revision=2829
2002-04-07 14:06:46 +00:00
Emanuele Aliberti
6bdcbd1bb7 Minor change.
svn path=/trunk/; revision=2828
2002-04-07 13:56:16 +00:00
Emanuele Aliberti
8c130e007e Version info script added.
Modified to link against /dk/psx/lib/psxdll.a

svn path=/trunk/; revision=2827
2002-04-07 13:53:51 +00:00
Steven Edwards
80362e4ed7 added Hartmuts KeDetachProcess(); and attach patch for GCC.
svn path=/trunk/; revision=2826
2002-04-07 09:24:36 +00:00
Emanuele Aliberti
3cbf8c1de6 PSX: The tool to build internal system calls tables and auxiliary C files.
svn path=/trunk/; revision=2825
2002-04-06 16:07:34 +00:00
Emanuele Aliberti
0c3dba541d Minor fixes: some more code needed to make it work.
This one actually connects to the PSXSS.EXE process.

svn path=/trunk/; revision=2824
2002-04-06 16:00:46 +00:00
Eric Kohl
c19d6a953f Fixed crash in environment variable evaluation.
svn path=/trunk/; revision=2822
2002-04-05 12:53:21 +00:00
Steven Edwards
2c38da05a1 Added BSD touch utillity.
svn path=/trunk/; revision=2821
2002-04-03 03:57:56 +00:00
Hartmut Birr
224bb37961 Fixed a bug in RtlDestroyHeap, that will cause a page fault, if more than one subheap exist.
svn path=/trunk/; revision=2820
2002-04-03 00:04:01 +00:00
Eric Kohl
bcde238ede Added mapping of scsi error codes to status codes.
Retries are still disabled.

svn path=/trunk/; revision=2816
2002-04-01 23:51:09 +00:00
Hartmut Birr
6c88e069c4 Fixed a typo.
svn path=/trunk/; revision=2815
2002-04-01 22:18:01 +00:00
Hartmut Birr
9e6b238365 Fixed a wrong length check in RtlAnsiStringToUnicodeString()/RtlOemStringToUnicodeString().
svn path=/trunk/; revision=2814
2002-04-01 22:13:15 +00:00
Hartmut Birr
0bdd211873 Fixed the length calculation in RtlCreateProcessParameters().
svn path=/trunk/; revision=2813
2002-04-01 22:11:52 +00:00
Hartmut Birr
b17ab99f15 Fixed a wrong parameter for a call to ZwFreeVirtualMemory(). This fixes a page fault at address 0 (cr2 = 0).
Fixed the calculation of the maximum heap count in RtlInitializeHeapManager().

svn path=/trunk/; revision=2812
2002-04-01 22:11:12 +00:00
Hartmut Birr
c75ecda469 Added ansi to unicode translation for the environment in CreateProcessA().
Changed handling for current directory in CreateProcessAW().
Changed size calculation for the environment in KlInitPeb().
Changed determaining of program name and command line in CreateProcessW().
Added conversion for some handles in CreateProcessW().

svn path=/trunk/; revision=2811
2002-04-01 22:09:59 +00:00
Hartmut Birr
de299abd9a Fixed some wrong size calculations in GetEnvironmentStringsA().
Fixed a wrong return value in GetEnvironmentVariableA().

svn path=/trunk/; revision=2810
2002-04-01 22:08:20 +00:00
Hartmut Birr
6c10b3528a Rewrote OpenFile().
svn path=/trunk/; revision=2809
2002-04-01 22:06:51 +00:00
Hartmut Birr
e806f90b71 Fixed handling for non existing files.
svn path=/trunk/; revision=2808
2002-04-01 22:05:43 +00:00
Hartmut Birr
ea5f41e8a5 Added handling for std handles.
svn path=/trunk/; revision=2807
2002-04-01 22:03:56 +00:00
Hartmut Birr
7497838509 Changed to a separat heap for malloc/calloc/realloc/free.
svn path=/trunk/; revision=2806
2002-04-01 22:03:13 +00:00
Hartmut Birr
ae374594ce Removed fixed size of environment vars.
svn path=/trunk/; revision=2805
2002-04-01 22:01:33 +00:00
Hartmut Birr
2cda2c03b3 Fixed error handling in _filebuf().
svn path=/trunk/; revision=2804
2002-04-01 22:00:02 +00:00
Hartmut Birr
3005268105 Removed fixed size of args and envblock in go32_exec() (gcc uses a very large cmd line).
Added closing of thread and/or process handle at exit in _spawnve().
Added debug messages.

svn path=/trunk/; revision=2803
2002-04-01 21:58:45 +00:00
Hartmut Birr
4d142d61ac Added closing of process handle at exit.
svn path=/trunk/; revision=2802
2002-04-01 21:56:56 +00:00
Hartmut Birr
aaeb01a3e1 Changed heap validation.
svn path=/trunk/; revision=2801
2002-04-01 21:55:50 +00:00
Hartmut Birr
0ea281268b Added heap initialization for malloc/calloc/realloc/free.
Added debug messages.
Removed fixed count for environment.

svn path=/trunk/; revision=2800
2002-04-01 21:55:09 +00:00
Hartmut Birr
e129158330 Added debug messages.
Added LN to CR/LN translation for text files.

svn path=/trunk/; revision=2799
2002-04-01 21:52:45 +00:00
Hartmut Birr
5cd1300eac Added debug messages.
Added special handling for std file descriptors.

svn path=/trunk/; revision=2798
2002-04-01 21:51:59 +00:00
Hartmut Birr
e8b5ff7de0 Added CR-removing for text files.
Added debug messages.

svn path=/trunk/; revision=2797
2002-04-01 21:50:56 +00:00
Hartmut Birr
db69b4ae79 Fixed initialization of new fileno_modes in __fileno_alloc().
Added setting of errno in _open().
Added debug messages.

svn path=/trunk/; revision=2796
2002-04-01 21:47:31 +00:00
Hartmut Birr
50c7ca2780 Added debug messages.
svn path=/trunk/; revision=2795
2002-04-01 21:38:50 +00:00
Hartmut Birr
a45170ea27 Added ntdll.a to TARGET_SDKLIBS
svn path=/trunk/; revision=2794
2002-04-01 21:33:27 +00:00
Steven Edwards
3a6f36f512 typedef int key_t; was defined twice
svn path=/trunk/; revision=2793
2002-03-31 04:37:19 +00:00
Steven Edwards
e158da64af Minor cosmetic cleanup....sorry I'm a little obsessive compulsive
svn path=/trunk/; revision=2792
2002-03-31 04:25:15 +00:00
Steven Edwards
7c813ceacd added bootc.lst to aboot.bat. I dont know if the ACPI driver is
still working like this.

svn path=/trunk/; revision=2791
2002-03-31 04:23:35 +00:00
Eric Kohl
59c881e5c3 Fixed a serious typo.
svn path=/trunk/; revision=2790
2002-03-30 01:59:01 +00:00
Steven Edwards
63e2886299 Making dflat32 a dll. Its a little broken ATM.
svn path=/trunk/; revision=2789
2002-03-28 12:15:40 +00:00
Eric Kohl
fabd313f2a Added support for .lst files. Thanks to Art Yerkes.
svn path=/trunk/; revision=2788
2002-03-27 22:26:25 +00:00
Steven Edwards
29e7f88439 Updated Makefile for wine_unicode.dll wrc and winebuild.
Added wrc to rules.mk

These are not used yet.

svn path=/trunk/; revision=2787
2002-03-27 04:38:58 +00:00
Eric Kohl
c620a68b29 Implemented the SENSE_REQUEST command.
svn path=/trunk/; revision=2786
2002-03-27 00:35:52 +00:00
Robert Kopferl
196b746efd *** empty log message ***
svn path=/trunk/; revision=2785
2002-03-26 01:42:02 +00:00
Eric Kohl
aa38bd158b Cosmetic changes
svn path=/trunk/; revision=2784
2002-03-25 21:56:55 +00:00
Eric Kohl
c773562024 Started improving error handling and retries.
svn path=/trunk/; revision=2783
2002-03-25 21:56:19 +00:00
Hartmut Birr
5ede96eff7 Fixed the length of the command line.
svn path=/trunk/; revision=2782
2002-03-25 21:11:13 +00:00
Hartmut Birr
f4a1a5dd8e Rewrote SearchPathW().
svn path=/trunk/; revision=2781
2002-03-25 21:09:18 +00:00
Hartmut Birr
329e4b6888 Fixed negativ positions in SetFilePointer().
svn path=/trunk/; revision=2780
2002-03-25 21:07:17 +00:00
Emanuele Aliberti
68230ee1f4 Minor change: CVS Id placeholder fixed or added.
svn path=/trunk/; revision=2779
2002-03-24 18:55:39 +00:00
Emanuele Aliberti
1c80c9b655 Linker warning fixed.
svn path=/trunk/; revision=2778
2002-03-24 18:52:10 +00:00
Eric Kohl
1bac32612a Initialized device lock event.
svn path=/trunk/; revision=2777
2002-03-24 15:30:44 +00:00
Eric Kohl
e3879d11ec Set feature register for atapi commands.
svn path=/trunk/; revision=2776
2002-03-24 15:29:57 +00:00
Steven Edwards
7f0bfc685d Started work on seperating dflat32 console graphics library in to a dll
inital header import.

svn path=/trunk/; revision=2775
2002-03-24 15:29:09 +00:00
Casper Hornstrup
9ab896569c Added tree traversal routines for tree data structures.
svn path=/trunk/; revision=2774
2002-03-23 19:44:46 +00:00
Robert Kopferl
aea2b71437 initial comit
svn path=/trunk/; revision=2773
2002-03-23 19:23:28 +00:00
KJK::Hyperion
e23995664a updated clean rule
svn path=/trunk/; revision=2772
2002-03-23 18:13:33 +00:00
Casper Hornstrup
59562362a8 Support non-paged version of binary tree, splay tree and hash table.
svn path=/trunk/; revision=2771
2002-03-23 13:53:22 +00:00
Eric Kohl
716ec9c7cf Disabled annoying debug message.
svn path=/trunk/; revision=2770
2002-03-22 23:07:40 +00:00
Eric Kohl
4fd3b07f1d Started using lookaside lists for SRBs.
Fixed a typo.

svn path=/trunk/; revision=2769
2002-03-22 23:06:58 +00:00
Eric Kohl
a97f4f1164 Disabled debug output.
svn path=/trunk/; revision=2768
2002-03-22 23:05:44 +00:00
Eric Kohl
24f7c7d9bb Pass correct Cdb size.
svn path=/trunk/; revision=2767
2002-03-22 23:05:13 +00:00
Casper Hornstrup
c08aa00a0e Added a binary tree implementation
Added a splay tree implementation
Added a hash table implementation

svn path=/trunk/; revision=2766
2002-03-22 20:58:23 +00:00
Eric Kohl
be5628fdc9 Started support for removable disk drives.
svn path=/trunk/; revision=2765
2002-03-22 20:35:09 +00:00
Eric Kohl
0b0f4a17d0 Fixed default geometry.
svn path=/trunk/; revision=2764
2002-03-22 20:34:15 +00:00
Eric Kohl
270385e857 Added default disk geometry.
svn path=/trunk/; revision=2763
2002-03-22 20:32:36 +00:00
Eric Kohl
a613171558 Fixed atapi block size bug.
svn path=/trunk/; revision=2762
2002-03-22 20:31:26 +00:00
KJK::Hyperion
3b1645e839 some types and constants modified for compatibility with Microsoft POSIX
svn path=/trunk/; revision=2761
2002-03-22 01:26:28 +00:00
KJK::Hyperion
4e0441ed70 dummy include files for compatibility with Microsoft POSIX
svn path=/trunk/; revision=2760
2002-03-22 01:24:49 +00:00
KJK::Hyperion
3fdc53241d useless commit: fixed comment
svn path=/trunk/; revision=2759
2002-03-21 22:50:06 +00:00
KJK::Hyperion
a910a28a31 added read and write syscalls to psxdll, rule for csrapi.a
svn path=/trunk/; revision=2758
2002-03-21 22:49:24 +00:00
KJK::Hyperion
abded70d84 Csr API (temporary - for testing purposes only)
svn path=/trunk/; revision=2757
2002-03-21 22:48:38 +00:00
KJK::Hyperion
8bc9429074 more forward exports to NTDLL
svn path=/trunk/; revision=2756
2002-03-21 22:47:05 +00:00
KJK::Hyperion
75deecc48d implemented read and write system calls
svn path=/trunk/; revision=2755
2002-03-21 22:46:30 +00:00
KJK::Hyperion
9e44e1b4a3 finally working spawn
svn path=/trunk/; revision=2754
2002-03-21 22:43:27 +00:00
KJK::Hyperion
01011e86cc various fixes
svn path=/trunk/; revision=2753
2002-03-21 22:43:13 +00:00
KJK::Hyperion
acbed041bb removed unused variable
svn path=/trunk/; revision=2752
2002-03-21 22:41:53 +00:00
KJK::Hyperion
2584adcb3b fixed code to determine file inode - should work now
svn path=/trunk/; revision=2751
2002-03-21 22:41:20 +00:00
KJK::Hyperion
ecf734386e problem with CVS...
svn path=/trunk/; revision=2750
2002-03-21 22:40:48 +00:00
KJK::Hyperion
82e00a0128 fixed code to determine file inode - should work now
svn path=/trunk/; revision=2749
2002-03-21 22:38:13 +00:00
Eric Kohl
54802d46db Changed drive assignment.
svn path=/trunk/; revision=2748
2002-03-21 19:35:58 +00:00
Eric Kohl
4b4b2c0194 Boot new disk and cdrom drivers instead of ide.sys.
svn path=/trunk/; revision=2747
2002-03-20 21:06:27 +00:00
Eric Kohl
5fa7b5d2e6 Added isotest utility.
svn path=/trunk/; revision=2746
2002-03-20 21:04:46 +00:00
Eric Kohl
68cf79c0ef Try to read disk capacity on startup.
svn path=/trunk/; revision=2745
2002-03-20 20:00:07 +00:00
Eric Kohl
ff879e4069 Fixed minor bugs.
svn path=/trunk/; revision=2744
2002-03-20 19:55:08 +00:00
Eric Kohl
4b81987f15 Fixed minor bug.
svn path=/trunk/; revision=2743
2002-03-20 19:54:06 +00:00
Steven Edwards
5edcdad825 Minor updates. Hope to use in the build system at some point.
svn path=/trunk/; revision=2742
2002-03-20 02:59:42 +00:00
Brian Palmer
25ca1a385c Rewrote .ini file code - should be much faster (especially in bochs)
Leading whitespace in a line is now ignored
Changed .ini file comment character from '#' to ';' to be compatible with MS
There is still a mysterious memory allocation failed bug however!?

svn path=/trunk/; revision=2741
2002-03-20 00:39:32 +00:00
Hartmut Birr
4eaf05b3e3 Disabled the cache access for the page file in VfatReadFile()/VfatWriteFile().
Fixed a return value in NextCluster().

svn path=/trunk/; revision=2740
2002-03-19 02:29:32 +00:00
Eric Kohl
42922e8b27 Implemented ATAPI support.
svn path=/trunk/; revision=2739
2002-03-19 00:48:52 +00:00
Hartmut Birr
5731706583 Fixed creation of environment variable SystemDrive.
svn path=/trunk/; revision=2738
2002-03-18 22:44:42 +00:00
Hartmut Birr
d09531b121 All:
Changed directory and fat access to pining-interface.
Removed unused values from DEVICE_EXTENSION structure.
Changed calculation of available and free clusters.
Changed mount and type determining procedure.
Moved some functions to fsctl.c

volume.c:
Added FAT32 fs type.

dirw.c:
Fixed a directory creation bug on FAT32 (Thanks to Eric Kohl).
Fixed a directory deletion bug.

dir.c:
Fixed a dead lock in DoQuery.
Fixed some memory leakages.

svn path=/trunk/; revision=2737
2002-03-18 22:37:13 +00:00
Eric Kohl
2c21decf9c Fixed Nt/ZwCreatePagingFile() prototype.
svn path=/trunk/; revision=2736
2002-03-18 16:16:47 +00:00
Hartmut Birr
aac1177de4 Implemented RamdrvDispatchDeviceControl for IOCTL_DISK_GET_DRIVE_GEOMETRY.
svn path=/trunk/; revision=2735
2002-03-17 22:31:11 +00:00
Hartmut Birr
933c073785 Implemented FloppyDispatchDeviceControl for IOCTL_DISK_GET_DRIVE_GEOMETRY (not complete).
svn path=/trunk/; revision=2734
2002-03-17 22:28:22 +00:00
Emanuele Aliberti
3f6956a59c PSX: file needed to compile csrterm.
svn path=/trunk/; revision=2733
2002-03-17 22:19:37 +00:00
Emanuele Aliberti
ab561cad5a Initial code for the VT-100 terminal emulator that runs in the W32
subsystem and connects to the PSXSS.EXE (WIP).

svn path=/trunk/; revision=2732
2002-03-17 22:15:39 +00:00
KJK::Hyperion
8571b1561a Moved zlib in reactos/lib/zlib and updated to version 1.1.4
svn path=/trunk/; revision=2731
2002-03-17 21:21:39 +00:00
KJK::Hyperion
dc5296ac57 Moved zlib in reactos/lib/zlib and updated to version 1.1.4
svn path=/trunk/; revision=2730
2002-03-17 21:08:37 +00:00
KJK::Hyperion
5d114d5f6c Added zlib version 1.1.4 to the source tree (contains several bugfixes, some security related). Currently, makefile.reactos is called to make a static zlib.a, not by the master makefile, but by reactos/apps/cabman/makefile, since it's the only part of ReactOS that uses zlib, at the moment
Should this be fixed? should zlib be a DLL? please comment!

svn path=/trunk/; revision=2729
2002-03-17 21:05:05 +00:00
Hartmut Birr
9a02e2c18b Fixed the return value in GetEnvironmentVariable().
svn path=/trunk/; revision=2728
2002-03-17 17:56:57 +00:00
Hartmut Birr
3e432831b1 Added the packed attribute to some structures.
svn path=/trunk/; revision=2727
2002-03-17 17:53:34 +00:00
Hartmut Birr
d9ded3d529 Added a trailing null entry in NtQueryDirectoryObject().
svn path=/trunk/; revision=2726
2002-03-17 17:51:33 +00:00
Hartmut Birr
11edaf36b0 Fixed the copy length in GetSystemDirectory().
svn path=/trunk/; revision=2725
2002-03-17 17:49:56 +00:00
Hartmut Birr
c5dba326b2 Increased the debug print buffer.
svn path=/trunk/; revision=2724
2002-03-17 17:48:17 +00:00
Hartmut Birr
52ec7b4aa1 Fixed the maximum length in DbgPrint().
svn path=/trunk/; revision=2723
2002-03-17 17:23:03 +00:00
Hartmut Birr
6f1ce04e39 Fixed a parameter for IRPMN_MOUNT_VOLUME.
svn path=/trunk/; revision=2722
2002-03-17 17:21:44 +00:00
Eric Kohl
6574059d88 Fixed a 'ghost drives' bug.
svn path=/trunk/; revision=2721
2002-03-17 15:47:31 +00:00
Eric Kohl
831af58934 Improved registry initialization.
svn path=/trunk/; revision=2720
2002-03-16 19:57:26 +00:00
Eric Kohl
c35bee1fdd Added ISA-Bus initialization by Hartmut Birr.
svn path=/trunk/; revision=2719
2002-03-16 16:13:57 +00:00
Eric Kohl
e451a9e365 Moved CreateSystemRootLink() away.
svn path=/trunk/; revision=2718
2002-03-16 00:00:13 +00:00
Casper Hornstrup
e210855943 assertmsg() macro
svn path=/trunk/; revision=2717
2002-03-15 23:24:43 +00:00
Casper Hornstrup
190f4b2256 Configuration manager cleanup.
Added consistency checks.

svn path=/trunk/; revision=2716
2002-03-15 19:46:07 +00:00
Casper Hornstrup
bcc0a8a082 assertmsg() macro
svn path=/trunk/; revision=2715
2002-03-15 19:44:16 +00:00
Eric Kohl
8155941183 Fixed device characteristics.
svn path=/trunk/; revision=2714
2002-03-15 16:35:41 +00:00
Eric Kohl
70bf7d3e28 Added write-ability for ATA devices (harddisks).
svn path=/trunk/; revision=2713
2002-03-15 16:34:52 +00:00
Hartmut Birr
2c92fa8738 Fixed return value in ReadFile().
svn path=/trunk/; revision=2712
2002-03-14 16:35:53 +00:00
Hartmut Birr
b53f18ea54 Fixed a wrong pointer calculation in RtlpCopyParameterString().
svn path=/trunk/; revision=2711
2002-03-14 16:32:49 +00:00
Casper Hornstrup
dd9ae3aba1 Added arcname.o to makefile
svn path=/trunk/; revision=2710
2002-03-13 23:37:25 +00:00
Eric Kohl
7628f451d5 Fixed some function prototypes.
svn path=/trunk/; revision=2709
2002-03-13 20:41:28 +00:00
Eric Kohl
94860ff5bb Moved creation of ARC names into ntoskrnl.
svn path=/trunk/; revision=2708
2002-03-13 01:53:00 +00:00
Eric Kohl
576dc2f69b Moved creation of ARC names into ntoskrnl.
svn path=/trunk/; revision=2707
2002-03-13 01:30:34 +00:00
Eric Kohl
724d0e6c2f Implemented IOCTL_DISK_GET_PARTITION_INFO.
Removed internal disk size limit.

svn path=/trunk/; revision=2706
2002-03-12 20:16:53 +00:00
Brian Palmer
c08d8bcfb9 Fixed bug in LBA code.
svn path=/trunk/; revision=2705
2002-03-12 19:55:08 +00:00
KJK::Hyperion
0ae6e2be42 prototype for __PdxSpawnPosixProcess()
svn path=/trunk/; revision=2704
2002-03-11 20:51:59 +00:00
KJK::Hyperion
fde508f3f3 added __PdxProcessDataToProcessParameters()
svn path=/trunk/; revision=2703
2002-03-11 20:51:16 +00:00
KJK::Hyperion
5c3b75ab41 added missing include
svn path=/trunk/; revision=2702
2002-03-11 20:50:49 +00:00
KJK::Hyperion
0283e02202 updated to reflect modifications to the code
svn path=/trunk/; revision=2701
2002-03-11 20:49:09 +00:00
KJK::Hyperion
b62ac8152f initial code for process attach
svn path=/trunk/; revision=2700
2002-03-11 20:48:25 +00:00
KJK::Hyperion
6d05bb6b7a added a TODO
svn path=/trunk/; revision=2699
2002-03-11 20:48:08 +00:00
KJK::Hyperion
65b82fb4d2 __PdxSpawnPosixProcess() now initializes process parameters too. Almost working!
svn path=/trunk/; revision=2698
2002-03-11 20:46:38 +00:00
KJK::Hyperion
5306bd86fb Added __PdxProcessDataToProcessParameters()
svn path=/trunk/; revision=2697
2002-03-11 20:45:07 +00:00
Brian Palmer
1bd3b67ed2 Reworked LoadAndBootPartition() function, got rid of warnings.
svn path=/trunk/; revision=2696
2002-03-11 18:50:17 +00:00
KJK::Hyperion
1058361a99 typo
svn path=/trunk/; revision=2695
2002-03-10 18:06:08 +00:00
KJK::Hyperion
885b79ec17 added some exports, and tweaked the makefile
svn path=/trunk/; revision=2694
2002-03-10 17:10:30 +00:00
KJK::Hyperion
2e992926e3 finally (and hopefully) functional __PdxSpawnPosixProcess. To be tested
svn path=/trunk/; revision=2693
2002-03-10 17:09:46 +00:00
KJK::Hyperion
cabe571090 __PdxSerializeProcessData and __PdxUnserializeProcessData calls
svn path=/trunk/; revision=2692
2002-03-10 17:04:07 +00:00
KJK::Hyperion
e2f5d4b2f6 prototypes for __PdxSerializeProcessData and __PdxUnserializeProcessData
svn path=/trunk/; revision=2691
2002-03-10 17:03:18 +00:00
Phillip Susi
5126871fcf Some fixes for the expression evaluator:
Evaluate static symbols
Evaulate local symbols
Still has bugs locating type definitions, at least for pointer types
There also seems to be a bug matching up lines of source with the correct instruction addresses

svn path=/trunk/; revision=2690
2002-03-09 20:51:43 +00:00
Emanuele Aliberti
48e308623c I added Steven Edwards and KJK::Hyperion to the rccp.
More to come as soon as I finish scanning the cvs-commit list.

svn path=/trunk/; revision=2689
2002-03-09 16:04:50 +00:00
Hartmut Birr
5fbc8d0a6e Fixed a dead lock between an APC (delivered from IoCompleteRequest)
and a call to KeWaitForSingleObject.

svn path=/trunk/; revision=2688
2002-03-08 17:04:03 +00:00
Eric Kohl
7828679470 Silenced it.
Minor cleanup.

svn path=/trunk/; revision=2687
2002-03-08 12:03:28 +00:00
Eric Kohl
13ea277979 Added IOCTL_DISK_GET_PARTITION_INFO.
Silenced it.

svn path=/trunk/; revision=2686
2002-03-08 12:01:26 +00:00
Eric Kohl
c10817479d Silenced it.
svn path=/trunk/; revision=2685
2002-03-08 11:59:49 +00:00
Eric Kohl
339287ad60 Recognizes CD-ROM drives.
svn path=/trunk/; revision=2684
2002-03-08 11:59:08 +00:00
Eric Kohl
c309738334 Improved recognition of ATAPI devices.
Minor cleanup.

svn path=/trunk/; revision=2683
2002-03-08 11:58:23 +00:00
KJK::Hyperion
9ccb920754 Fixed typo
svn path=/trunk/; revision=2682
2002-03-07 06:08:00 +00:00
KJK::Hyperion
d57ab3df35 introducing __PdxSpawnPosixProcess(). Still some linker warnings, will solve tomorrow
svn path=/trunk/; revision=2681
2002-03-07 06:07:31 +00:00
KJK::Hyperion
a681b85839 FdTable field in the process data is no more a pointer
svn path=/trunk/; revision=2680
2002-03-07 06:03:11 +00:00
KJK::Hyperion
eb3d1a3163 created datatype for the denormalized process data block
svn path=/trunk/; revision=2679
2002-03-07 05:48:35 +00:00
KJK::Hyperion
b9dbbc8eb8 preliminary spawn code (untested yet)
svn path=/trunk/; revision=2678
2002-03-07 05:46:03 +00:00
Emanuele Aliberti
57c6671059 Little work on InitializeFmIfs
svn path=/trunk/; revision=2677
2002-03-07 00:24:24 +00:00
Brian Palmer
513784c84a Fixed a bug in the LBA extensions detection code.
Fixed a bug in the root directory size calculations for FAT12 & FAT16 (I must have been smoking something when I wrote that).
Started work on new .ini file code, the old stuff is just way too slow.

svn path=/trunk/; revision=2676
2002-03-06 18:32:22 +00:00
Eric Kohl
dfbd52f882 Handles are no longer used to create type objects.
svn path=/trunk/; revision=2675
2002-03-06 12:40:47 +00:00
Steven Edwards
3fd9aedce9 added tapi32.dll and wintrust.dll to ROS_BUILD_WINE
svn path=/trunk/; revision=2674
2002-03-05 12:48:40 +00:00
Eric Kohl
3783d01bf9 Fixed remainingcalls to ObGetReferenceCount() and ObGetHandleCount().
svn path=/trunk/; revision=2673
2002-03-05 11:33:12 +00:00
Eric Kohl
8532827baf Added ObGetObjectHandleCount().
svn path=/trunk/; revision=2672
2002-03-05 00:20:54 +00:00
Eric Kohl
193d7e020b Fixed a typo.
svn path=/trunk/; revision=2671
2002-03-05 00:05:28 +00:00
Eric Kohl
c6d18aba96 Enabled reading of multiple sectors.
svn path=/trunk/; revision=2670
2002-03-04 22:31:51 +00:00
Steven Edwards
ab94337372 added urlmon.dll to ROS_BUILD_WINE
svn path=/trunk/; revision=2669
2002-03-04 12:42:30 +00:00
Eric Kohl
2867dd6eab Fixed stupid bugs.
svn path=/trunk/; revision=2668
2002-03-03 23:46:01 +00:00
Eric Kohl
6146ce21ba no message
svn path=/trunk/; revision=2667
2002-03-03 19:47:58 +00:00
Eric Kohl
d4186cf428 Fixed a typo, thanks to Hartmut Birr.
Completion routine will called only once.

svn path=/trunk/; revision=2666
2002-03-03 19:39:10 +00:00
Phillip Susi
16c7c6fa94 Fixed path separator issue for people using cmd instead of sh
svn path=/trunk/; revision=2665
2002-03-03 17:52:01 +00:00
KJK::Hyperion
f090eec7df mistakes in templates second part
svn path=/trunk/; revision=2664
2002-03-03 17:24:04 +00:00
KJK::Hyperion
7631564040 whoops - silly mistake in templates
svn path=/trunk/; revision=2663
2002-03-03 17:23:29 +00:00
Steven Edwards
3c460dc0c3 build and install mapi32.dll as part of ROS_BUILD_WINE
svn path=/trunk/; revision=2662
2002-03-03 10:51:51 +00:00
Eric Kohl
4c0500171e Implemented IOCTL_DISK_GET_PARTITION_INFO.
Fixed bug in IOCTL_DISK_GET_DRIVE_GEOMETRY.

svn path=/trunk/; revision=2660
2002-03-01 23:18:35 +00:00
Eric Kohl
82b7a361af Started implementing type objects.
Some object manager cleanup.

svn path=/trunk/; revision=2659
2002-03-01 00:47:40 +00:00
Hartmut Birr
3accb67df3 Fixed the 'event wait bug' in MmRequestPageMemoryConsumer.
svn path=/trunk/; revision=2658
2002-02-28 17:44:48 +00:00
Eric Kohl
e96e35d335 Removed useless controller object.
svn path=/trunk/; revision=2657
2002-02-27 22:50:31 +00:00
Brian Palmer
b764471786 Improved memory management
The heap now sets it's size at run time instead of being hard coded

svn path=/trunk/; revision=2656
2002-02-27 21:33:59 +00:00
David Welch
463cc8858c Applied Harmut Birr's patch
svn path=/trunk/; revision=2655
2002-02-27 01:12:26 +00:00
Brian Palmer
ad979612af Fix for buffer conflict between fat code and cache code - by Mike Lerwill
svn path=/trunk/; revision=2654
2002-02-26 23:17:22 +00:00
Eric Kohl
e6b4f4973d Free an SRB after use.
svn path=/trunk/; revision=2653
2002-02-26 23:02:14 +00:00
Phillip Susi
fd4c65ede9 Fixed _vsnprintf() to actually use the buffer size limit to prevent buffer overflows
Sorry, but I had to re indent and tabify this code, I could not read it because it was all screwed up before.

svn path=/trunk/; revision=2652
2002-02-26 05:59:00 +00:00
Brian Palmer
c66e8c39d3 Added full disk partition management functions
Extended partitions are supported (untested)
If you call OpenDrive() with Partition == 0 you get the active (or bootable) partition
Partitions 1 - 4 are the primary partitions
Partitions 5 - n are the extended partitions
Also added disk parameter detection code (always assumes 512 byte sector size, I don't like that but I don't see any other way)

svn path=/trunk/; revision=2651
2002-02-26 00:26:35 +00:00
Phillip Susi
f83db8cc84 Fixed debug print to not overflow the stack on long prints.
Increased buffer from 512 to 1024 bytes, and truncate string using _vsnprintf()

svn path=/trunk/; revision=2650
2002-02-25 22:45:04 +00:00
Phillip Susi
9594f61e1f Fixed typeo in etags target
svn path=/trunk/; revision=2649
2002-02-25 21:51:43 +00:00
Phillip Susi
75c16ac538 Removed incorrect path seperator replacement
svn path=/trunk/; revision=2648
2002-02-25 05:07:35 +00:00
Emanuele Aliberti
21a85d799e Minor changes for making apps/baresh compile (tough it doesn't work yet).
svn path=/trunk/; revision=2647
2002-02-24 22:14:05 +00:00
Emanuele Aliberti
20037ec24c Modified demo LPC server and client with verbose output.
svn path=/trunk/; revision=2646
2002-02-24 17:44:22 +00:00
Jason Filby
0a549d94c9 New 0019 release date
svn path=/trunk/; revision=2644
2002-02-24 13:10:37 +00:00
Eric Kohl
265859b2aa Fixed showstopper!
svn path=/trunk/; revision=2643
2002-02-23 23:08:58 +00:00
Steven Edwards
558200355f dll baseaddress list, may be used as part of future build process.
Please help keep it up2date.

svn path=/trunk/; revision=2642
2002-02-23 03:52:18 +00:00
Eric Kohl
14f393cb80 Added some more prototypes
svn path=/trunk/; revision=2641
2002-02-22 17:57:57 +00:00
Eric Kohl
e21b78b3e3 Added ObGetObjectPointerCount() and SetokenImpersonationLevel().
svn path=/trunk/; revision=2640
2002-02-22 13:36:24 +00:00
Jason Filby
fc7aea5826 Version 0.0.19
svn path=/trunk/; revision=2639
2002-02-21 22:48:39 +00:00
Eric Kohl
e8082ff034 Removed common TOKEN_CONTROL structure.
svn path=/trunk/; revision=2638
2002-02-20 22:51:48 +00:00
Eric Kohl
8393800e76 Started security manager initialization.
Some cleanup.

svn path=/trunk/; revision=2637
2002-02-20 20:16:49 +00:00
KJK::Hyperion
19ad3d7a30 purely cosmetic commit: edited the introductory comments of several files to uniform them to a common format, added $Id$ macro to all files, cleanup from legacy stuff, fully commented templates
svn path=/trunk/; revision=2636
2002-02-20 09:17:58 +00:00
KJK::Hyperion
e858ec1801 whoops - forgot to commit header files
svn path=/trunk/; revision=2635
2002-02-20 07:13:22 +00:00
KJK::Hyperion
ad8ae0a2f5 now introducing the POSIX+ client DLL! (my first check-in, hope I don't f*** up something)
svn path=/trunk/; revision=2634
2002-02-20 07:06:52 +00:00
Eric Kohl
4e9d91b819 Removed unused code.
svn path=/trunk/; revision=2633
2002-02-19 14:06:36 +00:00
Eric Kohl
40a007aba1 - Fixed object creation. Named objects are now automatically attached to a parent directory object.
- Minor header cleanup.

svn path=/trunk/; revision=2632
2002-02-19 00:09:25 +00:00
Hartmut Birr
46cef7fc9b Fixed the 'Frequent Crasher Bug'.
svn path=/trunk/; revision=2631
2002-02-18 18:41:23 +00:00
Hartmut Birr
be9ed281e0 Fixed some overruns with a not zero terminated string and a given precision specification.
svn path=/trunk/; revision=2630
2002-02-18 18:39:31 +00:00
Hartmut Birr
d1cfd4ffdb Changed from Nt to Zw functions in VGAResetDevice.
svn path=/trunk/; revision=2629
2002-02-16 22:00:52 +00:00
Jason Filby
c9d3381474 disable debugging messages
svn path=/trunk/; revision=2628
2002-02-16 00:51:02 +00:00
Hartmut Birr
3ea1b601d2 Restore the 80x50 mode in VGAResetDevice().
svn path=/trunk/; revision=2627
2002-02-15 20:17:10 +00:00
Hartmut Birr
409ce02fa7 In W32kDeleteDC call UnreferenceDriver only for non memory DC.
This will fix the second gditest bug.

svn path=/trunk/; revision=2626
2002-02-15 20:14:43 +00:00
Eric Kohl
9ca5a97711 Removed obsolete functions/protypes HalInitFirstTask() and HalSwitchTask().
Renamed misleading function HalReleaseTask() to KeReleaseThread().

svn path=/trunk/; revision=2625
2002-02-15 14:47:55 +00:00
Brian Palmer
67d2ffb153 Fixed bug in partition table code where it incorrectly calculated the partition start sector
svn path=/trunk/; revision=2624
2002-02-14 23:11:05 +00:00
Hartmut Birr
40910fe910 Set the min size of an allocated block to the size of the free block header.
This fix the gditest bug.

svn path=/trunk/; revision=2623
2002-02-14 00:07:23 +00:00
Jason Filby
b90a7afc42 No need to load vgamp.sys on startup
svn path=/trunk/; revision=2622
2002-02-12 12:30:46 +00:00
Jason Filby
252d2dbf1d Reenable CSRSS process detection
svn path=/trunk/; revision=2621
2002-02-12 12:00:28 +00:00
Casper Hornstrup
f57567e347 Capture debug prints in PICE.
Break into PICE on control+d.

svn path=/trunk/; revision=2620
2002-02-10 20:21:40 +00:00
Eric Kohl
7a5ecf6515 Implemented expansion of REG_MULTI_SZ.
svn path=/trunk/; revision=2619
2002-02-10 13:55:45 +00:00
Casper Hornstrup
bfe7eb862e Display driver name when loading it.
svn path=/trunk/; revision=2618
2002-02-10 13:35:37 +00:00
Casper Hornstrup
7115aab674 Added Private ICE to main makefile.
svn path=/trunk/; revision=2617
2002-02-10 02:02:15 +00:00
Casper Hornstrup
59c5e836e1 Made it easier to add new keyboard layouts.
Added Danish keyboard layout (DK).

svn path=/trunk/; revision=2616
2002-02-10 02:01:31 +00:00
Eric Kohl
0ce194ac1a Fixed wrong string length calculation in RtlAppendUnicodeToString().
svn path=/trunk/; revision=2615
2002-02-09 23:29:50 +00:00
Casper Hornstrup
0fdb820f0b Oops...don't load that driver.
svn path=/trunk/; revision=2614
2002-02-09 19:20:44 +00:00
Casper Hornstrup
430a416722 Accept /DEBUGPORT=GDB and /DEBUGPORT=PICE on command line.
Break into debugger on KeBugCheckEx() if available.
Fixed typo in readme.txt.

svn path=/trunk/; revision=2613
2002-02-09 18:41:24 +00:00
Eugene Ingerman
effa2fbabb Fixed locals and evaluation in pice.
svn path=/trunk/; revision=2612
2002-02-09 07:34:05 +00:00
Brian Palmer
bfa03497ad CacheInitializeDrive() no longer retains old cache data on removable drives
Fixed small bug where it could possibly try to read more sectors than the BIOS supports

svn path=/trunk/; revision=2611
2002-02-08 23:58:12 +00:00
Casper Hornstrup
1cc5bd55b6 Removed or changed debug prints printed at boot.
svn path=/trunk/; revision=2610
2002-02-08 02:57:10 +00:00
Steven Edwards
565837d1f1 updated to install winhello and winefile
svn path=/trunk/; revision=2609
2002-02-07 03:22:04 +00:00
Steven Edwards
168b55e958 cleanup + finger client
svn path=/trunk/; revision=2608
2002-02-07 01:32:20 +00:00
Eric Kohl
1d0d9fbf9f Implemented [Nt/Zw]QueryMultipleValueKey().
svn path=/trunk/; revision=2607
2002-02-06 01:23:10 +00:00
Hartmut Birr
52d2359910 Fixed some bugs in vfatMakeAbsoluteFilename/VfatOpenFile with relative filenames.
svn path=/trunk/; revision=2606
2002-02-05 21:32:30 +00:00
Hartmut Birr
b95ed3ddf1 Fixed a bug in DoQuery with empty serach pattern strings after the first call to DoQuery.
svn path=/trunk/; revision=2605
2002-02-05 21:31:03 +00:00
Eric Kohl
48fa361844 Added system.hiv to boot modules.
svn path=/trunk/; revision=2604
2002-02-05 15:53:20 +00:00
Eric Kohl
916157c159 Implemented value enumeration in RtlQueryRegistryValues().
svn path=/trunk/; revision=2603
2002-02-05 15:42:41 +00:00
Eric Kohl
5d67a14618 Fixed name string length and termination for KeyValueBasicInformation and KeyValueFullInformation.
svn path=/trunk/; revision=2602
2002-02-05 02:48:56 +00:00
Phillip Susi
1815855fb6 Fixed linkage to unbzip2.sys, working again
svn path=/trunk/; revision=2601
2002-02-05 02:30:13 +00:00
Phillip Susi
2a7825f502 Balenced paged and non paged pool sizes to 100 megs each, instead of 4 paged and 400 non
svn path=/trunk/; revision=2600
2002-02-05 02:24:29 +00:00
Casper Hornstrup
14a6c7e57d Removed old HAL.
svn path=/trunk/; revision=2599
2002-02-04 22:13:02 +00:00
Steven Edwards
9808ba2cb8 Fixed a typo - Guido de Jong
svn path=/trunk/; revision=2598
2002-02-04 13:08:58 +00:00
Eric Kohl
1768fa6632 Fixed a typo.
svn path=/trunk/; revision=2597
2002-02-04 01:21:03 +00:00
Emanuele Aliberti
09ce94865b Rollback to old LPC_MESSAGE_HEADER.
svn path=/trunk/; revision=2596
2002-02-03 22:32:18 +00:00
Eric Kohl
246369a31b Updates to the disk driver stack.
svn path=/trunk/; revision=2595
2002-02-03 20:21:59 +00:00
Eugene Ingerman
95410deae9 Fix for current source line unassembly bug in pice.
svn path=/trunk/; revision=2594
2002-02-03 01:10:16 +00:00
Eric Kohl
cca6500c93 Fixed broken serial debug logging.
The gdb interface is enabled by the /GDB option on the command line.

svn path=/trunk/; revision=2593
2002-02-02 20:13:42 +00:00
Phillip Susi
01ab93badd Oops! binary libraries should't be in CVS!
svn path=/trunk/; revision=2592
2002-02-02 18:00:54 +00:00
Phillip Susi
ccaafe31cf Use LARGE_INTEGER for section view size, as expected by NtCreateSection
Original Patch by Guido de Jong

svn path=/trunk/; revision=2591
2002-02-02 17:15:22 +00:00
Phillip Susi
51357bf8aa Changed NULL to 0 where integer expected, to get rid of warning
Patch by Guido de Jong.

svn path=/trunk/; revision=2590
2002-02-02 17:14:40 +00:00
Hartmut Birr
c64bcfabad Fixed a buffer overflow in DoQuery, if the unicode string (search pattern) isn't zero-terminated.
Fixed the returned length for the file names.
Fixed the returned status at the end of a directory scan.

svn path=/trunk/; revision=2589
2002-02-02 14:04:55 +00:00
Phillip Susi
a5549b5653 Build unbzip2.sys as export driver, instead of unbzip2.dll
svn path=/trunk/; revision=2587
2002-01-31 20:26:25 +00:00
Phillip Susi
f17ca2d3d9 Link to unbzip2.sys
svn path=/trunk/; revision=2586
2002-01-31 20:22:12 +00:00
Phillip Susi
8e5647c51a A few minor changes
svn path=/trunk/; revision=2585
2002-01-31 20:22:00 +00:00
Eric Kohl
8acb48f0de Added cdrom class driver skeleton.
svn path=/trunk/; revision=2584
2002-01-31 15:02:12 +00:00
Eric Kohl
ae35748cfa Disk driver stack update.
svn path=/trunk/; revision=2583
2002-01-31 14:58:52 +00:00
Eugene Ingerman
760f3874ca no message
svn path=/trunk/; revision=2582
2002-01-31 05:30:06 +00:00
Eugene Ingerman
1cdf4f9806 Fixed source code display on breakpoint in pice.
svn path=/trunk/; revision=2581
2002-01-31 05:29:28 +00:00
Steven Edwards
c331ef4c1b fix a couple of warnings - Guido de Jong
svn path=/trunk/; revision=2580
2002-01-31 04:22:50 +00:00
Eugene Ingerman
8d8acf54de Debug output cleanup.
svn path=/trunk/; revision=2579
2002-01-30 20:42:04 +00:00
Eugene Ingerman
23b672891b Porting pice. Workaround for a bug in gcc. Some other small stuff.
svn path=/trunk/; revision=2578
2002-01-30 19:45:24 +00:00
Eugene Ingerman
87b5401bff Porting pice. Bug fixes for disassembly.
svn path=/trunk/; revision=2577
2002-01-29 07:22:26 +00:00
Eugene Ingerman
e8e9853e27 Porting pice. Bug fixes.
svn path=/trunk/; revision=2576
2002-01-29 04:21:17 +00:00
Steven Edwards
ae77777da5 added finger to makefile
svn path=/trunk/; revision=2575
2002-01-28 08:38:22 +00:00
Steven Edwards
c8abcc5cb4 Take care of some warnings and remove a unused header in finger
svn path=/trunk/; revision=2574
2002-01-28 08:37:34 +00:00
Steven Edwards
b80ba17572 finger client for reactos
svn path=/trunk/; revision=2573
2002-01-28 07:17:21 +00:00
David Welch
130144b797 Fixed clean rule
svn path=/trunk/; revision=2572
2002-01-27 17:28:16 +00:00
David Welch
c34c3cfae4 Added missing files
Updated .cvsignore files

svn path=/trunk/; revision=2571
2002-01-27 14:47:44 +00:00
David Welch
0f6c1e0177 Added missing file
svn path=/trunk/; revision=2570
2002-01-27 14:08:00 +00:00
David Welch
7d915349e5 Fixes for problems with win32k
svn path=/trunk/; revision=2569
2002-01-27 03:25:45 +00:00
Eric Kohl
f48e849f05 Basic work on disk driver stack (still incomplete).
svn path=/trunk/; revision=2568
2002-01-27 01:25:49 +00:00
David Welch
8dff4a88dc More user work
svn path=/trunk/; revision=2567
2002-01-27 01:11:24 +00:00
Phillip Susi
c4a09186d3 Fixed vma command to show kernel memory space too, not just user
svn path=/trunk/; revision=2566
2002-01-27 00:34:59 +00:00
Phillip Susi
eea1010947 Fixed page fault handler to walk the correct memory space ( kernel or user ) depending on where the address is
svn path=/trunk/; revision=2565
2002-01-27 00:33:36 +00:00
Casper Hornstrup
b2f22718cc Remove build tools on make clean.
Patches from Guido de Jong.

svn path=/trunk/; revision=2564
2002-01-26 23:56:15 +00:00
Steven Edwards
6be4e2ac3a Updated license information for whois and ncftp.
svn path=/trunk/; revision=2563
2002-01-26 21:44:32 +00:00
David Welch
1a131779a2 Updated ntoskrnl win32 support
svn path=/trunk/; revision=2562
2002-01-26 21:22:48 +00:00
David Welch
aebf70e07f Present large reads to the filesystem from CcCopyRead
svn path=/trunk/; revision=2561
2002-01-26 21:21:02 +00:00
Phillip Susi
b51e21217f Fixed keyboard scancode maps for US keyboards
svn path=/trunk/; revision=2560
2002-01-26 19:46:36 +00:00
Eric Kohl
26c5adcb95 Added support for IRP_MJ_SCSI
svn path=/trunk/; revision=2559
2002-01-26 17:59:25 +00:00
Emanuele Aliberti
35fb40b8b7 LPC message types changed from macros to a enum type (LPC_TYPE).
svn path=/trunk/; revision=2558
2002-01-26 11:19:18 +00:00
Phillip Susi
8779eb9ec7 Read files in non cached mode, much faster this way
svn path=/trunk/; revision=2557
2002-01-26 08:09:21 +00:00
Phillip Susi
48908e14cc Fixed IoCreateFile to recognize the FILE_NO_INTERMEDIATE_BUFFERING flag
svn path=/trunk/; revision=2556
2002-01-26 06:20:16 +00:00
Phillip Susi
72e047dd5b Fixed bug in SwitchTable
svn path=/trunk/; revision=2555
2002-01-26 05:54:25 +00:00
Eugene Ingerman
6c0fa06e39 Porting pice. Fixed bug in interrupt handling.
svn path=/trunk/; revision=2554
2002-01-26 05:17:45 +00:00
Steven Edwards
12359f4a27 Updated to install whois and edit
svn path=/trunk/; revision=2553
2002-01-26 03:23:25 +00:00
Steven Edwards
8d8fea751b updated makefile to build regsvr32
svn path=/trunk/; revision=2552
2002-01-26 01:37:35 +00:00
Eugene Ingerman
5850033b27 Added a few definitions for pice.
svn path=/trunk/; revision=2551
2002-01-26 01:11:04 +00:00
Phillip Susi
ab6e9ba7b7 Fixed a file IO calls to handle failure correctly
svn path=/trunk/; revision=2550
2002-01-25 01:46:51 +00:00
Phillip Susi
5f282abf99 Fixed infinite recursive call in debug print
svn path=/trunk/; revision=2549
2002-01-25 01:45:54 +00:00
Eric Kohl
56275af6c3 Fixed drive identification bug.
svn path=/trunk/; revision=2548
2002-01-24 10:04:50 +00:00
Brian Palmer
148e40a24e Reworked the boot sector & boot drive code
You can again use FreeLoader to dual boot between two drives or a boot sector file

svn path=/trunk/; revision=2547
2002-01-24 00:59:16 +00:00
Casper Hornstrup
5a6adb4f13 Added GNU Debugger stub for remote debugging.
Fixed bugs in NtQueryDirectoryObject.
Added static library target.

svn path=/trunk/; revision=2546
2002-01-23 23:39:26 +00:00
Brian Palmer
198a544138 Removed code to save screen contents before entering freeldr
Moved all architecture specific code to the arch & arch/i386 directories
Renamed asmcode.* to arch.*

svn path=/trunk/; revision=2545
2002-01-23 19:57:42 +00:00
Brian Palmer
fd75e7d985 Improved disk error reporting
svn path=/trunk/; revision=2544
2002-01-22 23:56:08 +00:00
Steven Edwards
4694f10044 updated to build whois client
svn path=/trunk/; revision=2543
2002-01-22 00:10:09 +00:00
Steven Edwards
f853dfb8a1 BSD 4.x whois client for win32.
svn path=/trunk/; revision=2542
2002-01-21 23:13:45 +00:00
Phillip Susi
905afd86d0 Removed duplicate definition of IO_COUNTERS structure
svn path=/trunk/; revision=2541
2002-01-21 22:35:30 +00:00
Phillip Susi
e5d54247ac Fixed several warnings by #includeing ctype.h, and marking several very long integral constants with the LL suffix
svn path=/trunk/; revision=2540
2002-01-21 22:34:55 +00:00
Hartmut Birr
57bf0a56e5 Added ntoskrnl.sym to install rule.
svn path=/trunk/; revision=2539
2002-01-21 22:34:36 +00:00
Phillip Susi
63546989b5 Replased improper use of NULL with 0 to get rid of warnings
svn path=/trunk/; revision=2538
2002-01-21 22:32:59 +00:00
Hartmut Birr
f32fe94b88 Removed IoGetCurrentIrpStackLocation from some functions.
svn path=/trunk/; revision=2537
2002-01-21 22:30:27 +00:00
Hartmut Birr
8a8f132dbf Added the packed attribute to IO_STACK_LOCATION.
svn path=/trunk/; revision=2536
2002-01-21 22:28:45 +00:00
Hartmut Birr
b4ee5e08ee Changed the macros IoGetCurrentIrpStackLocation and IoGetNextIrpStackLocation to the old state.
svn path=/trunk/; revision=2535
2002-01-21 22:27:36 +00:00
Eric Kohl
28c174051d Fixed some function declarations.
svn path=/trunk/; revision=2534
2002-01-21 11:42:04 +00:00
Eugene Ingerman
88650ed55e Porting pice. Bug fixes.
svn path=/trunk/; revision=2533
2002-01-21 10:03:50 +00:00
Emanuele Aliberti
656f7cb1f4 Test crt0 for the PSX subsystem.
svn path=/trunk/; revision=2532
2002-01-20 21:24:49 +00:00
Emanuele Aliberti
e031e6192e Bare shell for testing the PSX subsystem (not ready yet).
svn path=/trunk/; revision=2531
2002-01-20 21:22:29 +00:00
Brian Palmer
b26dfc9d77 Fixed bug that occurred during DEBUG builds
svn path=/trunk/; revision=2530
2002-01-19 09:40:29 +00:00
Eric Kohl
a2760cfdd4 Disabled nls file loading
svn path=/trunk/; revision=2529
2002-01-19 03:30:28 +00:00
Brian Palmer
5db0abce79 Better LBA support
Correctly determines FAT type based on cluster count instead of partition id

svn path=/trunk/; revision=2528
2002-01-19 00:37:06 +00:00
Eric Kohl
c5c65dd160 Fixed obvious typos.
svn path=/trunk/; revision=2527
2002-01-18 22:43:51 +00:00
Eric Kohl
c78f940a00 Added missing prototype.
svn path=/trunk/; revision=2526
2002-01-18 22:42:25 +00:00
Brian Palmer
41e1df9977 Recommitting file as binary
svn path=/trunk/; revision=2525
2002-01-18 19:20:32 +00:00
Brian Palmer
b80569cee7 Accidentally committed this file without the -kb flag
svn path=/trunk/; revision=2524
2002-01-18 19:19:43 +00:00
Brian Palmer
ec2583c6d5 Added disk cache
Optimized disk reads so it reads a track at a time or 64k if LBA

svn path=/trunk/; revision=2523
2002-01-18 05:59:58 +00:00
Emanuele Aliberti
ff0495900e Year, in the copyright string, updated.
svn path=/trunk/; revision=2522
2002-01-17 23:26:26 +00:00
Emanuele Aliberti
e5d9890c6c KERNEL_VERSION macro removed from reactos/version.h.
Use the dinamically generated macros in reactos/buildno.h.

svn path=/trunk/; revision=2521
2002-01-17 23:22:58 +00:00
Emanuele Aliberti
43348bb6dc FsRtlIsNtstatusExpected fixed (Bo Branten reported the bug).
svn path=/trunk/; revision=2520
2002-01-17 23:17:39 +00:00
Hartmut Birr
035f768d4a Added some fixes for accessing the page file.
svn path=/trunk/; revision=2519
2002-01-15 21:54:51 +00:00
Casper Hornstrup
550ffd05d5 Fixed compilation error.
svn path=/trunk/; revision=2518
2002-01-15 20:08:48 +00:00
Eugene Ingerman
b438e48231 Porting pice. Forgot this one.
svn path=/trunk/; revision=2517
2002-01-15 04:37:08 +00:00
Eugene Ingerman
3595be74a5 Porting pice. Intermediate checkin. Now compiles and runs a little bit.
svn path=/trunk/; revision=2516
2002-01-15 04:35:14 +00:00
David Welch
793bbe0455 Implemented NtW32Call and NtCallbackReturn
Updated some .cvsignore files

svn path=/trunk/; revision=2515
2002-01-15 02:51:32 +00:00
Phillip Susi
e136b71248 NtW32Call was causing a compile error and didn't do anything anyhow, so I changed it back to be UNIMPLEMENTED so things will compile.
By the way, what is this function for?

svn path=/trunk/; revision=2514
2002-01-15 01:42:57 +00:00
David Welch
0267a0a1c8 More missing files.
svn path=/trunk/; revision=2513
2002-01-15 00:43:18 +00:00
Eugene Ingerman
2aceac7176 Porting pice. Intermediate checkin. Now compiles.
svn path=/trunk/; revision=2512
2002-01-14 22:04:09 +00:00
David Welch
f36ace9e25 More missing files
svn path=/trunk/; revision=2511
2002-01-14 09:12:22 +00:00
Eric Kohl
d2b345f07d Fixed registry bug.
svn path=/trunk/; revision=2510
2002-01-14 04:51:15 +00:00
Eric Kohl
13b04f00b5 Added atapi disk driver stack (disabled).
svn path=/trunk/; revision=2509
2002-01-14 01:49:47 +00:00
Eric Kohl
f541fc1ccf Install disk drivers and *.nls files.
svn path=/trunk/; revision=2508
2002-01-14 01:47:44 +00:00
Eric Kohl
b25339ac84 Improved disk driver stack.
svn path=/trunk/; revision=2507
2002-01-14 01:45:03 +00:00
Eric Kohl
89ff8f7de2 Split rtl.h into rtl.h and rtltypes.h.
svn path=/trunk/; revision=2506
2002-01-14 01:41:08 +00:00
David Welch
47910ad286 Added missing files
svn path=/trunk/; revision=2505
2002-01-14 01:11:58 +00:00
David Welch
43b2190795 Began work on message queue and default window procedure
svn path=/trunk/; revision=2504
2002-01-13 22:52:08 +00:00
Emanuele Aliberti
a600e78a7a Minor changes and some interfaces updated in FsRtl.
svn path=/trunk/; revision=2503
2002-01-13 22:02:31 +00:00
Eugene Ingerman
2c1c5c45b1 Porting pice. Intermediate checkin.
svn path=/trunk/; revision=2502
2002-01-13 08:47:32 +00:00
Eric Kohl
fd4d47ccfc Ignore '\r' in HalDisplayString().
svn path=/trunk/; revision=2499
2002-01-10 01:01:27 +00:00
Eric Kohl
25c85c7dfe KeBugCheck() calls KeBugCheckEx().
KeBugCheckEx() displays additional bug message.

svn path=/trunk/; revision=2498
2002-01-10 00:59:32 +00:00
Eric Kohl
1208d849d0 Added message table to resouces.
Fixed a duplicate message definition.

svn path=/trunk/; revision=2497
2002-01-10 00:57:30 +00:00
Eric Kohl
17b74887c6 Fixed type casts.
svn path=/trunk/; revision=2496
2002-01-10 00:55:23 +00:00
David Welch
fe7d926068 More swapping fixes
svn path=/trunk/; revision=2495
2002-01-09 03:00:21 +00:00
Eugene Ingerman
3a8ce6bf63 Porting pice. Changed symbolic information handling.
svn path=/trunk/; revision=2494
2002-01-08 20:44:18 +00:00
David Welch
8cb9f1dd16 More swapping fixes
svn path=/trunk/; revision=2493
2002-01-08 00:49:02 +00:00
Jason Filby
b93878d368 regsvr32 from Jurgen Van Gael
svn path=/trunk/; revision=2492
2002-01-07 21:12:10 +00:00
Jason Filby
5e182b5ed0 olectl.h from Jurgen Van Gael
svn path=/trunk/; revision=2491
2002-01-07 21:10:33 +00:00
Hartmut Birr
da2423a49a Fixed the mapping of MmPageArray.
This solves the >134MB crash.

svn path=/trunk/; revision=2490
2002-01-05 11:31:05 +00:00
Casper Hornstrup
a9c89818ae Added application that will display statistics for ReactOS source code.
svn path=/trunk/; revision=2489
2002-01-04 23:50:58 +00:00
Casper Hornstrup
598cb0cb4c Fixed compilation of wmc.
svn path=/trunk/; revision=2488
2002-01-04 23:40:13 +00:00
David Welch
cc47e7056e Zero page list
svn path=/trunk/; revision=2487
2002-01-04 23:39:07 +00:00
Eugene Ingerman
fa8eafcb38 Porting pice. Added coff symbol parsing to pice, and some other small things.
svn path=/trunk/; revision=2486
2002-01-04 23:37:29 +00:00
Hartmut Birr
fae2e4844a Fixed a wrong initialisation in PiDeleteProcess().
svn path=/trunk/; revision=2485
2002-01-04 22:35:26 +00:00
Hartmut Birr
6837f9c4ef Fixed the return value for the root key in GetMaxValueNameLength().
svn path=/trunk/; revision=2484
2002-01-04 22:07:38 +00:00
Eric Kohl
0d5652813b Started kernel queue implementation.
Added win32k support functions.

svn path=/trunk/; revision=2483
2002-01-04 13:09:37 +00:00
David Welch
f376a8013e Fixes so wmc compiled on non-windows platforms
svn path=/trunk/; revision=2482
2002-01-04 03:12:13 +00:00
Casper Hornstrup
e2bd4b9b87 Removed reference to bitops.h
svn path=/trunk/; revision=2481
2002-01-04 00:23:54 +00:00
David Welch
c79d00b49a Fixed LPC section bug
svn path=/trunk/; revision=2480
2002-01-03 22:52:29 +00:00
Eric Kohl
059a7a0f64 Implemented process and thread notification routines.
svn path=/trunk/; revision=2479
2002-01-03 18:02:34 +00:00
Eric Kohl
041c7d16a5 Added massage table.
svn path=/trunk/; revision=2478
2002-01-03 14:52:05 +00:00
Eric Kohl
1806f623e7 Implemented PsLookupXxx() functions.
svn path=/trunk/; revision=2477
2002-01-03 14:03:05 +00:00
Casper Hornstrup
3221f88ce3 Free memory for symbols when process is terminated.
svn path=/trunk/; revision=2476
2002-01-03 12:48:02 +00:00
Hartmut Birr
a4178da184 Fixed the length for the registry key HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION.
svn path=/trunk/; revision=2475
2002-01-03 11:09:35 +00:00
Casper Hornstrup
09bfe41894 Free memory for symbols when process is terminated.
svn path=/trunk/; revision=2474
2002-01-02 21:00:55 +00:00
Eric Kohl
7a30c6749a Removed old codepage tables.
svn path=/trunk/; revision=2473
2002-01-02 00:53:51 +00:00
Eric Kohl
00aa97da88 Added binary .nls files.
svn path=/trunk/; revision=2472
2002-01-02 00:51:37 +00:00
Eric Kohl
ab4a7cd152 Added nls tool.
svn path=/trunk/; revision=2471
2002-01-02 00:48:14 +00:00
David Welch
6ade027031 More cygwin fixes
svn path=/trunk/; revision=2470
2002-01-01 05:09:50 +00:00
David Welch
3273c93173 Fixed bug with cygwin1.dll (still doesn't work)
svn path=/trunk/; revision=2469
2002-01-01 03:29:16 +00:00
David Welch
e5a34ef337 Fixed some swapping bugs and deadlocks
svn path=/trunk/; revision=2468
2002-01-01 00:21:57 +00:00
David Welch
3ea11463b3 Swapping to disk
svn path=/trunk/; revision=2467
2001-12-31 19:06:49 +00:00
Steven Edwards
36214fbd89 Updates for console telnet for win32
svn path=/trunk/; revision=2466
2001-12-31 18:30:20 +00:00
Steven Edwards
ab18809029 Updates for ReactOS build system
svn path=/trunk/; revision=2465
2001-12-31 18:25:36 +00:00
Steven Edwards
0dd9d2664c Fixes for real this time for new telnet client
svn path=/trunk/; revision=2464
2001-12-31 17:37:11 +00:00
Steven Edwards
5d7f30939a Fixes for new telnet client
svn path=/trunk/; revision=2463
2001-12-31 17:14:08 +00:00
David Welch
a155c42316 Virtual memory support
svn path=/trunk/; revision=2462
2001-12-31 01:53:46 +00:00
Steven Edwards
02e3483cf5 Updated readme information
svn path=/trunk/; revision=2461
2001-12-30 20:29:54 +00:00
Steven Edwards
5dc19ca3d1 Updating parts rosapps to ReactOS build system
new bat installer for rosapps.

svn path=/trunk/; revision=2460
2001-12-30 20:26:43 +00:00
Steven Edwards
87e06102cd Updates for Midnight Commander and telnet
svn path=/trunk/; revision=2459
2001-12-30 10:07:14 +00:00
Steven Edwards
c98929fa7e New Telnet Client
svn path=/trunk/; revision=2458
2001-12-30 10:05:48 +00:00
Steven Edwards
f0c5d1e87f Midnight Commander for Win32 Makefile Update
svn path=/trunk/; revision=2457
2001-12-30 10:02:48 +00:00
Steven Edwards
e5c0c7185e Midnight Commander for Win32
svn path=/trunk/; revision=2456
2001-12-30 10:02:14 +00:00
Steven Edwards
2a2768dea3 updated wine dlls and programs install script.
svn path=/trunk/; revision=2455
2001-12-30 08:04:23 +00:00
Steven Edwards
4a95d5eee9 updated wine dlls and programs install script.
svn path=/trunk/; revision=2454
2001-12-30 07:31:07 +00:00
Steven Edwards
86bda6b3d9 Added ncftp to rosapps
svn path=/trunk/; revision=2453
2001-12-30 06:31:25 +00:00
Steven Edwards
289a784eef compleated the removal of net_apps from makefile, fix build with readfile build
svn path=/trunk/; revision=2452
2001-12-30 05:49:13 +00:00
Steven Edwards
b3486a5605 removed $(net_apps) from build for reactos
svn path=/trunk/; revision=2451
2001-12-30 05:43:45 +00:00
Steven Edwards
0c57ecc79f updated gditest.c
Thanks to Richard Campbell

svn path=/trunk/; revision=2450
2001-12-30 04:35:55 +00:00
Steven Edwards
4a13352942 moved ping to rosapps/net
svn path=/trunk/; revision=2449
2001-12-30 04:34:20 +00:00
Steven Edwards
78f37dc93e Updated make and install for move of netapps to rosapps
svn path=/trunk/; revision=2448
2001-12-30 04:31:34 +00:00
Steven Edwards
2ee9a6c165 Removed ncftp
svn path=/trunk/; revision=2447
2001-12-30 04:27:43 +00:00
Steven Edwards
3d9541523b Updates for move of net apps to rosapps
svn path=/trunk/; revision=2446
2001-12-30 04:23:18 +00:00
Steven Edwards
f355097ad2 Updates for move of net apps to rosapps
svn path=/trunk/; revision=2445
2001-12-30 04:12:47 +00:00
Steven Edwards
174bb8c3d3 Move network apps to rosapps
svn path=/trunk/; revision=2444
2001-12-30 04:06:25 +00:00
David Welch
3fd3d008eb Trim cache
svn path=/trunk/; revision=2443
2001-12-29 14:32:22 +00:00
Eric Kohl
2fbbe48059 Add NLS information.
svn path=/trunk/; revision=2442
2001-12-28 21:24:48 +00:00
Eric Kohl
5a38010118 Added NLS-file loader.
svn path=/trunk/; revision=2441
2001-12-28 21:21:27 +00:00
Eric Kohl
d6278aba2a Fixed a bug.
svn path=/trunk/; revision=2440
2001-12-28 21:17:37 +00:00
David Welch
aee376797f Memory balancer
svn path=/trunk/; revision=2439
2001-12-28 00:04:45 +00:00
David Welch
47ba969751 Set WP bit in CR0
Fix protection for paged pool
Start on cache improvements

svn path=/trunk/; revision=2438
2001-12-27 23:56:42 +00:00
David Welch
48149a428f More fixes
svn path=/trunk/; revision=2437
2001-12-27 00:00:11 +00:00
David Welch
ff9a3a9a79 Misc fixes.
svn path=/trunk/; revision=2436
2001-12-26 23:34:07 +00:00
Steven Edwards
515231623e Updates for ncftp 3.0.3 for reactos
svn path=/trunk/; revision=2435
2001-12-20 19:05:45 +00:00
Steven Edwards
de04b33937 ncftp for win32 3.0.3
svn path=/trunk/; revision=2434
2001-12-20 18:50:07 +00:00
David Welch
cc824ce464 Fixed fast mutex implementation (they are NOT recursive)
Implemented paged pool
Removed duplicate dependency tool source file

svn path=/trunk/; revision=2433
2001-12-20 03:56:10 +00:00
Steven Edwards
cbd8e654dc Updated makefile to build winefilemanager
svn path=/trunk/; revision=2432
2001-12-16 05:27:16 +00:00
Eugene Ingerman
3edb1beb95 Porting pice. Added pe parsing in loader.
svn path=/trunk/; revision=2431
2001-12-15 23:50:07 +00:00
Emanuele Aliberti
a7d526433d A general Makefile for building the POSIX+ development kit.
svn path=/trunk/; revision=2430
2001-12-15 11:04:26 +00:00
Emanuele Aliberti
8c97b5dd72 A general Makefile for building the native/kernel-mode development kit.
svn path=/trunk/; revision=2429
2001-12-15 11:02:40 +00:00
Emanuele Aliberti
074449ffe5 A general Makefile for building the Win32(tm) development kit.
svn path=/trunk/; revision=2428
2001-12-15 11:00:53 +00:00
Emanuele Aliberti
485cee30c2 process/session.c in the makefile.
svn path=/trunk/; revision=2427
2001-12-11 23:18:16 +00:00
Phillip Susi
e27c5fbd2f Moved $(MK_GCCLIBS) to correct place on gcc command line
svn path=/trunk/; revision=2426
2001-12-11 06:00:07 +00:00
Brian Palmer
8c29563890 Added Task Manager to cvs repository
Won't build yet due to old headers included with MingW32

svn path=/trunk/; revision=2425
2001-12-10 01:19:33 +00:00
Eric Kohl
10231d15e7 Added preliminary system hive file.
svn path=/trunk/; revision=2424
2001-12-09 04:58:44 +00:00
Casper Hornstrup
1ba52efab8 Fixed compilation error
svn path=/trunk/; revision=2423
2001-12-07 22:42:38 +00:00
Emanuele Aliberti
a5208b8fca Added prototype for ProcessIdToSessionId().
svn path=/trunk/; revision=2422
2001-12-07 11:24:34 +00:00
Emanuele Aliberti
d36ee56715 A stub file for TS APIs in kernel32.
svn path=/trunk/; revision=2421
2001-12-07 11:19:49 +00:00
Eugene Ingerman
ef93b48310 Porting pice. Added keyboard hook and some file functions.
svn path=/trunk/; revision=2420
2001-12-06 09:20:57 +00:00
David Welch
8c3f4003e7 Removed bitops.h
svn path=/trunk/; revision=2419
2001-12-06 00:54:54 +00:00
Eric Kohl
909d916ca5 Implemented file system change notification.
svn path=/trunk/; revision=2418
2001-12-05 12:14:13 +00:00
Eric Kohl
116270d2e0 Added missing create parameters to IoCreateFile().
svn path=/trunk/; revision=2417
2001-12-05 12:11:55 +00:00
David Welch
64ebe91f78 Fixed security define spelling
Added duplication notification

svn path=/trunk/; revision=2416
2001-12-05 01:40:25 +00:00
Eric Kohl
eaf3de3006 Replaced binary constants by corresponding flags.
svn path=/trunk/; revision=2415
2001-12-04 20:47:54 +00:00
David Welch
fc1ce2a0d3 Remove debugging changes.
svn path=/trunk/; revision=2414
2001-12-02 23:37:25 +00:00
David Welch
7a15ff20db Implemented LPC sections
Changed WriteConsoleOutput to pass data in the section

svn path=/trunk/; revision=2413
2001-12-02 23:34:43 +00:00
Phillip Susi
b7f6ddaf9a Fixed typeo that prevented compilation
svn path=/trunk/; revision=2412
2001-12-01 20:57:23 +00:00
Eugene Ingerman
87d07db47c Fixed small bug in keyboard driver that prevented filter driver from working. Added keyboard hook.
svn path=/trunk/; revision=2410
2001-11-30 01:38:24 +00:00
Eric Kohl
6be5fe1285 Implemented PsGetProcessExitTime() and PsIsThreadTerminating().
svn path=/trunk/; revision=2409
2001-11-29 16:41:22 +00:00
Steven Edwards
3684c3d179 found out shell has kill built it
svn path=/trunk/; revision=2408
2001-11-29 07:24:48 +00:00
Brian Palmer
c157992a67 Fixed Makefile problem
Added tool to fix Win2k/XP NTVDM bug so DJGPP works without crashing

svn path=/trunk/; revision=2407
2001-11-29 01:56:04 +00:00
Emanuele Aliberti
45422998d5 Base files (incomplete) for PSAPI.DLL.
svn path=/trunk/; revision=2406
2001-11-28 23:35:16 +00:00
Emanuele Aliberti
ad6cb832a4 *** empty log message ***
svn path=/trunk/; revision=2404
2001-11-28 16:11:36 +00:00
Brian Palmer
12e0be217f Re-organized things a slight bit.
Split up stdlib.c and renamed it to rtl.
Separated disk functions from file system functions.

svn path=/trunk/; revision=2403
2001-11-28 10:26:53 +00:00
The ReactOS Team
abc01da30c This commit was manufactured by cvs2svn to create branch 'avendor'.
svn path=/branches/avendor/; revision=2401
2001-11-28 01:38:00 +00:00
Steven Edwards
d4d6b6dbf7 Initial revision
svn path=/trunk/; revision=2400
2001-11-28 01:37:59 +00:00
The ReactOS Team
7aeca22fed This commit was manufactured by cvs2svn to create branch 'avendor'.
svn path=/branches/avendor/; revision=2398
2001-11-27 14:24:15 +00:00
Steven Edwards
d3b8d085e2 Initial revision
svn path=/trunk/; revision=2397
2001-11-27 14:24:14 +00:00
Eric Kohl
16e5929c1c Added system hive support.
Started hardware detection.

svn path=/trunk/; revision=2396
2001-11-27 12:42:47 +00:00
Eric Kohl
7a1bc8eaca Added system hive support.
svn path=/trunk/; revision=2395
2001-11-26 22:33:20 +00:00
Eric Kohl
0aee7968ad Added 'dword' data type.
svn path=/trunk/; revision=2394
2001-11-25 18:28:00 +00:00
David Welch
8fd78223cb include/csrss/csrss.h: Include a define for the size of the common
part of the csrss message header.
lib/kernel32/misc/console.c: WriteConsole: Use the same meanings for the
Length argument to CsrClientCallServer as all other callers.
lib/kernel32/misc/console.c: WriteConsoleOutput: Break up long requests
(not very efficently).
lib/ntdll/csr/lpc.c: CsrClientCallServer: Fill out DataSize and
MessageSize correctly.
lib/kernel32/misc/dllmain.c: DllMain: Die if we can't connect to csrss.
ntoskrnl/include/internal/ntoskrnl.c: Increase size of non-paged pool
ntoskrnl/ke/i386/exp.c: On double fault print loops in the stack trace
only once.
ntoskrnl/ke/i386/usertrap.c: Corrected checking in stack trace.
ntoskrnl/lpc/send.c: NtRequestWaitReplyPort: Check message consistency and
copy in safely.
ntoskrnl/mm/aspace.c: MmLockAddressSpace: Don't bother locking if we are
the only thread running.
ntoskrnl/mm/kmap.c: Implementing support functions for whole page
allocation.
ntoskrnl/mm/npool.c: Implementing allocation mode where every block is
allocated in a whole page and placed against the end so writes beyond the
allocated portion are caught immediately.

svn path=/trunk/; revision=2393
2001-11-25 15:21:11 +00:00
Jason Filby
2ddebe867f Moved W32THREAD to teb.h
svn path=/trunk/; revision=2392
2001-11-24 14:08:54 +00:00
Eric Kohl
3c7c6e909d Added some security/access functions.
svn path=/trunk/; revision=2389
2001-11-22 02:37:32 +00:00
Eric Kohl
396df5ce12 Implemented RtlImpersonateSelf().
svn path=/trunk/; revision=2388
2001-11-21 22:31:18 +00:00
Eric Kohl
d1d89cd409 Fixed PsRevertToSelf().
svn path=/trunk/; revision=2387
2001-11-21 18:44:50 +00:00
Steven Edwards
f1ea6d86e7 add mkdir C:\bin for wineapps
svn path=/trunk/; revision=2386
2001-11-20 23:49:03 +00:00
Hartmut Birr
94048a055d Fixed a bug in FAT12FindAvailableCluster.
svn path=/trunk/; revision=2385
2001-11-20 23:40:26 +00:00
Rex Jolliff
c900b97902 added default rule for .cpp files
svn path=/trunk/; revision=2384
2001-11-20 21:56:54 +00:00
Eric Kohl
5f56974966 Implemented read/write.
svn path=/trunk/; revision=2383
2001-11-20 20:35:10 +00:00
David Welch
229104bb31 Split kernel and user-mode exception handling
svn path=/trunk/; revision=2382
2001-11-20 02:31:21 +00:00
David Welch
b981b14821 Fixed zsh crash bug, it still doesn't work however
svn path=/trunk/; revision=2381
2001-11-20 02:29:45 +00:00
Jason Filby
0e27bfa7dd Fix for CreateCompatibleDC
svn path=/trunk/; revision=2380
2001-11-19 12:06:23 +00:00
Eric Kohl
303f10c6fd Fixed a few compiler warinings.
svn path=/trunk/; revision=2379
2001-11-18 20:20:42 +00:00
David Welch
57300d2523 Oops, used copy to caller instead of copy from caller
svn path=/trunk/; revision=2378
2001-11-18 01:28:50 +00:00
David Welch
189a5e8404 Fixed bugs with vim
svn path=/trunk/; revision=2377
2001-11-18 00:31:24 +00:00
Eric Kohl
5d289c12b2 Fixed GetExtendedMemorySize(). My i486-DX4/75 didn't like the old routine.
svn path=/trunk/; revision=2376
2001-11-17 00:00:33 +00:00
Eric Kohl
60a1a5d26d Updated for booting from C:
svn path=/trunk/; revision=2375
2001-11-16 20:27:59 +00:00
Eric Kohl
228ec52af6 Added loading the HAL.
svn path=/trunk/; revision=2374
2001-11-16 20:25:37 +00:00
Eric Kohl
dfd00972c9 Fixed warnings.
svn path=/trunk/; revision=2373
2001-11-16 20:24:43 +00:00
Brian Palmer
3662f1f720 BIOS Int 13h Extensions Support
New .ini file format (sort of) - changed some parameter names, etc.
More efficient .ini file parsing code
More efficient use of memory, smaller image file
Total rewrite of file system code (the old stuff sucked)
VFAT Long File Names now supported!
ReactOS is the only boot type supported currently, disabled all others (temporarily)

svn path=/trunk/; revision=2372
2001-11-15 07:48:33 +00:00
Eric Kohl
709cd514ab Implemented MmMapViewOfSection().
svn path=/trunk/; revision=2368
2001-11-13 22:46:49 +00:00
Steven Edwards
0de577f6cd Remove my old port of the winelib notepad
svn path=/trunk/; revision=2366
2001-11-11 18:21:32 +00:00
Steven Edwards
a36b062468 install script for wine dlls and programs
svn path=/trunk/; revision=2365
2001-11-11 18:16:52 +00:00
Casper Hornstrup
c23a2d7aee Fixed typo
svn path=/trunk/; revision=2364
2001-11-09 15:50:34 +00:00
Eric Kohl
cdd8ad011c Added message compiler.
svn path=/trunk/; revision=2363
2001-11-09 12:37:15 +00:00
Eric Kohl
51f2c2d3d0 Added message compiler.
svn path=/trunk/; revision=2362
2001-11-09 12:27:02 +00:00
Eric Kohl
af8dfb404f Implemented abandoning of mutexes/mutants.
svn path=/trunk/; revision=2361
2001-11-08 13:58:13 +00:00
Eric Kohl
7ab413e8de Fixed thread termination bug when a mutex must be abandoned.
svn path=/trunk/; revision=2360
2001-11-08 01:09:20 +00:00
David Welch
a122417a8a Fixed thread termination bug
svn path=/trunk/; revision=2359
2001-11-07 22:36:47 +00:00
Eric Kohl
1355fed119 Added mutex test application.
svn path=/trunk/; revision=2358
2001-11-07 16:42:15 +00:00
Eric Kohl
679c19d7f8 Added GetInterruptVector() routine to PCI bus handler.
svn path=/trunk/; revision=2357
2001-11-07 02:27:33 +00:00
Phillip Susi
01009ce267 Re enabled mounting more than one filesystem
svn path=/trunk/; revision=2356
2001-11-07 02:21:19 +00:00
Eric Kohl
7a232306cc Attach/detach mutant(mutex) to/from owning thread.
Fixed return value of KeWaitForMultipleObjects() on timeout.

svn path=/trunk/; revision=2355
2001-11-07 02:17:22 +00:00
James Tabor
7e8fb651af Fix export wvsnprintfA and W from user32.dll
svn path=/trunk/; revision=2354
2001-11-05 21:00:31 +00:00
David Welch
18992fbe14 Don't check for critical sections when delivering special kernel mode APCs
svn path=/trunk/; revision=2353
2001-11-05 20:49:30 +00:00
Emanuele Aliberti
e0308e50e8 tlist clone (partial).
Tested under NT 4.0.1382 SP6a EN_US.
NOT tested under ROS, but it should NOT work, since
NtQuerySystemInformation misses at least one info class needed
by the application.

svn path=/trunk/; revision=2352
2001-11-04 21:53:20 +00:00
Eric Kohl
156f7ec157 Implemented mutant object.
svn path=/trunk/; revision=2350
2001-11-04 00:18:40 +00:00
Casper Hornstrup
558496bca6 New target 'implib' to avoid cicular references.
Integrate WINE into the build system.

svn path=/trunk/; revision=2349
2001-11-03 16:48:07 +00:00
Eric Kohl
5db2a7d92d Disabled secondary channel by default
svn path=/trunk/; revision=2348
2001-11-03 16:34:58 +00:00
Hartmut Birr
547896ce6f Reworked code for handling of asynchonous i/o requests.
svn path=/trunk/; revision=2347
2001-11-02 22:57:14 +00:00
Hartmut Birr
c2c9804f47 Reworked code for handling of asynchonous i/o requests.
svn path=/trunk/; revision=2346
2001-11-02 22:47:36 +00:00
Hartmut Birr
75bfca5f83 Fixed a minor bug in vfatMakeRootFCB().
Reworked code for handling of asynchonous i/o requests.

svn path=/trunk/; revision=2345
2001-11-02 22:40:50 +00:00
Hartmut Birr
b5e7b94ea7 Speed optimization in FATxxFindAvailableCluster().
svn path=/trunk/; revision=2344
2001-11-02 22:35:31 +00:00
Hartmut Birr
2723d14c06 Added some modifications for asyncronous i/o requests (for vfatfs).
svn path=/trunk/; revision=2343
2001-11-02 22:22:33 +00:00
Hartmut Birr
ab19671382 Fixed a bug in GetVolumeInformationA()
svn path=/trunk/; revision=2342
2001-11-02 22:08:28 +00:00
Eric Kohl
c0ddd03a2f Fixed a typo.
svn path=/trunk/; revision=2341
2001-11-02 09:17:52 +00:00
Eric Kohl
b639c5def9 Implemented basic ANSI/OEM <--> Unicode translation tables.
svn path=/trunk/; revision=2340
2001-11-02 09:10:49 +00:00
Rex Jolliff
286d73f7e6 Initial attempt at a handle table for GDI objects. Needs testing and fixing i am sure.
svn path=/trunk/; revision=2339
2001-11-02 06:10:11 +00:00
Eric Kohl
ec23fa085b Removed PCI_COMMON_CONFIG
svn path=/trunk/; revision=2338
2001-11-01 23:17:10 +00:00
Eric Kohl
91540343f5 Set sector size to 512 bytes.
svn path=/trunk/; revision=2337
2001-11-01 17:48:13 +00:00
Eric Kohl
66b3542076 Enabled secondary IDE channel for PCI and ISA bus
Fixed BytesPerSector hack
Minor cleanup

svn path=/trunk/; revision=2336
2001-11-01 14:51:57 +00:00
Hartmut Birr
ae482ce24e Fixed some bugs in VfatGetStandardInformation().
Implemented VfatGetInternalInformation().

svn path=/trunk/; revision=2335
2001-11-01 10:44:11 +00:00
Hartmut Birr
24f81ff1c1 Enabled the check of the correct buffer size in some functions.
svn path=/trunk/; revision=2334
2001-11-01 10:41:53 +00:00
Hartmut Birr
287fa79a6a Fixed the type of st_dev in stat.
svn path=/trunk/; revision=2333
2001-11-01 10:39:54 +00:00
Hartmut Birr
dbf14d8c26 Initialized statbuf->st_mode in _stat() and _fstati64().
svn path=/trunk/; revision=2332
2001-11-01 10:37:58 +00:00
Hartmut Birr
1dafd03c3d Fixed some bugs in GetFileInformationByHandle().
svn path=/trunk/; revision=2331
2001-11-01 10:35:15 +00:00
Eric Kohl
998550e404 Moved/added some declarations
Fixed atapi drive identification

svn path=/trunk/; revision=2330
2001-11-01 00:30:29 +00:00
Eric Kohl
6d21eb028c Moved/added some declarations
Fixed ide drive identification

svn path=/trunk/; revision=2329
2001-11-01 00:28:57 +00:00
Jason Filby
af347caa8c Kludge: draw within screen until we have clipping working
svn path=/trunk/; revision=2328
2001-10-31 21:08:00 +00:00
David Welch
7e2973b768 Fix for advapi32 failing to load (it had imported symbols from itself)
svn path=/trunk/; revision=2325
2001-10-31 01:03:04 +00:00
David Welch
2179744c2c Fixed bug causing crash when running mc
svn path=/trunk/; revision=2324
2001-10-31 00:03:07 +00:00
David Welch
6efd918a8b Zero pages before allocated.
svn path=/trunk/; revision=2323
2001-10-29 02:39:38 +00:00
Hartmut Birr
2a1ac328ed Clear the allocated page for a bss section (in MmNotPresentFaultSectionView).
svn path=/trunk/; revision=2322
2001-10-27 15:55:45 +00:00
The ReactOS Team
36e1bb60e8 This commit was manufactured by cvs2svn to create branch 'avendor'.
svn path=/branches/avendor/; revision=2320
2001-10-25 23:22:09 +00:00
Steven Edwards
4f6b97db87 Initial revision
svn path=/trunk/; revision=2319
2001-10-25 23:22:02 +00:00
Eugene Ingerman
03c7fccace Porting pice.
svn path=/trunk/; revision=2318
2001-10-23 21:33:17 +00:00
The ReactOS Team
74e77bb16f This commit was manufactured by cvs2svn to create branch 'avendor'.
svn path=/branches/avendor/; revision=2316
2001-10-23 21:15:45 +00:00
Steven Edwards
f475b72c8c Initial revision
svn path=/trunk/; revision=2315
2001-10-23 21:15:37 +00:00
Phillip Susi
a69fa0c124 Changed path to vgaddi.dll to use SystemRoot instead of C:
svn path=/trunk/; revision=2314
2001-10-23 00:22:04 +00:00
Eugene Ingerman
5b13cb7208 Porting pice.
svn path=/trunk/; revision=2313
2001-10-22 05:02:47 +00:00
Casper Hornstrup
f238a86a0b Create named pipe for SCM
svn path=/trunk/; revision=2312
2001-10-21 19:09:06 +00:00
Casper Hornstrup
7cb3efcca8 Prototype fixes.
svn path=/trunk/; revision=2311
2001-10-21 19:07:28 +00:00
Casper Hornstrup
75ebd197fa Open named pipe to SCM
svn path=/trunk/; revision=2310
2001-10-21 19:06:42 +00:00
Casper Hornstrup
f611cbbe42 NPFS read/write functionality.
svn path=/trunk/; revision=2309
2001-10-21 18:58:32 +00:00
Eugene Ingerman
26090a1b08 Missed these files from the last commit.
svn path=/trunk/; revision=2308
2001-10-21 04:46:15 +00:00
Eugene Ingerman
096c6a9c99 Changed some driver functions to follow nt standard. Ported several functions.
svn path=/trunk/; revision=2307
2001-10-21 04:05:48 +00:00
Eugene Ingerman
0356076d35 Original source code for linux kernel debugger. To be ported to reactos.
svn path=/trunk/; revision=2306
2001-10-21 03:45:27 +00:00
Eric Kohl
f81d856c00 Implemented waiting for server pipe (WaitNamedPipe()).
svn path=/trunk/; revision=2305
2001-10-20 15:30:07 +00:00
Eric Kohl
fc27cfa0c9 Fixed WaitNamedPipe().
svn path=/trunk/; revision=2304
2001-10-20 15:28:03 +00:00
Phillip Susi
145c90c778 Fixed typeo that prevented compilation
svn path=/trunk/; revision=2303
2001-10-17 20:02:52 +00:00
Eric Kohl
20bec3cf6b Implemented useful rename command.
svn path=/trunk/; revision=2302
2001-10-17 18:30:10 +00:00
Phillip Susi
32ec8c6868 Only pass file name as module name, not full path
svn path=/trunk/; revision=2301
2001-10-17 01:34:07 +00:00
Phillip Susi
bafcaf58e4 Removed use of crtdll from all apps, let them use msvcrt.dll instead
svn path=/trunk/; revision=2300
2001-10-16 22:45:40 +00:00
Emanuele Aliberti
84114428d7 Fixes to compile the whole set of ROS applications.
Hartmut Birr added to the ROS console parade.

svn path=/trunk/; revision=2299
2001-10-16 21:02:02 +00:00
Phillip Susi
f89bf61ed5 Imported bzip2 modified to build a decompression only dll for use by the ramdisk driver
svn path=/trunk/; revision=2298
2001-10-16 20:59:19 +00:00
Phillip Susi
718510b28a Fixed bug parsing redirections
svn path=/trunk/; revision=2297
2001-10-14 18:30:56 +00:00
Phillip Susi
34fca92d6d Share read access to files opened for redirection
svn path=/trunk/; revision=2296
2001-10-14 18:30:28 +00:00
Hartmut Birr
ee9ea15fe0 Fixed calling convention for ApcRoutine().
Patch by Guido de Jong.

svn path=/trunk/; revision=2295
2001-10-12 19:13:01 +00:00
Eric Kohl
0a88910738 Made qsort() thread-safe.
svn path=/trunk/; revision=2294
2001-10-11 23:37:47 +00:00
Hartmut Birr
061fadc77a Fixed a bug, when there is a write operation to the root directory, vfat crashs.
svn path=/trunk/; revision=2293
2001-10-11 15:39:51 +00:00
Hartmut Birr
ef4b8d4947 Fixed a minor bug in MmAllocateSection().
svn path=/trunk/; revision=2292
2001-10-10 22:40:36 +00:00
Hartmut Birr
78869da85f Added/Removed some definitions.
svn path=/trunk/; revision=2291
2001-10-10 22:20:48 +00:00
Hartmut Birr
644d1f6676 Rewritten the read and write functions.
Changed the cache access from vfat..Region to Cc...Data() and CcCopy...().

svn path=/trunk/; revision=2290
2001-10-10 22:19:51 +00:00
Hartmut Birr
20625a2073 Changed the initialization for the fat cache in VfatMount().
svn path=/trunk/; revision=2289
2001-10-10 22:18:58 +00:00
Hartmut Birr
12f5d25024 Removed vfatRequestAndValidateRegion() and vfatReleaseRegion().
Added some initializations in vfatMakeRootFCB() and vfatMakeFcbFromDirEntry().

svn path=/trunk/; revision=2288
2001-10-10 22:17:42 +00:00
Hartmut Birr
6df323c21b Changed the cache access from CcRos...CacheSegment() to Cc...Data().
svn path=/trunk/; revision=2287
2001-10-10 22:16:46 +00:00
Hartmut Birr
068a4a38d5 Changed the directory access to Cc...Data().
Removed the useing of dummy FileObjects in some calls to VfatReadFile()/VfatWriteFile().

svn path=/trunk/; revision=2286
2001-10-10 22:15:51 +00:00
Hartmut Birr
069a01eede Changed the cache access from vfat...Region() to Cc...Data().
svn path=/trunk/; revision=2285
2001-10-10 22:14:34 +00:00
Hartmut Birr
a23989370d Fixed the returned size in VfatGetFile...Information().
svn path=/trunk/; revision=2284
2001-10-10 22:13:26 +00:00
Hartmut Birr
b61f55deae Added cache access for GetEntyName() and FindFile().
Fixed a minor bug in VfatCreateFile().
Added update of the cachesize in VfatCreateFile(), when a the file size is set zero.

svn path=/trunk/; revision=2283
2001-10-10 22:12:34 +00:00
Hartmut Birr
1e43cf0d82 Added cc/copy.c, cc/pin.c and cc/misc.c to OBJECTS_CC.
svn path=/trunk/; revision=2282
2001-10-10 22:08:27 +00:00
Hartmut Birr
5004973b9a Removed CcRosRequestCacheSegment()and CcRosReleaseCacheSegment().
Added CcCopyRead(), CcCopyWrite(), CcMapData(), CcSetDirtyPinnedData(),
CcUnpinData() and CcSetFileSizes().

svn path=/trunk/; revision=2281
2001-10-10 22:07:15 +00:00
Hartmut Birr
937606fd25 Removed update of FileOffset from IoReadWriteCompletion().
svn path=/trunk/; revision=2280
2001-10-10 21:58:40 +00:00
Hartmut Birr
535721b797 Added a new parameter to IoPageWrite().
svn path=/trunk/; revision=2279
2001-10-10 21:57:00 +00:00
Hartmut Birr
93742336bb Added CcRosFreeCacheSegment(), ReadCacheSegment() and WriteCacheSegment().
svn path=/trunk/; revision=2278
2001-10-10 21:55:13 +00:00
Hartmut Birr
74be6cd705 Added some initializations in CcRosInitializeCache().
svn path=/trunk/; revision=2277
2001-10-10 21:50:15 +00:00
Hartmut Birr
a92ab23917 Implemented CcMapdata(), CcUnpinData() and CsSetDirtyPinnedData().
svn path=/trunk/; revision=2276
2001-10-10 21:49:15 +00:00
Hartmut Birr
4bda2fbdb1 Implemented CcSetFileSizes().
svn path=/trunk/; revision=2275
2001-10-10 21:48:09 +00:00
Hartmut Birr
4fd4a97760 Implemented CcCopyRead(), CcCopyWrite() and some other functions.
svn path=/trunk/; revision=2274
2001-10-10 21:46:13 +00:00
Eric Kohl
a1d321e7b8 Added _abnormal_termination() stub.
svn path=/trunk/; revision=2273
2001-10-10 19:41:35 +00:00
Hartmut Birr
767a20760d Fixed a dead lock in GetNextCluster.
Fixed a bug in FAT32FindAvailableCluster.

svn path=/trunk/; revision=2268
2001-10-07 08:58:29 +00:00
Eric Kohl
d3a9cfe663 Fixed __doserrno type.
svn path=/trunk/; revision=2267
2001-10-04 16:06:36 +00:00
Hartmut Birr
ae6141ba18 Fixed the 'higher 4 bit fat32'-bug.
svn path=/trunk/; revision=2266
2001-10-03 18:23:02 +00:00
Eric Kohl
0f0199f381 Implemented _doserrno().
svn path=/trunk/; revision=2265
2001-10-03 02:15:55 +00:00
Rex Jolliff
9df4133568 some changes to support load of LiteStep
svn path=/trunk/; revision=2264
2001-10-01 16:36:27 +00:00
Rex Jolliff
e446466964 fix to work around dlltool not supporting specified ordinals in export list
svn path=/trunk/; revision=2263
2001-10-01 16:31:12 +00:00
Phillip Susi
3c655e1278 Do not bugcheck on ExFreePool( 0 )
svn path=/trunk/; revision=2262
2001-09-29 19:40:49 +00:00
David Welch
decca5781a Fixes.
svn path=/trunk/; revision=2261
2001-09-27 02:14:35 +00:00
David Welch
387d128462 APplied MiReadPage fix
svn path=/trunk/; revision=2260
2001-09-25 19:52:28 +00:00
David Welch
c0589a9fec Fixes.
svn path=/trunk/; revision=2259
2001-09-25 19:41:38 +00:00
Casper Hornstrup
6e4a29babf Fix for compile error
svn path=/trunk/; revision=2258
2001-09-24 10:19:58 +00:00
Casper Hornstrup
9a6d677db3 Initial OS level SEH support.
svn path=/trunk/; revision=2257
2001-09-24 01:09:51 +00:00
Casper Hornstrup
0948ab6596 Initial OS level SEH support.
svn path=/trunk/; revision=2256
2001-09-24 00:51:17 +00:00
Casper Hornstrup
2eb7adef67 Compile using gcc 3.0
Fixed alot of warnings when using gcc 3.0

svn path=/trunk/; revision=2255
2001-09-23 22:14:10 +00:00
Casper Hornstrup
09237b9213 Enumerate legacy devices
svn path=/trunk/; revision=2254
2001-09-16 13:19:32 +00:00
Casper Hornstrup
9baaca2418 Added PCI bus driver skeleton
svn path=/trunk/; revision=2253
2001-09-16 13:18:24 +00:00
Eric Kohl
1ea7189ed9 Added new atapi driver. It can only scan the pci busses and create scsi port devices for identified ide channels.
svn path=/trunk/; revision=2252
2001-09-09 21:32:28 +00:00
Eric Kohl
dcc3b51487 Added pci bus scanner to find ide controllers. Hardware reset is used when no controller was found.
svn path=/trunk/; revision=2251
2001-09-09 21:28:05 +00:00
David Welch
c4cd9be8de Fixed all no-FPU bugs
svn path=/trunk/; revision=2250
2001-09-09 13:32:20 +00:00
Hartmut Birr
3ad515a2de Change the size of the kernel page table from 1 to 8 pages.
ROS can now boot with up to 4 GB real memory (tested with a modified bochs and 1.5GB).

svn path=/trunk/; revision=2249
2001-09-09 12:26:05 +00:00
Hartmut Birr
a8a4e37cba Change the return value in CreateFileW() from FALSE to INVALID_HANDLE_VALUE.
svn path=/trunk/; revision=2248
2001-09-09 12:21:37 +00:00
Hartmut Birr
1689533ef4 Fixed a bug, that will add a '.' when the ext string is empty.
svn path=/trunk/; revision=2247
2001-09-09 12:13:15 +00:00
Hartmut Birr
5ee0bf283e Fixed a bug in KdpPrintString().
When serial debug was enabled, than the bochs debug dosn't work.

svn path=/trunk/; revision=2246
2001-09-09 09:47:18 +00:00
Jason Filby
aebc047c8c Small fixes
svn path=/trunk/; revision=2245
2001-09-09 09:20:06 +00:00
David Welch
d9975bf64a Try again; enable MP and NE and disable EM
svn path=/trunk/; revision=2244
2001-09-09 00:08:39 +00:00
Emanuele Aliberti
ef3bb24149 Added skeleton for PSXX.DLL, the X11 client library for the POSIX+ subsystem.
svn path=/trunk/; revision=2243
2001-09-08 22:13:16 +00:00
David Welch
8fd176384c Hopefully initialize FPU properly
svn path=/trunk/; revision=2242
2001-09-08 20:08:08 +00:00
Jason Filby
9e9c096bed more freetype cleanup
svn path=/trunk/; revision=2241
2001-09-08 12:12:41 +00:00
Jason Filby
0c257f84a5 More freetype cleanup
svn path=/trunk/; revision=2240
2001-09-08 12:11:48 +00:00
Eric Kohl
3920464d8e Implemented LdrFindEntryForAddress() and LdrQueryProcessModuleInformation().
svn path=/trunk/; revision=2239
2001-09-08 12:06:59 +00:00
Jason Filby
bdea50f54c Cleaning up FreeType library
svn path=/trunk/; revision=2238
2001-09-08 11:55:35 +00:00
Eric Kohl
0c901951af Create mandatory keys for resource management.
svn path=/trunk/; revision=2237
2001-09-08 09:02:08 +00:00
Eric Kohl
b62d5e3184 Return a better status code in ObReferenceObjectByPointer().
svn path=/trunk/; revision=2236
2001-09-08 08:57:59 +00:00
Emanuele Aliberti
cf1883980d Added some Job related info and little cleanup.
svn path=/trunk/; revision=2235
2001-09-07 21:38:44 +00:00
Emanuele Aliberti
fc64f4511b Added CVS Id.
svn path=/trunk/; revision=2234
2001-09-07 21:37:47 +00:00
Emanuele Aliberti
64fe62dd6d Minor changes.
svn path=/trunk/; revision=2233
2001-09-07 21:35:45 +00:00
David Welch
008868b972 Implemented NtQueryTime
svn path=/trunk/; revision=2232
2001-09-06 22:47:39 +00:00
David Welch
6cb5e548e2 Fixed problem with __NTOSKRNL__ not being defined by the compiler
Implemented some APIs

svn path=/trunk/; revision=2231
2001-09-06 20:26:36 +00:00
Eric Kohl
1701b0b02f Implemented IoReportHalUsage().
svn path=/trunk/; revision=2230
2001-09-05 09:21:47 +00:00
Eric Kohl
3fa6827bcd Fixed hive import bug.
svn path=/trunk/; revision=2229
2001-09-04 21:06:27 +00:00
Eric Kohl
0cb3991a23 Implemented RegSaveKey[A/W]().
Added missing calls to MapDefaultKey().

svn path=/trunk/; revision=2228
2001-09-03 23:11:59 +00:00
Emanuele Aliberti
63d1ecea6e LsaXXX stubs added.
svn path=/trunk/; revision=2227
2001-09-03 20:42:44 +00:00
Casper Hornstrup
c997de334b Fixed compilation error.
svn path=/trunk/; revision=2226
2001-09-02 19:48:19 +00:00
Emanuele Aliberti
df39763241 KERNEL32.GetPriorityClass fixed.
svn path=/trunk/; revision=2225
2001-09-02 17:59:44 +00:00
David Welch
750b45e5a3 Added generic capture functions.
svn path=/trunk/; revision=2224
2001-09-02 17:31:00 +00:00
David Welch
97771b1487 Implemented NtSetEnvironmentVariable
svn path=/trunk/; revision=2223
2001-09-02 17:29:52 +00:00
David Welch
0bb08690eb Implemented NtQuerySystemEnvironmentValue
svn path=/trunk/; revision=2222
2001-09-02 15:38:46 +00:00
Casper Hornstrup
145dc8c01d Removed dbgprints
svn path=/trunk/; revision=2221
2001-09-02 12:19:34 +00:00
Casper Hornstrup
c6548b080f Ported 32-bit OLE32 functions from WINE.
svn path=/trunk/; revision=2220
2001-09-02 09:16:23 +00:00
Casper Hornstrup
247c229fc0 Ported 32-bit OLE32 functions from WINE.
svn path=/trunk/; revision=2219
2001-09-02 09:10:47 +00:00
Rex Jolliff
301b03bb9b LiteStep needs GetUserName aliased
svn path=/trunk/; revision=2218
2001-09-01 19:39:23 +00:00
Rex Jolliff
787bcc5f53 add current directory to default search path so programs can find their own dlls
svn path=/trunk/; revision=2217
2001-09-01 19:36:30 +00:00
Casper Hornstrup
b83d417811 Implemented many console & registry functions to get registry explorer running.
Load services from registry - part 1 (disabled due to bug in registry).

svn path=/trunk/; revision=2216
2001-09-01 15:36:45 +00:00
David Welch
17897f7c03 Use the directory tree created by the install target for Linux
installation
Print an informative message in all instances where CreateSystemRootLink
fails
Corrected tools/helper.mk, use the right dll name when building an import
library but also give the target the same name as the import library.
Corrected bad target directory for install target in apps/test

svn path=/trunk/; revision=2215
2001-09-01 11:55:38 +00:00
Casper Hornstrup
e9276ee142 Reverting last change, because MK_IMPLIB is used to determine if an import library should be generated.
svn path=/trunk/; revision=2214
2001-09-01 10:38:49 +00:00
Emanuele Aliberti
b837fe0841 NTDLL.CsrClientCallServer: more info on the interface.
svn path=/trunk/; revision=2212
2001-08-31 20:06:17 +00:00
David Welch
6ad77c02b3 More Linux compilation fixes
svn path=/trunk/; revision=2211
2001-08-31 19:30:16 +00:00
Eric Kohl
a28f736301 Fixed calling conventions
svn path=/trunk/; revision=2210
2001-08-30 23:51:08 +00:00
David Welch
68ceda5ada More Linux compilation fixes.
svn path=/trunk/; revision=2209
2001-08-30 23:35:06 +00:00
David Welch
7cd6d8936d More fixes for Linux compilation.
svn path=/trunk/; revision=2208
2001-08-30 23:23:16 +00:00
David Welch
bb328ae107 Fixes for compilation on Linux
svn path=/trunk/; revision=2207
2001-08-30 23:01:30 +00:00
David Welch
a5d8a7ac82 Don't remake import libraries unnecessarily, use the same extension for
the target as the file which is actually built.

svn path=/trunk/; revision=2206
2001-08-30 22:20:11 +00:00
David Welch
dffb0e9a7a Changed internal/config.h -> roscfg.h in a number of files.
Use a proper prefix for executing programs in tools/Makefile.

svn path=/trunk/; revision=2205
2001-08-30 20:38:20 +00:00
David Welch
888fe38dca Added some more descriptive comments.
svn path=/trunk/; revision=2204
2001-08-30 19:48:21 +00:00
Rex Jolliff
0c52657980 preliminary implementation of boot hive import. exposes memory problem in registry routines
svn path=/trunk/; revision=2203
2001-08-29 05:06:31 +00:00
Jason Filby
5a73b65484 Remove ugly hack for the current display DC
svn path=/trunk/; revision=2202
2001-08-28 18:16:32 +00:00
Eric Kohl
b3ab3efa96 Fixed callback calling conventions (part 2).
svn path=/trunk/; revision=2201
2001-08-27 01:29:07 +00:00
Eric Kohl
20f65a3fb9 Fixed callback calling conventions (part 1).
svn path=/trunk/; revision=2200
2001-08-26 17:30:21 +00:00
Eric Kohl
a9a6bae87b Added partinfo application.
svn path=/trunk/; revision=2199
2001-08-25 17:03:30 +00:00
Eric Kohl
c276551b2b No longer in use
svn path=/trunk/; revision=2198
2001-08-23 21:44:15 +00:00
Eric Kohl
9934c830e0 Moved buildno into tools directory
svn path=/trunk/; revision=2197
2001-08-23 21:43:32 +00:00
Casper Hornstrup
d094202f91 Boot script for ACPI target
svn path=/trunk/; revision=2196
2001-08-23 17:35:17 +00:00
Casper Hornstrup
a50141ac65 Pass ACPI driver on command line
svn path=/trunk/; revision=2195
2001-08-23 17:34:00 +00:00
Casper Hornstrup
5d518a1695 Fixes for APCI bus driver.
svn path=/trunk/; revision=2194
2001-08-23 17:32:04 +00:00
Casper Hornstrup
c5d8547022 Compile correctly when target is ACPI.
svn path=/trunk/; revision=2193
2001-08-23 16:31:27 +00:00
Casper Hornstrup
aa20d5b1d5 Integrated winhello into new build system
svn path=/trunk/; revision=2192
2001-08-23 16:14:57 +00:00
Eric Kohl
b36ed4b1fc Copy ntoskrnl and boot drivers to new location.
Copy hall.dll too.

svn path=/trunk/; revision=2191
2001-08-23 15:37:10 +00:00
Eric Kohl
1b9adb989a Don't use msvcrt as default runtime library for console apps. Let the linker use its default runtime library.
svn path=/trunk/; revision=2190
2001-08-23 15:34:00 +00:00
Eric Kohl
356f44b7de Forward exports to HAL.DLL after splitting HAL.
svn path=/trunk/; revision=2189
2001-08-23 15:26:57 +00:00
Rex Jolliff
d6107fdbb1 DriverEntry is now called with correct parameters
Minor Fix to new build logic

svn path=/trunk/; revision=2188
2001-08-22 03:53:53 +00:00
Casper Hornstrup
be1ee02554 Global configuration moved to include/roscfg.h
svn path=/trunk/; revision=2187
2001-08-21 21:51:43 +00:00
Casper Hornstrup
36402e5aa4 Module wide .cvsignore for:
*.sys, *.exe, *.dll, *.a, *.o, *.coff

Seperated the HALs from ntoskrnl.exe

Added template HAL

svn path=/trunk/; revision=2186
2001-08-21 20:18:27 +00:00
Casper Hornstrup
3f69ca4cc4 Major update of the build system:
- Created helper makefile for all targets
- Made most makefiles simpler by using the helper makefile
- Moved build tools into ./tools

Updated installation instructions

svn path=/trunk/; revision=2185
2001-08-21 20:13:17 +00:00
Emanuele Aliberti
aaada25107 Preliminary directory tree for the "development kits".
svn path=/trunk/; revision=2184
2001-08-21 18:06:43 +00:00
Jason Filby
ec838a6880 Win32 GUI Hello World
svn path=/trunk/; revision=2183
2001-08-20 19:50:21 +00:00
Emanuele Aliberti
a004822e63 Definition of LPC_DEBUG_MESSAGE added in napi/lpc.h.
svn path=/trunk/; revision=2182
2001-08-16 20:56:05 +00:00
Jason Filby
5b66798cd7 Change versioning infor for 0.0.18
svn path=/trunk/; revision=2181
2001-08-16 19:42:15 +00:00
Eric Kohl
bf4cedbfce Removed useless file.
This one caused too much trouble.

svn path=/trunk/; revision=2180
2001-08-16 15:11:02 +00:00
Eric Kohl
55000d5cf0 Fixed compiler warnings.
svn path=/trunk/; revision=2179
2001-08-16 15:09:35 +00:00
Hartmut Birr
73cbc9cc37 There was the wrong file handle in a call to FindClose().
svn path=/trunk/; revision=2178
2001-08-16 10:07:42 +00:00
Emanuele Aliberti
3869ce90e5 Minor fixes in KERNEL32.TerminateThread() and in
KERNEL32.TerminateProcess().

svn path=/trunk/; revision=2177
2001-08-15 20:35:39 +00:00
Emanuele Aliberti
5a9b7bebbc Minor fix in CSR.GetTitle().
svn path=/trunk/; revision=2176
2001-08-14 22:00:21 +00:00
Hartmut Birr
f293bda38a Restoring 1.1
There was a mistake by commiting share.c.

svn path=/trunk/; revision=2175
2001-08-14 21:14:05 +00:00
Hartmut Birr
7ee896cad1 ReadAccess and DeleteAcces was initialized with wrong values (in IoCheckShareAccess() and IoSetShareAccess()). share.c
svn path=/trunk/; revision=2174
2001-08-14 21:05:10 +00:00
Hartmut Birr
41e8ef1540 Change the attribute from FILE_DIRECTORY_FILE to
FILE_NON_DIRECTORY_FILE in DeleteFileW().

svn path=/trunk/; revision=2173
2001-08-14 20:50:47 +00:00
Hartmut Birr
d0f2100e07 Enabled the call to ObDereferenceObject for some
IRP_MJ_xxx functions in IoSecondStageCompletion().

svn path=/trunk/; revision=2172
2001-08-14 20:49:05 +00:00
Hartmut Birr
cc2e3f0806 Added support for directory/file removing/deleting.
Fixed the overwriting bug between addEntry() and updEntry().
Change FindFile() from serach with a sector and index to search with a single index.

svn path=/trunk/; revision=2171
2001-08-14 20:47:30 +00:00
Emanuele Aliberti
52a23385a1 CSR.GetTitle implemented.
Some cleanup in the csrss.exe code.

svn path=/trunk/; revision=2170
2001-08-14 12:57:16 +00:00
Hartmut Birr
1f36dc8a8a Fixed the return value in Fat12GetNextCluster().
svn path=/trunk/; revision=2169
2001-08-14 08:06:26 +00:00
Eric Kohl
b0c7df1b9a Implemented IOCTL_DISK_GET_DRIVE_LAYOUT.
svn path=/trunk/; revision=2168
2001-08-13 16:43:36 +00:00
Eric Kohl
25f3f80f1e Fixed interpretation of BIOS memory map.
Patch by Hartmut Birr.

svn path=/trunk/; revision=2167
2001-08-13 16:39:01 +00:00
Brian Palmer
9dd23174c8 Fixed nasm calling bug.
svn path=/trunk/; revision=2166
2001-08-10 06:44:31 +00:00
Hartmut Birr
8eeb1a96b8 VfatReadBigCluster()/VfatReadSmallCluster()/
VfatWriteBigCluster()/VfatWriteSmallCluster():
- Fixed a bug, that will read data over the end
  of the given buffer or write wrong data to
  the disk, when there is a read without caching
  and the start is on the cluster boundery and
  the end not.
VfatReadSmallCluster()/VfatWriteSmallCluster():
- A cache segment is set to valid, when all clusters
  in the segment are readed or written.
VfatWriteSmallCluster():
- The Parameter Extend is set to TRUE (overwritten),
  when the data need a new cluster.
VfatReadFile()/VfatWriteFile():
- Added special handling for the root directory on
  fat12/fat16, so that a read or write operation
  does not touche the cluster area.
- Added some error handling.

svn path=/trunk/; revision=2165
2001-08-08 19:04:13 +00:00
Eric Kohl
c0cbc28359 Fixed incorrect calling conventions.
svn path=/trunk/; revision=2164
2001-08-07 15:44:40 +00:00
Hartmut Birr
0af72b1ead Fixed a bug in VfatWriteFile().
For partitions with clusters < 4k,
there was calculated the wrong start cluster.

svn path=/trunk/; revision=2163
2001-08-07 15:38:04 +00:00
Eric Kohl
65d55d8863 Changed stack allocation.
Fixed bugs in NtAllocateVirtualMemory().
Disabled NtProtectVirtualMemory().

svn path=/trunk/; revision=2162
2001-08-07 14:13:45 +00:00
Eric Kohl
2e249e1b26 Changed stack allocation.
Fixed bugs in NtAllocateVirtualMemory().
Disabled NtProtectVirtualMemory().

svn path=/trunk/; revision=2161
2001-08-07 14:01:42 +00:00
Eric Kohl
cc7a62391e Fixed nasm calling bug.
svn path=/trunk/; revision=2160
2001-08-07 07:15:24 +00:00
Brian Palmer
d32f7b5e5b Added support for debug prints over a RS232 line.
svn path=/trunk/; revision=2159
2001-08-07 06:19:43 +00:00
Brian Palmer
1b761836a3 Simple Win32 boot sector installer. Will not work under Win9x.
svn path=/trunk/; revision=2158
2001-08-07 05:37:13 +00:00
Hartmut Birr
e163d9c89c Fixed a bug in FindCloseFile().
The return value was allways FALSE.
Cmd's 'dir /s' will now work.

svn path=/trunk/; revision=2157
2001-08-06 18:37:23 +00:00
Hartmut Birr
6167160a26 Fixed a bug in SetFilePointer(),
when the starting point is the end of the file.
test-fseek will now work.

svn path=/trunk/; revision=2156
2001-08-06 18:35:15 +00:00
Eric Kohl
6d07d7107b Fixed stupid typo.
svn path=/trunk/; revision=2155
2001-08-05 21:48:25 +00:00
Hartmut Birr
8fa2bb273a Removed changes 1.26/1.27
svn path=/trunk/; revision=2154
2001-08-05 16:35:52 +00:00
Hartmut Birr
ae35912b3a Disabled debug message in VfatReadFile()/VfatWriteFile().
svn path=/trunk/; revision=2153
2001-08-04 11:10:36 +00:00
Hartmut Birr
34b4c8f40b Added updating of FileObject->CurrentByteOffset in VfatRead()/VfatWrite.
svn path=/trunk/; revision=2152
2001-08-04 11:02:47 +00:00
Hartmut Birr
b4a4e5c0be Fixed a bug in CopyFileExW().
The write count is set to the previous returned read length.

svn path=/trunk/; revision=2151
2001-08-04 10:40:38 +00:00
Emanuele Aliberti
4073da2472 Minor fix.
svn path=/trunk/; revision=2149
2001-08-03 21:49:14 +00:00
Eric Kohl
4b420ec7f6 Fixed stack allocation for initial process (smss.exe).
svn path=/trunk/; revision=2148
2001-08-03 19:52:12 +00:00
Hartmut Birr
27346f997d Fixed a bug in addEntry().
The short names are generated and validated correctly.

svn path=/trunk/; revision=2147
2001-08-03 19:01:17 +00:00
Hartmut Birr
de97756973 Added support for file/directory finding by short names.
svn path=/trunk/; revision=2146
2001-08-03 19:00:41 +00:00
Emanuele Aliberti
6fc5560247 I implemented KERNEL32.RaiseException().
svn path=/trunk/; revision=2145
2001-08-03 17:39:09 +00:00
Eric Kohl
e183b6028f Rewrote stack allocation.
svn path=/trunk/; revision=2144
2001-08-03 17:21:38 +00:00
Eugene Ingerman
e2e13b71ce Lock address space before calling MmCreateMemoryArea.
svn path=/trunk/; revision=2143
2001-08-03 09:36:19 +00:00
Phillip Susi
3208a93c26 Some more simple etags make rules
svn path=/trunk/; revision=2142
2001-08-02 20:25:17 +00:00
Phillip Susi
10b469cbd4 Added missing ascii/unicode defines for GetDiskFreeSpaceEx
svn path=/trunk/; revision=2141
2001-08-02 20:24:13 +00:00
Phillip Susi
933eb642dd Added rule to make etags files... cheap hack right now, should be cleaned up later
svn path=/trunk/; revision=2140
2001-08-02 20:22:24 +00:00
Phillip Susi
1c6b3f753a Added SetWindowOrgEx and SetViewportOrgEx
svn path=/trunk/; revision=2139
2001-08-02 20:20:17 +00:00
Phillip Susi
a33633bdad Changed debug print of WSTR from %wZ to %S, was causing crash
svn path=/trunk/; revision=2138
2001-08-02 15:55:15 +00:00
Hartmut Birr
a252566666 Fixed a minor bug in __getmainargs()/__GetMainArgs().
The parser for argc/argv inserts '\0'-characters in the buffer (CommandLineA).
The next call to GetCommandLineA() returns only the first parameter (program name).

svn path=/trunk/; revision=2137
2001-08-02 12:39:35 +00:00
Eric Kohl
7e4a551cd5 Added .cvsignore
svn path=/trunk/; revision=2135
2001-08-02 08:09:11 +00:00
Hartmut Birr
5e85eb7d8e Fixed a minor bug in _filbuf().
When there was returned a character from stream,
the counter wasn't decremented.

svn path=/trunk/; revision=2134
2001-08-02 07:26:30 +00:00
Hartmut Birr
f1a3075ad7 Fixed a bug in FindFirstFileW() and FindNextFileW().
The lengs of the copied strings was wrong.

svn path=/trunk/; revision=2133
2001-08-01 19:26:41 +00:00
Emanuele Aliberti
a798ec1a86 I added a rule for .cpp source files.
svn path=/trunk/; revision=2132
2001-08-01 17:40:02 +00:00
Hartmut Birr
130bddfe9f Fixed a bug in vfatGetNextDirEntry().
A valid file name was generated from a deleted LFN entry.
An overrun occurred, when a directory has more then 19 deleted LFN entries.

svn path=/trunk/; revision=2131
2001-08-01 15:59:24 +00:00
Eric Kohl
cad3eb8c42 Added CMOS configuration space handler.
svn path=/trunk/; revision=2130
2001-08-01 10:39:50 +00:00
Hartmut Birr
4032632974 Fixed a minor bug in vfat8Dot3ToString,
that expands a short name from 'test.x' to 'test.x  '.

svn path=/trunk/; revision=2129
2001-08-01 10:12:33 +00:00
Emanuele Aliberti
7034b49d22 \t processing in SCREEN_BUFFER bugged.
Partial fix.

svn path=/trunk/; revision=2128
2001-07-31 20:47:44 +00:00
Emanuele Aliberti
d87b450266 Removed the bugged conio.c:ComputeOffsetBuffer()
(Phillip noted it). Restored the inline offset
computation in conio.c:CsrpWriteConsole().
Added \t and \r processing in conio.c:CsrpWriteConsole()
which leads to formatted SCREEN_BUFFERS to
be restored when you switch console.
Please test it.

svn path=/trunk/; revision=2127
2001-07-31 20:28:43 +00:00
Emanuele Aliberti
a44f8b0d7a Little CsrpWriteConsole() cleanup.
(WIP) Restoring a non active screen buffer is bugged:
control characters are NOT processed.

svn path=/trunk/; revision=2126
2001-07-30 11:56:54 +00:00
Emanuele Aliberti
e439100646 Minor changes.
svn path=/trunk/; revision=2125
2001-07-30 11:50:44 +00:00
Emanuele Aliberti
aaa8d41666 \r processing.
svn path=/trunk/; revision=2124
2001-07-30 11:49:38 +00:00
Rex Jolliff
fe1d0d581a some changes to support loading actual drivers
svn path=/trunk/; revision=2123
2001-07-30 03:05:30 +00:00
Rex Jolliff
5d5aba0812 added rdel to all rule
svn path=/trunk/; revision=2122
2001-07-30 01:02:51 +00:00
Eric Kohl
f478c3bb18 Major npfs update, missing typedefs.
svn path=/trunk/; revision=2121
2001-07-29 23:52:49 +00:00
Eric Kohl
8d40c0f964 Fixed more %Z / %wZ bugs.
svn path=/trunk/; revision=2120
2001-07-29 16:47:11 +00:00
Eric Kohl
a305fad232 Fixed msvcrt startup bug.
svn path=/trunk/; revision=2119
2001-07-29 16:42:35 +00:00
Eric Kohl
a600af1a27 Major npfs update.
svn path=/trunk/; revision=2118
2001-07-29 16:41:25 +00:00
Eric Kohl
ab405511d9 Fixed buggy 'install' rule.
svn path=/trunk/; revision=2117
2001-07-29 16:39:12 +00:00
Hartmut Birr
4ae9a4b859 Fixed a bug in _vsnprintf() with formats %wZ and %Z.
svn path=/trunk/; revision=2116
2001-07-29 12:42:40 +00:00
Phillip Susi
0d7487a18c Removed non existant header file include so it will compile
svn path=/trunk/; revision=2115
2001-07-28 15:24:04 +00:00
Emanuele Aliberti
ab529dfd67 Fixed makefile (missing specs).
svn path=/trunk/; revision=2114
2001-07-28 14:46:27 +00:00
Hartmut Birr
818f6c4bfc Fixed a bug FsdGetFsVolumeInformation().
The returned length was wrong.

svn path=/trunk/; revision=2113
2001-07-28 10:12:36 +00:00
Emanuele Aliberti
920ae420ee Make gditest draw a background.
Mostly PR to show we can do graphics...

svn path=/trunk/; revision=2112
2001-07-28 10:05:36 +00:00
Emanuele Aliberti
2f5809598e cmd, more, tee, y, notevil, sysutils linked to msvcrt.dll.
svn path=/trunk/; revision=2111
2001-07-28 08:02:05 +00:00
Emanuele Aliberti
3de844a224 *** empty log message ***
svn path=/trunk/; revision=2110
2001-07-28 07:57:24 +00:00
Hartmut Birr
28f723e21e Fixed the 'REACTOS' volume label bug.
svn path=/trunk/; revision=2109
2001-07-28 07:05:56 +00:00
Eric Kohl
85a1907ad6 Disabled a function-call that crashes all msvcrt-based apps.
Further investigation will be done.

svn path=/trunk/; revision=2108
2001-07-27 23:54:05 +00:00
Eric Kohl
d50f7d2496 Fixed a warning.
svn path=/trunk/; revision=2107
2001-07-27 10:15:48 +00:00
Eric Kohl
5cd5457f10 Removed specs files.
svn path=/trunk/; revision=2106
2001-07-26 16:52:53 +00:00
Eric Kohl
db88524e4f Fixed broken rule.
svn path=/trunk/; revision=2105
2001-07-26 12:36:33 +00:00
Eric Kohl
c98b85ff40 Updated .cvsignore and makefile.
svn path=/trunk/; revision=2104
2001-07-26 11:44:04 +00:00
Eric Kohl
c0333e56cd Vidport did not have an export table because of broken rule.
svn path=/trunk/; revision=2103
2001-07-26 11:40:59 +00:00
Hartmut Birr
2da14243ee Fixed bug in vfatMakeRootFCB().
svn path=/trunk/; revision=2102
2001-07-25 17:39:34 +00:00
Eric Kohl
6bad760721 Fixed bug in ReadVolumeLabel().
svn path=/trunk/; revision=2101
2001-07-25 08:58:21 +00:00
Eric Kohl
5844ee0a81 Updated driver list.
svn path=/trunk/; revision=2100
2001-07-25 08:31:22 +00:00
Eric Kohl
cf6085206f Remove unusable 'driver'.
svn path=/trunk/; revision=2099
2001-07-25 08:30:01 +00:00
Eric Kohl
8d6a03b3eb Added missing .cvsignore files.
Updated makefiles.

svn path=/trunk/; revision=2098
2001-07-25 08:29:15 +00:00
Eric Kohl
74893f61fb Minor update
svn path=/trunk/; revision=2097
2001-07-25 08:26:06 +00:00
Eric Kohl
b8cfaa435e Added missing .cvsignore files.
Updated makefiles.

svn path=/trunk/; revision=2096
2001-07-25 06:21:38 +00:00
Eric Kohl
7b23bdc4ac Documentation update.
Added preliminary road-map.

svn path=/trunk/; revision=2095
2001-07-24 20:49:57 +00:00
Eric Kohl
6c6bb5f62e More cleanups
svn path=/trunk/; revision=2094
2001-07-24 18:39:02 +00:00
Eric Kohl
72a83f69ee Updated makefile
svn path=/trunk/; revision=2093
2001-07-24 16:32:16 +00:00
Eric Kohl
1a42d9ea1c Minor updates.
svn path=/trunk/; revision=2092
2001-07-24 10:22:18 +00:00
Eric Kohl
e604d7b0fe Added disk class driver skeleton.
svn path=/trunk/; revision=2091
2001-07-24 10:21:15 +00:00
Eric Kohl
c0eef82d19 Moved lsass out of the way.
svn path=/trunk/; revision=2090
2001-07-24 10:18:39 +00:00
Eric Kohl
2f246b69d1 Added typedef for PCCHAR.
svn path=/trunk/; revision=2089
2001-07-23 12:54:35 +00:00
Eric Kohl
066d5b9dda Added storage drivers to the build process.
svn path=/trunk/; revision=2088
2001-07-23 06:15:27 +00:00
Eric Kohl
3df0bbbfce Added scsi class driver skeleton.
svn path=/trunk/; revision=2087
2001-07-23 06:13:48 +00:00
Emanuele Aliberti
9859f23c21 Skeleton for KERNEL32.GlobalMemoryStatus
svn path=/trunk/; revision=2086
2001-07-22 19:55:21 +00:00
Emanuele Aliberti
062243bc91 Minor path parametrization.
svn path=/trunk/; revision=2085
2001-07-21 20:16:09 +00:00
Eric Kohl
6429b16f0a Fixed dll build order
svn path=/trunk/; revision=2084
2001-07-21 20:08:42 +00:00
Emanuele Aliberti
97aa97fdd0 Minor fix.
svn path=/trunk/; revision=2083
2001-07-21 15:45:20 +00:00
Emanuele Aliberti
5e6df71477 Added version resource script.
svn path=/trunk/; revision=2082
2001-07-21 15:40:04 +00:00
Emanuele Aliberti
5cb7155212 Added version resource script.
svn path=/trunk/; revision=2081
2001-07-21 15:34:08 +00:00
Emanuele Aliberti
4ed1b71717 Ops! Target of a forwarded exported symbol should be as
decorated as the target itself.

svn path=/trunk/; revision=2080
2001-07-21 08:43:59 +00:00
Emanuele Aliberti
b4a32f4a4c Added forwarded exports to KERNEL32.
svn path=/trunk/; revision=2079
2001-07-21 08:41:12 +00:00
Emanuele Aliberti
ee0e06c2c1 Added version resource script.
svn path=/trunk/; revision=2078
2001-07-21 08:37:06 +00:00
Eric Kohl
b8ec1f6a56 Added scsiport driver skeleton.
svn path=/trunk/; revision=2077
2001-07-21 07:30:26 +00:00
Eric Kohl
75d57b4fa1 Enabled caching for FAT32 partitions.
Enabled FAT32 write code.
Various smaller fixes.
Patch by Hartmut Birr (part 2).

svn path=/trunk/; revision=2076
2001-07-20 08:00:21 +00:00
Eric Kohl
7192939c7d Restored _wmakepath(). Grrr. :-/
svn path=/trunk/; revision=2075
2001-07-19 18:53:29 +00:00
Eric Kohl
d24d5849fe Fixed bug in SetFileTime().
Patch by Hartmut Birr.

svn path=/trunk/; revision=2074
2001-07-19 18:42:02 +00:00
Eric Kohl
20a0131534 Fixed bug in _makepath().
Patch by Hartmut Birr.

svn path=/trunk/; revision=2073
2001-07-19 18:41:09 +00:00
Eric Kohl
e6063f185b Various fixes by Hartmut Birr.
svn path=/trunk/; revision=2072
2001-07-18 12:04:52 +00:00
Eric Kohl
1481663f41 Added mbstring functions.
svn path=/trunk/; revision=2071
2001-07-18 10:44:18 +00:00
Eric Kohl
c65dea5060 Added process and mbstring functions.
svn path=/trunk/; revision=2070
2001-07-18 09:23:02 +00:00
Eric Kohl
3edae5c9c1 Added process functions.
svn path=/trunk/; revision=2069
2001-07-18 09:22:04 +00:00
Eric Kohl
5cb6979b1a Added mbstring functions.
svn path=/trunk/; revision=2068
2001-07-18 09:20:23 +00:00
Eric Kohl
ccf31892a1 Fixed a tiny bug.
svn path=/trunk/; revision=2067
2001-07-18 09:18:10 +00:00
Eric Kohl
f488ede562 Fixed crash while mounting a FAT32 partition.
svn path=/trunk/; revision=2066
2001-07-17 07:48:06 +00:00
Rex Jolliff
5c2ae92c47 Added a stubbed oleaut32.dll and a little work on ole32.dll
svn path=/trunk/; revision=2065
2001-07-16 01:45:44 +00:00
Rex Jolliff
1f7f2ec88f move work on clean rule
svn path=/trunk/; revision=2064
2001-07-15 21:19:02 +00:00
Rex Jolliff
5ce255ed4c some work on clean rule
svn path=/trunk/; revision=2063
2001-07-15 18:06:23 +00:00
Eric Kohl
ac38bc6706 Named pipes and mail slots need a valid file object.
svn path=/trunk/; revision=2062
2001-07-15 15:36:31 +00:00
Eric Kohl
8e8502cc51 Create symbolic links for dos devices.
svn path=/trunk/; revision=2061
2001-07-15 13:46:16 +00:00
Casper Hornstrup
20da260a3c Temporary fix to prevent a crash when running in VMware (and possibly bochs too)
svn path=/trunk/; revision=2060
2001-07-14 21:10:31 +00:00
Eric Kohl
5b04ae25a4 Fixed a string overrun.
Patch by Hartmut Birr.

svn path=/trunk/; revision=2059
2001-07-14 18:21:23 +00:00
Nedko Arnaudov
372a3cc161 "Because of changes in winnt.h, some of security definitions must be used from there."
svn path=/trunk/; revision=2058
2001-07-14 07:01:38 +00:00
Eric Kohl
889f9e3c01 Added support for FAT16 partition with clustersize greater than page size.
Patch by Hartmut Birr.

svn path=/trunk/; revision=2057
2001-07-13 10:31:14 +00:00
Eric Kohl
6d64efee46 Moved interlocked and locale functions.
Implemented basic locale support.
Added some missing interlocked functions.

svn path=/trunk/; revision=2056
2001-07-12 17:23:42 +00:00
Eric Kohl
b03d2d1155 Added more functions to msvcrt.
svn path=/trunk/; revision=2055
2001-07-12 16:31:03 +00:00
Eric Kohl
562836fa81 Fixed a warning.
svn path=/trunk/; revision=2054
2001-07-12 11:59:51 +00:00
Eric Kohl
e9f2e019b1 Fixed warnings and errors.
svn path=/trunk/; revision=2053
2001-07-12 11:58:57 +00:00
Eric Kohl
577c72f5b0 Fixed compiling bug for gcc-2.95.3.
svn path=/trunk/; revision=2052
2001-07-11 20:26:58 +00:00
Casper Hornstrup
6f0b5babc4 Use fastcall in NDIS header.
svn path=/trunk/; revision=2050
2001-07-06 23:05:11 +00:00
Brian Palmer
17dc9b5270 Full memory management support (memory.c & memory.h & mem.S)
Preliminary debug code (debug.c & debug.h)
Reworked .ini file code (parseini.c & parseini.h)
Size optimizations (fat.asm & fat32.asm)
FAT12/16 boot sector now fully understands the FAT (fat.asm)

svn path=/trunk/; revision=2049
2001-07-06 22:05:05 +00:00
Eric Kohl
e575ed9544 Enabled FASTCALL calling convention
svn path=/trunk/; revision=2048
2001-07-06 21:32:43 +00:00
Eric Kohl
af1605f6f6 Added _wasctime() and _wctime().
svn path=/trunk/; revision=2047
2001-07-06 21:17:36 +00:00
Eric Kohl
4eca28a7a6 Fixed a windres warning
svn path=/trunk/; revision=2046
2001-07-06 21:15:20 +00:00
Eric Kohl
aa234d8870 Added missing _wmktemp().
svn path=/trunk/; revision=2045
2001-07-06 14:33:19 +00:00
Eric Kohl
10cde64c1f Added more missing functions
svn path=/trunk/; revision=2044
2001-07-06 12:53:03 +00:00
Rex Jolliff
131f7804ab some corrections to the stubs
svn path=/trunk/; revision=2043
2001-07-06 04:01:27 +00:00
Rex Jolliff
d152260ffa Added a stubbed shell32.dll
svn path=/trunk/; revision=2042
2001-07-06 02:47:17 +00:00
Eric Kohl
e5e74911b3 Added missing math and stdio functions
svn path=/trunk/; revision=2041
2001-07-06 00:58:15 +00:00
Eric Kohl
3bba37d64a Added missing math functions
svn path=/trunk/; revision=2040
2001-07-06 00:54:39 +00:00
Rex Jolliff
0e53a7424f added object handling routines for user objects in win32k.sys
svn path=/trunk/; revision=2039
2001-07-06 00:05:05 +00:00
Rex Jolliff
208eecc0f4 Partial directory caching (create calls cached, but dir info calls
still use non cached routines).

svn path=/trunk/; revision=2038
2001-07-05 01:51:53 +00:00
Casper Hornstrup
52ead14335 Fixed ne2000 driver so it will link correctly.
svn path=/trunk/; revision=2037
2001-07-04 21:24:02 +00:00
Casper Hornstrup
3a9de284ad Updated clean rules.
Implemented sequenced lists and lookaside lists.
Started on TCP/IP connection endpoints.
Save process window station in EPROCESS instead of PEB.
NOTICE: please do a make win32k_clean or you might experience a crash

svn path=/trunk/; revision=2036
2001-07-04 20:40:24 +00:00
Rex Jolliff
df84ec15d8 Fix for error in reading next extended partition when partition contains slack
or more than one non container partition.

svn path=/trunk/; revision=2035
2001-07-04 16:42:37 +00:00
Eric Kohl
eed177f191 Added conio functions
svn path=/trunk/; revision=2034
2001-07-04 16:39:37 +00:00
Rex Jolliff
d46de4a28a added some test cases to fsd tests
svn path=/trunk/; revision=2033
2001-07-04 03:07:54 +00:00
Eric Kohl
bd74b6b30a Added missing io functions from crtdll and implemented wide and 64 bit functions.
svn path=/trunk/; revision=2032
2001-07-03 22:18:42 +00:00
Eric Kohl
357a89921a Untangled crtdll/msvcrt header mess.
svn path=/trunk/; revision=2031
2001-07-03 13:21:22 +00:00
Eric Kohl
a6f8fd2f79 Oooops! This should not have heppened
svn path=/trunk/; revision=2030
2001-07-03 13:14:18 +00:00
Eric Kohl
83e63dc11b Untangled crtdll/msvcrt header mess.
svn path=/trunk/; revision=2029
2001-07-03 13:07:12 +00:00
Eric Kohl
0bbf23c333 Untangled crtdll/msvcrt header mess.
svn path=/trunk/; revision=2028
2001-07-03 12:56:48 +00:00
Eric Kohl
49ad46d964 Added some float and stdlib functions
svn path=/trunk/; revision=2027
2001-07-02 21:52:25 +00:00
Phillip Susi
8dacbd3ab0 Fixed LdrShutdownProcess() to only detach static dlls, any dynamically loaded ones should be FreeLibrary()d from the static dlls and then they will be detached
svn path=/trunk/; revision=2026
2001-07-02 20:27:41 +00:00
Eric Kohl
8cd4cde19c Added some code to map more predefined keys (like HKCU).
Implemented some ansi functions

svn path=/trunk/; revision=2025
2001-07-01 17:54:07 +00:00
Jason Filby
a9be5303eb Fixed warnings
svn path=/trunk/; revision=2024
2001-07-01 14:34:45 +00:00
Jason Filby
e9ff4263ca Wide characters to conform to LOGFONTW definition
svn path=/trunk/; revision=2023
2001-07-01 14:32:47 +00:00
Jason Filby
b7239a157c Defined LOGFONTW and now use it in DEVINFO
svn path=/trunk/; revision=2022
2001-07-01 14:31:46 +00:00
Jason Filby
93bd949df5 Bug fix
svn path=/trunk/; revision=2021
2001-06-30 17:43:05 +00:00
Emanuele Aliberti
b1cc45efd9 Fixed includes to compile.
svn path=/trunk/; revision=2020
2001-06-29 21:08:50 +00:00
Eric Kohl
965c424c85 Prepared loading of .nls files
svn path=/trunk/; revision=2019
2001-06-29 20:43:55 +00:00
Eric Kohl
b6da4ac7a1 Prepared loading of .nls files
svn path=/trunk/; revision=2018
2001-06-29 20:31:03 +00:00
Eric Kohl
29b5ab4122 Started moving common gdi32/w32k types into common header file.
svn path=/trunk/; revision=2017
2001-06-29 19:34:35 +00:00
Eric Kohl
8a477f58d7 Read partition tables only once while assigning drive letters.
svn path=/trunk/; revision=2016
2001-06-29 11:09:48 +00:00
Rex Jolliff
c967887093 oops, left in some debugging statements
svn path=/trunk/; revision=2015
2001-06-28 02:56:27 +00:00
Rex Jolliff
5eb89e0c5a fixed problem with extended partitions that contain only Linux logical partitions
svn path=/trunk/; revision=2014
2001-06-28 02:42:27 +00:00
Eric Kohl
b8e0d46292 Fixed typos and warnings.
svn path=/trunk/; revision=2013
2001-06-26 12:54:58 +00:00
Eric Kohl
edd3aa06a7 Fixed a lot of warnings.
svn path=/trunk/; revision=2012
2001-06-25 23:48:20 +00:00
Eric Kohl
25138c970a Oooops. Still something missing!
svn path=/trunk/; revision=2011
2001-06-25 18:57:41 +00:00
Eric Kohl
3454082412 Fixed a lot of warnings.
svn path=/trunk/; revision=2010
2001-06-25 18:51:31 +00:00
Eric Kohl
d450a93214 Fixed a lot of warnings.
svn path=/trunk/; revision=2009
2001-06-25 14:22:45 +00:00
Eric Kohl
6e9bf90969 Fixed a lot of warnings.
svn path=/trunk/; revision=2008
2001-06-25 12:32:56 +00:00
Eric Kohl
b9689b04fa Fixed a lot of warnings.
svn path=/trunk/; revision=2007
2001-06-25 09:30:45 +00:00
Phillip Susi
4a45379380 Added missing extern "C"
svn path=/trunk/; revision=2006
2001-06-24 17:58:13 +00:00
Phillip Susi
b5686dbcd2 Treat STATUS_PORT_DISCONNECTED as full error, now that LPC ports correctly deliver the LPC_PORT_CLOSED message.
svn path=/trunk/; revision=2005
2001-06-23 19:20:01 +00:00
Phillip Susi
db9f10747e Handles should be closed in the context of the dead process, not the system process.
For now, I just used KeAttachProcess() to do this, but this should be moved so it is called by the last thread of the process before it dies.

svn path=/trunk/; revision=2004
2001-06-23 19:15:14 +00:00
Phillip Susi
71f7e0cad5 Fixed LPC port implementation to use an internal semaphore, rather than an
event.  When using the event, if multiple messages were queued to the port
at once, the client would only get the first one, and then block rather than
read the next message.

I think that the port object should have a DISPATCHER_HEADER to make it a
full blown dispatcher object, allowing clients to wait on the port object.

svn path=/trunk/; revision=2003
2001-06-23 19:13:33 +00:00
Eric Kohl
1dfc10a465 Added protection against inclusion of conflicting prototypes.
svn path=/trunk/; revision=2002
2001-06-22 12:40:45 +00:00
Eric Kohl
a4356344c9 Minor fixes.
svn path=/trunk/; revision=2001
2001-06-22 12:36:23 +00:00
Eric Kohl
0514d0e92b Added symbol __NTDRIVER__ to identify drivers.
svn path=/trunk/; revision=2000
2001-06-22 12:30:02 +00:00
Eric Kohl
a25e9783d7 Replaced call to KeBugCheck().
svn path=/trunk/; revision=1999
2001-06-22 12:19:45 +00:00
Eric Kohl
770c504a74 Fixed 'clean' rule.
svn path=/trunk/; revision=1998
2001-06-22 12:17:24 +00:00
Phillip Susi
3e22e847c2 Implemented support for console titles
Display console title while swapping consoles with alt-tab
Use alt-tab now instead of alt-q

svn path=/trunk/; revision=1997
2001-06-22 02:11:44 +00:00
Phillip Susi
4eb1d89866 Set console title to "Winlogon"
svn path=/trunk/; revision=1996
2001-06-22 02:10:11 +00:00
Eric Kohl
932eaef816 Added missing directories to 'clean' rule.
svn path=/trunk/; revision=1995
2001-06-21 17:25:35 +00:00
Eric Kohl
294fa73123 Added missing io status blocks.
Fixed some warnings.

svn path=/trunk/; revision=1994
2001-06-21 13:14:41 +00:00
Rex Jolliff
9a56bea334 command line parse changed to not stop after first instance of each argument found
svn path=/trunk/; revision=1993
2001-06-21 04:12:19 +00:00
Brian Palmer
5efafbf03e Win2k FAT32 Boot Sector Disassembly
svn path=/trunk/; revision=1992
2001-06-20 20:31:35 +00:00
Eric Kohl
c280651aa2 Some more fixes for 'fastcall' support.
svn path=/trunk/; revision=1991
2001-06-20 20:00:36 +00:00
Eric Kohl
93eeaf2b3e First fixes to support fastcall:
- moved FILETIME
- removed inclusion of <windows.h> from ntoskrnl
- fixed typos

svn path=/trunk/; revision=1990
2001-06-20 13:00:53 +00:00
Eric Kohl
c79b121347 Implemented some more registry functions.
svn path=/trunk/; revision=1989
2001-06-19 15:09:16 +00:00
Eric Kohl
76f1b8fa3c Implemented RtlOpenCurrentUser().
svn path=/trunk/; revision=1988
2001-06-18 18:37:12 +00:00
Phillip Susi
439bc219e0 Enhanced floppy driver to read up to an entire track at a time
Not sure if I did this correctly, but it seems to work:

By accident, I noticed that it seems to return more than the sector you requested if you program the DMAC to transfer more than one sector of bytes, so I decided to go with it.

Minor fixes.

svn path=/trunk/; revision=1987
2001-06-18 03:14:24 +00:00
Phillip Susi
d28ae7e82f Check in of new ram disk driver, loads floppy image into ram on boot
svn path=/trunk/; revision=1986
2001-06-18 03:10:00 +00:00
Phillip Susi
a504708d4e Fixed console mode behavior with processed input but not line buffered mode
svn path=/trunk/; revision=1985
2001-06-18 03:07:37 +00:00
Phillip Susi
16588f8362 Put LoadString code back that was removed by someone...
svn path=/trunk/; revision=1984
2001-06-18 03:05:54 +00:00
Phillip Susi
a49c07b8f2 Fixed CreateProcess() to use the command line parameter like NT does
This still needs quite a bit more work to fix bugs and be 100% compatible with NT

svn path=/trunk/; revision=1983
2001-06-18 03:02:43 +00:00
Phillip Susi
045f617089 Corrected CreateProcess() command line parameter to be more compatible with NT
Fixed minor bugs with console mode being set incorrectly

svn path=/trunk/; revision=1982
2001-06-18 02:55:47 +00:00
Phillip Susi
35b12b3d8c Added .cvsignore to ignore cmd.coff
svn path=/trunk/; revision=1981
2001-06-17 23:10:07 +00:00
Eric Kohl
c4b00c80d8 Implemented some registry functions.
svn path=/trunk/; revision=1980
2001-06-17 22:54:36 +00:00
Emanuele Aliberti
ab5917c0c7 Fixed a typo.
svn path=/trunk/; revision=1979
2001-06-17 20:36:35 +00:00
Eric Kohl
fdbabc8ad9 Implemented AllocateLocallyUniqueId().
svn path=/trunk/; revision=1978
2001-06-17 20:20:21 +00:00
Emanuele Aliberti
1731f27560 NTDLL/csr: some more stubs; code split;
NTDLL/rtl: some more stubs; RtlRaiseStatus() implemented;
Minor changes.

svn path=/trunk/; revision=1977
2001-06-17 20:05:10 +00:00
Eric Kohl
c4bb1e256b Some csr additions
svn path=/trunk/; revision=1976
2001-06-17 09:25:03 +00:00
Eric Kohl
5a58cc8836 Changed ObCreateObject() to a more nt-compatible format.
Now it returns a status value.

svn path=/trunk/; revision=1975
2001-06-16 14:11:31 +00:00
Eric Kohl
ae8ba926ce Added unstripped driver to .cvsignore.
svn path=/trunk/; revision=1974
2001-06-16 09:54:43 +00:00
Eric Kohl
9d72cf785d Added some error checks.
svn path=/trunk/; revision=1973
2001-06-16 09:49:45 +00:00
Eric Kohl
9d04225d93 Fixed linker error.
svn path=/trunk/; revision=1972
2001-06-15 18:32:25 +00:00
Casper Hornstrup
a3ba68ae58 More work on winsock stack (ping is now working)
svn path=/trunk/; revision=1971
2001-06-15 17:48:43 +00:00
Eric Kohl
ae87e6af46 Fixes for gcc-2.95.3-4
Fixed typos

svn path=/trunk/; revision=1970
2001-06-15 11:15:32 +00:00
Jason Filby
2f3eb30871 From Eugene Ingerman:
Create default registry files is they don't exist
Modularized registry.c into more files, more manageable
Bug fix in IoCreateFile that didn't return IoStatusBlock
'dir' now works in Bochs - corrected parsing in VfatOpenFile

svn path=/trunk/; revision=1969
2001-06-14 21:05:08 +00:00
Eric Kohl
e180745ffa Added some error checks.
svn path=/trunk/; revision=1968
2001-06-14 10:02:59 +00:00
Eric Kohl
d8f25b3cb8 Implemented access to PCI configuration space
svn path=/trunk/; revision=1967
2001-06-13 22:17:01 +00:00
Eric Kohl
dbb696c65d Mostly STDCALL fixes.
svn path=/trunk/; revision=1966
2001-06-13 10:59:50 +00:00
Casper Hornstrup
8eba21d917 Window stations and desktops
svn path=/trunk/; revision=1965
2001-06-12 17:51:51 +00:00
Casper Hornstrup
db931ec021 Removed old wine code
svn path=/trunk/; revision=1964
2001-06-12 17:44:50 +00:00
Casper Hornstrup
bc8b4c3210 Removed old wine code
svn path=/trunk/; revision=1963
2001-06-12 17:35:46 +00:00
Casper Hornstrup
b0f6cfbe69 Removed old wine code
svn path=/trunk/; revision=1962
2001-06-12 17:30:27 +00:00
Brian Palmer
4750bc0160 Implemented memory detection & BIOS memory map
Added memory management prototypes

svn path=/trunk/; revision=1961
2001-06-12 16:12:50 +00:00
Eric Kohl
35850562c1 Added missing STDCALLs.
svn path=/trunk/; revision=1960
2001-06-12 12:36:58 +00:00
Eric Kohl
e8c61143ed Fixed some NT compatibility issues in Nt[Query/Set]InformationFile().
Fixed buffer size issues in volume functions.
Fixed several minor bugs.

svn path=/trunk/; revision=1959
2001-06-12 12:35:42 +00:00
Emanuele Aliberti
d1c18ff4e4 *** empty log message ***
svn path=/trunk/; revision=1958
2001-06-11 20:36:44 +00:00
Eric Kohl
4c892bc4e7 Implemented SetVolumeLabelW().
svn path=/trunk/; revision=1957
2001-06-11 19:54:05 +00:00
Eric Kohl
bf1b360a1e Fixed some NT compatibility issues in Nt[Query/Set]VolumeInformationFile().
svn path=/trunk/; revision=1956
2001-06-11 19:52:22 +00:00
Eric Kohl
80f8038f24 Fixed MaxRootEntries. This caused disk corruption.
svn path=/trunk/; revision=1955
2001-06-09 15:51:23 +00:00
Brian Palmer
dc36f333cf Forgot to add a semi-colon at end of statement
svn path=/trunk/; revision=1954
2001-06-08 23:20:14 +00:00
Brian Palmer
1d9101d6ea Separated multiboot kernel loader and reactos kernel loader so that support for other operating systems can be added
svn path=/trunk/; revision=1953
2001-06-08 23:12:40 +00:00
Eric Kohl
4c1911c2ca Use ARC-Path to boot ReactOS
svn path=/trunk/; revision=1952
2001-06-08 17:46:52 +00:00
Eric Kohl
18b431ed17 Added stubs for missing partition functions
svn path=/trunk/; revision=1951
2001-06-08 15:11:04 +00:00
Eric Kohl
624e3335e1 Implemented the most simple functions.
svn path=/trunk/; revision=1950
2001-06-07 21:27:45 +00:00
Eric Kohl
a68d65df79 Fixes to build win32k.sys again.
svn path=/trunk/; revision=1949
2001-06-07 21:22:32 +00:00
Eric Kohl
77fa055814 Replaced IDEGetPartitionTable() by call to IoReadPartitionTable()
Several minor fixes

svn path=/trunk/; revision=1948
2001-06-07 21:18:01 +00:00
Emanuele Aliberti
6d96f0e0cc Fixed includes to compile.
svn path=/trunk/; revision=1947
2001-06-07 20:38:53 +00:00
Jason Filby
51c0ed06fe Updated definition
svn path=/trunk/; revision=1946
2001-06-06 14:25:13 +00:00
Brian Palmer
4531d3752a Multiboot Kernel Compliance
svn path=/trunk/; revision=1945
2001-06-05 21:45:51 +00:00
Jason Filby
49e30c043c Bug fixes
svn path=/trunk/; revision=1944
2001-06-04 14:54:40 +00:00
Casper Hornstrup
f105303a7b Win32k native user stubs
svn path=/trunk/; revision=1943
2001-06-04 14:39:43 +00:00
Casper Hornstrup
465823fcc7 Default is screen debug output
svn path=/trunk/; revision=1942
2001-06-04 11:27:54 +00:00
Casper Hornstrup
514cb6a689 Raw IP and ICMP fixes
More work on winsock stack (not usable yet though)
Support for loading symbols for user mode modules

svn path=/trunk/; revision=1941
2001-06-04 11:26:13 +00:00
Jason Filby
3d24d1f443 Small fixes
svn path=/trunk/; revision=1940
2001-06-03 10:48:41 +00:00
Jason Filby
b6af1f6bab Prevent mouse from interfering with GDI drawing
svn path=/trunk/; revision=1939
2001-06-03 10:47:29 +00:00
Eric Kohl
c3b862d61d Fixed partition table bug
svn path=/trunk/; revision=1938
2001-06-02 15:53:26 +00:00
Jason Filby
4ce8aabb3c Faster moving mouse cursor
svn path=/trunk/; revision=1937
2001-06-02 08:44:46 +00:00
Jason Filby
a9d9714a23 Better looking mouse cursor
svn path=/trunk/; revision=1936
2001-06-02 08:43:48 +00:00
Eric Kohl
7d15b82aa0 Implemented RtlFindMessage() and Rtl[Query/Set]TimeZoneInformation().
svn path=/trunk/; revision=1935
2001-06-01 17:14:40 +00:00
Eric Kohl
efe6366a22 Implemented RtlFindMessage().
Implemented Rtl[Query/Set]TimeZoneInformation().
Implemented RtlQueryRegistryValues() partially.

svn path=/trunk/; revision=1933
2001-05-30 20:03:28 +00:00
Eric Kohl
553aab4bb7 Fixed a crash in NtCreateKey() when an existing key is opened
svn path=/trunk/; revision=1932
2001-05-30 14:40:36 +00:00
Eric Kohl
2c92d6e39b Fixed potential crash when empty ANSI_STRING or UNICODE_STRING is printed
svn path=/trunk/; revision=1931
2001-05-30 14:38:14 +00:00
Jason Filby
8c8de10906 Improve mouse driver stability a bit
svn path=/trunk/; revision=1930
2001-05-30 08:07:48 +00:00
Eric Kohl
5a12816c16 Fixed a typo
svn path=/trunk/; revision=1929
2001-05-27 23:03:51 +00:00
Casper Hornstrup
f821d295ad Double makefile in cvs
svn path=/trunk/; revision=1928
2001-05-27 16:37:24 +00:00
Casper Hornstrup
94fe75aeb4 Full make
svn path=/trunk/; revision=1927
2001-05-27 16:23:20 +00:00
Eric Kohl
eb7f6b07c8 Rewrote atom functions in kernel32
svn path=/trunk/; revision=1926
2001-05-27 15:40:31 +00:00
Eric Kohl
4790ca37b0 Implemented atoms in ntoskrnl and fixed a few bugs
svn path=/trunk/; revision=1925
2001-05-27 11:17:01 +00:00
Eric Kohl
803636da4a Implemented handle table and atom table
svn path=/trunk/; revision=1924
2001-05-26 17:49:18 +00:00
Eric Kohl
f9384f3cf8 Implemented handle table and atom table
svn path=/trunk/; revision=1923
2001-05-26 16:52:31 +00:00
Jason Filby
4c125c3021 Was not clearing screen on some cards
svn path=/trunk/; revision=1922
2001-05-26 10:25:22 +00:00
Jason Filby
2262d67ef2 Build mouclass and psaux
svn path=/trunk/; revision=1921
2001-05-26 10:20:07 +00:00
Jason Filby
c6287c59d3 Load PS/2 mouse and mouse class drivers on startup
svn path=/trunk/; revision=1920
2001-05-26 10:05:40 +00:00
Jason Filby
9726e9950b Minor update
svn path=/trunk/; revision=1919
2001-05-26 10:04:06 +00:00
Jason Filby
a91a0d77da VGA software cursor
svn path=/trunk/; revision=1918
2001-05-26 08:21:03 +00:00
Jason Filby
02e9af8bda Mouse driver improvements; callback between mouse class and GDI
svn path=/trunk/; revision=1917
2001-05-26 08:19:03 +00:00
Jason Filby
73b9ac6994 Initial GDI Mouse support, small DC fix
svn path=/trunk/; revision=1916
2001-05-26 08:15:40 +00:00
Eric Kohl
caae64da4b Fixed duplicate DELETE
svn path=/trunk/; revision=1915
2001-05-25 08:51:41 +00:00
Eric Kohl
0f9dfab704 Implemented file access/sharing check functions
svn path=/trunk/; revision=1914
2001-05-24 22:19:25 +00:00
Eric Kohl
ca61cc2444 Implemented resource (multiple-reader-single-writer) lock
svn path=/trunk/; revision=1913
2001-05-24 11:28:54 +00:00
Jurgen van Gael
56ab538abe Added the definition files for ole32.dll
svn path=/trunk/; revision=1912
2001-05-19 21:23:20 +00:00
Nedko Arnaudov
1d63ef67f5 added #ifdefs for clipboard feature
svn path=/trunk/; revision=1911
2001-05-16 21:19:06 +00:00
Jurgen van Gael
5fda84ce39 Put the CLSID definition between the ifdef statement for the guid, otherwise compiling ole32 would generate multiple definition error messages
svn path=/trunk/; revision=1910
2001-05-15 21:04:09 +00:00
Jurgen van Gael
079339b3b8 Sourc code for the first ole32.dll COM implementation
svn path=/trunk/; revision=1909
2001-05-15 12:22:18 +00:00
Jurgen van Gael
48da1fcf14 Added header files for ole32.dll COM implementation
svn path=/trunk/; revision=1908
2001-05-15 11:53:23 +00:00
Brian Palmer
afdf923c65 Initial revision
svn path=/trunk/; revision=1904
2001-05-15 03:50:25 +00:00
Casper Hornstrup
bbf48f20aa Removed the assertion
svn path=/trunk/; revision=1903
2001-05-13 13:35:37 +00:00
Eric Kohl
7d0f1e3433 Some named pipe improvements (not usable yet!).
svn path=/trunk/; revision=1902
2001-05-10 23:38:31 +00:00
Rex Jolliff
4c5a154f4d a few more changes to vfat driver
svn path=/trunk/; revision=1901
2001-05-10 06:30:23 +00:00
Rex Jolliff
9cfc87e333 extracted a few more FCB funcs
svn path=/trunk/; revision=1900
2001-05-10 04:02:21 +00:00
Eric Kohl
3c986c6d3a Use MinGW startup code (crt0)
svn path=/trunk/; revision=1899
2001-05-08 11:19:43 +00:00
Casper Hornstrup
432ae66313 oops...back to default configuration
svn path=/trunk/; revision=1898
2001-05-08 09:43:55 +00:00
Casper Hornstrup
fc6a12de18 Preparations for 32-bit/64-bit architectures
Added stubs for most user32.dll functions

svn path=/trunk/; revision=1897
2001-05-07 22:03:27 +00:00
Eric Kohl
3694ebf507 Cleanup
svn path=/trunk/; revision=1896
2001-05-06 22:39:13 +00:00
Eric Kohl
7398918d11 Fixed bootable partition bug
svn path=/trunk/; revision=1895
2001-05-06 22:32:34 +00:00
Emanuele Aliberti
cbcc365a25 Added dist rule.
svn path=/trunk/; revision=1894
2001-05-06 19:28:50 +00:00
Carl Nettelblad
a975142a8d Last change stop CD from working. That's fixed now.
svn path=/trunk/; revision=1893
2001-05-06 17:27:50 +00:00
Carl Nettelblad
96a0d04b3b Removed support for current directories on several drives at once from cmd.exe. Now in NTDLL.
svn path=/trunk/; revision=1892
2001-05-06 17:12:44 +00:00
Carl Nettelblad
8efef1784a Moving support for current dir on several drives from cmd.exe to NTDLL.
svn path=/trunk/; revision=1891
2001-05-06 16:09:03 +00:00
Casper Hornstrup
ba2a8ca045 Added ACPI bus manager
Added ACPI button driver

svn path=/trunk/; revision=1890
2001-05-05 19:15:44 +00:00
Casper Hornstrup
efc93e5ae8 Added runtime configuration of debug prints from kernel debugger (on a per file basis)
svn path=/trunk/; revision=1889
2001-05-05 19:13:10 +00:00
Nedko Arnaudov
6fb7445d87 added optional parameter to specify destination directory
svn path=/trunk/; revision=1888
2001-05-05 19:11:29 +00:00
Phillip Susi
a0fe0d14a0 Removed a bunch of junk from wine and fixed crash on loading
svn path=/trunk/; revision=1887
2001-05-05 18:09:30 +00:00
Eric Kohl
3f98a7dd14 Added makefile
svn path=/trunk/; revision=1886
2001-05-05 18:01:07 +00:00
Eric Kohl
4304c92e6e Fixed silly 'off by one' bug
svn path=/trunk/; revision=1885
2001-05-05 18:00:33 +00:00
Eric Kohl
d13046ca0f Added mailslot fs driver
svn path=/trunk/; revision=1884
2001-05-05 15:21:05 +00:00
Emanuele Aliberti
f7d5d08e6e PORT_MESSAGE_TYPE(m) macro added.
svn path=/trunk/; revision=1883
2001-05-05 12:52:49 +00:00
Eric Kohl
7c469f9c46 Added attributes to object parse method.
svn path=/trunk/; revision=1882
2001-05-05 09:33:16 +00:00
Emanuele Aliberti
ab494baccd Fixed NtQueryDirectoryObject.
svn path=/trunk/; revision=1881
2001-05-04 21:44:21 +00:00
Rex Jolliff
ac9d3e30fb Changed Cc interface func names to CcRos.
Changed CcReleaseFileCache to use and dereference FileObject in BCB
instead of the one passed.

svn path=/trunk/; revision=1880
2001-05-04 01:21:45 +00:00
Nedko Arnaudov
d9776acd0c Added detection of redirection. GetStdHandle() used instead of CreateFile(). Error message is shown to user when it tries to redirect.
svn path=/trunk/; revision=1879
2001-05-03 22:41:16 +00:00
Casper Hornstrup
278ce6bf50 Removed debug code
Compile correctly with pool validation enabled

svn path=/trunk/; revision=1878
2001-05-03 17:24:00 +00:00
Jason Filby
53de047b71 Truetype files from OpenOffice
svn path=/trunk/; revision=1877
2001-05-03 07:17:38 +00:00
Jason Filby
87f05689bc *** empty log message ***
svn path=/trunk/; revision=1876
2001-05-03 07:16:33 +00:00
Eric Kohl
96a826ad92 Moved some heap stubs
svn path=/trunk/; revision=1875
2001-05-03 06:13:05 +00:00
Eric Kohl
973bed37c6 Implemented missing mailslot functions
svn path=/trunk/; revision=1874
2001-05-03 06:10:29 +00:00
Eric Kohl
4be50fdc7e Implemented mailslot functions
svn path=/trunk/; revision=1873
2001-05-02 22:29:18 +00:00
Eric Kohl
9f1e5ac42c Implemented CsrNewThread()
Added some registry functions

svn path=/trunk/; revision=1872
2001-05-02 22:25:58 +00:00
Emanuele Aliberti
ff2adbb728 Added -r switch to objdir to recurse the system name space.
svn path=/trunk/; revision=1871
2001-05-02 20:50:06 +00:00
Eric Kohl
7de8ff7c3c Fixed typo
svn path=/trunk/; revision=1870
2001-05-02 19:04:25 +00:00
Jason Filby
a4a7d78546 Truetype fonts from OpenOffice
svn path=/trunk/; revision=1869
2001-05-02 17:27:00 +00:00
Jason Filby
ce4ce9b5e9 Files incorrectly committed in ASCII
svn path=/trunk/; revision=1868
2001-05-02 17:25:47 +00:00
Jason Filby
66044c37fd reverted to proper makefile
svn path=/trunk/; revision=1867
2001-05-02 15:11:19 +00:00
Jason Filby
98fc0115be accidental commit
svn path=/trunk/; revision=1866
2001-05-02 15:10:24 +00:00
Jason Filby
f5a5752043 minor fix
svn path=/trunk/; revision=1865
2001-05-02 13:46:29 +00:00
Jason Filby
02184a83d4 Update install files
svn path=/trunk/; revision=1864
2001-05-02 12:37:06 +00:00
Jason Filby
979adb975e Update to test new GDI functions
svn path=/trunk/; revision=1863
2001-05-02 12:35:48 +00:00
Jason Filby
5ee6fc75ae GDI32 support for new win32k functions
svn path=/trunk/; revision=1862
2001-05-02 12:35:06 +00:00
Jason Filby
c84d5016d1 Initial font and text support. Fixes to color palette support. Mask and transparent blt support.
svn path=/trunk/; revision=1861
2001-05-02 12:33:42 +00:00
Jason Filby
b27e3264a9 Updates to GDI include files
svn path=/trunk/; revision=1860
2001-05-02 12:31:04 +00:00
Jason Filby
1a4b287958 VGA driver support for TransparentBlt
svn path=/trunk/; revision=1859
2001-05-02 12:29:51 +00:00
Jason Filby
69a45c48b1 Correct palette info. Initial support for bitblt masks
svn path=/trunk/; revision=1858
2001-05-02 12:29:08 +00:00
Jason Filby
6be44d6e81 Correctly configure palette registers
svn path=/trunk/; revision=1857
2001-05-02 12:27:32 +00:00
Jason Filby
4167bc8912 Initial TrueType fonts
svn path=/trunk/; revision=1856
2001-05-02 12:26:15 +00:00
Jason Filby
83352970a1 Freetype 2 includes
svn path=/trunk/; revision=1855
2001-05-02 12:24:36 +00:00
Jason Filby
be9bb3fb3c Freetype 2
svn path=/trunk/; revision=1854
2001-05-02 12:21:38 +00:00
Rex Jolliff
38afc0ac8b Extracted vfat8dot3ToFilename from GetEntryName
Extracted vfatMakeAbsoluteFilename from vfatOpenFile
Extracted vfatGrabFCBFromTable from vfatOpenFile
Extracted vfatNewFCB from vfatOpenFile
Extracted vfatAddFCBToTable from vfatOpenFile
Removed RtlAnsiToUnicode, RtlCatAnsiToUnicode

svn path=/trunk/; revision=1853
2001-05-02 03:18:03 +00:00
Casper Hornstrup
87589daf4e Preparations for checked/free like builds (CPRINT == DbgPrint when DBG is defined).
Modified loadros to support loading symbol files early at startup.
Modified loadros to convey BIOS memory map to the kernel if available.
Began building PnP manager device tree.
Added shutdown command to shell.exe

svn path=/trunk/; revision=1852
2001-05-01 23:08:21 +00:00
Phillip Susi
58e60b3092 Don't crash if win32k.sys isn't there.. it's ok..
svn path=/trunk/; revision=1851
2001-05-01 23:06:25 +00:00
Casper Hornstrup
f98bbb1df7 Ported ACPI CA (from the nice guys at Intel) to ReactOS (ACPI bus driver).
Started on ISA PnP bus driver.

svn path=/trunk/; revision=1850
2001-05-01 23:00:05 +00:00
Casper Hornstrup
1debf1a12d Work on winsock stack and indentation corrections.
svn path=/trunk/; revision=1849
2001-05-01 22:44:07 +00:00
Casper Hornstrup
72c2af4ca7 Better RawIP support.
Minor fixes.

svn path=/trunk/; revision=1848
2001-05-01 22:34:01 +00:00
Emanuele Aliberti
8d5c635a36 NtQueryDirectoryObject rewritten.
apps/objdir.c fixed to work under nt4sp6a AND reactos.

svn path=/trunk/; revision=1847
2001-05-01 21:43:45 +00:00
Nedko Arnaudov
1afd43b049 ^ is used for escape sequences
svn path=/trunk/; revision=1846
2001-05-01 20:53:24 +00:00
Nedko Arnaudov
13eef5cc24 now it compiles
svn path=/trunk/; revision=1845
2001-05-01 19:42:56 +00:00
Rex Jolliff
d73834ea4f added a few more fsd tests
svn path=/trunk/; revision=1844
2001-05-01 17:36:04 +00:00
Eric Kohl
b76211b20a Mailslot and named pipe preparations
svn path=/trunk/; revision=1843
2001-05-01 11:09:01 +00:00
Rex Jolliff
dabd23ba77 added test set for fsd driver
svn path=/trunk/; revision=1842
2001-05-01 04:35:08 +00:00
Rex Jolliff
fdfb9053d9 BUGFIX: Primary partitions that appeared after extended in table were incorrectly mounted
changed some error messages from DPRINT to DbgPrint

svn path=/trunk/; revision=1841
2001-04-30 05:28:17 +00:00
Carl Nettelblad
7e0bfac662 This change shouldn't mess things up, if used together with latest vfat version.
NtQueryInformationFile is required to return valid name information for this to work.

svn path=/trunk/; revision=1840
2001-04-29 21:09:20 +00:00
Carl Nettelblad
59e33e46af Probably getting fcb.PathName handling right this time.
svn path=/trunk/; revision=1839
2001-04-29 21:08:14 +00:00
David Welch
8701c47012 Removed .dbg target
svn path=/trunk/; revision=1838
2001-04-28 22:59:16 +00:00
Phillip Susi
56d6a0c2b1 Undo last change removing config.h, which is now correctly auto generated
svn path=/trunk/; revision=1837
2001-04-26 14:26:23 +00:00
Phillip Susi
39b80bfefd Fixed definition of EPROCESS to work with the forward declaration in ketypes.h
svn path=/trunk/; revision=1836
2001-04-26 13:29:58 +00:00
David Welch
a1f93462d3 Explicitly create config.h
svn path=/trunk/; revision=1835
2001-04-26 13:23:38 +00:00
Phillip Susi
51ca2e3c1a Removed reference to kernel private header internal/ps.h
svn path=/trunk/; revision=1834
2001-04-26 13:23:01 +00:00
Phillip Susi
4420d9e0cb Added forward declaration for EPROCESS
svn path=/trunk/; revision=1833
2001-04-26 13:22:24 +00:00
Eric Kohl
18f8e8da80 Some minor cleanup
svn path=/trunk/; revision=1832
2001-04-26 11:31:33 +00:00
Phillip Susi
af3325ef66 Undo last change
svn path=/trunk/; revision=1831
2001-04-26 04:01:54 +00:00
Phillip Susi
6de9186661 Removed references to obsolete config.h preventing compilation
svn path=/trunk/; revision=1830
2001-04-26 03:58:33 +00:00
Phillip Susi
dff9686ea0 Close handles to shell process/thread
svn path=/trunk/; revision=1829
2001-04-26 01:36:32 +00:00
Phillip Susi
50f5d0807c Added Tail.Overlay.DriverContext to IRP structure
svn path=/trunk/; revision=1828
2001-04-26 01:31:35 +00:00
Phillip Susi
9b3a488664 Fixed bug in IoFlushAdapterBuffers
svn path=/trunk/; revision=1827
2001-04-26 01:30:17 +00:00
Phillip Susi
595a5bad20 Added a check for end of fat chain before end of recorded length
svn path=/trunk/; revision=1826
2001-04-26 01:28:54 +00:00
Phillip Susi
21cbb4fcc1 FAT12GetNextCluster still needs fixed to not assume entire FAT fits in one cache page
Fixed minor typos
Temporary fix for FAT12GetNextCluster to at least not overflow the cache page

svn path=/trunk/; revision=1825
2001-04-26 01:28:15 +00:00
Phillip Susi
dc3c360885 Floppy driver updates, managed to boot system from floppy
svn path=/trunk/; revision=1824
2001-04-26 01:24:31 +00:00
Nedko Arnaudov
197fe0acf4 escape char when setting string value changed to ^
svn path=/trunk/; revision=1823
2001-04-24 23:05:56 +00:00
Nedko Arnaudov
05a5575ff1 minor changes
svn path=/trunk/; revision=1822
2001-04-24 22:53:00 +00:00
Nedko Arnaudov
5ac5ed1e37 quotation handling bug fixed
svn path=/trunk/; revision=1821
2001-04-24 22:32:31 +00:00
Emanuele Aliberti
f57fc2af90 Some FsRtl API updated (stubs) to sync with ntifs.h v25 by Bo Branten.
Added a new DDK header file to group any symbol definition related to
NTIFS: ddk/fstypes.h. Now ddk/ntifs.h includes fstypes and fsfuncs.

svn path=/trunk/; revision=1820
2001-04-24 18:36:39 +00:00
Emanuele Aliberti
a9dc0b739e Compilation bug fixed (due to having used an "unknown" field in the
SYSTEM_MODULE_ENTRY object I updated yesterday).

svn path=/trunk/; revision=1819
2001-04-23 22:00:28 +00:00
Emanuele Aliberti
4fc0783845 Query/SetSystemInformation: added stubs for information classes 0-53 (up to nt5/w2k).
Updated the SYSTEM_INFORMATION_CLASS enumeration with members names from the Net, Dabak and Nebbett.

svn path=/trunk/; revision=1818
2001-04-22 23:06:57 +00:00
Casper Hornstrup
fa71c1ff6c Added kernel debugger help (type help for a list of commands)
svn path=/trunk/; revision=1817
2001-04-22 14:47:00 +00:00
David Welch
40ef0ef8e2 Set the fs register properly on entry to the kernel from an irq
svn path=/trunk/; revision=1816
2001-04-21 22:39:42 +00:00
Eric Kohl
cb2396496c Implemented PsCreateSystemProcess()
svn path=/trunk/; revision=1815
2001-04-21 12:39:33 +00:00
David Welch
71d0b655ac Ignore config.h
svn path=/trunk/; revision=1814
2001-04-20 12:59:59 +00:00
David Welch
6b9f511801 Remove config.h
svn path=/trunk/; revision=1813
2001-04-20 12:59:13 +00:00
Casper Hornstrup
f0e807621f Call KiUpdateSystemTime from KiInterruptDispatch if on first processor.
Mask correct interrupts at each IRQ level
Fixed APIC error on initialization

svn path=/trunk/; revision=1812
2001-04-20 12:42:23 +00:00
David Welch
e344bc3faa UP fixes, was enabling interrupts too early
svn path=/trunk/; revision=1811
2001-04-18 03:31:19 +00:00
David Welch
6dd0418c50 Forgot to test compilation under UP
UP is default

svn path=/trunk/; revision=1810
2001-04-17 23:53:16 +00:00
David Welch
d41145488c SMP scheduling fixes
Obey thread affinity
Fix bogus invariant in KeAcquireSpinLockAtDpcLevel
Protect display with spinlock

svn path=/trunk/; revision=1809
2001-04-17 23:39:26 +00:00
David Welch
f29036d97b Further SMP work (associate an idle thread with each processor)
svn path=/trunk/; revision=1808
2001-04-17 04:11:01 +00:00
David Welch
2cfadf3b41 per processor TSS
svn path=/trunk/; revision=1807
2001-04-16 23:29:55 +00:00
David Welch
2dfc5cfcd4 Missing file
svn path=/trunk/; revision=1806
2001-04-16 18:06:29 +00:00
David Welch
85f85e8462 Further SMP initialization work (now boots all processors on SMP bochs)
Preparation for per-processor GDT

svn path=/trunk/; revision=1805
2001-04-16 16:29:03 +00:00
Nedko Arnaudov
add5e2d89f Added base support for user settings.
svn path=/trunk/; revision=1804
2001-04-16 05:11:54 +00:00
Nedko Arnaudov
2957aa4ce5 Added support for escape sequences when setting string value.
svn path=/trunk/; revision=1803
2001-04-16 05:09:51 +00:00
Nedko Arnaudov
368db861e4 unexpected declaration removed :}
svn path=/trunk/; revision=1802
2001-04-16 05:07:23 +00:00
Nedko Arnaudov
7f0a6dcd48 Implemented: default settings, loading settings from registry key, settings for prompt, normal text colors and command text colors.
svn path=/trunk/; revision=1801
2001-04-16 05:03:29 +00:00
Nedko Arnaudov
2b246092f3 Argument parser now ignores escape sequences.
svn path=/trunk/; revision=1800
2001-04-16 04:58:31 +00:00
Nedko Arnaudov
616e4d5242 Prompt now supports customization. Implementation is based on customization string with escape sequences. The prompt currently recognizes only one sequence in the customization string, \w - the current path.
svn path=/trunk/; revision=1799
2001-04-16 04:53:31 +00:00
David Welch
aeb62db2e8 Default config
svn path=/trunk/; revision=1798
2001-04-16 02:02:43 +00:00
David Welch
65b55ec6c6 SMP detection work
Changed initialization back
Changed to NT IRQLs
Check for return from main

svn path=/trunk/; revision=1797
2001-04-16 02:02:07 +00:00
Casper Hornstrup
bdfcd5630a Fixes for NE2000 driver
svn path=/trunk/; revision=1796
2001-04-16 01:16:36 +00:00
Casper Hornstrup
8c8d19c080 Added PnP and Power structures
svn path=/trunk/; revision=1795
2001-04-16 00:52:12 +00:00
Casper Hornstrup
262859736d Added PnP and Power stubs
svn path=/trunk/; revision=1794
2001-04-16 00:51:19 +00:00
Casper Hornstrup
e8fc884c37 Added PnP and Power structures
svn path=/trunk/; revision=1793
2001-04-16 00:44:54 +00:00
Nedko Arnaudov
1648d6ba62 gdb2\Makefile
svn path=/trunk/; revision=1792
2001-04-15 23:43:12 +00:00
Nedko Arnaudov
2c11752216 RegistryExplorer.cpp
svn path=/trunk/; revision=1791
2001-04-15 22:17:50 +00:00
Nedko Arnaudov
a70a5e92d0 INSTALL
svn path=/trunk/; revision=1790
2001-04-15 22:08:23 +00:00
Casper Hornstrup
94309de6e4 Added Intel MultiProcessor Specification support
svn path=/trunk/; revision=1789
2001-04-13 16:12:26 +00:00
David Welch
33408fe398 Reduced the size of the kernel disk image by moving the initial page
tables and page directory to the bss and initializing them at runtime.

svn path=/trunk/; revision=1788
2001-04-12 00:56:04 +00:00
David Welch
c21076a36c buildno doesn't rewrite the include/reactos/buildno.h
Discard relocations and import table from ntoskrnl
Reorganise multiboot.S

svn path=/trunk/; revision=1787
2001-04-11 22:13:21 +00:00
Casper Hornstrup
db0d247af0 Added loading of symbols when modules are loaded.
Print symbols on stack frame dump.
Put symbols in \SystemRoot\Symbols.

svn path=/trunk/; revision=1786
2001-04-11 12:46:05 +00:00
David Welch
33267a7bd2 More sensible dependencies scheme for configuration
svn path=/trunk/; revision=1785
2001-04-10 22:13:23 +00:00
Eric Kohl
78232dab8b Added functions to run MS VC++ 5/6 apps
svn path=/trunk/; revision=1784
2001-04-10 19:20:37 +00:00
Eric Kohl
6a0be77508 Fixed crash if exported function does not exist
svn path=/trunk/; revision=1783
2001-04-10 19:14:27 +00:00
David Welch
3a788d44ee Trace facility
svn path=/trunk/; revision=1782
2001-04-10 18:15:22 +00:00
David Welch
e40a4953f2 .cvsignore file
svn path=/trunk/; revision=1781
2001-04-10 18:12:51 +00:00
David Welch
bd5d1d2adf Correct problem with keyboard input not being accepted
Added kernel debugger
Kernel configuration

svn path=/trunk/; revision=1780
2001-04-10 17:48:17 +00:00
David Welch
db0e348770 Reorganised cache segment data structure
svn path=/trunk/; revision=1779
2001-04-09 02:45:04 +00:00
jean
de935b3cf0 undo replacement of FILETIME by LARGE_INTEGER.
indeed LARGE_INTEGER cause bad alignement.

svn path=/trunk/; revision=1778
2001-04-07 15:06:17 +00:00
Phillip Susi
9b90a6532b Fixed IoCompleteRequest() to directly call completion function, rather than queue an APC, if the target thread == current thread, because the APC code doesn't seem to correctly handle queueing an APC to the current thread
svn path=/trunk/; revision=1777
2001-04-06 04:29:16 +00:00
Eric Kohl
b2a5aa012c Fixed global and local memory functions
svn path=/trunk/; revision=1776
2001-04-05 01:54:42 +00:00
David Welch
b7437fe01a Fix longstanding bug in keyboard driver
svn path=/trunk/; revision=1775
2001-04-04 22:21:32 +00:00
Eric Kohl
8d1e0c87b3 Fixed a severe typo
svn path=/trunk/; revision=1774
2001-04-03 20:18:21 +00:00
David Welch
b63d768a18 Keep DPC queue size correct
Share section pages with cache if possible
If doing a read direct from disk (not via the cache) don't copy the data
MDL fixes

svn path=/trunk/; revision=1773
2001-04-03 17:25:50 +00:00
Phillip Susi
0858e6f0fb Oops... forgot to use physical address when programming the dma controller
svn path=/trunk/; revision=1772
2001-04-02 23:54:37 +00:00
Phillip Susi
9dfa505536 Fixed DPC bug: when the DPC is run, it has been removed from the queue and therefore can be queued again, the old code did not allow the dpc to be queued again until after the first one returned
svn path=/trunk/; revision=1771
2001-04-02 04:07:49 +00:00
Jason Filby
da6d4130c3 fixed a stupid bug
svn path=/trunk/; revision=1770
2001-04-01 15:18:35 +00:00
David Welch
6ca8f2a32b Use unix style path seperators
svn path=/trunk/; revision=1769
2001-04-01 14:44:40 +00:00
David Welch
c53353dfcb Reverted previous change, unnecessary
svn path=/trunk/; revision=1768
2001-03-31 17:02:17 +00:00
Jason Filby
fd1d23c72f reference moved hal.h
svn path=/trunk/; revision=1767
2001-03-31 16:46:59 +00:00
Phillip Susi
c48815ca85 Moved header
svn path=/trunk/; revision=1766
2001-03-31 16:36:46 +00:00
Jason Filby
0d87c04fdb last typo, really!
svn path=/trunk/; revision=1765
2001-03-31 16:12:13 +00:00
Jason Filby
c321566c86 *** empty log message ***
svn path=/trunk/; revision=1764
2001-03-31 16:09:17 +00:00
Jason Filby
fac82fed75 typo
svn path=/trunk/; revision=1763
2001-03-31 16:05:55 +00:00
Phillip Susi
57dfac271e Added declaration for MmAllocateContiguousAlignedMemory
svn path=/trunk/; revision=1762
2001-03-31 16:02:07 +00:00
Phillip Susi
a758924464 Added FILE_XXX_ALIGNMENT defines
svn path=/trunk/; revision=1761
2001-03-31 16:01:42 +00:00
Phillip Susi
137c93f9c6 DMA support added
svn path=/trunk/; revision=1760
2001-03-31 16:01:03 +00:00
Jason Filby
f56e6b7e9e oops
svn path=/trunk/; revision=1759
2001-03-31 16:00:24 +00:00
Jason Filby
f22ea77911 disable freetype for now
svn path=/trunk/; revision=1758
2001-03-31 15:56:57 +00:00
Phillip Susi
d8538e9795 Massive floppy work
svn path=/trunk/; revision=1757
2001-03-31 15:53:56 +00:00
Phillip Susi
6b46ea08e7 Go back to stripping only debug syms, not everything, from ntoskrnl because the boot loader doesn't correctly process the image and create a BSS, so the BSS overwrites the debug info if it is there, or the first driver loaded if it is not.
svn path=/trunk/; revision=1756
2001-03-31 15:46:08 +00:00
Jason Filby
f3b6ab3603 Indentation corrected, new tests
svn path=/trunk/; revision=1755
2001-03-31 15:43:22 +00:00
Jason Filby
389375c4ee Indentation corrected, minor fixes
svn path=/trunk/; revision=1754
2001-03-31 15:40:34 +00:00
Jason Filby
14c634ca97 Identation corrected, many fixes and minor improvements, initial DIB support
svn path=/trunk/; revision=1753
2001-03-31 15:35:08 +00:00
David Welch
a934fd1c24 Fix for not valid PE module bug
svn path=/trunk/; revision=1752
2001-03-31 12:56:37 +00:00
David Welch
4e81d099cf Check for failed allocation
Split up kernel32 stubs
Print proper stack trace for user mode exceptions

svn path=/trunk/; revision=1751
2001-03-31 01:17:30 +00:00
Phillip Susi
5907d91e41 apps/uitest does not seem to exist, don't try to make it
svn path=/trunk/; revision=1750
2001-03-30 22:10:47 +00:00
David Welch
d135a77c67 Enable atom functions
Don't load NOLOAD sections
Print additional debugging information about module loading

svn path=/trunk/; revision=1749
2001-03-30 17:26:42 +00:00
David Welch
381057612c Don't map NOLOAD sections
svn path=/trunk/; revision=1748
2001-03-30 15:14:53 +00:00
Jason Filby
74412de062 Initialize the VGA to work with display driver's vgavideo.c
svn path=/trunk/; revision=1747
2001-03-29 17:45:50 +00:00
David Welch
fbb680dffd Strip everything from ntoskrnl
svn path=/trunk/; revision=1746
2001-03-29 17:24:43 +00:00
David Welch
877f965575 Remove debugging code
svn path=/trunk/; revision=1745
2001-03-29 02:25:10 +00:00
David Welch
ca5d9b1a2d Fixed int 10 problems
Guard pages for all thread stacks

svn path=/trunk/; revision=1744
2001-03-29 01:14:00 +00:00
David Welch
d9925196f3 Catch stack over/underflows
svn path=/trunk/; revision=1743
2001-03-28 14:24:05 +00:00
David Welch
bde0898ab5 Fixed page list initialization
svn path=/trunk/; revision=1742
2001-03-28 11:57:51 +00:00
Phillip Susi
eca8ca8582 Also removed call to ExAllocatePool from DPRINT1
Why the heck was this in DPRINT1 and not DPRINT?

svn path=/trunk/; revision=1741
2001-03-28 04:43:02 +00:00
Phillip Susi
b20a5f12ed Removed call to ExAllocatePool from CHECKPOINT1
svn path=/trunk/; revision=1740
2001-03-28 03:06:55 +00:00
David Welch
09ad24f08c Print addresses in stack frames even early in the boot
svn path=/trunk/; revision=1739
2001-03-27 21:43:43 +00:00
David Welch
634bb6b997 Set the io bitmap pointer beyond the TSS limit
svn path=/trunk/; revision=1738
2001-03-26 23:01:39 +00:00
Emanuele Aliberti
988ec8cb30 This is really a bare bones counter. It works with the last build.
Not really useful, but lets you watch ROS working for hours.
Counters slow down dramatically (486/66) when many instances are
running (3+). Also a subtle CSR console support bug appears: when
you switch console, if the restored one wrote below the bottom line,
current Y is not the bottom line anymore.

svn path=/trunk/; revision=1737
2001-03-26 21:30:20 +00:00
David Welch
8c86bcfe89 Fixes for page list initialization
V86 mode fixes

svn path=/trunk/; revision=1736
2001-03-26 20:46:53 +00:00
David Welch
51a205bc71 Fixed bug with calling RtlFreeUnicodeString too early in LdrFixupForward
svn path=/trunk/; revision=1735
2001-03-26 16:33:10 +00:00
Phillip Susi
b1601c09d8 Fixed incorrect assertion in IoAllocateController: assert_irql() seems to check for IRQL <= current IRQL, but this function must be called with current IRQL == DISPATCH_LEVEL, not <= DISPATCH_LEVEL.
svn path=/trunk/; revision=1734
2001-03-26 05:03:54 +00:00
Phillip Susi
cf4a06ff33 fixed bug in MmAllocateContiguousAlignedMemory due to uninitialized BaseAddress local
svn path=/trunk/; revision=1733
2001-03-26 04:38:39 +00:00
David Welch
e065bf41ff Bug fixes
svn path=/trunk/; revision=1732
2001-03-26 00:56:53 +00:00
David Welch
9b95a9991c Disable debug prints
svn path=/trunk/; revision=1731
2001-03-25 19:05:30 +00:00
David Welch
99a644a366 Further fixes
svn path=/trunk/; revision=1730
2001-03-25 18:56:13 +00:00
David Welch
c2d9004a56 Oops, forget this file
svn path=/trunk/; revision=1729
2001-03-25 11:48:18 +00:00
David Welch
51f1b4ac50 V86 mode fixes
Preparation for paging support

svn path=/trunk/; revision=1728
2001-03-25 03:34:30 +00:00
David Welch
9b3c1a2a1d Make the trap handlers work early in the boot process
svn path=/trunk/; revision=1727
2001-03-22 11:14:22 +00:00
Casper Hornstrup
5bbfcbdcde Pass RemainingPath for device type FILE_DEVICE_NETWORK
svn path=/trunk/; revision=1726
2001-03-21 23:30:20 +00:00
Casper Hornstrup
61c860daf7 Set FileObject in stack location in NtDeviceIoControlFile
svn path=/trunk/; revision=1725
2001-03-21 23:27:18 +00:00
Casper Hornstrup
547f4b4197 Fix for MmBuildMdlForNonPagedPool
svn path=/trunk/; revision=1724
2001-03-21 23:06:08 +00:00
Casper Hornstrup
0f3822bfb9 Added script for creating binary distribution
svn path=/trunk/; revision=1723
2001-03-21 22:34:24 +00:00
Casper Hornstrup
0b3adffd26 Added classes for cabinet handling
Added a cabinet manager

svn path=/trunk/; revision=1722
2001-03-21 22:32:33 +00:00
David Welch
591d955230 Bug fixes
svn path=/trunk/; revision=1721
2001-03-20 16:09:44 +00:00
Eric Kohl
7a86200cdc Use vidport-functions instead of ntdll-functions
svn path=/trunk/; revision=1720
2001-03-20 15:11:51 +00:00
Eric Kohl
04c0aa0853 Established forwarded exports in vidport.sys
svn path=/trunk/; revision=1719
2001-03-20 15:09:02 +00:00
Eric Kohl
e3b61f2e00 Established forwarded exports in win32k.sys
svn path=/trunk/; revision=1718
2001-03-20 15:06:22 +00:00
Phillip Susi
486ce0ad1a apps/exp does not seem to exist, prevents full make, removing
svn path=/trunk/; revision=1717
2001-03-20 03:09:01 +00:00
David Welch
32e24ab35e User exception handling doesn't work yet
svn path=/trunk/; revision=1716
2001-03-20 00:52:21 +00:00
David Welch
cebfcd7c5e One more bug in MmAllocateContiguousPages
Removed debugging code

svn path=/trunk/; revision=1715
2001-03-18 21:28:30 +00:00
David Welch
ffca6e4a0a Typo
svn path=/trunk/; revision=1714
2001-03-18 20:30:22 +00:00
Emanuele Aliberti
f8ad495ac2 Really simple application that displays how much time elaped.
svn path=/trunk/; revision=1713
2001-03-18 20:20:13 +00:00
Emanuele Aliberti
f907dc6e87 KERNEL32.GetSystemTimeAsFileTime prototype added.
svn path=/trunk/; revision=1712
2001-03-18 20:18:34 +00:00
David Welch
7e2c26824a Beginnings of user-mode debugging support.
svn path=/trunk/; revision=1711
2001-03-18 19:52:38 +00:00
David Welch
1e02a7d8d9 Allocate pages beginning from the top of memory
svn path=/trunk/; revision=1710
2001-03-18 19:37:54 +00:00
David Welch
d60628a01b Fixes for APC handling
Fixes for exceptions
Remove KeAddTimeoutThread
Beginnings of debug handling
Fixes for contiguous memory allocation
Cancel the thread timer before termination

svn path=/trunk/; revision=1709
2001-03-18 19:35:14 +00:00
Emanuele Aliberti
01846dd237 Stubs for LookupPrivilege* added.
svn path=/trunk/; revision=1708
2001-03-17 22:05:25 +00:00
David Welch
5d2401e39c More missing files
svn path=/trunk/; revision=1707
2001-03-17 12:20:13 +00:00
David Welch
1a0448a35b Bug fixes
Started work on exception handling

svn path=/trunk/; revision=1706
2001-03-17 11:11:11 +00:00
David Welch
58fc2c8cf8 Oops, missing files
svn path=/trunk/; revision=1705
2001-03-17 09:43:27 +00:00
David Welch
6fbeba1e7c Moved microkernel to the architecture specific directory
svn path=/trunk/; revision=1704
2001-03-16 23:05:00 +00:00
David Welch
2a613a30c4 Removed obsolete header files
Updated copyright notices

svn path=/trunk/; revision=1703
2001-03-16 18:11:24 +00:00
David Welch
9926c78c7f Removed obsolete file
svn path=/trunk/; revision=1702
2001-03-16 16:23:05 +00:00
David Welch
18015b2244 * include/ddk/zw.h: Corrected declarations of NtCreateProfile,
NtQueryIntervalProfile, NtSetIntervalProfile.
* include/ddk/zwtypes.h: Added definitions of KPROFILE_SOURCE.
* ntoskrnl/include/internal/ke.h: Added the interrupted EIP as a
parameter to KiUpdateSystemTime for profiling purposes.
* ntoskrnl/include/internal/nt: Added declaration for profiling
support initialization.
* ntoskrnl/ke/timer.c (KiUpdateSystemTime, KeExpireTimers): Call
the profiling code on a timer interrupt with the interrupt EIP.
* ntoskrnl/ke/i386/irq.c (KiDispatchInterrupt): Pass the
interrupted EIP to KiUpdateSystemTime.
* ntoskrnl/mm/virtual.c (NtReadVirtualMemory, NtWriteVirtualMemory):
Release the MDLs used properly.
* ntoskrnl/nt/nt.c: Call the profiling support initialization.
* ntoskrnl/nt/ntevent.c (NtCreateEvent): Don't try copying the
ObjectAttributes parameter if it is NULL.
* ntoskrnl/nt/profile.c: Implemented profiling.

svn path=/trunk/; revision=1701
2001-03-16 16:05:34 +00:00
David Welch
18f3b6c58b * ntoskrnl/include/internal/safe.h: Corrected typo.
* ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtQueryEvent):
  Corrected typos.
* ntoskrnl/rtl/mem.c: Missing header file.

svn path=/trunk/; revision=1700
2001-03-16 10:58:47 +00:00
David Welch
22dc9e2a5e * ntoskrnl/include/internal/safe.h: Add definitions for handling
potentially unsafe pointers.

svn path=/trunk/; revision=1699
2001-03-16 09:53:28 +00:00
David Welch
3744b5d4cf * ntoskrnl/include/internal/mm.h: Removed MmSafeCopyToUser and
MmSafeCopyFromUser as source files need these but don't want internal
  mm definitions.
* ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtPulseEvent,
  NtQueryEvent, NtResetEvent, NtSetEvent): Copy data to and from user mode
  safely.
* ntoskrnl/rtl/mem.c (MmCopyToCaller, MmCopyFromCaller): Helper functions
  for copying data to and from potentially unsafe pointers.

svn path=/trunk/; revision=1698
2001-03-16 09:50:38 +00:00
David Welch
549cb5b03d Further fixes
svn path=/trunk/; revision=1697
2001-03-16 00:00:47 +00:00
David Welch
2eb05bdbc5 Further dependency fixes
svn path=/trunk/; revision=1696
2001-03-15 23:41:31 +00:00
David Welch
7244e5bac9 Hopefully final dependencies fixes
svn path=/trunk/; revision=1695
2001-03-15 22:13:50 +00:00
David Welch
e7f98c9000 Missing file
svn path=/trunk/; revision=1694
2001-03-15 20:15:05 +00:00
David Welch
be2ca4fccd Oops, missing files
svn path=/trunk/; revision=1693
2001-03-15 18:52:45 +00:00
David Welch
a068c65d79 Oops, cope if the dependency list is empty
svn path=/trunk/; revision=1692
2001-03-15 18:49:17 +00:00
David Welch
c3c30d0692 Further dependency tracking fixes
svn path=/trunk/; revision=1691
2001-03-15 18:37:29 +00:00
David Welch
6fc1bdc912 Merge adjacent free blocks in the non-paged pool
Don't print the timer tick count to the screen

svn path=/trunk/; revision=1690
2001-03-14 23:19:14 +00:00
David Welch
d12635ff66 Remove part of the script
svn path=/trunk/; revision=1689
2001-03-14 16:36:26 +00:00
David Welch
5e5862c7fe More dependency fixes
svn path=/trunk/; revision=1688
2001-03-14 16:30:08 +00:00
David Welch
fc5f4ae9a5 Some work on portabilitity
svn path=/trunk/; revision=1687
2001-03-14 00:21:22 +00:00
David Welch
f7186d4cc3 Disable pool validation by default
svn path=/trunk/; revision=1686
2001-03-13 21:46:43 +00:00
David Welch
fba831e913 Reenable pool validation
svn path=/trunk/; revision=1685
2001-03-13 21:39:47 +00:00
Jason Filby
efbd594370 OLE32 header files from Jurgen Van Gael
svn path=/trunk/; revision=1684
2001-03-13 19:00:13 +00:00
David Welch
33702a0775 Retain reference to file objects so cached data isn't automatically loss
when the last handle is closed

svn path=/trunk/; revision=1683
2001-03-13 17:47:47 +00:00
David Welch
47ea39add9 Represent page-in operations by descriptors
svn path=/trunk/; revision=1682
2001-03-13 16:25:55 +00:00
David Welch
c20f2479b6 Further dependency tracking fixes
svn path=/trunk/; revision=1681
2001-03-12 19:23:48 +00:00
David Welch
7853be9c86 Escape '\' on UNIX
svn path=/trunk/; revision=1680
2001-03-12 17:32:54 +00:00
David Welch
6ea1527cfc Fixes for dependency tracking
svn path=/trunk/; revision=1679
2001-03-12 16:10:57 +00:00
David Welch
d520a12907 Close section handle after NtCreateProces in KERNEL32.CreateProcess
Cleanup after file object dereference
Cleanup after section object dereference

svn path=/trunk/; revision=1678
2001-03-09 14:40:28 +00:00
David Welch
6e9d388644 Reverted broken code
svn path=/trunk/; revision=1677
2001-03-08 22:48:42 +00:00
David Welch
6e89a9d21c Proper cleanup after processes
svn path=/trunk/; revision=1676
2001-03-08 22:06:02 +00:00
Carl Nettelblad
03e327f37f Current directory now always with correct casing.
svn path=/trunk/; revision=1675
2001-03-07 22:29:09 +00:00
David Welch
c5cdaa420a More .cvsignore files
svn path=/trunk/; revision=1674
2001-03-07 16:55:42 +00:00
David Welch
c706428a2b Added tagging of most allocates
Added facility to print out newly allocated blocks from the non paged pool

svn path=/trunk/; revision=1673
2001-03-07 16:48:45 +00:00
Eric Kohl
05428a2fea Added request routine for IRP_MJ_CLEANUP
svn path=/trunk/; revision=1672
2001-03-07 13:44:41 +00:00
David Welch
3073e95ed9 Print out the contents of the non-paged pool on SysRq+'A'
Bug fixes

svn path=/trunk/; revision=1671
2001-03-07 08:57:09 +00:00
Carl Nettelblad
f665b3f2f4 FILE_NAME_INFORMATION, returning correct casing thanks to changes in create.c
svn path=/trunk/; revision=1670
2001-03-06 23:36:35 +00:00
Carl Nettelblad
29552067b3 NtQueryObject in early test version and reorganization of NtQueryInformationFile.
svn path=/trunk/; revision=1669
2001-03-06 23:34:39 +00:00
Carl Nettelblad
870a302f96 Restoring NDEBUG flag again.
svn path=/trunk/; revision=1668
2001-03-06 23:31:44 +00:00
Carl Nettelblad
9e66717a35 Storing the real casing of names internally.
svn path=/trunk/; revision=1667
2001-03-06 23:28:42 +00:00
David Welch
43038e9c15 Hide dependency files
Wildcard characters are illegal in filenames

svn path=/trunk/; revision=1666
2001-03-06 17:28:25 +00:00
David Welch
e87e6d58ee And again.
svn path=/trunk/; revision=1665
2001-03-06 14:52:58 +00:00
David Welch
971b171d02 Minor dependency tracking fixes
svn path=/trunk/; revision=1664
2001-03-06 14:51:07 +00:00
David Welch
044ab2b0df Automatic dependency tracking
svn path=/trunk/; revision=1663
2001-03-06 14:41:18 +00:00
Eric Kohl
2d5f3d1c74 Fixed typos
Added more safety checks
Minor cleanup

svn path=/trunk/; revision=1662
2001-03-06 08:19:58 +00:00
Carl Nettelblad
de10767975 Additional fixes.
svn path=/trunk/; revision=1661
2001-03-06 06:20:36 +00:00
Eric Kohl
2ec9eaf736 Increased number of busy retries
svn path=/trunk/; revision=1660
2001-03-04 00:46:46 +00:00
Carl Nettelblad
d5d8d819b8 Reflecting changes in crtdll.
svn path=/trunk/; revision=1659
2001-03-03 13:28:28 +00:00
Carl Nettelblad
afe0e9f601 Fragmented directories and crosslinking related fixes.
svn path=/trunk/; revision=1658
2001-03-02 15:59:16 +00:00
Carl Nettelblad
d3e61a64dd Fixes for cmd copy command.
svn path=/trunk/; revision=1657
2001-03-02 15:45:31 +00:00
Eric Kohl
5149f0d29a Some atom prototype fixes
svn path=/trunk/; revision=1656
2001-03-01 15:36:34 +00:00
Eric Kohl
bf9d9a12e7 Fix for RtlUnicodeStringToInteger
svn path=/trunk/; revision=1655
2001-03-01 15:30:36 +00:00
David Welch
574a1b82f4 Changed wildcare handling (Carl Nettelblad)
svn path=/trunk/; revision=1654
2001-03-01 13:46:22 +00:00
David Welch
a2329a46e9 Fixed from Carl Nettelblad
svn path=/trunk/; revision=1653
2001-03-01 07:48:17 +00:00
Phillip Susi
c9a6908fb9 Fixed crash on help command, due to a buffer overflow. Thanks to jim4
svn path=/trunk/; revision=1652
2001-02-28 23:51:58 +00:00
Eric Kohl
ea6cacb6ed Various improvements by Carl Nettelblad.
svn path=/trunk/; revision=1651
2001-02-28 22:33:23 +00:00
David Welch
80ec0821f8 Allow allocating aligned, contiguous memory
svn path=/trunk/; revision=1650
2001-02-28 18:23:32 +00:00
Casper Hornstrup
327980fe31 Return affinity in HalpGetSystemInterruptVector
svn path=/trunk/; revision=1649
2001-02-25 12:54:37 +00:00
Casper Hornstrup
85e1649fc4 Fix for RtlUnicodeStringToInteger
svn path=/trunk/; revision=1648
2001-02-25 12:51:43 +00:00
Eric Kohl
c3dc053ba2 Fixed a horrible typo :-)
svn path=/trunk/; revision=1647
2001-02-22 23:46:45 +00:00
Eric Kohl
3121974d42 Implemented forwarded exports in kernel-mode
svn path=/trunk/; revision=1646
2001-02-21 18:19:19 +00:00
David Welch
c1c75ffd5e Fix from Mike Lerwill for KeStallExecutionProcessor
svn path=/trunk/; revision=1645
2001-02-20 14:43:46 +00:00
David Welch
15445cf1c8 Corrected va_arg bugs
Don't require c++ for compilation
Make sure the various stddef.h headers are kept seperate

svn path=/trunk/; revision=1644
2001-02-19 15:04:51 +00:00
David Welch
ac82b90278 Fix for memory management issue.
svn path=/trunk/; revision=1643
2001-02-18 22:16:05 +00:00
Phillip Susi
24fea578c1 Updated instructions
svn path=/trunk/; revision=1642
2001-02-18 21:35:21 +00:00
David Welch
209d2a0bdd Removed timer app
svn path=/trunk/; revision=1641
2001-02-18 21:04:09 +00:00
Phillip Susi
835e5e69e5 Ignore csrss.coff
svn path=/trunk/; revision=1640
2001-02-18 20:15:14 +00:00
Phillip Susi
dae0efdd4a Ignore keyboard.coff, keyboard.sys.unstripped
svn path=/trunk/; revision=1639
2001-02-18 20:11:41 +00:00
Phillip Susi
fd25f6dae0 Ignore vfatfs.coff
svn path=/trunk/; revision=1638
2001-02-18 20:10:32 +00:00
Phillip Susi
c57a9b4991 Ignore vidport.coff
svn path=/trunk/; revision=1637
2001-02-18 20:07:41 +00:00
Phillip Susi
2b3a1f40c1 Ignore vgamp.coff
svn path=/trunk/; revision=1636
2001-02-18 19:58:41 +00:00
Phillip Susi
689a632cf7 Ignore vgaddi.coff, vgaddi.dll
svn path=/trunk/; revision=1635
2001-02-18 19:56:14 +00:00
Phillip Susi
b65738db8d Ignore ide.sys.unstripped
svn path=/trunk/; revision=1634
2001-02-18 19:55:17 +00:00
Phillip Susi
4546061999 Ignore floppy.sys.unstripped
svn path=/trunk/; revision=1633
2001-02-18 19:54:37 +00:00
Phillip Susi
20612fed4c Ignore blue.sys.unstripped
svn path=/trunk/; revision=1632
2001-02-18 19:53:37 +00:00
Phillip Susi
99529fbb93 Missing .cvsignore
svn path=/trunk/; revision=1631
2001-02-18 19:47:42 +00:00
Phillip Susi
e9143b26d7 Fixes to waitable timer implementation
svn path=/trunk/; revision=1630
2001-02-18 19:43:15 +00:00
Phillip Susi
3d4886b292 Switched to using waitable timers instead of Sleep(), gives more accurate time cycles, also added some small optimizations
svn path=/trunk/; revision=1629
2001-02-18 19:31:38 +00:00
Emanuele Aliberti
349ae0c799 CMD: implemented IF [NOT] DEFINED variable command
CMD: fixed IF NOT EXIST file command

svn path=/trunk/; revision=1628
2001-02-18 18:51:46 +00:00
David Welch
f827a8f124 Fixed reference counting of page tables
Don't print addresses that aren't in the text segment of a module

svn path=/trunk/; revision=1627
2001-02-18 17:43:32 +00:00
Eric Kohl
d458692c89 Removed obsolete code
svn path=/trunk/; revision=1626
2001-02-17 17:42:46 +00:00
Eric Kohl
65a803db11 Added missing RtlGetProcessHeaps() prototype
svn path=/trunk/; revision=1625
2001-02-17 17:40:05 +00:00
Eric Kohl
0e40521339 Fixed timer access right
svn path=/trunk/; revision=1624
2001-02-17 00:07:49 +00:00
Eric Kohl
9f2db0a1d2 Established forwarded exports and removed superfluous functions
svn path=/trunk/; revision=1623
2001-02-17 00:02:32 +00:00
David Welch
beae346469 Changed irq handler from C to assembler
Began work on holding information about active page operations

svn path=/trunk/; revision=1622
2001-02-16 18:32:20 +00:00
David Welch
727b62c27f Fixed MmProbeAndLockPages issues pointed out by Philip Susi
svn path=/trunk/; revision=1621
2001-02-14 02:53:54 +00:00
Phillip Susi
07142de752 Darnit, don't override the rules.mak rule for building resources
svn path=/trunk/; revision=1620
2001-02-12 03:50:00 +00:00
Eric Kohl
933ff9a467 Changed version information for 0.0.17
svn path=/trunk/; revision=1619
2001-02-11 15:02:48 +00:00
Eric Kohl
b91cda60d8 RtlInitializeCriticalSection() returns NTSTATUS
svn path=/trunk/; revision=1618
2001-02-11 00:15:56 +00:00
David Welch
9359db14a0 Section and general memory manager enhancements including COW
svn path=/trunk/; revision=1617
2001-02-10 22:51:11 +00:00
Eric Kohl
29c4727f7a Preliminary command line fix
svn path=/trunk/; revision=1616
2001-02-10 22:30:21 +00:00
Eric Kohl
6922d2a9e5 GetModuleFileName[A/W] must cope with NULL module handles
svn path=/trunk/; revision=1615
2001-02-10 22:29:35 +00:00
Eric Kohl
af68ad91d4 Preparations for use of forwarded exports
svn path=/trunk/; revision=1614
2001-02-10 22:26:26 +00:00
Eric Kohl
03fd77240f Fixed typos
svn path=/trunk/; revision=1613
2001-02-10 22:23:30 +00:00
Emanuele Aliberti
b611b79b36 KERNEL32.GetProcessVersion partial implementation.
KERNEL32.GetSystemInfo about finished.

svn path=/trunk/; revision=1612
2001-02-10 22:01:50 +00:00
Emanuele Aliberti
37361ed1e8 GetProcessVersion prototype missing.
svn path=/trunk/; revision=1611
2001-02-10 22:00:20 +00:00
Eric Kohl
41280eeeb5 Implemented handling of forwarded exports
svn path=/trunk/; revision=1610
2001-02-10 10:04:39 +00:00
David Welch
c87bd2d365 More FAT32 fixes
svn path=/trunk/; revision=1609
2001-02-06 20:17:35 +00:00
David Welch
c93d52a405 Use import hint if present
svn path=/trunk/; revision=1608
2001-02-06 05:50:50 +00:00
Phillip Susi
ae14d5ffc6 If APC routines are supposed to be STDCALL, then they should all be, and a lot of code needs fixed. Because all of the existing code seems to not use STDCALL, neither should the normal routine. This was causing ntoskrnl to fail to compile
svn path=/trunk/; revision=1607
2001-02-06 05:12:42 +00:00
Phillip Susi
501fee0d15 Fixed makefile to use default rule for building resources, and fixed resource includes to use paths relative to the include dir given to windres by rules.mak
svn path=/trunk/; revision=1606
2001-02-06 03:58:34 +00:00
David Welch
bcc1b4e9a5 Implemented binary search of the export tables
svn path=/trunk/; revision=1605
2001-02-06 02:03:35 +00:00
David Welch
b2fe7525bf Reads of the FAT on FAT32 filesystems go through the cache, writes are
disabled

svn path=/trunk/; revision=1604
2001-02-06 00:41:19 +00:00
David Welch
076c1c6ac3 Fixed timer code
Fixed NtClose return in case of error
Added new APC-like primitive for terminating threads
Fixed restriction on size of working set

svn path=/trunk/; revision=1603
2001-02-06 00:11:20 +00:00
Phillip Susi
ae6b859854 Fixed clock increment for 10ms clock, and bug in computing relative time
svn path=/trunk/; revision=1602
2001-02-05 02:31:04 +00:00
Eric Kohl
fef0ed0d35 Implemented KeRemoveQueueApc() (not exported).
Implemented timer object.

svn path=/trunk/; revision=1601
2001-02-04 17:28:13 +00:00
Eric Kohl
543839bcee Implemented ObOpenObjectByPointer().
svn path=/trunk/; revision=1600
2001-02-03 23:25:06 +00:00
Eric Kohl
2a2b027dc1 Fixed command line size
Added workaround for broken command line support

svn path=/trunk/; revision=1599
2001-02-03 10:40:19 +00:00
Eric Kohl
62d9e11763 Reduced command line size in ReactOS mode
svn path=/trunk/; revision=1598
2001-02-03 10:37:51 +00:00
Eric Kohl
a7772a9954 Fixed command line size
svn path=/trunk/; revision=1597
2001-02-03 10:36:11 +00:00
Jason Filby
a34348ef4e *** empty log message ***
svn path=/trunk/; revision=1596
2001-02-03 10:29:54 +00:00
jean
47f77fa056 oops! leave make a pop, and caller of alloca make esp = esp +16.
svn path=/trunk/; revision=1595
2001-02-03 10:28:28 +00:00
Jason Filby
766ded4e0f Corrected line feeds so that DOS can run the .bat
svn path=/trunk/; revision=1594
2001-02-03 10:28:14 +00:00
Eric Kohl
ec9ef6951c Added access right mapping
Fixed access rights

svn path=/trunk/; revision=1593
2001-02-02 20:49:40 +00:00
jean
5f529d5a90 *** empty log message ***
svn path=/trunk/; revision=1592
2001-02-01 16:51:03 +00:00
jean
65249c23ae correct some bugs in spawn... functions
svn path=/trunk/; revision=1591
2001-02-01 16:44:19 +00:00
jean
c8f92d26a9 changes in alloca because gcc push only ebp at begin of function
svn path=/trunk/; revision=1590
2001-02-01 16:37:08 +00:00
jean
51c7c6091a fourth argument of WriteConsoleA is mandatory
svn path=/trunk/; revision=1589
2001-02-01 16:30:46 +00:00
Phillip Susi
3c5287c859 Forgot to commit bug fix for LoadString()
svn path=/trunk/; revision=1588
2001-02-01 00:04:44 +00:00
Phillip Susi
ed2b81a1b5 Minor fix
svn path=/trunk/; revision=1587
2001-01-31 03:03:20 +00:00
Phillip Susi
2965b6c9d7 Had to rearange some structure members
svn path=/trunk/; revision=1586
2001-01-31 02:27:04 +00:00
Phillip Susi
79c82716fa Bug fixes and redesign of a few ioctls
svn path=/trunk/; revision=1585
2001-01-31 02:24:46 +00:00
Phillip Susi
20916cab69 A few bug fixes
svn path=/trunk/; revision=1584
2001-01-31 02:23:52 +00:00
Phillip Susi
b93435c7db Bug fixes and speedup
svn path=/trunk/; revision=1583
2001-01-31 02:22:09 +00:00
Eric Kohl
1416a36841 Corrected unknown parameter
Added ObOpenObjectByPointer() stub

svn path=/trunk/; revision=1582
2001-01-29 00:32:13 +00:00
Emanuele Aliberti
7bfcc9b94c Stubs for some new LPC functions (w2k).
Added some base checking in NtCreatePort's parameters.

svn path=/trunk/; revision=1581
2001-01-29 00:13:22 +00:00
Eric Kohl
17b93d7d9b Added mapping of access rights
Removed user-mode types

svn path=/trunk/; revision=1580
2001-01-28 21:37:37 +00:00
Eric Kohl
c06ef435fb Added mapping of access rights
svn path=/trunk/; revision=1579
2001-01-28 17:42:56 +00:00
Eric Kohl
6c726dfe40 Added mapping of access rights
Improved 'open' function

svn path=/trunk/; revision=1578
2001-01-28 15:17:52 +00:00
Eric Kohl
9331d6391e Added mapping of access rights
svn path=/trunk/; revision=1577
2001-01-28 15:13:11 +00:00
Eric Kohl
d4850da19d Fixed a compiler warning
svn path=/trunk/; revision=1576
2001-01-28 01:20:20 +00:00
Emanuele Aliberti
ff1de6a212 Simple W32 telnet client.
Version resource added to ping and roshttpd.

svn path=/trunk/; revision=1575
2001-01-27 22:38:43 +00:00
Eric Kohl
5786d70e39 Fixed _iob bug
svn path=/trunk/; revision=1574
2001-01-27 20:56:44 +00:00
Eric Kohl
dc0568827a Fixed timer issues
svn path=/trunk/; revision=1573
2001-01-27 19:35:04 +00:00
Phillip Susi
2d87dedf3e OOps... that was already defined elsewhere...
svn path=/trunk/; revision=1572
2001-01-26 05:24:17 +00:00
jean
fb75aa1293 changes in _iob
svn path=/trunk/; revision=1571
2001-01-25 19:01:16 +00:00
jean
03832de6e4 *** empty log message ***
svn path=/trunk/; revision=1570
2001-01-25 18:59:49 +00:00
jean
12e9069480 correct some arguments for CreateFile
svn path=/trunk/; revision=1569
2001-01-25 18:55:33 +00:00
jean
98414449d5 *** empty log message ***
svn path=/trunk/; revision=1568
2001-01-25 18:51:26 +00:00
Phillip Susi
dee175afca Added LoadString() stringtable resource support
svn path=/trunk/; revision=1567
2001-01-25 05:39:31 +00:00
Phillip Susi
74e0c4a781 A few more console fixes
svn path=/trunk/; revision=1566
2001-01-25 05:37:03 +00:00
Phillip Susi
a6a0f5ae18 Added declarations for waitable timer functions
svn path=/trunk/; revision=1565
2001-01-25 05:36:21 +00:00
Phillip Susi
1ec1a6741c Fixed backwards parameters in FindResource()
svn path=/trunk/; revision=1564
2001-01-25 02:20:05 +00:00
Phillip Susi
a9527291d6 Fixed backspace handling
svn path=/trunk/; revision=1563
2001-01-24 05:13:12 +00:00
Phillip Susi
3943df51ea Fixed broken console code
svn path=/trunk/; revision=1562
2001-01-24 05:11:21 +00:00
Phillip Susi
89e2e7a616 Fixed kernel loader code also to handle uninitialized sections
svn path=/trunk/; revision=1561
2001-01-24 04:43:54 +00:00
Phillip Susi
207393f045 Both GetModuleHandleA and GetModuleHandleW need to handle NULL module name
svn path=/trunk/; revision=1560
2001-01-24 04:41:58 +00:00
Eric Kohl
42d7089e72 Removed fixed stack base address
svn path=/trunk/; revision=1559
2001-01-23 09:58:12 +00:00
Phillip Susi
6579aafa03 Undoing last commit, causes kernel to crash on boot. David, any idea why?
svn path=/trunk/; revision=1558
2001-01-23 04:46:08 +00:00
Phillip Susi
b6593ffc1b Fixed loader bug with uninitialized sections
svn path=/trunk/; revision=1557
2001-01-23 04:37:13 +00:00
Casper Hornstrup
e6c8459347 no message
svn path=/trunk/; revision=1556
2001-01-21 21:04:53 +00:00
Phillip Susi
782b28151b Applied David Welsh's fix for getting physical address from specified process instead of current one here as well
svn path=/trunk/; revision=1555
2001-01-21 19:00:59 +00:00
David Welch
10f230ae0a Fixed bug in NtFreeVirtualMemory reported by Philip Susi
Added all thread information classes
Began work on fixing suspend/resume

svn path=/trunk/; revision=1554
2001-01-21 14:54:30 +00:00
Phillip Susi
3f694e507f Keyboard driver should not translate \r to \n
svn path=/trunk/; revision=1553
2001-01-21 00:13:41 +00:00
Phillip Susi
f353289fba Reworked console code to use frame buffers and input queues
svn path=/trunk/; revision=1552
2001-01-21 00:11:54 +00:00
Phillip Susi
5d6f1d7dfa Added InterlockedXXX functions, probobly should use a different name
svn path=/trunk/; revision=1551
2001-01-21 00:09:05 +00:00
Phillip Susi
5c0fb84170 New console client support
svn path=/trunk/; revision=1550
2001-01-21 00:07:03 +00:00
Phillip Susi
b360ee177d Fixed a few bugs and enhanced performance
svn path=/trunk/; revision=1549
2001-01-21 00:05:53 +00:00
Eric Kohl
0f09a6d59c Added services.exe to boot sequence
svn path=/trunk/; revision=1548
2001-01-20 19:01:37 +00:00
Eric Kohl
03be08974e Added services.exe to boot sequence
svn path=/trunk/; revision=1547
2001-01-20 18:40:27 +00:00
Eric Kohl
300201892a Fixed severe bug in CreateEventW()
Implemented use of "\BaseNamedObjects" directory

svn path=/trunk/; revision=1546
2001-01-20 18:37:58 +00:00
Eric Kohl
86c7503953 Implemented ObOpenObjectByName()
svn path=/trunk/; revision=1545
2001-01-20 18:34:34 +00:00
Eric Kohl
3676b49d28 Completed mutex and semaphore implementation
Enabled some global memory functions

svn path=/trunk/; revision=1544
2001-01-20 12:20:43 +00:00
David Welch
703924d130 (Finally) implemented Philip Susi's suggestion for non-counting block
Moved suspend/resume code to seperate file

svn path=/trunk/; revision=1543
2001-01-19 15:09:01 +00:00
Eric Kohl
e443f083f2 Implemented system module Information
Got rid of cryptic driver names

svn path=/trunk/; revision=1542
2001-01-18 16:55:00 +00:00
jean
fd4c82a289 suppress use of FILE_READ_xx and FILE_WRITE_xxx defines.
not available for CreateFile ?

svn path=/trunk/; revision=1541
2001-01-18 15:04:06 +00:00
David Welch
a8660c1f02 Fixes for problems with NtReplyWaitReceive and KeWaitForSingleObject
svn path=/trunk/; revision=1540
2001-01-18 15:00:09 +00:00
jean
3116ca9df2 correct _environ assignment, because it's an array of pointers
and GetEnvironmentString return a pointer.

svn path=/trunk/; revision=1539
2001-01-18 14:43:25 +00:00
jean
d2833af32c incorrect use of FILE_xxx defines, not avalaible for CreateFile ?
svn path=/trunk/; revision=1538
2001-01-18 13:54:03 +00:00
jean
20ee4eb9a7 changes due to correction in ../misc/dllmain.c
for update of environ when calling putenv.

svn path=/trunk/; revision=1537
2001-01-18 13:25:33 +00:00
jean
7863eef29d *** empty log message ***
svn path=/trunk/; revision=1536
2001-01-18 13:23:26 +00:00
jean
d6e19c5407 correct environ affectation : it's an array of pointers
, and GetEnvironmentStrings return a pointer.

svn path=/trunk/; revision=1535
2001-01-18 13:21:51 +00:00
jean
a1da8a3ac2 *** empty log message ***
svn path=/trunk/; revision=1534
2001-01-18 13:18:05 +00:00
Emanuele Aliberti
efd7d3cbd8 Bootstrap title and short licence banner reformatted.
Please say your opinion about it.
Should the title line ("Starting ReactOS...") be the 1st line on the blue screen?

svn path=/trunk/; revision=1533
2001-01-17 19:07:13 +00:00
Emanuele Aliberti
394b6b568c Log file names macros added.
svn path=/trunk/; revision=1532
2001-01-17 19:04:15 +00:00
jean
824df27238 ibetter clean
svn path=/trunk/; revision=1531
2001-01-17 17:14:34 +00:00
jean
fcca9be111 better clean
svn path=/trunk/; revision=1530
2001-01-17 17:01:38 +00:00
David Welch
7a3409d80c Multiboot fixes
svn path=/trunk/; revision=1529
2001-01-17 15:38:03 +00:00
Eric Kohl
695a57cff6 Implemented SystemDeviceInformation info class
svn path=/trunk/; revision=1528
2001-01-17 02:02:39 +00:00
David Welch
0d8b4e3da6 FAT12 fixes
svn path=/trunk/; revision=1527
2001-01-16 23:22:03 +00:00
Phillip Susi
7b0b7c5396 Fixed bug with screen buffers larger than console window ( i.e. scrollback buffers )
svn path=/trunk/; revision=1526
2001-01-16 20:58:58 +00:00
David Welch
643441de17 Removed debugging prints
svn path=/trunk/; revision=1525
2001-01-16 15:43:42 +00:00
David Welch
25dc208536 Fix bug in MmAllocateContinuousPages spotted by Philip Susi
Fixed compilation bugs in roshttpd
Work on write support (still not working)

svn path=/trunk/; revision=1524
2001-01-16 09:55:02 +00:00
jean
7887cc9965 *** empty log message ***
svn path=/trunk/; revision=1523
2001-01-15 15:46:04 +00:00
jean
352d348f09 correct crash when running DllMain
svn path=/trunk/; revision=1522
2001-01-15 15:40:58 +00:00
Emanuele Aliberti
2faa9c1b95 Copyright string updated.
svn path=/trunk/; revision=1521
2001-01-14 23:27:36 +00:00
Emanuele Aliberti
db38d666da SYSTEMTIME type replaced by TIME.
svn path=/trunk/; revision=1520
2001-01-14 20:56:48 +00:00
Emanuele Aliberti
a04660d2b0 tz command fixed (info class 44).
svn path=/trunk/; revision=1519
2001-01-14 20:16:37 +00:00
Emanuele Aliberti
01531797b4 SYSTEM_TIME_ZONE_INFORMATION added.
svn path=/trunk/; revision=1518
2001-01-14 20:06:20 +00:00
Emanuele Aliberti
4a354f1128 FLG decoding added.
svn path=/trunk/; revision=1517
2001-01-14 19:59:43 +00:00
Emanuele Aliberti
a3a116651b FLG macros added.
svn path=/trunk/; revision=1516
2001-01-14 19:58:58 +00:00
Casper Hornstrup
52f51dc4b9 Small HTTP daemon
svn path=/trunk/; revision=1515
2001-01-14 18:35:17 +00:00
Casper Hornstrup
05ccbb2696 Some work on winsock stack
svn path=/trunk/; revision=1514
2001-01-14 17:44:38 +00:00
Eric Kohl
2dd3473a90 Added some hal functions
svn path=/trunk/; revision=1513
2001-01-14 15:36:55 +00:00
Eric Kohl
eaeab91ab2 Print driver names on initialization
svn path=/trunk/; revision=1512
2001-01-14 15:30:47 +00:00
Eric Kohl
7efa62275f Added shutdown description
svn path=/trunk/; revision=1511
2001-01-14 15:28:50 +00:00
Eric Kohl
36c7b523ee Fixed 'clean' rule
svn path=/trunk/; revision=1510
2001-01-14 15:27:15 +00:00
David Welch
eda06227b3 More small cluster size fixes
svn path=/trunk/; revision=1509
2001-01-14 15:05:53 +00:00
Emanuele Aliberti
51772d486a ADVAPI32.LookupAccountSidA and ADVAPI32.LookupAccountSidW stubs added.
svn path=/trunk/; revision=1508
2001-01-14 12:15:19 +00:00
Nedko Arnaudov
bf1b057da3 no message
svn path=/trunk/; revision=1507
2001-01-13 23:55:37 +00:00
David Welch
15491f14dd Fix for vfatfs on volumes with smaller cluster sizes
svn path=/trunk/; revision=1506
2001-01-13 18:38:09 +00:00
Emanuele Aliberti
df75bd846f PE image file dumper, by Sang Cho, adapted to ROS (wip).
svn path=/trunk/; revision=1505
2001-01-13 18:19:23 +00:00
Emanuele Aliberti
5d04b18c15 Obsolete regnav removed.
qsi updated (still wip).
Minor changes.

svn path=/trunk/; revision=1504
2001-01-13 18:17:17 +00:00
David Welch
d2b9b6d912 Removed use of intermediate buffering when reading from the cache
svn path=/trunk/; revision=1503
2001-01-13 12:40:21 +00:00
David Welch
e371c33d76 Removed debugging code from NTDLL loader
Make sure there is a space between the boot device and the kernel command
line
Vfat fixes

svn path=/trunk/; revision=1502
2001-01-12 21:00:08 +00:00
Phillip Susi
1c655ae05a Fixed compilation error with symbols _environ/_environ_dll
svn path=/trunk/; revision=1501
2001-01-11 02:38:34 +00:00
Nedko Arnaudov
1688a8d7c5 no message
svn path=/trunk/; revision=1500
2001-01-10 01:25:29 +00:00
David Welch
48b5533bd5 Some memory manager cleanups
Hopefully fixed vfat fsd reported by Philip Susi
FAT lookups go through cache

svn path=/trunk/; revision=1499
2001-01-08 02:14:06 +00:00
Eric Kohl
21c3a954d0 Updated 'clean' rule (added missing directories)
svn path=/trunk/; revision=1498
2001-01-07 18:45:21 +00:00
Eric Kohl
624869c3c3 Added some more runtime functions
svn path=/trunk/; revision=1497
2001-01-07 03:00:32 +00:00
Eric Kohl
8fe6e74b25 Indicate loading process by dots (in non-debug mode only)
svn path=/trunk/; revision=1496
2001-01-07 02:56:20 +00:00
Rex Jolliff
b12b25cd3d Fixed a bug in partition chain handling
svn path=/trunk/; revision=1495
2001-01-06 23:25:35 +00:00
Rex Jolliff
e4b73aa914 Fixed a problem with command line parsing
svn path=/trunk/; revision=1494
2001-01-06 21:40:13 +00:00
Eric Kohl
66aa4c41db Added some more functions
Got rid of spec file

svn path=/trunk/; revision=1493
2001-01-06 15:49:53 +00:00
Phillip Susi
83463a35cc Export SetLastErrorByStatus()
svn path=/trunk/; revision=1492
2001-01-05 05:39:18 +00:00
Eric Kohl
58f7f41275 Implemented NtSignalAndWaitForSingleObject()
svn path=/trunk/; revision=1491
2001-01-02 00:47:08 +00:00
David Welch
240c9da1da The VFAT filesystem driver now goes through the cache for reads, writing
is disabled.

svn path=/trunk/; revision=1490
2001-01-01 04:42:12 +00:00
David Welch
9e386e114c Fix for compilation bug
svn path=/trunk/; revision=1489
2000-12-30 04:19:42 +00:00
Eric Kohl
138b30dd40 Added HalAllocateAdapterChannel()
svn path=/trunk/; revision=1488
2000-12-30 01:41:52 +00:00
David Welch
ed20b9b6ba Implemented MmAllocateContinuousMemory
VFAT driver cleanups

svn path=/trunk/; revision=1487
2000-12-29 23:17:12 +00:00
Eric Kohl
1f1ae27105 Added / moved exception support functions
svn path=/trunk/; revision=1486
2000-12-29 13:49:15 +00:00
Eric Kohl
380b1db222 Implemented shutdown routine dummy
svn path=/trunk/; revision=1485
2000-12-29 13:45:01 +00:00
Eric Kohl
65c77b52d6 Implemented fsd shutdown support
svn path=/trunk/; revision=1484
2000-12-29 13:43:13 +00:00
Eric Kohl
66f91ccbf9 Fixed some undocumented functions and types
svn path=/trunk/; revision=1483
2000-12-28 20:38:28 +00:00
jean
7bd40a855a copy some functions from crtdll
svn path=/trunk/; revision=1482
2000-12-28 11:57:10 +00:00
jean
43999c2a2d copy of some functions from crtdll
svn path=/trunk/; revision=1481
2000-12-28 11:43:07 +00:00
jean
7a974c0294 *** empty log message ***
svn path=/trunk/; revision=1480
2000-12-28 11:39:33 +00:00
David Welch
0fc13a01ee Implemented /Device/PhysicalMemory
Corrected an LPC bug when terminating a process with threads waiting for
LPC messages

svn path=/trunk/; revision=1479
2000-12-28 03:38:08 +00:00
David Welch
7f10630ab4 Disable testing code
svn path=/trunk/; revision=1478
2000-12-26 05:34:27 +00:00
David Welch
390fd4f1fb Added support for calling BIOS functions
Partially implemented VideoPortInt10

svn path=/trunk/; revision=1477
2000-12-26 05:32:44 +00:00
David Welch
3b50cd9ca9 Fixed compilation bug
svn path=/trunk/; revision=1476
2000-12-24 03:35:54 +00:00
David Welch
8445b12452 All task switching is done in software.
Beginnings of v86 mode support.
Corrected locking bug when terminating multithreaded process.

svn path=/trunk/; revision=1475
2000-12-23 02:37:41 +00:00
Emanuele Aliberti
b6c91b703e _itow, _ltow, _ultow added to crtdll.
*** TO BE TESTED ***

svn path=/trunk/; revision=1474
2000-12-22 23:20:15 +00:00
Eric Kohl
91bcb7413f Implemented NtResumeThread() and NtSuspendThread()
Cleanup

svn path=/trunk/; revision=1473
2000-12-22 13:37:41 +00:00
Eric Kohl
64ba922c19 Implemented NtResumeThread() and NtSuspendThread()
Cleanup

svn path=/trunk/; revision=1472
2000-12-22 13:32:06 +00:00
jean
90beca63cb begin implementation of memory detection
svn path=/trunk/; revision=1471
2000-12-20 18:44:20 +00:00
Emanuele Aliberti
c6010e401e Version resource added to the command line utilities more, tee, and y.
svn path=/trunk/; revision=1470
2000-12-19 23:06:20 +00:00
Rex Jolliff
72e967e710 Fixed a problem with install rule
svn path=/trunk/; revision=1469
2000-12-19 20:20:16 +00:00
Eric Kohl
a391eec94c Implemented some verify functions.
svn path=/trunk/; revision=1468
2000-12-11 18:20:02 +00:00
David Welch
488f0ac078 Some work on file caching
Some work on the minix filesystem
Some work on v86 mode support
Implemented NtGetContextThread

svn path=/trunk/; revision=1467
2000-12-10 23:42:01 +00:00
Eric Kohl
4ac4987dd2 Implemented some verify functions.
svn path=/trunk/; revision=1466
2000-12-10 19:15:45 +00:00
Emanuele Aliberti
6d9f357735 Cleaning up before moving psxss to subsys/psx/server .
svn path=/trunk/; revision=1465
2000-12-10 16:57:07 +00:00
Emanuele Aliberti
1439a96e69 Cleaning up before moving psxdll in subsys/psx/client .
svn path=/trunk/; revision=1464
2000-12-10 16:44:50 +00:00
Emanuele Aliberti
7235c776e4 I added the -p option to make buildno simply print the current build number,
but not generate the reactos/buildno.h file.

svn path=/trunk/; revision=1463
2000-12-10 16:23:15 +00:00
Emanuele Aliberti
6faae58d64 Updated to be a proper secur32.dll version resource.
Still missing a proper description: where is secur32.dll from?

svn path=/trunk/; revision=1462
2000-12-09 22:37:14 +00:00
Phillip Susi
b2b12a1d09 Opps... can't just return from a native thread proc, have to TerminateProcess()
svn path=/trunk/; revision=1461
2000-12-09 06:29:29 +00:00
Phillip Susi
8bdd137c8f RtlCreateUserProcess was not checking for failure of mapping the executable file and returning that error
svn path=/trunk/; revision=1460
2000-12-09 04:34:52 +00:00
Casper Hornstrup
af9693f4da Fixed typo.
svn path=/trunk/; revision=1459
2000-12-08 22:09:17 +00:00
Casper Hornstrup
d3f5f7862f Fixed bug that caused a crash when creating an unnamed semaphore.
svn path=/trunk/; revision=1458
2000-12-08 22:08:02 +00:00
jean
4dc42b4202 SUPERSEDE implemented
svn path=/trunk/; revision=1457
2000-12-08 17:12:43 +00:00
Eric Kohl
2af149a27c Replaced hard-coded paths
svn path=/trunk/; revision=1456
2000-12-08 00:45:04 +00:00
Eric Kohl
07127c18af Fixed floppy driver bug!
The floppy controler is now recognized properly!!

svn path=/trunk/; revision=1455
2000-12-08 00:43:45 +00:00
jean
3d521d0a20 LdrFixupImports more verbose when DLL not found.
svn path=/trunk/; revision=1454
2000-12-07 17:00:12 +00:00
jean
02d3c2cb72 bug corrected in updating fat16
erase clusters before use.

svn path=/trunk/; revision=1453
2000-12-07 16:58:42 +00:00
Eric Kohl
d8748695f2 Run winlogon.exe instead of shell.exe
Replaced hard-coded paths

svn path=/trunk/; revision=1452
2000-12-05 18:14:07 +00:00
Eric Kohl
3ab0b1f9a2 Minor fixes
svn path=/trunk/; revision=1451
2000-12-05 18:11:51 +00:00
Eric Kohl
e69d5f4655 Fixed forwarding of current directory string
svn path=/trunk/; revision=1450
2000-12-05 18:08:24 +00:00
jean
a7d8f1c9ab corrected bugs in create operations
svn path=/trunk/; revision=1449
2000-12-05 17:12:16 +00:00
Eric Kohl
564101ab11 Moved system applications
svn path=/trunk/; revision=1448
2000-12-05 02:40:51 +00:00
Eric Kohl
c40c9f88c1 no message
svn path=/trunk/; revision=1447
2000-12-03 20:31:03 +00:00
Eric Kohl
d4ae36c1c5 no message
svn path=/trunk/; revision=1446
2000-12-03 20:29:44 +00:00
Eric Kohl
f01dd17793 Added some functions to msvcrt
svn path=/trunk/; revision=1445
2000-12-03 18:00:07 +00:00
Eric Kohl
a9828950fe Added some functions to msvcrt
svn path=/trunk/; revision=1444
2000-12-03 17:49:41 +00:00
Eric Kohl
b7a9c63dad Some minor fixes
svn path=/trunk/; revision=1443
2000-12-03 17:43:46 +00:00
Eric Kohl
9deb8f01da Fixed compiler warnings
svn path=/trunk/; revision=1442
2000-12-02 02:25:30 +00:00
jean
55feb47d30 added test arg in NtFlushKey
svn path=/trunk/; revision=1441
2000-12-01 12:44:15 +00:00
jean
45fcd58321 corrected bug in writing files : extend files before needed
svn path=/trunk/; revision=1440
2000-12-01 12:41:08 +00:00
jean
7cdd9a1c62 *** empty log message ***
svn path=/trunk/; revision=1439
2000-12-01 12:39:17 +00:00
jean
bd1cb1e820 many bugs corrected
now pass OK tests 1,2,3 and 5 of regtest

svn path=/trunk/; revision=1438
2000-11-27 14:54:28 +00:00
jean
c07ef00211 added test for NtFlushKey
added a loop, allowing to make several tests before exiting.

svn path=/trunk/; revision=1437
2000-11-27 14:21:04 +00:00
jean
e53fb528db correct bug in write operations
svn path=/trunk/; revision=1436
2000-11-23 15:53:37 +00:00
jean
565277e563 *** empty log message ***
svn path=/trunk/; revision=1435
2000-11-21 15:10:15 +00:00
jean
cf1b2d1b6c some changes to prepare write in hive files
svn path=/trunk/; revision=1434
2000-11-21 11:12:27 +00:00
Eric Kohl
716fa2a717 Modified makefiles for use with rcopy
Added a missing prototype

svn path=/trunk/; revision=1433
2000-11-20 19:59:14 +00:00
Eric Kohl
d456e5b838 Fixed bug (or better: typo)
svn path=/trunk/; revision=1432
2000-11-19 22:15:03 +00:00
Eric Kohl
a703d88253 Fixed tls code
svn path=/trunk/; revision=1431
2000-11-19 16:01:29 +00:00
Eric Kohl
41ac59fb91 Added tls bitmap initialization
svn path=/trunk/; revision=1430
2000-11-19 15:59:46 +00:00
Eric Kohl
885e8a3344 Fixed bitmap bug
svn path=/trunk/; revision=1429
2000-11-19 15:58:58 +00:00
Eric Kohl
bd08f2070e Fixed tiny display buglet
svn path=/trunk/; revision=1428
2000-11-19 15:57:27 +00:00
Jason Filby
4b0dec4293 minor fix
svn path=/trunk/; revision=1427
2000-11-16 21:45:54 +00:00
Eric Kohl
143ef3c5b1 Fixed a compiler warning
svn path=/trunk/; revision=1426
2000-11-16 00:32:12 +00:00
jean
575c0c896a bugs corrected
svn path=/trunk/; revision=1425
2000-11-10 15:41:46 +00:00
jean
fb51b0f647 reference/dereference of objects corrected
update time of heap when data changed
some other bugs corrected

svn path=/trunk/; revision=1424
2000-11-10 15:35:40 +00:00
Eric Kohl
93647509cc Fixed some system information stuff
svn path=/trunk/; revision=1423
2000-11-04 13:52:12 +00:00
Eric Kohl
3f82e28a32 Fixed compiler warning
svn path=/trunk/; revision=1422
2000-11-04 13:48:11 +00:00
Eric Kohl
e7f86f45fb Fixed linker warning about missing _NtProcessStartup()
svn path=/trunk/; revision=1421
2000-11-01 12:45:53 +00:00
Jason Filby
55a9a7623e minor fixes
svn path=/trunk/; revision=1420
2000-10-25 13:09:05 +00:00
Nedko Arnaudov
a248f1e7c3 GPL sync + delete value implemented
svn path=/trunk/; revision=1419
2000-10-24 20:17:42 +00:00
jean
2a81cebc82 fixed bugs
load registry file entirely

svn path=/trunk/; revision=1418
2000-10-24 12:13:12 +00:00
Eric Kohl
b60489a76a Removed obsolete linux header files
svn path=/trunk/; revision=1417
2000-10-22 16:36:53 +00:00
Eric Kohl
1c236a2886 Replaced linux io calls
Removed references to linux io headers

svn path=/trunk/; revision=1416
2000-10-22 13:30:19 +00:00
Eric Kohl
dab151f2f1 Implemented event pair
svn path=/trunk/; revision=1415
2000-10-22 11:30:00 +00:00
Eric Kohl
9267a79b9e Replaced linux io calls
svn path=/trunk/; revision=1414
2000-10-22 02:02:28 +00:00
Eric Kohl
1db1c12cf3 Fixed prototype
svn path=/trunk/; revision=1413
2000-10-22 02:01:42 +00:00
Eric Kohl
382d5a76c2 Removed duplicate code and replaced linux io calls
svn path=/trunk/; revision=1412
2000-10-22 01:59:51 +00:00
Eric Kohl
a83fd9fd73 Fixed warnings and indentation
svn path=/trunk/; revision=1411
2000-10-22 01:58:11 +00:00
Jason Filby
201009ddd9 *** empty log message ***
svn path=/trunk/; revision=1410
2000-10-18 10:42:07 +00:00
Jason Filby
14b2a471ce *** empty log message ***
svn path=/trunk/; revision=1409
2000-10-18 09:39:32 +00:00
Jason Filby
77d9f6fb99 *** empty log message ***
svn path=/trunk/; revision=1408
2000-10-18 09:11:01 +00:00
jean
bb44d63a00 add management of free blocks
svn path=/trunk/; revision=1407
2000-10-16 15:22:45 +00:00
jean
3f76d0e8a9 remove unimplemented functions
test more verbose

svn path=/trunk/; revision=1406
2000-10-16 15:05:19 +00:00
Jason Filby
76ba7eadb1 Improved bitblt and painting performance
Initial mouse pointer code

svn path=/trunk/; revision=1405
2000-10-14 22:58:24 +00:00
Jason Filby
06bf88e073 Minor fixes
svn path=/trunk/; revision=1404
2000-10-14 22:42:11 +00:00
Jason Filby
d17678ebd0 *** empty log message ***
svn path=/trunk/; revision=1403
2000-10-14 22:40:18 +00:00
David Welch
e9b7a9a972 Corrected typos in the minix driver
svn path=/trunk/; revision=1402
2000-10-11 20:57:19 +00:00
David Welch
9ab512dafc Correct implementation of user-mode APCs
svn path=/trunk/; revision=1401
2000-10-11 20:50:35 +00:00
jean
e7214e13b1 remove code for tests
svn path=/trunk/; revision=1400
2000-10-11 15:06:31 +00:00
jean
3199989397 added tests in apps/regtest
work on write hive registry
read tests successful for volatile and non volatile keys
write tests successful for volatile keys

svn path=/trunk/; revision=1399
2000-10-11 13:20:39 +00:00
Eric Kohl
3b8acca85c Minor update
svn path=/trunk/; revision=1398
2000-10-09 00:18:00 +00:00
Eric Kohl
e224120546 Fixed compiler warning
svn path=/trunk/; revision=1397
2000-10-09 00:12:01 +00:00
David Welch
d996724891 Fixed compilation bugs
Removed useless spec files

svn path=/trunk/; revision=1396
2000-10-08 23:44:46 +00:00
Eric Kohl
26aa5fb4dd Fixed a typo
svn path=/trunk/; revision=1395
2000-10-08 19:13:01 +00:00
Eric Kohl
69afd5910f Added nameless struct/union support for [U]LARGE_INTEGER
svn path=/trunk/; revision=1394
2000-10-08 19:11:28 +00:00
David Welch
8a74f96a65 Additional bug fixes
Removed spec file
Removed libgcc.a
Set FS register in thread contexts

svn path=/trunk/; revision=1393
2000-10-08 16:32:53 +00:00
Eric Kohl
8d1034c5fa Added atom table stubs
Implemented NtQuerySemaphore()
Implemented RtlConvertSidToUnicode()
Replaced more calls to Linux io functions
Some minor fixes

svn path=/trunk/; revision=1392
2000-10-08 12:56:45 +00:00
Eric Kohl
9e2f41853a Added atom table stubs
Implemented NtQuerySemaphore()
Implemented RtlConvertSidToUnicode()
Replaced more calls to Linux io functions
Some minor fixes

svn path=/trunk/; revision=1391
2000-10-08 12:51:25 +00:00
Nedko Arnaudov
4e21487a31 In GNU make, Variables and functions in all parts of a makefile are expanded when read, so include of rules.mak must be done before using variable defined in it.
svn path=/trunk/; revision=1390
2000-10-08 10:48:10 +00:00
Eric Kohl
a2d079723b Implemented missing KeRaiseIrqlToXxLevel() functions
svn path=/trunk/; revision=1389
2000-10-07 21:06:19 +00:00
Eric Kohl
5bea9979e8 Added check for existing 'SystemRoot' link target
svn path=/trunk/; revision=1388
2000-10-07 20:55:15 +00:00
David Welch
f1096bb7f0 Some bug fixes
svn path=/trunk/; revision=1387
2000-10-07 18:44:08 +00:00
David Welch
fe87b12edd Renamed makefile to Makefile
svn path=/trunk/; revision=1386
2000-10-07 13:44:24 +00:00
David Welch
a254e64d73 Added multiboot support to ntoskrnl
Updated loadros to boot new kernel
Corrected thread priority bugs
Removed Linux port io
Added system call entry/exit that updates PreviousMode
Changes to allow ntoskrnl to be built without optimization
Updated make system
Added PCR
Most components can be built without special spec file

svn path=/trunk/; revision=1385
2000-10-07 13:41:58 +00:00
Eric Kohl
15b935ba7c Implemented NtPulseEvent() and NtQueryEvent()
svn path=/trunk/; revision=1384
2000-10-06 22:54:58 +00:00
Eric Kohl
4a5bc9edc8 Minor fix
svn path=/trunk/; revision=1383
2000-10-06 22:54:41 +00:00
Eric Kohl
bd44cd188f obsolete
svn path=/trunk/; revision=1382
2000-10-06 16:54:38 +00:00
Eric Kohl
0a2b580710 Implemented IoCreateNotificationEvent() and IoCreateSynchronizationEvent()
svn path=/trunk/; revision=1381
2000-10-06 16:54:04 +00:00
Eric Kohl
6e63676205 Added missing STDCALLs
svn path=/trunk/; revision=1380
2000-10-05 19:17:25 +00:00
Eric Kohl
aa5a575bd0 Added registry shutdown function CmShutdownRegistry()
Updated shutdown sequence

svn path=/trunk/; revision=1379
2000-10-05 19:15:50 +00:00
Eric Kohl
beaf6eac44 Implmented NtFlushWriteBuffer()
svn path=/trunk/; revision=1378
2000-10-05 19:10:55 +00:00
jean
619ad3483b add some tests
svn path=/trunk/; revision=1377
2000-10-05 14:55:55 +00:00
jean
a1b7c80868 correct bugs
svn path=/trunk/; revision=1376
2000-10-05 14:55:25 +00:00
Emanuele Aliberti
ae69a8e1e4 Registry Explorer (console tool) by Nedko Arnaoudov added to the system utilities subtree.
Also here: http://www.geocities.com/registryexplorer/

svn path=/trunk/; revision=1375
2000-10-04 21:04:31 +00:00
Eric Kohl
f3632d15b8 Implemented GetFileType()
Some cleanup

svn path=/trunk/; revision=1374
2000-10-01 19:54:57 +00:00
jean
31f697ce8f work on registry
svn path=/trunk/; revision=1373
2000-09-29 15:03:21 +00:00
Eric Kohl
bd6afcb8ba Implemented CreatePipe()
svn path=/trunk/; revision=1372
2000-09-27 01:24:37 +00:00
Eric Kohl
99434057af Implemented some ascii functions
svn path=/trunk/; revision=1371
2000-09-27 01:22:31 +00:00
Phillip Susi
0ea51977f6 Fixed crash due to thread priority out of bonuds bug... not sure if I did this right, but it seems to fix the crash. Someone should probobly look at this.
svn path=/trunk/; revision=1370
2000-09-24 23:55:21 +00:00
jean
08982a387e read functions on file SYSTEM implemented
svn path=/trunk/; revision=1369
2000-09-22 15:08:55 +00:00
jean
572b3bf901 work on ntopenkey forkeys insystem hive
svn path=/trunk/; revision=1368
2000-09-21 13:45:42 +00:00
jean
56cd5f816c type of Name in KEY_BLOCK corrected
svn path=/trunk/; revision=1367
2000-09-18 09:39:18 +00:00
Casper Hornstrup
37d6d2f97f Added WinSock 2 DLL Stubs
svn path=/trunk/; revision=1366
2000-09-17 09:41:15 +00:00
Casper Hornstrup
7ec7480d5c Added ping application (won't work on ReactOS yet)
svn path=/trunk/; revision=1365
2000-09-17 09:40:33 +00:00
Casper Hornstrup
734dbaddef Small change in tdikrnl.h
svn path=/trunk/; revision=1364
2000-09-17 09:38:46 +00:00
Casper Hornstrup
b7eaee833c Added WinSock 2 Headers
svn path=/trunk/; revision=1363
2000-09-17 09:37:04 +00:00
Casper Hornstrup
ab2b4e0924 Added WinSock 2 DLL Stubs
svn path=/trunk/; revision=1362
2000-09-17 09:36:01 +00:00
Casper Hornstrup
2a734dfd02 Added WinSock 2 Helper DLL for TCP/IP (Stubs only)
svn path=/trunk/; revision=1361
2000-09-17 09:33:44 +00:00
jean
b0a3240f8e work on registry files
svn path=/trunk/; revision=1360
2000-09-14 14:45:06 +00:00
jean
522110434e report changes from 1.29
svn path=/trunk/; revision=1359
2000-09-13 11:46:35 +00:00
jean
ad66ea993a work on registry
svn path=/trunk/; revision=1358
2000-09-13 10:29:48 +00:00
jean
ee426ef891 work on registry
svn path=/trunk/; revision=1357
2000-09-13 09:51:58 +00:00
Rex Jolliff
79753f70ea added some book references
svn path=/trunk/; revision=1356
2000-09-13 03:54:09 +00:00
Emanuele Aliberti
192a6b11b4 Added Casper to the coders parade.
svn path=/trunk/; revision=1355
2000-09-12 23:21:20 +00:00
Emanuele Aliberti
f452b24998 Updated years in version info.
svn path=/trunk/; revision=1354
2000-09-12 23:20:15 +00:00
jean
380f53e057 remove ctrl-M
svn path=/trunk/; revision=1353
2000-09-12 10:43:56 +00:00
jean
7a86d15add declaration of NtLoadKey2 corrected.
svn path=/trunk/; revision=1352
2000-09-12 10:43:28 +00:00
jean
cfa0bfd3f1 changes in IRP for compatibility
svn path=/trunk/; revision=1351
2000-09-12 10:12:13 +00:00
Emanuele Aliberti
28d86222cd Version resource added to the system utilities.
svn path=/trunk/; revision=1350
2000-09-11 20:17:02 +00:00
Emanuele Aliberti
e7a0c9b4eb Little change to make version resource linked in ne2000.sys.
svn path=/trunk/; revision=1349
2000-09-10 20:00:13 +00:00
Eric Kohl
f6975e3ad4 Implemented driver shutdown registration
svn path=/trunk/; revision=1348
2000-09-10 13:54:01 +00:00
Emanuele Aliberti
18fb33cd77 RC script updated.
svn path=/trunk/; revision=1347
2000-09-10 10:14:39 +00:00
Eric Kohl
4b34e5c2de Implemented basic registry functions
svn path=/trunk/; revision=1346
2000-09-08 22:55:14 +00:00
Eric Kohl
16625529a2 Fixed [Nt/Zw]LoadKey2 prototype
svn path=/trunk/; revision=1345
2000-09-08 22:52:17 +00:00
Eric Kohl
6320160bea Ooops! I forgot that little thingy...
svn path=/trunk/; revision=1344
2000-09-08 19:39:31 +00:00
Eric Kohl
d7d755265d Fixed some bugs in the registry
Improved registry test app

svn path=/trunk/; revision=1343
2000-09-06 19:59:54 +00:00
Phillip Susi
e7365f8b00 Made PsGetCurrentThread STDCALL
svn path=/trunk/; revision=1342
2000-09-06 03:08:22 +00:00
Phillip Susi
11c7a09174 Initialize new Win32ThreadData member in ETHREAD
svn path=/trunk/; revision=1341
2000-09-06 03:08:08 +00:00
Phillip Susi
b9d500fbd4 Made ObAddEntryDirectory STDCALL
svn path=/trunk/; revision=1340
2000-09-06 03:06:55 +00:00
Phillip Susi
c76d475edb Made PsGetCurrentThread STDCALL
svn path=/trunk/; revision=1339
2000-09-06 03:00:10 +00:00
Phillip Susi
4ca3269e59 Added pointer to win32k data in ETHREAD
svn path=/trunk/; revision=1338
2000-09-06 02:57:24 +00:00
Phillip Susi
8dba8b5f8b Made ObAddEntryDirectory STDCALL
svn path=/trunk/; revision=1337
2000-09-06 02:56:53 +00:00
Phillip Susi
5df884f1d2 Added ObAdEntryDirectory and PsGetCurrentThread to kernel export list
svn path=/trunk/; revision=1336
2000-09-06 02:08:00 +00:00
Eric Kohl
991be350f7 Registry fixes (not usable yet)
Loader improvements

svn path=/trunk/; revision=1335
2000-09-05 23:03:09 +00:00
Eric Kohl
90a17ecf05 Added registry test app
svn path=/trunk/; revision=1334
2000-09-05 22:57:43 +00:00
Eric Kohl
fbac67d372 Implemented dll detach on thread termination
svn path=/trunk/; revision=1333
2000-09-05 13:53:27 +00:00
Eric Kohl
19e205fb97 Implemented dll detach on process termination
svn path=/trunk/; revision=1332
2000-09-05 11:01:03 +00:00
Eric Kohl
ed32877e90 Fixed some minor loader bugs
svn path=/trunk/; revision=1331
2000-09-04 19:05:03 +00:00
Eric Kohl
c0159ad5c8 Some minor fixes
svn path=/trunk/; revision=1330
2000-09-03 14:53:13 +00:00
Eric Kohl
3004e5b9bd Fixed mysterious registry bug
svn path=/trunk/; revision=1329
2000-09-03 14:46:49 +00:00
Eric Kohl
df314ce26e Improved internal dll handling
Implemented or fixed dll and resource functions

svn path=/trunk/; revision=1328
2000-09-01 17:09:50 +00:00
David Welch
dd7e38a19d Reverted back to revision 1.59 because my last commit overwrote recent
changes.

svn path=/trunk/; revision=1327
2000-08-31 00:11:15 +00:00
David Welch
8e0014c64b Added calibration of KeStallExecutionProcessor delay
Corrected compilation bugs in user32
Corrected compilation bugs related to anonymous structs in ndis code
Pass commandline from loadros
Corrected PIC mask calculation

svn path=/trunk/; revision=1326
2000-08-30 19:33:29 +00:00
Emanuele Aliberti
3b94410c8a Version resource was off the final binary image.
svn path=/trunk/; revision=1325
2000-08-29 20:10:49 +00:00
Eric Kohl
3f36421f86 Added/fixed resource 'loader'.
svn path=/trunk/; revision=1324
2000-08-28 21:49:11 +00:00
Casper Hornstrup
7550af7e4d Fixed user32.dll so it will compile
svn path=/trunk/; revision=1323
2000-08-28 19:36:49 +00:00
David Welch
8293c58f61 Added platform independant mkdir program
svn path=/trunk/; revision=1322
2000-08-27 23:06:36 +00:00
Eric Kohl
acaf5099d7 User-mode loader improvements
svn path=/trunk/; revision=1321
2000-08-27 22:37:45 +00:00
Casper Hornstrup
5c58f80d97 Fixed user32.dll so it will compile
svn path=/trunk/; revision=1320
2000-08-27 16:44:02 +00:00
Casper Hornstrup
9a1e13b7d8 Added Novell Eagle 2000 Driver
svn path=/trunk/; revision=1319
2000-08-27 16:35:31 +00:00
Casper Hornstrup
33252ab449 Basic NDIS 3.0 support
svn path=/trunk/; revision=1318
2000-08-27 16:31:41 +00:00
Casper Hornstrup
abd30f9819 Fixed bugs in TCP/IP driver
svn path=/trunk/; revision=1317
2000-08-27 16:28:59 +00:00
Eric Kohl
24d06e9f82 Replaced call to LdrLoadModule() by call to ZwSetSystemInformation()
svn path=/trunk/; revision=1316
2000-08-26 16:22:04 +00:00
Eric Kohl
1a10e72f31 Finished drive letter assignment
Implemented WinNT compatible ARC path (boot.ini)

svn path=/trunk/; revision=1315
2000-08-25 15:56:24 +00:00
Eric Kohl
6c2d255207 Minor ide driver cleanup
Implemented ARC names

svn path=/trunk/; revision=1314
2000-08-24 19:15:20 +00:00
Eric Kohl
495a30cb8e Fixed partition read bug
svn path=/trunk/; revision=1313
2000-08-22 21:10:28 +00:00
Eric Kohl
c27ed38f21 Fixed disk size and partition limits
svn path=/trunk/; revision=1312
2000-08-22 21:09:25 +00:00
Eric Kohl
e7dc6b7c4b xHalIoReadPartitionTable() can now handle partially corrupted partition tables
svn path=/trunk/; revision=1311
2000-08-22 14:10:59 +00:00
Eric Kohl
6f1d7ad00c Implemented IoReadPartitionTable().
Implemented proper drive letter assignment.

svn path=/trunk/; revision=1310
2000-08-21 00:15:54 +00:00
David Welch
8434fc42db Fixed memory manager bugs
Removed page directory references from machine independant code
Implemented page table reference counting
Added vm test application

svn path=/trunk/; revision=1309
2000-08-20 17:02:10 +00:00
Eric Kohl
7c29439d2b Fixed the real bug
svn path=/trunk/; revision=1308
2000-08-19 01:21:17 +00:00
Eric Kohl
1aa74074a2 Fixed an ugly bug
svn path=/trunk/; revision=1307
2000-08-19 00:02:55 +00:00
David Welch
ddfa2017c7 Added .o -> .sys rule to simplify driver makefiles
Added PATH_TO_ROOT variable to most makefiles
Added system independant install utility
Implemented prototype system for changing individual regions without a
memory area
Added some interesting articles from usenet

svn path=/trunk/; revision=1306
2000-08-18 22:27:09 +00:00
Eric Kohl
f7d76fbc5b Fixed port i/o functions
svn path=/trunk/; revision=1305
2000-08-18 17:25:54 +00:00
Eric Kohl
cc22ad9378 Fixed partition id bug
Moved some definitions

svn path=/trunk/; revision=1304
2000-08-18 17:24:17 +00:00
Eric Kohl
375b8055e3 Added preliminary pci bus scanner
svn path=/trunk/; revision=1303
2000-08-17 17:43:27 +00:00
Eric Kohl
7b9adffa48 Fixed some warnings
svn path=/trunk/; revision=1302
2000-08-15 12:50:35 +00:00
Eric Kohl
b4cd061025 Improved shared user page
Initialized windows and system directories

svn path=/trunk/; revision=1301
2000-08-15 12:44:47 +00:00
Emanuele Aliberti
f2e0104287 Win32 fiber stubs.
svn path=/trunk/; revision=1300
2000-08-14 14:34:12 +00:00
Emanuele Aliberti
47dfd4feaa Win32 fiber stubs
svn path=/trunk/; revision=1299
2000-08-14 14:33:24 +00:00
David Welch
6f6219e903 Added shared data test application
svn path=/trunk/; revision=1298
2000-08-12 19:37:03 +00:00
David Welch
3ae3b46dcd Updated CREDITS
Work on security
Updated heap code from wine implementation
Implemented kernel/user shared data page

svn path=/trunk/; revision=1297
2000-08-12 19:33:23 +00:00
Emanuele Aliberti
70a09d673c Fixed a pair of exported symbols' stack size.
svn path=/trunk/; revision=1296
2000-08-11 17:30:20 +00:00
Emanuele Aliberti
97b05ef460 Added symbolic link expansion.
svn path=/trunk/; revision=1295
2000-08-11 17:18:31 +00:00
Eric Kohl
6db1a5193f Removed M$ driver
svn path=/trunk/; revision=1294
2000-08-11 12:49:11 +00:00
Eric Kohl
891b9b74ee Removed unused file
svn path=/trunk/; revision=1293
2000-08-11 12:48:00 +00:00
Eric Kohl
c6c624ebe3 Renamed pseudo target 'floppy' to 'install'
Added workaround for corrupted dos header magic
Added some more rtl functions

svn path=/trunk/; revision=1292
2000-08-11 12:46:47 +00:00
jean
df3c817b6b little work on registry
svn path=/trunk/; revision=1291
2000-08-11 08:17:41 +00:00
Eric Kohl
71ea66b0b8 Fixed typo
svn path=/trunk/; revision=1290
2000-08-10 15:50:03 +00:00
Eric Kohl
f55fec7c32 Fixed compiler warnings
svn path=/trunk/; revision=1289
2000-08-08 17:42:33 +00:00
Eric Kohl
7a8a2f9e95 Fixed FLOPPY and DIST targets for net drivers
svn path=/trunk/; revision=1288
2000-08-08 17:41:41 +00:00
David Welch
c65edfad92 Integrated fixes from prep0016
Changes to the networking code to remove anonymous structures and unions
Fix for bug where RtlSetEnvironmentVariable didn't if it had acquired the
PEB lock before releasing it
Updating clean targets

svn path=/trunk/; revision=1286
2000-08-05 18:01:58 +00:00
Emanuele Aliberti
65ecb0b98b Simple utility to list the so called "DOS Devices", that is
symbolic links in the \?? directory of the Ob name space.

svn path=/trunk/; revision=1285
2000-08-04 21:49:31 +00:00
Casper Hornstrup
66d2f292ef Fixed compile issues with network code
svn path=/trunk/; revision=1284
2000-08-02 20:39:49 +00:00
David Welch
a859ee0c1e Added networking code from Casper Hornstrup
svn path=/trunk/; revision=1283
2000-08-02 00:24:26 +00:00
David Welch
b5ff23bb2f Added networking code from Casper Hornstrup
svn path=/trunk/; revision=1282
2000-08-02 00:02:53 +00:00
David Welch
792773e953 Added networking code from Casper Hornstrup
svn path=/trunk/; revision=1281
2000-08-01 23:54:06 +00:00
Casper Hornstrup
e3a75fb4da no message
svn path=/branches/avendor/; revision=1279
2000-08-01 18:43:38 +00:00
The ReactOS Team
ce122bcdea This commit was manufactured by cvs2svn to create branch 'avendor'.
svn path=/branches/avendor/; revision=1278
2000-08-01 18:43:38 +00:00
Casper Hornstrup
2c41cbbe57 Initial revision
svn path=/trunk/; revision=1277
2000-08-01 18:43:15 +00:00
David Welch
83f94cade6 Fixes from Casper Hornstrup
svn path=/trunk/; revision=1276
2000-07-30 18:22:35 +00:00
Eric Kohl
afde198a7d Implemented hal system interrupt functions
svn path=/trunk/; revision=1275
2000-07-24 23:51:46 +00:00
David Welch
07b9585e22 Added floppy makefile and version resource file
svn path=/trunk/; revision=1270
2000-07-19 14:25:35 +00:00
David Welch
768ab2e5dc Added timer constant fix from Genadi V. Zawidowski
svn path=/trunk/; revision=1269
2000-07-19 14:23:37 +00:00
David Welch
c3d5ea4e9b Removed broken dma code
Some work on memory managment
Initialize FPU
Reset CR0.TS after task switch but floating point state is *not* saved
Work on floppy driver
Add versions of ide and vfatfs drivers compiled with debugging information

svn path=/trunk/; revision=1268
2000-07-19 14:18:20 +00:00
Eric Kohl
6041051d6a Fixed 'echo.' and 'echoerr.'
svn path=/trunk/; revision=1267
2000-07-19 06:58:13 +00:00
Phillip Susi
fb416bf8e2 Updated shell.exe to be console mode aware
svn path=/trunk/; revision=1265
2000-07-11 04:40:00 +00:00
Phillip Susi
cc05ca5acb Implemented console modes
svn path=/trunk/; revision=1264
2000-07-11 04:09:25 +00:00
Phillip Susi
041f614e06 Minor bug fix
svn path=/trunk/; revision=1263
2000-07-11 04:08:43 +00:00
Phillip Susi
510af07f3c Removed calls to ExAllocatePool so code can be used in components that do not link to ntoskrnl.exe
svn path=/trunk/; revision=1262
2000-07-11 04:02:45 +00:00
Eric Kohl
85c3d3799b Moved interrupt code from hal into kernel
Implemented missing interrupt functions

svn path=/trunk/; revision=1261
2000-07-10 21:55:49 +00:00
Rex Jolliff
b4f80cb2e6 added files to be ignored
svn path=/trunk/; revision=1260
2000-07-09 17:34:05 +00:00
Rex Jolliff
a6613e4b6f added cvsignore file so that dir gets created
svn path=/trunk/; revision=1259
2000-07-09 17:32:49 +00:00
Rex Jolliff
f48fc3a954 added some files to be ignored by cvs
svn path=/trunk/; revision=1258
2000-07-09 17:31:32 +00:00
Eric Kohl
e97ef012de Fixed typos
svn path=/trunk/; revision=1257
2000-07-08 18:49:24 +00:00
David Welch
68375602c1 *** empty log message ***
svn path=/trunk/; revision=1256
2000-07-08 16:53:33 +00:00
Eric Kohl
fb7b00bd59 Added check for valid DC
svn path=/trunk/; revision=1255
2000-07-08 09:46:32 +00:00
Eric Kohl
0afbea5a1c Added checks for loaded drivers
svn path=/trunk/; revision=1254
2000-07-07 11:59:11 +00:00
Eric Kohl
8353127423 Fixed a typo
svn path=/trunk/; revision=1253
2000-07-07 11:56:04 +00:00
Eric Kohl
25557b0457 Added dist target
svn path=/trunk/; revision=1252
2000-07-07 11:55:02 +00:00
David Welch
8689a5cfe9 Corrected bug where user32.a wasn't being cleaned
Corrected bugs in paging implementation
Began work on MPW thread

svn path=/trunk/; revision=1251
2000-07-07 10:30:57 +00:00
Eric Kohl
0ea1d03808 Separated close request
Fixed bugs in create request

svn path=/trunk/; revision=1250
2000-07-07 02:14:14 +00:00
Eric Kohl
a20a2dd801 Implemented vpb spinlock
svn path=/trunk/; revision=1249
2000-07-07 02:10:50 +00:00
Phillip Susi
b81629c2a0 More DbgPrint to DPRINT changes, Implimented support for deleting DCs, causing switch back to text mode, and another change from nonpaged to paged pool
svn path=/trunk/; revision=1248
2000-07-07 01:20:53 +00:00
Phillip Susi
4568d2fd4c Converted more DbgPrints to DPRINT and allocate bitmaps from paged pool instead of non paged
svn path=/trunk/; revision=1247
2000-07-07 01:19:02 +00:00
Phillip Susi
96e4bf5c1f Bug fixes to win32k
svn path=/trunk/; revision=1246
2000-07-07 01:18:04 +00:00
Phillip Susi
418efd5de8 Implimented switch back to text mode after gditest
svn path=/trunk/; revision=1245
2000-07-07 01:16:50 +00:00
Phillip Susi
aa9ca10d75 One should not say the device does not exist causing the driver to fail to load... how the hell did this work before?
svn path=/trunk/; revision=1244
2000-07-07 01:06:35 +00:00
Phillip Susi
21489b923a Implimented reset to text mode
svn path=/trunk/; revision=1243
2000-07-07 01:05:33 +00:00
Phillip Susi
61ed9441a3 Converted a bunch of DbgPrint() calls to DPRINT()
svn path=/trunk/; revision=1242
2000-07-07 01:02:11 +00:00
Phillip Susi
a1ff5576a5 Implimented switch back to text mode after gditest
svn path=/trunk/; revision=1241
2000-07-07 00:59:41 +00:00
Phillip Susi
001c73ed14 Fixed ps code to terminate threads correctly
svn path=/trunk/; revision=1240
2000-07-07 00:49:02 +00:00
Phillip Susi
3ca24a2c2a Fixed [Ke/Nt]WaitForMultipleObjects() bug
svn path=/trunk/; revision=1239
2000-07-07 00:46:35 +00:00
Phillip Susi
db1ccdf290 Fixes to timeout code
svn path=/trunk/; revision=1238
2000-07-07 00:45:37 +00:00
Phillip Susi
84f943edc6 Fixed ps bug, proper termination of threads
svn path=/trunk/; revision=1237
2000-07-07 00:44:07 +00:00
Phillip Susi
67d46de5d3 Fixed typeo that was breaking NtReadFile() with async reads
svn path=/trunk/; revision=1236
2000-07-07 00:42:58 +00:00
Phillip Susi
10c1321106 Do not clean up mdl on paging requests, as the mm needs it still
svn path=/trunk/; revision=1235
2000-07-07 00:41:36 +00:00
Phillip Susi
7bf98ea309 Set IRP_PAGING_IO on mdl ( paging ) requests
svn path=/trunk/; revision=1234
2000-07-07 00:40:49 +00:00
Phillip Susi
2b37b9beea Exported NtOpenEvent()
svn path=/trunk/; revision=1233
2000-07-07 00:39:24 +00:00
Phillip Susi
194e86b860 Implimented DeleteDC()
svn path=/trunk/; revision=1232
2000-07-07 00:38:17 +00:00
Phillip Susi
2f1d0bf882 Minor fixes, enabled return to text mode
svn path=/trunk/; revision=1231
2000-07-07 00:36:36 +00:00
Phillip Susi
017479a5f0 Fixed left out paremter error
svn path=/trunk/; revision=1230
2000-07-06 20:53:27 +00:00
David Welch
d26222f310 Added experimental paging out code (wouldn't activate until the system is
out of memory)
Added stress test application (consumes memory)
Corrected mutex implementation
Moved csrss startup into kernel32 to avoid ugly messages on startup

svn path=/trunk/; revision=1229
2000-07-06 14:34:52 +00:00
Eric Kohl
671c1bc412 Append the '.exe' extension automatically
svn path=/trunk/; revision=1228
2000-07-05 18:07:08 +00:00
Eric Kohl
bea48dda7a Fixed 'cd \' bug
svn path=/trunk/; revision=1227
2000-07-05 18:05:21 +00:00
Phillip Susi
2946fd90c7 Removed duplicate and incorrect declaration for KeRaiseUserException
svn path=/trunk/; revision=1226
2000-07-04 20:02:35 +00:00
David Welch
f801003a51 Compilation fixes
svn path=/trunk/; revision=1225
2000-07-04 11:11:06 +00:00
David Welch
d351d182ef Added working set functions
Seperated memory manager initialization
Seperated trap functions
Removed process/thread definitions from ddk headers
Changed indentation back to sane style (please don't change)

svn path=/trunk/; revision=1224
2000-07-04 08:52:47 +00:00
Eric Kohl
9caffc49ae Fixed RtlNtStatusToDosError()
Implemented some more functions

svn path=/trunk/; revision=1223
2000-07-04 01:30:18 +00:00
Eric Kohl
bad7efb0e7 Final macro fixes
Minor fixes

svn path=/trunk/; revision=1222
2000-07-02 17:33:15 +00:00
Eric Kohl
add4b2d35b Simplified driver initialization
svn path=/trunk/; revision=1221
2000-07-02 10:54:41 +00:00
Eric Kohl
73437d2939 Fixed more macros
Merged/moved/deleted some files

svn path=/trunk/; revision=1220
2000-07-02 10:50:48 +00:00
David Welch
ed53dc2acc Removed unused header file
Fixed compilation errors resulting from header file changes
Fixed vga driver compilation under unix
Patched up use of *deprecated* inb/outb interfaces in vga driver

svn path=/trunk/; revision=1219
2000-07-01 23:18:59 +00:00
Eric Kohl
83e4b66c10 Fixed Ps macros
svn path=/trunk/; revision=1218
2000-07-01 22:38:15 +00:00
Eric Kohl
6abd233802 Replaced boot_param by LOADER_PARAMETER_BLOCK
Added missing dpc functions
Fixed some Ke macros

svn path=/trunk/; revision=1217
2000-07-01 18:27:03 +00:00
Emanuele Aliberti
95f8770ae2 Minor changes.
svn path=/trunk/; revision=1216
2000-07-01 17:07:02 +00:00
Eric Kohl
f3e6819471 Added hal dispatch tables.
Implemented PhysicalDrive links.
Started drive letter assignment.

svn path=/trunk/; revision=1214
2000-06-30 22:53:32 +00:00
David Welch
cc95f73421 Made header file usage more consistent
Tried to reduce dependancies between layers by moving ntoskrnl's private
header files inside its directory
Removed the need to include windows.h for ddk code
Removed obsolete testing code

svn path=/trunk/; revision=1213
2000-06-29 23:35:53 +00:00
David Welch
109fef6e75 Corrected bug when booting with loadros
Began work on fixing up APCs.

svn path=/trunk/; revision=1212
2000-06-27 19:20:45 +00:00
David Welch
17e1656941 Documented parts of the page fault path and flagged some possible locking
issues.
Implemented waiting on page i/o.

svn path=/trunk/; revision=1211
2000-06-26 19:41:43 +00:00
David Welch
fcf9dcd627 Fixed bug.
svn path=/trunk/; revision=1210
2000-06-25 17:41:01 +00:00
David Welch
6e00280f38 Removed from redundant files from the mm directory
Added some preliminary work on the pager
Fixed ntoskrnl/mm/npool.c (This may have been the cause of the
problems reported with loading win32k.sys)
Fixed problems with reporting space used to store physical page
information
Added code to support MmSafeCopy{To/From}User interface work
(untested)
Added Event member of the PHYSICAL_PAGE structure to implement Philip
Susi's suggestion
Reworked section page-in code (not really tested)
Replaced inline string functions with gcc builtins to make debugging easier

svn path=/trunk/; revision=1209
2000-06-25 03:59:17 +00:00
Emanuele Aliberti
a8ed3ed57e Fixed a path problem in the makefile that Phillip reported a few days ago.
Unix paths are handled correctly by DOS and Win32 kernels, but NOT by
command.com and cmd.exe shells. Therefore, when a path is to be handed to
a shell, use \ but when you hand it to any other program, use / instead.

svn path=/trunk/; revision=1208
2000-06-24 09:02:02 +00:00
Eric Kohl
3d2ca25cb4 Added counting physical discs
Fixed a compiler warning

svn path=/trunk/; revision=1207
2000-06-19 22:15:50 +00:00
Eric Kohl
57fc573524 Removed invalid includes
svn path=/trunk/; revision=1206
2000-06-19 16:42:31 +00:00
Eric Kohl
88cf03e85b Use SystemRoot link instead of LdrGetSystemDirectory()
svn path=/trunk/; revision=1205
2000-06-18 17:40:35 +00:00
Eric Kohl
5b2343f9f1 Not used any longer
svn path=/trunk/; revision=1204
2000-06-18 17:39:57 +00:00
Eric Kohl
539b0a1259 Fixed typo and added freetype dir to clean target
svn path=/trunk/; revision=1203
2000-06-18 17:37:57 +00:00
Eric Kohl
9f1e56d438 Implemented IoAttachDeviceByPointer() and IoGetDeviceObjectPointer().
svn path=/trunk/; revision=1202
2000-06-18 15:23:40 +00:00
Eric Kohl
44bdd793c1 Changed list functions to macros (or static inline functions).
svn path=/trunk/; revision=1201
2000-06-18 15:21:53 +00:00
Jason Filby
e3b8762528 Small change and removed unnecessary files
svn path=/trunk/; revision=1200
2000-06-18 12:29:32 +00:00
Jason Filby
943db2de5a Math functions required by win32k
svn path=/trunk/; revision=1199
2000-06-18 12:26:26 +00:00
Jason Filby
dd085499e8 Altered to use new and smaller math.c
svn path=/trunk/; revision=1198
2000-06-18 12:25:42 +00:00
Jason Filby
991cde2c53 Makefile changes for win32k
svn path=/trunk/; revision=1197
2000-06-18 12:25:00 +00:00
Jason Filby
669a590c02 Commented out test code that prevented compilation
svn path=/trunk/; revision=1196
2000-06-18 12:24:22 +00:00
Emanuele Aliberti
b441b2ed03 Base files for a compatible MSVCRT.DLL.
Currently useless.

svn path=/trunk/; revision=1195
2000-06-18 10:57:42 +00:00
David Welch
9d3cd59f17 Corrected build problem
svn path=/trunk/; revision=1194
2000-06-17 23:58:53 +00:00
Phillip Susi
e6bcb9741d Forgot to seek before trying to read back data, and added a check for the data integrity
svn path=/trunk/; revision=1193
2000-06-17 22:04:49 +00:00
Phillip Susi
4e91635e4a Fixed several erronious checks to detect things such as eof on directories too, not just files
svn path=/trunk/; revision=1192
2000-06-17 22:04:08 +00:00
Phillip Susi
274c4db921 Added missing DPRINT
svn path=/trunk/; revision=1191
2000-06-17 22:03:23 +00:00
Phillip Susi
ea455bcfce Fixed bug that fails to update files entries in the root, and added some error checking
svn path=/trunk/; revision=1190
2000-06-17 22:02:09 +00:00
Phillip Susi
8eb69e31d4 Fixed code that checks for a deleted directory entry ( which is really used to find a free entry ) to accept a blank ( never before used ) entry as free
svn path=/trunk/; revision=1189
2000-06-17 22:00:46 +00:00
Jason Filby
a32b900658 temporary float and math support
svn path=/trunk/; revision=1188
2000-06-16 21:13:18 +00:00
Jason Filby
ea1da2be56 missing updates
svn path=/trunk/; revision=1187
2000-06-16 20:58:56 +00:00
Jason Filby
efd7fbb22e missed update
svn path=/trunk/; revision=1186
2000-06-16 20:50:31 +00:00
Jason Filby
a25a8e2e02 GDI Improvements
svn path=/trunk/; revision=1185
2000-06-16 07:36:10 +00:00
Jason Filby
77ef48e705 VGA display driver improvements
svn path=/trunk/; revision=1184
2000-06-16 07:28:20 +00:00
Jason Filby
0b34b1b746 GDI improvements
svn path=/trunk/; revision=1183
2000-06-16 07:25:41 +00:00
Eric Kohl
94c0c4bab2 Improved symbolic links (reparsing).
Implemented SystemRoot and DosDevices links.

svn path=/trunk/; revision=1182
2000-06-15 18:39:25 +00:00
Eric Kohl
fb6c04efbd Implemented IoDeleteSymbolicLink() and NtCreateSymbolicLinkObject().
svn path=/trunk/; revision=1181
2000-06-13 15:51:13 +00:00
Eric Kohl
19e66992de Added cache manager prototypes.
Fixed Io macros.
Fixed and exported more hal functions.

svn path=/trunk/; revision=1180
2000-06-12 14:57:10 +00:00
Emanuele Aliberti
65a13ef159 Return type KIRQL fixed to allow compilation.
svn path=/trunk/; revision=1179
2000-06-09 22:22:32 +00:00
Eric Kohl
3cd7d0dcd3 Moved some functions into the hal.
Replaced some functions by macros.

svn path=/trunk/; revision=1178
2000-06-09 20:07:20 +00:00
Eric Kohl
0aac416a18 Update after server failure.
Fixed STDCALL issues in Ex functions.

svn path=/trunk/; revision=1177
2000-06-07 13:05:09 +00:00
Eric Kohl
d40e55b4e1 Fixed STDCALL issues in Ex functions
svn path=/trunk/; revision=1176
2000-06-05 22:12:06 +00:00
Eric Kohl
64c33bb910 Fixed STDCALL issues in Ke functions
Renamed KiTimerInterrupt() to KeUpdateSystemTime()
Added KeNumberProcessors variable

svn path=/trunk/; revision=1175
2000-06-04 19:51:05 +00:00
Emanuele Aliberti
077ac93718 Type definitions and macros previously in ntoskrnl/nt/port.c moved
in include/internal/port.h .

svn path=/trunk/; revision=1174
2000-06-04 17:32:44 +00:00
Emanuele Aliberti
9464b7005d Made and new ntoskrnl/lpc directory for the LPC subsystem.
Moved ntoskrnl/nt/port.c in ntoskrnl/lpc and split code into
smaller pieces. Little cleanup.

svn path=/trunk/; revision=1173
2000-06-04 17:27:39 +00:00
Eric Kohl
6d5e353126 Fixed clean target (didn't delete all .o files)
svn path=/trunk/; revision=1172
2000-06-04 17:15:47 +00:00
Eric Kohl
ceed9a079e Fixed paths
svn path=/trunk/; revision=1171
2000-06-04 17:14:25 +00:00
Eric Kohl
abc6758e63 Updated Ps* functions
Implemented PsGetVersion()

svn path=/trunk/; revision=1170
2000-06-03 21:36:32 +00:00
Emanuele Aliberti
8123995861 Minor changes.
svn path=/trunk/; revision=1169
2000-06-03 14:47:33 +00:00
Emanuele Aliberti
7fbe844acc Minor changes to kernel32.
svn path=/trunk/; revision=1168
2000-05-30 23:41:06 +00:00
Emanuele Aliberti
f53d713f9a Renamed NTDLL.RtlNtStatusToDosError() RtlNtStatusToDosErrorNoTeb().
Added NTDLL.RtlNtStatusToDosError() that calls RtlNtStatusToDosErrorNoTeb().
Still not understood why RtlNtStatusToDosError() stores in the TEB the given NtStatus.

svn path=/trunk/; revision=1167
2000-05-30 22:25:10 +00:00
Emanuele Aliberti
3918e5583d Added handle type to object name translation in qsi.
svn path=/trunk/; revision=1166
2000-05-28 17:44:53 +00:00
David Welch
279b8390a0 Fix for issue with closing non-existent or already closed handle
svn path=/trunk/; revision=1165
2000-05-27 12:48:59 +00:00
David Welch
06784b2b11 Added etags target
svn path=/trunk/; revision=1164
2000-05-26 14:25:50 +00:00
Phillip Susi
9f7a5635de big work on the console front
svn path=/trunk/; revision=1163
2000-05-26 06:06:42 +00:00
Phillip Susi
97f4345422 fixed color info
svn path=/trunk/; revision=1162
2000-05-26 06:06:05 +00:00
Phillip Susi
232a66904f big work on the console front
svn path=/trunk/; revision=1161
2000-05-26 05:43:33 +00:00
Phillip Susi
1410c2b0a4 a few fixes to the shell
svn path=/trunk/; revision=1160
2000-05-26 05:38:42 +00:00
Eric Kohl
dd76e08c86 Implemented:
- dbg functions
 - RtlFreeUserThreadStack()
 - rtl nls functions
 - rtl process heaps functions
Improved .def and .edf files

svn path=/trunk/; revision=1159
2000-05-25 15:55:35 +00:00
David Welch
3e519811c4 More bug fixes.
svn path=/trunk/; revision=1158
2000-05-24 22:29:38 +00:00
David Welch
1001fb267c Updated clean targets in various places
svn path=/trunk/; revision=1157
2000-05-14 13:10:01 +00:00
Emanuele Aliberti
6bd8ebc9e2 Added ifdef to skip a piece of code commited by mistake (I am still working on it, sorry!).
svn path=/trunk/; revision=1156
2000-05-14 09:34:14 +00:00
Emanuele Aliberti
0726ddaa11 Fixed bug reported by Michael Rich in kernel32 compilation.
svn path=/trunk/; revision=1155
2000-05-14 09:31:05 +00:00
Eric Kohl
f5c8f9fdab Added FLOPPY and DIST targets
svn path=/trunk/; revision=1154
2000-05-13 17:34:15 +00:00
Emanuele Aliberti
d7b4fba550 IoSetThreadHardErrorMode().
svn path=/trunk/; revision=1153
2000-05-13 14:56:47 +00:00
David Welch
598c0f3b1f Fixed typo.
svn path=/trunk/; revision=1152
2000-05-13 14:21:44 +00:00
David Welch
d173c588c7 Some fixes.
Began work on implementing named pipes.

svn path=/trunk/; revision=1151
2000-05-13 13:51:08 +00:00
Eric Kohl
1d034b8c4e Fixed typos in IoGetStackLimits()
svn path=/trunk/; revision=1150
2000-05-13 10:39:23 +00:00
Eric Kohl
3086566400 Fixed IoGetStackLimits()
svn path=/trunk/; revision=1149
2000-05-13 01:48:59 +00:00
Eric Kohl
17e86aad5d Implemented RtlCustomCPxx functions
svn path=/trunk/; revision=1148
2000-05-13 01:48:01 +00:00
Eric Kohl
bb665e58b7 Fixed some more ntoskrnl exports
svn path=/trunk/; revision=1147
2000-05-09 21:31:01 +00:00
Eric Kohl
5c644fe59b Fixed or added exported object type variables
svn path=/trunk/; revision=1146
2000-05-09 16:16:07 +00:00
Eric Kohl
a3160d79cd Implemented IOCTL to draw screen buffer
Changed screen buffer from array of bytes to array of CHAR_INFO

svn path=/trunk/; revision=1145
2000-05-08 23:27:52 +00:00
Eric Kohl
34010a1fcb Fixed ntoskrnl makefile
svn path=/trunk/; revision=1144
2000-05-07 23:04:43 +00:00
Emanuele Aliberti
78a6c60acd Some STDCALL/FASTCALL added in Ex code.
NTOSKRNL's makefile revised with redundant passes removed.

svn path=/trunk/; revision=1142
2000-05-01 14:15:03 +00:00
Emanuele Aliberti
fdf480d262 objdir made compilable.
svn path=/trunk/; revision=1141
2000-05-01 13:53:43 +00:00
Phillip Susi
32ea00da50 NtTerminateProcess did not terminate the current thread if it was a member of the process being terminated
svn path=/trunk/; revision=1140
2000-04-28 17:29:42 +00:00
Emanuele Aliberti
537f82fd1a A fix in the SYSTEM_HANDLE_INFORMATION structure.
svn path=/trunk/; revision=1139
2000-04-27 23:39:49 +00:00
Emanuele Aliberti
b13b811b5f I forgot to update the code that uses SYSTEM_TIME_INFORMATION.
svn path=/trunk/; revision=1138
2000-04-26 06:56:12 +00:00
Emanuele Aliberti
b3ea65f0e4 Partially implemented (handlers only)
NTOSKRNL.NtQuerySystemInformation() and
NTOSKRNL.NtSetSystemInformation().

---

Partially implemented (kernel32/process/proc.c)

KERNEL32.GetPriorityClass(),
KERNEL32.SetPriorityClass() and
NTDLL.CsrSetPriorityClass() (stub only).

Renamed (in include/csrss/csrss.h) priority
class macros:

#define CSR_PRIORITY_CLASS_NORMAL	(0x10)
#define CSR_PRIORITY_CLASS_IDLE		(0x20)
#define CSR_PRIORITY_CLASS_HIGH		(0x40)
#define CSR_PRIORITY_CLASS_REALTIME	(0x80)

---

Implemented (kernel32/misc/error.c)

#include <kernel32/error.h>

DWORD
STDCALL
SetLastErrorByStatus (
	NTSTATUS	Status
	);

to replace SetLastError(RtlNtStatusToDosError(Status))
in KERNEL32, and fixed

KERNEL32.SetLastError()
KERNEL32.GetLastError()

to use the field in NT_TEB (LastError is per thread
not per process).

---

Implemented (lib/kernel32/sysinfo.c) GetSystemInfo()
(to be completed).

---

Fixed rosapps/sysutils/makefile to use ROS import
libraries.

---

Added QSI to the system utilities set. The target is
writing a tool that can be used to query as much system
information as possible from user mode (to be finished
and tested only under nt4sp4/x86; it was NOT tested
under ROS: it crashes immediately and needs
NtQuerySystemInformation implemented!).

svn path=/trunk/; revision=1137
2000-04-25 23:22:57 +00:00
Phillip Susi
0c4a5f1e06 NtDeviceIoControllFile() was not specifying IoFileObjectType as the object type when referencing the file handle
svn path=/trunk/; revision=1136
2000-04-24 04:17:55 +00:00
Phillip Susi
5fea099598 Do not set std handles when AllocConsole() fails, I swear I fixed this before...
svn path=/trunk/; revision=1135
2000-04-24 01:52:24 +00:00
Phillip Susi
23b59ecccb Disabled debug prints
svn path=/trunk/; revision=1134
2000-04-23 18:01:21 +00:00
Phillip Susi
cbf17cd791 Disabled debug prints
svn path=/trunk/; revision=1133
2000-04-23 17:55:21 +00:00
Phillip Susi
0bb8878fc1 Dumped anoying debug print
svn path=/trunk/; revision=1132
2000-04-23 17:52:44 +00:00
Phillip Susi
0d569ee50b Added a event handle to reply struct
svn path=/trunk/; revision=1131
2000-04-23 17:51:35 +00:00
Phillip Susi
de82241cb1 Added declaration for InterlockedCompareExchange
svn path=/trunk/; revision=1130
2000-04-23 17:50:47 +00:00
Phillip Susi
7928fc621a Switched to CREATE_NEW_CONSOLE from DETACHED_PROCESS
svn path=/trunk/; revision=1129
2000-04-23 17:49:07 +00:00
Phillip Susi
cdd3a57119 Whole new win32 console support, with multiple virtual consoles and scrollback support
svn path=/trunk/; revision=1128
2000-04-23 17:44:53 +00:00
Phillip Susi
4f6c860da3 Was reporting geometry backwards, and needed to add a raw output mode
svn path=/trunk/; revision=1127
2000-04-23 17:42:57 +00:00
Phillip Susi
6ac6c50282 Patched up console code a bit
svn path=/trunk/; revision=1126
2000-04-23 17:41:40 +00:00
Phillip Susi
66780d1d02 CreateProcess was eating the flags, had to pass them on
svn path=/trunk/; revision=1125
2000-04-23 17:40:52 +00:00
Phillip Susi
ee3307e21d Fixed up Critical Section code
svn path=/trunk/; revision=1124
2000-04-20 05:29:27 +00:00
Phillip Susi
b01b3e0e97 Replaced a -- with an InterlockedDecrement
svn path=/trunk/; revision=1123
2000-04-17 03:09:04 +00:00
Eric Kohl
8b7920f796 Added some rtl functions
svn path=/trunk/; revision=1122
2000-04-15 23:14:32 +00:00
Eric Kohl
86a1100180 Implemented debugger functions
svn path=/trunk/; revision=1121
2000-04-14 01:50:38 +00:00
Boudewijn Dekker
4542601468 applied fixes to make a user32.dll
code is based on wine.

svn path=/trunk/; revision=1120
2000-04-13 20:59:11 +00:00
Boudewijn Dekker
99fb26fc8b .
svn path=/trunk/; revision=1119
2000-04-12 22:41:51 +00:00
Eric Kohl
7910a00791 Added kernel_parameters to boot_param
svn path=/trunk/; revision=1118
2000-04-12 17:34:27 +00:00
Jason Filby
93d95d8063 Fixed EngFreeMem def
svn path=/trunk/; revision=1117
2000-04-11 20:56:11 +00:00
Jason Filby
04a84d5ab8 Implemented DrvCopybits
Minor fixes

svn path=/trunk/; revision=1116
2000-04-10 20:17:34 +00:00
Eric Kohl
5b7a3113d5 Added system and isa bus handler
svn path=/trunk/; revision=1115
2000-04-09 15:58:13 +00:00
Eric Kohl
db593a0fb7 Fixed compiler warnings
svn path=/trunk/; revision=1114
2000-04-08 23:35:27 +00:00
Eric Kohl
51db0e6fed Moved KeStallExecutionProcessor() into HAL.
Added some security functions.

svn path=/trunk/; revision=1113
2000-04-08 19:10:50 +00:00
Eric Kohl
55c5bbf0be Fixed bug in COPY command
svn path=/trunk/; revision=1112
2000-04-08 14:50:47 +00:00
Phillip Susi
4be5d21243 Correted path to be system32 instead of system
svn path=/trunk/; revision=1111
2000-04-07 22:59:38 +00:00
Phillip Susi
fe9a733457 Removed LoadLibraryW from kernel32.edf, as it seems to not have an implementation and so would not compile. Wonder where the implementation whent?
svn path=/trunk/; revision=1110
2000-04-07 21:45:32 +00:00
Eric Kohl
654c8e7d00 Added more time functions
svn path=/trunk/; revision=1109
2000-04-07 12:45:22 +00:00
David Welch
53e0232c6c Began seperation of machine-dependant/independant sections of memory
manager
Did some more work on the dce/rpc implementation
Corrected loadros so the kernel can no longer write to read-only areas
of memory
Corrected alignment and size of initial stack

svn path=/trunk/; revision=1108
2000-04-07 02:24:03 +00:00
Eric Kohl
e3ce7008d7 Moved debug functions
svn path=/trunk/; revision=1107
2000-04-06 17:23:52 +00:00
Eric Kohl
9d90e8c107 Added some more security functions
svn path=/trunk/; revision=1106
2000-04-06 02:29:57 +00:00
Eric Kohl
48c46844eb Added hal functions
Fixed se functions

svn path=/trunk/; revision=1105
2000-04-05 15:52:45 +00:00
Eric Kohl
05bf1339f9 Added ace, acl and sid functions
svn path=/trunk/; revision=1104
2000-04-05 01:41:01 +00:00
David Welch
d54e68673b Correct LPC implementation
Removed thread leak in csrss
Added notification of port closing

svn path=/trunk/; revision=1103
2000-04-03 21:54:42 +00:00
Jason Filby
eb1f2f9bd1 Implemented DrvPaint and DrvBitBlt
Added tests for new routines
Minor fixes

svn path=/trunk/; revision=1102
2000-04-03 19:55:33 +00:00
Emanuele Aliberti
3b0f32720d Mm subsystem exports table complete.
svn path=/trunk/; revision=1101
2000-04-02 13:32:43 +00:00
Jason Filby
fccf1c26a7 All video related files now loaded by win32k
svn path=/trunk/; revision=1100
2000-04-02 13:09:50 +00:00
Jason Filby
b8d0ffaf38 Use NonPagedPool in EngAllocMem for now
svn path=/trunk/; revision=1099
2000-04-02 12:44:57 +00:00
Emanuele Aliberti
49f35db9e8 Version info for Named Pipe fs driver.
svn path=/trunk/; revision=1098
2000-04-01 14:20:21 +00:00
Emanuele Aliberti
1fc2971156 Version info for Minix driver.
svn path=/trunk/; revision=1097
2000-04-01 14:19:48 +00:00
Emanuele Aliberti
cdbe762497 Version info for ext2fs driver.
svn path=/trunk/; revision=1096
2000-04-01 14:19:07 +00:00
Jason Filby
248fe1f79d Implemented basic VGA routines
Implemented Eng\DrvLineTo

svn path=/trunk/; revision=1095
2000-04-01 12:31:29 +00:00
David Welch
9d6388ae05 Corrected mutex implementation
Added proper locking to the memory managment

svn path=/trunk/; revision=1093
2000-03-29 13:11:55 +00:00
Phillip Susi
3bd2a11130 Fixed typeo preventing compilation
svn path=/trunk/; revision=1092
2000-03-29 03:15:11 +00:00
David Welch
1be4f77bcb Corrected the handle generation algorithm in the kernel and csrss
Did some work on services.exe
Did some work on the service functions in advapi32
Made some progress in implementing npfs
Implemented a basic grammar for midl

svn path=/trunk/; revision=1091
2000-03-26 22:00:10 +00:00
Emanuele Aliberti
758ba695e1 Io subsystem clean-up. Every exported symbols is not STDCALL.
NtCreateFile renamed IoCreateFile and Nt{Create,Open}File call IoCreateFile.
Io data items added (to be fixed).

svn path=/trunk/; revision=1090
2000-03-26 19:38:32 +00:00
David Welch
79eff41abb Connected standard input/output to the console
Removed from superfluous assertions
Changed the ide read and write commands to work with bochs
Corrected bug in the csrss server

svn path=/trunk/; revision=1089
2000-03-24 22:25:39 +00:00
David Welch
0bd4cf0cbf Updated the minix driver
Moved console handling into csrss
Gave each process a name for debugging purposes

svn path=/trunk/; revision=1088
2000-03-22 18:36:00 +00:00
Eric Kohl
a1c9a520cf Modified kernel initialization sequence
Enabled bus handlers

svn path=/trunk/; revision=1087
2000-03-20 18:00:55 +00:00
Eric Kohl
dc3956d8ac Added some more status codes
svn path=/trunk/; revision=1086
2000-03-19 15:57:39 +00:00
Eric Kohl
802301d861 Implemented bus handler functions (not working yet)
Several STDCALL fixes

svn path=/trunk/; revision=1085
2000-03-19 13:35:38 +00:00
Eric Kohl
9887130ab7 Implemented bus handler functions (not working yet)
svn path=/trunk/; revision=1084
2000-03-19 13:33:39 +00:00
Eric Kohl
d4fc70afdc Implemented VideoPortDebugPrint()
svn path=/trunk/; revision=1083
2000-03-19 13:31:37 +00:00
Eric Kohl
bd02ee978f Added SYSTEM_TIME_INFORMATION
svn path=/trunk/; revision=1082
2000-03-19 13:30:30 +00:00
Emanuele Aliberti
bc30557a61 Some clean-up in ntoskrnl/mm. MmAllocateSection prototype moved in
internal/mm.h.

svn path=/trunk/; revision=1081
2000-03-19 09:14:52 +00:00
Eric Kohl
56132bfb44 Fixed path bugs
svn path=/trunk/; revision=1080
2000-03-18 19:55:53 +00:00
Jason Filby
c4ecfc894c Added forgotten .h files
svn path=/trunk/; revision=1079
2000-03-18 18:39:44 +00:00
Emanuele Aliberti
d6f6aad9e7 qsort in NTOSKRNL and some STDCALL declarations.
svn path=/trunk/; revision=1078
2000-03-18 15:12:19 +00:00
Eric Kohl
5e7a2202d1 Oops...
svn path=/trunk/; revision=1077
2000-03-18 14:37:43 +00:00
Eric Kohl
2c6fae9c20 Added image functions
Include pe.h in windows.h to avoid conflicts

svn path=/trunk/; revision=1076
2000-03-18 14:02:01 +00:00
Eric Kohl
1042f1ae27 Added security descriptor functions
svn path=/trunk/; revision=1075
2000-03-18 13:48:24 +00:00
Eric Kohl
753cb16c91 Fixed compiler warnings
svn path=/trunk/; revision=1074
2000-03-18 02:39:39 +00:00
Jason Filby
5d99a8740a last mod...
svn path=/trunk/; revision=1073
2000-03-17 22:19:44 +00:00
Jason Filby
1ba7343b1c Additional modifications
svn path=/trunk/; revision=1072
2000-03-17 22:14:31 +00:00
Jason Filby
2adbc636a8 Additional modifications
svn path=/trunk/; revision=1071
2000-03-17 21:56:43 +00:00
Jason Filby
c404283ff4 Additional modifications
svn path=/trunk/; revision=1070
2000-03-17 21:49:32 +00:00
Eric Kohl
d9d3272dc6 Fixed compiler warning
svn path=/trunk/; revision=1069
2000-03-17 21:46:41 +00:00
Jason Filby
690a781452 Added eng files
svn path=/trunk/; revision=1068
2000-03-17 21:44:02 +00:00
Jason Filby
e1d6086025 Miniport driver now loaded from win32k
Display and miniport drivers can now talk to each other
Sets the VGA video mode

svn path=/trunk/; revision=1067
2000-03-17 21:02:59 +00:00
Eric Kohl
40ee84e997 Oops! Typos...
svn path=/trunk/; revision=1066
2000-03-16 21:50:56 +00:00
Eric Kohl
ef5f880bac Fixed ANSI <--> Unicode conversions
svn path=/trunk/; revision=1065
2000-03-16 21:50:11 +00:00
David Welch
6088637c5e Oops.
svn path=/trunk/; revision=1064
2000-03-16 20:50:48 +00:00
Eric Kohl
0344745e30 Fixed a confusing error message
svn path=/trunk/; revision=1063
2000-03-16 20:02:44 +00:00
David Welch
337952bfb9 Implemented setting the fs register to point to the TEB
svn path=/trunk/; revision=1062
2000-03-16 18:44:57 +00:00
Eric Kohl
15c9809105 Fixed ANSI/OEM <--> Unicode conversions
svn path=/trunk/; revision=1061
2000-03-16 01:14:58 +00:00
Eric Kohl
b820741431 Fixed WIN32_FIND_DATA[A/W] structs and resulting bugs
svn path=/trunk/; revision=1060
2000-03-15 23:13:29 +00:00
Eric Kohl
67200bd4f9 Fixed ANSI/OEM <--> Unicode conversions
svn path=/trunk/; revision=1059
2000-03-15 18:30:30 +00:00
Eric Kohl
b2eb99d9f7 Obsolete!
svn path=/trunk/; revision=1058
2000-03-15 18:29:50 +00:00
Eric Kohl
9658579d48 Fixed ANSI/OEM <--> Unicode conversions
svn path=/trunk/; revision=1057
2000-03-15 12:25:47 +00:00
Eric Kohl
1c5d2b7204 Fixed ANSI/OEM <--> Unicode conversions
svn path=/trunk/; revision=1056
2000-03-14 23:09:23 +00:00
David Welch
fbfce3bc03 Updated install script
svn path=/trunk/; revision=1055
2000-03-13 23:16:46 +00:00
Eric Kohl
045a3dfdd2 Unused characters in long file name buffers (directory slots) must be filled with 0xFFFF.
svn path=/trunk/; revision=1054
2000-03-13 17:58:06 +00:00
Eric Kohl
2ef0c4177b Fixed a bug in rtlGetFullPathName_U()
svn path=/trunk/; revision=1053
2000-03-13 17:54:23 +00:00
Eric Kohl
6865b783cc Fixed file creation date and time
Implemented synchronization of all FATs (FAT16 only)
Fixed bug in directory creation

svn path=/trunk/; revision=1052
2000-03-12 23:28:59 +00:00
Eric Kohl
15094179f1 Add MD command
svn path=/trunk/; revision=1051
2000-03-12 23:24:51 +00:00
Eric Kohl
d9a0a586a8 Updated INTERFACE_TYPE
svn path=/trunk/; revision=1050
2000-03-12 01:22:37 +00:00
Eric Kohl
afa23cb264 Added some security functions
svn path=/trunk/; revision=1049
2000-03-12 01:18:18 +00:00
Eric Kohl
9488b3031c Fixed lots of status values
svn path=/trunk/; revision=1048
2000-03-12 01:15:09 +00:00
Emanuele Aliberti
a665da497e NTOKRNL.FsRtl notification and cache tunnels stubs added.
Possibly fixed the win32k.sys import error reported by Jason.

svn path=/trunk/; revision=1047
2000-03-11 00:51:36 +00:00
Emanuele Aliberti
f1d9e95a84 NTOSKRNL.FsRtl opportunistic lock stubs added.
svn path=/trunk/; revision=1046
2000-03-10 22:09:17 +00:00
Eric Kohl
91d68b2e7b Fixed compiler warning
svn path=/trunk/; revision=1045
2000-03-10 13:46:27 +00:00
Jason Filby
200afa376d Add VGA display driver
svn path=/trunk/; revision=1044
2000-03-10 12:45:45 +00:00
Jason Filby
836456a97d Small fix
svn path=/trunk/; revision=1043
2000-03-10 12:39:53 +00:00
Jason Filby
10f82cf988 Implemented DRIVER_BuildDDIFunctions
svn path=/trunk/; revision=1042
2000-03-09 21:04:10 +00:00
Eric Kohl
bf4806c502 Added time related functions
svn path=/trunk/; revision=1041
2000-03-09 16:01:25 +00:00
Eric Kohl
89871935c1 Implemented bitmap functions
svn path=/trunk/; revision=1040
2000-03-09 00:14:10 +00:00
Emanuele Aliberti
c3f375c672 win32k.sys exports script.
svn path=/trunk/; revision=1039
2000-03-08 22:39:04 +00:00
Emanuele Aliberti
267e86b00e Version info added to Eric's edit port.
svn path=/trunk/; revision=1038
2000-03-08 22:38:01 +00:00
Emanuele Aliberti
b129b2caea Some minor fixes.
svn path=/trunk/; revision=1037
2000-03-08 22:37:04 +00:00
Jason Filby
3da0b018e5 Moved display driver and got win32k loading it's entry point.
svn path=/trunk/; revision=1036
2000-03-08 21:23:14 +00:00
Eric Kohl
e2eb8c1697 Added more bitmap functions
Fixed some STDCALL issues

svn path=/trunk/; revision=1035
2000-03-08 01:55:34 +00:00
Eric Kohl
a12836346f Improved keyboard handling code
Fixed problems with differnet console sizes
Started function renaming

svn path=/trunk/; revision=1034
2000-03-08 01:49:37 +00:00
Emanuele Aliberti
1eed2a945a Added .Type and .Size attributes to the IRP object: so far nothing
seems broken.
Added __stdcall to some Io subsystem functions.
Attempt to implement IoIsOperationSynchronous().

svn path=/trunk/; revision=1033
2000-03-06 01:02:30 +00:00
Eric Kohl
79d0e047eb Added D-Flat/32 library
svn path=/trunk/; revision=1032
2000-03-05 19:58:08 +00:00
Emanuele Aliberti
2634e901be NTOSKRNL.FSRtl MDL stubs added.
svn path=/trunk/; revision=1031
2000-03-05 19:17:43 +00:00
Eric Kohl
9eac680002 Implemented kernel parameter line
Some kernel debugger improvements

svn path=/trunk/; revision=1030
2000-03-04 22:03:32 +00:00
Emanuele Aliberti
51df161b78 *** empty log message ***
svn path=/trunk/; revision=1029
2000-03-04 20:45:34 +00:00
Eric Kohl
2b0d467176 Moved spinlock.c and head.s from 'hal/x86' to 'ke'.
This is needed for the hal separation.

svn path=/trunk/; revision=1028
2000-03-04 13:44:59 +00:00
Eric Kohl
92857818cb Added bitmaps
Added some Rtl string functions
Various changes

svn path=/trunk/; revision=1026
2000-03-03 00:48:50 +00:00
Eric Kohl
fd304f0ef5 Fixed compiler warnings
svn path=/trunk/; revision=1025
2000-03-03 00:34:54 +00:00
Emanuele Aliberti
ef5b0066c7 *** empty log message ***
svn path=/trunk/; revision=1024
2000-03-01 23:41:35 +00:00
Emanuele Aliberti
395fb3c86f NTOSKRNL.FsRtlAllocate functions.
svn path=/trunk/; revision=1023
2000-03-01 22:52:28 +00:00
Eric Kohl
76f55a8a93 Fixed mp driver initialization bug and some other ones
svn path=/trunk/; revision=1022
2000-03-01 03:25:11 +00:00
Emanuele Aliberti
d53eeb0cee Added help command to shell.exe.
Minor changes.

svn path=/trunk/; revision=1021
2000-02-29 23:57:47 +00:00
Eric Kohl
c37b4fd7f1 Fixed some unicode initialization bugs
svn path=/trunk/; revision=1020
2000-02-27 18:01:44 +00:00
Eric Kohl
c0ad0d9b02 Added 'Path' and 'windir' system environment variables
svn path=/trunk/; revision=1019
2000-02-27 15:47:17 +00:00
Eric Kohl
853d9d4ae2 Fixed bugs in RtlExpandEnvironmentStrings_U() and RtlSetEnvironmentVariable()
svn path=/trunk/; revision=1018
2000-02-27 15:45:57 +00:00
Eric Kohl
6eb7010078 Fixed bugs in '%wZ' string output
svn path=/trunk/; revision=1017
2000-02-27 15:43:58 +00:00
Jason Filby
48db9468eb Minor fixes
svn path=/trunk/; revision=1016
2000-02-27 11:04:36 +00:00
Eric Kohl
fa81b6d260 Improved csrss (doesn't crash any more)
Improved kernel debugger code
Various minor improvements

svn path=/trunk/; revision=1015
2000-02-27 02:12:07 +00:00
Eric Kohl
012968e3dc Removed obsolete header include
svn path=/trunk/; revision=1014
2000-02-26 23:20:50 +00:00
Emanuele Aliberti
debfec7180 Some __stdcall declarations in ntoskrnl/hal.
A new include/ddk/kdfuncs.h header.

svn path=/trunk/; revision=1013
2000-02-26 22:41:35 +00:00
Emanuele Aliberti
4b80eae220 File locking NTOSKRNL.FsRtl stubs.
svn path=/trunk/; revision=1012
2000-02-26 16:22:27 +00:00
Boudewijn Dekker
ad382b39b3 changed struct FILE_OBJECT* to struct _FILE_OBJECT* at line 154
svn path=/trunk/; revision=1011
2000-02-26 09:58:06 +00:00
Eric Kohl
89875c3a44 Improved RtlCreateUserProcess()
svn path=/trunk/; revision=1010
2000-02-25 23:58:57 +00:00
Emanuele Aliberti
8f1ea8477c FsRtl stubs for DBCS names handling.
svn path=/trunk/; revision=1009
2000-02-25 23:27:51 +00:00
Eric Kohl
26253d8e9b Fixed PEB related bugs
svn path=/trunk/; revision=1008
2000-02-25 00:35:06 +00:00
Eric Kohl
0723b7c345 Removed useless debug messages and header files
svn path=/trunk/; revision=1007
2000-02-25 00:34:12 +00:00
Emanuele Aliberti
ac8c87276f Minor changes.
svn path=/trunk/; revision=1006
2000-02-24 23:38:26 +00:00
Emanuele Aliberti
00a4935163 *** empty log message ***
svn path=/trunk/; revision=1005
2000-02-24 23:31:27 +00:00
Emanuele Aliberti
9dc1aa60cb Changes for FsRtl added functions.
svn path=/trunk/; revision=1004
2000-02-24 23:27:52 +00:00
Emanuele Aliberti
9f87d15938 More stubs for NTOSKRNL.FsRtl: file name handling.
svn path=/trunk/; revision=1003
2000-02-24 23:25:16 +00:00
Eric Kohl
d7de328d0c Replaced direct io space mapping by call to MmMapIoSpace()
svn path=/trunk/; revision=1002
2000-02-24 13:16:40 +00:00
Eric Kohl
6165746875 Added gdi test program gditest.exe
svn path=/trunk/; revision=1001
2000-02-22 20:58:26 +00:00
Eric Kohl
7b02da36f7 Added GdiDllInitialize()
svn path=/trunk/; revision=1000
2000-02-22 20:55:57 +00:00
Eric Kohl
f8fe1ea0b1 Added W32kInitialize service (orig. name NtGdiInit)
svn path=/trunk/; revision=999
2000-02-22 20:53:11 +00:00
Eric Kohl
213e8b569c Fixed minor bugs interrupt_service2e()
svn path=/trunk/; revision=998
2000-02-22 20:50:07 +00:00
Rex Jolliff
5db4e55264 added support for shadow syscall table
svn path=/trunk/; revision=997
2000-02-22 07:27:30 +00:00
Eric Kohl
7cb2e823a0 Fixed minor bugs. 'ddk/ntddk.h' MUST ALWAYS be included FIST!!!!!
svn path=/trunk/; revision=996
2000-02-22 02:02:08 +00:00
Eric Kohl
d1341007cf Changed RtlCopyMemory() from function to macro
Improved system service table code

svn path=/trunk/; revision=995
2000-02-21 22:44:37 +00:00
Emanuele Aliberti
151f2f646e WIN32K Kernel API main include file (replaces win32k/win32k.h).
svn path=/trunk/; revision=994
2000-02-21 00:50:17 +00:00
Emanuele Aliberti
7d3fded0ba Added little prog. that builds the WIN32K.SYS service table
and the stubs to be used in GDI32.DLL.
Converted to __stdcall every W32k... call in WIN32K.SYS.
Fixed the entry point in GDI32.DLL.
WARNING: the thing compiles, but Jason reports it does not work as is
(he tested a preliminary stub piece of code).
Perhaps changing it (as Phillip proposes) or fixing it to make WIN32K.SYS
work the NT way is required (Hernan, are you there: I did not understand
well how the additional service tables work). Feel free to change it.

svn path=/trunk/; revision=993
2000-02-20 22:52:50 +00:00
Eric Kohl
b9bb1744aa Fixed bugs in process parameter and environment code
svn path=/trunk/; revision=992
2000-02-19 19:37:13 +00:00
Eric Kohl
e632116bee Fixed buggy RtlCompareString() and RtlCompareUnicodeString()
svn path=/trunk/; revision=991
2000-02-19 19:31:41 +00:00
Eric Kohl
f28a023c99 Fixed a bug - memmove() couldn't handle overlapping buffers
svn path=/trunk/; revision=990
2000-02-19 17:18:34 +00:00
Eric Kohl
b0780ae5d6 Fixed environment implementation
Fixed current directory implementation

svn path=/trunk/; revision=989
2000-02-18 01:01:06 +00:00
Eric Kohl
6bea08705e Fixed minor bugs and removed fixed start directory
svn path=/trunk/; revision=988
2000-02-18 00:53:11 +00:00
Eric Kohl
6708f0b87e Fixed environment implementation
Fixed current directory implementation

svn path=/trunk/; revision=987
2000-02-18 00:51:03 +00:00
Emanuele Aliberti
f0175145d6 Untested raw implementation of MultiByteToWideChar().
svn path=/trunk/; revision=986
2000-02-14 22:10:46 +00:00
David Welch
3cd2fc22d7 Fixed compilation bug
Made a start on some documentation in info format

svn path=/trunk/; revision=985
2000-02-14 14:13:34 +00:00
Boudewijn Dekker
b49921cb96 impl. NtGetTickCount
svn path=/trunk/; revision=984
2000-02-14 10:27:40 +00:00
David Welch
c110a36a78 Moved user-process loading into ZwCreateProcess
svn path=/trunk/; revision=983
2000-02-13 16:05:19 +00:00
Eric Kohl
ca7bca8f84 Fixed a bug in NtQueryVirtualMemory()
svn path=/trunk/; revision=982
2000-02-06 15:52:04 +00:00
Eric Kohl
5f71c29e2c Fixed _wcsnicmp()
svn path=/trunk/; revision=981
2000-02-05 23:46:14 +00:00
Eric Kohl
326a3cd58b Added some string functions
Added security descriptor functions
Implemented environment functions
Implemented current directory functions

svn path=/trunk/; revision=980
2000-02-05 16:08:49 +00:00
Eric Kohl
18c0c85dd8 Added CHECKPOINT macro
svn path=/trunk/; revision=978
2000-02-03 22:45:11 +00:00
Phillip Susi
480136bdf4 Fixed loader bugs, still needs reworked to create multiple sections
svn path=/trunk/; revision=977
2000-02-03 21:34:14 +00:00
Paolo Pantaleo
16ef6ef2af history command added and some minor changes to history interface
svn path=/trunk/; revision=976
2000-02-01 18:29:11 +00:00
Eric Kohl
33258c166f Fixed a stdcall bug
svn path=/trunk/; revision=975
2000-01-31 20:26:15 +00:00
Eric Kohl
f09ef9894a Fixed an invalid printf() format type
svn path=/trunk/; revision=974
2000-01-31 20:25:43 +00:00
Eric Kohl
19e258120e Fixed compiler warnings
svn path=/trunk/; revision=973
2000-01-31 20:24:41 +00:00
Eric Kohl
7c3e6e80c1 Fixed METAFILEPICT bug
svn path=/trunk/; revision=972
2000-01-31 20:23:54 +00:00
Hernan Ochoa
5dc3ee0414 Added $Id Tag for commit info
svn path=/trunk/; revision=971
2000-01-30 20:55:51 +00:00
Hernan Ochoa
90579ae67f Added $Id Tag for commit info
svn path=/trunk/; revision=970
2000-01-30 17:02:44 +00:00
Phillip Susi
5dff1d9789 ignore errors deleting files for make clean
svn path=/trunk/; revision=969
2000-01-29 20:32:12 +00:00
Hernan Ochoa
337692832a Added parameters checking, help, and some information about
when the program was compiled.

svn path=/trunk/; revision=968
2000-01-29 19:20:26 +00:00
David Welch
d633bd8168 Changed the loader so ZwCreateProcess now maps ntdll into memory
svn path=/trunk/; revision=967
2000-01-27 08:56:50 +00:00
Jason Filby
980d94c760 *** empty log message ***
svn path=/trunk/; revision=966
2000-01-26 21:10:16 +00:00
David Welch
d24a48cd94 More improvements to LPC code
Updated TEB structure
Changed selectors value to be closer to nt
Some bugfixes

svn path=/trunk/; revision=965
2000-01-26 10:07:30 +00:00
Phillip Susi
52404fd1c8 Fixed bug in IO manager that caused crash when trying to open a file on a non existant device
Fixed memory leaks in object manager

svn path=/trunk/; revision=964
2000-01-25 06:31:25 +00:00
Emanuele Aliberti
3a18299c0f Coders directory updated.
svn path=/trunk/; revision=963
2000-01-23 22:52:57 +00:00
Phillip Susi
c41488b99a Fixed syntax error
svn path=/trunk/; revision=962
2000-01-23 19:36:41 +00:00
Hernan Ochoa
3cd7e191a4 now NTOSKRNL exports KeServiceDescriptorTable just like
NT's NTOSKRNL does.

svn path=/trunk/; revision=961
2000-01-23 15:21:25 +00:00
Hernan Ochoa
185d2be0f1 added definitions for SSDT, SSPT, KeServiceDescriptorTable,
KeServiceDescriptorTableShadow, KeAddSystemService(),
KE_SERVIDE_DESCRIPTOR_TABLE_ENTRY.

svn path=/trunk/; revision=960
2000-01-23 15:19:05 +00:00
Hernan Ochoa
55bb357489 changed syscall tables. now it mimics NT style.
it has a SSDT a SSPT, a KeServiceDescriptorTable and a
KeServiceDescriptorTableShadow. modified the code
inside the int2e_handler() to use the new syscall tables.

svn path=/trunk/; revision=959
2000-01-23 15:17:06 +00:00
Hernan Ochoa
65a742ceaa changed syscall tables. now it mimics NT style.
it has a SSDT a SSPT, a KeServiceDescriptorTable and a
KeServiceDescriptorTableShadow. genntdll now also generates
some useful defines about min syscall number, max
syscall number, and number of syscalls.

svn path=/trunk/; revision=958
2000-01-23 15:14:42 +00:00
Phillip Susi
1220167730 New Read/Write File IO test utility
svn path=/trunk/; revision=957
2000-01-23 09:04:30 +00:00
Phillip Susi
2001008199 Fixed OutputDebugString() to use the new int 2D debug service
Moved include of rules.mak up to top so it picks up the HOST variable from there

svn path=/trunk/; revision=956
2000-01-23 08:16:20 +00:00
Emanuele Aliberti
74131ebded Added error reporting to lpcsrv and lpcclt.
svn path=/trunk/; revision=955
2000-01-22 22:22:48 +00:00
Emanuele Aliberti
5415f6f333 Fixed a stupid bug in time conversion code that generated abnormally high
build numbers.

svn path=/trunk/; revision=954
2000-01-22 14:25:48 +00:00
Phillip Susi
0ab77c8e74 Fixed a broken DPRINT
svn path=/trunk/; revision=953
2000-01-22 00:04:56 +00:00
Phillip Susi
51445f2db1 Made symbolic links permanent the proper way, with the perm flag, rather than leaking a refcount
svn path=/trunk/; revision=952
2000-01-21 23:59:53 +00:00
Phillip Susi
4d393f112a darnit... another debug print.. someone kick me
svn path=/trunk/; revision=951
2000-01-21 23:27:47 +00:00
Phillip Susi
a706ca2b64 Ooops... forgot some debug prints ( embarassed )
svn path=/trunk/; revision=950
2000-01-21 23:17:47 +00:00
Phillip Susi
e4008de214 Fixed makefile to include rules.mak first, so it gets the settings in there right
Fixed path parsing for \\.\

svn path=/trunk/; revision=949
2000-01-21 23:06:26 +00:00
Eric Kohl
2a24d175bf Replaced calls to aprintf() or dprintf() by DPRINT()
Removed old debugging code

svn path=/trunk/; revision=948
2000-01-20 22:57:01 +00:00
Eric Kohl
b6c944afcc Added missing format types to vfprintf()
Implemented vfwprintf()

svn path=/trunk/; revision=947
2000-01-20 22:49:12 +00:00
Emanuele Aliberti
90617da53d Minor changes.
svn path=/trunk/; revision=946
2000-01-20 22:14:45 +00:00
Emanuele Aliberti
b6de29fefb Two more FsRtl stubs.
svn path=/trunk/; revision=945
2000-01-20 22:14:08 +00:00
Emanuele Aliberti
8b078f86ae Updated fsfuncs.h with latest stubs prototypes.
svn path=/trunk/; revision=944
2000-01-20 22:11:48 +00:00
Eric Kohl
1b92b852eb Cleanup
Added '%I64' format type

svn path=/trunk/; revision=943
2000-01-19 19:48:20 +00:00
Eric Kohl
072eed4ad3 Fixed compiler warning
svn path=/trunk/; revision=942
2000-01-19 19:47:15 +00:00
Eric Kohl
75f2f5b22e Fixed ugly bug in the serial debugging code
svn path=/trunk/; revision=941
2000-01-19 16:24:15 +00:00
Rex Jolliff
90e1f4cbf9 changes to support v15 release
svn path=/trunk/; revision=939
2000-01-19 07:05:04 +00:00
Eric Kohl
921363d647 Changed debug output to use INT 2D
svn path=/trunk/; revision=938
2000-01-18 12:04:45 +00:00
Eric Kohl
8234dea660 Changed debug output to use INT 2D
Ooops! This one was missing! Sorry!

svn path=/trunk/; revision=937
2000-01-18 11:04:53 +00:00
Eric Kohl
88cb154d19 Changed debug output to use INT 2D
svn path=/trunk/; revision=936
2000-01-17 21:02:50 +00:00
Phillip Susi
faac123528 fixed tab completion with long file names
svn path=/trunk/; revision=935
2000-01-17 02:17:50 +00:00
Emanuele Aliberti
e857e97df1 Some more stubs for NDIS.SYS.
svn path=/trunk/; revision=934
2000-01-16 18:32:34 +00:00
Emanuele Aliberti
d508a1f0bf Added two missing names.
svn path=/trunk/; revision=933
2000-01-16 18:31:48 +00:00
Eric Kohl
013fc117b8 Added missing features and functions
Cleaned confusing file naming

svn path=/trunk/; revision=932
2000-01-14 02:23:25 +00:00
Eric Kohl
3d1f2d98ba Added missing printf() functions
Changed format %w to %S and %W to %wZ

svn path=/trunk/; revision=931
2000-01-12 19:05:32 +00:00
Eric Kohl
de66c40007 Disabled debugging messages
svn path=/trunk/; revision=930
2000-01-11 17:33:44 +00:00
Eric Kohl
6cc53dd4b3 Fixed process parameters
Simplified current directory code
Added %C and %S formats to printf()
Changed %w to %S
Fixed compiler warnings

svn path=/trunk/; revision=929
2000-01-11 17:32:13 +00:00
Eric Kohl
fb7f4582cd Fixed ctype and Rtl functions
svn path=/trunk/; revision=928
2000-01-11 01:16:50 +00:00
Emanuele Aliberti
a11a76eaef Some more NTOSKRNL.FsRtl stubs.
svn path=/trunk/; revision=927
2000-01-10 22:46:38 +00:00
Eric Kohl
be132afdf2 Added DbgPrint()
Fixed some Rtl functions
Added missing printf() and wprintf() functions

svn path=/trunk/; revision=926
2000-01-10 20:34:41 +00:00
Eric Kohl
686387f8e0 Removed fixed screen size code
svn path=/trunk/; revision=925
2000-01-09 23:16:41 +00:00
Eric Kohl
492a608e06 Fixed hal display bug
svn path=/trunk/; revision=924
2000-01-09 21:39:07 +00:00
Emanuele Aliberti
fd411d8b8c New year in c/r string.
svn path=/trunk/; revision=923
2000-01-08 16:17:50 +00:00
Eric Kohl
6f3d53f751 Added reading screen sizes from crt controller
svn path=/trunk/; revision=922
2000-01-07 18:57:33 +00:00
Emanuele Aliberti
462fe323eb A few more return structures for NtQuerySystemInformation
svn path=/trunk/; revision=921
2000-01-06 13:17:48 +00:00
David Welch
4d8c6a710b Removed debug messages from queuing code (sorry)
Added __int64 datatype to files that use it
Hid bug in ide driver (or somewhere) for now

svn path=/trunk/; revision=920
2000-01-06 00:26:16 +00:00
David Welch
623093eaaa Implemented more security functions
Moved general security types into new header file
Implemented ThreadImpersonationToken info class
Bug fixes to queuing code

svn path=/trunk/; revision=919
2000-01-05 21:57:00 +00:00
Eric Kohl
453f513ed3 Fixed ctype table and functions.
svn path=/trunk/; revision=918
2000-01-05 19:42:56 +00:00
Eric Kohl
57919a833e Fixed ctype table.
svn path=/trunk/; revision=917
2000-01-05 17:49:00 +00:00
David Welch
e6b5c8bfc7 Disabled pragma statement that was causing problems
svn path=/trunk/; revision=916
2000-01-02 14:21:04 +00:00
Eric Kohl
974095c413 Added mbtowc(), mbstowcs(), wctomb() and wcstombs()
svn path=/trunk/; revision=914
1999-12-30 14:39:43 +00:00
David Welch
a8ca53d761 Added some additional csrss work
Some fixes to the queueing code
Some fixes to the lpc code
Fix to section code

svn path=/trunk/; revision=913
1999-12-30 01:51:42 +00:00
Eric Kohl
c54d897571 Added even more missing functions
svn path=/trunk/; revision=912
1999-12-30 01:33:47 +00:00
Eric Kohl
17afcb4dfd Added some missing debug, math and ctype functions
svn path=/trunk/; revision=911
1999-12-29 17:13:27 +00:00
Eric Kohl
2284e742b3 Fixed implementation of register io functions
Added luid functions

svn path=/trunk/; revision=910
1999-12-29 01:37:30 +00:00
Eric Kohl
c7580dacf3 Last update for millenium release
Fixed some minor bugs
Fixed window title

svn path=/trunk/; revision=909
1999-12-28 23:13:38 +00:00
Eric Kohl
9446011fc1 Minor update
svn path=/trunk/; revision=908
1999-12-28 16:25:21 +00:00
Emanuele Aliberti
586433918e Some more NDIS stubs.
svn path=/trunk/; revision=907
1999-12-27 22:27:39 +00:00
Eric Kohl
b9579544e7 Removed cmd target
svn path=/trunk/; revision=906
1999-12-27 15:07:00 +00:00
Eric Kohl
005106acbb Fixed some more STDCALL issues
svn path=/trunk/; revision=905
1999-12-27 15:06:13 +00:00
Emanuele Aliberti
38d1018911 Added (io/create.c) IoCreateFile stub.
svn path=/trunk/; revision=904
1999-12-26 20:21:03 +00:00
Emanuele Aliberti
ea5959a772 Some missing __stdcall declarations added in headers and in code.
svn path=/trunk/; revision=903
1999-12-26 17:22:19 +00:00
Emanuele Aliberti
6b50f46c2f Some old Fs/Po code added to the makefile
svn path=/trunk/; revision=902
1999-12-26 16:36:46 +00:00
David Welch
4d5643a96a Added some security functions
Changes to csrss console support
Fixed bug in gdt.c

svn path=/trunk/; revision=901
1999-12-26 15:50:53 +00:00
Eric Kohl
128cfc8af0 Fixed compiler warnings
svn path=/trunk/; revision=900
1999-12-24 17:20:54 +00:00
Eric Kohl
a7a23b4dc3 Added missing test
svn path=/trunk/; revision=899
1999-12-24 17:16:32 +00:00
David Welch
dbd051cad4 Corrected additional object manager issues pointed by Philip Susi
Began added console i/o code to csrss (not working yet)
Corrected long standing page fault bug (not zeroing allocated page)

svn path=/trunk/; revision=898
1999-12-22 14:48:30 +00:00
Phillip Susi
1667a4589a fixed typeo
svn path=/trunk/; revision=897
1999-12-20 21:30:13 +00:00
Eric Kohl
6a617736e9 Fixed a compiler warning
svn path=/trunk/; revision=896
1999-12-20 21:05:53 +00:00
Phillip Susi
d832a87f14 fixed missing dereference and cleaned up code in NtCreateEvent
svn path=/trunk/; revision=895
1999-12-20 20:49:27 +00:00
David Welch
13541861b1 Fixed problem with handles not being released
Changed page fault handling to take account of the error code
Changed handle table locking

svn path=/trunk/; revision=894
1999-12-20 02:14:40 +00:00
Phillip Susi
dfa5f04c63 merged better assert code back into main trunk
svn path=/trunk/; revision=893
1999-12-18 19:50:24 +00:00
David Welch
cc5dc64c30 Worked around compiler bug in NtDelayExecution
Added some page free checking
Reorganised thread code a bit

svn path=/trunk/; revision=892
1999-12-18 17:48:23 +00:00
Emanuele Aliberti
8abc09ec0d Versio info actually linked in *.sys modules
svn path=/trunk/; revision=891
1999-12-18 10:17:42 +00:00
Emanuele Aliberti
5b86e3a918 RtlNtStatusToDosError and RtlNtStatusToPsxErrno declared __stdcall
svn path=/trunk/; revision=890
1999-12-18 10:16:11 +00:00
Emanuele Aliberti
e5b9e13d59 Minor changes
svn path=/trunk/; revision=889
1999-12-18 10:15:11 +00:00
Phillip Susi
bfaef27782 Added tracking of running threads in a process, and termination of process when all threads terminate
svn path=/trunk/; revision=888
1999-12-18 07:33:53 +00:00
Phillip Susi
4e94397e24 Added list of threads in process
svn path=/trunk/; revision=887
1999-12-18 07:28:28 +00:00
Phillip Susi
683932b845 changed to use proper type for dispatcher header, instead of PVOID in WAIT_BLOCK
svn path=/trunk/; revision=886
1999-12-17 23:30:48 +00:00
Phillip Susi
4ce5c9d3b4 fixed WaitForMultipleObjects()'s handling of the WaitAll flag
svn path=/trunk/; revision=885
1999-12-17 23:24:27 +00:00
Phillip Susi
6b53b3acea Working and tested KeWaitForXXX
svn path=/trunk/; revision=884
1999-12-17 23:23:36 +00:00
Eric Kohl
81547d8842 Added missing .cvsignore file
svn path=/trunk/; revision=883
1999-12-16 23:09:34 +00:00
Eric Kohl
1b0b103796 Added a time conversion function and fixed a little bug
(fat stores only 2 second steps)

svn path=/trunk/; revision=882
1999-12-16 23:08:17 +00:00
Phillip Susi
98a6084104 found that list corruption bug. it was also resulting in a meory spray
svn path=/trunk/; revision=881
1999-12-16 22:59:03 +00:00
Phillip Susi
96aed594a2 fixed CreateEvent() with NULL name
svn path=/trunk/; revision=879
1999-12-16 17:48:43 +00:00
Phillip Susi
ca6a107ee2 fixed a few bugs in wait code
svn path=/trunk/; revision=878
1999-12-16 05:13:06 +00:00
Phillip Susi
414cd229d9 new event test app
svn path=/trunk/; revision=877
1999-12-16 05:12:12 +00:00
Eric Kohl
a09b668be6 Added missing .cvsignore file
svn path=/trunk/; revision=876
1999-12-16 00:15:19 +00:00
Phillip Susi
7f63532d94 fixed timeout on wait functions
svn path=/trunk/; revision=875
1999-12-15 06:48:10 +00:00
Eric Kohl
8bbcdc3d4a Fixed current directory handling
Added new prompt functions
Fixed dangling pointer bug in copy command

svn path=/trunk/; revision=874
1999-12-15 00:50:41 +00:00
Phillip Susi
43d5d0b2f0 used proper type pointer instead of PVOID
svn path=/trunk/; revision=873
1999-12-14 18:44:38 +00:00
Phillip Susi
a409988b36 missing initialization of Thread->Tcb.WaitBlockList
svn path=/trunk/; revision=872
1999-12-14 18:35:19 +00:00
Phillip Susi
33009b967e bug fix with file object's name being freed but the pointer not NULLed
svn path=/trunk/; revision=871
1999-12-14 18:32:38 +00:00
Phillip Susi
4c2f15bfb9 fixed runnable thread counters
svn path=/trunk/; revision=870
1999-12-14 00:54:29 +00:00
David Welch
c40b27bbc4 Forgot to remove obsolete file
svn path=/trunk/; revision=869
1999-12-13 23:07:49 +00:00
David Welch
ac7a3aa542 Reworked APC and waiting code, seems more stable now
KeWaitForMultipleObjects is broken, shouldn't be difficult to fix
Corrected bug in ntdll ldr which prevented VC applications being loaded
Added thread testing application
Tried to make thread termination reentrant
Improved stack frame dump

svn path=/trunk/; revision=868
1999-12-13 22:04:41 +00:00
Phillip Susi
90e6a2244e missing GetEnvironmentStrings export, was supposed to be aliased to GetEnvironmentStringsA for some reason, as NT's exports it, and ros's cmd.exe imports it.
svn path=/trunk/; revision=867
1999-12-12 07:59:41 +00:00
Phillip Susi
8c2f4d55e3 David forgot to take out a debugging line? Prevented process termination on user mode exception
svn path=/trunk/; revision=866
1999-12-12 06:09:29 +00:00
Phillip Susi
9a22766e36 new APC code ready for prime time
svn path=/trunk/; revision=865
1999-12-12 03:56:53 +00:00
Phillip Susi
53b1677997 new APC code ready for prime time
svn path=/trunk/; revision=864
1999-12-12 03:48:47 +00:00
David Welch
2cecd9846d Removed typo.
svn path=/trunk/; revision=863
1999-12-12 01:04:09 +00:00
David Welch
f822a2a9d9 Backed out Philip Susi's changes for further testing
Returned kernel to working state.
Made exception handling more tolerant

svn path=/trunk/; revision=862
1999-12-12 00:59:39 +00:00
Phillip Susi
a590b25e46 fixed thread dispatcher bug with spin lock
svn path=/trunk/; revision=861
1999-12-12 00:49:00 +00:00
Phillip Susi
5d2dc4de65 fixed bug caused by my APC code
svn path=/trunk/; revision=860
1999-12-12 00:44:39 +00:00
Eric Kohl
55fef42029 Added abs() and labs()
svn path=/trunk/; revision=859
1999-12-12 00:20:29 +00:00
Eric Kohl
0ce89e21d9 fixed a compiler warning
svn path=/trunk/; revision=858
1999-12-12 00:08:41 +00:00
David Welch
910f27a570 Put in updated version of bitops header
Corrected bug in loader with mapping sections with zero VirtualSize
Corrected bug in the vfat driver that accessed freed memory
General cleanup of the vfat driver

svn path=/trunk/; revision=857
1999-12-11 21:14:49 +00:00
Phillip Susi
14ac854378 fixed DPC and APC calling code
svn path=/trunk/; revision=856
1999-12-11 17:31:16 +00:00
Phillip Susi
e0e40991af thread priorities, and some APC work
svn path=/trunk/; revision=855
1999-12-11 17:26:43 +00:00
Phillip Susi
db262c9a74 reworked the APC code, they shold now be delivered properly when the IRQL falls below APC_LEVEL, and when there are more than one queued.
Added support for KeAddThreadTimeout() to time out
Fixed wait code to use the WaitStatus of the thread when it wakes up

svn path=/trunk/; revision=854
1999-12-11 17:25:27 +00:00
Phillip Susi
81310b4307 added DPC for timers to KTHREAD, and fixed ApcState
svn path=/trunk/; revision=853
1999-12-11 17:19:32 +00:00
Phillip Susi
77c8585f1c added initialization for APCs
svn path=/trunk/; revision=852
1999-12-11 06:40:08 +00:00
Phillip Susi
43f46ed4f8 at least it compiles now...
svn path=/trunk/; revision=851
1999-12-11 06:39:30 +00:00
Eric Kohl
66f738dbd1 cleanup
svn path=/trunk/; revision=850
1999-12-11 01:44:29 +00:00
Eric Kohl
45043db6ff Added waiting for port requests
svn path=/trunk/; revision=849
1999-12-11 01:42:44 +00:00
Phillip Susi
b14104f1e7 ooops... fix that..
svn path=/trunk/; revision=848
1999-12-10 22:25:18 +00:00
Phillip Susi
424d757107 added initial priorities to threads and processes
svn path=/trunk/; revision=847
1999-12-10 22:07:23 +00:00
Eric Kohl
a1c7df6990 Fixed command line code.
Fixed Rtl string functions.

svn path=/trunk/; revision=846
1999-12-10 17:49:21 +00:00
David Welch
c7b7c5b0b6 Modified LPC implementation to be closer to nt.
Did some initial work on support for paging
Switched some test application from using our special startup code
Correctly bug in DPC code (possible fix for "releasing unacquired spinlock" error")

svn path=/trunk/; revision=845
1999-12-10 17:04:37 +00:00
Phillip Susi
815a52debe fixed IoCompleteRequest() to give priority boost even when target thread != current thread
svn path=/trunk/; revision=844
1999-12-09 19:39:45 +00:00
Paolo Pantaleo
dbf662da37 4nt's CTRL-D and CRTL-K support
svn path=/trunk/; revision=843
1999-12-09 19:20:47 +00:00
Eric Kohl
5d99e9003a dll name comparison in LdrFindDll() must be case-insensitive
svn path=/trunk/; revision=842
1999-12-09 19:14:45 +00:00
Eric Kohl
ec235d7468 Fixed HalQueryRealTimeClock and HalSetRealTimeClock.
Thanks to Adam Polanski.

svn path=/trunk/; revision=841
1999-12-09 08:16:26 +00:00
Rex Jolliff
f09720f7d7 some more video code
svn path=/trunk/; revision=840
1999-12-09 02:45:06 +00:00
Paolo Pantaleo
258912bf48 fixed a stupid bug in history
minor chage to GetConsoleHandle

svn path=/trunk/; revision=839
1999-12-08 18:18:23 +00:00
Eric Kohl
9d84d82bd7 pointer to PEB becomes first parameter in call to NtProcessStartup
svn path=/trunk/; revision=838
1999-12-08 12:59:35 +00:00
Phillip Susi
904da6e474 disable interrupts first, then do work. Use HLT also instead of busy wait
svn path=/trunk/; revision=837
1999-12-08 06:34:25 +00:00
Paolo Pantaleo
915ff9328d history cleanup added
svn path=/trunk/; revision=836
1999-12-07 18:17:17 +00:00
Paolo Pantaleo
61c3984818 TAS searches in internal commands too
svn path=/trunk/; revision=835
1999-12-07 18:16:24 +00:00
Eric Kohl
4a02ce0c1e fixed typo
svn path=/trunk/; revision=834
1999-12-07 17:23:42 +00:00
Paolo Pantaleo
f30ade19b8 new history implementation, not complete yet...
svn path=/trunk/; revision=833
1999-12-06 19:26:49 +00:00
Phillip Susi
9530a7d656 fixed handling of enter with blank line, also by my good pal, jim4
svn path=/trunk/; revision=832
1999-12-06 06:53:24 +00:00
Phillip Susi
5716745a13 fixed for 25 line mode as it should be, and scrolling by my good pal, jim4
svn path=/trunk/; revision=831
1999-12-06 06:43:45 +00:00
Phillip Susi
680589c149 fixed default bochs log port
svn path=/trunk/; revision=830
1999-12-06 05:48:34 +00:00
Eric Kohl
2efd99afb2 removed outdated cmd
svn path=/trunk/; revision=829
1999-12-06 00:30:09 +00:00
Eric Kohl
b001203a86 - implemented process parameter block (PPB) code
- improved process environment block (PEB) code
- improved environment code

svn path=/trunk/; revision=828
1999-12-06 00:25:14 +00:00
Phillip Susi
09edfdc32f forgot to initialize Create member of OBJECT_TYPE for threads
svn path=/trunk/; revision=827
1999-12-05 23:23:50 +00:00
Phillip Susi
ae12418822 fixed sync problem: set dpc lock field before, rather than after droping the spin lock
svn path=/trunk/; revision=826
1999-12-05 19:26:11 +00:00
Phillip Susi
f9d4545552 fixed sync bug by elevating IRQL
svn path=/trunk/; revision=825
1999-12-05 08:30:10 +00:00
Emanuele Aliberti
bb25ff0f3a Minor changes.
svn path=/trunk/; revision=824
1999-12-04 21:11:00 +00:00
Emanuele Aliberti
4b70175e11 RtlNtStatusToPsxErrno stub added.
svn path=/trunk/; revision=823
1999-12-04 21:03:22 +00:00
Emanuele Aliberti
ba58b241e5 Added version resource to dd and fs.
svn path=/trunk/; revision=822
1999-12-04 20:58:45 +00:00
Eric Kohl
7c574c2d6e fixed compiler warnings
svn path=/trunk/; revision=821
1999-12-04 14:54:50 +00:00
Phillip Susi
47551b9846 ignore buildno.h
svn path=/trunk/; revision=819
1999-12-04 08:02:27 +00:00
Phillip Susi
d0c1e25256 fixed timers and a wait functions, and a few bugs
svn path=/trunk/; revision=818
1999-12-04 07:40:53 +00:00
Phillip Susi
d4c340c696 fixed ide.sys to run under bochs, disabled support for more than one controller to do it. Let me know of this breaks on real hardware.
svn path=/trunk/; revision=817
1999-12-04 07:38:16 +00:00
Brian Palmer
43014d0391 Fixed bug in LdrPEProcessModule() so that it correctly section sizes
svn path=/trunk/; revision=816
1999-12-04 04:59:38 +00:00
Paolo Pantaleo
e28f90e740 now c:\ do not crash cmd
svn path=/trunk/; revision=815
1999-12-03 18:50:00 +00:00
David Welch
ead0eeacdd Some bug fixes.
Corrected LPC implementation.

svn path=/trunk/; revision=814
1999-12-02 20:53:55 +00:00
Boudewijn Dekker
cf693462e6 .
svn path=/trunk/; revision=813
1999-12-01 22:31:45 +00:00
Boudewijn Dekker
67ad8387f3 fixed some prototypes by adding stdcall attribute
svn path=/trunk/; revision=812
1999-12-01 22:30:48 +00:00
Eric Kohl
eae47571c9 fixed little bug
svn path=/trunk/; revision=811
1999-12-01 17:34:55 +00:00
Eric Kohl
2ea8bb5aa4 minor improvements
svn path=/trunk/; revision=810
1999-12-01 15:22:49 +00:00
Eric Kohl
13436cd7f7 - added environment functions
- moved ntdll-only prototypes into ntdll header file

svn path=/trunk/; revision=809
1999-12-01 15:18:54 +00:00
Eric Kohl
3bee100dae Cleanup
svn path=/trunk/; revision=808
1999-12-01 15:10:42 +00:00
Eric Kohl
2eccd28b8f Fixed a typo
svn path=/trunk/; revision=807
1999-12-01 15:08:31 +00:00
Paolo Pantaleo
d2c016b5ab just fixed a stupid bug
svn path=/trunk/; revision=806
1999-11-29 18:25:05 +00:00
Emanuele Aliberti
b72dc46819 Almost complete skeleton for tdi.sys,
yet headers are still missing.

svn path=/trunk/; revision=805
1999-11-28 07:59:29 +00:00
Eric Kohl
e2e5efb9d7 fixed a typo
svn path=/trunk/; revision=804
1999-11-28 01:55:41 +00:00
Paolo Pantaleo
6d3a97eb5e type accepts more than one file specification
F3 working in command line history (for now simply the same as up arrow)

svn path=/trunk/; revision=803
1999-11-27 19:14:59 +00:00
Eric Kohl
0d630c9ee3 added atoi() and atol()
svn path=/trunk/; revision=802
1999-11-27 11:32:43 +00:00
Eric Kohl
8b829113cb - changed InitializeObjectAttributes() from a function to a macro
- fixed STDCALL more issues
- changed some RtlLargeIntegerXxx functions to macros

svn path=/trunk/; revision=801
1999-11-27 03:32:55 +00:00
Brian Palmer
c18e7f06ce *** empty log message ***
svn path=/trunk/; revision=800
1999-11-26 21:45:23 +00:00
Jason Filby
dfa8364302 *** empty log message ***
svn path=/trunk/; revision=799
1999-11-26 20:53:32 +00:00
Eric Kohl
ed3ca3d52c More runtime functions
svn path=/trunk/; revision=798
1999-11-25 23:45:30 +00:00
Eric Kohl
e77c8000db Fixed typo
svn path=/trunk/; revision=797
1999-11-25 23:37:02 +00:00
Eric Kohl
05a567fce3 More runtime functions
svn path=/trunk/; revision=796
1999-11-25 23:35:24 +00:00
David Welch
9b614b887d Corrected ntdll mapping bug
Implemented prototype lpc mechanism

svn path=/trunk/; revision=795
1999-11-25 10:47:58 +00:00
Emanuele Aliberti
1a0765f6c5 Some NdisXYZ stubs for NDIS.SYS.
svn path=/trunk/; revision=794
1999-11-24 23:11:17 +00:00
Emanuele Aliberti
ec4a27aeb7 Initial makefile for NDIS.SYS
svn path=/trunk/; revision=793
1999-11-24 23:06:24 +00:00
David Welch
b986ce1cac Began converting minix fsd to work with new caching mechanism
Implemented user-mode APCs (still some bugs)
Began implementing shared memory, still some locking issues

svn path=/trunk/; revision=792
1999-11-24 11:51:55 +00:00
Emanuele Aliberti
e510811de7 Some fixes in the TDI initial files.
svn path=/trunk/; revision=791
1999-11-21 23:48:14 +00:00
Rex Jolliff
a7e6e9c1f8 more win32k code
svn path=/trunk/; revision=790
1999-11-21 18:39:11 +00:00
Eric Kohl
64915d3ebe Added missing STDCALL.
svn path=/trunk/; revision=789
1999-11-20 21:59:39 +00:00
Eric Kohl
c8689122b1 Fixed typo.
svn path=/trunk/; revision=788
1999-11-20 21:53:53 +00:00
Eric Kohl
e0c1e02c47 Fixed compiler warning
svn path=/trunk/; revision=787
1999-11-20 21:51:19 +00:00
Eric Kohl
b09592bf32 Major update to Rtl string functions.
svn path=/trunk/; revision=786
1999-11-20 21:49:23 +00:00
Emanuele Aliberti
174adb3955 Some more stubs files for the TDI kernel module.
svn path=/trunk/; revision=785
1999-11-20 20:41:29 +00:00
Emanuele Aliberti
8a20ddc7d4 Initial files for the TCP/IP stack kernel module.
svn path=/trunk/; revision=784
1999-11-20 20:36:46 +00:00
Emanuele Aliberti
82a0c31208 Initial networking code layout.
svn path=/trunk/; revision=783
1999-11-20 10:21:18 +00:00
Rex Jolliff
d25098ba0c added ignore file
svn path=/trunk/; revision=782
1999-11-18 19:25:35 +00:00
Rex Jolliff
aba30a453f added some DDI functions to table
svn path=/trunk/; revision=781
1999-11-18 18:58:16 +00:00
Boudewijn Dekker
fde8b62215 added misc/res.c
svn path=/trunk/; revision=780
1999-11-17 21:33:44 +00:00
Boudewijn Dekker
e04faee634 fixed some bugs in LdrLoadDll
svn path=/trunk/; revision=779
1999-11-17 21:32:57 +00:00
Boudewijn Dekker
0d7b93783b no message
svn path=/trunk/; revision=778
1999-11-17 21:30:00 +00:00
Boudewijn Dekker
b361e13fab implemented LoadResource/FlushViewOfFile
svn path=/trunk/; revision=777
1999-11-17 21:28:08 +00:00
Boudewijn Dekker
44744d8d36 implemented LoadResource
svn path=/trunk/; revision=776
1999-11-17 21:21:08 +00:00
Boudewijn Dekker
614f99e406 implemented FlushViewOfFile in kernel32
svn path=/trunk/; revision=775
1999-11-17 21:20:15 +00:00
Rex Jolliff
6e605e712e fixed reference to abs
svn path=/trunk/; revision=774
1999-11-17 21:17:10 +00:00
Rex Jolliff
96d5e2c715 Added top level ignore list
svn path=/trunk/; revision=773
1999-11-17 20:54:05 +00:00
Rex Jolliff
6767fd7f43 Fixed BMI typedef
svn path=/trunk/; revision=772
1999-11-17 20:50:37 +00:00
Eric Kohl
85a3f3844c Started NLS support and improved Rtl string functions.
svn path=/trunk/; revision=771
1999-11-15 16:02:50 +00:00
Eric Kohl
c114003cb5 Added some RtlLargeInteger functions.
svn path=/trunk/; revision=770
1999-11-15 16:01:32 +00:00
Eric Kohl
c52cbf8517 Fixed warning.
svn path=/trunk/; revision=769
1999-11-15 15:53:31 +00:00
Boudewijn Dekker
abd233d61a Implemented LdrFindResource_U and LdrAccessResource
svn path=/trunk/; revision=768
1999-11-14 13:04:46 +00:00
David Welch
b0ff680e0e 1) Corrected bugs in ERESOURCE code
and added test
2) Moved some files which are only
architecture-dependant out of the hal
3) Corrected timer implementation (it
should now be possible to use them as dispatcher
objects)
4) Corrected stupid bug in dpc code
5) Made thread list locking more sensible
6) Altered system call handler to build a
proper context in preparation for implementing APCs
7) Rationalised the waiting code

svn path=/trunk/; revision=767
1999-11-12 12:01:17 +00:00
Rex Jolliff
1a8f8005ae fixed clean rule
svn path=/trunk/; revision=766
1999-11-12 00:16:51 +00:00
Rex Jolliff
5bc02dd95a Changed to support linux build
svn path=/trunk/; revision=765
1999-11-11 21:22:08 +00:00
Eric Kohl
44866ccf87 Fixed include bug with rosapps module.
svn path=/trunk/; revision=764
1999-11-09 18:17:10 +00:00
Eric Kohl
d431c0fa6d Fixed bug with gcc 2.95.2
svn path=/trunk/; revision=763
1999-11-09 18:15:16 +00:00
Eric Kohl
58b907b668 Added some RtlLargeInteger functions.
svn path=/trunk/; revision=762
1999-11-09 18:09:57 +00:00
Eric Kohl
761e03c5a1 Fixed memory functions.
svn path=/trunk/; revision=761
1999-11-09 18:07:50 +00:00
Eric Kohl
ea4204ce87 Changed to new HAL functions.
svn path=/trunk/; revision=760
1999-11-09 18:07:03 +00:00
Eric Kohl
eae6fb6efc Implemented ExInterlocked functions.
svn path=/trunk/; revision=759
1999-11-09 18:00:14 +00:00
Eric Kohl
157d5b3fa2 Added APC support to NtDeviceIoControlFile().
svn path=/trunk/; revision=758
1999-11-07 14:08:11 +00:00
Emanuele Aliberti
63665d54ed advapi32 ACE and ACL stubs.
svn path=/trunk/; revision=757
1999-11-07 08:04:55 +00:00
Emanuele Aliberti
eb2d1c2110 advapi32 compiles OK.
Build number auto-generated (see apps/buildno, include/reactos/version.h,
include/reactos/buildno.h).
include/internal/version.h moved in include/reactos.
Added default search paths for includes in .rc rule (rules.mak).

svn path=/trunk/; revision=756
1999-11-07 08:03:28 +00:00
Eric Kohl
dbbb7e41f0 Keep DEL quiet when called from a batch file.
svn path=/trunk/; revision=754
1999-11-06 00:53:33 +00:00
Eric Kohl
6758f479ef New Y command and some fixes.
svn path=/trunk/; revision=753
1999-11-05 20:41:17 +00:00
Eric Kohl
18a01fd10d Implemented 4nt compatible color command.
svn path=/trunk/; revision=752
1999-11-04 11:29:36 +00:00
Emanuele Aliberti
cfb22d72df Typo in the NTOSKRNL import library fixed
svn path=/trunk/; revision=751
1999-11-04 06:41:47 +00:00
David Welch
83c2d22a5e Improved scheduling code
Fixed win32k.sys entrypoint (otherwise it crashes on startup)
Included unix install script
Broke waiting for a thread to terminate (but will fix later)
Added spinlock debugging code
Improved InterlockXXXX functions
Added hooks for monitoring system calls and thread startup

svn path=/trunk/; revision=750
1999-11-02 08:55:45 +00:00
Emanuele Aliberti
96c9969a90 Various changes related to calling convention fixes
svn path=/trunk/; revision=749
1999-10-31 22:44:39 +00:00
Emanuele Aliberti
f0f8791763 W32kSetTextColor, W32GetDCState16 needed __stdcall; changed the subsystem field from windows to native
svn path=/trunk/; revision=748
1999-10-31 22:43:40 +00:00
Emanuele Aliberti
31c5b7839f RtlFillMemory, RtlMoveMemory, RtlZeroMemory needed __stdcall
svn path=/trunk/; revision=747
1999-10-31 22:41:49 +00:00
Emanuele Aliberti
dabbe50e39 LoadLibraryA, GetProcAddress, FreeLibrary, GetModuleHandleA, WriteFileEx needed __stdcall
svn path=/trunk/; revision=746
1999-10-31 22:41:15 +00:00
Emanuele Aliberti
68fbd54f2c KeDelayExecutionThread exported by ntoskrnl with correct calling convention (__stdcall)
svn path=/trunk/; revision=745
1999-10-30 21:24:37 +00:00
Rex Jolliff
766e6a262e added more KMGDI functions
svn path=/trunk/; revision=744
1999-10-29 01:58:20 +00:00
Rex Jolliff
c1795e9778 fixed problem with redefined status values
svn path=/trunk/; revision=743
1999-10-28 23:37:58 +00:00
Rex Jolliff
f886c2b9d6 added several new functions
svn path=/trunk/; revision=742
1999-10-28 23:37:14 +00:00
Rex Jolliff
7d45bbd5da needed for compile
svn path=/trunk/; revision=741
1999-10-28 23:35:34 +00:00
Rex Jolliff
8d87ab9d07 added fix for compile under linux
svn path=/trunk/; revision=740
1999-10-28 23:34:47 +00:00
Eric Kohl
95fcdd0943 Fixed batch mode bugs.
svn path=/trunk/; revision=739
1999-10-28 23:09:59 +00:00
Rex Jolliff
11d7e1e18c Fixed problems with vidport and vga loading
svn path=/trunk/; revision=738
1999-10-28 06:58:05 +00:00
Eric Kohl
863afe8930 Disabled prompting when in batch mode.
svn path=/trunk/; revision=737
1999-10-27 22:46:53 +00:00
Rex Jolliff
788e4dc053 Fix import problems in win32k.sys
svn path=/trunk/; revision=736
1999-10-27 05:49:58 +00:00
Emanuele Aliberti
125a62f79a An attempt to fix the ntdll not found bug.
svn path=/trunk/; revision=735
1999-10-26 19:47:06 +00:00
Rex Jolliff
99d62b4808 added check for bootloader config hive
svn path=/trunk/; revision=734
1999-10-26 04:52:39 +00:00
Rex Jolliff
3c1e76b027 Some small fixes to reported build problems
svn path=/trunk/; revision=733
1999-10-25 06:58:09 +00:00
Eric Kohl
2bd986927c Added some time related functions.
svn path=/trunk/; revision=732
1999-10-24 17:52:17 +00:00
Rex Jolliff
ad5e850736 Changes to get video drivers and win32k to load
svn path=/trunk/; revision=731
1999-10-24 17:07:57 +00:00
Rex Jolliff
6cc79a481e added some Eng funcs into build list
svn path=/trunk/; revision=730
1999-10-23 22:40:49 +00:00
Rex Jolliff
c0b2b118a0 Cleanup to make buildable
svn path=/trunk/; revision=729
1999-10-23 22:39:27 +00:00
Rex Jolliff
a53e883bb0 Added definitions for some eng funcs
svn path=/trunk/; revision=728
1999-10-23 22:38:26 +00:00
Rex Jolliff
bb0715f8e7 Added IOCTL codes for video drivers
svn path=/trunk/; revision=727
1999-10-23 22:37:11 +00:00
Rex Jolliff
bc08c68af9 Added vidport.sys to auto loaded drivers
svn path=/trunk/; revision=726
1999-10-23 18:58:40 +00:00
Rex Jolliff
28df2503d3 fixed handling of boot drivers
svn path=/trunk/; revision=725
1999-10-23 18:56:04 +00:00
Rex Jolliff
a5dd3430d6 fixed dist and floppy rule
svn path=/trunk/; revision=724
1999-10-23 18:33:38 +00:00
Eric Kohl
36f33622cc Fixed bugs and added DIRS command.
svn path=/trunk/; revision=723
1999-10-23 18:17:37 +00:00
Eric Kohl
583a7209da Added BOOT.BAT
svn path=/trunk/; revision=722
1999-10-23 18:15:39 +00:00
Eric Kohl
727671f12a Added Ctrl-C/Ctrl-Break handler.
svn path=/trunk/; revision=721
1999-10-22 20:35:02 +00:00
Eric Kohl
13e2e79e44 Added missing exports.
svn path=/trunk/; revision=720
1999-10-21 16:13:39 +00:00
Eric Kohl
0300e2a9d1 Fixed floppy and dist targets.
svn path=/trunk/; revision=719
1999-10-21 16:12:16 +00:00
Eric Kohl
ec16aa4c44 Improved debug output and
added hal READ_XXX and WRITE_XXX functions.

svn path=/trunk/; revision=718
1999-10-21 13:11:12 +00:00
Eric Kohl
e6f624f0e7 Improved debug output and
added hal READ_XXX and WRITE_XXX functions.

svn path=/trunk/; revision=717
1999-10-21 13:00:09 +00:00
Eric Kohl
7228dc135c Improved debug output and
added hal READ_XXX and WRITE_XXX functions.

svn path=/trunk/; revision=716
1999-10-21 11:13:38 +00:00
Eric Kohl
d2e85caa9e Improved debug output and
added hal READ_XXX and WRITE_XXX functions.

svn path=/trunk/; revision=715
1999-10-21 10:59:32 +00:00
Rex Jolliff
bff71dc524 Changed name to conform with kernel naming convention
svn path=/trunk/; revision=714
1999-10-20 23:09:26 +00:00
Rex Jolliff
a0570e7cbe added ignore files
svn path=/trunk/; revision=713
1999-10-20 23:08:58 +00:00
Boudewijn Dekker
ff9ce85a65 implemented some ldr functions
svn path=/trunk/; revision=712
1999-10-18 21:55:30 +00:00
Boudewijn Dekker
f3d9743503 implemented LdrUnloadDll
svn path=/trunk/; revision=711
1999-10-18 21:37:16 +00:00
Boudewijn Dekker
a66a6e5dba implemented LoadLibray and FreeLibrary
svn path=/trunk/; revision=710
1999-10-17 18:18:44 +00:00
Boudewijn Dekker
8690858184 implemented a reference count on LdrLoadDll
svn path=/trunk/; revision=709
1999-10-17 18:16:45 +00:00
Eric Kohl
9e4fec3838 Updated info about debugging.
svn path=/trunk/; revision=708
1999-10-16 21:10:23 +00:00
Eric Kohl
8001413b88 More exported functions.
svn path=/trunk/; revision=707
1999-10-16 21:09:12 +00:00
Eric Kohl
bae73138e8 Moved serial and bochs debug output.
svn path=/trunk/; revision=706
1999-10-16 21:08:39 +00:00
Eric Kohl
dad291cf6f Some fixes.
svn path=/trunk/; revision=705
1999-10-16 12:41:42 +00:00
Eric Kohl
22b26024cd More exported functions.
svn path=/trunk/; revision=704
1999-10-16 12:40:57 +00:00
Eric Kohl
3e6e6c12ee Added missing ntdll include.
svn path=/trunk/; revision=703
1999-10-16 12:39:44 +00:00
Eric Kohl
93a0fa88d2 Fixed NtCreatePort() prototype.
svn path=/trunk/; revision=702
1999-10-16 12:38:53 +00:00
Eric Kohl
9b2fc03fc7 Fixed $(NASM_CMD) bug.
svn path=/trunk/; revision=701
1999-10-16 12:36:47 +00:00
Eric Kohl
7975fc7fe7 Minor improvements.
svn path=/trunk/; revision=700
1999-10-16 12:35:10 +00:00
Eric Kohl
a23adc0492 Fixed hal display and initialization code.
svn path=/trunk/; revision=699
1999-10-16 00:17:40 +00:00
Eric Kohl
36e229b42f Fixed a typo.
svn path=/trunk/; revision=698
1999-10-15 15:26:34 +00:00
Eric Kohl
29812be566 Fixed hal display and initialization code.
svn path=/trunk/; revision=697
1999-10-15 15:21:39 +00:00
Eric Kohl
4551dfba1e Replaced calls to _printk() by calls to DbgPrint().
svn path=/trunk/; revision=696
1999-10-14 16:54:17 +00:00
Eric Kohl
babfe77ea9 PEB will be created in NtCreateProcess.
svn path=/trunk/; revision=695
1999-10-13 22:35:55 +00:00
Emanuele Aliberti
81a9f1c4b0 Little changes in the psxdll library.
svn path=/trunk/; revision=694
1999-10-12 21:19:40 +00:00
Boudewijn Dekker
74031c2379 implemented LoadLibrary and some Rtl stubs
svn path=/trunk/; revision=693
1999-10-12 19:45:01 +00:00
Eric Kohl
348ccdd39f Added REBOOT command.
svn path=/trunk/; revision=692
1999-10-11 20:51:07 +00:00
Eric Kohl
1d4d689bf2 Added new display and reboot code.
svn path=/trunk/; revision=691
1999-10-11 20:50:33 +00:00
Eric Kohl
8578ba8ac6 Minor fix to teb allocation.
svn path=/trunk/; revision=690
1999-10-11 20:43:10 +00:00
Eric Kohl
a77eef4a53 Fixed header inclusion order.
svn path=/trunk/; revision=689
1999-10-10 19:53:46 +00:00
8796 changed files with 2391545 additions and 209645 deletions

22
reactos/.cvsignore Normal file
View File

@@ -0,0 +1,22 @@
dist
reactos
*.sys
*.exe
*.dll
*.cpl
*.a
*.o
*.d
*.coff
*.dsp
*.dsw
*.aps
*.ncb
*.opt
*.sym
*.plg
*.bak
*.zip
*.iso
*.cab
doxy-doc

View File

@@ -1,11 +1,78 @@
In no particular order
ReactOS is available thanks to the work of
Rex Jolliff (rex@lvcablemodem.com)
Boudewijn Dekker (ariadne@xs4all.nl)
Eric Kohl (ekohl@abo.rhein-zeitung.de)
Emanuele Aliberti (ea@iol.it)
David Welch (welch@cwcom.net)
Iwan Fatahi (i_fatahi@hotmail.com)
Robert Bergkvist (fragdance@hotmail.com)
Victor Kirhenshtein (sauros@iname.com)
Jason Filby (jasonfilby@yahoo.com)
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>
Gunnar Andre' Dalsnes <hardon@online.no>
Arindam Das
Boudewijn Dekker <ariadne@xs4all.nl>
Robert Dickenson <robd@reactos.org>
Marty Dill <mdill@uvic.ca>
Jason Eager
Steven Edwards <steven_ed4153@yahoo.com>
Iwan Fatahi <i_fatahi@hotmail.com>
Jason Filby <jasonfilby@yahoo.com>
Martin Fuchs <martin-fuchs@gmx.net>
Jurgen van Gael <jurgen.vangael@student.kuleuven.ac.be>
Ge van Geldorp <ge@gse.nl>
Andrew Greenwood <lists@silverblade.co.uk>
Casper S. Hornstrup <chorns@users.sourceforge.net>
KJK::Hyperion <noog@libero.it>
Eugene Ingerman <geneing@myrealbox.com>
Rex Jolliff <rex@lvcablemodem.com>
Guido de Jong
Victor Kirhenshtein <sauros@iname.com>
Eric Kohl <ekohl@rz-online.de>
Hans Kremer
Frederik Leemans
Jean Michault
Royce Mitchell III <royce3@ev1.net>
Filip Navara <xnavara@volny.cz>
Jim Noeth
Mike Nordell ("tamlin")
Hernan Ochoa
Brian Palmer <brianp@sginet.com>
Paolo Pantaleo <paolopan@freemail.it>
Matt Pyne
Phillip Susi <phreak@iag.net>
James B. Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
Mark Tempel <mtempel@visi.com>
Vizzini <vizzini@plasmic.com>
Mark Weaver <mark@npsl.co.uk>
Thomas Weidenmueller <w3seek@users.sourceforge.net>
Jason Weiler
David Welch <welch@cwcom.net>
Jonathan Wilson <jonwil@tpgi.com.au>
Art Yerkes <ayerkes@speakeasy.net>
Graphic Design from
Everaldo (http://everaldo.com) for Explorer icons
Source and inspiration from
WINE (http://www.winehq.com)
WinFree (http://www.stack.nl/~onno/win32/)
Linux (http://www.kernel.org)
XFree86 (http://www.xfree86.org/)
References (Rex's at least)
Baker, Art. The Windows NT Device Driver Book. Prentice Hall, 1997.
Borate, Dabak & Phadke. Undocumented Windows NT. M&T Books, 1999.
Brain, Marshall. Win32 System Services. Prentice Hall, 1996.
Cant, Chris. Writing Windows WDM Device Drivers. R&D Books, 1999.
Canton & Sanchez. IBM Microcomputers: A Programmer's Handbook. McGraw Hill, 1990.
Davis & Wallace. Windows Undocumented File Formats. R&D Books, 1997.
Mason & Viscarola. Windows NT Device Driver Development. Macmillan, 1999.
Mitchell, Stan. Inside the Windows 95 File System. O'Reilly, 1997.
Murray, James D. Windows NT Event Logging. O'Reilly, 1998.
Nagar, Rajeev. Windows NT File System Internals. O'Reilly, 1997.
Osbourne, Sandra. Windows NT Registry: A Settings Reference. New Riders, 1998.
Pietrek, Matt. Windows 95 System Programming Secrets. IDG, 1995.
Richter, Jeffery. Advanced Windows, 3rd ed. Microsoft, 1997.
Simon, Richard J. Windows NT Win32 API Superbible. Waite Group, 1996.
Solomon, David A. Inside Windows NT, 2nd Ed. Microsoft, 1998.
"The NT Insider." Open Systems Resources, 1999-2000.

File diff suppressed because it is too large Load Diff

211
reactos/Doxyfile Normal file
View File

@@ -0,0 +1,211 @@
# Doxyfile 1.3.5
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = ReactOS
PROJECT_NUMBER =
OUTPUT_DIRECTORY = doxy-doc
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = YES
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = .
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = YES
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = NO
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = YES
OPTIMIZE_OUTPUT_JAVA = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = YES
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = NO
WARN_IF_UNDOCUMENTED = NO
WARN_IF_DOC_ERROR = YES
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = hal \
subsys \
services \
regtests \
iface
FILE_PATTERNS = *.c \
*.h
RECURSIVE = YES
EXCLUDE = subsys/win32k \
subsys/system/explorer
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = YES
IMAGE_PATH =
INPUT_FILTER =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = YES
INLINE_SOURCES = YES
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
VERBATIM_HEADERS = NO
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = YES
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = NO
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = YES
RTF_HYPERLINKS = YES
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = NO
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = NO
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH = include
INCLUDE_FILE_PATTERNS = *.h
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = NO
HAVE_DOT = YES
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = YES
GRAPHICAL_HIERARCHY = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 0
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = YES

View File

@@ -1,27 +1,73 @@
1. Build environment
To build the system you need either mingw32 installed on Windows or a
mingw32 cross compiler running on unix.
To build the system you need either mingw32 installed on Windows or a mingw32
cross compiler running on unix. You may obtain MinGW binaries that build
ReactOS from http://www.reactos.com.
2. Building
To build from Windows run 'make -fmakefile.dos'. To build from unix, edit
rules.mak and change the PREFIX variable to the correct value for your
cross-compiler, then run 'make'.
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'.
3. Installation
Installation isn't yet automated, sorry. The system can only be installed on
the first partition which must be formatted for DOS. Set up a directory
structure like the following
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.
make directories C:\reactos,C:\reactos\system,C:\reactos\system\drivers
ReactOS can be installed from the source distribution or from the binary
distribution. The two ways to install ReactOS are explained below.
Copy apps/shell/shell.exe to C:\reactos\system
Copy services/dd/keyboard/keyboard.sys to C:\reactos\system\drivers
Copy services/dd/blue/blue.sys to C:\reactos\system\drivers
The system can only be started from DOS. Copy the following files,
services/dd/ide/ide.sys, services/fs/vfat/vfatfsd.sys and
loaders/dos/loadros.com, to a suitable directory. The system can then be
booted with the command 'loadros.com ide.sys vfatfsd.sys'.
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 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.
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:
INSTALL_DIR = c:\reactos
If you are on linux this could be:
INSTALL_DIR = /mnt/windows/reactos
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.
3.2 Installation from binany 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'.
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.
http://www.reactos.com/index.php?tab=discussion&section=lists
ReactOS Development Team

5
reactos/Jamfile Normal file
View File

@@ -0,0 +1,5 @@
# Main jamfile for ReactOS
SubDir ROS_TOP ;
SubInclude ROS_TOP Lib ;

54
reactos/Jamrules Normal file
View File

@@ -0,0 +1,54 @@
# 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 ;

504
reactos/LGPL.txt Normal file
View File

@@ -0,0 +1,504 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
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 and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, 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 library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete 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 distribute a copy of this License along with the
Library.
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 Library or any portion
of it, thus forming a work based on the Library, 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) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
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 Library, 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 Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you 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.
If distribution of 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 satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be 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.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library 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.
9. 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 Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
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 with
this License.
11. 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 Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library 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 Library.
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.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library 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.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser 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 Library
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 Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
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
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "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
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. 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 LIBRARY 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
LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. 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 library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

File diff suppressed because it is too large Load Diff

View File

@@ -1,16 +0,0 @@
0.0.14: Converted to PE format
All system libraries are now dlls
0.0.13: Mostly bugfixes (I think)
0.0.12: Added support for multiple processes (not really tested)
System calls
kernel32 now compiles (only as a static library)
Fixed invalid tss bug (hopefully)
Added section support
Added some of the ZwxxxVirtual calls
Added prototype caching functions (only the Minix fsd actually
uses them)
Added handle access and type checking
Prototype APC implementation (no support for user APCs)

View File

@@ -1,13 +1,21 @@
About Reactos
========================
ReactOS Version 0.2.x
Updated June 23rd, 2004
========================
1. What is Reactos
1. What is ReactOS?
A project aiming to make an approximate clone of Windows NT, compatible
with most Windows applications.
ReactOS is an Open Source effort to develop a quality operating system
that is compatible with Windows NT applications and drivers.
The project has a website at http://www.sid-dis.com/reactos
The ReactOS project, although currently focused on Windows NT 4.0
compatibility, is always keeping an eye towards compatibility with
future Windows NT releases, that is, Windows 2000 (NT 5.0) and
Windows XP (NT 5.1).
2. Building Reactos
More information is available at http://www.reactos.com.
2. Building ReactOS
See the INSTALL file for more details.
@@ -17,8 +25,4 @@ See the doc subdirectory for some sparse notes
4. Who is responsible
See the CREDITS file
5. Recent developments
See the NEWS file
See the CREDITS file

3
reactos/aboot.bat Normal file
View File

@@ -0,0 +1,3 @@
loadros system32\ntoskrnl.exe system32\hal.dll system32\drivers\acpi.sys /DEBUGPORT=SCREEN bootc.lst
rem comment added and changed for no reason

33
reactos/apistatus.lst Executable file
View File

@@ -0,0 +1,33 @@
; Format:
; COMPONENT_NAME PATH_TO_COMPONENT_SOURCES
; COMPONENT_NAME - Name of the component. Eg. kernel32.dll.
; PATH_TO_COMPONENT_SOURCES - Relative path to sources (relative to
; where rgenstat is run from).
advapi32.dll reactos/lib/advapi32
crtdll.dll reactos/lib/crtdll
gdi32.dll reactos/lib/gdi32
gdiplus.dll reactos/lib/gdiplus
iphlpapi.dll reactos/lib/iphlpapi
kernel32.dll reactos/lib/kernel32
lz32.dll reactos/lib/lzexpand
msvcrt.dll reactos/lib/msvcrt
ole32.dll reactos/lib/ole32
oleaut32.dll reactos/lib/oleaut32
rpcrt4.dll reactos/lib/rpcrt4
secur32.dll reactos/lib/secur32
shell32.dll reactos/lib/shell32
snmpapi.dll reactos/lib/snmpapi
user32.dll reactos/lib/user32
version.dll reactos/lib/version
winmm.dll reactos/lib/winmm
winspool.dll reactos/lib/winspool
ws2_32.dll reactos/lib/ws2_32
wsock32.dll reactos/lib/wsock32
videoprt.dll reactos/drivers/video/videoprt
ndis.sys reactos/drivers/net/ndis
tdi.sys reactos/drivers/net/tdi
class2.sys reactos/drivers/storage/class2
scsiport.sys reactos/drivers/storage/scsiport
ntoskrnl.exe reactos/ntoskrnl
ntoskrnl.exe reactos/lib/rtl
win32k.sys reactos/subsys/win32k

1
reactos/apps/.cvsignore Normal file
View File

@@ -0,0 +1 @@
doxy-doc

207
reactos/apps/Doxyfile Normal file
View File

@@ -0,0 +1,207 @@
# Doxyfile 1.3.5
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "ReactOS Apps & Tools"
PROJECT_NUMBER =
OUTPUT_DIRECTORY = doxy-doc
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = YES
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = ..
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = YES
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = NO
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = YES
OPTIMIZE_OUTPUT_JAVA = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = YES
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = NO
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = YES
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = NO
WARN_IF_UNDOCUMENTED = NO
WARN_IF_DOC_ERROR = YES
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = . \
../tools
FILE_PATTERNS = *.c \
*.h
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = YES
IMAGE_PATH =
INPUT_FILTER =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = YES
INLINE_SOURCES = YES
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
VERBATIM_HEADERS = NO
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = YES
TREEVIEW_WIDTH = 200
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = NO
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = YES
RTF_HYPERLINKS = YES
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = NO
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = NO
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH = ../include
INCLUDE_FILE_PATTERNS = *.h
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = NO
HAVE_DOT = YES
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = YES
GRAPHICAL_HIERARCHY = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 0
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = YES

13
reactos/apps/Makefile Normal file
View File

@@ -0,0 +1,13 @@
# $Id: Makefile,v 1.1 2003/12/06 23:10:50 mf Exp $
#
# ReactOS apps and tools makefile to generate Doxygen documentation
#
docu:
doxygen Doxyfile
.PHONY: docu
# EOF

View File

@@ -1,33 +0,0 @@
#include <windows.h>
extern int main(int args, char* argv[], char* environ[]);
static unsigned int _argc = 0;
static char** _argv = NULL;
static char** _environ = NULL;
int mainCRTStartup(PWSTR args)
{
int nRet;
// SetUnhandledExceptionFilter(NULL);
// _fpreset();
// __GetMainArgs(&_argc, &_argv, &_environ, 0);
nRet = main(_argc, _argv, _environ);
// _cexit();
ExitProcess(nRet);
}
int WinMainCRTStartup()
{
return mainCRTStartup(NULL);
}
void __main(void)
{
}

View File

@@ -0,0 +1,79 @@
#
# ReactOS test applications makefile
#
PATH_TO_TOP = ../..
include $(PATH_TO_TOP)/rules.mak
# test_old tests
TEST_APPS = accelerator alive alphablend apc args atomtest bench bitblt button \
button2 capclock carets combo consume copymove count dibtest dump_shared_data \
edit enumwnd enumws event global_mem gradient hello mdi \
hivetest icontest isotest lineclip linetest lpc \
mktime mstest multithrdwin multiwin mutex nptest patblt primitives pteb \
regtest sectest sertest shaptest shm statst statst2 stretchblt suspend \
tcpsvr terminate txtscale thread thread_msg tokentest user32 vmtest \
winhello wm_erasebkgnd wm_paint eventpair threadwait popupmenu \
map_dup_inherit p_dup_handle apc2 enhmetafile dirdlg guithreadinfo fiber
# Build failure:
# kernel32
TEST_MISC =
all: $(TEST_APPS) $(TEST_MISC)
depends:
implib: $(TEST_APPS:%=%_implib) \
$(TEST_MISC:%=%_implib)
clean: $(TEST_APPS:%=%_clean) \
$(TEST_MISC:%=%_clean)
install: $(TEST_APPS:%=%_install) \
$(TEST_MISC:%=%_install)
.PHONY: all depends implib clean install
#
# Test Applications
#
$(TEST_APPS): %:
$(MAKE) -C $*
$(TEST_APPS:%=%_implib): %_implib:
$(MAKE) -C $* implib
$(TEST_APPS:%=%_clean): %_clean:
$(MAKE) -C $* clean
$(TEST_APPS:%=%_install): %_install:
$(MAKE) -C $* install
.PHONY: $(TEST_APPS) $(TEST_APPS:%=%_implib) $(TEST_APPS:%=%_clean) $(TEST_APPS:%=%_install)
#
# Misc Test Applications
#
$(TEST_MISC): %:
$(MAKE) -C tests/$*
$(TEST_MISC:%=%_implib): %_implib:
$(MAKE) -C tests/$* implib
$(TEST_MISC:%=%_clean): %_clean:
$(MAKE) -C tests/$* clean
$(TEST_MISC:%=%_install): %_install:
$(MAKE) -C tests/$* install
.PHONY: $(TEST_MISC) $(TEST_MISC:%=%_implib) $(TEST_MISC:%=%_clean) $(TEST_MISC:%=%_install)
etags:
find . -name "*.[ch]" -print | etags --language=c -
# EOF

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,19 @@
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = accelerator
#TARGET_SDKLIBS = kernel32.a user32.a
TARGET_OBJECTS = accelerator.o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk

View File

@@ -0,0 +1,161 @@
#include <windows.h>
#include <stdio.h>
#include <string.h>
#define ID_ACCEL1 0x100
#define ID_ACCEL2 0x101
#define ID_ACCEL3 0x102
#define ID_ACCEL4 0x103
/*
* {fVirt, key, cmd}
* fVirt |= FVIRTKEY | FCONTROL | FALT | FSHIFT
*/
//static HFONT tf;
static ACCEL Accelerators[4] = {
{ FVIRTKEY, VK_A, ID_ACCEL1},
{ FVIRTKEY | FSHIFT, VK_A, ID_ACCEL2},
{ FVIRTKEY | FCONTROL, VK_A, ID_ACCEL3},
{ FVIRTKEY | FALT, VK_A, ID_ACCEL4}};
static HACCEL hAcceleratorTable;
static char Event[200];
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM);
int WINAPI
WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow)
{
WNDCLASS wc;
MSG msg;
HWND hWnd;
wc.lpszClassName = "AcceleratorTest";
wc.lpfnWndProc = MainWndProc;
wc.style = CS_VREDRAW | CS_HREDRAW;
wc.hInstance = hInstance;
wc.hIcon = LoadIcon(NULL, (LPCTSTR)IDI_APPLICATION);
wc.hCursor = LoadCursor(NULL, (LPCTSTR)IDC_ARROW);
wc.hbrBackground = (HBRUSH)GetStockObject(GRAY_BRUSH);
wc.lpszMenuName = NULL;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
if (RegisterClass(&wc) == 0)
{
fprintf(stderr, "RegisterClass failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
hWnd = CreateWindow("AcceleratorTest",
"Accelerator Test",
WS_OVERLAPPEDWINDOW,
0,
0,
CW_USEDEFAULT,
CW_USEDEFAULT,
NULL,
NULL,
hInstance,
NULL);
if (hWnd == NULL)
{
fprintf(stderr, "CreateWindow failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
/*tf = CreateFontA(14, 0, 0, TA_BASELINE, FW_NORMAL, FALSE, FALSE, FALSE,
ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
DEFAULT_QUALITY, FIXED_PITCH|FF_DONTCARE, "Timmons");*/
Event[0] = 0;
ShowWindow(hWnd, nCmdShow);
hAcceleratorTable = CreateAcceleratorTable(Accelerators,
sizeof(Accelerators)/sizeof(Accelerators[1]));
if (hAcceleratorTable == NULL)
{
fprintf(stderr, "CreateAcceleratorTable failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
while(GetMessage(&msg, NULL, 0, 0))
{
if (!TranslateAccelerator(hWnd, hAcceleratorTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
if (!DestroyAcceleratorTable(hAcceleratorTable))
{
fprintf(stderr, "DestroyAcceleratorTable failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
//DeleteObject(tf);
return msg.wParam;
}
LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
PAINTSTRUCT ps;
HDC hDC;
char buf[200];
switch(msg)
{
case WM_PAINT:
hDC = BeginPaint(hWnd, &ps);
//SelectObject(hDC, tf);
sprintf(buf, "Event: '%s'", Event);
TextOut(hDC, 10, 10, buf, strlen(buf));
EndPaint(hWnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
case WM_COMMAND:
switch (LOWORD(wParam))
{
case ID_ACCEL1:
strcpy(Event, "A");
break;
case ID_ACCEL2:
strcpy(Event, "SHIFT+A");
break;
case ID_ACCEL3:
strcpy(Event, "CTRL+A");
break;
case ID_ACCEL4:
strcpy(Event, "ALT+A");
break;
default:
sprintf(Event, "%d", LOWORD(wParam));
break;
}
InvalidateRect(hWnd, NULL, TRUE);
UpdateWindow(hWnd);
break;
default:
return DefWindowProc(hWnd, msg, wParam, lParam);
}
return 0;
}

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,127 @@
/*
* Unit tests for crypt functions
*
* Copyright (c) 2004 Michael Jung
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdio.h>
#include "wine/test.h"
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
#include "winerror.h"
static const char szRsaBaseProv[] = MS_DEF_PROV_A;
static const char szNonExistentProv[] = "Wine Non Existent Cryptographic Provider v11.2";
static const char szKeySet[] = "wine_test_keyset";
static const char szBadKeySet[] = "wine_test_bad_keyset";
#define NON_DEF_PROV_TYPE 999
static void init_environment(void)
{
HCRYPTPROV hProv;
/* Ensure that container "wine_test_keyset" does exist */
if (!CryptAcquireContext(&hProv, szKeySet, szRsaBaseProv, PROV_RSA_FULL, 0))
{
CryptAcquireContext(&hProv, szKeySet, szRsaBaseProv, PROV_RSA_FULL, CRYPT_NEWKEYSET);
}
CryptReleaseContext(hProv, 0);
/* Ensure that container "wine_test_keyset" does exist in default PROV_RSA_FULL type provider */
if (!CryptAcquireContext(&hProv, szKeySet, NULL, PROV_RSA_FULL, 0))
{
CryptAcquireContext(&hProv, szKeySet, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET);
}
CryptReleaseContext(hProv, 0);
/* Ensure that container "wine_test_bad_keyset" does not exist. */
if (CryptAcquireContext(&hProv, szBadKeySet, szRsaBaseProv, PROV_RSA_FULL, 0))
{
CryptReleaseContext(hProv, 0);
CryptAcquireContext(&hProv, szBadKeySet, szRsaBaseProv, PROV_RSA_FULL, CRYPT_DELETEKEYSET);
}
}
static void clean_up_environment(void)
{
HCRYPTPROV hProv;
/* Remove container "wine_test_keyset" */
if (CryptAcquireContext(&hProv, szKeySet, szRsaBaseProv, PROV_RSA_FULL, 0))
{
CryptReleaseContext(hProv, 0);
CryptAcquireContext(&hProv, szKeySet, szRsaBaseProv, PROV_RSA_FULL, CRYPT_DELETEKEYSET);
}
/* Remove container "wine_test_keyset" from default PROV_RSA_FULL type provider */
if (CryptAcquireContext(&hProv, szKeySet, NULL, PROV_RSA_FULL, 0))
{
CryptReleaseContext(hProv, 0);
CryptAcquireContext(&hProv, szKeySet, NULL, PROV_RSA_FULL, CRYPT_DELETEKEYSET);
}
}
static void test_acquire_context(void)
{
BOOL result;
HCRYPTPROV hProv;
/* Provoke all kinds of error conditions (which are easy to provoke).
* The order of the error tests seems to match Windows XP's rsaenh.dll CSP,
* but since this is likely to change between CSP versions, we don't check
* this. Please don't change the order of tests. */
result = CryptAcquireContext(&hProv, NULL, NULL, 0, 0);
ok(!result && GetLastError()==NTE_BAD_PROV_TYPE, "%08x\n", (unsigned int)GetLastError());
result = CryptAcquireContext(&hProv, NULL, NULL, 1000, 0);
ok(!result && GetLastError()==NTE_BAD_PROV_TYPE, "%08x\n", (unsigned int)GetLastError());
result = CryptAcquireContext(&hProv, NULL, NULL, NON_DEF_PROV_TYPE, 0);
ok(!result && GetLastError()==NTE_PROV_TYPE_NOT_DEF, "%08x\n", (unsigned int)GetLastError());
result = CryptAcquireContext(&hProv, szKeySet, szNonExistentProv, PROV_RSA_FULL, 0);
ok(!result && GetLastError()==NTE_KEYSET_NOT_DEF, "%08x\n", (unsigned int)GetLastError());
result = CryptAcquireContext(&hProv, szKeySet, szRsaBaseProv, NON_DEF_PROV_TYPE, 0);
ok(!result && GetLastError()==NTE_PROV_TYPE_NO_MATCH, "%08x\n", (unsigned int)GetLastError());
result = CryptAcquireContext(NULL, szKeySet, szRsaBaseProv, PROV_RSA_FULL, 0);
ok(!result && GetLastError()==ERROR_INVALID_PARAMETER, "%08x\n", (unsigned int)GetLastError());
/* Last not least, try to really acquire a context. */
result = CryptAcquireContext(&hProv, szKeySet, szRsaBaseProv, PROV_RSA_FULL, 0);
ok(result, "%08x\n", (unsigned int)GetLastError());
if (GetLastError() == ERROR_SUCCESS)
CryptReleaseContext(hProv, 0);
/* Try again, witch an empty ("\0") szProvider parameter */
result = CryptAcquireContext(&hProv, szKeySet, "", PROV_RSA_FULL, 0);
ok(result, "%08x\n", (unsigned int)GetLastError());
if (GetLastError() == ERROR_SUCCESS)
CryptReleaseContext(hProv, 0);
}
START_TEST(crypt)
{
init_environment();
test_acquire_context();
clean_up_environment();
}

View File

@@ -0,0 +1,26 @@
# $Id: makefile,v 1.1 2004/08/07 22:51:27 sedwards Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
# require os code to explicitly request A/W version of structs/functions
TARGET_CFLAGS += -D_DISABLE_TIDENTS -D__USE_W32API
TARGET_NAME = advapi32_test
TARGET_SDKLIBS = advapi32.a
TARGET_OBJECTS = \
testlist.o \
registry.o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,237 @@
/*
* Unit tests for registry functions
*
* Copyright (c) 2002 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <assert.h>
#include <stdarg.h>
#include "wine/test.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "winerror.h"
static HKEY hkey_main;
/* delete key and all its subkeys */
static DWORD delete_key( HKEY hkey )
{
char name[MAX_PATH];
DWORD ret;
while (!(ret = RegEnumKeyA(hkey, 0, name, sizeof(name))))
{
HKEY tmp;
if (!(ret = RegOpenKeyExA( hkey, name, 0, KEY_ENUMERATE_SUB_KEYS, &tmp )))
{
ret = delete_key( tmp );
RegCloseKey( tmp );
}
if (ret) break;
}
if (ret != ERROR_NO_MORE_ITEMS) return ret;
RegDeleteKeyA( hkey, NULL );
return 0;
}
static void setup_main_key(void)
{
if (RegOpenKeyA( HKEY_CURRENT_USER, "Software\\Wine\\Test", &hkey_main )) delete_key( hkey_main );
assert (!RegCreateKeyExA( HKEY_CURRENT_USER, "Software\\Wine\\Test", 0, NULL,
REG_OPTION_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey_main, NULL ));
}
static void test_enum_value(void)
{
DWORD res;
char value[20], data[20];
WCHAR valueW[20], dataW[20];
DWORD val_count, data_count, type;
static const WCHAR foobarW[] = {'f','o','o','b','a','r',0};
static const WCHAR testW[] = {'T','e','s','t',0};
static const WCHAR xxxW[] = {'x','x','x','x','x','x','x','x',0};
/* check NULL data with zero length */
res = RegSetValueExA( hkey_main, "Test", 0, REG_SZ, NULL, 0 );
if (GetVersion() & 0x80000000)
ok( res == ERROR_INVALID_PARAMETER, "RegSetValueExA returned %ld\n", res );
else
ok( !res, "RegSetValueExA returned %ld\n", res );
res = RegSetValueExA( hkey_main, "Test", 0, REG_EXPAND_SZ, NULL, 0 );
ok( !res, "RegSetValueExA returned %ld\n", res );
res = RegSetValueExA( hkey_main, "Test", 0, REG_BINARY, NULL, 0 );
ok( !res, "RegSetValueExA returned %ld\n", res );
res = RegSetValueExA( hkey_main, "Test", 0, REG_SZ, (BYTE *)"foobar", 7 );
ok( res == 0, "RegSetValueExA failed error %ld\n", res );
/* overflow both name and data */
val_count = 2;
data_count = 2;
type = 1234;
strcpy( value, "xxxxxxxxxx" );
strcpy( data, "xxxxxxxxxx" );
res = RegEnumValueA( hkey_main, 0, value, &val_count, NULL, &type, data, &data_count );
ok( res == ERROR_MORE_DATA, "expected ERROR_MORE_DATA, got %ld\n", res );
ok( val_count == 2, "val_count set to %ld\n", val_count );
ok( data_count == 7, "data_count set to %ld instead of 7\n", data_count );
ok( type == REG_SZ, "type %ld is not REG_SZ\n", type );
ok( !strcmp( value, "xxxxxxxxxx" ), "value set to '%s'\n", value );
ok( !strcmp( data, "xxxxxxxxxx" ), "data set to '%s'\n", data );
/* overflow name */
val_count = 3;
data_count = 20;
type = 1234;
strcpy( value, "xxxxxxxxxx" );
strcpy( data, "xxxxxxxxxx" );
res = RegEnumValueA( hkey_main, 0, value, &val_count, NULL, &type, data, &data_count );
ok( res == ERROR_MORE_DATA, "expected ERROR_MORE_DATA, got %ld\n", res );
/* Win9x returns 2 as specified by MSDN but NT returns 3... */
ok( val_count == 2 || val_count == 3, "val_count set to %ld\n", val_count );
ok( data_count == 7, "data_count set to %ld instead of 7\n", data_count );
ok( type == REG_SZ, "type %ld is not REG_SZ\n", type );
#if 0
/* v5.1.2600.0 (XP Home) does not touch value or data in this case */
ok( !strcmp( value, "Te" ), "value set to '%s' instead of 'Te'\n", value );
ok( !strcmp( data, "foobar" ), "data set to '%s' instead of 'foobar'\n", data );
#endif
/* overflow empty name */
val_count = 0;
data_count = 20;
type = 1234;
strcpy( value, "xxxxxxxxxx" );
strcpy( data, "xxxxxxxxxx" );
res = RegEnumValueA( hkey_main, 0, value, &val_count, NULL, &type, data, &data_count );
ok( res == ERROR_MORE_DATA, "expected ERROR_MORE_DATA, got %ld\n", res );
ok( val_count == 0, "val_count set to %ld\n", val_count );
ok( data_count == 7, "data_count set to %ld instead of 7\n", data_count );
ok( type == REG_SZ, "type %ld is not REG_SZ\n", type );
ok( !strcmp( value, "xxxxxxxxxx" ), "value set to '%s'\n", value );
#if 0
/* v5.1.2600.0 (XP Home) does not touch data in this case */
ok( !strcmp( data, "foobar" ), "data set to '%s' instead of 'foobar'\n", data );
#endif
/* overflow data */
val_count = 20;
data_count = 2;
type = 1234;
strcpy( value, "xxxxxxxxxx" );
strcpy( data, "xxxxxxxxxx" );
res = RegEnumValueA( hkey_main, 0, value, &val_count, NULL, &type, data, &data_count );
ok( res == ERROR_MORE_DATA, "expected ERROR_MORE_DATA, got %ld\n", res );
ok( val_count == 20, "val_count set to %ld\n", val_count );
ok( data_count == 7, "data_count set to %ld instead of 7\n", data_count );
ok( type == REG_SZ, "type %ld is not REG_SZ\n", type );
ok( !strcmp( value, "xxxxxxxxxx" ), "value set to '%s'\n", value );
ok( !strcmp( data, "xxxxxxxxxx" ), "data set to '%s'\n", data );
/* no overflow */
val_count = 20;
data_count = 20;
type = 1234;
strcpy( value, "xxxxxxxxxx" );
strcpy( data, "xxxxxxxxxx" );
res = RegEnumValueA( hkey_main, 0, value, &val_count, NULL, &type, data, &data_count );
ok( res == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %ld\n", res );
ok( val_count == 4, "val_count set to %ld instead of 4\n", val_count );
ok( data_count == 7, "data_count set to %ld instead of 7\n", data_count );
ok( type == REG_SZ, "type %ld is not REG_SZ\n", type );
ok( !strcmp( value, "Test" ), "value is '%s' instead of Test\n", value );
ok( !strcmp( data, "foobar" ), "data is '%s' instead of foobar\n", data );
/* Unicode tests */
SetLastError(0);
res = RegSetValueExW( hkey_main, testW, 0, REG_SZ, (BYTE *)foobarW, 7*sizeof(WCHAR) );
if (res==0 && GetLastError()==ERROR_CALL_NOT_IMPLEMENTED)
goto CLEANUP;
ok( res == 0, "RegSetValueExW failed error %ld\n", res );
/* overflow both name and data */
val_count = 2;
data_count = 2;
type = 1234;
memcpy( valueW, xxxW, sizeof(xxxW) );
memcpy( dataW, xxxW, sizeof(xxxW) );
res = RegEnumValueW( hkey_main, 0, valueW, &val_count, NULL, &type, (BYTE*)dataW, &data_count );
ok( res == ERROR_MORE_DATA, "expected ERROR_MORE_DATA, got %ld\n", res );
ok( val_count == 2, "val_count set to %ld\n", val_count );
ok( data_count == 7*sizeof(WCHAR), "data_count set to %ld instead of 7*sizeof(WCHAR)\n", data_count );
ok( type == REG_SZ, "type %ld is not REG_SZ\n", type );
ok( !memcmp( valueW, xxxW, sizeof(xxxW) ), "value modified\n" );
ok( !memcmp( dataW, xxxW, sizeof(xxxW) ), "data modified\n" );
/* overflow name */
val_count = 3;
data_count = 20;
type = 1234;
memcpy( valueW, xxxW, sizeof(xxxW) );
memcpy( dataW, xxxW, sizeof(xxxW) );
res = RegEnumValueW( hkey_main, 0, valueW, &val_count, NULL, &type, (BYTE*)dataW, &data_count );
ok( res == ERROR_MORE_DATA, "expected ERROR_MORE_DATA, got %ld\n", res );
ok( val_count == 3, "val_count set to %ld\n", val_count );
ok( data_count == 7*sizeof(WCHAR), "data_count set to %ld instead of 7*sizeof(WCHAR)\n", data_count );
ok( type == REG_SZ, "type %ld is not REG_SZ\n", type );
ok( !memcmp( valueW, xxxW, sizeof(xxxW) ), "value modified\n" );
ok( !memcmp( dataW, xxxW, sizeof(xxxW) ), "data modified\n" );
/* overflow data */
val_count = 20;
data_count = 2;
type = 1234;
memcpy( valueW, xxxW, sizeof(xxxW) );
memcpy( dataW, xxxW, sizeof(xxxW) );
res = RegEnumValueW( hkey_main, 0, valueW, &val_count, NULL, &type, (BYTE*)dataW, &data_count );
ok( res == ERROR_MORE_DATA, "expected ERROR_MORE_DATA, got %ld\n", res );
ok( val_count == 4, "val_count set to %ld instead of 4\n", val_count );
ok( data_count == 7*sizeof(WCHAR), "data_count set to %ld instead of 7*sizeof(WCHAR)\n", data_count );
ok( type == REG_SZ, "type %ld is not REG_SZ\n", type );
ok( !memcmp( valueW, testW, sizeof(testW) ), "value is not 'Test'\n" );
ok( !memcmp( dataW, xxxW, sizeof(xxxW) ), "data modified\n" );
/* no overflow */
val_count = 20;
data_count = 20;
type = 1234;
memcpy( valueW, xxxW, sizeof(xxxW) );
memcpy( dataW, xxxW, sizeof(xxxW) );
res = RegEnumValueW( hkey_main, 0, valueW, &val_count, NULL, &type, (BYTE*)dataW, &data_count );
ok( res == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %ld\n", res );
ok( val_count == 4, "val_count set to %ld instead of 4\n", val_count );
ok( data_count == 7*sizeof(WCHAR), "data_count set to %ld instead of 7*sizeof(WCHAR)\n", data_count );
ok( type == REG_SZ, "type %ld is not REG_SZ\n", type );
ok( !memcmp( valueW, testW, sizeof(testW) ), "value is not 'Test'\n" );
ok( !memcmp( dataW, foobarW, sizeof(foobarW) ), "data is not 'foobar'\n" );
CLEANUP:
/* cleanup */
RegDeleteValueA( hkey_main, "Test" );
}
START_TEST(registry)
{
setup_main_key();
test_enum_value();
/* cleanup */
delete_key( hkey_main );
}

View File

@@ -0,0 +1,25 @@
/* Automatically generated file; DO NOT EDIT!! */
/* stdarg.h is needed for Winelib */
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
extern void func_registry(void);
struct test
{
const char *name;
void (*func)(void);
};
static const struct test winetest_testlist[] =
{
{ "registry", func_registry },
{ 0, 0 }
};
#define WINETEST_WANT_MAIN
#include "wine/test.h"

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,23 @@
# $Id: Makefile,v 1.7 2003/11/14 17:13:14 weiden Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = alive
TARGET_SDKLIBS = kernel32.a user32.a
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,48 @@
/* $Id: alive.c,v 1.2 2001/03/26 21:30:20 ea Exp $
*
*/
#include <windows.h>
#include <stdlib.h>
HANDLE StandardOutput = INVALID_HANDLE_VALUE;
CHAR Message [80];
DWORD CharactersToWrite = 0;
DWORD WrittenCharacters = 0;
INT d = 0, h = 0, m = 0, s = 0;
int
main (int argc, char * argv [])
{
StandardOutput = GetStdHandle (STD_OUTPUT_HANDLE);
if (INVALID_HANDLE_VALUE == StandardOutput)
{
return (EXIT_FAILURE);
}
while (TRUE)
{
/* Prepare the message and update it */
CharactersToWrite =
wsprintf (
Message,
"Alive for %dd %dh %d' %d\" \r",
d, h, m, s
);
WriteConsole (
StandardOutput,
Message,
CharactersToWrite,
& WrittenCharacters,
NULL
);
/* suspend the execution for 1s */
Sleep (1000);
/* increment seconds */
++ s;
if (60 == s) { s = 0; ++ m; }
if (60 == m) { m = 0; ++ h; }
if (24 == h) { h = 0; ++ d; }
}
return (EXIT_SUCCESS);
}
/* EOF */

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,213 @@
#include <windows.h>
#include <string.h>
#ifndef AC_SRC_ALPHA
#define AC_SRC_ALPHA (0x1)
#endif
HINSTANCE HInst;
const char* WndClassName = "GMainWnd";
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam,
LPARAM LParam);
WINBOOL
STDCALL
GdiAlphaBlend(HDC hdcDst,LONG DstX,LONG DstY,LONG DstCx,LONG DstCy,HDC hdcSrc,LONG SrcX,LONG SrcY,LONG SrcCx,LONG SrcCy,BLENDFUNCTION BlendFunction);
int APIENTRY WinMain(HINSTANCE HInstance, HINSTANCE HPrevInstance,
LPTSTR lpCmdLine, int nCmdShow)
{
WNDCLASS wc;
MSG msg;
HInst = HInstance;
memset(&wc, 0, sizeof(WNDCLASS));
wc.style = CS_VREDRAW | CS_HREDRAW | CS_DBLCLKS;
wc.lpfnWndProc = MainWndProc;
wc.hInstance = HInstance;
wc.hCursor = LoadCursor(NULL, (LPCTSTR)IDC_ARROW);
/* wc.hbrBackground = reinterpret_cast<HBRUSH>(COLOR_BTNFACE + 1); */
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
wc.lpszClassName = WndClassName;
if (RegisterClass(&wc))
{
HWND HWnd =
CreateWindow(
WndClassName, TEXT("AlphaBlend Rendering Demo"),
WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION |
WS_VISIBLE | WS_CLIPSIBLINGS,
0, 0, 320, 430,
NULL, NULL, HInst, NULL
);
if (HWnd)
{
ShowWindow(HWnd, nCmdShow);
UpdateWindow(HWnd);
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
}
return 0;
}
/* image related */
BITMAP bmp;
LPCSTR filename = TEXT("lena.bmp");
HDC HMemDC = NULL, HMemDC2 = NULL;
HBITMAP HOldBmp = NULL;
PVOID pBmpBits = NULL;
HBITMAP H32BppBitmap = NULL;
BITMAPINFO bmpi;
BOOL ConvertBitmapTo32Bpp(HDC hDC, BITMAP *bmp)
{
ZeroMemory(&bmpi, sizeof(BITMAPINFO));
bmpi.bmiHeader.biSize = sizeof(BITMAPINFO);
bmpi.bmiHeader.biWidth = bmp->bmWidth;
bmpi.bmiHeader.biHeight = bmp->bmHeight;
bmpi.bmiHeader.biPlanes = 1;
bmpi.bmiHeader.biBitCount = 32;
bmpi.bmiHeader.biCompression = BI_RGB;
bmpi.bmiHeader.biSizeImage = 4 * bmpi.bmiHeader.biWidth * bmpi.bmiHeader.biHeight;
H32BppBitmap = CreateDIBSection(hDC, &bmpi, DIB_RGB_COLORS, &pBmpBits, 0, 0);
if(H32BppBitmap)
{
HBITMAP bmpalpha;
SelectObject(hDC, H32BppBitmap);
BitBlt(hDC, 0, 0, bmp->bmWidth, bmp->bmHeight, HMemDC, 0, 0, SRCCOPY);
/* load and apply alpha channel */
bmpalpha = LoadImage(HInst, TEXT("lenaalpha.bmp"), IMAGE_BITMAP,
0, 0, LR_LOADFROMFILE);
if(bmpalpha)
{
COLORREF *col = pBmpBits;
int x, y;
HDC hdcTemp = CreateCompatibleDC(NULL);
if(!hdcTemp)
{
DeleteObject(bmpalpha);
return FALSE;
}
SelectObject(hdcTemp, bmpalpha);
for(y = 0; y < bmp->bmHeight; y++)
{
for(x = 0; x < bmp->bmWidth; x++)
{
COLORREF Color = (COLORREF)GetRValue(GetPixel(hdcTemp, x, y)) << 24;
*col++ |= Color;
}
}
DeleteObject(bmpalpha);
DeleteDC(hdcTemp);
return TRUE;
}
return FALSE;
}
return FALSE;
}
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam,
LPARAM LParam)
{
switch (Msg)
{
case WM_CREATE:
{
/* create a memory DC */
HMemDC = CreateCompatibleDC(NULL);
if (HMemDC)
{
/* load a bitmap from file */
HBITMAP HBmp =
/* static_cast<HBITMAP> */(
LoadImage(HInst, filename, IMAGE_BITMAP,
0, 0, LR_LOADFROMFILE)
);
if (HBmp)
{
/* extract dimensions of the bitmap */
GetObject(HBmp, sizeof(BITMAP), &bmp);
/* associate the bitmap with the memory DC */
/* HOldBmp = static_cast<HBITMAP> */
(SelectObject(HMemDC, HBmp)
);
HMemDC2 = CreateCompatibleDC(NULL);
if(!ConvertBitmapTo32Bpp(HMemDC2, &bmp))
{
PostQuitMessage(0);
return 0;
}
}
}
}
case WM_PAINT:
{
PAINTSTRUCT ps;
BLENDFUNCTION BlendFunc;
HDC Hdc = BeginPaint(HWnd, &ps);
#if 0
try
#endif
{
BlendFunc.BlendOp = AC_SRC_OVER;
BlendFunc.BlendFlags = 0;
BlendFunc.SourceConstantAlpha = 128;
BlendFunc.AlphaFormat = 0;
BitBlt(Hdc, 100, 90,
bmp.bmWidth, bmp.bmHeight,
HMemDC2, 0, 0,
SRCCOPY);
GdiAlphaBlend(Hdc, 0, 0, bmp.bmWidth, bmp.bmHeight,
HMemDC2, 0, 0, bmp.bmWidth, bmp.bmHeight,
BlendFunc);
GdiAlphaBlend(Hdc, bmp.bmWidth - 15, 10, bmp.bmWidth / 2, bmp.bmHeight / 2,
HMemDC2, 0, 0, bmp.bmWidth, bmp.bmHeight,
BlendFunc);
BlendFunc.SourceConstantAlpha = 255;
BlendFunc.AlphaFormat = AC_SRC_ALPHA;
GdiAlphaBlend(Hdc, 140, 200, bmp.bmWidth, bmp.bmHeight,
HMemDC2, 0, 0, bmp.bmWidth, bmp.bmHeight,
BlendFunc);
GdiAlphaBlend(Hdc, 20, 210, (bmp.bmWidth / 3) * 2, (bmp.bmHeight / 3) * 2,
HMemDC2, 0, 0, bmp.bmWidth, bmp.bmHeight,
BlendFunc);
}
#if 0
catch (...)
{
EndPaint(HWnd, &ps);
}
#endif
EndPaint(HWnd, &ps);
break;
}
case WM_DESTROY:
{
/* clean up */
DeleteObject(SelectObject(HMemDC, HOldBmp));
DeleteDC(HMemDC);
DeleteDC(HMemDC2);
PostQuitMessage(0);
return 0;
}
}
return DefWindowProc(HWnd, Msg, WParam, LParam);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

View File

@@ -0,0 +1,22 @@
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = alphablend
TARGET_SDKLIBS = kernel32.a gdi32.a
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror -D__USE_W32API
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,94 @@
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
#include <windows.h>
#include <ddk/ntddk.h>
#include <rosrtl/string.h>
HANDLE OutputHandle;
HANDLE InputHandle;
VOID STDCALL
ApcRoutine(PVOID Context,
PIO_STATUS_BLOCK IoStatus,
ULONG Reserved)
{
printf("(apc.exe) ApcRoutine(Context %p)\n", Context);
}
int main(int argc, char* argv[])
{
NTSTATUS Status;
HANDLE FileHandle;
OBJECT_ATTRIBUTES ObjectAttributes;
UNICODE_STRING FileName = ROS_STRING_INITIALIZER(L"\\C:\\a.txt");
IO_STATUS_BLOCK IoStatus;
CHAR Buffer[256];
HANDLE EventHandle;
LARGE_INTEGER off;
AllocConsole();
InputHandle = GetStdHandle(STD_INPUT_HANDLE);
OutputHandle = GetStdHandle(STD_OUTPUT_HANDLE);
printf("APC test program\n");
EventHandle = CreateEventW(NULL,
FALSE,
FALSE,
NULL);
if (EventHandle == INVALID_HANDLE_VALUE)
{
printf("Failed to create event\n");
return 0;
}
printf("Opening file\n");
InitializeObjectAttributes(&ObjectAttributes,
&FileName,
0,
NULL,
NULL);
printf("Creating file\n");
FileHandle = CreateFileW(L"C:\\a.txt",
FILE_GENERIC_READ | FILE_GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
FILE_FLAG_OVERLAPPED,
NULL);
if (FileHandle == INVALID_HANDLE_VALUE)
{
printf("Open failed last err 0x%lu\n",GetLastError());
return 0;
}
off.QuadPart = 0;
printf("Reading file\n");
Status = ZwReadFile(FileHandle,
NULL,
(PIO_APC_ROUTINE)ApcRoutine,
(PVOID) 0xdeadbeef,
&IoStatus,
Buffer,
256,//len
&off ,//offset must exist if file was opened for asynch. i/o aka. OVERLAPPED
NULL);
if (!NT_SUCCESS(Status))
{
printf("Read failed status 0x%lu\n",Status);
}
printf("Waiting\n");
WaitForSingleObjectEx(EventHandle, INFINITE, TRUE);
printf("Returned from wait\n");
ZwClose(FileHandle);
printf("Program finished\n");
return 0;
}

View File

@@ -0,0 +1,23 @@
# $Id: makefile,v 1.10 2003/11/14 17:13:14 weiden Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = apc
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

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,53 @@
#include <windows.h>
#include <stdio.h>
VOID CALLBACK TimerApcProc(
LPVOID lpArg,
DWORD dwTimerLowValue,
DWORD dwTimerHighValue )
{
printf("APC Callback %lu\n", *(PDWORD)lpArg);
}
int main()
{
HANDLE hTimer;
BOOL bSuccess;
LARGE_INTEGER DueTime;
DWORD value = 1;
hTimer = CreateWaitableTimer(NULL, FALSE, NULL );
if (!hTimer)
{
printf("CreateWaitableTimer failed!\n");
return 0;
}
DueTime.QuadPart = -(LONGLONG)(5 * 10000000);
bSuccess = SetWaitableTimer(
hTimer,
&DueTime,
2001 /*interval (using an odd number to be able to find it easy in kmode) */,
TimerApcProc,
&value /*callback argument*/,
FALSE );
if (!bSuccess)
{
printf("SetWaitableTimer failed!\n");
return 0;
}
for (;value <= 10; value++ )
{
SleepEx(INFINITE, TRUE /*alertable*/ );
}
CloseHandle( hTimer );
return 0;
}

View File

@@ -0,0 +1,23 @@
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = apc2
TARGET_SDKLIBS = ntdll.a kernel32.a
TARGET_CFLAGS = -Wall -Werror
TARGET_OBJECTS = $(TARGET_NAME).o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -1,7 +1,7 @@
#include <ddk/ntddk.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
#include <windows.h>
HANDLE OutputHandle;
HANDLE InputHandle;
@@ -10,7 +10,7 @@ void debug_printf(char* fmt, ...)
{
va_list args;
char buffer[255];
va_start(args,fmt);
vsprintf(buffer,fmt,args);
WriteConsoleA(OutputHandle, buffer, strlen(buffer), NULL, NULL);
@@ -18,20 +18,22 @@ void debug_printf(char* fmt, ...)
}
void main(int argc, char* argv[])
int main(int argc, char* argv[])
{
int i;
AllocConsole();
InputHandle = GetStdHandle(STD_INPUT_HANDLE);
OutputHandle = GetStdHandle(STD_OUTPUT_HANDLE);
printf("GetCommandLineA() %s\n",GetCommandLineA());
debug_printf("GetCommandLineA() %s\n",GetCommandLineA());
debug_printf("argc %d\n", argc);
for (i=0; i<argc; i++)
{
debug_printf("Args: %x\n",argv[i]);
debug_printf("Args: '%s'\n",argv[i]);
debug_printf("Argv[%d]: %x\n",i,argv[i]);
debug_printf("Argv[%d]: '%s'\n",i,argv[i]);
}
return 0;
}

View File

@@ -1,42 +1,21 @@
#
#
#
OBJECTS= args.o
PROGS= args.exe
# $Id: makefile,v 1.16 2003/11/14 17:13:14 weiden Exp $
BASE_CFLAGS = -I../../include
PATH_TO_TOP = ../../..
all: $(PROGS)
TARGET_NORC = yes
.phony: all
TARGET_TYPE = program
clean:
- $(RM) args.o
- $(RM) args.exe
- $(RM) args.sym
TARGET_APPTYPE = console
.phony: clean
TARGET_NAME = args
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
TARGET_OBJECTS = $(TARGET_NAME).o
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes)
$(CP) $* $(FLOPPY_DIR)\apps\$*
else
$(CP) $* $(FLOPPY_DIR)/apps/$*
endif
TARGET_CFLAGS = -Wall -Werror
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%)
include $(PATH_TO_TOP)/rules.mak
$(PROGS:%=../../$(DIST_DIR)/apps/%): ../../$(DIST_DIR)/apps/%: %
ifeq ($(DOSCLI),yes)
$(CP) $* ..\..\$(DIST_DIR)\apps\$*
else
$(CP) $* ../../$(DIST_DIR)/apps/$*
endif
include $(TOOLS_PATH)/helper.mk
args.exe: $(OBJECTS) $(LIBS)
$(CC) $(OBJECTS) -o args.exe
$(NM) --numeric-sort args.exe > args.sym
include ../../rules.mak
# EOF

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,114 @@
#include <stdio.h>
#include <string.h>
#include <windows.h>
#include <ddk/ntddk.h>
#define BUFFER_SIZE 256
int main(int argc, char* argv[])
{
PRTL_ATOM_TABLE AtomTable = NULL;
RTL_ATOM AtomA = -1, AtomB = -1, AtomC = -1;
NTSTATUS Status;
WCHAR Buffer[BUFFER_SIZE];
ULONG NameLength, Data1, Data2;
printf("Atom table test app\n\n");
printf("RtlCreateAtomTable()\n");
Status = RtlCreateAtomTable(37,
&AtomTable);
printf(" Status 0x%08lx\n", Status);
if (NT_SUCCESS(Status))
{
printf(" AtomTable %p\n", AtomTable);
printf("RtlAddAtomToAtomTable()\n");
Status = RtlAddAtomToAtomTable(AtomTable,
L"TestAtomA",
&AtomA);
printf(" Status 0x%08lx\n", Status);
if (NT_SUCCESS(Status))
{
printf(" AtomA 0x%x\n", AtomA);
}
printf("RtlAddAtomToAtomTable()\n");
Status = RtlAddAtomToAtomTable(AtomTable,
L"TestAtomB",
&AtomB);
printf(" Status 0x%08lx\n", Status);
if (NT_SUCCESS(Status))
{
printf(" AtomB 0x%x\n", AtomB);
}
printf("RtlLookupAtomInAtomTable()\n");
Status = RtlLookupAtomInAtomTable(AtomTable,
L"TestAtomA",
&AtomC);
printf(" Status 0x%08lx\n", Status);
if (NT_SUCCESS(Status))
{
printf(" AtomC 0x%x\n", AtomC);
}
printf("RtlPinAtomInAtomTable()\n");
Status = RtlPinAtomInAtomTable(AtomTable,
AtomC);
printf(" Status 0x%08lx\n", Status);
printf("RtlPinAtomInAtomTable()\n");
Status = RtlPinAtomInAtomTable(AtomTable,
AtomC);
printf(" Status 0x%08lx\n", Status);
// printf("RtlDeleteAtomFromAtomTable()\n");
// Status = RtlDeleteAtomFromAtomTable(AtomTable,
// AtomC);
// printf(" Status 0x%08lx\n", Status);
// printf("RtlEmptyAtomTable()\n");
// Status = RtlEmptyAtomTable(AtomTable,
// TRUE);
// printf(" Status 0x%08lx\n", Status);
// printf("RtlLookupAtomInAtomTable()\n");
// Status = RtlLookupAtomInAtomTable(AtomTable,
// L"TestAtomA",
// &AtomC);
// printf(" Status 0x%08lx\n", Status);
printf("RtlQueryAtomInAtomTable()\n");
NameLength = sizeof(WCHAR) * BUFFER_SIZE;
Status = RtlQueryAtomInAtomTable(AtomTable,
AtomC,
&Data1,
&Data2,
Buffer,
&NameLength);
printf(" Status 0x%08lx\n", Status);
if (NT_SUCCESS(Status))
{
printf(" RefCount %ld\n", Data1);
printf(" PinCount %ld\n", Data2);
printf(" NameLength %lu\n", NameLength);
printf(" AtomName: %S\n", Buffer);
}
printf("RtlDestroyAtomTable()\n");
RtlDestroyAtomTable(AtomTable);
printf("Atom table test app finished\n");
}
return(0);
}

View File

@@ -0,0 +1,22 @@
# $Id: makefile,v 1.6 2003/11/14 17:13:15 weiden Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = atomtest
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

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -1,14 +1,14 @@
#include <stdio.h>
#include <windows.h>
#define NR_THREADS (0x5)
#define NR_THREADS (30)
DWORD WINAPI
thread_main1(LPVOID param)
{
printf("Thread 1 running (Counter %lu)\n", (DWORD)param);
SleepEx(INFINITE, TRUE);
return 0;
}
@@ -17,18 +17,17 @@ DWORD WINAPI
thread_main2(LPVOID param)
{
printf("Thread 2 running (Counter %lu)\n", (DWORD)param);
Sleep(INFINITE);
return 0;
}
int main (void)
{
HANDLE hThread;
DWORD i=0;
DWORD id;
#if 0
#if 1
printf("Creating %d threads...\n",NR_THREADS*2);
for (i=0;i<NR_THREADS;i++)
{
@@ -39,16 +38,16 @@ int main (void)
0,
&id);
CreateThread(NULL,
/* CreateThread(NULL,
0,
thread_main2,
(LPVOID)i,
0,
&id);
&id);*/
}
printf("All threads created...\n");
/*
* Waiting for threads is not implemented yet.
* If you want to see all threads running, uncomment the
@@ -77,6 +76,6 @@ int main (void)
printf("Thread terminated...\n");
#endif
printf("Exiting\n");
return 0;
}

View File

@@ -1,41 +1,23 @@
#
#
#
PROGS = bench-thread
# $Id: makefile,v 1.11 2003/11/14 17:13:15 weiden Exp $
all: $(PROGS:%=%.exe)
PATH_TO_TOP = ../../..
.phony: all
TARGET_NORC = yes
clean: $(PROGS:%=%_clean)
TARGET_TYPE = program
$(PROGS:%=%_clean): %_clean:
- $(RM) $*.o
- $(RM) $*.exe
- $(RM) $*.sym
TARGET_APPTYPE = console
.phony: clean
TARGET_NAME = bench-thread
floppy: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
TARGET_SDKLIBS = kernel32.a
$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
ifeq ($(DOSCLI),yes)
$(CP) $*.exe $(FLOPPY_DIR)\apps\$*.exe
else
$(CP) $*.exe $(FLOPPY_DIR)/apps/$*.exe
endif
TARGET_OBJECTS = $(TARGET_NAME).o
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%.exe)
TARGET_CFLAGS = -Wall -Werror
$(PROGS:%=../../$(DIST_DIR)/apps/%.exe): ../../$(DIST_DIR)/apps/%.exe: %.exe
ifeq ($(DOSCLI),yes)
$(CP) $*.exe ..\..\$(DIST_DIR)\apps\$*.exe
else
$(CP) $*.exe ../../$(DIST_DIR)/apps/$*.exe
endif
include $(PATH_TO_TOP)/rules.mak
bench-thread.exe: bench-thread.c
$(CC) bench-thread.c -lkernel32 -o bench-thread.exe
$(NM) --numeric-sort bench-thread.exe > bench-thread.sym
include $(TOOLS_PATH)/helper.mk
include ../../rules.mak
# EOF

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,139 @@
/*
* Windows 2000 Graphics API Black Book
* (BitBlt Bitmap Rendering Demo)
*
* Created by Damon Chandler <dmc27@ee.cornell.edu>
* Updates can be downloaded at: <www.coriolis.com>
*
* Please do not hesistate to e-mail me at dmc27@ee.cornell.edu
* if you have any questions about this code.
*/
#include <windows.h>
#include <string.h>
HINSTANCE HInst;
const char* WndClassName = "GMainWnd";
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam,
LPARAM LParam);
int APIENTRY WinMain(HINSTANCE HInstance, HINSTANCE HPrevInstance,
LPTSTR lpCmdLine, int nCmdShow)
{
WNDCLASS wc;
MSG msg;
HInst = HInstance;
memset(&wc, 0, sizeof(WNDCLASS));
wc.style = CS_VREDRAW | CS_HREDRAW | CS_DBLCLKS;
wc.lpfnWndProc = MainWndProc;
wc.hInstance = HInstance;
wc.hCursor = LoadCursor(NULL, (LPCTSTR)IDC_ARROW);
/* wc.hbrBackground = reinterpret_cast<HBRUSH>(COLOR_BTNFACE + 1); */
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
wc.lpszClassName = WndClassName;
if (RegisterClass(&wc))
{
HWND HWnd =
CreateWindow(
WndClassName, TEXT("BitBlt Bitmap Rendering Demo"),
WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION |
WS_VISIBLE | WS_CLIPSIBLINGS,
0, 0, 220, 230,
NULL, NULL, HInst, NULL
);
if (HWnd)
{
ShowWindow(HWnd, nCmdShow);
UpdateWindow(HWnd);
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
}
return 0;
}
/* image related */
BITMAP bmp;
LPCSTR filename = TEXT("lena.bmp");
HDC HMemDC = NULL;
HBITMAP HOldBmp = NULL;
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam,
LPARAM LParam)
{
switch (Msg)
{
case WM_CREATE:
{
/* create a memory DC */
HMemDC = CreateCompatibleDC(NULL);
if (HMemDC)
{
/* load a bitmap from file */
HBITMAP HBmp =
/* static_cast<HBITMAP> */(
LoadImage(HInst, filename, IMAGE_BITMAP,
0, 0, LR_LOADFROMFILE)
);
if (HBmp)
{
/* extract dimensions of the bitmap */
GetObject(HBmp, sizeof(BITMAP), &bmp);
/* associate the bitmap with the memory DC */
/* HOldBmp = static_cast<HBITMAP> */
(SelectObject(HMemDC, HBmp)
);
}
}
}
case WM_PAINT:
{
PAINTSTRUCT ps;
const HDC Hdc = BeginPaint(HWnd, &ps);
#if 0
try
#endif
{
/* TODO: add palette support (see Chapter 9)... */
BitBlt(Hdc, 20, 15,
bmp.bmWidth, bmp.bmHeight,
HMemDC, 0, 0,
SRCCOPY);
}
#if 0
catch (...)
#endif
{
EndPaint(HWnd, &ps);
}
EndPaint(HWnd, &ps);
break;
}
case WM_DESTROY:
{
/* clean up */
DeleteObject(SelectObject(HMemDC, HOldBmp));
DeleteDC(HMemDC);
PostQuitMessage(0);
return 0;
}
}
return DefWindowProc(HWnd, Msg, WParam, LParam);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

View File

@@ -0,0 +1,22 @@
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = bitblt
TARGET_SDKLIBS = kernel32.a gdi32.a
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror -D__USE_W32API
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,22 @@
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = btntest
TARGET_SDKLIBS = kernel32.a gdi32.a
TARGET_OBJECTS = buttontst.o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,107 @@
/* Based on Radoslaw Sokol's static control test. */
#include <windows.h>
static LPSTR BUTTON_CLASS = "BUTTON";
static LPSTR TEST_WND_CLASS = "TESTWND";
#ifdef NDEBUG
#define DPRINT(s) (void)0
#else
#define DPRINT(s) OutputDebugStringA("BUTTONTEST: " s "\n")
#endif
HINSTANCE AppInstance = NULL;
LRESULT WmCreate(
HWND Wnd)
{
DPRINT("WM_CREATE (enter).");
DPRINT("test 1");
CreateWindowEx(0, BUTTON_CLASS, "PushButton", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE,
10, 10, 150, 30, Wnd, NULL, AppInstance, NULL);
DPRINT("test 2");
CreateWindowEx(0, BUTTON_CLASS, "DefPushButton", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE,
10, 40, 150, 30, Wnd, NULL, AppInstance, NULL);
DPRINT("test 3");
CreateWindowEx(0, BUTTON_CLASS, "AutoRadioButton", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE,
10, 70, 150, 30, Wnd, NULL, AppInstance, NULL);
DPRINT("test 4");
CreateWindowEx(0, BUTTON_CLASS, "AutoCheckBox", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE,
10, 100, 150, 30, Wnd, NULL, AppInstance, NULL);
DPRINT("WM_CREATE (leave).");
return 0;
}
LRESULT CALLBACK TestWndProc(
HWND Wnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam)
{
switch (Msg) {
case WM_CREATE:
return WmCreate(Wnd);
case WM_DESTROY:
PostQuitMessage(0);
return 0;
default:
return DefWindowProc(Wnd, Msg, wParam, lParam);
}
}
int STDCALL WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nShowCmd)
{
ATOM Result;
MSG Msg;
HWND MainWindow;
WNDCLASSEX TestWndClass = {0};
DPRINT("Application starting up.");
// Remember instance handle.
AppInstance = GetModuleHandle(NULL);
// Register test window class.
TestWndClass.cbSize = sizeof(WNDCLASSEX);
TestWndClass.lpfnWndProc = &TestWndProc;
TestWndClass.hInstance = AppInstance;
TestWndClass.hCursor = LoadCursor(0, (LPCTSTR)IDC_ARROW);
TestWndClass.hbrBackground = CreateSolidBrush(RGB(255,255,230));
TestWndClass.lpszClassName = TEST_WND_CLASS;
Result = RegisterClassEx(&TestWndClass);
if (Result == 0) {
DPRINT("Error registering class.");
MessageBox(0, "Error registering test window class.",
"Button control test", MB_ICONSTOP | MB_OK);
ExitProcess(0);
}
// Create main window.
DPRINT("Creating main window.");
MainWindow = CreateWindowEx(WS_EX_APPWINDOW | WS_EX_CLIENTEDGE,
TEST_WND_CLASS, "Button test",
WS_OVERLAPPEDWINDOW, 50, 50, 180, 365,
NULL, NULL, AppInstance, NULL);
if (MainWindow == 0) {
DPRINT("Error creating main window.");
UnregisterClass(TEST_WND_CLASS, AppInstance);
MessageBox(0, "Error creating test window.",
"Static control test", MB_ICONSTOP | MB_OK);
ExitProcess(0);
}
DPRINT("Showing main window.");
ShowWindow(MainWindow, SW_SHOWNORMAL);
UpdateWindow(MainWindow);
// Run message loop.
DPRINT("Entering message loop.");
while (GetMessage(&Msg, NULL, 0, 0) > 0) {
TranslateMessage(&Msg);
DispatchMessage(&Msg);
}
// Unregister window class.
UnregisterClass(TEST_WND_CLASS, AppInstance);
DPRINT("Exiting.");
return Msg.wParam;
}

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,22 @@
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = btntest2
TARGET_SDKLIBS = kernel32.a gdi32.a
TARGET_OBJECTS = buttontst2.o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,219 @@
#include <windows.h>
#include <stdio.h>
HFONT tf;
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM);
int WINAPI
WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow)
{
WNDCLASS wc;
MSG msg;
HWND hWnd;
HWND hbtn[26];
wc.lpszClassName = "ButtonTest";
wc.lpfnWndProc = MainWndProc;
wc.style = CS_VREDRAW | CS_HREDRAW;
wc.hInstance = hInstance;
wc.hIcon = LoadIcon(NULL, (LPCTSTR)IDI_APPLICATION);
wc.hCursor = LoadCursor(NULL, (LPCTSTR)IDC_ARROW);
wc.hbrBackground = (HBRUSH)GetStockObject(GRAY_BRUSH);
wc.lpszMenuName = NULL;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
if (RegisterClass(&wc) == 0)
{
fprintf(stderr, "RegisterClass failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
hWnd = CreateWindow("ButtonTest",
"Button Test",
WS_OVERLAPPEDWINDOW,
0,
0,
CW_USEDEFAULT,
CW_USEDEFAULT,
NULL,
NULL,
hInstance,
NULL);
if (hWnd == NULL)
{
fprintf(stderr, "CreateWindow failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
tf = CreateFontA(14, 0, 0, TA_BASELINE, FW_NORMAL, FALSE, FALSE, FALSE,
ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
DEFAULT_QUALITY, FIXED_PITCH|FF_DONTCARE, "Timmons");
ShowWindow(hWnd, nCmdShow);
hbtn[0] = CreateWindow(
"BUTTON","BS_DEFPUSHBUTTON",WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
10, 10, 200, 40, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[1] = CreateWindow(
"BUTTON","BS_3STATE",WS_VISIBLE | WS_CHILD | BS_3STATE,
10, 60, 200, 20, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[2] = CreateWindow(
"BUTTON","BS_AUTO3STATE",WS_VISIBLE | WS_CHILD | BS_AUTO3STATE,
10, 90, 200, 20, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[3] = CreateWindow(
"BUTTON","BS_AUTOCHECKBOX",WS_VISIBLE | WS_CHILD | BS_AUTOCHECKBOX,
10, 120, 200, 20, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[4] = CreateWindow(
"BUTTON","BS_AUTORADIOBUTTON",WS_VISIBLE | WS_CHILD | BS_AUTORADIOBUTTON,
10, 150, 200, 20, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[5] = CreateWindow(
"BUTTON","BS_CHECKBOX",WS_VISIBLE | WS_CHILD | BS_CHECKBOX,
10, 180, 200, 20, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[6] = CreateWindow(
"BUTTON","BS_GROUPBOX",WS_VISIBLE | WS_CHILD | BS_GROUPBOX,
10, 210, 200, 80, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[7] = CreateWindow(
"BUTTON","BS_PUSHBUTTON",WS_VISIBLE | WS_CHILD | BS_PUSHBUTTON,
20, 230, 180, 30, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[8] = CreateWindow(
"BUTTON","BS_RADIOBUTTON",WS_VISIBLE | WS_CHILD | BS_RADIOBUTTON,
10, 300, 200, 20, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[9] = CreateWindow(
"BUTTON","BS_AUTORADIOBUTTON",WS_VISIBLE | WS_CHILD | BS_AUTORADIOBUTTON,
220, 160, 200, 20, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[10] = CreateWindow(
"BUTTON","BS_DEFPUSHBUTTON|BS_BOTTOM",WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON | BS_BOTTOM,
220, 10, 250, 40, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[11] = CreateWindow(
"BUTTON","BS_DEFPUSHBUTTON|BS_LEFT",WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON | BS_LEFT,
480, 10, 250, 40, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[12] = CreateWindow(
"BUTTON","BS_DEFPUSHBUTTON|BS_RIGHT|BS_MULTILINE",WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON | BS_RIGHT |BS_MULTILINE,
740, 10, 150, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[13] = CreateWindow(
"BUTTON","BS_AUTORADIOBUTTON|BS_TOP",WS_VISIBLE | WS_CHILD | BS_AUTORADIOBUTTON | BS_TOP,
220, 60, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
// Other Combinations
hbtn[14] = CreateWindow(
"BUTTON","BS_AUTORADIOBUTTON|BS_BOTTOM|BS_MULTILINE",WS_VISIBLE | WS_CHILD | BS_AUTORADIOBUTTON | BS_BOTTOM | BS_MULTILINE,
480, 60, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[15] = CreateWindow(
"BUTTON","BS_AUTORADIOBUTTON|BS_LEFT",WS_VISIBLE | WS_CHILD | BS_AUTORADIOBUTTON | BS_LEFT,
740, 80, 200, 20, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[16] = CreateWindow(
"BUTTON","BS_AUTORADIOBUTTON|BS_RIGHT|BS_TOP",WS_VISIBLE | WS_CHILD | BS_AUTORADIOBUTTON | BS_RIGHT | BS_TOP,
220, 130, 200, 20, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[17] = CreateWindow(
"BUTTON","BS_AUTORADIOBUTTON|BS_TOP|BS_MULTILINE",WS_VISIBLE | WS_CHILD | BS_AUTORADIOBUTTON | BS_TOP| BS_MULTILINE,
480, 130, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[18] = CreateWindow(
"BUTTON","BS_AUTOCHECKBOX|BS_BOTTOM|BS_MULTILINE",WS_VISIBLE | WS_CHILD | BS_AUTOCHECKBOX | BS_BOTTOM | BS_MULTILINE,
740, 130, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[19] = CreateWindow(
"BUTTON","BS_AUTOCHECKBOX|BS_TOP|BS_MULTILINE",WS_VISIBLE | WS_CHILD | BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE,
480, 190, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[20] = CreateWindow(
"BUTTON","BS_AUTOCHECKBOX|BS_LEFT|BS_MULTILINE",WS_VISIBLE | WS_CHILD | BS_AUTOCHECKBOX | BS_LEFT | BS_MULTILINE,
220, 230, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[21] = CreateWindow(
"BUTTON","BS_AUTOCHECKBOX|BS_RIGHT|BS_MULTILINE",WS_VISIBLE | WS_CHILD | BS_AUTOCHECKBOX | BS_RIGHT | BS_MULTILINE,
480, 240, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[22] = CreateWindow(
"BUTTON","BS_GROUPBOX|BS_TOP",WS_VISIBLE | WS_CHILD | BS_GROUPBOX | BS_TOP,
10, 340, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[23] = CreateWindow(
"BUTTON","BS_GROUPBOX|BS_BOTTOM",WS_VISIBLE | WS_CHILD | BS_GROUPBOX | BS_BOTTOM,
10, 410, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[24] = CreateWindow(
"BUTTON","BS_GROUPBOXBOX|BS_LEFT",WS_VISIBLE | WS_CHILD | BS_GROUPBOX | BS_LEFT,
520, 340, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
hbtn[25] = CreateWindow(
"BUTTON","BS_GROUPBOX|BS_RIGHT|BS_BOTTOM",WS_VISIBLE | WS_CHILD | BS_GROUPBOX | BS_BOTTOM | BS_RIGHT,
300, 340, 200, 60, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE),NULL);
while(GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
DeleteObject(tf);
return msg.wParam;
}
LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
PAINTSTRUCT ps;
HDC hDC;
switch(msg)
{
case WM_PAINT:
hDC = BeginPaint(hWnd, &ps);
SelectObject(hDC, tf);
EndPaint(hWnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
case WM_COMMAND:
switch(HIWORD(wParam))
{
case BN_CLICKED:
printf("BUTTON CLICKED !\n");
break;
case BN_DBLCLK:
printf("BUTTON DOUBLE-CLICKED !\n");
break;
case BN_PUSHED:
printf("BUTTON PUSHED !\n");
break;
case BN_PAINT:
printf("BUTTON PAINTED !\n");
break;
case BN_UNPUSHED:
printf("BUTTON UNPUSHED !\n");
break;
}
break;
default:
return DefWindowProc(hWnd, msg, wParam, lParam);
}
return 0;
}

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,20 @@
PATH_TO_TOP = ../../..
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = capclock
TARGET_SDKLIBS = kernel32.a
TARGET_OBJECTS = capclock.o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,70 @@
/* $Id: capclock.c,v 1.3 2003/11/14 17:13:16 weiden Exp $
*
* DESCRIPTION: Simple Win32 Caption Clock
* PROJECT : ReactOS (test applications)
* AUTHOR : Emanuele Aliberti
* DATE : 2003-09-03
* LICENSE : GNU GPL v2.0
*/
#include <windows.h>
#include <string.h>
UINT Timer = 1;
static BOOL CALLBACK DialogFunc(HWND,UINT,WPARAM,LPARAM);
static VOID CALLBACK TimerProc(HWND,UINT,UINT,DWORD);
INT STDCALL WinMain (HINSTANCE hinst, HINSTANCE hinstPrev, LPSTR lpCmdLine, INT nCmdShow)
{
WNDCLASS wc;
ZeroMemory (& wc, sizeof wc);
wc.lpfnWndProc = DefDlgProc;
wc.cbWndExtra = DLGWINDOWEXTRA;
wc.hInstance = hinst;
wc.hCursor = LoadCursor(NULL, (LPCTSTR)IDC_ARROW);
wc.hbrBackground = (HBRUSH) (COLOR_WINDOW + 1);
wc.lpszClassName = "CapClock";
RegisterClass (& wc);
return DialogBox(hinst, MAKEINTRESOURCE(2), NULL, (DLGPROC) DialogFunc);
}
static int InitializeApp (HWND hDlg,WPARAM wParam, LPARAM lParam)
{
Timer = SetTimer (hDlg,Timer,1000,TimerProc);
TimerProc (hDlg,0,0,0);
return 1;
}
static BOOL CALLBACK DialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg)
{
case WM_INITDIALOG:
InitializeApp(hwndDlg,wParam,lParam);
return TRUE;
case WM_CLOSE:
KillTimer (hwndDlg,Timer);
EndDialog(hwndDlg,0);
return TRUE;
}
return FALSE;
}
static VOID CALLBACK TimerProc (HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTime)
{
CHAR text [20];
SYSTEMTIME lt;
GetLocalTime (& lt);
wsprintf (
text,
"%d-%02d-%02d %02d:%02d:%02d",
lt.wYear,
lt.wMonth,
lt.wDay,
lt.wHour,
lt.wMinute,
lt.wSecond);
SetWindowText (hwnd, text);
}
/* EOF */

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

View File

@@ -0,0 +1,52 @@
#include <windows.h>
#include "../../../include/reactos/resource.h"
/* Icons */
1 ICON "capclock.ico"
/* Dialogs */
2 DIALOG 6, 18, 132, 0
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
FONT 8, "Microsoft Sans Serif"
BEGIN
END
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
/* Version information. */
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", "ReactOS W32 Caption Clock\0"
VALUE "FileVersion", RES_STR_PRODUCT_VERSION
VALUE "InternalName", "capclock\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "capclock.exe\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

View File

@@ -0,0 +1,150 @@
#include <windows.h>
#include <stdio.h>
#include "resource.h"
static int CaretWidth = 2;
static int CaretHeight = 16;
static int CharWidth = 10;
static int CharHeight = 16;
static HBITMAP CaretBitmap;
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM);
int WINAPI
WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow)
{
WNDCLASS wc;
MSG msg;
HWND hWnd;
CaretBitmap = LoadBitmap(hInstance, (LPCTSTR)IDB_CARET);
wc.lpszClassName = "CaretTestClass";
wc.lpfnWndProc = MainWndProc;
wc.style = CS_VREDRAW | CS_HREDRAW;
wc.hInstance = hInstance;
wc.hIcon = LoadIcon(NULL, (LPCTSTR)IDI_APPLICATION);
wc.hCursor = LoadCursor(NULL, (LPCTSTR)IDC_ARROW);
wc.hbrBackground = (HBRUSH)COLOR_WINDOW;
wc.lpszMenuName = NULL;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
if (RegisterClass(&wc) == 0)
{
fprintf(stderr, "RegisterClass failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
hWnd = CreateWindow(wc.lpszClassName,
"Caret Test",
WS_OVERLAPPEDWINDOW,
0,
0,
200,
250,
NULL,
NULL,
hInstance,
NULL);
if (hWnd == NULL)
{
fprintf(stderr, "CreateWindow failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
ShowWindow(hWnd, nCmdShow);
while(GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return msg.wParam;
}
LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
POINT pt;
switch(msg)
{
case WM_ACTIVATE:
switch(LOWORD(wParam))
{
case WA_ACTIVE:
case WA_CLICKACTIVE:
if(!ShowCaret(hWnd))
DbgPrint("ShowCaret(0x%x)\n", hWnd);
break;
case WA_INACTIVE:
if(!HideCaret(hWnd))
DbgPrint("HideCaret(0x%x)\n", hWnd);
break;
}
break;
case WM_KEYDOWN:
if(!GetCaretPos(&pt))
{
DbgPrint("GetCaretPos() failed!\n");
break;
}
switch(wParam)
{
case VK_LEFT:
pt.x -= CharWidth;
break;
case VK_UP:
pt.y -= CharHeight;
break;
case VK_RIGHT:
pt.x += CharWidth;
break;
case VK_DOWN:
pt.y += CharHeight;
break;
}
if(!SetCaretPos(pt.x, pt.y))
DbgPrint("SetCaretPos() failed!\n");
break;
case WM_RBUTTONDOWN:
if(!CreateCaret(hWnd, CaretBitmap, 0, 0))
DbgPrint("CreateCaret() for window 0x%x failed!\n", hWnd);
else
if(!ShowCaret(hWnd))
DbgPrint("ShowCaret(0x%x)\n", hWnd);
break;
case WM_LBUTTONDOWN:
if(!CreateCaret(hWnd, (HBITMAP)0, CaretWidth, CaretHeight))
DbgPrint("CreateCaret() for window 0x%x failed!\n", hWnd);
else
if(!ShowCaret(hWnd))
DbgPrint("ShowCaret(0x%x)\n", hWnd);
break;
case WM_CREATE:
if(!CreateCaret(hWnd, (HBITMAP)0, CaretWidth, CaretHeight))
DbgPrint("CreateCaret() for window 0x%x failed!\n", hWnd);
else
if(!SetCaretPos(1, 1))
DbgPrint("SetCaretPos(%i, %i) failed!\n", 1, 1);
break;
case WM_DESTROY:
if(!DestroyCaret())
DbgPrint("DestroyCaret() failed!\n");
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, msg, wParam, lParam);
}
return 0;
}

View File

@@ -0,0 +1,5 @@
#include <defines.h>
#include <reactos/resource.h>
#include "resource.h"
IDB_CARET BITMAP DISCARDABLE "caret.bmp"

View File

@@ -0,0 +1,23 @@
# $Id: makefile,v 1.2 2003/11/14 17:13:16 weiden Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = no
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = carets
TARGET_SDKLIBS = kernel32.a gdi32.a ntdll.a
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1 @@
#define IDB_CARET 101

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,687 @@
/* ComboBox Control Test for ReactOS.
* This is a test program. Not made to be fast, small
* easy to mantain, or portable.
* I'm not erasing text because I don't want to use other functions from the API
* or make this more complex. Also Fonts are not heavily used.
* This source code is in the PUBLIC DOMAIN and has NO WARRANTY.
* by Waldo Alvarez Ca<43>izares <wac at ghost.matcom.uh.cu>, started July 11, 2003. */
//#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "utils.h"
#define CONTROLCLASS "COMBOBOX" /* the class name */
#define CONTROLCLASSW L"COMBOBOX" /* the class name in unicode*/
#define WINDOWWIDTH 560
#define WINDOWHEIGHT 350
/* --- Command IDs of some buttons --- */
#define CREATEWINDOW_ID 106
#define CREATEWINDOWEX_ID 107
#define CREATEWINDOWW_ID 108
#define INITPAGE_ID 400
#define SECONDPAGE_ID 401
#define BACKFIRSTPAGE_ID 402
/* --- Position where the result text goes --- */
#define ResultX 0
#define ResultY 305
/* --- Position where the notify text goes --- */
#define NOTIFYX 390
#define NOTIFYY 285
/* --- The width of most buttons --- */
#define CHECKBUTWIDTH 190
#define SCROLLAMOUNT -15
/* Size of buffer to hold resulting strings from conversion
and returned by messages */
#define BUFFERLEN 80
char TextBuffer[BUFFERLEN]={'R','e','s','u','l','t',':',' '};
HWND g_hwnd = NULL;
HINSTANCE g_hInst = NULL;
int pos = 10;
int n = 0;
int yButPos = 10;
int xButPos = 0;
DWORD ComboStyle = 0;
/* --- Control coordinates --- */
#define CONTROLPOSX 390
#define CONTROLPOSY 10
DWORD ControlWidth = 160;
DWORD ControlHeight = 150;
static RECT srect = {CONTROLPOSX,CONTROLPOSY,WINDOWWIDTH,WINDOWHEIGHT};
HWND hwndEdit = NULL;
RECT rect;
DWORD StartP,EndP;
HWND hwnd; /* main window handle */
char AddString[] = "string added";
typedef void FunctionHandler(HWND,DWORD,WPARAM,LPARAM);
typedef FunctionHandler* LPFUNCTIONHANDLER;
void PrintTextXY(char* Text,int x,int y,int len, RECT rect)
{
HDC hdc;
hdc = GetDC (g_hwnd);
SelectObject (hdc, GetStockObject (SYSTEM_FIXED_FONT));
TextOut (hdc, x,y,Text,len);
ReleaseDC (g_hwnd, hdc);
ValidateRect (g_hwnd, &rect);
}
static
VOID
HandlePrintReturnHex(HWND handle,DWORD Msg,WPARAM wParam,LPARAM lParam)
{
LRESULT ret;
RECT rect;
ret = SendMessage(handle,Msg,wParam,lParam);
htoa((unsigned int)ret,&TextBuffer[8]);
GetWindowRect(g_hwnd,&rect);
PrintTextXY(TextBuffer,ResultX,ResultY,16,rect);
}
static
VOID
HandlePrintReturnStr(HWND handle,DWORD Msg,WPARAM wParam,LPARAM lParam)
{
LRESULT ret;
RECT rect;
TextBuffer[8] = (char)(BUFFERLEN - 8); /* Setting the max size to put chars in first byte */
ret = SendMessage(handle,Msg,wParam,lParam);
GetWindowRect(g_hwnd,&rect);
PrintTextXY(TextBuffer,ResultX,ResultY,8+(int)ret,rect);
}
static
VOID
HandlePrintRect(HWND handle,DWORD Msg,WPARAM wParam,LPARAM lParam)
{
RECT rect;
TextBuffer[8] = (char)(BUFFERLEN - 8); /* Setting the max size to put chars in first byte */
SendMessage(handle,Msg,wParam,lParam);
htoa(rect.top,&TextBuffer[8]);
TextBuffer[8+8] = ' ';
htoa(rect.bottom,&TextBuffer[8+8+1]);
TextBuffer[8+8+8+1] = ' ';
htoa(rect.left,&TextBuffer[8+8+8+1+1]);
TextBuffer[8+8+8+8+1+1] = ' ';
htoa(rect.right,&TextBuffer[8+8+8+8+1+1+1]);
GetWindowRect(g_hwnd,&rect);
PrintTextXY(TextBuffer,ResultX,ResultY,8+4*9-1,rect);
}
struct
{
char* Text; /* Text for the button */
DWORD MsgCode; /* Message Code */
WPARAM wParam; /* Well hope you can understand this */
LPARAM lParam; /* ditto */
LPFUNCTIONHANDLER Handler; /* Funtion called to handle the result of each message */
}
Msg[] =
{
{"CB_ADDSTRING",CB_ADDSTRING,0,(LPARAM)&AddString,&HandlePrintReturnHex},
{"CB_ADDSTRING - long",CB_ADDSTRING,0,(LPARAM)"very loooooooooong striiinnnnnnnnnggg",&HandlePrintReturnHex},
{"CB_DELETESTRING",CB_DELETESTRING,2,0,&HandlePrintReturnHex}, /* remember to catch WM_DELETEITEM*/
/* What a message, why M$ decided to implement his thing ? */
{"CB_DIR - drives",CB_DIR,DDL_DRIVES,
/* Hoping that most machines have this */
(LPARAM)"C:\\",
&HandlePrintReturnHex},
{"CB_DIR - dirs",CB_DIR,DDL_DIRECTORY,(LPARAM)"C:\\*",&HandlePrintReturnHex},
{"CB_DIR - files",CB_DIR,
DDL_ARCHIVE | DDL_EXCLUSIVE | DDL_HIDDEN | DDL_READONLY | DDL_READWRITE | DDL_SYSTEM,
(LPARAM)"C:\\*",&HandlePrintReturnHex},
/* Do not forget WM_COMPAREITEM */
{"CB_FINDSTRING",CB_FINDSTRING,1,(LPARAM)"str",&HandlePrintReturnHex},
{"CB_FINDSTRINGEXACT(-1)",CB_FINDSTRINGEXACT,-1,(LPARAM)&AddString,&HandlePrintReturnHex},
{"CB_FINDSTRINGEXACT(2)",CB_FINDSTRINGEXACT,2,(LPARAM)&AddString,&HandlePrintReturnHex},
/* "CB_GETCOMBOBOXINFO",CB_GETCOMBOBOXINFO,0,0,&HandlePrintReturnHex, winXP & .net server remember to handle the struct */
{"CB_GETCOUNT",CB_GETCOUNT,0,0,&HandlePrintReturnHex},
{"CB_GETCURSEL",CB_GETCURSEL,0,0,&HandlePrintReturnHex},
/* To implement "CB_GETEDITSEL - vars",CB_GETEDITSEL,,,&HandlePrintReturnHex, */
{"CB_GETEXTENDEDUI",CB_GETEXTENDEDUI,0,0,&HandlePrintReturnHex},
{"CB_GETHORIZONTALEXTENT",CB_GETHORIZONTALEXTENT,0,0,&HandlePrintReturnHex},
{"CB_GETLBTEXT",CB_GETLBTEXT,1,(LPARAM)&TextBuffer[8],&HandlePrintReturnStr},
{"CB_GETLBTEXTLEN",CB_GETLBTEXTLEN,1,0,&HandlePrintReturnHex},
{"CB_GETLOCALE",CB_GETLOCALE,0,0,&HandlePrintReturnHex},
/* "CB_GETMINVISIBLE",CB_GETMINVISIBLE,0,0,&HandlePrintReturnHex, Included in Windows XP and Windows .NET Server. */
{"CB_GETTOPINDEX",CB_GETTOPINDEX,0,0,&HandlePrintReturnHex},
{"CB_INITSTORAGE",CB_INITSTORAGE,10,200,&HandlePrintReturnHex},
{"CB_INSERTSTRING",CB_INSERTSTRING,2,(LPARAM)"inserted string",&HandlePrintReturnHex},
{"CB_LIMITTEXT",CB_LIMITTEXT,10,0,&HandlePrintReturnHex},
{"CB_RESETCONTENT",CB_RESETCONTENT ,0,0,&HandlePrintReturnHex},
{"CB_SELECTSTRING",CB_SELECTSTRING,2,(LPARAM)"str",&HandlePrintReturnHex},
{"CB_SETCURSEL",CB_SETCURSEL,1,0,&HandlePrintReturnHex},
{"CB_SETDROPPEDWIDTH",CB_SETDROPPEDWIDTH,250,0,&HandlePrintReturnHex},
{"CB_SETEXTENDEDUI - set",CB_SETEXTENDEDUI,TRUE,0,&HandlePrintReturnHex},
{"CB_SETEXTENDEDUI - clear",CB_SETEXTENDEDUI,FALSE,0,&HandlePrintReturnHex},
/*
* win2k have a small bug with this ^ , if you press F4 while it is cleared,
* the combobox is using style cbs_dropdown
* and the pointer is over the edit box then the mouse pointer is not changed
* to an arrow
*/
{"CB_SETHORIZONTALEXTENT",CB_SETHORIZONTALEXTENT,500,0,&HandlePrintReturnHex},
{"CB_GETITEMDATA",CB_GETITEMDATA,1,0,&HandlePrintReturnHex},
{"CB_SETITEMDATA",CB_SETITEMDATA,1,0x791031,&HandlePrintReturnHex},
{"CB_SETITEMHEIGHT",CB_SETITEMHEIGHT,-1,30,&HandlePrintReturnHex},
{"CB_GETITEMHEIGHT",CB_GETITEMHEIGHT,2,0,&HandlePrintReturnHex},
/* "CB_SETMINVISIBLE",CB_SETMINVISIBLE,4,0,&HandlePrintReturnHex, Included in Windows XP and Windows .NET Server */
{"CB_GETEDITSEL",CB_GETEDITSEL,(WPARAM)NULL,(LPARAM)NULL,&HandlePrintReturnHex},
{"CB_SETEDITSEL",CB_SETEDITSEL,0,0x00020005,&HandlePrintReturnHex},
{"CB_SETEDITSEL - clear",CB_SETEDITSEL,0,0xFFFFFFFF,&HandlePrintReturnHex},
{"CB_SETTOPINDEX",CB_SETTOPINDEX,3,0,&HandlePrintReturnHex},
{"CB_SHOWDROPDOWN - true",CB_SHOWDROPDOWN,TRUE,0,&HandlePrintReturnHex},
{"CB_SHOWDROPDOWN - false",CB_SHOWDROPDOWN,FALSE,0,&HandlePrintReturnHex},
{"CB_GETDROPPEDCONTROLRECT",CB_GETDROPPEDCONTROLRECT,0,(LPARAM)&rect,&HandlePrintRect},
{"CB_GETDROPPEDSTATE",CB_GETDROPPEDSTATE,0,0,&HandlePrintReturnHex},
{"CB_GETDROPPEDWIDTH",CB_GETDROPPEDWIDTH,0,0,&HandlePrintReturnHex},
{"WM_PASTE",WM_PASTE,0,0,&HandlePrintReturnHex},
};
#define MAXMESSAGEBUTTONS 40
struct
{
char* Name; /* Text for the button */
DWORD Code; /* Style Code */
}
Styles[] = {
{"WS_DISABLED",WS_DISABLED},
{"CBS_AUTOHSCROLL",CBS_AUTOHSCROLL},
{"CBS_DISABLENOSCROLL",CBS_DISABLENOSCROLL},
{"CBS_DROPDOWN",CBS_DROPDOWN},
{"CBS_DROPDOWNLIST",CBS_DROPDOWNLIST},
{"CBS_HASSTRINGS",CBS_HASSTRINGS},
{"CBS_LOWERCASE",CBS_LOWERCASE},
{"CBS_NOINTEGRALHEIGHT",CBS_NOINTEGRALHEIGHT},
{"CBS_OEMCONVERT",CBS_OEMCONVERT},
{"CBS_OWNERDRAWFIXED",CBS_OWNERDRAWFIXED},
{"CBS_OWNERDRAWVARIABLE",CBS_OWNERDRAWVARIABLE},
{"CBS_SIMPLE",CBS_SIMPLE},
{"CBS_SORT",CBS_SORT},
{"CBS_UPPERCASE",CBS_UPPERCASE},
{"CBS_DISABLENOSCROLL",CBS_DISABLENOSCROLL},
{"WS_HSCROLL",WS_HSCROLL},
{"WS_VSCROLL",WS_VSCROLL}
};
/* The number of check buttons we have.
* Maybe some calculations at compile time would be better
*/
#define NUMBERCHECKS 17
#define NUMBERBUTTONS NUMBERCHECKS + 7
HWND Buttons[NUMBERBUTTONS];
HWND MessageButtons[MAXMESSAGEBUTTONS];
HWND Back1But,Back2But;
HWND NextBut;
HWND
CreateCheckButton(const char* lpWindowName, DWORD xSize, DWORD id)
{
HWND h;
h = CreateWindowEx(0,
"BUTTON",
lpWindowName,
WS_CHILD | WS_VISIBLE | BS_AUTOCHECKBOX,
xButPos, /* x */
yButPos, /* y */
xSize, /* nWidth */
20, /* nHeight */
g_hwnd,
(HMENU) id,
g_hInst,
NULL
);
yButPos += 21;
return h;
}
HWND
CreatePushButton(const char* lpWindowName, DWORD xSize, DWORD id,DWORD Style)
{
HWND h = CreateWindow("BUTTON",
lpWindowName,
WS_CHILD | BS_PUSHBUTTON | Style,
xButPos, /* x */
yButPos, /* y */
xSize, /* nWidth */
20, /* nHeight */
g_hwnd,
(HMENU) id,
g_hInst,
NULL
);
yButPos += 21;
return h;
}
VOID
ReadNHide()
{
int i;
ComboStyle = 0;
for (i=0 ; i< NUMBERCHECKS ; i++)
{
if(BST_CHECKED == SendMessage(Buttons[i],BM_GETCHECK,0,0))
ComboStyle |= Styles[i].Code;
ShowWindow(Buttons[i],SW_HIDE);
}
for (; i< NUMBERBUTTONS ; i++)ShowWindow(Buttons[i],SW_HIDE);
for (i=0 ; i< 26 ; i++) ShowWindow(MessageButtons[i],SW_SHOW);
ShowWindow(Back1But,SW_SHOW);
ShowWindow(NextBut,SW_SHOW);
}
VOID
ForwardToSecondPage()
{
int i;
for (i=0;i<26;i++)ShowWindow(MessageButtons[i],SW_HIDE);
for(;i<MAXMESSAGEBUTTONS;i++)ShowWindow(MessageButtons[i],SW_SHOW);
ShowWindow(Back2But,SW_SHOW);
ShowWindow(Back1But,SW_HIDE);
ShowWindow(NextBut,SW_HIDE);
}
VOID
BackToFirstPage()
{
int i;
for (i=0;i<26;i++)ShowWindow(MessageButtons[i],SW_SHOW);
for(;i<MAXMESSAGEBUTTONS;i++)ShowWindow(MessageButtons[i],SW_HIDE);
ShowWindow(Back2But,SW_HIDE);
ShowWindow(Back1But,SW_SHOW);
ShowWindow(NextBut,SW_SHOW);
}
VOID
BackToInitialPage()
{
int i;
DestroyWindow(hwndEdit);
for (i=0 ; i< NUMBERBUTTONS ; i++) {ShowWindow(Buttons[i],SW_SHOW);}
for (i=0;i<26;i++)ShowWindow(MessageButtons[i],SW_HIDE);
ShowWindow(Back1But,SW_HIDE);
ShowWindow(NextBut,SW_HIDE);
}
LRESULT
CALLBACK
WndProc ( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam )
{
int i;
switch ( msg )
{
case WM_CREATE:
g_hwnd = hwnd;
/* ---- Initial page ---- */
for (i = 0 ; i < 14 ; i++)
Buttons[i] = CreateCheckButton(Styles[i].Name,CHECKBUTWIDTH,500+i);
xButPos += CHECKBUTWIDTH + 10;
yButPos = 10;
for (; i < NUMBERCHECKS ; i++)
Buttons[i] = CreateCheckButton(Styles[i].Name,CHECKBUTWIDTH,500+i);
Buttons[i++] = CreatePushButton("Width +",70,100,WS_VISIBLE);
Buttons[i++] = CreatePushButton("Width -",70,101,WS_VISIBLE);
Buttons[i++] = CreatePushButton("Heigth +",70,102,WS_VISIBLE);
Buttons[i++] = CreatePushButton("Heigth -",70,103,WS_VISIBLE);
Buttons[i++] = CreatePushButton("CreateWindowA",CHECKBUTWIDTH,CREATEWINDOW_ID,WS_VISIBLE);
Buttons[i++] = CreatePushButton("CreateWindowExA",CHECKBUTWIDTH,CREATEWINDOWEX_ID,WS_VISIBLE);
Buttons[i++] = CreatePushButton("CreateWindowExW",CHECKBUTWIDTH,CREATEWINDOWW_ID,WS_VISIBLE);
/* ---- The 1st page of buttons ---- */
xButPos = 0;
yButPos = 10;
for (i = 0 ; i < 14 ; i++)
MessageButtons[i] = CreatePushButton(Msg[i].Text,CHECKBUTWIDTH,600+i,0);
xButPos += CHECKBUTWIDTH + 10;
yButPos = 10;
for (; i < 26 ; i++)
MessageButtons[i] = CreatePushButton(Msg[i].Text,CHECKBUTWIDTH,600+i,0);
Back1But = CreatePushButton("Back - destroys ComboBox",CHECKBUTWIDTH,INITPAGE_ID,0);
NextBut = CreatePushButton("Next",CHECKBUTWIDTH,SECONDPAGE_ID,0);
/* ---- The 2nd page of buttons ------*/
xButPos = 0;
yButPos = 10;
for (; i<40; i++)
MessageButtons[i] = CreatePushButton(Msg[i].Text,CHECKBUTWIDTH,600+i,0);
xButPos += CHECKBUTWIDTH + 10;
yButPos = 10;
for (; i < MAXMESSAGEBUTTONS ; i++)
MessageButtons[i] = CreatePushButton(Msg[i].Text,CHECKBUTWIDTH,600+i,0);
Back2But = CreatePushButton("Back",CHECKBUTWIDTH,BACKFIRSTPAGE_ID,0);
break;
case WM_COMMAND:
if (LOWORD(wParam) >= 600)
{
Msg[LOWORD(wParam)-600].Handler(hwndEdit,
Msg[LOWORD(wParam)-600].MsgCode,
Msg[LOWORD(wParam)-600].wParam,
Msg[LOWORD(wParam)-600].lParam);
break;
}
switch(LOWORD(wParam)){
case 100:
ControlWidth += 10;
break;
case 101:
ControlWidth -= 10;
break;
case 102:
ControlHeight += 10;
break;
case 103:
ControlHeight -= 10;
break;
case INITPAGE_ID:
BackToInitialPage();
break;
case SECONDPAGE_ID:
ForwardToSecondPage();
break;
case BACKFIRSTPAGE_ID:
BackToFirstPage();
break;
case CREATEWINDOW_ID:
ReadNHide();
srect.top = CONTROLPOSY + ControlHeight;
hwndEdit = CreateWindow(CONTROLCLASS,
NULL,
ComboStyle | WS_CHILD | WS_VISIBLE,
CONTROLPOSX,
CONTROLPOSY,
ControlWidth,
ControlHeight,
g_hwnd,
NULL,
g_hInst,
NULL);
break;
case CREATEWINDOWEX_ID:
ReadNHide();
srect.top = CONTROLPOSY + ControlHeight;
hwndEdit = CreateWindowEx(WS_EX_CLIENTEDGE,
CONTROLCLASS,
NULL,
ComboStyle | WS_CHILD | WS_VISIBLE ,
CONTROLPOSX,
CONTROLPOSY,
ControlWidth,
ControlHeight,
g_hwnd,
NULL,
g_hInst,
NULL);
break;
case CREATEWINDOWW_ID:
ReadNHide();
srect.top = CONTROLPOSY + ControlHeight;
hwndEdit = CreateWindowExW(WS_EX_CLIENTEDGE,
CONTROLCLASSW,
NULL,
ComboStyle | WS_CHILD | WS_VISIBLE ,
CONTROLPOSX,
CONTROLPOSY,
ControlWidth,
ControlHeight,
g_hwnd,
NULL,
g_hInst,
NULL);
break;
}
if (lParam == (LPARAM)hwndEdit)
switch(HIWORD(wParam))
{
case CBN_DROPDOWN:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_DROPDOWN notification",NOTIFYX,NOTIFYY,25,srect);
break;
case CBN_CLOSEUP:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_CLOSEUP notification",NOTIFYX,NOTIFYY,24,srect);
break;
case CBN_DBLCLK:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_DBLCLK notification",NOTIFYX,NOTIFYY,23,srect);
break;
case CBN_EDITCHANGE:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_EDITCHANGE notification",NOTIFYX,NOTIFYY,27,srect);
break;
case CBN_ERRSPACE:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_ERRSPACE notification",NOTIFYX,NOTIFYY,25,srect);
break;
case CBN_KILLFOCUS:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_KILLFOCUS notification",NOTIFYX,NOTIFYY,26,srect);
break;
case CBN_EDITUPDATE:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_EDITUPDATE notification",NOTIFYX,NOTIFYY,27,srect);
break;
case CBN_SELCHANGE:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_SELCHANGE notification",NOTIFYX,NOTIFYY,26,srect);
break;
case CBN_SELENDCANCEL:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_SELENDCANCEL notification",NOTIFYX,NOTIFYY,29,srect);
break;
case CBN_SETFOCUS:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_SETFOCUS notification",NOTIFYX,NOTIFYY,25,srect);
break;
case CBN_SELENDOK:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("CBN_SELENDOK notification",NOTIFYX,NOTIFYY,25,srect);
break;
}
return DefWindowProc ( hwnd, msg, wParam, lParam );
case WM_MEASUREITEM:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("WM_MEASUREITEM called",NOTIFYX,NOTIFYY,21,srect);
break;
case WM_COMPAREITEM:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("WM_COMPAREITEM called",NOTIFYX,NOTIFYY,21,srect);
break;
case WM_DRAWITEM:
ScrollWindow (hwnd, 0, SCROLLAMOUNT, &srect, &srect);
PrintTextXY("WM_DRAWITEM called",NOTIFYX,NOTIFYY,18,srect);
break;
case WM_SIZE :
return 0;
case WM_CLOSE:
DestroyWindow (g_hwnd);
return 0;
case WM_QUERYENDSESSION:
return 0;
case WM_DESTROY:
PostQuitMessage(0);
return 0;
}
return DefWindowProc ( hwnd, msg, wParam, lParam );
}
HWND
RegisterAndCreateWindow (HINSTANCE hInst,
const char* className,
const char* title)
{
WNDCLASSEX wc;
g_hInst = hInst;
wc.cbSize = sizeof (WNDCLASSEX);
wc.lpfnWndProc = WndProc; /* window procedure */
wc.hInstance = hInst; /* owner of the class */
wc.lpszClassName = className;
wc.hCursor = LoadCursor ( 0, (LPCTSTR)IDC_ARROW );
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
wc.style = CS_HREDRAW | CS_VREDRAW;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
wc.hIcon = 0;
wc.hIconSm = 0;
wc.lpszMenuName = 0;
if ( !RegisterClassEx ( &wc ) )
return NULL;
hwnd = CreateWindowEx (
0, /* dwStyleEx */
className, /* class name */
title, /* window title */
WS_OVERLAPPEDWINDOW, /* dwStyle */
1, /* x */
1, /* y */
WINDOWWIDTH, /* width */
WINDOWHEIGHT, /* height */
NULL, /* hwndParent */
NULL, /* hMenu */
hInst,
0
);
if (!hwnd) return NULL;
ShowWindow (hwnd, SW_SHOW);
UpdateWindow (hwnd);
return hwnd;
}
int
WINAPI
WinMain ( HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdParam, int cmdShow )
{
char className [] = "ComboBox Control Test";
MSG msg;
RegisterAndCreateWindow ( hInst, className, "ComboBox Control Test" );
while (GetMessage (&msg, NULL, 0, 0))
{
TranslateMessage (&msg);
DispatchMessage (&msg);
}
return (int)msg.wParam;
}

View File

@@ -0,0 +1,25 @@
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = combotst
TARGET_SDKLIBS = kernel32.a gdi32.a
TARGET_OBJECTS = \
combotst.o \
utils.o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,33 @@
/*
* Edit Control Test for ReactOS, quick n' dirty. There you go
* This source code is in the PUBLIC DOMAIN and has NO WARRANTY.
* by Waldo Alvarez Ca<43>izares <wac at ghost.matcom.uh.cu>, June 22, 2003.
*/
#include <windows.h>
static const char hexvals[] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
VOID htoa (unsigned int val, char *buf)
{
int i;
buf += 7;
for (i=0;i<8;i++)
{
*buf-- = hexvals[val & 0x0000000F];
val = val >> 4;
}
}
VOID strcpy_(char *dst, const char *src)
{
const char* p = src;
while ((*dst++ = *p++)) {}
}
VOID strcpyw_(wchar_t* dst,wchar_t* src)
{
const wchar_t* p = src;
while ((*dst++ = *p++)) {}
}

View File

@@ -0,0 +1,9 @@
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
VOID htoa (unsigned int, char *);
VOID strcpy_(char *, const char *);
VOID strcpyw_(wchar_t*,wchar_t*);
#ifdef __cplusplus
}
#endif

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,21 @@
# $Id: Makefile,v 1.8 2003/11/14 17:13:16 weiden Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = consume
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,31 @@
#include <stdio.h>
#include <string.h>
#include <windows.h>
#define SIZE (65*1024*1024)
ULONG x[SIZE / 4096];
int main()
{
int i;
PUCHAR BaseAddress;
BaseAddress = VirtualAlloc(NULL,
SIZE,
MEM_COMMIT,
PAGE_READONLY);
if (BaseAddress == NULL)
{
printf("Failed to allocate virtual memory");
return(1);
}
printf("BaseAddress %p\n", BaseAddress);
for (i = 0; i < (SIZE / 4096); i++)
{
printf("%.8x ", i*4096);
x[i] = BaseAddress[i*4096];
}
return(0);
}

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,21 @@
# $Id: Makefile,v 1.2 2003/11/14 17:13:16 weiden Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = copymove
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,303 @@
/*
* CopyFile, MoveFile and related routines test
*/
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
#include <windows.h>
static TCHAR
FindOtherDrive()
{
DWORD drives = GetLogicalDrives();
BOOL found = FALSE;
TCHAR drive;
TCHAR rootdir[] = _T( "?:\\" );
TCHAR currentdir[MAX_PATH + 1];
if (0 != GetCurrentDirectory(MAX_PATH + 1, currentdir)) {
for (drive = _T('A'); ! found && drive <= _T('Z'); drive++) {
if (0 != (drives & (1 << (drive - _T('A'))))&&
drive != _totupper(currentdir[0])) {
rootdir[0] = drive;
found = (DRIVE_FIXED == GetDriveType(rootdir));
}
}
}
return found ? drive - 1 : _T( ' ' );
}
static void
DeleteTestFile(LPCTSTR filename)
{
SetFileAttributes(filename, FILE_ATTRIBUTE_NORMAL);
DeleteFile(filename);
}
static void
CreateTestFile(LPCTSTR filename, DWORD attributes)
{
HANDLE file;
char buffer[4096];
DWORD wrote;
int c;
DeleteTestFile(filename);
file = CreateFile(filename,
GENERIC_READ | GENERIC_WRITE,
0,
NULL,
CREATE_ALWAYS,
0,
0);
if (INVALID_HANDLE_VALUE == file) {
fprintf(stderr, "CreateFile failed with code %lu\n", GetLastError());
exit(1);
}
for(c = 0; c < sizeof(buffer); c++) {
buffer[c] = (char) c;
}
if (! WriteFile(file, buffer, sizeof(buffer), &wrote, NULL)) {
fprintf(stderr, "WriteFile failed with code %lu\n", GetLastError());
exit(1);
}
CloseHandle(file);
if (! SetFileAttributes(filename, attributes)) {
fprintf(stderr, "SetFileAttributes failed with code %lu\n", GetLastError());
exit(1);
}
}
static void
DeleteTestDir(LPCTSTR dirname)
{
RemoveDirectory(dirname);
}
static void
CreateTestDir(LPCTSTR dirname)
{
if (! CreateDirectory(dirname, NULL)) {
fprintf(stderr, "CreateDirectory failed with code %lu\n", GetLastError());
exit(1);
}
}
static void
CheckTestFile(LPCTSTR filename, DWORD attributes)
{
HANDLE file;
char buffer[4096];
DWORD read;
int c;
DWORD diskattr;
file = CreateFile(filename,
GENERIC_READ,
0,
NULL,
OPEN_EXISTING,
0,
0);
if (INVALID_HANDLE_VALUE == file) {
fprintf(stderr, "CreateFile failed with code %lu\n", GetLastError());
exit(1);
}
if (! ReadFile(file, buffer, sizeof(buffer), &read, NULL)) {
fprintf(stderr, "ReadFile failed with code %lu\n", GetLastError());
exit(1);
}
if (read != sizeof(buffer)) {
fprintf(stderr, "Trying to read %u bytes but got %lu bytes\n", sizeof(buffer), read);
exit(1);
}
for(c = 0; c < sizeof(buffer); c++) {
if (buffer[c] != (char) c) {
fprintf(stderr, "File contents changed at position %u\n", c);
exit(1);
}
}
CloseHandle(file);
diskattr = GetFileAttributes(filename);
if (INVALID_FILE_ATTRIBUTES == diskattr) {
fprintf(stderr, "GetFileAttributes failed with code %lu\n", GetLastError());
exit(1);
}
if (diskattr != attributes) {
fprintf(stderr, "Attribute mismatch, expected 0x%08lx found 0x%08lx\n", attributes, diskattr);
exit(1);
}
}
int
main(int argc, char *argv[])
{
TCHAR otherdrive;
TCHAR otherfile[ ] = _T("?:\\other.dat");
otherdrive = FindOtherDrive();
printf("Testing simple move\n");
CreateTestFile(_T("begin.dat"), FILE_ATTRIBUTE_ARCHIVE);
DeleteTestFile(_T("end.dat"));
if (! MoveFile(_T("begin.dat"), _T("end.dat"))) {
fprintf(stderr, "MoveFile failed with code %lu\n", GetLastError());
exit(1);
}
CheckTestFile(_T("end.dat"), FILE_ATTRIBUTE_ARCHIVE);
DeleteTestFile(_T("end.dat"));
printf("Testing move of non-existing file\n");
DeleteTestFile(_T("begin.dat"));
DeleteTestFile(_T("end.dat"));
if (MoveFile(_T("begin.dat"), _T("end.dat"))) {
fprintf(stderr, "MoveFile succeeded but shouldn't have\n");
exit(1);
} else if (ERROR_FILE_NOT_FOUND != GetLastError()) {
fprintf(stderr, "MoveFile failed with unexpected code %lu\n", GetLastError());
exit(1);
}
DeleteTestFile(_T("end.dat"));
/* Not correctly implemented in ros, destination file is kept open after this */
#if 0
printf("Testing move to existing file\n");
CreateTestFile(_T("begin.dat"), FILE_ATTRIBUTE_ARCHIVE);
CreateTestFile(_T("end.dat"), FILE_ATTRIBUTE_ARCHIVE);
if (MoveFile(_T("begin.dat"), _T("end.dat"))) {
fprintf(stderr, "MoveFile succeeded but shouldn't have\n");
exit(1);
} else if (ERROR_ALREADY_EXISTS != GetLastError()) {
fprintf(stderr, "MoveFile failed with unexpected code %lu\n", GetLastError());
exit(1);
}
DeleteTestFile(_T("begin.dat"));
DeleteTestFile(_T("end.dat"));
#endif
/* Not implemented yet in ros */
#if 0
printf("Testing directory move\n");
CreateTestDir(_T("begin"));
CreateTestFile(_T("begin\\file.dat"), FILE_ATTRIBUTE_NORMAL);
DeleteTestDir(_T("end"));
if (! MoveFile(_T("begin"), _T("end"))) {
fprintf(stderr, "MoveFile failed with code %lu\n", GetLastError());
exit(1);
}
CheckTestFile(_T("end\\file.dat"), FILE_ATTRIBUTE_NORMAL);
DeleteTestFile(_T("end\\file.dat"));
DeleteTestDir(_T("end"));
#endif
printf("Testing file move to different directory\n");
CreateTestFile(_T("file.dat"), FILE_ATTRIBUTE_NORMAL);
CreateTestDir(_T("end"));
if (! MoveFile(_T("file.dat"), _T("end\\file.dat"))) {
fprintf(stderr, "MoveFile failed with code %lu\n", GetLastError());
exit(1);
}
CheckTestFile(_T("end\\file.dat"), FILE_ATTRIBUTE_ARCHIVE);
DeleteTestFile(_T("end\\file.dat"));
DeleteTestDir(_T("end"));
printf("Testing move of read-only file\n");
CreateTestFile(_T("begin.dat"), FILE_ATTRIBUTE_READONLY);
DeleteTestFile(_T("end.dat"));
if (! MoveFile(_T("begin.dat"), _T("end.dat"))) {
fprintf(stderr, "MoveFile failed with code %lu\n", GetLastError());
exit(1);
}
CheckTestFile(_T("end.dat"), FILE_ATTRIBUTE_ARCHIVE | FILE_ATTRIBUTE_READONLY);
DeleteTestFile(_T("end.dat"));
printf("Testing move to different drive\n");
if (_T(' ') != otherdrive) {
otherfile[0] = otherdrive;
CreateTestFile(_T("begin.dat"), FILE_ATTRIBUTE_ARCHIVE);
DeleteTestFile(otherfile);
if (! MoveFile(_T("begin.dat"), otherfile)) {
fprintf(stderr, "MoveFile failed with code %lu\n", GetLastError());
exit(1);
}
CheckTestFile(otherfile, FILE_ATTRIBUTE_ARCHIVE);
DeleteTestFile(otherfile);
} else {
printf(" Test skipped, no other drive available\n");
}
printf("Testing move/overwrite of existing file\n");
CreateTestFile(_T("begin.dat"), FILE_ATTRIBUTE_ARCHIVE);
CreateTestFile(_T("end.dat"), FILE_ATTRIBUTE_ARCHIVE);
if (! MoveFileEx(_T("begin.dat"), _T("end.dat"), MOVEFILE_REPLACE_EXISTING)) {
fprintf(stderr, "MoveFileEx failed with code %lu\n", GetLastError());
exit(1);
}
DeleteTestFile(_T("begin.dat"));
DeleteTestFile(_T("end.dat"));
/* Not (correctly) implemented in ros yet */
#if 0
printf("Testing move/overwrite of existing readonly file\n");
CreateTestFile(_T("begin.dat"), FILE_ATTRIBUTE_ARCHIVE);
CreateTestFile(_T("end.dat"), FILE_ATTRIBUTE_READONLY);
if (MoveFileEx(_T("begin.dat"), _T("end.dat"), MOVEFILE_REPLACE_EXISTING)) {
fprintf(stderr, "MoveFileEx succeeded but shouldn't have\n");
exit(1);
} else if (ERROR_ALREADY_EXISTS != GetLastError() &&
ERROR_ACCESS_DENIED != GetLastError()) {
fprintf(stderr, "MoveFileEx failed with unexpected code %lu\n", GetLastError());
exit(1);
}
DeleteTestFile(_T("begin.dat"));
DeleteTestFile(_T("end.dat"));
#endif
/* Not implemented in ros yet */
#if 0
printf("Testing move to different drive without COPY_ALLOWED\n");
if (_T(' ') != otherdrive) {
otherfile[0] = otherdrive;
CreateTestFile(_T("begin.dat"), FILE_ATTRIBUTE_ARCHIVE);
DeleteTestFile(otherfile);
if (MoveFileEx(_T("begin.dat"), otherfile, 0)) {
fprintf(stderr, "MoveFileEx succeeded but shouldn't have\n");
exit(1);
} else if (ERROR_NOT_SAME_DEVICE != GetLastError()) {
fprintf(stderr, "MoveFileEx failed with unexpected code %lu\n", GetLastError());
exit(1);
}
DeleteTestFile(otherfile);
} else {
printf(" Test skipped, no other drive available\n");
}
#endif
printf("Testing move to different drive with COPY_ALLOWED\n");
if (_T(' ') != otherdrive) {
otherfile[0] = otherdrive;
CreateTestFile(_T("begin.dat"), FILE_ATTRIBUTE_ARCHIVE);
DeleteTestFile(otherfile);
if (! MoveFileEx(_T("begin.dat"), otherfile, MOVEFILE_COPY_ALLOWED)) {
fprintf(stderr, "MoveFileEx failed with code %lu\n", GetLastError());
exit(1);
}
CheckTestFile(otherfile, FILE_ATTRIBUTE_ARCHIVE);
DeleteTestFile(otherfile);
} else {
printf(" Test skipped, no other drive available\n");
}
printf("All tests successfully completed\n");
return 0;
}

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,23 @@
# $Id: Makefile,v 1.7 2003/11/14 17:13:16 weiden Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = count
TARGET_SDKLIBS = kernel32.a user32.a
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,15 @@
/* $Id: count.c,v 1.2 2003/11/14 17:13:16 weiden Exp $
*
*/
#include <stdio.h>
int n = 0;
int
main (int argc, char * argv [])
{
while (1) printf ("%d ", n ++ );
return (0);
}
/* EOF */

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,25 @@
# $Id: Makefile,v 1.2 2004/08/18 02:16:00 navaraf Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = create-links
TARGET_SDKLIBS = kernel32.a gdi32.a ole32.a shell32.a shlwapi.a
TARGET_GCCLIBS = uuid
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror -D__USE_W32API -D_WIN32_IE=0x0400
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,97 @@
/*
compile via:
gcc -o create-links -D_WIN32_IE=0x400 create-links.c -lole32 -luuid -lshell32 -lshlwapi
Martin Fuchs, 27.12.2003
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <shlobj.h>
#include <objidl.h>
#include <shlwapi.h>
#include <stdio.h>
HRESULT CreateShellLink(LPCSTR linkPath, LPCSTR cmd, LPCSTR arg, LPCSTR dir, LPCSTR iconPath, int icon_nr, LPCSTR comment)
{
IShellLinkA* psl;
IPersistFile* ppf;
WCHAR buffer[MAX_PATH];
HRESULT hr = CoCreateInstance(&CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, &IID_IShellLink, (LPVOID*)&psl);
printf("creating shortcut file '%s' to %s...\n", linkPath, cmd);
if (SUCCEEDED(hr)) {
hr = psl->lpVtbl->SetPath(psl, cmd);
if (arg)
hr = psl->lpVtbl->SetArguments(psl, arg);
if (dir)
hr = psl->lpVtbl->SetWorkingDirectory(psl, dir);
if (iconPath)
hr = psl->lpVtbl->SetIconLocation(psl, iconPath, icon_nr);
if (comment)
hr = psl->lpVtbl->SetDescription(psl, comment);
hr = psl->lpVtbl->QueryInterface(psl, &IID_IPersistFile, (LPVOID*)&ppf);
if (SUCCEEDED(hr)) {
MultiByteToWideChar(CP_ACP, 0, linkPath, -1, buffer, MAX_PATH);
hr = ppf->lpVtbl->Save(ppf, buffer, TRUE);
ppf->lpVtbl->Release(ppf);
}
psl->lpVtbl->Release(psl);
}
if (SUCCEEDED(hr))
printf("OK\n\n");
else
printf("error %08x\n\n", (int) hr);
return hr;
}
int main()
{
char path[MAX_PATH];
LPSTR p;
CoInitialize(NULL);
/* create some shortcuts in the start menu "programs" folder */
SHGetSpecialFolderPathA(0, path, CSIDL_PROGRAMS, TRUE);
p = PathAddBackslash(path);
strcpy(p, "start-cmd.lnk");
CreateShellLink(path, "cmd.exe", "", NULL, NULL, 0, "open console window");
strcpy(p, "start-winhello.lnk");
CreateShellLink(path, "winhello.exe", "", NULL, NULL, 0, "launch winhello");
/* create some shortcuts on the desktop */
SHGetSpecialFolderPathA(0, path, CSIDL_DESKTOP, TRUE);
p = PathAddBackslash(path);
strcpy(p, "start-wcmd.lnk");
CreateShellLink(path, "cmd.exe", "", NULL, NULL, 0, "open console window");
strcpy(p, "start-winemine.lnk");
CreateShellLink(path, "winemine.exe", "", NULL, NULL, 0, "launch winemine");
CoUninitialize();
return 0;
}

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,196 @@
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#define CELL_SIZE 10
static RGBQUAD Colors[] =
{
{ 0x00, 0x00, 0x00, 0x00 }, // black
{ 0x00, 0x00, 0x80, 0x00 }, // red
{ 0x00, 0x80, 0x00, 0x00 }, // green
{ 0x00, 0x80, 0x80, 0x00 }, // brown
{ 0x80, 0x00, 0x00, 0x00 }, // blue
{ 0x80, 0x00, 0x80, 0x00 }, // magenta
{ 0x80, 0x80, 0x00, 0x00 }, // cyan
{ 0x80, 0x80, 0x80, 0x00 }, // dark gray
{ 0xc0, 0xc0, 0xc0, 0x00 }, // light gray
{ 0x00, 0x00, 0xFF, 0x00 }, // bright red
{ 0x00, 0xFF, 0x00, 0x00 }, // bright green
{ 0x00, 0xFF, 0xFF, 0x00 }, // bright yellow
{ 0xFF, 0x00, 0x00, 0x00 }, // bright blue
{ 0xFF, 0x00, 0xFF, 0x00 }, // bright magenta
{ 0xFF, 0xFF, 0x00, 0x00 }, // bright cyan
{ 0xFF, 0xFF, 0xFF, 0x00 } // bright white
};
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM);
int WINAPI
WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow)
{
WNDCLASS wc;
MSG msg;
HWND hWnd;
wc.lpszClassName = "DibTestClass";
wc.lpfnWndProc = MainWndProc;
wc.style = CS_VREDRAW | CS_HREDRAW;
wc.hInstance = hInstance;
wc.hIcon = LoadIcon(NULL, (LPCTSTR)IDI_APPLICATION);
wc.hCursor = LoadCursor(NULL, (LPCTSTR)IDC_ARROW);
wc.hbrBackground = (HBRUSH)GetStockObject(GRAY_BRUSH);
wc.lpszMenuName = NULL;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
if (RegisterClass(&wc) == 0)
{
fprintf(stderr, "RegisterClass failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
hWnd = CreateWindow("DibTestClass",
"DIB Test",
WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT,
CW_USEDEFAULT,
25 * CELL_SIZE + 5,
25 * CELL_SIZE + 20,
NULL,
NULL,
hInstance,
NULL);
if (hWnd == NULL)
{
fprintf(stderr, "CreateWindow failed (last error 0x%lX)\n",
GetLastError());
return(1);
}
ShowWindow(hWnd, nCmdShow);
while(GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return msg.wParam;
}
static void PaintCells(HDC WindowDC, WORD BitCount1, WORD BitCount2,
int XDest, int YDest)
{
HBRUSH Brush;
RECT Rect;
UINT row, col;
BITMAPINFO *BitmapInfo;
HBITMAP DIB1, DIB2;
HDC DC1, DC2;
BitmapInfo = malloc(sizeof(BITMAPINFO) + 15 * sizeof(RGBQUAD));
BitmapInfo->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
BitmapInfo->bmiHeader.biWidth = 4 * CELL_SIZE + 9;
BitmapInfo->bmiHeader.biHeight = -(4 * CELL_SIZE + 9); // it's top down (since BI_RGB is used, the sign is operative of direction)
BitmapInfo->bmiHeader.biPlanes = 1;
BitmapInfo->bmiHeader.biBitCount = BitCount1;
BitmapInfo->bmiHeader.biCompression = BI_RGB;
BitmapInfo->bmiHeader.biSizeImage = 0;
BitmapInfo->bmiHeader.biXPelsPerMeter = 0;
BitmapInfo->bmiHeader.biYPelsPerMeter = 0;
BitmapInfo->bmiHeader.biClrUsed = 16;
BitmapInfo->bmiHeader.biClrImportant = 16;
for (col = 0; col < 16; col++) {
BitmapInfo->bmiColors[col] = Colors[col];
}
DIB1 = CreateDIBSection(NULL, BitmapInfo, DIB_RGB_COLORS, NULL, NULL, 0);
DC1 = CreateCompatibleDC(NULL);
SelectObject(DC1, DIB1);
BitmapInfo->bmiHeader.biBitCount = BitCount2;
DIB2 = CreateDIBSection(NULL, BitmapInfo, DIB_RGB_COLORS, NULL, NULL, 0);
DC2 = CreateCompatibleDC(NULL);
SelectObject(DC2, DIB2);
free(BitmapInfo);
/* Now paint on the first bitmap */
for (row = 0; row < 4; row++)
{
for (col = 0; col < 4; col++)
{
Brush = CreateSolidBrush(RGB(Colors[4 * row + col].rgbRed,
Colors[4 * row + col].rgbGreen,
Colors[4 * row + col].rgbBlue));
Rect.left = CELL_SIZE * col + 5;
Rect.top = CELL_SIZE * row + 5;
Rect.right = Rect.left + CELL_SIZE;
Rect.bottom = Rect.top + CELL_SIZE;
FillRect(DC1, &Rect, Brush);
DeleteObject(Brush);
}
}
/* Copy the first bitmap to the second */
BitBlt(DC2, 4, 4, 4 * CELL_SIZE, 4 * CELL_SIZE, DC1, 5, 5, SRCCOPY);
/* Show results on screen */
BitBlt(WindowDC, XDest, YDest, 4 * CELL_SIZE, 4 * CELL_SIZE, DC2, 4, 4, SRCCOPY);
}
LRESULT CALLBACK MainWndProc(HWND Wnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
PAINTSTRUCT ps;
HDC WindowDC;
switch(msg)
{
case WM_PAINT:
WindowDC = BeginPaint(Wnd, &ps);
PaintCells(WindowDC, 4, 4, 0, 0);
PaintCells(WindowDC, 4, 8, 5 * CELL_SIZE, 0);
PaintCells(WindowDC, 4, 16, 10 * CELL_SIZE, 0);
PaintCells(WindowDC, 4, 24, 15 * CELL_SIZE, 0);
PaintCells(WindowDC, 4, 32, 20 * CELL_SIZE, 0);
PaintCells(WindowDC, 8, 4, 0, 5 * CELL_SIZE);
PaintCells(WindowDC, 8, 8, 5 * CELL_SIZE, 5 * CELL_SIZE);
PaintCells(WindowDC, 8, 16, 10 * CELL_SIZE, 5 * CELL_SIZE);
PaintCells(WindowDC, 8, 24, 15 * CELL_SIZE, 5 * CELL_SIZE);
PaintCells(WindowDC, 8, 32, 20 * CELL_SIZE, 5 * CELL_SIZE);
PaintCells(WindowDC, 16, 4, 0, 10 * CELL_SIZE);
PaintCells(WindowDC, 16, 8, 5 * CELL_SIZE, 10 * CELL_SIZE);
PaintCells(WindowDC, 16, 16, 10 * CELL_SIZE, 10 * CELL_SIZE);
PaintCells(WindowDC, 16, 24, 15 * CELL_SIZE, 10 * CELL_SIZE);
PaintCells(WindowDC, 16, 32, 20 * CELL_SIZE, 10 * CELL_SIZE);
PaintCells(WindowDC, 24, 4, 0, 15 * CELL_SIZE);
PaintCells(WindowDC, 24, 8, 5 * CELL_SIZE, 15 * CELL_SIZE);
PaintCells(WindowDC, 24, 16, 10 * CELL_SIZE, 15 * CELL_SIZE);
PaintCells(WindowDC, 24, 24, 15 * CELL_SIZE, 15 * CELL_SIZE);
PaintCells(WindowDC, 24, 32, 20 * CELL_SIZE, 15 * CELL_SIZE);
PaintCells(WindowDC, 32, 4, 0, 20 * CELL_SIZE);
PaintCells(WindowDC, 32, 8, 5 * CELL_SIZE, 20 * CELL_SIZE);
PaintCells(WindowDC, 32, 16, 10 * CELL_SIZE, 20 * CELL_SIZE);
PaintCells(WindowDC, 32, 24, 15 * CELL_SIZE, 20 * CELL_SIZE);
PaintCells(WindowDC, 32, 32, 20 * CELL_SIZE, 20 * CELL_SIZE);
EndPaint(Wnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(Wnd, msg, wParam, lParam);
}
return 0;
}

View File

@@ -0,0 +1,23 @@
# $Id: makefile,v 1.3 2003/11/14 17:13:16 weiden Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = dibtest
TARGET_SDKLIBS = kernel32.a gdi32.a
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,115 @@
#include <windows.h>
#include <string.h>
#include <stdio.h>
#include <io.h>
#include "resource.h"
static char selected[MAX_PATH + 1];
BOOL
CALLBACK
DlgMainProc(
HWND hwndDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam
)
{
char dir[MAX_PATH + 1];
switch(uMsg)
{
case WM_COMMAND:
{
switch(HIWORD(wParam))
{
case LBN_DBLCLK:
{
switch(LOWORD(wParam))
{
case IDC_DIRS:
{
if(DlgDirSelectEx(hwndDlg, dir, MAX_PATH, IDC_DIRS))
{
chdir(dir);
GetCurrentDirectory(MAX_PATH, dir);
DlgDirList(hwndDlg, dir, IDC_DIRS, IDC_DIREDIT, DDL_DIRECTORY | DDL_DRIVES);
}
else
{
SendMessage(hwndDlg, WM_COMMAND, MAKEWPARAM(IDC_OK, 0), 0);
}
break;
}
}
break;
}
default:
{
switch(LOWORD(wParam))
{
case IDC_OK:
{
char file[MAX_PATH + 1];
int len;
if(!DlgDirSelectEx(hwndDlg, file, MAX_PATH, IDC_DIRS))
{
GetCurrentDirectory(MAX_PATH, selected);
len = strlen(selected);
if(strlen(file))
{
if(selected[len - 1] != '\\')
{
lstrcat(selected, "\\");
}
lstrcat(selected, file);
EndDialog(hwndDlg, IDC_OK);
}
}
break;
}
case IDC_CANCEL:
{
EndDialog(hwndDlg, IDC_CANCEL);
break;
}
}
break;
}
}
break;
}
case WM_INITDIALOG:
{
SendDlgItemMessage(hwndDlg, IDC_DIRS, LB_SETCOLUMNWIDTH, 150, 0);
GetCurrentDirectory(MAX_PATH, dir);
DlgDirList(hwndDlg, dir, IDC_DIRS, IDC_DIREDIT, DDL_DIRECTORY | DDL_DRIVES);
SetFocus(GetDlgItem(hwndDlg, IDC_DIRS));
break;
}
case WM_CLOSE:
{
EndDialog(hwndDlg, IDC_CANCEL);
return TRUE;
}
}
return FALSE;
}
int WINAPI
WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow)
{
char str[MAX_PATH + 32];
if(DialogBox(hInstance, MAKEINTRESOURCE(IDD_MAIN), 0, DlgMainProc) == IDC_OK)
{
sprintf(str, "You selected \"%s\"", selected);
MessageBox(0, str, "Selected file", MB_ICONINFORMATION);
}
return 0;
}

View File

@@ -0,0 +1,14 @@
#include <defines.h>
#include <reactos/resource.h>
#include "resource.h"
IDD_MAIN DIALOG DISCARDABLE 20, 20, 220, 140
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
CAPTION "Select a file"
BEGIN
EDITTEXT IDC_DIREDIT, 5, 5, 210, 13, ES_READONLY | ES_LEFT | WS_CHILD | WS_VISIBLE | WS_TABSTOP
LISTBOX IDC_DIRS, 5, 23, 210, 92, LBS_NOTIFY | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_HSCROLL
PUSHBUTTON "&OK", IDC_OK, 60, 120, 40, 15, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Cancel", IDC_CANCEL, 120, 120, 40, 15, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

View File

@@ -0,0 +1,21 @@
PATH_TO_TOP = ../../..
TARGET_NORC = no
TARGET_TYPE = program
TARGET_APPTYPE = windows
TARGET_NAME = dirdlg
TARGET_SDKLIBS = ntdll.a kernel32.a gdi32.a
TARGET_OBJECTS = $(TARGET_NAME).o
TARGET_CFLAGS = -Wall -Werror
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# EOF

View File

@@ -0,0 +1,6 @@
#define IDD_MAIN 101
#define IDC_OK 1
#define IDC_CANCEL 2
#define IDC_DIRS 100
#define IDC_DIREDIT 101

View File

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

View File

@@ -0,0 +1,165 @@
/*
* Copyright (C) 2004 ReactOS Team
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS diskspeed.exe
* FILE: apps/tests/diskspeed/diskspeed.c
* PURPOSE: Determines disk transfer rates
* PROGRAMMER: Hartmut Birr
*/
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <ddk/ntddk.h>
#include <ddk/ntddscsi.h>
#include <ddk/scsi.h>
BOOL GetInquiryData(HANDLE hDevice, PINQUIRYDATA InquiryData)
{
BOOL Result;
DWORD dwReturned;
SCSI_ADDRESS ScsiAddress;
PSCSI_ADAPTER_BUS_INFO AdapterInfo;
PSCSI_INQUIRY_DATA InquiryBuffer;
BYTE Buffer[4096];
int i;
Result = DeviceIoControl(hDevice,
IOCTL_SCSI_GET_ADDRESS,
NULL,
0,
&ScsiAddress,
sizeof(ScsiAddress),
&dwReturned,
FALSE);
if (Result == FALSE)
{
return FALSE;
}
Result = DeviceIoControl(hDevice,
IOCTL_SCSI_GET_INQUIRY_DATA,
NULL,
0,
Buffer,
sizeof(Buffer),
&dwReturned,
FALSE);
if (Result)
{
AdapterInfo = (PSCSI_ADAPTER_BUS_INFO)Buffer;
for (i = 0; i < AdapterInfo->NumberOfBuses; i++)
{
InquiryBuffer = (PSCSI_INQUIRY_DATA) (Buffer + AdapterInfo->BusData[i].InquiryDataOffset);
if (AdapterInfo->BusData[i].InquiryDataOffset)
{
while (1)
{
if (InquiryBuffer->PathId == ScsiAddress.PathId &&
InquiryBuffer->TargetId == ScsiAddress.TargetId &&
InquiryBuffer->Lun == ScsiAddress.Lun)
{
memcpy(InquiryData, InquiryBuffer->InquiryData, sizeof(INQUIRYDATA));
return TRUE;
}
if (InquiryBuffer->NextInquiryDataOffset == 0)
{
break;
}
InquiryBuffer = (PSCSI_INQUIRY_DATA) (Buffer + InquiryBuffer->NextInquiryDataOffset);
}
}
}
}
return FALSE;
}
int main(void)
{
HANDLE hDevice;
OVERLAPPED ov;
PBYTE Buffer;
DWORD Start;
DWORD dwReturned;
DWORD dwReadTotal;
DWORD Size;
BOOL Result;
ULONG Drive;
CHAR Name[20];
INQUIRYDATA InquiryData;
Drive = 0;
while (1)
{
sprintf(Name, "\\\\.\\PHYSICALDRIVE%ld", Drive);
hDevice = CreateFile(Name,
GENERIC_READ,
FILE_SHARE_READ,
NULL,
OPEN_EXISTING,
0,
NULL);
if (hDevice == INVALID_HANDLE_VALUE)
{
if (Drive > 0)
{
VirtualFree(Buffer, 512 * 1024, MEM_RELEASE);
}
else
{
printf("Cannot open '%s'\n", Name);
}
break;
}
if (Drive == 0)
{
printf("Transfer Size (kB) 1 2 4 8 16 32 64 128 256\n");
printf("Transfer Rate (MB/s)\n");
printf("-------------------------------------------------------------------------------\n");
Buffer = VirtualAlloc(NULL, 512 * 1024, MEM_COMMIT, PAGE_READWRITE);
}
Result = GetInquiryData(hDevice, &InquiryData);
if (Result)
{
printf("%.24s ", InquiryData.VendorId);
}
else
{
printf("Disk %ld ", Drive + 1);
}
Size = 1024;
memset(&ov, 0, sizeof(OVERLAPPED));
while (Size <= 256 * 1024)
{
memset(Buffer, 0, Size);
dwReadTotal = 0;
Start = GetTickCount() + 2000;
while (Start > GetTickCount())
{
Result = ReadFile(hDevice, Buffer, Size, &dwReturned, &ov);
if (Result)
{
dwReadTotal += dwReturned;
ov.Offset += dwReturned;
}
}
dwReadTotal /= 2048;
printf("%3ld.%ld ", dwReadTotal / 1024, (dwReadTotal % 1024) * 10 / 1024);
Size *= 2;
}
printf("\n");
CloseHandle(hDevice);
Drive++;
}
printf("\n");
return 0;
}

View File

@@ -0,0 +1,23 @@
# $Id: makefile,v 1.1 2004/03/07 20:12:13 hbirr Exp $
PATH_TO_TOP = ../../..
TARGET_NORC = yes
TARGET_TYPE = program
TARGET_APPTYPE = console
TARGET_NAME = diskspeed
TARGET_SDKLIBS = 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

@@ -0,0 +1,6 @@
*.o
*.d
*.exe
*.coff
*.sym
*.map

Some files were not shown because too many files have changed in this diff Show More