reactos.git
17 years agomore code, from alex patch I got over one year ago, thanks alex for all help and...
Magnus Olsen [Sun, 16 Jul 2006 21:10:13 +0000 (21:10 +0000)]
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

17 years agomore code, from alex patch I got over one year ago, thanks alex for all help and...
Magnus Olsen [Sun, 16 Jul 2006 20:35:25 +0000 (20:35 +0000)]
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

17 years agoAlexey Minnekhanov: Improve monitor.bmp for desk.cpl
Aleksey Bragin [Sun, 16 Jul 2006 20:10:48 +0000 (20:10 +0000)]
Alexey Minnekhanov: Improve monitor.bmp for desk.cpl

svn path=/trunk/; revision=23090

17 years agoSlightly improve debug prints in IoInvalidateDeviceRelations()
Aleksey Bragin [Sun, 16 Jul 2006 20:05:18 +0000 (20:05 +0000)]
Slightly improve debug prints in IoInvalidateDeviceRelations()

svn path=/trunk/; revision=23089

17 years agoStart implement code that alex for one year ago, thanks alex for all help and for...
Magnus Olsen [Sun, 16 Jul 2006 19:03:46 +0000 (19:03 +0000)]
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

17 years agostart implement of gdientry2, for moment it return incorrect info. and does not fill...
Magnus Olsen [Sun, 16 Jul 2006 18:12:13 +0000 (18:12 +0000)]
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

