Commit graph

21435 commits

Author SHA1 Message Date
Alex Ionescu
8baa71bb63 - Added another MSVC intrinsic to gcc (BitScanReverse). Thanks to Vampyre.
- Added very basic and skeletal NUMA code when creating a thread and process, currently only does some basic affinity checks and settings.
- Added a table and helper function (KeFindNextRightSetAffinity) for calculating affinity masks and sets.
- Split KeInitailizeThread into KeStartThread and KeInitThread, and modified Ps code to use the calls. Now added a failure case where Init fails, but we don't have to backout the entire effects of a "Start".
- Changes based on WI4 and Windows Internals II.

svn path=/trunk/; revision=23111
2006-07-17 01:40:10 +00:00
Magnus Olsen
7c1513c7eb patch from LMH1 : Bug#: 1641 : Norwegian translation
svn path=/trunk/; revision=23110
2006-07-17 01:15:56 +00:00
Magnus Olsen
2a8df0cc3d patch from LMH1 : Bug#: 1637 : Norwegian translation
svn path=/trunk/; revision=23109
2006-07-17 01:10:56 +00:00
Magnus Olsen
e5278ff085 patch from temarez : Bug#: 1635 : Ukrainian translation update and some new translations
svn path=/trunk/; revision=23108
2006-07-17 00:51:49 +00:00
Magnus Olsen
3774cda832 patch from temarez : Bug#: 1635 : Ukrainian translation update and some new translations
svn path=/trunk/; revision=23107
2006-07-17 00:49:43 +00:00
Magnus Olsen
d96e5ccf7b patch from temarez : Bug#: 1635 : Ukrainian translation update and some new translations
svn path=/trunk/; revision=23106
2006-07-17 00:49:01 +00:00
Magnus Olsen
61883a6c33 patch from temarez : Bug#: 1635 : Ukrainian translation update and some new translations
svn path=/trunk/; revision=23105
2006-07-17 00:48:07 +00:00
Magnus Olsen
1743dd24ee patch from temarez : Bug#: 1635 : Ukrainian translation update and some new translations
svn path=/trunk/; revision=23104
2006-07-17 00:47:19 +00:00
Magnus Olsen
2258ebff5f patch from temarez : Bug#: 1635 : Ukrainian translation update and some new translations
svn path=/trunk/; revision=23103
2006-07-17 00:46:30 +00:00
Magnus Olsen
1ffbaf7d4a patch from temarez : Bug#: 1635 : Ukrainian translation update and some new translations
svn path=/trunk/; revision=23102
2006-07-17 00:45:10 +00:00
Magnus Olsen
539e91e037 patch from temarez : Bug#: 1635 : Ukrainian translation update and some new translations
svn path=/trunk/; revision=23101
2006-07-17 00:42:34 +00:00
Magnus Olsen
69c0fb3bfc patch from : Fork : Bug#: 1633 : Norwegian translation
svn path=/trunk/; revision=23100
2006-07-17 00:36:20 +00:00
Magnus Olsen
5b8262fc5d patch from : Fork : Bug#: 1633 : Norwegian translation
svn path=/trunk/; revision=23099
2006-07-17 00:33:59 +00:00
Magnus Olsen
243cd7fe80 patch from : Fork : Bug#: 1633 : Norwegian translation
svn path=/trunk/; revision=23098
2006-07-17 00:31:16 +00:00
Magnus Olsen
c1bf3efbbe patch from : Fork : Bug#: 1633 : Norwegian translation
svn path=/trunk/; revision=23097
2006-07-17 00:27:59 +00:00
Magnus Olsen
fddc4b77ba patch from Apal : Bug#: 1630 : Greek Translation files for explorer
svn path=/trunk/; revision=23096
2006-07-17 00:04:45 +00:00
Magnus Olsen
85afb97623 more code, from alex patch I got over one year ago, thanks alex for all help and for all code he wrote.
and sorry for the mess at moment in the file. it will be pretty large update to this file, for the patch have been lying on my 
harddisk for some time. 

+ remove dead code same time, almost whole alex big patch are in. 
+ clean up need 
+ Gdientry2 need some bugfix, but lest we got one now. 
+ vbe drv framebuf interface need some more dx hal api before it functions.


svn path=/trunk/; revision=23095
2006-07-16 23:32:57 +00:00
Aleksey Bragin
cb979df177 - Fix "ret 0" to "ret 4" in a fastcall function taking 3 parameters.
- Fix some prototypes in comments, so they correspond to reality

svn path=/trunk/; revision=23094
2006-07-16 21:40:11 +00:00
Hervé Poussineau
e66f23066f Implement NtQueryDirectoryObject, based on code which was deleted in revision 20004
svn path=/trunk/; revision=23093
2006-07-16 21:15:16 +00:00
Magnus Olsen
b4d66b0066 more code, from alex patch I got over one year ago, thanks alex for all help and for all code he wrote.
and sorry for the mess at moment in the file. it will be pretty large update to this file, for the patch have been lying on my 
harddisk for some time. 

