Commit graph

23396 commits

Author SHA1 Message Date
Eric Kohl f3908f6d83 Add the appearance preview control. Right now it doesn't do much but sitting there and looking great. ;-)
svn path=/trunk/; revision=25279
2007-01-02 21:53:26 +00:00
Magnus Olsen 88784c27ec remove #define IMAGE_FILE_MACHINE_* from elf32.c it hack for we did miss them in the winnt.h header before, now seen few rev back we got them in right place.
svn path=/trunk/; revision=25278
2007-01-02 17:01:21 +00:00
Maarten Bosma 30c9c68789 Comment out definition of IMAGE_FILE_MACHINE_ARM to fix compilation - please fix properly.
svn path=/trunk/; revision=25277
2007-01-02 11:43:12 +00:00
Peter Ward f17d99c983 - Add the rtltypes.h change from r25264 back and add the define for HEAP_CREATE_ENABLE_EXECUTE to winnt.h, this, I believe, is the proper fix.
svn path=/trunk/; revision=25276
2007-01-02 10:25:51 +00:00
Aleksey Bragin b977a28611 Revert rtltypes.h change from r25264 until a proper fix is found.
svn path=/trunk/; revision=25275
2007-01-02 09:53:01 +00:00
Magnus Olsen fe4dcf7a00 1. starting adding pe loader to cputointel to misc.c
2. move the loadimage stuff to own functions to misc.c
3. rewrite so loader call to brain* after it load the image.
4. setup main using the loader
5. add few more input param to main -in, -inexe, -in try autodetect type of file, -inexe try convert a PE file. 

svn path=/trunk/; revision=25272
2007-01-02 02:21:58 +00:00
Hervé Poussineau d9e5c48061 Fix HalXbox build
svn path=/trunk/; revision=25271
2007-01-01 23:55:40 +00:00
Maarten Bosma 8e087e40db Set explicitly set default icon when adding item to the applications tree view. Workaround for reactos bug.
svn path=/trunk/; revision=25270
2007-01-01 21:46:29 +00:00
Hervé Poussineau c5f27e3581 Move -enable-stdcall-fixup definition to .rbuild file. Other platforms may not need it.
svn path=/trunk/; revision=25269
2007-01-01 21:42:27 +00:00
Magnus Olsen d333f341a6 adding more define of IMAGE_SUBSYSTEM that we are missing
svn path=/trunk/; revision=25268
2007-01-01 21:32:21 +00:00
Maarten Bosma ca95529086 Add Samba TNG
svn path=/trunk/; revision=25267
2007-01-01 20:42:15 +00:00
Magnus Olsen 9f258befad adding allot IMAGE_FILE_MACHINE to winnt that we where missing
svn path=/trunk/; revision=25266
2007-01-01 20:21:43 +00:00
Johannes Anderwald d0297efd80 - msvc compability fix...
svn path=/trunk/; revision=25265
2007-01-01 14:59:05 +00:00
Hervé Poussineau f9b6e910f9 Better support for non X86 systems
svn path=/trunk/; revision=25264
2007-01-01 14:50:16 +00:00
Maarten Bosma 4afb3f0181 apps.xml => downloader.xml
svn path=/trunk/; revision=25263
2007-01-01 14:30:40 +00:00
Maarten Bosma 4e8d28cf9f - rename apps.xml to downloader.xml
- look first for the xml file in system32 then in current dir.

svn path=/trunk/; revision=25262
2007-01-01 14:29:26 +00:00
Magnus Olsen 3aa0dd271b Adding stubed arm4 for my CpuToIntel tool.
Now we got tree diffent arch we can port over to intel x86 asm. But this tool are experment tool

svn path=/trunk/; revision=25261
2007-01-01 13:37:24 +00:00
Maarten Bosma 718618b8a1 Remove flickering reducing trick, because it does not work under windows, and the problem does not exist under reactos anyway.
svn path=/trunk/; revision=25260
2007-01-01 12:59:11 +00:00
Magnus Olsen 791dced4bb adding a stubed ppc brain, to my cputointel tool
svn path=/trunk/; revision=25258
2007-01-01 00:30:58 +00:00
Magnus Olsen 00095b75ef 1. setup input param to main
2. implement cpu type flag in dummy and m68k 
3. Adding more opcode for m68k, but they are stubed 
Time to test the code and start implement m68k in next commit

svn path=/trunk/; revision=25257
2006-12-31 18:45:35 +00:00
Maarten Bosma eae92c1b5f include the xml of the downloader.
svn path=/trunk/; revision=25256
2006-12-31 17:40:39 +00:00
Maarten Bosma bd3f56c61d Recommit changes from cc branch, without the hackish changes to create.c.
svn path=/trunk/; revision=25255
2006-12-31 16:43:40 +00:00
Magnus Olsen 6da9503d34 1. Adding a dummycpu showing how you can write you own cpu brain.
2. Did make some cleanup work for m68k 

