Commit graph

29930 commits

Author SHA1 Message Date
Colin Finck
ceae579e7c Remove the "<file>msiserver.idl</file>" entry from the msi module, so it's not built twice.
As msi depends on msi_msiserver_typelib, we can be sure that "msiserver.idl" is built before msi, so it's there when it's needed.

Fixes the last circular dependency.

svn path=/trunk/; revision=32724
2008-03-19 17:42:08 +00:00
Timo Kreuzer
cda61e93aa [FORMATTING] Apply consistent indentation of 4 spaces
svn path=/trunk/; revision=32723
2008-03-19 14:53:15 +00:00
Marc Piulachs
c0b2fad1c3 - 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
2008-03-19 04:43:40 +00:00
Timo Kreuzer
3a8626a802 - 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
2008-03-19 00:56:40 +00:00
Timo Kreuzer
835306e6f4 Add GDILoObjType enum to ntgdityp.h
svn path=/trunk/; revision=32720
2008-03-19 00:33:11 +00:00
Hervé Poussineau
7450d083e3 Fix indentation
svn path=/trunk/; revision=32719
2008-03-18 12:28:33 +00:00
Colin Finck
9050d4be23 - 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
2008-03-18 12:00:29 +00:00
Daniel Reimer
2755d2da2f Bug 3136: Italian translation update by Paolo Devoti (devotip@tiscali.it)
svn path=/trunk/; revision=32717
2008-03-18 11:47:03 +00:00
Daniel Reimer
3f6aef10d6 Bug 3136: Italian translation update by Paolo Devoti (devotip@tiscali.it)
svn path=/trunk/; revision=32716
2008-03-18 11:46:03 +00:00
Colin Finck
ce3bf93548 Revert r32706, unfortunately this wasn't the problem (according to reports from two users)
svn path=/trunk/; revision=32715
2008-03-18 09:14:38 +00:00
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