Filip Navara [Wed, 25 Aug 2004 15:04:19 +0000 (15:04 +0000)]
- Do not depend on paths returned by FileNameInformation requests to be NULL terminated.
svn path=/trunk/; revision=10677
Filip Navara [Wed, 25 Aug 2004 15:01:48 +0000 (15:01 +0000)]
- Fix masking out the write flags in IoCheckShareAccess and IoSetShareAccess.
svn path=/trunk/; revision=10676
Gregor Anich [Wed, 25 Aug 2004 12:43:28 +0000 (12:43 +0000)]
Mesa version 6.1 import - Forgot the new Makefile/def file
svn path=/trunk/; revision=10675
Gregor Anich [Wed, 25 Aug 2004 12:35:24 +0000 (12:35 +0000)]
Mesa version 6.1 import.
svn path=/trunk/; revision=10674
Hartmut Birr [Wed, 25 Aug 2004 10:37:14 +0000 (10:37 +0000)]
- Fixed the back-space-handling in ConioWriteConsole.
svn path=/trunk/; revision=10673
Filip Navara [Tue, 24 Aug 2004 18:27:53 +0000 (18:27 +0000)]
Fix compilation with GCC 3.4.x
svn path=/trunk/; revision=10672
Filip Navara [Tue, 24 Aug 2004 17:36:15 +0000 (17:36 +0000)]
- Add definition of LOCALE_IDEFAULTMACCODEPAGE.
svn path=/trunk/; revision=10671
Filip Navara [Tue, 24 Aug 2004 17:29:00 +0000 (17:29 +0000)]
- Load also the last font file in the font directory.
svn path=/trunk/; revision=10670
Filip Navara [Tue, 24 Aug 2004 17:25:17 +0000 (17:25 +0000)]
- 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
Filip Navara [Tue, 24 Aug 2004 17:21:12 +0000 (17:21 +0000)]
- Implementation of GetCPFileNameFromRegistry, GetNlsSectionName and IsValidCodePage.
- Partial implementation of MultiByteToWideChar and WideCharToMultiByte.
- Cleanup buffer allocation in some console functions.
svn path=/trunk/; revision=10668
Filip Navara [Tue, 24 Aug 2004 17:15:42 +0000 (17:15 +0000)]
- Fix Get[System/Window]Directory[AW] for Buffer == NULL case.
- Fix return value of GetDriveType[AW].
svn path=/trunk/; revision=10667
Filip Navara [Tue, 24 Aug 2004 17:08:18 +0000 (17:08 +0000)]
- Remove dereferencing non-referenced FileObject in error cases.
svn path=/trunk/; revision=10666
Filip Navara [Tue, 24 Aug 2004 17:07:27 +0000 (17:07 +0000)]
- Fix NtQueryDirectoryObject for empty directories.
svn path=/trunk/; revision=10665
Gé van Geldorp [Tue, 24 Aug 2004 09:43:33 +0000 (09:43 +0000)]
Add shutdown registry entries
svn path=/trunk/; revision=10664
Hartmut Birr [Mon, 23 Aug 2004 22:29:43 +0000 (22:29 +0000)]
- 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
Gé van Geldorp [Mon, 23 Aug 2004 21:16:26 +0000 (21:16 +0000)]
Implement ConvertSidToStringSidA/w
svn path=/trunk/; revision=10662
James Tabor [Mon, 23 Aug 2004 14:28:29 +0000 (14:28 +0000)]
Fixed import unicode names from remote processes.
svn path=/trunk/; revision=10661
Hartmut Birr [Sun, 22 Aug 2004 21:06:36 +0000 (21:06 +0000)]
- Enabled the declaration of DbgPrint because they is used in DPRINT and CHECKPOINT macros.
svn path=/trunk/; revision=10660
Hartmut Birr [Sun, 22 Aug 2004 20:55:15 +0000 (20:55 +0000)]
- 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
Filip Navara [Sun, 22 Aug 2004 20:52:28 +0000 (20:52 +0000)]
- Implement ReadConsoleInputW, PeekConsoleInputW, ReadConsoleOutputW, WriteConsoleOutputW, SetConsoleIcon and GetConsoleWindow.
- Fix input peeking in CSRSS to not return fake events.
svn path=/trunk/; revision=10658
Filip Navara [Sun, 22 Aug 2004 20:51:57 +0000 (20:51 +0000)]
- More complete implementation of CharUpperA.
svn path=/trunk/; revision=10657
Filip Navara [Sun, 22 Aug 2004 20:51:43 +0000 (20:51 +0000)]
- Implement NtNotifyChangeDirectoryFile.
- Honour ApcRoutine and ApcContext parameters of NtQueryDirectoryFile.
svn path=/trunk/; revision=10656
Hartmut Birr [Sun, 22 Aug 2004 20:47:20 +0000 (20:47 +0000)]
- Fixed the compilation as unicode.
svn path=/trunk/; revision=10655
Hartmut Birr [Sun, 22 Aug 2004 20:37:05 +0000 (20:37 +0000)]
- Added '-Werror' to the compiler options.
svn path=/trunk/; revision=10654
Hartmut Birr [Sun, 22 Aug 2004 20:32:32 +0000 (20:32 +0000)]
- Fixed some 'dereferencing type-punned pointer will break strict-aliasing rules'
warnings on higher optimisation levels.
svn path=/trunk/; revision=10653
Hartmut Birr [Sun, 22 Aug 2004 20:13:44 +0000 (20:13 +0000)]
- Fixed some pointer increments/decrements.
svn path=/trunk/; revision=10652
Mike Nordell [Sun, 22 Aug 2004 18:49:11 +0000 (18:49 +0000)]
Safety added to trace output.
svn path=/trunk/; revision=10651
Art Yerkes [Sun, 22 Aug 2004 18:42:42 +0000 (18:42 +0000)]
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
Art Yerkes [Sun, 22 Aug 2004 02:15:57 +0000 (02:15 +0000)]
Fixed missing unlock in write.
svn path=/trunk/; revision=10649
Mike Nordell [Sat, 21 Aug 2004 21:20:08 +0000 (21:20 +0000)]
Fix misplaced STDCALL
svn path=/trunk/; revision=10648
Mike Nordell [Sat, 21 Aug 2004 21:14:59 +0000 (21:14 +0000)]
Make inline assembler compilable using VC
svn path=/trunk/; revision=10647
Mike Nordell [Sat, 21 Aug 2004 21:13:45 +0000 (21:13 +0000)]
Wrong path in comment.
svn path=/trunk/; revision=10646
Mike Nordell [Sat, 21 Aug 2004 21:09:39 +0000 (21:09 +0000)]
Fix misplaced STDCALL
svn path=/trunk/; revision=10645
Mike Nordell [Sat, 21 Aug 2004 20:55:41 +0000 (20:55 +0000)]
Fix misplaced STDCALL
svn path=/trunk/; revision=10644
Mike Nordell [Sat, 21 Aug 2004 20:47:28 +0000 (20:47 +0000)]
Fix arithmetics on void.
svn path=/trunk/; revision=10643
Mike Nordell [Sat, 21 Aug 2004 20:42:10 +0000 (20:42 +0000)]
Fix arithmetics on void.
svn path=/trunk/; revision=10642
Mike Nordell [Sat, 21 Aug 2004 20:40:27 +0000 (20:40 +0000)]
Fix misplaced STDCALL calling convention specifiers.
svn path=/trunk/; revision=10641
Mike Nordell [Sat, 21 Aug 2004 20:18:07 +0000 (20:18 +0000)]
Fix import/export linkage mismatches.
svn path=/trunk/; revision=10640
Mike Nordell [Sat, 21 Aug 2004 20:05:35 +0000 (20:05 +0000)]
Make code portable to compilers with SEH.
svn path=/trunk/; revision=10639
Art Yerkes [Sat, 21 Aug 2004 19:59:52 +0000 (19:59 +0000)]
Fixed eols for pp directives, honor original eols.
svn path=/trunk/; revision=10638
Gé van Geldorp [Sat, 21 Aug 2004 19:50:39 +0000 (19:50 +0000)]
Implement EnumDesktopsA/W and EnumWindowStationsA, rewrite of
EnumWindowStationsW
svn path=/trunk/; revision=10637
Art Yerkes [Sat, 21 Aug 2004 19:49:22 +0000 (19:49 +0000)]
Respect line breaks in the original code, making it easier to compare.
svn path=/trunk/; revision=10636
Hartmut Birr [Sat, 21 Aug 2004 19:30:12 +0000 (19:30 +0000)]
- Made the partition list movable if it is necessary.
svn path=/trunk/; revision=10635
Hartmut Birr [Sat, 21 Aug 2004 19:13:22 +0000 (19:13 +0000)]
- Check for a valid layout buffer entry in xHalIoAssignDriveLetters.
svn path=/trunk/; revision=10634
Mike Nordell [Sat, 21 Aug 2004 19:04:47 +0000 (19:04 +0000)]
Linkage specification correctly placed.
svn path=/trunk/; revision=10633
Mike Nordell [Sat, 21 Aug 2004 19:03:04 +0000 (19:03 +0000)]
Make the code legal C (89)
svn path=/trunk/; revision=10632
Mike Nordell [Sat, 21 Aug 2004 18:45:01 +0000 (18:45 +0000)]
fix import/export linkage for declaration of MmSystemRangeStart
svn path=/trunk/; revision=10631
Mike Nordell [Sat, 21 Aug 2004 15:34:32 +0000 (15:34 +0000)]
fix misplaced STDCALL
svn path=/trunk/; revision=10630
Mike Nordell [Sat, 21 Aug 2004 15:29:08 +0000 (15:29 +0000)]
stop wasting power at shutdown
svn path=/trunk/; revision=10629
Mike Nordell [Sat, 21 Aug 2004 13:21:44 +0000 (13:21 +0000)]
make code C89-compilable again
svn path=/trunk/; revision=10628
Mike Nordell [Sat, 21 Aug 2004 13:20:25 +0000 (13:20 +0000)]
fix definition of EVENT_TRACE_HEADER
svn path=/trunk/; revision=10627
Mike Nordell [Sat, 21 Aug 2004 12:34:58 +0000 (12:34 +0000)]
fix placement of STDCALL for function declarations
svn path=/trunk/; revision=10626
Mike Nordell [Sat, 21 Aug 2004 12:12:35 +0000 (12:12 +0000)]
fix placement of STDCALL for function declarations
svn path=/trunk/; revision=10625
Filip Navara [Sat, 21 Aug 2004 02:22:45 +0000 (02:22 +0000)]
- Maintain higher internal precision during font rendering.
- Honour bitmap->bitmap_left while rendering.
svn path=/trunk/; revision=10624
Filip Navara [Fri, 20 Aug 2004 23:46:21 +0000 (23:46 +0000)]
Minor optimalization to handle allocation algorithm.
svn path=/trunk/; revision=10623
Gé van Geldorp [Fri, 20 Aug 2004 22:38:49 +0000 (22:38 +0000)]
Implement NtUserBuildNamesList()
svn path=/trunk/; revision=10622
Gé van Geldorp [Fri, 20 Aug 2004 22:38:10 +0000 (22:38 +0000)]
Use MmCopyFrom/ToCaller to transfer data in NtQueryDirectoryObject, also
lock list when traversing it
svn path=/trunk/; revision=10621
Filip Navara [Fri, 20 Aug 2004 21:23:49 +0000 (21:23 +0000)]
- NtQuerySection should check for SECTION_QUERY access right and not SECTION_MAP_READ.
- Fix prototype of NtExtendSection.
svn path=/trunk/; revision=10620
Art Yerkes [Fri, 20 Aug 2004 16:26:10 +0000 (16:26 +0000)]
Removed ASSERT_KM macro. It's not used any longer.
svn path=/trunk/; revision=10619
Filip Navara [Fri, 20 Aug 2004 15:19:38 +0000 (15:19 +0000)]
Fix few compiler/linker warnings.
svn path=/trunk/; revision=10618
Eric Kohl [Fri, 20 Aug 2004 13:33:51 +0000 (13:33 +0000)]
- Provide better PCI device descriptions.
- Use public macros to analyze the PCI configuration space.
svn path=/trunk/; revision=10617
Eric Kohl [Fri, 20 Aug 2004 13:29:14 +0000 (13:29 +0000)]
Define more PCI device subclasses.
svn path=/trunk/; revision=10616
Magnus Olsen [Fri, 20 Aug 2004 09:44:20 +0000 (09:44 +0000)]
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
Gé van Geldorp [Fri, 20 Aug 2004 07:02:09 +0000 (07:02 +0000)]
Don't export all make variables by default
Based on work by Hartmut Birr
svn path=/trunk/; revision=10614
Gé van Geldorp [Fri, 20 Aug 2004 06:58:58 +0000 (06:58 +0000)]
Older binutils don't like the -noname attribute
on forwarded exports
svn path=/trunk/; revision=10613
Filip Navara [Fri, 20 Aug 2004 00:57:55 +0000 (00:57 +0000)]
Fix compiler warnings.
svn path=/trunk/; revision=10612
Filip Navara [Fri, 20 Aug 2004 00:57:42 +0000 (00:57 +0000)]
Remove definitions already present in W32API.
svn path=/trunk/; revision=10611
Filip Navara [Fri, 20 Aug 2004 00:57:41 +0000 (00:57 +0000)]
Fix syntax errors in .edf file.
svn path=/trunk/; revision=10610
Casper Hornstrup [Thu, 19 Aug 2004 23:11:41 +0000 (23:11 +0000)]
2004-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Fix ntoskrnl dependency problem.
svn path=/trunk/; revision=10609
Hartmut Birr [Thu, 19 Aug 2004 22:17:47 +0000 (22:17 +0000)]
- Changed the sequence of some memory initialisation functions.
svn path=/trunk/; revision=10608
Hartmut Birr [Thu, 19 Aug 2004 22:14:31 +0000 (22:14 +0000)]
- 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
Hartmut Birr [Thu, 19 Aug 2004 21:56:17 +0000 (21:56 +0000)]
- 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
Art Yerkes [Thu, 19 Aug 2004 21:53:43 +0000 (21:53 +0000)]
More notes on oskit. braindumping.
svn path=/trunk/; revision=10605
Hartmut Birr [Thu, 19 Aug 2004 21:51:06 +0000 (21:51 +0000)]
- Set the pde's for the kernel stack at thread creation time and not at any task switch.
svn path=/trunk/; revision=10604
Hartmut Birr [Thu, 19 Aug 2004 21:47:51 +0000 (21:47 +0000)]
- 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
Eric Kohl [Thu, 19 Aug 2004 21:42:44 +0000 (21:42 +0000)]
Define PCI subclasses and macros.
svn path=/trunk/; revision=10602
Art Yerkes [Thu, 19 Aug 2004 21:39:00 +0000 (21:39 +0000)]
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
Filip Navara [Thu, 19 Aug 2004 18:16:39 +0000 (18:16 +0000)]
- 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
Filip Navara [Thu, 19 Aug 2004 18:12:29 +0000 (18:12 +0000)]
Remove some unused headers or parts of headers.
svn path=/trunk/; revision=10599
Filip Navara [Thu, 19 Aug 2004 18:08:47 +0000 (18:08 +0000)]
Fix syntax error in .def file.
svn path=/trunk/; revision=10598
Casper Hornstrup [Thu, 19 Aug 2004 00:48:18 +0000 (00:48 +0000)]
2004-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* regtests/shared/regtests.c: Mark test name with |.
svn path=/trunk/; revision=10597
Casper Hornstrup [Thu, 19 Aug 2004 00:39:59 +0000 (00:39 +0000)]
2004-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Depend on roscfg.h.
svn path=/trunk/; revision=10596
Casper Hornstrup [Thu, 19 Aug 2004 00:35:15 +0000 (00:35 +0000)]
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
Eric Kohl [Wed, 18 Aug 2004 22:11:15 +0000 (22:11 +0000)]
Report the correct resource flags.
svn path=/trunk/; revision=10594
Eric Kohl [Wed, 18 Aug 2004 22:06:55 +0000 (22:06 +0000)]
Update resource-related defines.
svn path=/trunk/; revision=10593
Filip Navara [Wed, 18 Aug 2004 20:41:03 +0000 (20:41 +0000)]
Replace 0x7ffeffff by MmHighestUserAddress.
svn path=/trunk/; revision=10592
Gé van Geldorp [Wed, 18 Aug 2004 20:25:11 +0000 (20:25 +0000)]
Update to FreeType 2.1.9
svn path=/trunk/; revision=10591
Filip Navara [Wed, 18 Aug 2004 15:09:02 +0000 (15:09 +0000)]
- Copy over device object SectorSize and AlignmentRequirement in IoAttachDeviceToDeviceStack.
svn path=/trunk/; revision=10590
Eric Kohl [Wed, 18 Aug 2004 08:33:25 +0000 (08:33 +0000)]
Don't retrieve a resource list when a device gets started, use the device nodes resource list.
svn path=/trunk/; revision=10589
Eric Kohl [Wed, 18 Aug 2004 08:25:58 +0000 (08:25 +0000)]
Fix IRP_MN_QUERY_RESOURCES and implement IRP_MN_QUERY_RESOURCE_REQUIREMENTS.
svn path=/trunk/; revision=10588
Filip Navara [Wed, 18 Aug 2004 02:32:00 +0000 (02:32 +0000)]
- Fix FsRtlDoesNameContainWildCards loop to take into account the first and lst letter of the expression.
- Dumb implementation of FsRtlIsNameInExpression.
svn path=/trunk/; revision=10587
Filip Navara [Wed, 18 Aug 2004 02:29:37 +0000 (02:29 +0000)]
- 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
Filip Navara [Wed, 18 Aug 2004 02:24:02 +0000 (02:24 +0000)]
- 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
Filip Navara [Wed, 18 Aug 2004 02:21:53 +0000 (02:21 +0000)]
- Set StackPtr->Parameters.Read.Length in IoPageRead.
- Set StackPtr->Parameters.Write.Length in Io[Synchronous]PageWrite.
svn path=/trunk/; revision=10584
Filip Navara [Wed, 18 Aug 2004 02:20:00 +0000 (02:20 +0000)]
Print in the debug traces if a partition is recognized or not.
svn path=/trunk/; revision=10583
Filip Navara [Wed, 18 Aug 2004 02:16:00 +0000 (02:16 +0000)]
Link to our SDK libraries instead of using the W32API ones.
svn path=/trunk/; revision=10582
Filip Navara [Wed, 18 Aug 2004 02:13:27 +0000 (02:13 +0000)]
Fix declaration of FILE_DISPOSITION_INFORMATION.
svn path=/trunk/; revision=10581
Thomas Bluemel [Tue, 17 Aug 2004 21:52:17 +0000 (21:52 +0000)]
remove debug output
svn path=/trunk/; revision=10580
Thomas Bluemel [Tue, 17 Aug 2004 21:49:51 +0000 (21:49 +0000)]
load the wallpaper on startup and set it
svn path=/trunk/; revision=10579
Thomas Bluemel [Tue, 17 Aug 2004 21:47:36 +0000 (21:47 +0000)]
added very basic support for desktop wallpapers
svn path=/trunk/; revision=10578