svn path=/trunk/; revision=25254
2006-12-31 16:03:07 +00:00
Hervé Poussineau adcf186642 ... also check the return of IoCreateSymbolicLink
svn path=/trunk/; revision=25253
2006-12-31 15:37:36 +00:00
Johannes Anderwald e415b04c90 - check if IoCreateDevice succeeded...
svn path=/trunk/; revision=25252
2006-12-31 15:28:20 +00:00
Magnus Olsen 39436f3008 initate work of a CPUtranslator, example M68k to Intel. it is writen so not only M68k can be added. it does not work at all. it is a ground layout how I should code it.
svn path=/trunk/; revision=25251
2006-12-31 14:59:07 +00:00
Saveliy Tretiakov 1282be6796 Fix a typo
svn path=/trunk/; revision=25250
2006-12-30 21:40:32 +00:00
Saveliy Tretiakov 34444545a2 Implement NtGdiPolyDraw (based on wine).
svn path=/trunk/; revision=25249
2006-12-30 20:46:05 +00:00
Aleksey Bragin 0651dba483 Comment out a call to GdiReleaseDC() since it spams debug log with unimplemented messages. I put up a FIXME so it gets uncommented once GdiReleaseDC() is implemented.
svn path=/trunk/; revision=25248
2006-12-30 11:04:20 +00:00
Maarten Bosma 6ef81ff9e1 Different folders for translations and other resources.
svn path=/trunk/; revision=25247
2006-12-30 10:11:58 +00:00
Magnus Olsen f67f7ee675 do not use hacked vfat drv revers the 25243
the hacked do not delete pendling or incomplte data 
and so on, 

svn path=/trunk/; revision=25246
2006-12-30 01:11:14 +00:00
Maarten Bosma f01a075e09 Add changes from cc rewrite brunch. The driver still works under the old cc because it makes use of the USE_ROS_CC_AND_FS define.
svn path=/trunk/; revision=25243
2006-12-30 00:37:52 +00:00
Maarten Bosma 8bf9208764 Add downloader to start menu.
svn path=/trunk/; revision=25242
2006-12-30 00:18:00 +00:00
Aleksey Bragin 4dfd67905c - Comment out the performance counting ("hits: xxx misses: yyy") part for the freetype lib.
svn path=/trunk/; revision=25241
2006-12-29 22:24:43 +00:00
Alex Ionescu 8f2eb74d99 - Fix OB_SECURITY_METHOD prototype, callers, and implementors.
- Add call to SeOpenObjectAuditAlarm in ObCheckObjectAccess.
- Start adding Ob Callout validation on checked builds. For now only done around security functions.
- Set *MemoryAllocated to FALSE in ObGetObjectSecurity early on to avoid inconcistent state if the callback failed.
- Implement new XP function ObSetSecurityObjectByPointer and simplify NtSetSecurityObject by making it use it.
- More Win 2003 SecurityDescriptor Cache functions to sdcache instead of obsecure.c.

svn path=/trunk/; revision=25240
2006-12-29 22:17:29 +00:00
Alex Ionescu 635dda87ec - Fix some subtle bugs in NtWaitForMultipleObjects/NtWaitForSingleObject:
- Fail if memory allocation failed.
  - Don't overwrite original captured handle value when decoding to kernel handle.
  - Use PAGED_CODE.
  - Check timeout validity first before probing the entire handle array.
- Fix a critical bug in NtSignalAndWaitForObject which was using the wrong object type (waitable object instead of signalled objecT).

