Commit graph

29970 commits

Author SHA1 Message Date
Daniel Reimer 0c578a5e6b Make my update sound better
svn path=/trunk/; revision=32714
2008-03-17 22:51:09 +00:00
Timo Kreuzer 4e4095383f - 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
2008-03-17 22:17:48 +00:00
Daniel Reimer f7f8c1d189 Updated Polish and German RC File of shell32.
Polish Part done by Olaf Siejka

svn path=/trunk/; revision=32712
2008-03-17 17:40:52 +00:00
Hervé Poussineau 44b906f4fa Replace .def files by .spec files
svn path=/trunk/; revision=32711
2008-03-17 12:57:17 +00:00
Hervé Poussineau d2d64ffade Replace .def files by .spec files
svn path=/trunk/; revision=32710
2008-03-17 12:44:23 +00:00
Hervé Poussineau f44b90f919 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
2008-03-17 12:26:23 +00:00
Aleksey Bragin 82c66415ab - MAINTENANCE: Fix inconsistent new lines.
svn path=/trunk/; revision=32708
2008-03-17 11:02:00 +00:00
Aleksey Bragin fa200ee040 - MAINTENANCE: Fix inconsistent new lines.
svn path=/trunk/; revision=32707
2008-03-17 10:59:18 +00:00
Hervé Poussineau 1cdbc02cc8 Don't fail if CCB_SYSTEM_FLAG can't be set
svn path=/trunk/; revision=32706
2008-03-17 10:30:58 +00:00
Hervé Poussineau a2d5fcf09a Remove some more circular dependencies.
May fix bug 3131

svn path=/trunk/; revision=32705
2008-03-17 10:29:43 +00:00
Johannes Anderwald 1846b6fee3 - fix compilation with msvc
svn path=/trunk/; revision=32703
2008-03-16 19:19:26 +00:00
Johannes Anderwald 3c49a12a94 - make desk strict ANSI-C compilable
- do not disable color changer when a background image is selected

svn path=/trunk/; revision=32702
2008-03-16 18:29:28 +00:00
Johannes Anderwald b3e9f47a36 - the color of the background for the desktop window should match COLOR_DESKTOP
svn path=/trunk/; revision=32701
2008-03-16 18:19:36 +00:00
Colin Finck 2143880ec3 Winebuild files don't need to depend on $(module_precondition)
Fixes some more circular dependencies

svn path=/trunk/; revision=32700
2008-03-16 17:10:46 +00:00
Johannes Anderwald a3873d71cc - initialize bitbucket properties dialog
- fix resources
- partly implement THRASH_CanTrashFile

svn path=/trunk/; revision=32699
2008-03-16 14:55:04 +00:00
Magnus Olsen 4e64592462 fix a old copy and paste comment text so it say right
svn path=/trunk/; revision=32697
2008-03-16 00:22:29 +00:00
Magnus Olsen eb7b8c651a update the docs for NtGdiD3dContextCreate
some points I did not make clear how it works. 


svn path=/trunk/; revision=32696
2008-03-16 00:16:42 +00:00
Magnus Olsen 40fe926b8c update some comment that desc how some ntgdidd* works
svn path=/trunk/; revision=32695
2008-03-15 21:00:58 +00:00
Pierre Schweitzer 8bc4ddbd5d - Fill in Identifier field when creating NTFS_xCB
- Changed a memset call to RtlZeroMemory

svn path=/trunk/; revision=32694
2008-03-15 09:47:00 +00:00
Aleksey Bragin 1789bf3561 Daniel Zimmerman <netzimme@aim.com>
- Implement RtlGetCallersAddress.
- Add RtlCaptureStackBackTrace prototype to PSDK.
See issue #3125 for more details.

svn path=/trunk/; revision=32693
2008-03-15 09:29:54 +00:00
Pierre Schweitzer 68f67228b5 [FORMATTING] Fix indentation (only for functional code)
svn path=/trunk/; revision=32692
2008-03-15 09:25:09 +00:00
Pierre Schweitzer 1498b141eb - Renamed all control block structures to (P)NTFS_xCB
- Added an identifier field to those structures (not yet used)

