Commit graph

28501 commits

Author SHA1 Message Date
Aleksey Bragin 61ed2f0c41 - Colin Finck: Replace broken memcmp comparison of wide strings by an own version of wcsncmp (due to the fact it may be different on different hosts).
- Add RtlAssert to mkhive, it was missing in some compiling cases, and fix DbgPrint function implementation.
- Mark a memory overwrite in mkhive with a FIXME, to be fixed later.

svn path=/trunk/; revision=31232
2007-12-15 10:02:00 +00:00
James Tabor 5bd30618ac Use new share handle table info.
svn path=/trunk/; revision=31231
2007-12-15 09:11:59 +00:00
James Tabor 383356eb43 Add CAPS1 capability flags, not found in sdk. Source is from wine.
svn path=/trunk/; revision=31230
2007-12-15 08:39:27 +00:00
James Tabor 9c07113163 Start using gdi shared handle table.
svn path=/trunk/; revision=31229
2007-12-15 08:08:11 +00:00
James Tabor d7abb13de2 Add new items to gdi handle table. Added cfont and user space share gdi handle table.
svn path=/trunk/; revision=31228
2007-12-15 07:03:51 +00:00
Dmitry Chapyshev 2bac48a11b - Add some dialogs
svn path=/trunk/; revision=31227
2007-12-15 06:35:55 +00:00
Timo Kreuzer 07eb7f5d69 - use own version of GdiQueryTable() instead of relying on gdi32.dll
- more tests for NtGdiGetDIBitsInternal

svn path=/trunk/; revision=31226
2007-12-15 04:35:16 +00:00
Timo Kreuzer 5f55fe95c7 - use own version of GdiQueryTable() instead of relying on gdi32.dll
- CrateFont -> CreateFontA
- A bunch of tests for SelectObject

svn path=/trunk/; revision=31225
2007-12-15 04:22:19 +00:00
Timo Kreuzer de6ac22db5 - fix type field calculation in GDIOBJ_CovertToStockObject
- add some DPRINTs on problems

svn path=/trunk/; revision=31224
2007-12-15 02:08:23 +00:00
Timo Kreuzer e324228af3 add a bitmask for the flags in the gdi objects type field
svn path=/trunk/; revision=31223
2007-12-15 02:07:43 +00:00
Timo Kreuzer 12096d19c4 - add GDI_OBJECT_TYPE_PFE
- use own version of GdiQueryTable() instead of relying on gdi32.dll, as vista seems not to support it anymore

svn path=/trunk/; revision=31222
2007-12-15 00:34:57 +00:00
Aleksey Bragin 541c17ddaa Filip Navara <xnavara at volny dot cz>
- Remove unused code from HvGetCellSize().
- Fix situation, when a new cell is allocated with a too small size, resulting in an empty free cell (a cell has to be able to store at least one HCELL_INDEX), then the free list code overrides the next cell after the empty one.
- Reenable commented out assert in HvpRemoveFree(), since now it works as expected.

svn path=/trunk/; revision=31221
2007-12-14 23:17:43 +00:00
James Tabor 716baf379c Use long for HandleIndex.
svn path=/trunk/; revision=31220
2007-12-14 18:02:22 +00:00
James Tabor 24f650c712 Add more items for device capabilities.
svn path=/trunk/; revision=31219
2007-12-14 17:35:31 +00:00
Hervé Poussineau 591c2ff8ee Add missing space
svn path=/trunk/; revision=31218
2007-12-14 16:56:20 +00:00
Aleksey Bragin 0c6328a1e0 - Add compile-time assert, since ReactOS opengl32 depends on the hardcoded value.
svn path=/trunk/; revision=31217
2007-12-14 16:00:53 +00:00
Hervé Poussineau 927f7b56aa Add ERR_, WARN_, TRACE_ and INFO_ macros which call DbgPrintEx
svn path=/trunk/; revision=31216
2007-12-14 15:59:14 +00:00
Hervé Poussineau 0ae8ce587f Stop abusing <debug.h> by including SDK first
svn path=/trunk/; revision=31215
2007-12-14 15:37:21 +00:00
Marc Piulachs 1310ef8510 usetup Spanish localization by gabriel <gabrielilardi at hotmail dot it>
- slight changes to make it use a more neutral and MS-like terminology

See issue #2890 for more details.

svn path=/trunk/; revision=31214
2007-12-14 14:56:32 +00:00
Aleksey Bragin 61fab841f2 - Add debugging macros support to CmLib (to use, set the CmlibTraceLevel debugging mask in cminit.c).
- Add tracing to hivecell.c.

svn path=/trunk/; revision=31213
2007-12-14 13:02:39 +00:00
Johannes Anderwald 4aae9354ae - add resources for folder options cpl
svn path=/trunk/; revision=31212
2007-12-14 12:25:15 +00:00
Hervé Poussineau 03629687b8 Add back support for function pointers override in HalDispatchTable structure
Fixes detection of Xbox disk partitioning

svn path=/trunk/; revision=31211
2007-12-14 11:32:18 +00:00
Johannes Anderwald 5a3101d17b - part of 2/2 of bulgarian translation update
See issue #2886 for more details.

svn path=/trunk/; revision=31210
2007-12-14 11:12:57 +00:00
Hervé Poussineau fe9cc34414 Add missing forward declaration.
Thanks Fireball to debug this issue!

svn path=/trunk/; revision=31209
2007-12-14 11:12:55 +00:00
Johannes Anderwald 99473322f1 - part of 1/2 of bulgarian translation update
See issue #2886 for more details.

