reactos.git
13 years ago- Allow multiple combination of style flags for usetup translations
Marc Piulachs [Wed, 19 Mar 2008 04:43:40 +0000 (04:43 +0000)]
- Allow multiple combination of style flags for usetup translations
- Added right & center text align , no more space counting :). All localization can now share X,Y cordinates

Note: only the en-US localization currently takes advantage of it , other localizations should be updated

svn path=/trunk/; revision=32722

13 years ago- Rename GDIOBJ_AllocObj to GDIOBJ_allocObjWithHandle and make it return a pointer...
Timo Kreuzer [Wed, 19 Mar 2008 00:56:40 +0000 (00:56 +0000)]
- Rename GDIOBJ_AllocObj to GDIOBJ_allocObjWithHandle and make it return a pointer to a locked object.c
- Implement GDIOBJ_AllocObjDepricated as a wrapper for those functions that currently still need the old way of allocation. Will be gone soon
- Implement GDIOBJ_AllocObj that only allocates a memory object without a handle
- Rename GDIOBJ_FreeObject to GDIOBJ_FreeObjByHandle
- Implement GDIOBJ_FreeObj that only frees the memory object
- Rename all XXX_Alloc and XXX_Free functions accordingly
- Fix NtGdiCreateClientObject and NtGdiDeleteClientObject
- Reformat TextIntCreateFontIndirect
- NtGdiHfontCreate: reformat and MmCopyFromCaller -> SEH

svn path=/trunk/; revision=32721

13 years agoAdd GDILoObjType enum to ntgdityp.h
Timo Kreuzer [Wed, 19 Mar 2008 00:33:11 +0000 (00:33 +0000)]
Add GDILoObjType enum to ntgdityp.h

svn path=/trunk/; revision=32720

13 years agoFix indentation
Hervé Poussineau [Tue, 18 Mar 2008 12:28:33 +0000 (12:28 +0000)]
Fix indentation

svn path=/trunk/; revision=32719

13 years ago- Simplify the code for connecting the interrupts.
Colin Finck [Tue, 18 Mar 2008 12:00:29 +0000 (12:00 +0000)]
- Simplify the code for connecting the interrupts.
  Don't use three code pathes (keyboard; mouse; keyboard & mouse) anymore and don't check again in EnableInterrupts(), which devices are present.
  Instead prepare the flags for i8042ChangeMode() already in StartProcedure() and pass them later.
- Constify the result of CTRL_SELF_TEST (0x55) as KBD_SELF_TEST_OK.
- Add a bug number as a reference for the system flag setting.

svn path=/trunk/; revision=32718

13 years agoBug 3136: Italian translation update by Paolo Devoti (devotip@tiscali.it)
Daniel Reimer [Tue, 18 Mar 2008 11:47:03 +0000 (11:47 +0000)]
Bug 3136: Italian translation update by Paolo Devoti (devotip@tiscali.it)

svn path=/trunk/; revision=32717

13 years agoBug 3136: Italian translation update by Paolo Devoti (devotip@tiscali.it)
Daniel Reimer [Tue, 18 Mar 2008 11:46:03 +0000 (11:46 +0000)]
Bug 3136: Italian translation update by Paolo Devoti (devotip@tiscali.it)

svn path=/trunk/; revision=32716

13 years agoRevert r32706, unfortunately this wasn't the problem (according to reports from two...
Colin Finck [Tue, 18 Mar 2008 09:14:38 +0000 (09:14 +0000)]
Revert r32706, unfortunately this wasn't the problem (according to reports from two users)

svn path=/trunk/; revision=32715

13 years agoMake my update sound better
Daniel Reimer [Mon, 17 Mar 2008 22:51:09 +0000 (22:51 +0000)]
Make my update sound better

svn path=/trunk/; revision=32714

13 years ago- Set the BaseObject.hHmgr field in GDIOBJ_AllocObj
Timo Kreuzer [Mon, 17 Mar 2008 22:17:48 +0000 (22:17 +0000)]
- Set the BaseObject.hHmgr field in GDIOBJ_AllocObj
- rename RGNDATA_ functions to REGION_ to have a consistent naming.
- move REGION prototypes to region.h
- rename REGION_AllocRgn to REGION_AllocRgnWithHandle and make it return a pointer to a locked region.
- rename UnsafeIntGetRgnBox to REGION_GetRgnBox
- rename UnsafeIntRectInRegion to REGION_RectInRegion
- remove UnsafeIntUnionRectWithRgn maco
- implement REGION_SetRectRgn and call it from NtGdiSetRectRgn
- reorder some parameters
- remove REGION_CropRgn, use REGION_CropAndOffsetRegion instead
- Implement UserShowCursor based on the code from NtUserCallOneParam and call it from inside the switch statement.

svn path=/trunk/; revision=32713

13 years agoUpdated Polish and German RC File of shell32.
Daniel Reimer [Mon, 17 Mar 2008 17:40:52 +0000 (17:40 +0000)]
Updated Polish and German RC File of shell32.
Polish Part done by Olaf Siejka