svn path=/trunk/; revision=32691
2008-03-15 08:51:47 +00:00
Timo Kreuzer 4f6b034f60 make syscalldump dump the names of the functions in apfnSimpleCall array.
svn path=/trunk/; revision=32690
2008-03-15 03:08:30 +00:00
Timo Kreuzer 58e1c142fe NtGdiExtGetObjectW has really nothing to do with dcs, move it to gdiobj.c
svn path=/trunk/; revision=32689
2008-03-15 01:10:53 +00:00
Colin Finck 751cc71ebd 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
2008-03-15 00:44:07 +00:00
Colin Finck 6f3e8ec662 Add yet another missing include
svn path=/trunk/; revision=32687
2008-03-15 00:38:42 +00:00
Colin Finck ddef9f1617 - Add <cstring> for "memset", "strchr" and "strstr"
- Use the C++ wrapper headers consistently
- Fix indentation

svn path=/trunk/; revision=32686
2008-03-15 00:35:48 +00:00
Colin Finck 1e2d76a86c - 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
2008-03-15 00:23:40 +00:00
Timo Kreuzer feb0960458 enable a additional GDI_DEBUG backtraces
svn path=/trunk/; revision=32684
2008-03-15 00:10:27 +00:00
Colin Finck 22a1118107 Include <cstdlib> and <cstring> for "getenv" and "strlen"
svn path=/trunk/; revision=32683
2008-03-15 00:04:43 +00:00
Colin Finck 32da68f4ea Include <cstdlib> for "strtod" and "strtol"
svn path=/trunk/; revision=32682
2008-03-14 23:59:55 +00:00
Colin Finck cf076f2c7b 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
2008-03-14 23:55:32 +00:00
Timo Kreuzer 2b61e55c4e - 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
2008-03-14 23:51:27 +00:00
Timo Kreuzer 92d76b88e9 hide mouse cursor in mazescr
svn path=/trunk/; revision=32677
2008-03-14 00:08:00 +00:00
Timo Kreuzer 9457b015d6 - 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
2008-03-14 00:05:58 +00:00
Aleksey Bragin 0d99c97ab4 - 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
2008-03-13 20:14:30 +00:00
ReactOS Portable Systems Group 362ca1e480 - 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
2008-03-13 16:29:45 +00:00
Andrew Munger e2d5ba4e1f 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
2008-03-13 15:26:17 +00:00
Aleksey Bragin b473957147 - 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
2008-03-13 13:17:57 +00:00
ReactOS Portable Systems Group 9901f9409a - 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
2008-03-12 22:06:42 +00:00
Daniel Reimer e4a3ca1233 Polish Translation Update by Olaf Siejka.
svn path=/trunk/; revision=32670
2008-03-12 21:32:45 +00:00
Gregor Brunmar 13f9fd3700 Removed false unimplemented output :)
svn path=/trunk/; revision=32669
2008-03-12 19:40:31 +00:00
Gregor Brunmar 8bca78461c * Made IDirect3D9 structure more MS compatible.
* Removed duplicate initing of internal structure
* Started implementing IDirect3D9::CreateDevice() error return values

svn path=/trunk/; revision=32668
2008-03-12 19:29:10 +00:00
Aleksey Bragin bae787dbd9 - Fix build.
svn path=/trunk/; revision=32667
2008-03-12 19:07:32 +00:00
ReactOS Portable Systems Group 465f0c0e28 - 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
2008-03-12 18:17:55 +00:00
Colin Finck 374a272eac [FORMATTING] Fix indentation
svn path=/trunk/; revision=32665
2008-03-12 13:50:30 +00:00
ReactOS Portable Systems Group 0d376b34fa - 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
2008-03-12 00:13:09 +00:00
Daniel Reimer ec0c36d5e6 Update German language File
svn path=/trunk/; revision=32663
2008-03-11 19:44:22 +00:00
Aleksey Bragin ed5a4088f7 - Update FSRTL_ADVANCED_FCB_HEADER to support newer version headers.
- Split Reserved into two bitfields: Reserved and Version.

svn path=/trunk/; revision=32662
2008-03-11 19:03:29 +00:00
Dmitry Chapyshev 5e375382ea - Fix typo (part 2/2)
svn path=/trunk/; revision=32661
2008-03-11 17:03:20 +00:00