Commit graph

767 commits

Author SHA1 Message Date
Magnus Olsen
78674981d1 split up all testcase to own file. the size are growning
svn path=/trunk/; revision=25981
2007-03-04 11:57:44 +00:00
Magnus Olsen
5b73c362ba adding so dump can decoding pCallBackFlags[0] so we do not need calc out what hardware acclations DD_CALLBACKS support.
svn path=/trunk/; revision=25980
2007-03-04 11:45:29 +00:00
Saveliy Tretiakov
3a94758ff5 Fix installname
svn path=/trunk/; revision=25902
2007-02-24 18:16:50 +00:00
Magnus Olsen
fbf5933eb6 adding -dump as param to dumping out all struct and data
svn path=/trunk/; revision=25901
2007-02-24 13:58:25 +00:00
Magnus Olsen
da00b2ed98 adding more testcase for NtGdiDdQueryDirectDrawObject
svn path=/trunk/; revision=25900
2007-02-24 13:32:09 +00:00
Magnus Olsen
a640e4e2d6 adding more testcase for NtGdiDdQueryDirectDrawObject
svn path=/trunk/; revision=25899
2007-02-24 12:24:31 +00:00
Magnus Olsen
06b4e06c8a win32k dx test are now compatible with all Windows and ReactOS that got a d3d8thk.dll file
rember that file are diffent for Windows 2000 and Windows XP/2003 ReactOS d38thk.dll are Windows XP/2003 compatible. 

svn path=/trunk/; revision=25878
2007-02-22 19:21:10 +00:00
Magnus Olsen
e565b89550 adding file dump.c it contain printf stuff to dump some struct to the screen it can make debuging more easy. but if u build reactos with DBG=0 you will not see the dump of the stuct I mabe will add a option to it when u start this tools so it dump data when u use the options.
svn path=/trunk/; revision=25829
2007-02-17 15:01:01 +00:00
Magnus Olsen
77c7470539 adding more test case for test_NtGdiDdQueryDirectDrawObject not complete yet
svn path=/trunk/; revision=25824
2007-02-16 20:14:24 +00:00
Sylvain Petreolle
0273f0c479 fix include file case
svn path=/trunk/; revision=25817
2007-02-16 16:57:09 +00:00
Magnus Olsen
a20e414f6a fixed all dam warings before some start nag on me
svn path=/trunk/; revision=25816
2007-02-16 16:48:54 +00:00
Magnus Olsen
11e0777755 adding a NULL test for NtGdiDdQueryDirectDrawObject
svn path=/trunk/; revision=25815
2007-02-16 16:43:27 +00:00
Magnus Olsen
9e44309042 -- Rewrite how we should do syscall now we define the syscall number in a include files. if we getting syscall table for another windows version and sp we can simple adding it to a another include file and use that file to run other that windows. rember the syscall table is diffent in all version of windows and reactos. if u compile this version in vs u will only be avail run it in windows 2000 sp4 and not under any windows version.
-- add one more testcase (NtGdiDdDeleteDirectDrawObject)
-- start adding thrid testcase (NtGdiDdQueryDirectDrawObject), this one will take bit longer to completed but I add a stub for it for now. 

svn path=/trunk/; revision=25814
2007-02-16 16:27:46 +00:00
Timo Kreuzer
9cead0e330 -check wich control send the WM_NOTIFY
-don't include ProcessID 0 two times

svn path=/trunk/; revision=25792
2007-02-12 04:42:53 +00:00
Magnus Olsen
d10a481476 Implement test for NtGdiDdCreateDirectDrawObject works in windows 2000 sp4, only if u remove __REACTOS__ or using the vs project file. have not tested in reactos yet. but it should work.
svn path=/trunk/; revision=25790
2007-02-11 16:57:31 +00:00
Timo Kreuzer
8c6bd0b95a A gdi handle viewer.
There's currently a hack, to make it work on ROS, OpenProcess() crashes ROS, so currently you will not see the processes names.

