Commit graph

23522 commits

Author SHA1 Message Date
Magnus Olsen 350c6a32c2 adding GetData32Be, GetData32Le for getting 4bytes from big or lite endian
start implment Ld for ppc.

svn path=/trunk/; revision=25440
2007-01-13 17:27:14 +00:00
Magnus Olsen ad3d7fea36 adding print out the type of asm file in the asm file
svn path=/trunk/; revision=25439
2007-01-13 14:34:50 +00:00
Magnus Olsen 9b4a7b1fc5 adding option for disambler mode, disambler mode does not translate a binary file. it doing a disambler of the file
svn path=/trunk/; revision=25438
2007-01-13 12:23:25 +00:00
Johannes Anderwald b339ec7ea9 - make sysreg compilable under Linux
- sysreg is now able to start the emulator but it cannot get any debug data yet. But this might be due that i tested sysreg in linux under vmware which then ran qemu....

svn path=/trunk/; revision=25437
2007-01-13 12:19:56 +00:00
Magnus Olsen 4ffa785260 1. last move is done arm to From folder
2. remove some include in CpuToIntel.c file they are not longer need it. 


svn path=/trunk/; revision=25436
2007-01-13 10:39:12 +00:00
Magnus Olsen 40bbafca90 Create a folder call From and start move in all cpu we will in futer translate from
svn path=/trunk/; revision=25435
2007-01-13 10:27:17 +00:00
Magnus Olsen 40628588f8 1. finish the peloader, left todo add decoder for each sectionheader, add the base address when u call a brain, and some other minior fix
2. fix some comment that was wrong. 
 

svn path=/trunk/; revision=25434
2007-01-13 09:56:05 +00:00
Magnus Olsen 2aab0c74eb backport the start of a pe loader,
backport allot of bug fix. like open file, reading file.
My working copy have allot of hacks and is a big mess. This stuff is cleanup from it.  