svn path=/trunk/; revision=31208
2007-12-14 11:11:44 +00:00
Hervé Poussineau c77f80bc75 Remove HALP_HOOKS structure
Revert r31198 and part of r31194, and replace them by compile-time define in pci.c
Don't use one rbuild file per hal, but merge them into one
Share halinit.c between UP and MP versions

svn path=/trunk/; revision=31207
2007-12-14 08:53:56 +00:00
Gregor Brunmar 9cae851aec * Added helper function to read Direct3D registry properties
* Started implementing Direct3DCreate9

svn path=/trunk/; revision=31206
2007-12-14 07:13:21 +00:00
Johannes Anderwald 2125ffa5a5 - fix a bug showing the same dialog twice in rev 31173
See issue #2888 for more details.

svn path=/trunk/; revision=31205
2007-12-13 23:11:24 +00:00
James Tabor 0611e28734 Up the handle count to 0x10000, reset adjustment to support change. Add device capabilities to handle table.
svn path=/trunk/; revision=31204
2007-12-13 20:27:28 +00:00
James Tabor 5232a3eb7a Thanks Timo! I have updated the information too.
svn path=/trunk/; revision=31203
2007-12-13 18:34:46 +00:00
Hervé Poussineau 7c69396b36 [FORMATTING] Fix formatting, no code change
svn path=/trunk/; revision=31202
2007-12-13 17:23:03 +00:00
Daniel Reimer 44083c8d46 OK, this has no right to be in here... "as developed primarily through reverse-engineering of the original MS bios and its boot process."
A diff will be provided in the future.

svn path=/trunk/; revision=31201
2007-12-13 17:03:01 +00:00
Johannes Anderwald 3f301b6835 - implement displaying and showing language dialog
- rename all translated entries in de-DE.h because gcc doesnt understand the scope of static
- add basic language dialog - feel free to improve design, layout etc

svn path=/trunk/; revision=31200
2007-12-13 16:15:43 +00:00
Daniel Reimer 1d0205fba7 Move cromwell in the right folder.
svn path=/trunk/; revision=31199
2007-12-13 16:13:30 +00:00
Hervé Poussineau 9186f2dfd4 Forgot a change in r31194
svn path=/trunk/; revision=31198
2007-12-13 16:06:12 +00:00
Magnus Olsen 8f7e05a52f updated d3d9_private.h with some more info
svn path=/trunk/; revision=31197
2007-12-13 15:55:26 +00:00
Hervé Poussineau a979fff8fb Call HAL-specific initialization handlers
svn path=/trunk/; revision=31196
2007-12-13 15:44:17 +00:00
Hervé Poussineau 40e8a9ec3a display.c contains only empty functions, it has no reason to not be shared accross all HALs
svn path=/trunk/; revision=31195
2007-12-13 15:35:27 +00:00
Hervé Poussineau 82ae7dcf03 Use PBUS_HANDLER->Get/SetBusData function pointers to call PCI bus handler
Update Xbox PCI bus management after HAL changes
Fix typo

svn path=/trunk/; revision=31194
2007-12-13 15:34:02 +00:00
Daniel Reimer adf80d74b3 German Translation for usetup.
svn path=/trunk/; revision=31193
2007-12-13 15:01:21 +00:00
Daniel Reimer f9c0a9419d Commited the modified Cromwell/Xromwell Loader Version 2.33-DEV which is able to boot ReactOS from a Microsoft XBox (not 360). Thank goes out to GvG for send it to me.
svn path=/trunk/; revision=31192
2007-12-13 13:47:31 +00:00
Magnus Olsen 6cc6acf265 Add D3D COM to ddraw (dx1)
svn path=/trunk/; revision=31191
2007-12-13 12:31:05 +00:00
James Tabor 741e32d84d Add device caps and width data structures.
svn path=/trunk/; revision=31190
2007-12-13 08:51:02 +00:00
Magnus Olsen 1cdc5e759c patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
fix one fixme in createsurface.c support more that only dx7 surface in createsurface.c






 

svn path=/trunk/; revision=31189
2007-12-13 02:02:15 +00:00
Magnus Olsen 37b2f521e1 add support for IID_IDirectDrawColorControl, IsEqualGUID(&IID_IDirectDrawGammaControl, IID_IDirectDrawSurfaceKernel
we are getting thues stubs api now from ddraw vtable now when some calls to surface_QueryInterface api

svn path=/trunk/; revision=31188
2007-12-13 01:55:06 +00:00
Magnus Olsen d684b6f677 update dxguid to match dxsdk 2004 dec
add two guids that does not belong to dxguid for they are need it for ddraw

svn path=/trunk/; revision=31187
2007-12-13 01:49:13 +00:00
Aleksey Bragin 9f8802a889 - Silence memory descriptors output, since it works good now.
- Silence pci.sys's debugging message.

svn path=/trunk/; revision=31186
2007-12-12 21:15:17 +00:00
Aleksey Bragin 6148b9b898 - Remove zeroing of PartialResourceList's fields (we allocate without that list).
- Sync SetupLDR's BIOS MMap-code with FreeLDR's, fixes the "Total: 0A (0 MB") problem in bootcds.

svn path=/trunk/; revision=31185
2007-12-12 20:29:09 +00:00
Aleksey Bragin 4556cc8f16 - Don't ignore empty resource descriptors (they still may have BusNumber info).
- Change pci identifier from "PCI BIOS" to "PCI", so that PCI buses reported by the loader are discovered now.

svn path=/trunk/; revision=31184
2007-12-12 17:04:50 +00:00
Magnus Olsen 9787fc988b patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
design cleanup bit. 
fix so each directdraw surface got own directdraw surface vtable. 
For some api are new in some version and some functions have more param or different struct in newer directdraw surface 






 

svn path=/trunk/; revision=31183
2007-12-12 15:01:25 +00:00