svn path=/trunk/; revision=25755
2007-02-08 23:29:24 +00:00
Magnus Olsen
70ab8ffa3c start implement detections of export functions name. not finish does not working yet. Only fix pe loader so it works
svn path=/trunk/; revision=25658
2007-01-28 19:52:02 +00:00
Sylvain Petreolle
17291b0214 fix case (2nd try)
svn path=/trunk/; revision=25590
2007-01-22 09:33:42 +00:00
Sylvain Petreolle
7b65b5fdf8 fix case
svn path=/trunk/; revision=25589
2007-01-22 09:24:42 +00:00
Magnus Olsen
2bdeda8d07 fixing a small disambler bug for mr
svn path=/trunk/; revision=25553
2007-01-21 15:06:57 +00:00
Magnus Olsen
9a661e9b1c comment out packmgr for it can not be build at moment. some should take a look at it.
svn path=/trunk/; revision=25551
2007-01-21 11:32:28 +00:00
Magnus Olsen
b760238f4d sorry ia32 should be own folder
svn path=/trunk/; revision=25544
2007-01-20 13:39:01 +00:00
Magnus Olsen
fb71b542de start add mr op code causeome new bug for ppc
svn path=/trunk/; revision=25543
2007-01-20 13:33:42 +00:00
Magnus Olsen
5b7bc2d57e forgot thuse file
svn path=/trunk/; revision=25542
2007-01-20 13:32:26 +00:00
Magnus Olsen
a07e330040 forgot this file
svn path=/trunk/; revision=25541
2007-01-20 13:30:04 +00:00
Magnus Olsen
fa8f26e7c6 Fixing the src and dst of register so they are being read right (PPC brain)
Adding stw for dissembler and converting (PPC and IA32)
Fixing a counter bug in ConvertBitToByte, ConvertBitToByte32, GetMaskByte, GetMaskByte32
we did miss one bit calculation when we count the mask the bit 0 

svn path=/trunk/; revision=25527
2007-01-19 08:20:42 +00:00
Magnus Olsen
0cb4e210e1 Fixing another bug in converting
PPC 
stwu r1,-32(r1) 

equal with intel
mov [esp-32],esp; 
mov esp, esp - 32; 

svn path=/trunk/; revision=25518
2007-01-18 22:09:08 +00:00
Magnus Olsen
a286bd796f Adding stwu to converting to ia32
fixing some smaller bug when it was disabmler
fixing dymatic translations of abi for ppc and ia32


svn path=/trunk/; revision=25517
2007-01-18 21:35:48 +00:00
Magnus Olsen
36a8eccf27 Implement disambler for stwu, left todo add it to the Converter
svn path=/trunk/; revision=25514
2007-01-18 19:33:48 +00:00
Magnus Olsen
e6cfb666ca Fixing some ppc disambler bugs. Li are not 100% test it can contain some fault.
Fixing Li bug the register for dest was wrong calctions see file OpCodePPC.txt.
fixing some meaing in ReadMe.txt


svn path=/trunk/; revision=25511
2007-01-18 15:40:37 +00:00
Magnus Olsen
48cd2b3e75 Expain how the bit order works and how get the opcode. The IBM and freescale manual for ppc cpu are not good expain it.
now I got less headic, and got understainf how to decoding the manual and how the opcode are store. 
  

svn path=/trunk/; revision=25507
2007-01-18 13:43:17 +00:00
Magnus Olsen
4da115c6b5 Adding a opcode list, which opcode we are supportin convert from
svn path=/trunk/; revision=25506
2007-01-18 12:04:24 +00:00
Magnus Olsen
22033f60ea fixing dymatic abi for ppc, and implement a dymatic abi even for ia32 converter
svn path=/trunk/; revision=25500
2007-01-17 20:25:46 +00:00
Magnus Olsen
3f44d73a4b fixing count how many reg we are using. so we can setup a frame pointer
svn path=/trunk/; revision=25499
2007-01-17 18:47:08 +00:00
Magnus Olsen
d1aa0d32ae Adding m68k,arm,ia32,ppc to ppc convert.
Remove the old disambler list from ppc to ppc 
implement new ppc to ppc disambler that are allot better at end. 

svn path=/trunk/; revision=25498
2007-01-17 17:35:18 +00:00
Magnus Olsen
65747168ef fixing a bug did write end code for frame pointer that we do not have
tempary fix, we can not optimize code so good yet. so if it more that 4 register same time we are using own frame, ebx is working as our ebp for we already resvert  the ebp 

svn path=/trunk/; revision=25497
2007-01-17 16:23:39 +00:00
Magnus Olsen
af42a0cc24 fixing the ppc to ia32 break, use ebx as ebp if we got to many register.
svn path=/trunk/; revision=25496
2007-01-17 15:31:47 +00:00
Magnus Olsen
69999a5ad4 This break the ppc disambler support and convert to ia32, temporary
I change the desgin lite to preopare the ia32 to ppc 

svn path=/trunk/; revision=25495
2007-01-17 15:02:43 +00:00
Magnus Olsen
363cf7f261 the public frist version that can convert arty testms.exe that are commited to powerpc branch in the alink folder.
the program doing main() ( return 0 )
fixing minior bugs as well