17 years ago[AUDIT]
Aleksey Bragin [Sun, 16 Jul 2006 17:38:03 +0000 (17:38 +0000)]
[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

17 years ago- Added constants for all the ETHREAD flags so when we use Interlocked operations...
Alex Ionescu [Sun, 16 Jul 2006 17:19:21 +0000 (17:19 +0000)]
- 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

17 years ago[FORMATTING] Replace tabs by spaces
Hervé Poussineau [Sun, 16 Jul 2006 17:00:39 +0000 (17:00 +0000)]
[FORMATTING] Replace tabs by spaces
Replace some DPRINT1 by DPRINT

svn path=/trunk/; revision=23084

17 years ago{AUDIT]
Ged Murphy [Sun, 16 Jul 2006 15:32:42 +0000 (15:32 +0000)]
{AUDIT]
rossym
ROS specific lib

svn path=/trunk/; revision=23083

17 years ago* check return value of RtlDeleteAtomFromAtomTable
Johannes Anderwald [Sun, 16 Jul 2006 15:16:55 +0000 (15:16 +0000)]
* 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

17 years ago* GetClassInfo should return NULL for hInst when hInst is UserHInstance
Johannes Anderwald [Sun, 16 Jul 2006 14:57:34 +0000 (14:57 +0000)]
* 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

17 years agoFramebuf drv
Magnus Olsen [Sun, 16 Jul 2006 14:54:59 +0000 (14:54 +0000)]
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

17 years agoadd Wine cabinet regression tests
Ged Murphy [Sun, 16 Jul 2006 14:24:37 +0000 (14:24 +0000)]
add Wine cabinet regression tests

svn path=/trunk/; revision=23079

17 years ago[AUDIT]
Aleksey Bragin [Sun, 16 Jul 2006 13:55:11 +0000 (13:55 +0000)]
[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

17 years ago[AUDIT]
Aleksey Bragin [Sun, 16 Jul 2006 13:51:13 +0000 (13:51 +0000)]
[AUDIT]
- setup.c: This is a fully ReactOS-specific code, thus clean

svn path=/trunk/; revision=23077

17 years ago[AUDIT]
Aleksey Bragin [Sun, 16 Jul 2006 13:46:47 +0000 (13:46 +0000)]
[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

17 years ago* dont succeed if found Class is local and hInstance is NULL
Johannes Anderwald [Sun, 16 Jul 2006 12:24:09 +0000 (12:24 +0000)]
* 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

17 years agoImplement CM_Get_First_Log_Conf[_Ex] and add PNP_GetFirstLogConf stub.
Eric Kohl [Sun, 16 Jul 2006 12:11:26 +0000 (12:11 +0000)]
Implement CM_Get_First_Log_Conf[_Ex] and add PNP_GetFirstLogConf stub.

svn path=/trunk/; revision=23074

17 years agoClean up NtGdiDdCreateDirectDrawObject and confirm it working.
Magnus Olsen [Sun, 16 Jul 2006 12:03:41 +0000 (12:03 +0000)]
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

17 years agoStart adding basic directdraw hal 2d interface, so we have a directdraw hal interface...
Magnus Olsen [Sun, 16 Jul 2006 11:46:30 +0000 (11:46 +0000)]
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

17 years agoFix typo
James Tabor [Sun, 16 Jul 2006 01:40:36 +0000 (01:40 +0000)]
Fix typo

svn path=/trunk/; revision=23071

17 years agoUser32: Menu.c I found a small problem with drawing menu popups. This fixes the problem.
James Tabor [Sun, 16 Jul 2006 00:33:50 +0000 (00:33 +0000)]
User32: Menu.c I found a small problem with drawing menu popups. This fixes the problem.

svn path=/trunk/; revision=23070

17 years agodisable the screensaver from bootcd and livecd
Magnus Olsen [Sat, 15 Jul 2006 23:50:51 +0000 (23:50 +0000)]
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

17 years agoTempary fixing kbdclass and mouse class u can not call on IoDeleteDevice before disab...
Magnus Olsen [Sat, 15 Jul 2006 20:14:44 +0000 (20:14 +0000)]
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

17 years ago- Remove some debug prints that are not needed anymore
Alex Ionescu [Sat, 15 Jul 2006 20:10:13 +0000 (20:10 +0000)]
- 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

17 years agoreverting : patch from w3seek :Bug #: 1669 : Probing macros improvements and fixes
Magnus Olsen [Sat, 15 Jul 2006 19:10:07 +0000 (19:10 +0000)]
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

17 years ago-User32: Fixed GetMenuItemInfoA so it should work closely to spec and reimplemented...
James Tabor [Sat, 15 Jul 2006 01:40:10 +0000 (01:40 +0000)]
-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

17 years ago- Add IN/OUT annotations for KeWaitForSIngleObject
Alex Ionescu [Fri, 14 Jul 2006 21:45:27 +0000 (21:45 +0000)]
- 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

17 years agoAdd tests for Create/Open/Set/Cancel Timer in Executive. Under Win2003 SP1 works...
Aleksey Bragin [Fri, 14 Jul 2006 21:04:31 +0000 (21:04 +0000)]
Add tests for Create/Open/Set/Cancel Timer in Executive. Under Win2003 SP1 works perfectly, however ReactOS hangs.

svn path=/trunk/; revision=23062

17 years ago[AUDLT] This code are clean and written by filip.
Magnus Olsen [Fri, 14 Jul 2006 17:20:21 +0000 (17:20 +0000)]
[AUDLT] This code are clean and written by filip.

svn path=/trunk/; revision=23061

17 years ago- Implement Safe Referencing (an internal method for referencing objects when race...
Alex Ionescu [Fri, 14 Jul 2006 15:26:19 +0000 (15:26 +0000)]
- Implement Safe Referencing (an internal method for referencing objects when race conditions are possible)
- Implement two Vista APIs and export them: ObIsKernelHandle and ObDeleteObjectDeferDelete. ZOMG! Vista APIs in the kernel!

svn path=/trunk/; revision=23060

17 years ago- Fix a serious bug in Kernel Queues. A condition existed where an inserted kernel...
Alex Ionescu [Fri, 14 Jul 2006 02:26:44 +0000 (02:26 +0000)]
- Fix a serious bug in Kernel Queues. A condition existed where an inserted kernel queue with a timeout would crash the system once the thread waiting on it had its wait aborted or completed.
- Thanks a lot to Thomas for his brutal test application which allowed me to discover this bug and the bugs addressed in the previous commits (related to the wait list and thread scheduler list corruption).

svn path=/trunk/; revision=23057

17 years ago- Add KiCheckThreadStackSwap and KiAddThreadToWaitList macros
Alex Ionescu [Fri, 14 Jul 2006 01:03:27 +0000 (01:03 +0000)]
- Add KiCheckThreadStackSwap and KiAddThreadToWaitList macros
- Initialize PRCBs' Wait Lists
- Fix a ghastly implementation fault where the the queue code was correctly removing the thread from its wait list, but where this wait list was actually connected to the _SCHEDULER_ and ended up removing a thread behind its back, causing bizarre issues and w3seek's ASSERT(State == Ready) bug. Fixed this by using the macros above and PRCB Wait List and properly inserting a waiting thread into that list, and then removing it when unblocking it or removing a queue.

svn path=/trunk/; revision=23056

17 years ago- Fix utterly messed up unblocking/readying thread logic.
Alex Ionescu [Thu, 13 Jul 2006 22:52:18 +0000 (22:52 +0000)]
- Fix utterly messed up unblocking/readying thread logic.
- KiUnblockThread becomes KiReadyThread and doesn't perform priority modifications anymore. Also removed a large block of code that was #if 0ed out.
- KiAbortWaitThread now does priority modifications (and better then before), then calls KiReadyThread.
- Inserting a queue now *READIES A THREAD ONLY* instead of removing all its waits!

svn path=/trunk/; revision=23055

17 years agoActivate screensaver for bootcd
Magnus Olsen [Thu, 13 Jul 2006 22:42:40 +0000 (22:42 +0000)]
Activate screensaver for bootcd
rember fullpath should be c:\reactos\system32\matrix.scr but we use matrix.scr as key path for getting this working on livecd.
But the desk.cpl apps should save full path to it. (and it does it in windows and reactos before ros cm broken it did in ros).

svn path=/trunk/; revision=23054

17 years agolast fix for getting screensaver working on livecd it is rugh hack
Magnus Olsen [Thu, 13 Jul 2006 22:38:30 +0000 (22:38 +0000)]
last fix for getting screensaver working on livecd it is rugh hack

svn path=/trunk/; revision=23053

17 years agoIn case of error, free the input data buffer only if we just allocated it.
Hervé Poussineau [Thu, 13 Jul 2006 22:20:54 +0000 (22:20 +0000)]
In case of error, free the input data buffer only if we just allocated it.

svn path=/trunk/; revision=23052

17 years ago- More cleanup of wait.c
Alex Ionescu [Thu, 13 Jul 2006 22:19:57 +0000 (22:19 +0000)]
- More cleanup of wait.c
- Set the right wait status in KiAbortWaitThread.
- Don't ignore priority boost (increments) when aborting waits.
- When satisfying a mutant, insert if into the the head of the back-link, not the forward-link.

svn path=/trunk/; revision=23051

17 years ago- Cleanup + formatting fixes for wait.c
Alex Ionescu [Thu, 13 Jul 2006 21:48:45 +0000 (21:48 +0000)]
- Cleanup + formatting fixes for wait.c
- Move some inlined functions from ke.h to ke_x.h
- Add checks for special apc disabled (guarded regions) in wait code.

svn path=/trunk/; revision=23050

17 years agoImplement CM_Free_Log_Conf[_Ex] and add PNP_FreeLogConf stub.
Eric Kohl [Thu, 13 Jul 2006 21:28:01 +0000 (21:28 +0000)]
Implement CM_Free_Log_Conf[_Ex] and add PNP_FreeLogConf stub.

svn path=/trunk/; revision=23049

17 years ago1. Fixing so the screensaver only start one time when ReactOS starting.
Magnus Olsen [Thu, 13 Jul 2006 21:21:30 +0000 (21:21 +0000)]
1. Fixing so the screensaver only start one time when ReactOS starting.
2. Fixing so the screensaver do not restart it self.
Alesky here is the bugfix I promies, it will not longer see alot start screen msg.
One bug remains before the reg key will be adding as defualt for matrix.scr so it
can run from livecd as well

svn path=/trunk/; revision=23047

17 years agoAdded a check for a non-null WndProc into IntCallWndProcA/W. Instead of bugchecking...
Aleksey Bragin [Thu, 13 Jul 2006 20:47:59 +0000 (20:47 +0000)]
Added a check for a non-null WndProc into IntCallWndProcA/W. Instead of bugchecking, it shows a DPRINT1 now to inform about a bug.
As a side effect, mIRC now works in ReactOS.

svn path=/trunk/; revision=23046

17 years ago[FORMATTING] - Cleanup timer.c
Alex Ionescu [Thu, 13 Jul 2006 19:43:10 +0000 (19:43 +0000)]
[FORMATTING] - Cleanup timer.c

svn path=/trunk/; revision=23045

17 years ago- Don't make the timer signaled in KeSetTimerEx if it already expired.
Alex Ionescu [Thu, 13 Jul 2006 19:04:39 +0000 (19:04 +0000)]
- Don't make the timer signaled in KeSetTimerEx if it already expired.
- Only call KiWaitTest on timers if they have waiters.
- Fix list looping in KiExpireTimers.

svn path=/trunk/; revision=23044

17 years ago1. Remove guithreadinfo from the make file. for it not longer builds.
Magnus Olsen [Thu, 13 Jul 2006 19:00:05 +0000 (19:00 +0000)]
1. Remove guithreadinfo from the make file. for it not longer builds.

2. Adding a test apps for starting directdraw hal interface, that I have keep within few ros devs, and one wine devs,
   it also being using in 2-3 diffent company same code. I known which company that using it with my written premitions
   I give them on icq or email. But u need a document how to use kernel, d3d, mocomp interface,and some more how to access
   them. I only show how to start dx hal the interface and using so call IDrawDraw interface. in this apps.

svn path=/trunk/; revision=23043

17 years agopatch from w3seek :Bug #: 1667 : NTOSKRNL: Fix GCC4 warning and return correct...
Magnus Olsen [Thu, 13 Jul 2006 12:30:56 +0000 (12:30 +0000)]
patch from w3seek :Bug #:  1667  : NTOSKRNL: Fix GCC4 warning and return correct error code in NtSignalAndWaitForSingleObject

svn path=/trunk/; revision=23041

17 years agoFree the buffer as MSDN says
Aleksey Bragin [Thu, 13 Jul 2006 07:17:13 +0000 (07:17 +0000)]
Free the buffer as MSDN says

svn path=/trunk/; revision=23040

17 years ago- Add some TIMER values to the ddk.
Alex Ionescu [Thu, 13 Jul 2006 06:23:34 +0000 (06:23 +0000)]
- Add some TIMER values to the ddk.
- Add DPC Settings (Queue Depths, Rates, etc)
- Cleanup System/Run Time Update code.
- Always increase kernel time in PRCB when inside kernel-mode code.
- Get rid of superflous interlocked commands when not needed.
- Improve detection of DPC vs non-DPC time.
- Respect and apply DPC queue/rate rules.
- Allow future use of non-fulltick time increments.

svn path=/trunk/; revision=23039

17 years ago- Add ASSERT_QUEUE macro.
Alex Ionescu [Thu, 13 Jul 2006 05:20:43 +0000 (05:20 +0000)]
- Add ASSERT_QUEUE macro.
- Cleanup queue.c
- Add some ASSERTs
- Properly check for SPecialApcDisable before aborting a wait.
- Fix a bug in KiWaitQueue which was causing us not to remove the queue from the thread's wait list.

svn path=/trunk/; revision=23038

17 years ago- Fix KiAcquireMutexContended, it was broken in contended cases.
Alex Ionescu [Thu, 13 Jul 2006 04:20:18 +0000 (04:20 +0000)]
- Fix KiAcquireMutexContended, it was broken in contended cases.
- Inline Acquiring/Leaving guarded regions and the gmutex code, instead of going through 3-4 indirect calls.
- Add a mountain of ASSERTs to detect incorrect usage/state.
- Set ->SpecialApcDisable in the Guarded Mutex.
- Fix broken KTHREAD definition. SpecialApcDisable and KernelApcDisable were incorrectly marked as USHORT instead of SHORT, which could cause severe trouble under optimized builds (At least under MSVC, since MSVC wouldn't allow a negative number in an unsigned short).
- Use GM_LOCK_BIT_V.
- Fix broken KeTryToAcquireGuardedMutex prototype.
- Fix broken KGUARDED_MUTEX typedef and add bit values.
- Fix broken Interlocked* prototypes in regards to volatileness.

svn path=/trunk/; revision=23037

17 years ago-User32: Consolidated InsertMenu and ModifyMenu A&W flags processing. Misc changes...
James Tabor [Wed, 12 Jul 2006 22:43:45 +0000 (22:43 +0000)]
-User32: Consolidated InsertMenu and ModifyMenu A&W flags processing. Misc changes too, some based on wine.

svn path=/trunk/; revision=23036

17 years agoDIALOG -> DIALOGEX to correctly handle MS Shell Dlg
Ged Murphy [Wed, 12 Jul 2006 21:52:08 +0000 (21:52 +0000)]
DIALOG -> DIALOGEX to correctly handle MS Shell Dlg

svn path=/trunk/; revision=23035

17 years agopatch from w3seek :Bug #: 1669 : Probing macros improvements and fixes
Magnus Olsen [Wed, 12 Jul 2006 21:42:08 +0000 (21:42 +0000)]
patch from w3seek :Bug #:  1669  : Probing macros improvements and fixes

svn path=/trunk/; revision=23034

17 years agopatch from w3seek : Bug#: 1671 : RTL: Fix checking the SACL data area in the Win64...
Magnus Olsen [Wed, 12 Jul 2006 21:36:05 +0000 (21:36 +0000)]
patch from w3seek : Bug#:  1671  : RTL: Fix checking the SACL data area in the Win64 version of RtlSelfRelativeToAbsoluteSD2

svn path=/trunk/; revision=23033

17 years ago- Fix a mistake with outputting always non-initialized buffer in a DPRINT1
Aleksey Bragin [Wed, 12 Jul 2006 21:33:14 +0000 (21:33 +0000)]
- Fix a mistake with outputting always non-initialized buffer in a DPRINT1
- Add a branch for stopping the screensaver
- Prettify the tracing debug message (it shows now if it's a start or a stop request)
- Add a success-check for RegOpenKeyExW too

svn path=/trunk/; revision=23032

17 years agoconio.c:
Johannes Anderwald [Wed, 12 Jul 2006 21:06:21 +0000 (21:06 +0000)]
conio.c:
* create a CSRSS_SCREEN_BUFFER object before TuiInit/GuiInit
  -> required for variable screen buffer sizes
* improve error handling in CsrCreateScreenBuffer

guiconsole.c:
* directly store WindowSize in CSRSS_CONSOLE struct
* read ScreenBufferSize value from registry and store result in CSRSS_SCREEN_BUFFER
* use default values for ScreenBufferSize / WindowSize

tuiconsole.c:
* set screenbuffer size to size of physical console size in init

svn path=/trunk/; revision=23031

17 years agoSymbolic link should start with \??\, to be able to open the object from kernel mode
Hervé Poussineau [Wed, 12 Jul 2006 20:41:28 +0000 (20:41 +0000)]
Symbolic link should start with \??\, to be able to open the object from kernel mode

svn path=/trunk/; revision=23030

17 years ago* set FontName array to max of LF_FACESIZE
Johannes Anderwald [Wed, 12 Jul 2006 16:48:58 +0000 (16:48 +0000)]
* set FontName array to max of LF_FACESIZE
* read WindowSize from registry
* create GUI_CONSOLE_DATA directly in GuiInitConsole
* wait untill GuiWindow has been created (needed for synchronization with variable window sizes)

svn path=/trunk/; revision=23028

17 years agoImplement the 'You need to reboot' wizard page, and use it instead of the network...
Hervé Poussineau [Wed, 12 Jul 2006 15:30:09 +0000 (15:30 +0000)]
Implement the 'You need to reboot' wizard page, and use it instead of the network message box.
Main advantage is that the message box doesn't appear anymore during second stage setup.

svn path=/trunk/; revision=23027

17 years agoStub one more WMI api used by drivers. Kernel just ignores WMI information for now...
Aleksey Bragin [Wed, 12 Jul 2006 14:00:21 +0000 (14:00 +0000)]
Stub one more WMI api used by drivers. Kernel just ignores WMI information for now, but drivers are happy since they successfully submit it.

svn path=/trunk/; revision=23026

17 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Wed, 12 Jul 2006 12:40:40 +0000 (12:40 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=23024

17 years agorevert prev commit
Johannes Anderwald [Wed, 12 Jul 2006 12:36:31 +0000 (12:36 +0000)]
revert prev commit

svn path=/trunk/; revision=23023

17 years agoAdd flags for CryptAcquireCertificatePrivateKey() API
Aleksey Bragin [Wed, 12 Jul 2006 12:27:46 +0000 (12:27 +0000)]
Add flags for CryptAcquireCertificatePrivateKey() API

svn path=/trunk/; revision=23022

17 years ago* remove unused/unimplemented clb library
Johannes Anderwald [Wed, 12 Jul 2006 12:27:26 +0000 (12:27 +0000)]
* remove unused/unimplemented clb library
* you need to delete Makefile.auto after this commit

svn path=/trunk/; revision=23021

17 years ago* norwegian translation by LMH1 from bug(1645)
Johannes Anderwald [Wed, 12 Jul 2006 12:08:39 +0000 (12:08 +0000)]
* norwegian translation by LMH1 from bug(1645)

svn path=/trunk/; revision=23020

17 years ago* set svn:eolstyle native
Johannes Anderwald [Wed, 12 Jul 2006 12:00:34 +0000 (12:00 +0000)]
* set svn:eolstyle native

svn path=/trunk/; revision=23019

17 years ago* fix a typo
Johannes Anderwald [Wed, 12 Jul 2006 11:55:14 +0000 (11:55 +0000)]
* fix a typo
* fix identation
* bugreport & patch by Jones111
* fixes bug 1656

svn path=/trunk/; revision=23018

17 years agoEnable plug and play manager in livecd.
Hervé Poussineau [Wed, 12 Jul 2006 11:54:04 +0000 (11:54 +0000)]
Enable plug and play manager in livecd.

svn path=/trunk/; revision=23017

17 years agoLiveCD change: don't directly name the shell executable in SYSTEM\Setup key, but...
Hervé Poussineau [Wed, 12 Jul 2006 11:30:17 +0000 (11:30 +0000)]
LiveCD change: don't directly name the shell executable in SYSTEM\Setup key, but run setup.exe, which then loads syssetup.dll, which then runs the selected shell.
This is the first step to do custom operations when running the livecd.

svn path=/trunk/; revision=23016

17 years agoFix the RET insns for @InterlockedCompareExchange@12. Spotted by Alex & Aleksey.
Filip Navara [Tue, 11 Jul 2006 22:45:45 +0000 (22:45 +0000)]
Fix the RET insns for @InterlockedCompareExchange@12. Spotted by Alex & Aleksey.

svn path=/trunk/; revision=23015

17 years ago- Implement Fast Referencing and fix EX_FAST_REF definition.
Alex Ionescu [Tue, 11 Jul 2006 19:45:16 +0000 (19:45 +0000)]
- Implement Fast Referencing and fix EX_FAST_REF definition.
- Implement ObReferenceEx and ObDereferenceEx.
- Split off ObpDeferObjectCompletion. A new win2003/vista API requires direct acess to being able to defer deletes.
- Fix some bugs in Process Token management and make it all properly use Fast Referencing.
- When duplicating a token in a new process, don't de-reference it before it's even created, and also insert it.
- Change ExpChangeRundown macro to fix warnings in msvc.

svn path=/trunk/; revision=23013

17 years ago* fix typo
Johannes Anderwald [Tue, 11 Jul 2006 17:52:38 +0000 (17:52 +0000)]
* fix typo
* patch & bug report by Coviti
* fixes bug 1663
* set svn:eol-style native for other resource files

svn path=/trunk/; revision=23012

17 years ago- Fix up some stuff in Kernel Gates support.
Alex Ionescu [Tue, 11 Jul 2006 15:36:44 +0000 (15:36 +0000)]
- Fix up some stuff in Kernel Gates support.
- Fix up some implementation bugs in Executive Rundown support.

svn path=/trunk/; revision=23011

17 years agoDon't change PortData pointer, as it is allocated memory, and so, it is easier to...
Hervé Poussineau [Tue, 11 Jul 2006 13:38:59 +0000 (13:38 +0000)]
Don't change PortData pointer, as it is allocated memory, and so, it is easier to free it when needed.

svn path=/trunk/; revision=23010

17 years ago[FORMATTING] Replace tabs by spaces.
Hervé Poussineau [Tue, 11 Jul 2006 13:01:00 +0000 (13:01 +0000)]
[FORMATTING] Replace tabs by spaces.
No code change

svn path=/trunk/; revision=23009

17 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Mon, 10 Jul 2006 21:39:10 +0000 (21:39 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=23008

17 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Mon, 10 Jul 2006 21:32:49 +0000 (21:32 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=23007

17 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Mon, 10 Jul 2006 21:25:32 +0000 (21:25 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=23006

17 years ago[FORMATTING] / [AUDIT]
Aleksey Bragin [Mon, 10 Jul 2006 21:03:26 +0000 (21:03 +0000)]
[FORMATTING] / [AUDIT]
- Cleanup a big coding-style mess
- Add UNIMPLEMENTED macro in empty functions (otherwise we will never know if they are being called by a 3rd-party driver)
- Add proper debug headers inclusion in every file
- Add documentation headers into almost every file (except mcb.c and context.c - will be added later)
- Standardize per-file headers (some files still lack contributors names, they will be added later too)

No code change except for adding UNIMPLEMENTED macros in the code. Name.c unlocked because the implementations of functions are trivial and in fact could be derived from their names. Not documented functions will be further reviewed.

svn path=/trunk/; revision=23005

17 years agofixing broken asm code.
Magnus Olsen [Mon, 10 Jul 2006 20:02:12 +0000 (20:02 +0000)]
fixing broken asm code.
tcslen, wsclen did not check if the string was null or not.
Adding a NULL pointer check. This make user32 test working and alot other apps.

svn path=/trunk/; revision=23004

17 years agoFixing two user mode crash for menu.
Magnus Olsen [Mon, 10 Jul 2006 19:32:24 +0000 (19:32 +0000)]
Fixing two user mode crash for menu.
Do not try reading from NULL pointer and compare the value.
This let me come bit futer with user32_winetest.exe, but we still have some user mode crash with menu.

svn path=/trunk/; revision=23003

17 years ago-get rid of DllMain@12 because MSVC defaults to_DllMainCRTStartup@12 when using CRT
Christoph von Wittich [Mon, 10 Jul 2006 18:16:28 +0000 (18:16 +0000)]
-get rid of DllMain@12 because MSVC defaults to_DllMainCRTStartup@12 when using CRT

svn path=/trunk/; revision=23001

17 years ago* make resources compilable with msvc
Johannes Anderwald [Mon, 10 Jul 2006 16:22:03 +0000 (16:22 +0000)]
* make resources compilable with msvc

svn path=/trunk/; revision=23000

17 years agoFixing a small bug, value where never devliver from SPI and that did make screensaver...
Magnus Olsen [Mon, 10 Jul 2006 15:02:43 +0000 (15:02 +0000)]
Fixing a small bug, value where never devliver from SPI and that did make screensaver start direcky and start mulitetimes.

svn path=/trunk/; revision=22998

17 years ago* set svn:eol-style native
Johannes Anderwald [Mon, 10 Jul 2006 14:11:12 +0000 (14:11 +0000)]
* set svn:eol-style native

svn path=/trunk/; revision=22997

17 years ago* fix a few msvc compilation errors (MS powercfg.h does not use include guards)
Johannes Anderwald [Mon, 10 Jul 2006 13:47:11 +0000 (13:47 +0000)]
* fix a few msvc compilation errors (MS powercfg.h does not use include guards)

svn path=/trunk/; revision=22996

17 years ago* make resource files msvc compilable
Johannes Anderwald [Mon, 10 Jul 2006 13:30:17 +0000 (13:30 +0000)]
* make resource files msvc compilable
* fix size of text in various languages

svn path=/trunk/; revision=22995

17 years agoAdd DPRINT1s for failures, and added UNIMPLEMENTED macro in the unimplemented export...
Aleksey Bragin [Mon, 10 Jul 2006 13:10:22 +0000 (13:10 +0000)]
Add DPRINT1s for failures, and added UNIMPLEMENTED macro in the unimplemented export function

svn path=/trunk/; revision=22994

17 years agoThomas Weidenmueller: Fix GCC4 warnings
Aleksey Bragin [Mon, 10 Jul 2006 11:42:28 +0000 (11:42 +0000)]
Thomas Weidenmueller: Fix GCC4 warnings

svn path=/trunk/; revision=22993

17 years ago- Remove IopGetLowestDevice() call from IoRegisterDeviceInterface() (hpoussin approve...
Aleksey Bragin [Mon, 10 Jul 2006 09:54:50 +0000 (09:54 +0000)]
- Remove IopGetLowestDevice() call from IoRegisterDeviceInterface() (hpoussin approved this change)
- Add a few DPRINTs to easier see failures of exported APIs

svn path=/trunk/; revision=22992

17 years agoSync with Wine: Update EDIT_EM_SetMargins in EDIT control.
Aleksey Bragin [Mon, 10 Jul 2006 08:56:02 +0000 (08:56 +0000)]
Sync with Wine: Update EDIT_EM_SetMargins in EDIT control.

svn path=/trunk/; revision=22991

17 years agoDmitry Philippov: Fix a bug with firstly overwriting the value, and then trying to...
Aleksey Bragin [Mon, 10 Jul 2006 08:33:02 +0000 (08:33 +0000)]
Dmitry Philippov: Fix a bug with firstly overwriting the value, and then trying to use variable for comparation (should be vice-versa: firstly compared what was passed, then overwrite with a new value)

svn path=/trunk/; revision=22990

17 years ago- User32 menu
James Tabor [Mon, 10 Jul 2006 05:52:41 +0000 (05:52 +0000)]
- User32 menu
 - Fixed and modified MenuDrawBitmapItem, MenuGetBitmapItemSize and MenuCalcItemSize. Based on Wine ports.
 - Fixed menu bar drawing and maintained most callback changes (for Miranda). Implemented flat menu support. Some other misc changes. Owner drawing is still broken (Free pascal project Lazarus). Run user32_crosstest from Wine, still more rewriting is needed.

svn path=/trunk/; revision=22989

17 years agoImplement SPI_GETFLATMENU and SPI_SETFLATMENU after jimtabor request not tested if...
Magnus Olsen [Mon, 10 Jul 2006 01:48:46 +0000 (01:48 +0000)]
Implement SPI_GETFLATMENU and SPI_SETFLATMENU after jimtabor request not tested if it work

svn path=/trunk/; revision=22988

17 years agoputting back Christoph_vW patch that was revert by me
Magnus Olsen [Mon, 10 Jul 2006 01:45:03 +0000 (01:45 +0000)]
putting back Christoph_vW patch that was revert by me

svn path=/trunk/; revision=22987

17 years agoputting back Christoph_vW patch that was revert by me
Magnus Olsen [Mon, 10 Jul 2006 01:33:10 +0000 (01:33 +0000)]
putting back Christoph_vW patch that was revert by me

svn path=/trunk/; revision=22986

17 years agoChanges for Screen saver And implement
Magnus Olsen [Mon, 10 Jul 2006 00:26:56 +0000 (00:26 +0000)]
Changes for Screen saver And implement
1. Time value can be changes use SPI_SETSCREENSAVETIMEOUT to set the new value, current insate value are set to 30sec
2. SPI_GETSCREENSAVETIMEOUT Get the screen saver timeout value.
3. Dectect if screen saver is running with SPI_GETSCREENSAVERRUNNING
4. Set the state of screen saver with  SPI_SETSCREENSAVERRUNNING <- this is internal api see msdn

Implement for mouse
1. SPI_GETWHEELSCROLLLINES I am but unsure if win32k need more changes it seam like it is only a counter that should be set/get a value and user apps take care of the rest. Implement it for jimtabor did request it.
2. SPI_GETWHEELSCROLLCHARS  I am but unsure if win32k need more changes it seam like it is only a counter that should be set/get a value and user apps take care of the rest.

svn path=/trunk/; revision=22985

17 years agoadding #define SPI_GETWHEELSCROLLCHARS thanks alex for the value
Magnus Olsen [Mon, 10 Jul 2006 00:11:12 +0000 (00:11 +0000)]
adding #define SPI_GETWHEELSCROLLCHARS  thanks alex for the value

svn path=/trunk/; revision=22984

17 years agomodified rdesktop/channels.c
Michele Cicciotti [Sun, 9 Jul 2006 23:57:54 +0000 (23:57 +0000)]
modified   rdesktop/channels.c
modified   rdesktop/constants.h
modified   rdesktop/types.h
   Commented out definitions of standard Windows constants and types

modified   rdesktop/licence.c
modified   rdesktop/secure.c
   TODO annotations

modified   rdesktop/proto.h
   Commented out prototypes for rdpdr, rdpsnd, cliprdr, etc. functions that will be rewritten *and* use a new API

modified   rdesktop/rdesktop.h
modified   rdesktop/rdp.c
modified   rdesktop/tcp.c
   Big big mess, many temporary modifications to have a working prototype ASAP

added      MissTosca.sln
added      mstsc/mstsc.cpp
added      mstsc/mstsc.vcproj
added      mstsc/stdafx.cpp
added      mstsc/stdafx.h
added      mstscax/mstscax.cpp
added      mstscax/mstscax.vcproj
added      mstscax/stdafx.cpp
added      mstscax/stdafx.h
   Created skeleton project files for Visual C++ 2005

added      rdesktop/rdesktop-core.vcproj
   Isolated the bare core of rdesktop. Required little to no porting

added      porting-tools/rdesktop-core-tester
added      porting-tools/rdesktop-core-tester/rdesktop-core-tester.cpp
added      porting-tools/rdesktop-core-tester/rdesktop-core-tester.vcproj
added      porting-tools/rdesktop-core-tester/stdafx.cpp
added      porting-tools/rdesktop-core-tester/stdafx.h
   Tester application. The screenshots were made with this. Partial (buggy!) implementation of GUI and keyboard input

svn path=/trunk/; revision=22983