svn path=/trunk/; revision=25239
2006-12-29 20:52:33 +00:00
Alex Ionescu c0a3750d26 - Fix critical bugs in exception handling: Unwinding was completely broken, using the wrong SEH protector to detect collided unwinding. The correct protector itself also had a broken check.
- Fix architectural bug in the entire TrapFrame<->Context conversion system and Ring Privilege Transitions (Inter-ring and intra-ring) which was lacking proper sanitation and validation of segments, flags and debug registers. Among other things, IOPL is now respected, CS is not KGDT_R0_CODE | RPL_MASK anymore, and the GPF code is now properly being called. This completely fixes exception handling being totally broken and crashing firefox installer, mirc, and other applications.
- Rewrite the page fault handler base code in assembly instead of relying on a broken C routine. Detect VDM, V8086, detecting expected/normal fault in ExpInterlockedPopEntrySList and faults in the system handler code. Rewrite MmAccessFault to be the main function that calls out to other sub-fault functions, and use the same prototype as NT.
- Fix the KGDT boot table to have proper granularity and big flags, and extend it to 256 entries.
- Create proper thread context in RtlInitializeContext and cleanup Rtl Thread routines.
- Remove all int3 and breakpoints from trap handlers, and replace them with a much better "UNHANDLED_PATH" macro which freezes the system, beeps, and displays a message with the line of code that's unhandled. This is to clearly tell the user that something is unhandled, instead of nesting infinite exceptions due to the int3.
- Fix a bug in INT_PROLOG.
- Sanitize EFLAGS and Code Segments in KeContextToTrapFrame and KeTrapFrameToContext.
- Implement KiUpdateDr7 and KiRecordDr7 as well as DR_MASK and other DR-validation macros and functions to protect against DR-vulnerabilites as well as to properly account for each active hardware breakpoint in a per-thread fashion by using the dispatcher header.
- Allow CR0_EM when running in a VDM.
- Fix FPU/NPX Register handling in KeContextToTrapFrame and KeTrapFrameToContext, and also speed it up by manual copying instead of a memory move.
- Properly give IOPL 3 to user-mode threads if they requested it.
- Detect GPF during GPF.
- Detect pagefault with a trap-frame spread over two or more pages and nested.
- Properly sanitize and set correct trap frame in KiInitailizeUserApc.
- Return STATUS_ACCESS_VIOLATION during page faults instead of STATUS_UNSUCESSFUL. 
- Fix assert in VdmSwapContext, as well as Code Selector check which was broken.
- Fix delayed object deletion (ObDeferDeleteObject) and the Ob Repear Routine and list.
- Update Kernel Fun.
- BUGBUG: Temporaily hack VMWare to detection to always detect VMWare.

svn path=/trunk/; revision=25238
2006-12-29 18:49:00 +00:00
Magnus Olsen 32b82baa21 commit same strechblt code for 8,16,32, it does not using putpixel anylong for 8 and 32, and small cleanup
this code can be makefaster, how remove getpixel that will doing huge incress in speed, split calc to
simple 1x 2x .. zoom in/out now we are using 1.1x 2.2x Zoom and 1x 2x zoom same code. if we split it we will
see a speed incress. 

svn path=/trunk/; revision=25237
2006-12-29 13:16:53 +00:00
Magnus Olsen 2e502d8d23 freetype cache glyth patch pass last all my test.patch
ogrinal author of this patch is royce3, modify by tinus so it work again with trunk,  ThePhysicist (timo dot kreuzer at web dot de) did fix the last bugs in it. at last long leave freetype glyth patch, now we got faster text output in reactos. and I where up to 38fps in winquake with this patch (debugbuild + serial debug on). This is very fast. I wonder what speed it give in release build or qemu now. 
   

See issue #511 for more details.

svn path=/trunk/; revision=25236
2006-12-29 00:09:54 +00:00
James Tabor 168bd92ec5 Implement GetDCDWord, update GetObjectType and printing.c fixups.
svn path=/trunk/; revision=25235
2006-12-28 22:36:53 +00:00
Maarten Bosma 7a40310c04 EmuandCo: More applications
svn path=/trunk/; revision=25234
2006-12-28 16:52:07 +00:00
James Tabor bc33042584 Work to date. Update and add more functions to printing.c.
svn path=/trunk/; revision=25232
2006-12-28 05:53:50 +00:00
Eric Kohl 69a2a4ca6e - Rename SCM_START_PACKET to SCM_CONTROL_PACKET.
- Rename SCM_START_COMMAND to SCM_CONTROL_START and use the unused value 0 of the SERVICE_CONTROL_ constants.
- Implement stop command.

svn path=/trunk/; revision=25231
2006-12-26 01:29:22 +00:00
Maarten Bosma 32bfd4a46f Error if download failed.
svn path=/trunk/; revision=25230
2006-12-25 19:25:27 +00:00
Maarten Bosma aa366332eb Add downloader to installation.
svn path=/trunk/; revision=25229
2006-12-25 17:09:33 +00:00
Magnus Olsen eac88d0a30 Update to lates dejavu font, version 2.13
1. 100% finish the Cyrillic for Sans font 
2. 41 new chars support
and allot more. 

svn path=/trunk/; revision=25228
2006-12-25 14:25:22 +00:00
Eric Kohl 8745000456 Add default screen saver.
svn path=/trunk/; revision=25227
2006-12-25 12:38:53 +00:00
Johannes Anderwald 515d199878 - remove stdcall decoration
svn path=/trunk/; revision=25226
2006-12-24 15:57:45 +00:00
Johannes Anderwald aaf231182d - remove stdcall decoration
- include winsock2.h before windows.h

svn path=/trunk/; revision=25225
2006-12-24 15:41:36 +00:00
Johannes Anderwald 8566616d62 - remove stdcall decoration
svn path=/trunk/; revision=25224
2006-12-24 15:36:32 +00:00