svn path=/trunk/; revision=32712

13 years agoReplace .def files by .spec files
Hervé Poussineau [Mon, 17 Mar 2008 12:57:17 +0000 (12:57 +0000)]
Replace .def files by .spec files

svn path=/trunk/; revision=32711

13 years agoReplace .def files by .spec files
Hervé Poussineau [Mon, 17 Mar 2008 12:44:23 +0000 (12:44 +0000)]
Replace .def files by .spec files

svn path=/trunk/; revision=32710

13 years agoRemove $(INIT) variable, which was containing all host tools
Hervé Poussineau [Mon, 17 Mar 2008 12:26:23 +0000 (12:26 +0000)]
Remove $(INIT) variable, which was containing all host tools
Now, each rule depends only of required tools
See issue #3131 for more details.

svn path=/trunk/; revision=32709

13 years ago- MAINTENANCE: Fix inconsistent new lines.
Aleksey Bragin [Mon, 17 Mar 2008 11:02:00 +0000 (11:02 +0000)]
- MAINTENANCE: Fix inconsistent new lines.

svn path=/trunk/; revision=32708

13 years ago- MAINTENANCE: Fix inconsistent new lines.
Aleksey Bragin [Mon, 17 Mar 2008 10:59:18 +0000 (10:59 +0000)]
- MAINTENANCE: Fix inconsistent new lines.

svn path=/trunk/; revision=32707

13 years agoDon't fail if CCB_SYSTEM_FLAG can't be set
Hervé Poussineau [Mon, 17 Mar 2008 10:30:58 +0000 (10:30 +0000)]
Don't fail if CCB_SYSTEM_FLAG can't be set

svn path=/trunk/; revision=32706

13 years agoRemove some more circular dependencies.
Hervé Poussineau [Mon, 17 Mar 2008 10:29:43 +0000 (10:29 +0000)]
Remove some more circular dependencies.
May fix bug 3131

svn path=/trunk/; revision=32705

13 years ago- fix compilation with msvc
Johannes Anderwald [Sun, 16 Mar 2008 19:19:26 +0000 (19:19 +0000)]
- fix compilation with msvc

svn path=/trunk/; revision=32703

13 years ago- make desk strict ANSI-C compilable
Johannes Anderwald [Sun, 16 Mar 2008 18:29:28 +0000 (18:29 +0000)]
- make desk strict ANSI-C compilable
- do not disable color changer when a background image is selected

svn path=/trunk/; revision=32702

13 years ago- the color of the background for the desktop window should match COLOR_DESKTOP
Johannes Anderwald [Sun, 16 Mar 2008 18:19:36 +0000 (18:19 +0000)]
- the color of the background for the desktop window should match COLOR_DESKTOP

svn path=/trunk/; revision=32701

13 years agoWinebuild files don't need to depend on $(module_precondition)
Colin Finck [Sun, 16 Mar 2008 17:10:46 +0000 (17:10 +0000)]
Winebuild files don't need to depend on $(module_precondition)
Fixes some more circular dependencies

svn path=/trunk/; revision=32700

13 years ago- initialize bitbucket properties dialog
Johannes Anderwald [Sun, 16 Mar 2008 14:55:04 +0000 (14:55 +0000)]
- initialize bitbucket properties dialog
- fix resources
- partly implement THRASH_CanTrashFile

svn path=/trunk/; revision=32699

13 years agofix a old copy and paste comment text so it say right
Magnus Olsen [Sun, 16 Mar 2008 00:22:29 +0000 (00:22 +0000)]
fix a old copy and paste comment text so it say right

svn path=/trunk/; revision=32697

13 years agoupdate the docs for NtGdiD3dContextCreate
Magnus Olsen [Sun, 16 Mar 2008 00:16:42 +0000 (00:16 +0000)]
update the docs for NtGdiD3dContextCreate
some points I did not make clear how it works.

svn path=/trunk/; revision=32696

13 years agoupdate some comment that desc how some ntgdidd* works
Magnus Olsen [Sat, 15 Mar 2008 21:00:58 +0000 (21:00 +0000)]
update some comment that desc how some ntgdidd* works

svn path=/trunk/; revision=32695

13 years ago- Fill in Identifier field when creating NTFS_xCB
Pierre Schweitzer [Sat, 15 Mar 2008 09:47:00 +0000 (09:47 +0000)]
- Fill in Identifier field when creating NTFS_xCB
- Changed a memset call to RtlZeroMemory

svn path=/trunk/; revision=32694

13 years agoDaniel Zimmerman <netzimme@aim.com>
Aleksey Bragin [Sat, 15 Mar 2008 09:29:54 +0000 (09:29 +0000)]
Daniel Zimmerman <netzimme@aim.com>
- Implement RtlGetCallersAddress.
- Add RtlCaptureStackBackTrace prototype to PSDK.
See issue #3125 for more details.