svn path=/trunk/; revision=25453
2007-01-14 18:01:56 +00:00
Magnus Olsen
bb89b8709c delete ImageLoaer.c until I time rewrite it
svn path=/trunk/; revision=25451
2007-01-14 17:16:38 +00:00
Sylvain Petreolle
93c3b784de fix warnings
svn path=/trunk/; revision=25450
2007-01-14 15:21:35 +00:00
Magnus Olsen
f74e30f8ca Adding stub for AnyalsingProcess and ConvertToIntelProcess
svn path=/trunk/; revision=25449
2007-01-14 13:54:19 +00:00
Magnus Olsen
7c96cb069a adding blr opcode (can not found it in the ibm or motorala doc, the primary opcode refens to addi).
now we can disambler two opcode the li and blr, add blr to my own asm langues. 

svn path=/trunk/; revision=25448
2007-01-14 12:10:53 +00:00
Magnus Olsen
0764ca19ac Fixing a bug in ppc opcode Li
Fixing the memory leak bug
Full implement of the Li 
Convert Li to my own asm langues, opcode move reg,imm
Left todo is add the anyalying process and converting process, after that we can translate our frist public pe file for ppc to intel
with one opcode, it must be Li 



svn path=/trunk/; revision=25447
2007-01-14 10:57:18 +00:00
Magnus Olsen
c96114a82c start on adding the own langues, this version create a memory leak if u try run this tool in translate mode. but not in
disambler mode. (only true for ppc brain about memory leak)

svn path=/trunk/; revision=25445
2007-01-13 23:26:32 +00:00
Magnus Olsen
95c8fa90a8 1. fixing a layout bug
2. frist disambler output for public, the public version can now disambler ppc li rA,imm that all at moment

svn path=/trunk/; revision=25444
2007-01-13 22:09:11 +00:00
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
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
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
Magnus Olsen
7d473e742a do not build hello as GUI apps it is CUI apps. printf is redirect in GUI apps and does not output to console. Now we change to CUI, printf are redirect to console when it build as CUI.
svn path=/trunk/; revision=25292
2007-01-04 14:46:20 +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
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
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
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
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
Maarten Bosma
e564de2bbd Make it a compile time choice, whether you want to use a clipper or not, because our ddraw does not support it yet.
svn path=/trunk/; revision=25130
2006-12-12 17:51:50 +00:00
Magnus Olsen
9e2ffe9e12 fixing a small bug : LTEXT, GROUPBOX, DEFPUSHBUTTON, PUSHBUTTON, ICON, EDITTEXT, LISTBOX, COMBOBOX (function DialogCMDBuild1) adding a emty style tag to thuse xml syntax.
fixing a small bug : Rename MENUSEPARATOR to MENUITEMSEPERATOR
Thanks frik85 

svn path=/trunk/; revision=24850
2006-11-27 15:45:23 +00:00
Magnus Olsen
cb8322a4e3 remove two compiling warnings thx frik85 to notice it.
svn path=/trunk/; revision=24768
2006-11-16 15:56:10 +00:00
Magnus Olsen
2c691e6c16 return code scanner for D3DParseUnknownCommand to figout what it support.
svn path=/trunk/; revision=24596
2006-10-22 07:15:06 +00:00
Ged Murphy
41ba900587 - test app to display both the system and device image lists.
- this app confirms the overlay icons in the device image list are part of the list.

svn path=/trunk/; revision=24573
2006-10-19 16:55:11 +00:00
Magnus Olsen
fead15e683 adding windows 28592 (iso-2859-2) latin2 to ansi to utf -8 converter in roswebparser
svn path=/trunk/; revision=24556
2006-10-17 15:16:06 +00:00
Aleksey Bragin
95d350f6fe Having two cats with the same name in one repository is too much
svn path=/trunk/; revision=24555
2006-10-17 15:02:51 +00:00
Magnus Olsen
7c6ad03034 adding ansi to utf-8 converting
support follow code pages
oem437, oem850, windows28591 ( iso-2859-1 Latin 1)