1. Cleanup GdiEntry1 and optimze it by alex
    

svn path=/trunk/; revision=23092
2006-07-16 21:10:13 +00:00
Magnus Olsen
63acffc926 more code, from alex patch I got over one year ago, thanks alex for all help and for all code he wrote.
and sorry for the mess at moment in the file. it will be pretty large update to this file, for the patch have been lying on my 
harddisk for some time. 

svn path=/trunk/; revision=23091
2006-07-16 20:35:25 +00:00
Aleksey Bragin
edcb8de7a6 Alexey Minnekhanov: Improve monitor.bmp for desk.cpl
svn path=/trunk/; revision=23090
2006-07-16 20:10:48 +00:00
Aleksey Bragin
359a5de1ec Slightly improve debug prints in IoInvalidateDeviceRelations()
svn path=/trunk/; revision=23089
2006-07-16 20:05:18 +00:00
Magnus Olsen
7601691d1b Start implement code that alex for one year ago, thanks alex for all help and for all code he wrote.
and sorry for the mess at moment in the file. it will be pretty large update to this file, for the patch have been lying on my 
harddisk for some time. 

svn path=/trunk/; revision=23088
2006-07-16 19:03:46 +00:00
Magnus Olsen
3e29a1f5b1 start implement of gdientry2, for moment it return incorrect info. and does not fill some stuff right.
we are return alot of kernel pointer and does not setup alot stuff right, see it as start ground.
I do not want lose this start code again. it will be add in modifcate alot.   

svn path=/trunk/; revision=23087
2006-07-16 18:12:13 +00:00
Aleksey Bragin
3cf55b986d [AUDIT]
fmifs.dll

It is completely clean, because it's only stubs without any code. The only pair of coded functions are trivial "pass-through"/wrappers.

svn path=/trunk/; revision=23086
2006-07-16 17:38:03 +00:00
Alex Ionescu
03d4c9af39 - Added constants for all the ETHREAD flags so when we use Interlocked operations to edit them, a nice symbolic name is there isntead of a magic hex value.
- Fixed a bug in PspUserThreadStartup which was causing us to notify the debugger for system threads or hidden threads, instead of vice-versa.
- Documented cookie generation for Thomas.
- Threads were incorrectly created with KernelMode access instead of PreviousMode.
- Initialize the thread's rundown protection and use the process's.
- Handle failure when TEB = NULL.
- The LPC Semaphore has a limit of 1, not 0x7FFF.

svn path=/trunk/; revision=23085
2006-07-16 17:19:21 +00:00
Hervé Poussineau
72185bb72b [FORMATTING] Replace tabs by spaces
Replace some DPRINT1 by DPRINT

svn path=/trunk/; revision=23084
2006-07-16 17:00:39 +00:00
Ged Murphy
2f8950ce51 {AUDIT]
rossym
ROS specific lib

svn path=/trunk/; revision=23083
2006-07-16 15:32:42 +00:00
Johannes Anderwald
63a3c06ea0 * check return value of RtlDeleteAtomFromAtomTable
* simply, optimize, bugfix UserRegisterClass 
* allow de-registration for system classes
* set ERROR_CLASS_DOES_NOT_EXIST in case of errors
* reduces user32_winetest.exe class errors to 31 failures

svn path=/trunk/; revision=23082
2006-07-16 15:16:55 +00:00
Johannes Anderwald
6a8b5b1b25 * GetClassInfo should return NULL for hInst when hInst is UserHInstance
* fixes one bug found by user32_winetest.exe class.c

svn path=/trunk/; revision=23081
2006-07-16 14:57:34 +00:00
Magnus Olsen
0d759ca707 Framebuf drv
Implement : DdCanCreateSurface
Stub : DdCreateSurface
adding struct ddpfDisplay and dxHalInfo
ddpfDisplay are being filld but not use
dxHalInfo are not fill it is rater large work getting it right 


svn path=/trunk/; revision=23080
2006-07-16 14:54:59 +00:00
Ged Murphy
4b2f6b62b4 add Wine cabinet regression tests
svn path=/trunk/; revision=23079
2006-07-16 14:24:37 +00:00
Aleksey Bragin
61938c2ebc [AUDIT]
- Doxyfile: not a code file at all
- ntdll.h / ntdllp.h: nothing copyrightable or reversengineerable in these files, it's a few functions prototypes only. Thus clean.

svn path=/trunk/; revision=23078
2006-07-16 13:55:11 +00:00
Aleksey Bragin
de67bf2622 [AUDIT]
- setup.c: This is a fully ReactOS-specific code, thus clean

svn path=/trunk/; revision=23077
2006-07-16 13:51:13 +00:00
Aleksey Bragin
e7729711e5 [AUDIT]
- setup.rc / lsass.rc: nothing copyrightable exists in this files
- lsass.c: some partly #if 0...#endif'ed stub. Doesn't implement any functionality, thus clean (and useless probably)
- win32err.c: a small error-printing function taken from Mark Russinovich's chkdskx source code. Contains nothing which could be thought as copyright-infringement, and the function overall is a few lines only