svn path=/trunk/; revision=32693

13 years ago[FORMATTING] Fix indentation (only for functional code)
Pierre Schweitzer [Sat, 15 Mar 2008 09:25:09 +0000 (09:25 +0000)]
[FORMATTING] Fix indentation (only for functional code)

svn path=/trunk/; revision=32692

13 years ago- Renamed all control block structures to (P)NTFS_xCB
Pierre Schweitzer [Sat, 15 Mar 2008 08:51:47 +0000 (08:51 +0000)]
- Renamed all control block structures to (P)NTFS_xCB
- Added an identifier field to those structures (not yet used)

svn path=/trunk/; revision=32691

13 years agomake syscalldump dump the names of the functions in apfnSimpleCall array.
Timo Kreuzer [Sat, 15 Mar 2008 03:08:30 +0000 (03:08 +0000)]
make syscalldump dump the names of the functions in apfnSimpleCall array.

svn path=/trunk/; revision=32690

13 years agoNtGdiExtGetObjectW has really nothing to do with dcs, move it to gdiobj.c
Timo Kreuzer [Sat, 15 Mar 2008 01:10:53 +0000 (01:10 +0000)]
NtGdiExtGetObjectW has really nothing to do with dcs, move it to gdiobj.c

svn path=/trunk/; revision=32689