svn path=/trunk/; revision=24527
2006-10-15 19:07:19 +00:00
Magnus Olsen
3138af456a commit rc languages to xml parser for the webservre and standalone.
svn path=/trunk/; revision=24213
2006-09-20 14:38:37 +00:00
Aleksey Bragin
54a6548aa7 Fix inconsistent formatting and other trails of GreatLord's fixing
svn path=/trunk/; revision=24043
2006-09-10 20:12:16 +00:00
Aleksey Bragin
a9bca34078 Dmitry Philippov: Fix GCC4 warning
svn path=/trunk/; revision=24018
2006-09-10 09:31:44 +00:00
Aleksey Bragin
249e8c91ba Dmitry Philippov: GCC 4 compiling fixes for PackMgr and tests/wm_paint
svn path=/trunk/; revision=23985
2006-09-09 11:41:24 +00:00
Magnus Olsen
861ae4bcca fixed rosapps so it compiles again
svn path=/trunk/; revision=23957
2006-09-07 11:10:27 +00:00
Magnus Olsen
01acfd4778 fixed follow test, acclertor, alive, alphablend, bitblt, button, button2, capclock, carets, combotst, dibtest, dirdlg, DxHalTest, edit, enhmetafile, enumfonts, enumwnd, enumws, gradient, hello, hivtest, icontest, lineclip, linetest, mdi, midtest
svn path=/trunk/; revision=23956
2006-09-07 10:31:37 +00:00
Magnus Olsen
433252a084 fixed ctm, kill, lsdd, man, regexpl, tcat can be build again
svn path=/trunk/; revision=23955
2006-09-07 10:01:22 +00:00
Magnus Olsen
d6a960a884 fixed so packmgr builds again
svn path=/trunk/; revision=23954
2006-09-07 09:53:25 +00:00
Magnus Olsen
c410304d3c fixed waring msg newline
svn path=/trunk/; revision=23953
2006-09-07 09:46:50 +00:00
Magnus Olsen
d287153576 fixed all network apps in rosapps.
svn path=/trunk/; revision=23952
2006-09-07 09:42:17 +00:00
Magnus Olsen
e3d7c1e7aa 1. fixed mc build again
2. fixed some warnings

svn path=/trunk/; revision=23951
2006-09-07 09:17:39 +00:00
Magnus Olsen
a5ea7e70cd fixed gdb2 build thx hpoussin for the host info
svn path=/trunk/; revision=23949
2006-09-07 08:50:42 +00:00
Magnus Olsen
fa303561af fixed build for ddraw_demo
svn path=/trunk/; revision=23948
2006-09-07 08:29:06 +00:00
Magnus Olsen
e32b3e7588 fixed build for maze again
svn path=/trunk/; revision=23947
2006-09-07 08:26:54 +00:00
Magnus Olsen
b780b50b58 fixed build for touch again
svn path=/trunk/; revision=23946
2006-09-07 08:23:54 +00:00
Magnus Olsen
49b27aaae4 fixed mode can be compile again.
svn path=/trunk/; revision=23945
2006-09-07 08:20:29 +00:00
Hervé Poussineau
e094312326 Fix compilation of rosapps with gcc 3.4.5.
Thanks Gge on IRC

svn path=/trunk/; revision=23912
2006-09-04 16:29:00 +00:00
Klemens Friedl
b32b0a47c8 samba-tng: update the description
svn path=/trunk/; revision=23741
2006-08-27 12:28:22 +00:00
Klemens Friedl
b5e0a940b1 add samba-tng to the packmgr repo
svn path=/trunk/; revision=23724
2006-08-26 18:43:44 +00:00
Ged Murphy
7adefa6232 move uptime to rosapps so Alex doesn't blow up into teeny weeny pieces ;)
svn path=/trunk/; revision=23702
2006-08-25 10:11:57 +00:00
Andrew Munger
844073d973 Update the hardcoded ViewCVS URL. Now packmgr works on the bootcd.
svn path=/trunk/; revision=23529
2006-08-08 21:19:11 +00:00
Magnus Olsen
66b40e74ee rename some file from xml to rbuild.
Now all rename is done. 

svn path=/trunk/; revision=23349
2006-07-29 15:23:19 +00:00
Magnus Olsen
677d2a40df Remove welcome from rosapps, we already it in reactos/base/....
svn path=/trunk/; revision=23347
2006-07-29 14:34:22 +00:00
Magnus Olsen
f50ffbf8c4 remove welcome from rbuild file
svn path=/trunk/; revision=23346
2006-07-29 14:33:39 +00:00
Magnus Olsen
3524699490 Remove format from rosapps, we already it in reactos/base/....
svn path=/trunk/; revision=23345
2006-07-29 14:32:05 +00:00
Magnus Olsen
ae5ead0153 Fixing some renname of xml to rbuild
svn path=/trunk/; revision=23344
2006-07-29 14:26:28 +00:00
Magnus Olsen
f909be8aaa rename some file from xml to rbuild.
svn path=/trunk/; revision=23343
2006-07-28 21:30:18 +00:00
Magnus Olsen
30c6b3bace making rosapps build again
svn path=/trunk/; revision=23338
2006-07-28 21:00:14 +00:00
Magnus Olsen
d01cb10386 Moved cmdutils command more remotely
svn path=/trunk/; revision=23335
2006-07-28 20:48:20 +00:00
Magnus Olsen
397361df50 Moved cmdutils command find remotely
svn path=/trunk/; revision=23334
2006-07-28 20:47:22 +00:00
Maarten Bosma
6eca31ac9d - Use clipper so we can use a normal instead of a popup window
- Fix my old coding style and get rid of main.h
- Change he color to pink for alternation

svn path=/trunk/; revision=23172
2006-07-19 10:30:30 +00:00