svn path=/trunk/; revision=25433
2007-01-12 21:11:44 +00:00
Dmitry Gorbachev a8dce67086 Thai language support: keyboard layout
svn path=/trunk/; revision=25431
2007-01-11 22:44:26 +00:00
Christoph von Wittich c4d9ae3316 added target depmap to makefile
svn path=/trunk/; revision=25430
2007-01-11 20:33:04 +00:00
Christoph von Wittich 44592e4e76 added a dependencymap backend (it doesn't do anything yet)
svn path=/trunk/; revision=25429
2007-01-11 20:32:20 +00:00
Peter Ward c093c9b6b5 - Fix a couple of typos, patch by GreyGhost.
svn path=/trunk/; revision=25426
2007-01-11 15:22:04 +00:00
Peter Ward 98a086245c - Applied patch for "Invalid Sync after loading BLUE.SYS (bootCD-dbg)".
- See issue http://www.reactos.org/bugzilla/show_bug.cgi?id=1953
- Patch by Dmitry G. Gorbachev (hto at mail cnt dot ru).

svn path=/trunk/; revision=25425
2007-01-11 14:47:50 +00:00
Timo Kreuzer dc8aa9ffd7 - Make IntSystemParametersInfo send a WM_SETTINGCHANGE message when needed.
- Some code cleanup

svn path=/trunk/; revision=25423
2007-01-10 23:55:53 +00:00
Timo Kreuzer b2c4c0e76e Don't remove keyboard focus from any other window than the one that was disabled.
svn path=/trunk/; revision=25422
2007-01-10 23:48:02 +00:00
Thomas Bluemel 11f6279e11 Fix warnings
svn path=/trunk/; revision=25421
2007-01-10 22:52:07 +00:00
Hervé Poussineau f1f9bb147e Don't rely on stdio.h to define EOF, as native stdio.h can conflict with ROS headers
svn path=/trunk/; revision=25419
2007-01-10 20:02:41 +00:00
Hervé Poussineau d9466bc852 Move up wpp include, as it is needed by widl
svn path=/trunk/; revision=25418
2007-01-10 19:57:52 +00:00
Hervé Poussineau e6f6ed291d Disable some boot options on non-x86 platforms.
You can enable them again for specific platforms if needed.

svn path=/trunk/; revision=25417
2007-01-10 19:48:35 +00:00
Hervé Poussineau 263d5e238b Allow use of ROS_PREFIX on MS Windows platforms (needed for cross-compiling)
svn path=/trunk/; revision=25416
2007-01-10 19:39:52 +00:00
Hervé Poussineau 35f20cc413 Move x86 specific part to i386/ directory.
Fix a few warnings

svn path=/trunk/; revision=25415
2007-01-10 19:39:01 +00:00
Timo Kreuzer de1bca6b2c sorry, forgot to remove that line
svn path=/trunk/; revision=25414
2007-01-10 18:31:33 +00:00
Alex Ionescu b432f6d20f - Fix build.
svn path=/trunk/; revision=25413
2007-01-10 06:09:57 +00:00
Timo Kreuzer b824f04492 remove focus from window, when it gets diabled
- fixes bug 843
See issue #843 for more details.

svn path=/trunk/; revision=25412
2007-01-10 04:51:27 +00:00
Alex Ionescu 6af685313a - Commit NTLPC and remove old implementation.
- Yeah, this adds another regression on top of the new Ob stuff, but in the end it's for the better, as it removes more race conditions and buggy code.
- This whole week I've fixed about 45 bugs and removed a dozen race conditions, sorry for the 2-3 regressions, they will be fixed ASAP. 
- DELETE MAKEFILE.AUTO BEFORE BUILDING THIS BUILD.

svn path=/trunk/; revision=25411
2007-01-10 04:27:40 +00:00
Timo Kreuzer d8160f0676 Make NtUserSetFocus accept NULL window.
svn path=/trunk/; revision=25410
2007-01-10 04:23:33 +00:00
James Tabor 78749a977a Should be 7 zeros not 6.
svn path=/trunk/; revision=25409
2007-01-10 03:42:10 +00:00
Alex Ionescu 70d1578a28 - Implement ObReferenceProcessHandleTable and ObDereferenceProcessHandleTable and use them where appropriate to avoid race issues if the process is being killed meanwhile.
- Implement ObpReferenceProcessObjectByHandle and simplfy ObDuplicateObject.
- Disable hard errors while closing handles, and protect against races. Also print our error message since it seems handles aren't being closed now (message displays leak count).
- Honour DUPLICATE_CLOSE_SOURCE during failure paths in ObDuplicateObject, and catch race conditions.
- Add some more sanity checks and speed up some internal referencing.

svn path=/trunk/; revision=25408
2007-01-10 03:35:59 +00:00
Alex Ionescu 6e3ccb6ffd - Fix a bug in ExfWakePushLock.
- Implement object directory locking to avoid race conditions in Ob and enable most of the query referencing code.

svn path=/trunk/; revision=25407
2007-01-10 01:00:46 +00:00
Eric Kohl 8fb22da8e5 - Add currency page controls.
- Display currency format information.

svn path=/trunk/; revision=25406
2007-01-09 23:00:21 +00:00
James Tabor 208da846ac Implement new keyboard driver and layout structures to help Saveliy Tretiakovs LoadKeyboardLayout implementation.
svn path=/trunk/; revision=25405
2007-01-09 22:55:40 +00:00
Johannes Anderwald cf06d4975f Updated French translation by Pierre Schweitzer 2007 (heis_spiter AT hotmail DOT com)
See issue #1969 for more details.

svn path=/trunk/; revision=25404
2007-01-09 22:02:17 +00:00
Alex Ionescu f9c3ffa9d1 - Heavy cleanup of locking and lookup macros in ob_x.h.
- Add calls to ObpInitializeDirectoryLookup where required.
- Fixup calls to ObpAcquireDirectoryLockExclusive, but still keep them stubbed out for now.

svn path=/trunk/; revision=25403
2007-01-09 21:48:26 +00:00
Johannes Anderwald 9b6f258861 - czech translation by Kamil Hornicek, hornik1@fel.cvut.cz
See issue #1959 for more details.

svn path=/trunk/; revision=25402
2007-01-09 21:21:52 +00:00
Johannes Anderwald 87b814835f - i prefer tabs
svn path=/trunk/; revision=25401
2007-01-09 20:41:14 +00:00
Alex Ionescu 43075eb308 - Fix Port and Section Object Type creation by specifying a valid ValidAccessMask when creating the types.
- NTLPC "Branch": Ports need to maintain a Type List.
- Use proper access mode in parse callbacks.
- Properly validate the access mask given to ObpCreate(Unnamed)Handle and only grant valid bits according to ValidAccessMask.
- Use InterlockedExchangeAdd for reference count bias instead of looping on a single increment.
- Only return the object if the caller did any bias to it.
- Detach from the process much later, since exclusive process support and handle table database needs to be in the same context as the owner.
- Add audit calls to ObpCreateHandle.
- Add stubbed out calls to ObpCleanupDirectoryLookup in ObpCreateHandle.

svn path=/trunk/; revision=25400
2007-01-09 17:18:22 +00:00
Christoph von Wittich d12b251a36 don't include the Iso targets in the workspace
svn path=/trunk/; revision=25399
2007-01-09 12:28:30 +00:00
Magnus Olsen 022849644c minor changes, for be use later, adding some new data types
svn path=/trunk/; revision=25398
2007-01-09 10:53:19 +00:00
Alex Ionescu 3a79b7cfd8 - Hold reference to the current directory and to the current parent directory during lookups.
- Add more stubbed out cleanup code.

svn path=/trunk/; revision=25397
2007-01-09 09:37:36 +00:00
Alex Ionescu 5676292f72 - Complete the hack that's already in SeAccessCheck to also return STATUS_SUCCESS if we return TRUE always. Otherwise, code might weirdly fail.
- Save parent directory during lookups and check if the caller has the right to traverse it, if we ever need to.
- Optimize the configuration of the lookup context so that it's only done when necessary, add stub calls to lock the directory.

svn path=/trunk/; revision=25396
2007-01-09 09:30:43 +00:00
Alex Ionescu 96b09e8f09 - Add missing code to ObpLookupDirectoryEntry.
- Add calls to ObpInitailizeDirectoryLookup.
- Add calls to ObpCleanupDirectoryLookup but disable them for now.
- Add calls to ObpAcquireDirectoryLock but disable them for now.

svn path=/trunk/; revision=25395
2007-01-09 09:07:36 +00:00
Alex Ionescu fe1190c599 - Enable sanity check in ObInsertObject to catch assholes that were calling it incorrectly (without a Handle output parameter, which is only allowed in a specific scenario). Changes:
- Registry code which was calling ObInsertObject for no reason at all. Now an ugly hack has been added to Cm code to perform the only operation the insert did -> to free the create info.
   - SeSubProcessToken was broken and calling it incorrectly, fixed.
   - \Device\PhysicalMemory was being inserted incorrectly, fixed.
   - Boot-time driver objects were being inserted for no reason, call removed.
- Support the only case of ObInsertObject where it is OK to call it without an output handle. This codepath will only charge quota instead of creating the full-blown handle.

svn path=/trunk/; revision=25394
2007-01-09 08:38:07 +00:00
Alex Ionescu 612a4059a4 - Merge some local changes from my version of ObpLookupObjectName:
- Fixup the way we allocate object names: use paged pool instead of non-paged pool, detect insufficient memory case, detect failure to insert entry into the object directory, use name length, not maximum length when copying, use RtlCopy, not RtlMove.
   - Support forcing of case-insensitivity and OBJ_FORCE_ACCESS_CHECK.
   - Call ObCheckCreateObjectAccess and fail if access isn't granted.
   - Call ObpCheckTraverseAccess if traversing a directory fomr user-mode and fail lookup if access wasn't granted.
   - Fixup return of proper error code if we reparsed.
   - Add FIXME note for SeCreateGlobalPrivilege check which is missing.
   - Add callout IRQL checks around parse callouts.
   - Rename some variables for clearer meaning.
   - Add an extra reference when calling the parse routine in the reparse case.

svn path=/trunk/; revision=25393
2007-01-09 07:54:19 +00:00
Alex Ionescu 6829abde13 - Add internal macros for acquiring the object directory pushlock during lookup (not yet used).
- Add internal macros for incrementing/decrementing query references, and use them where appropriate. Do not yet support the path for an object which is currently being defer deleted.
- Add internal macros for cleaning up a directory lookup (not yet used and needs renaming/cleanup), initializing a directory lookup (not yet used).
- Don't call security callback in ObpDeleteNameCheck. Make sure permanent flag is still cleared after acquiring type lock. Add special call for symboilc links. Add commented out calls to lock the object directory.

svn path=/trunk/; revision=25392
2007-01-09 07:28:40 +00:00
Timo Kreuzer 0202185efa implement SPI_SETNONCLIENTMETRICS in SystemParametersInfoA
svn path=/trunk/; revision=25391
2007-01-09 01:19:52 +00:00
Christoph von Wittich 5b83954756 -don't create project files for the ISO targets
-use the new extended_obj_names to prevent C::B from linking the wrong libs
-change project file version to 1.6
-compile spec, S, asm and idl files
-delete the temp rc files after building

svn path=/trunk/; revision=25390
2007-01-09 00:17:23 +00:00
Alex Ionescu 9de4aee541 - Make ObpReleaseCapturedName an actual function and rename it to ObpFreeObjectNameBuffer. Fix a bug in this function which was causing it to attempt freeing the UNICODE_STRING structure instead of the actual buffer.
- Implement ObpAllocateObjectNameBuffer instead of inlined code in ObpCaptureObjectAttributes. Enable usage of the Name Buffer Lookaside List since the bug in ObpFreeObjectNameBuffer has now been fixed. This should result in significant speedup and less fragmentation of pool memory.
- Allocate object names in the paged pool instead of non-paged pool, if we can't use the lookaside list.

svn path=/trunk/; revision=25389
2007-01-08 21:02:22 +00:00
Eric Kohl 00207351ec - Add hit-testing to the preview control (almost complete).
- Add selected item combobox.
- Select item in the combobox upon clicking on an item in the preview window.

svn path=/trunk/; revision=25388
2007-01-08 20:55:47 +00:00
Alex Ionescu 27fda62288 - "No files where added or changed, there is nothing to see here" <= Yeah, thanks a lot Tortoise.
svn path=/trunk/; revision=25387
2007-01-08 20:52:45 +00:00
Timo Kreuzer adf72c70d0 Clean up tabs / spaces mix (no code change)
svn path=/trunk/; revision=25386
2007-01-08 20:01:04 +00:00