svn path=/trunk/; revision=23076
2006-07-16 13:46:47 +00:00
Johannes Anderwald
a4b70302ef * dont succeed if found Class is local and hInstance is NULL
* set hInstance to input value given when nonzero, zero for global classes and to the actual value of class when its local
* reduces the user32_winetest.exe failures by 20 error to 44

svn path=/trunk/; revision=23075
2006-07-16 12:24:09 +00:00
Eric Kohl
8135ef1f04 Implement CM_Get_First_Log_Conf[_Ex] and add PNP_GetFirstLogConf stub.
svn path=/trunk/; revision=23074
2006-07-16 12:11:26 +00:00
Magnus Olsen
fc29d1edf0 Clean up NtGdiDdCreateDirectDrawObject and confirm it working.
1. Fix create hdc when it is NULL that is need to get ms windows xp d3dx.dll working in ReactOS, if some want try it. 

 

svn path=/trunk/; revision=23073
2006-07-16 12:03:41 +00:00
Magnus Olsen
d16a694b91 Start adding basic directdraw hal 2d interface, so we have a directdraw hal interface to test with, for vmware server does not come with directdraw interface for the the driver. for now everthing is stubed.
svn path=/trunk/; revision=23072
2006-07-16 11:46:30 +00:00
James Tabor
0a02efc6e2 Fix typo
svn path=/trunk/; revision=23071
2006-07-16 01:40:36 +00:00
James Tabor
c1685e75b7 User32: Menu.c I found a small problem with drawing menu popups. This fixes the problem.
svn path=/trunk/; revision=23070
2006-07-16 00:33:50 +00:00
Magnus Olsen
a7dcf72d50 disable the screensaver from bootcd and livecd
reason : qemu and vmware 5.0 / 5.5 is afacted by same bug, it does not reading the timeout value right. 
         I need figout why, it is working in vmware server as it should 

svn path=/trunk/; revision=23069
2006-07-15 23:50:51 +00:00
Magnus Olsen
64e3f510fe Tempary fixing kbdclass and mouse class u can not call on IoDeleteDevice before disabler the keyboard or mouse driver other wise it will bsod at shoutdown of ReactOS, create the frist boot problem. that we have seen on BootCD; Hpoussin I have comment out iodevice for now, please look at it when u got time.
svn path=/trunk/; revision=23068
2006-07-15 20:14:44 +00:00
Alex Ionescu
78874d1548 - Remove some debug prints that are not needed anymore
- NtCurrentTeb now returns the TEB instead of the KCPR, so re-enable the codepath that set the CurrentLocale and IdealProcessor in the TEB from the KTHREAD.

svn path=/trunk/; revision=23067
2006-07-15 20:10:13 +00:00
Magnus Olsen
1af6dae1c1 reverting : patch from w3seek :Bug #: 1669 : Probing macros improvements and fixes
reason    : it break second boot, at when u press on finsh buttom 
            with the mouse or wait until auto rest kick in,
            but we still have one more regress to found for 
            second boot when u leave from vmware at center 
            point the setup will crash (when u toch the keyboard)
            lest the mouse does not cause the bsod any longer.
            I will inform w3seek about it when he comes online

 

svn path=/trunk/; revision=23066
2006-07-15 19:10:07 +00:00
James Tabor
d61db42063 -User32: Fixed GetMenuItemInfoA so it should work closely to spec and reimplemented GetMenuItemInfoW so it should do the same. Added a string flag to GetMenuStringW. Tested with explorer, winefile, VIDE, Lazarus (nochg) and Miranda. Wine menu test 1178 failures now.
svn path=/trunk/; revision=23065
2006-07-15 01:40:10 +00:00
Alex Ionescu
1d5f17dc97 - Add IN/OUT annotations for KeWaitForSIngleObject
- Set the wait block outside the loop, small optimization in case we get alerted by an APC and have to loop again.
- Set the wait block pointer in the KTHREAD structure only *after* checking if a wait is actually needed. That way, if the object is already signaled, we don't set anything in the WaitBlockList.
- Small optimization: only set the caller's WAitBlock as the next wait block if a timer wasn't specificed, else we ended up overwriting the value.
- Small optimziation: don't write the thread in the wait block, this is a wait for a signle object so this isn't needed.

svn path=/trunk/; revision=23063
2006-07-14 21:45:27 +00:00
Aleksey Bragin
7e51a54974 Add tests for Create/Open/Set/Cancel Timer in Executive. Under Win2003 SP1 works perfectly, however ReactOS hangs.
svn path=/trunk/; revision=23062
2006-07-14 21:04:31 +00:00
Magnus Olsen
8c3ad7c90d [AUDLT] This code are clean and written by filip.
svn path=/trunk/; revision=23061
2006-07-14 17:20:21 +00:00