13 years agoAaand yet another one, including fixed indentation for the whole file
Colin Finck [Sat, 15 Mar 2008 00:44:07 +0000 (00:44 +0000)]
Aaand yet another one, including fixed indentation for the whole file
(sorry for the commit spam, but I'm trying to solve the building problems of a user over IRC :D)

svn path=/trunk/; revision=32688

13 years agoAdd yet another missing include
Colin Finck [Sat, 15 Mar 2008 00:38:42 +0000 (00:38 +0000)]
Add yet another missing include

svn path=/trunk/; revision=32687

13 years ago- Add <cstring> for "memset", "strchr" and "strstr"
Colin Finck [Sat, 15 Mar 2008 00:35:48 +0000 (00:35 +0000)]
- Add <cstring> for "memset", "strchr" and "strstr"
- Use the C++ wrapper headers consistently
- Fix indentation

svn path=/trunk/; revision=32686

13 years ago- Consistently use the C++ wrapper headers (cstdio, cstdlib, ...) around the standard...
Colin Finck [Sat, 15 Mar 2008 00:23:40 +0000 (00:23 +0000)]
- Consistently use the C++ wrapper headers (cstdio, cstdlib, ...) around the standard C headers and also add <cstring> for "strtok", "strcpy" and "strncmp"
- Remove a useless typedef, which causes a warning with newer GCC's

svn path=/trunk/; revision=32685

13 years agoenable a additional GDI_DEBUG backtraces
Timo Kreuzer [Sat, 15 Mar 2008 00:10:27 +0000 (00:10 +0000)]
enable a additional GDI_DEBUG backtraces

svn path=/trunk/; revision=32684

13 years agoInclude <cstdlib> and <cstring> for "getenv" and "strlen"
Colin Finck [Sat, 15 Mar 2008 00:04:43 +0000 (00:04 +0000)]
Include <cstdlib> and <cstring> for "getenv" and "strlen"

svn path=/trunk/; revision=32683

13 years agoInclude <cstdlib> for "strtod" and "strtol"
Colin Finck [Fri, 14 Mar 2008 23:59:55 +0000 (23:59 +0000)]
Include <cstdlib> for "strtod" and "strtol"

svn path=/trunk/; revision=32682

13 years agoChange, simplify and document the conditions for the include files.
Colin Finck [Fri, 14 Mar 2008 23:55:32 +0000 (23:55 +0000)]
Change, simplify and document the conditions for the include files.
Fix two build problems in Fedora 8 and probably other hosts with a newer C library (reported by Dosadi on #reactos)

svn path=/trunk/; revision=32681

13 years ago- modify the way the way the Frames parameter in KeRosDumpStackFrames() is handled...
Timo Kreuzer [Fri, 14 Mar 2008 23:51:27 +0000 (23:51 +0000)]
- modify the way the way the Frames parameter in KeRosDumpStackFrames() is handled, wasn't used so far
- remove some code duplication

svn path=/trunk/; revision=32680

13 years agohide mouse cursor in mazescr
Timo Kreuzer [Fri, 14 Mar 2008 00:08:00 +0000 (00:08 +0000)]
hide mouse cursor in mazescr

svn path=/trunk/; revision=32677

13 years ago- Simplify IntSetCursor
Timo Kreuzer [Fri, 14 Mar 2008 00:05:58 +0000 (00:05 +0000)]
- Simplify IntSetCursor
- Make NtUserSetCursor hide Cursor on hCursor = NULL
- Don't set the cursor pos if the cursor is hidden in IntMouseInput
- remove 2 useless ASSERTs
- Dereference old cursor- Make the screensaver lib hide the cursor directly after creating it (the window never recieves a WM_SETCURSOR)
partly fixes bug 2965
See issue #2965 for more details.

svn path=/trunk/; revision=32676

13 years ago- Switch to using the cache bitmap (the cache manager uses one large memory region...
Aleksey Bragin [Thu, 13 Mar 2008 20:14:30 +0000 (20:14 +0000)]
- Switch to using the cache bitmap (the cache manager uses one large memory region within the kernel address space and allocate/deallocate space from this block over a bitmap).
- This removes (hides?) the so-called "ResourceNeverExclusive" problem at the end of the 1st stage setup or during file copy operation. Also it makes file copying process (not only in the 1st stage) more stable.
- Cacheseg mapping region size enlarged to 256Mb.
See issue #2872 for more details.

svn path=/trunk/; revision=32675

13 years ago- Implement IRQL functions for the PL190 VIC.
ReactOS Portable Systems Group [Thu, 13 Mar 2008 16:29:45 +0000 (16:29 +0000)]
- Implement IRQL functions for the PL190 VIC.
- Start coding HalInitSystem.
- Implement HalRequestSoftwareInterrupt for the PL190 VIC. The interrupt fires! (This interrupt is responsible for forcing DPC delivery, which should also force thread scheduling, which should force the switch to the phase 1 thread)

svn path=/trunk/; revision=32674

13 years agoSimplify and rename the functions that touch UserPageListHead.
Andrew Munger [Thu, 13 Mar 2008 15:26:17 +0000 (15:26 +0000)]
Simplify and rename the functions that touch UserPageListHead.
They were confusingly coded to accept any flavor of PFN_TYPE, which resulted in at least one bug.
Constrained the calls to the MmRequest/ReleasePageMemoryConsumer and MmTrimUserMemory.

svn path=/trunk/; revision=32673

13 years ago- Factor out physical pages allocation and creating a virtual mapping into a standalo...
Aleksey Bragin [Thu, 13 Mar 2008 13:17:57 +0000 (13:17 +0000)]
- Factor out physical pages allocation and creating a virtual mapping into a standalone function called MmMapMemoryArea (idea proposed by Art Yerkes).
- As a result, removed one case of a potentially dangerous _alloca usage in the kernel, increased code readability.

svn path=/trunk/; revision=32672

13 years ago- Finish implementing very basic system call dispatcher. Our very first system call...
ReactOS Portable Systems Group [Wed, 12 Mar 2008 22:06:42 +0000 (22:06 +0000)]
- Finish implementing very basic system call dispatcher. Our very first system call to NtClose works properly.
- The rest of Phase 0 initialization continues smoothly, we now reach the while(TRUE) loop at the end of KiSystemStartup!
- Phase 0 bring-up is complete: The phase 1 thread should now start (once thread scheduling works).
- Next steps: IRQLs, HAL Initialization (Timers and IRQs) to get the interval clock timer running for quantum end/scheduling/time accounting.
- After that: context switching code to be able to switch to the Phase 1 thread.
- Then: Phase 1 bring-up!

svn path=/trunk/; revision=32671

13 years agoPolish Translation Update by Olaf Siejka.
Daniel Reimer [Wed, 12 Mar 2008 21:32:45 +0000 (21:32 +0000)]
Polish Translation Update by Olaf Siejka.

svn path=/trunk/; revision=32670

13 years agoRemoved false unimplemented output :)
Gregor Brunmar [Wed, 12 Mar 2008 19:40:31 +0000 (19:40 +0000)]
Removed false unimplemented output :)

svn path=/trunk/; revision=32669

13 years ago* Made IDirect3D9 structure more MS compatible.
Gregor Brunmar [Wed, 12 Mar 2008 19:29:10 +0000 (19:29 +0000)]
* Made IDirect3D9 structure more MS compatible.
* Removed duplicate initing of internal structure
* Started implementing IDirect3D9::CreateDevice() error return values

svn path=/trunk/; revision=32668

13 years ago- Fix build.
Aleksey Bragin [Wed, 12 Mar 2008 19:07:32 +0000 (19:07 +0000)]
- Fix build.

svn path=/trunk/; revision=32667

13 years ago- We now define a much simpler system call interface -- instead of using interrupt...
ReactOS Portable Systems Group [Wed, 12 Mar 2008 18:17:55 +0000 (18:17 +0000)]
- We now define a much simpler system call interface -- instead of using interrupt 2E with the system call ID in the ip register, we use the system call ID as the interrupt number! On ARM, all software interrupts have a generic handler, so ANY software interrupt will be a system call, and the interrupt number is the system call ID!
- Removed a bunch more i386-only exports from the ARM kernel.
- Implemented all the READ/WRITE_REGISTER* routines for ARM/PPC.
- Implement half of KiSoftwareInterruptException, which calls KiSoftwareInterruptHandler, which calls KiSystemService. We now reach the first kernel-mode system call! (ZwClose from PspInitPhase0).
- Reformat fastinterlck.c and change the way it's included per-architecture.

svn path=/trunk/; revision=32666

13 years ago[FORMATTING] Fix indentation
Colin Finck [Wed, 12 Mar 2008 13:50:30 +0000 (13:50 +0000)]
[FORMATTING] Fix indentation

svn path=/trunk/; revision=32665

13 years ago- Make another kind of page fault also be handleable by our hacked-up handler: paged...
ReactOS Portable Systems Group [Wed, 12 Mar 2008 00:13:09 +0000 (00:13 +0000)]
- Make another kind of page fault also be handleable by our hacked-up handler: paged pool now fully works.
- Current status: we now make it all the way to the first system call at the end of Phase 0!
- We now make the IRQL routines modify the IRQL saved in the KPCR, to make some assertions work.
- Build mem.c and memgen.c from RTL in order to get non-optimized but portable Rtl*Memory routines and Rtl*Swap routines.
- Take the PPC non-optimized but portable Ex*Interlocked* routines and make them available for ARM as well. Play with the code a bit to get other routines in there too.
- Major TODO: Cleanup these routines, re-format them, make them compatible for all architectures, and later on, provided optimized ARM versions.
- Remove _all* _aull* MSVC-i386 helper exports from the kernel, as well as Exfi386* routines -- they're only for x86 kernels.

svn path=/trunk/; revision=32664

13 years agoUpdate German language File
Daniel Reimer [Tue, 11 Mar 2008 19:44:22 +0000 (19:44 +0000)]
Update German language File

svn path=/trunk/; revision=32663

13 years ago- Update FSRTL_ADVANCED_FCB_HEADER to support newer version headers.
Aleksey Bragin [Tue, 11 Mar 2008 19:03:29 +0000 (19:03 +0000)]
- Update FSRTL_ADVANCED_FCB_HEADER to support newer version headers.
- Split Reserved into two bitfields: Reserved and Version.

svn path=/trunk/; revision=32662

13 years ago- Fix typo (part 2/2)
Dmitry Chapyshev [Tue, 11 Mar 2008 17:03:20 +0000 (17:03 +0000)]
- Fix typo (part 2/2)

svn path=/trunk/; revision=32661

13 years ago- Fix typo (part 1/2)
Dmitry Chapyshev [Tue, 11 Mar 2008 16:39:58 +0000 (16:39 +0000)]
- Fix typo (part 1/2)

svn path=/trunk/; revision=32660

13 years ago- Convert all Loader Block structures to virtual addresses (By adding KSEG0_BASE...
ReactOS Portable Systems Group [Tue, 11 Mar 2008 16:13:43 +0000 (16:13 +0000)]
- Convert all Loader Block structures to virtual addresses (By adding KSEG0_BASE) since the kernel eventually unmaps the page table responsible for the physical->virtual identity mapping, but we'll still need to access the loader block.
- Implement proper trap prolog/epilog code -- currently used and tested in the data abort handler. Currently hacked away some KTRAP_FRAME stuff on ARM.
- The data abort handler has a very rudimentary check to detect page faults and will call MmAccessFaults, this means we now support paged pool!
- We now succesfully go past MmInitSystem and go all the way until ObInitSystem (still in Phase 0).

svn path=/trunk/; revision=32659

13 years ago- Fix build
Dmitry Chapyshev [Tue, 11 Mar 2008 16:13:26 +0000 (16:13 +0000)]
- Fix build

svn path=/trunk/; revision=32658

13 years ago- Remove kilobyte of unneeded MS support database text copypaste.
Aleksey Bragin [Tue, 11 Mar 2008 15:58:31 +0000 (15:58 +0000)]
- Remove kilobyte of unneeded MS support database text copypaste.
- Rename and add two application compatibility flags to W32THREADINFO structure (one for ancient compat flags, and one for a bit more modern flags).
- Implement GetAppCompatFlags2() too.

svn path=/trunk/; revision=32657

13 years ago- Rewrite input.dll
Dmitry Chapyshev [Tue, 11 Mar 2008 15:52:27 +0000 (15:52 +0000)]
- Rewrite input.dll
- Delete unused resources
- Update all languages

svn path=/trunk/; revision=32656

13 years ago- We missed this one -- fix the x86 build.
ReactOS Portable Systems Group [Tue, 11 Mar 2008 06:05:57 +0000 (06:05 +0000)]
- We missed this one -- fix the x86 build.

svn path=/trunk/; revision=32655

13 years ago- Forgot to commit previous HAL changes.
ReactOS Portable Systems Group [Tue, 11 Mar 2008 04:42:54 +0000 (04:42 +0000)]
- Forgot to commit previous HAL changes.
- There is no reason to implement the Interlocked* APIs in assembly in the kernel -- just have them call the intrinsics.
- Also fix the way we were overloading the exported APIs, we now use the intrinsics all the time.
- Convert loader block address to virtual, and parse the addresses inside it and convert them to virtual too, after we don't use them in FreeLDR anymore -- the kernel will delete the p->v identity mapping, and eventually still need to touch the loader block.
- Implement MmGetPhysicalAddress and MiGetUserPageDirectoryCount for ARM.
- We now reach the point where we start initializing the boot drivers' memory information.

svn path=/trunk/; revision=32654

13 years ago- Fix incorrect definition of PCR and USERPCR which was making us incorrect memory.
ReactOS Portable Systems Group [Tue, 11 Mar 2008 02:45:13 +0000 (02:45 +0000)]
- Fix incorrect definition of PCR and USERPCR which was making us incorrect memory.
- Fix incorrect definition of ARM_CONTROL_REGISTER, which was stopping us from correctly enabling High Vectors.
- The RtlCaptureStackLimits and RtlWakeChainFrame routines in libsupp.c cannot possibly be portable across all architectures -- separated ARM versions in an arm directory.
- Setup the panic stack for abort/undefined exceptions, and the interrupt stack for FIQs.
- Implement support for exceptions! We can now display the address which caused a data abort, and begin handling exceptions.
- Implement all the HAL Spinlock/IRQL functions except KfRaise/LowerIrql which actually do the work.
- We're booting all the way to setting up the user_shared_data memory area.

svn path=/trunk/; revision=32653

13 years agopart 2/2 for implement GetAppCompatFlags
Magnus Olsen [Tue, 11 Mar 2008 00:09:23 +0000 (00:09 +0000)]
part 2/2 for implement GetAppCompatFlags
left todo implemented set AppCompatFlags

svn path=/trunk/; revision=32652

13 years agopart 1/2 for implement GetAppCompatFlags
Magnus Olsen [Tue, 11 Mar 2008 00:08:07 +0000 (00:08 +0000)]
part 1/2 for implement GetAppCompatFlags

svn path=/trunk/; revision=32651

13 years agopartly implement gdi32 Escape
Magnus Olsen [Mon, 10 Mar 2008 22:12:12 +0000 (22:12 +0000)]
partly implement gdi32 Escape
implemented command STARTDOC: Escape

svn path=/trunk/; revision=32650

13 years ago- Sync STORAGE_PROPERTY_ID enum with WDK.
Aleksey Bragin [Mon, 10 Mar 2008 20:26:03 +0000 (20:26 +0000)]
- Sync STORAGE_PROPERTY_ID enum with WDK.

svn path=/trunk/; revision=32646

13 years ago- A better freebsd/macosx fix.
Aleksey Bragin [Mon, 10 Mar 2008 20:04:46 +0000 (20:04 +0000)]
- A better freebsd/macosx fix.

svn path=/trunk/; revision=32645

13 years ago- Add sys/types.h and sys/stat.h includes for mkfifo() declaration, for *nix-builds.
Aleksey Bragin [Mon, 10 Mar 2008 19:28:33 +0000 (19:28 +0000)]
- Add sys/types.h and sys/stat.h includes for mkfifo() declaration, for *nix-builds.

svn path=/trunk/; revision=32644

13 years ago- Fix rgenstat build on FreeBSD and MacOSX
Aleksey Bragin [Mon, 10 Mar 2008 19:24:19 +0000 (19:24 +0000)]
- Fix rgenstat build on FreeBSD and MacOSX

svn path=/trunk/; revision=32643

13 years agoARM Port Memory Management Checkpoint:
ReactOS Portable Systems Group [Mon, 10 Mar 2008 17:27:14 +0000 (17:27 +0000)]
ARM Port Memory Management Checkpoint:
- Implemented and defined the MMU-OS architecture for the ARM port. The details are too long for a commit message, but we have decided to replicate the x86 NT memory manager layout. We've defined a PTE_BASE at 0xC0000000 just like on x86, and we use a PDE_BASE at 0xC1000000. Unlike the x86, we can't use PDE-PTE self-mapping because ARM has different formats (and sizes!) for PDE vs PTEs! We emulate the behavior however (which adds a small performance hit) and the Mm porting is thus at least 10 times easier.
- Moved serial port to 0xE0000000 for now.
- We now parse the board memory map from u-boot.
- Added memory allocation code to FreeLDR -- we now build a full ARC memory map for the kernel.
- FreeLDR allocates page tables and sets up the initial support for our memory layout (see comments for some lengthier explenations)
- Allocations made by FreeLDR for loading ReactOS are now made from a "shared heap" page that's also marked in the memory map.
- Registry and NLS data are now being put into the loader block.
- We now create a loader entry for the kernel (but not anything else -- we'll have to parse the list properly later).
- Defined correct _HARDWARE_PTE_ARM and _MMPTE_HARDWARE for ARM.
- ARM_COARSE_PAGE_TABLE is now 4KB instead of 1KB, going against the architecture! We do this for proper OS support of the PTE_BASE.
- Fixed build due to KiSystemStartulReal change.
- Fixed a bug on the x86 build when creating memory allocation descriptors. Memory corruption could occur in certain scenarios.
- Implemented significant portions of the ARM memory manager code in the kernel:
  - MmGetPageDirectory.
  - MmDeletePageTable (for the kernel address space only).
  - MmIsPagePresent (for the kernel address space only).
  - MmCreateVirtualMappingForKernel.
  - MmCreateVirtualMapping (calls MmCreateVirtualMappingUnsafe).
  - MmCreateVirtualMappingUnsafe (for the kernel address space only).
  - MmSetPageProtect (unused on ARM).
  - MmCreateHyperspaceMapping.
  - MmDeleteHyperspaceMapping.
  - MmInitGlobalKernelPageDirectory.
  - MmInitPageDirectoryMap.
- With the above, this means we now go well inside MmInit1: the PFN database is setup and works, memory areas are functional, and non-paged pool is fully working.
- We currently hit a data abort during paged pool setup -- this is to be expected, since we don't have any exception handlers yet. These are coming up next -- we have to start handling crashes (and page faults).

svn path=/trunk/; revision=32640

13 years ago- Cleanup GreatLordisms and half implement GdiRealizationInfo.
James Tabor [Mon, 10 Mar 2008 04:02:49 +0000 (04:02 +0000)]
- Cleanup GreatLordisms and half implement GdiRealizationInfo.

svn path=/trunk/; revision=32637

13 years agopartly implement gdi32 Escape
Magnus Olsen [Mon, 10 Mar 2008 00:27:25 +0000 (00:27 +0000)]
partly implement gdi32 Escape
implemented command ENDDOC: Escape

svn path=/trunk/; revision=32636

13 years agopartly implement gdi32 Escape need it for getting opengl icd driver working, if they...
Magnus Olsen [Sun, 9 Mar 2008 23:32:52 +0000 (23:32 +0000)]
partly implement gdi32 Escape need it for getting opengl icd driver working, if they are using ms icd ddk
implemented command DRAFTMODE, FLUSHOUTPUT, SETCOLORTABLE for they are not longer supported in windows XP/2003
implemented command SETABORTPROC it is still stub in gdi32/misc/stubs.c

svn path=/trunk/; revision=32635

13 years agopartly implement gdi32 Escape
Magnus Olsen [Sun, 9 Mar 2008 22:58:13 +0000 (22:58 +0000)]
partly implement gdi32 Escape
implemented command ABORTDOC Escape

svn path=/trunk/; revision=32634

13 years agoRevert Change in readme.txt -- HTTP DAV access working
Franz Lehner [Sun, 9 Mar 2008 21:56:42 +0000 (21:56 +0000)]
Revert Change in readme.txt -- HTTP DAV access working

svn path=/trunk/; revision=32633

13 years agoSVN TEST
Franz Lehner [Sun, 9 Mar 2008 21:48:27 +0000 (21:48 +0000)]
SVN TEST

svn path=/trunk/; revision=32632

13 years agopartly implement gdi32 Escape
Magnus Olsen [Sun, 9 Mar 2008 21:36:09 +0000 (21:36 +0000)]
partly implement gdi32 Escape
implemented command GETSCALINGFACTOR Escape
change from if to switch statment for it is faster and cleaner

svn path=/trunk/; revision=32631

13 years ago- Move MiGetPfnEntry into arch-independent mm.h header, along with a few defines...
Aleksey Bragin [Sun, 9 Mar 2008 21:15:12 +0000 (21:15 +0000)]
- Move MiGetPfnEntry into arch-independent mm.h header, along with a few defines, structures, and function prototypes which are going to be used with the new pool implementation in future.
- Add two new fields into PHYSICAL_PAGE structure, they will be used (in the future new pool implementation) to find end/start of a non-paged pool allocation without storing the actual pointers (based on NTs own PFN entry optimization for this) - thanks to Alex for providing this great idea!

svn path=/trunk/; revision=32630

13 years ago- Move some PTE/PDE macros from i386/page.c into arch-specific mm.h. Also change...
Aleksey Bragin [Sun, 9 Mar 2008 20:30:28 +0000 (20:30 +0000)]
- Move some PTE/PDE macros from i386/page.c into arch-specific mm.h. Also change some macros operation from integer division to bit shifting.
- Remove unused/#if0-ed stuff from mm.h.

svn path=/trunk/; revision=32629

13 years agopartly implement gdi32 Escape
Magnus Olsen [Sun, 9 Mar 2008 19:04:26 +0000 (19:04 +0000)]
partly implement gdi32 Escape
implemented command GETCOLORTABLE and GETEXTENDEDTEXTMETRICS in Escape
MS have releae docs over this api in msdn, u can also found docs in nt4 ddk and win98 ddk how this api works.
and thanks to Filip and Blight that have explain how this api works time to time, in gdi32

svn path=/trunk/; revision=32628

13 years ago- fix enumeration of available time zones
Johannes Anderwald [Sun, 9 Mar 2008 15:34:13 +0000 (15:34 +0000)]
- fix enumeration of available time zones

svn path=/trunk/; revision=32626

13 years agoAdd missing cast
Colin Finck [Sun, 9 Mar 2008 14:28:23 +0000 (14:28 +0000)]
Add missing cast

svn path=/trunk/; revision=32625

13 years ago- Remove autoupdated "$Id:" lines from the kernel source code.
Aleksey Bragin [Sun, 9 Mar 2008 14:11:42 +0000 (14:11 +0000)]
- Remove autoupdated "$Id:" lines from the kernel source code.

svn path=/trunk/; revision=32623

13 years agoSecond iteration of Direct3DCreate9()
Gregor Brunmar [Sun, 9 Mar 2008 14:11:32 +0000 (14:11 +0000)]
Second iteration of Direct3DCreate9()

svn path=/trunk/; revision=32622

13 years ago- Reworked NtfsAllocateIrpContext to avoid working with null IRP....
Pierre Schweitzer [Sun, 9 Mar 2008 13:58:25 +0000 (13:58 +0000)]
- Reworked NtfsAllocateIrpContext to avoid working with null IRP....
- Rewritten NtfsFsdDirectoryControl (using IrpContext, etc)

svn path=/trunk/; revision=32621

13 years agoForgot to change this one as well
Colin Finck [Sun, 9 Mar 2008 12:01:59 +0000 (12:01 +0000)]
Forgot to change this one as well

svn path=/trunk/; revision=32620

13 years ago- It is enough to just add a "const" to fix the "deprecated conversion from string...
Colin Finck [Sun, 9 Mar 2008 11:53:14 +0000 (11:53 +0000)]
- It is enough to just add a "const" to fix the "deprecated conversion from string constant to 'char*'" warning.
  Remove the TempName variable from the previous cabman commit and pass the temp file directly again.
- Add the same "const"'s to sysreg, so that it compiles with gcc >= 4.2 as well

svn path=/trunk/; revision=32619

13 years agoAdd an arHostRule2 to build host .a files
Colin Finck [Sun, 9 Mar 2008 10:59:00 +0000 (10:59 +0000)]
Add an arHostRule2 to build host .a files
Fixes building on 64-bit hosts

svn path=/trunk/; revision=32618

13 years agodisable sysreg - it isn't working anyways
Christoph von Wittich [Sun, 9 Mar 2008 10:43:00 +0000 (10:43 +0000)]
disable sysreg - it isn't working anyways

svn path=/trunk/; revision=32617

13 years agofix cabman build with gcc >= 4.2
Christoph von Wittich [Sun, 9 Mar 2008 10:41:55 +0000 (10:41 +0000)]
fix cabman build with gcc >= 4.2

svn path=/trunk/; revision=32616

13 years ago- Updated NTFS header with the "new" FSF address
Pierre Schweitzer [Sat, 8 Mar 2008 21:45:51 +0000 (21:45 +0000)]
- Updated NTFS header with the "new" FSF address
- Removed useless field $id in ntfs.rc

svn path=/trunk/; revision=32615

13 years agoUpdated French translation for vgafontedit
Pierre Schweitzer [Sat, 8 Mar 2008 18:30:37 +0000 (18:30 +0000)]
Updated French translation for vgafontedit

svn path=/trunk/; revision=32614

13 years ago- Leftovers.
Aleksey Bragin [Sat, 8 Mar 2008 17:23:03 +0000 (17:23 +0000)]
- Leftovers.

svn path=/trunk/; revision=32613

13 years ago- Experimentally switch fastfat driver to non-Ros Cc functions, and thus no FSD in...
Aleksey Bragin [Sat, 8 Mar 2008 16:47:41 +0000 (16:47 +0000)]
- Experimentally switch fastfat driver to non-Ros Cc functions, and thus no FSD in ReactOS are using CcRos-specific functions anymore.
- Assume VACB_MAPPING_GRANULARITY as a default cache segment size.
- Use FSD callbacks instead of direct accessing FCB's MainResource via FileObject/FsContext. This allows removing of ObReferenceObject(FileObject) which I had to add some time ago in order to keep FileObject alive for the lazy writer thread.
- IMPORTANT: Testers should thoroughly try this revision in order to see if any new problems appear. If they do appear, this revision will most probably be reverted by me.

svn path=/trunk/; revision=32612

13 years agoAdded stubs for CC R/W functions (fixes TODO from r32610)
Pierre Schweitzer [Sat, 8 Mar 2008 13:17:48 +0000 (13:17 +0000)]
Added stubs for CC R/W functions (fixes TODO from r32610)

svn path=/trunk/; revision=32611

13 years ago- Remove ros-specific Cc functions usage.
Aleksey Bragin [Sat, 8 Mar 2008 12:14:41 +0000 (12:14 +0000)]
- Remove ros-specific Cc functions usage.
- TODO: Provide callbacks for lazy writer and read ahead when calling CcInitializeCacheMap. Could be done similar to r32607 for CDFS.

svn path=/trunk/; revision=32610