reactos.git
17 years ago- Add kd64 folder for KD64 6.0 implementation.
Alex Ionescu [Sun, 18 Feb 2007 20:51:30 +0000 (20:51 +0000)]
- Add kd64 folder for KD64 6.0 implementation.
- Implement KdEnterDebugger, KdExitDebugger, KdEnableDebuggerWithLock, KdEnableDebugger.
- Add KD Version Block, KD Component Masks, and KD Configuration Options.
- Implement KdInitSystem and KdRegisterDebuggerDataBlock.
- Implement KdPollBreakIn, KdpLockPort, KdpUnlockPort.
- Implement KdpStub and KdpReport. Implement logic of KdpTrap but not helper calls (KdpTrap is only enabled after KD connects).
- Implement KD Time Slip support, KdpSwitchProcessor, KdpQueryPerformanceCounter.

svn path=/branches/alex-kd-branch/; revision=25838

17 years ago- Add KdDebuggerInitialize1 and enable call to it.
Alex Ionescu [Sun, 18 Feb 2007 20:47:04 +0000 (20:47 +0000)]
- Add KdDebuggerInitialize1 and enable call to it.
- Fix KD_SYMBOLS_INFO definition and DbgLoadImageSymbols prototype.
- Implement DbgUnLoadImageSymbols.
- Fix some small bugs in KeBugCheckWithTf and add various debugger calls/checks where needed.
- Fix bugcheck recursion code which was incorrect.

svn path=/branches/alex-kd-branch/; revision=25837

17 years ago- Fix KiDebugService to load EDX from KTRAP_FRAME_EDX, not KTRAP_FRAME_EAX!.
Alex Ionescu [Sun, 18 Feb 2007 19:30:33 +0000 (19:30 +0000)]
- Fix KiDebugService to load EDX from KTRAP_FRAME_EDX, not KTRAP_FRAME_EAX!.
- Fix CommonDispatchException to check for the argument count in ECX, not EAX. Previously we were ignoring parameter counts and never filling out exception records!
- Fix DebugPrint to be the same in user-mode and kernel-mode by using DebugService. This now works because the bugs above were fixed.

svn path=/branches/alex-kd-branch/; revision=25836

17 years ago- Add stubs for KdSave, KdRestore, KdDebuggerInitialize0, KdSendPacket, KdReceivePack...
Alex Ionescu [Sun, 18 Feb 2007 16:50:37 +0000 (16:50 +0000)]
- Add stubs for KdSave, KdRestore, KdDebuggerInitialize0, KdSendPacket, KdReceivePacket to kdcom.dll
- Implement and export KeTryToAcquireSpinLockAtDpcLevel.

svn path=/branches/alex-kd-branch/; revision=25835

17 years ago- Add EXCEPTION_RECORD64 and LIST_ENTRY64, KeTryToAcquireSpinLockAtDpcLevel, BREAKPOI...
Alex Ionescu [Sun, 18 Feb 2007 07:21:03 +0000 (07:21 +0000)]
- Add EXCEPTION_RECORD64 and LIST_ENTRY64, KeTryToAcquireSpinLockAtDpcLevel, BREAKPOINT_COMMAND_STRING, Ke386SetCr2, Ke386SetDr3, Ke386SetDr6.
- Remove non-kernel routines from kdfuncs.h and remove deprecated routines from ke.h.
- Implement KiRestoreProcessorControlState, KeFreezeExecution, KeThawExecution, ExAcquireTimeRefreshLock, ExReleaseTimeRefreshLock.
- Rename ModuleLoadList to PsLoadedModuleList. Add PsNtosImageBase and set value in it.
- Add skeleton wdbgexts.h with what's needed until now, this is a PSDK header.
- Add kddll.h for KDCOM/1394/USB2.DLL prototypes.
- Add windbgkd.h with KD protocol definitions. Used to be an NT5 DDK header, but was removed, so this goes into include\reactos.

svn path=/branches/alex-kd-branch/; revision=25833

17 years ago- Delete KD/KDBG directories.
Alex Ionescu [Fri, 16 Feb 2007 18:44:32 +0000 (18:44 +0000)]
- Delete KD/KDBG directories.

svn path=/branches/alex-kd-branch/; revision=25823

17 years ago- Disable i8042prt debugger hack.
Alex Ionescu [Fri, 16 Feb 2007 18:43:16 +0000 (18:43 +0000)]
- Disable i8042prt debugger hack.
- Remove HAL kd routines.
- Do INT3 in DebugService calls since the KiDebugService increases EIP by one.
- Stub NtQuery/SetDebugFilterState.
- Remove all KDBG symbol/process/thread callouts. Remove GDB hacks.
- Stub out KdInitSystem and KdPollBreakI.
- Stub KdpEnterDebuggerException.
- Disable DebugPrint.
- Optimize KiDebugService by having it jump into the INT3 trap handler.

svn path=/branches/alex-kd-branch/; revision=25822

17 years ago- Create KD branch. All debugging support is removed in this branch (no symbols,...
Alex Ionescu [Fri, 16 Feb 2007 18:37:34 +0000 (18:37 +0000)]
- Create KD branch. All debugging support is removed in this branch (no symbols, kd, kdbg, dbg) in hopes of cleanly implementing some of the low-level exception facilities, to remove potential sources of bugs, and to properly implement KD64 so that WinDBG can be used to debug ReactOS.

svn path=/branches/alex-kd-branch/; revision=25821

17 years ago- KD Branch
Alex Ionescu [Fri, 16 Feb 2007 18:37:15 +0000 (18:37 +0000)]
- KD Branch

svn path=/branches/alex-kd-branch/; revision=25820

17 years ago- KD Branch
Alex Ionescu [Fri, 16 Feb 2007 18:36:17 +0000 (18:36 +0000)]
- KD Branch

svn path=/branches/alex-kd-branch/; revision=25819

17 years ago- KD Branch
Alex Ionescu [Fri, 16 Feb 2007 18:35:38 +0000 (18:35 +0000)]
- KD Branch

svn path=/branches/alex-kd-branch/; revision=25818

17 years agofix include file case
Sylvain Petreolle [Fri, 16 Feb 2007 16:57:09 +0000 (16:57 +0000)]
fix include file case

svn path=/trunk/; revision=25817

17 years agofixed all dam warings before some start nag on me
Magnus Olsen [Fri, 16 Feb 2007 16:48:54 +0000 (16:48 +0000)]
fixed all dam warings before some start nag on me

svn path=/trunk/; revision=25816

17 years agoadding a NULL test for NtGdiDdQueryDirectDrawObject
Magnus Olsen [Fri, 16 Feb 2007 16:43:27 +0000 (16:43 +0000)]
adding a NULL test for NtGdiDdQueryDirectDrawObject

svn path=/trunk/; revision=25815

17 years ago-- Rewrite how we should do syscall now we define the syscall number in a include...
Magnus Olsen [Fri, 16 Feb 2007 16:27:46 +0000 (16:27 +0000)]
-- 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

17 years agoLester Kortenhoeven (lester(at)kortenhoeven(dot)de):
Maarten Bosma [Fri, 16 Feb 2007 11:07:28 +0000 (11:07 +0000)]
Lester Kortenhoeven  (lester(at)kortenhoeven(dot)de):
* CP_ACP changed into CP_UTF8
* removed unnecessary code in xml.c
* fix memory leak
* add more programs

svn path=/trunk/; revision=25812

17 years agoSet correct value for Characteristics (tested by Colin_Finck on IRC)
Hervé Poussineau [Thu, 15 Feb 2007 20:39:33 +0000 (20:39 +0000)]
Set correct value for Characteristics (tested by Colin_Finck on IRC)

svn path=/trunk/; revision=25810

17 years ago- Declare local functions static and get rid of prototypes by moving functions around.
Eric Kohl [Thu, 15 Feb 2007 20:24:38 +0000 (20:24 +0000)]
- Declare local functions static and get rid of prototypes by moving functions around.
- Clean up the code. No changes to the functionality.

svn path=/trunk/; revision=25809

17 years ago- Small placeholder change for future Cm code:
Alex Ionescu [Thu, 15 Feb 2007 17:44:04 +0000 (17:44 +0000)]
- Small placeholder change for future Cm code:
  - Added newcm.c which will contain some new Cm code part of the Cm Rewrite but not in the rewrite branch (used solely for supporting CmGetSystemControlValues).
  - Added System Control Vector which supports all the registry flags that Windows 2003 SP1 supports as well.
- The most important part of this support, at least for us, is to get boot-time time zone support working properly. We can worry about the other options later.
- Update KrnlFun for previous DPC/HAL fixes.

svn path=/trunk/; revision=25806

17 years agoAdd missing 'Characterists' registry key for netcards. Fixes part of bug 2034
Hervé Poussineau [Thu, 15 Feb 2007 17:34:26 +0000 (17:34 +0000)]
Add missing 'Characterists' registry key for netcards. Fixes part of bug 2034

svn path=/trunk/; revision=25805

17 years ago- Enable/disable the size updown control when another window item is selected.
Eric Kohl [Thu, 15 Feb 2007 14:12:36 +0000 (14:12 +0000)]
- Enable/disable the size updown control when another window item is selected.
- Remove the text when the size edit control gets disabled.
- Disable the secondary color for the window item.

svn path=/trunk/; revision=25804

17 years ago- fix "keyboard does not respond" bug on Biostar board (thanks to Peter Krawies)
Dmitry Gorbachev [Thu, 15 Feb 2007 10:57:38 +0000 (10:57 +0000)]
- fix "keyboard does not respond" bug on Biostar board (thanks to Peter Krawies)
- fix printf()

svn path=/trunk/; revision=25803

17 years ago- You all s^H^H^H^H^H^H^H^H^H Fix build error.
Alex Ionescu [Wed, 14 Feb 2007 20:50:46 +0000 (20:50 +0000)]
- You all s^H^H^H^H^H^H^H^H^H Fix build error.

svn path=/trunk/; revision=25802

17 years ago- Linux sucks
Alex Ionescu [Wed, 14 Feb 2007 20:47:43 +0000 (20:47 +0000)]
- Linux sucks

svn path=/trunk/; revision=25801

17 years ago- Fixup and enable my new HAL IRQL implementation from a couple of months ago, and...
Alex Ionescu [Wed, 14 Feb 2007 20:30:33 +0000 (20:30 +0000)]
- Fixup and enable my new HAL IRQL implementation from a couple of months ago, and remove the temporary Mm hacks from Dmitry Gorbachev, since DPCs don't interrupt DISPATCH_LEVEL Code anymore.
- This fixes a critical system malfunction and architectural bug, as well as speeds up ReactOS incredibly -- setup takes seconds again, and boot is almost instantenous (except the Explorer loading bug).
- Proper fix for bootvid regression that Aleksey "Fixed". Video mode is now properly setup wether in setup or non-setup mode, so bootvid works again.
- Enable bootvid in freeldr.ini, currently using only /SOS mode since full-screen logo isn't implemented yet.

svn path=/trunk/; revision=25800

17 years agoObject Manager fixes based on bug reports from Aleksey Bragin:
Alex Ionescu [Wed, 14 Feb 2007 17:51:48 +0000 (17:51 +0000)]
Object Manager fixes based on bug reports from Aleksey Bragin:
- ObpReferenceProcessObjectByHandle:
  - Remove PAGED_CODE
  - Use InterlockedIncrement instead of InterlockedExchangeAdd.
- ObpInsertHandleCount: Fix calculation of the handle database size, fixing potential pool corruption/overwrite situations.
- ObpChargeQuotaForObject: Write proper code for charging the quota.
- ObpDecrementHandleCount:
  - Get ObjectType from caller instead of doing the extra operation.
  - If there's no handle database, then don't setup a handle entry.
- ObpIncrementHandleCount is PAGED_CODE.
- ObpCloseHandle: Do proper logic for determining if we should raise an exception, fail, or bugcheck the system when an invalid handle is being closed.
- ObpSetHandleAttributes:
  - Not PAGED_CODE.
  - Allow operations on kernel objects.
  - Use the Access Protect Close Bit in the GrantedAccess instead of an OBJ_PROTECT flag in the ObAttributes.
- ObpCloseHandleCallback: Sweep/Enumerate Routines are BOOLEAN, not VOID.
- ObDuplicateObject:
  - Clear the audit mask if auditing isn't set.
  - Always duplicate OBJ_AUDIT_OBJECT_CLOSE if it's set.
  - Clear the handle entry before writing it.
  - Always propagate ACCESS_SYSTEM_SECURITY as a desired access.
- ObFindHandleForObject: Use ObReferenceProcessHandleTable instead of directly accessing the pointer.
- ObInsertObject: Dereference symbolic links when they collide during an insert, since a reference was already added.
- NtDuplicateObject: Clear out the TargetHandle to assume failure.
- ObpCaptureObjectName: Use RtlCopyMemory which is faster.
- ObpAllocateObject: Fix check for quota usage.
- ObCreateObjectType:
  - Make sure that the object type name is wchar-aligned.
  - Add support for LPC Waitable Ports.
  - Initialize Object Locks.

svn path=/trunk/; revision=25799

17 years agoPost WM_INPUTLANGCHANGE to thread's focus windows when keyboard layout is changed.
Saveliy Tretiakov [Wed, 14 Feb 2007 13:00:38 +0000 (13:00 +0000)]
Post WM_INPUTLANGCHANGE to thread's focus windows when keyboard layout is changed.

svn path=/trunk/; revision=25798

17 years ago- Make NtUserLoadKeyboardLayoutEx accept 6 params
Saveliy Tretiakov [Tue, 13 Feb 2007 19:50:06 +0000 (19:50 +0000)]
- Make NtUserLoadKeyboardLayoutEx accept 6 params
- Always get default locale from ntoskrnl
- Fix some small bugs

svn path=/trunk/; revision=25797

17 years agosmall prepare for rished20 sync for wine. so the sync goes allot easy
Magnus Olsen [Mon, 12 Feb 2007 21:23:32 +0000 (21:23 +0000)]
small prepare for rished20 sync for wine. so the sync goes allot easy
update richedit.h
adding tom.h  <- from wine cvs 11/2-2007 the tom.idl does not exists in windows ?

svn path=/trunk/; revision=25796

17 years agopatch from Physicus, implement TOOLTIPS_NotifyFormat, it now retrurn the type of...
Magnus Olsen [Mon, 12 Feb 2007 18:37:05 +0000 (18:37 +0000)]
patch from Physicus, implement TOOLTIPS_NotifyFormat, it now retrurn the type of the string if it unicode or ansi.
before it did not return any type at all. it did a heap crash from downloader mangers when it try figout what type
of sting the toolstips use. it is tested in 0.3.1 and not whole implemnent is tested yet. it should be right for all
case.

svn path=/trunk/; revision=25794

17 years ago-check wich control send the WM_NOTIFY
Timo Kreuzer [Mon, 12 Feb 2007 04:42:53 +0000 (04:42 +0000)]
-check wich control send the WM_NOTIFY
-don't include ProcessID 0 two times

svn path=/trunk/; revision=25792

17 years ago- Implement appearance page of desk.cpl
Timo Kreuzer [Mon, 12 Feb 2007 03:32:40 +0000 (03:32 +0000)]
- Implement appearance page of desk.cpl
- update and cleanup resources
See issue #1732 for more details.

svn path=/trunk/; revision=25791

17 years agoImplement test for NtGdiDdCreateDirectDrawObject works in windows 2000 sp4, only...
Magnus Olsen [Sun, 11 Feb 2007 16:57:31 +0000 (16:57 +0000)]
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

17 years ago- fix warning
Johannes Anderwald [Sun, 11 Feb 2007 16:27:08 +0000 (16:27 +0000)]
- fix warning

svn path=/trunk/; revision=25789

17 years ago- Fix a bug in NtUserOpenDesktop and simply the code
Johannes Anderwald [Sun, 11 Feb 2007 15:32:54 +0000 (15:32 +0000)]
- Fix a bug in NtUserOpenDesktop and simply the code
- Fix bug in NtUserEnumDisplayDevices

svn path=/trunk/; revision=25788

17 years ago- Fix a few warnings
Johannes Anderwald [Sun, 11 Feb 2007 15:23:48 +0000 (15:23 +0000)]
- Fix a few warnings

svn path=/trunk/; revision=25787

17 years agoadding some comment after review how it works in windows. I doing my own syscall...
Magnus Olsen [Sun, 11 Feb 2007 15:19:22 +0000 (15:19 +0000)]
adding some comment after review how it works in windows.  I doing my own syscall in windows 2000 to see how it act and base my knowledges of that to correct some part of win32k dx handling.

svn path=/trunk/; revision=25786

17 years agofix svn properties
Johannes Anderwald [Sun, 11 Feb 2007 15:14:04 +0000 (15:14 +0000)]
fix svn properties

svn path=/trunk/; revision=25785

17 years ago- remove stdcall decoration
Johannes Anderwald [Sun, 11 Feb 2007 15:12:49 +0000 (15:12 +0000)]
- remove stdcall decoration

svn path=/trunk/; revision=25784

17 years agoRight now, it's not enough to just set the bios video mode to 0x12, other stuff like...
Aleksey Bragin [Sun, 11 Feb 2007 13:37:39 +0000 (13:37 +0000)]
Right now, it's not enough to just set the bios video mode to 0x12, other stuff like choosing correct font is needed.

Fixes "no text output in 1st stage setup" bug (and it still sets the videomode to 0x12, so it's not a hack).

svn path=/trunk/; revision=25783

17 years ago25763 was an example of how to NEVER do in ReactOS repository.
Aleksey Bragin [Sun, 11 Feb 2007 13:05:50 +0000 (13:05 +0000)]
25763 was an example of how to NEVER do in ReactOS repository.

Besides reverting a good implementation, it also introduced unwanted hidden changes into cmd/console.c and videoprt.h.

Don't forget to make win32k_clean / user32_clean / videoprt_clean

svn path=/trunk/; revision=25782

17 years agomove from branch
Sylvain Petreolle [Sun, 11 Feb 2007 11:21:14 +0000 (11:21 +0000)]
move from branch

svn path=/trunk/; revision=25781

17 years agodelete empty dir
Sylvain Petreolle [Sun, 11 Feb 2007 11:17:27 +0000 (11:17 +0000)]
delete empty dir

svn path=/trunk/; revision=25780

17 years agoadding winetest from the vendor drop for usp10.dll
Magnus Olsen [Sun, 11 Feb 2007 10:44:31 +0000 (10:44 +0000)]
adding winetest from the vendor drop for usp10.dll

svn path=/branches/ros-branch-0_3_1/; revision=25779

17 years agoadding winetest from the vendor drop for usp10.dll
Magnus Olsen [Sun, 11 Feb 2007 10:44:31 +0000 (10:44 +0000)]
adding winetest from the vendor drop for usp10.dll

svn path=/trunk/; revision=25779

17 years agosorry I forget the rbuild for the usp10 it self :(
Magnus Olsen [Sun, 11 Feb 2007 10:37:59 +0000 (10:37 +0000)]
sorry I forget the rbuild for the usp10 it self :(

svn path=/trunk/; revision=25778

17 years agoadding usp10 to the building system. and small diff file as well. thuse change should...
Magnus Olsen [Sun, 11 Feb 2007 10:35:19 +0000 (10:35 +0000)]
adding usp10 to the building system. and small diff file as well. thuse change should not have been need it, maybe some whant take a look at them in the diff file and found 100% proper fix.

svn path=/trunk/; revision=25777

17 years agoCopied remotely
Magnus Olsen [Sun, 11 Feb 2007 10:22:39 +0000 (10:22 +0000)]
Copied remotely

svn path=/trunk/; revision=25776

17 years agoperpare import of usp10 from wine,
Magnus Olsen [Sun, 11 Feb 2007 10:06:35 +0000 (10:06 +0000)]
perpare import of usp10 from wine,
import wine usp10.h (from wine cvs 11/02-2007 rev  1.8)
from wine log
Revision 1.8
Hans Leidekker <hans@it.vu.nl>
usp10: Implement ScriptString_pSize.
--------------------------------------------------------------------------------
Revision 1.7
Francois Gouget <fgouget@free.fr>
include/usp10.h: Add missing include directives.
--------------------------------------------------------------------------------
Revision 1.6
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
--------------------------------------------------------------------------------
Revision 1.5
Vijay Kiran Kamuju <infyquest@gmail.com>
Added some missing definitions in usp10.h.
--------------------------------------------------------------------------------
Revision 1.4
Marcus Meissner <meissner@suse.de>
extern "C" wrappers for usp10.h.
--------------------------------------------------------------------------------
Revision 1.3
Raphael Junqueira <fenix@club-internet.fr>
Add stubs around ScriptStringAnalyse to avoid PAF crash.
--------------------------------------------------------------------------------
Revision 1.2
Oliver Stieber <oliver_stieber@yahoo.co.uk>
Added stubbed support for ScriptGetFontProperties.
--------------------------------------------------------------------------------
Revision 1.1
Steven Edwards <steven@codeweavers.com>
Add stub implementation of the Uniscribe Script Processor.

svn path=/trunk/; revision=25771

17 years agoupdate my private doc
Magnus Olsen [Sat, 10 Feb 2007 22:32:06 +0000 (22:32 +0000)]
update my private doc

svn path=/branches/ros-branch-0_3_1/; revision=25770

17 years agomerge 25768 from trunk to 0.3.1 : fixed
Magnus Olsen [Sat, 10 Feb 2007 22:26:45 +0000 (22:26 +0000)]
merge 25768 from trunk to 0.3.1 : fixed
Property sheet:
- Set focus to defpushbutton or to first WC_EDIT child window if present, like it works on windows.
- update wine diff
This fixes the regression in 2nd stage setup when no keyboard focus was present.

svn path=/branches/ros-branch-0_3_1/; revision=25769

17 years agoProperty sheet:
Timo Kreuzer [Sat, 10 Feb 2007 22:02:45 +0000 (22:02 +0000)]
Property sheet:
- Set focus to defpushbutton or to first WC_EDIT child window if present, like it works on windows.
- update wine diff
This fixes the regression in 2nd stage setup when no keyboard focus was present.

svn path=/trunk/; revision=25768

17 years agoNew try: Lester Kortenhoeven (lester(at)kortenhoeven(dot)de):
Maarten Bosma [Sat, 10 Feb 2007 21:48:44 +0000 (21:48 +0000)]
New try: Lester Kortenhoeven  (lester(at)kortenhoeven(dot)de):
* Implement uninstall feature. Does not work under reactos yet, because it does not seem to store the installer information under the registry path windows stores them.
* Show Version in the description.

svn path=/trunk/; revision=25767

17 years agosorry 25765 was ment to go to trunk
Maarten Bosma [Sat, 10 Feb 2007 21:46:37 +0000 (21:46 +0000)]
sorry 25765 was ment to go to trunk

svn path=/branches/ros-branch-0_3_1/; revision=25766

17 years agoLester Kortenhoeven (lester(at)kortenhoeven(dot)de):
Maarten Bosma [Sat, 10 Feb 2007 21:41:28 +0000 (21:41 +0000)]
Lester Kortenhoeven  (lester(at)kortenhoeven(dot)de):
* Implement uninstall feature. Does not work under reactos yet, because it does not seem to store the installer information under the registry path windows stores them.
* Show Version in the description.

svn path=/branches/ros-branch-0_3_1/; revision=25765

17 years agoFix user32, gdi32 and dnsapi's base addresses so that no relocations occur during...
Aleksey Bragin [Sat, 10 Feb 2007 15:49:50 +0000 (15:49 +0000)]
Fix user32, gdi32 and dnsapi's base addresses so that no relocations occur during system bootup.

Please note that their base addresses do not correspond anymore to the base addresses those DLLs have in Windows.

svn path=/trunk/; revision=25764

17 years agoreverting 25758 : for follow reason
Magnus Olsen [Sat, 10 Feb 2007 14:52:46 +0000 (14:52 +0000)]
reverting 25758 : for follow reason
1. it cause regress of loading keyboard layout from the regsiter when reatcos booting.
2. it does not follow windows implement
3. it does not using ntoskrnl for it is ntoskrnl that handling the keyboard not the win32k.
4. it does not using right protoype for some syscall
5. some syscall does not working like windows. it mess it up instead.
6. Do not implement own design on public api and syscall

svn path=/trunk/; revision=25763

17 years agoAdd missing return
Saveliy Tretiakov [Sat, 10 Feb 2007 13:11:02 +0000 (13:11 +0000)]
Add missing return

svn path=/trunk/; revision=25762

17 years agostub shall be in stub. file not in other files.
Magnus Olsen [Sat, 10 Feb 2007 09:15:04 +0000 (09:15 +0000)]
stub shall be in stub. file not in other files.

svn path=/trunk/; revision=25761

17 years agoFix a bug.
Saveliy Tretiakov [Sat, 10 Feb 2007 08:09:04 +0000 (08:09 +0000)]
Fix a bug.

svn path=/trunk/; revision=25760

17 years agoAdd braces to if.
Saveliy Tretiakov [Sat, 10 Feb 2007 07:28:25 +0000 (07:28 +0000)]
Add braces to if.

svn path=/trunk/; revision=25759

17 years agoAdd multiple keyboard layout support. Implemented NtUserLoadKeyboardLayoutEx, NtUserA...
Saveliy Tretiakov [Fri, 9 Feb 2007 20:48:37 +0000 (20:48 +0000)]
Add multiple keyboard layout support. Implemented NtUserLoadKeyboardLayoutEx, NtUserActivateKeyboardLayout, NtUserGetKeyboardLayoutList, NtUserGetKeyboardLayoutName.

svn path=/trunk/; revision=25758

17 years ago30 seconds screensaver timeout is just simply wrong. Developers should have test...
Aleksey Bragin [Fri, 9 Feb 2007 10:46:13 +0000 (10:46 +0000)]
30 seconds screensaver timeout is just simply wrong. Developers should have test-settings inside *their* working copies, not trunk/release branches.

Set it to 10 minutes (default value in WinXP, iirc).

svn path=/branches/ros-branch-0_3_1/; revision=25757

17 years ago30 seconds screensaver timeout is just simply wrong. Developers should have test...
Aleksey Bragin [Fri, 9 Feb 2007 10:45:54 +0000 (10:45 +0000)]
30 seconds screensaver timeout is just simply wrong. Developers should have test-settings inside *their* working copies, not trunk/release branches.

Set it to 10 minutes (default value in WinXP, iirc).

svn path=/trunk/; revision=25756

17 years agoA gdi handle viewer.
Timo Kreuzer [Thu, 8 Feb 2007 23:29:24 +0000 (23:29 +0000)]
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

17 years agoadd msacm32.drv to bootcd
Sylvain Petreolle [Thu, 8 Feb 2007 17:06:48 +0000 (17:06 +0000)]
add msacm32.drv to bootcd

svn path=/trunk/; revision=25754

17 years agotry to load actual names
Sylvain Petreolle [Thu, 8 Feb 2007 17:05:15 +0000 (17:05 +0000)]
try to load actual names
for midimap.dll and msacm32.drv

svn path=/trunk/; revision=25753

17 years ago- Fix build.
Alex Ionescu [Thu, 8 Feb 2007 01:22:04 +0000 (01:22 +0000)]
- Fix build.
- Initialize some SharedUserData settings in MmInitSystem.

svn path=/trunk/; revision=25752

17 years ago- Update boot graphics with new, RLE-compressed and palette-blacked versions from mf.
Alex Ionescu [Thu, 8 Feb 2007 00:50:23 +0000 (00:50 +0000)]
- Update boot graphics with new, RLE-compressed and palette-blacked versions from mf.
- Re-enable FreeLDR's "prepare for ros video" routine, but change it to match the new BootVid, which uses Mode 0x12. This is roughly what HalDisplayReset does, which isn't yet implemented (except the latter needs to setup a BIOS call trampoline).
- Fix up some bugs in bootvid and inbv.
- Implement SOS case of DisplayBootBitmap, and implement FinalizeBootLogo. Now bootvid starts to show its colors, but one .bmp is still buggy.

svn path=/trunk/; revision=25751

17 years ago- Add bootvid-compatible bitmaps for ReactOS, made by mf.
Alex Ionescu [Wed, 7 Feb 2007 22:08:13 +0000 (22:08 +0000)]
- Add bootvid-compatible bitmaps for ReactOS, made by mf.

svn path=/trunk/; revision=25750

17 years agoSpecify which winuser.h we want to include, instead of relying on some magic to find...
Hervé Poussineau [Wed, 7 Feb 2007 21:40:46 +0000 (21:40 +0000)]
Specify which winuser.h we want to include, instead of relying on some magic to find the right one

svn path=/trunk/; revision=25749

17 years agoMerge fixes for LiveCD (25746, 25747 plus corresponding changes in ex/init.c).
Aleksey Bragin [Wed, 7 Feb 2007 20:56:12 +0000 (20:56 +0000)]
Merge fixes for LiveCD (25746, 25747 plus corresponding changes in ex/init.c).

LiveCD now works.

svn path=/branches/ros-branch-0_3_1/; revision=25748

17 years ago- Better fix for LiveCD issue; now it should work no matter what.
Alex Ionescu [Wed, 7 Feb 2007 16:31:24 +0000 (16:31 +0000)]
- Better fix for LiveCD issue; now it should work no matter what.

svn path=/trunk/; revision=25747

17 years ago- Fix IopApplyReactOSCdRomHack to handle LiveCD case properly. LiveCD should now...
Alex Ionescu [Wed, 7 Feb 2007 06:08:24 +0000 (06:08 +0000)]
- Fix IopApplyReactOSCdRomHack to handle LiveCD case properly. LiveCD should now boot*.
- Fix invalid inbv called during shutdown.
- Don't call HalResetDisplay during VidReset since it's not yet implemented and this will crash the system.
- Temporarily disable bootvid in LiveCD until it works, and enable debugging output so LiveCDs can output some debugging information in case of bugs.
* LiveCD won't actually work because for some time now, ReactOS needs to be "installed" because of missing PnP entries. LiveCD Boot will cause a message box saying "EnableUserModePnPManager" failed. hpoussin?

svn path=/trunk/; revision=25746

17 years agoFix "keyboard does not respond" bug. Thanks to Peter Krawies (breakoutbox /AT/ web...
Dmitry Gorbachev [Wed, 7 Feb 2007 00:29:50 +0000 (00:29 +0000)]
Fix "keyboard does not respond" bug. Thanks to Peter Krawies (breakoutbox /AT/ web /DOT/ de)

svn path=/trunk/; revision=25745

17 years agobootvid.sys -> bootvid.dll
Dmitry Gorbachev [Tue, 6 Feb 2007 17:48:21 +0000 (17:48 +0000)]
bootvid.sys -> bootvid.dll

svn path=/trunk/; revision=25744

17 years agoupdate my private doc about mmx
Magnus Olsen [Tue, 6 Feb 2007 16:46:33 +0000 (16:46 +0000)]
update my private doc about mmx

svn path=/branches/ros-branch-0_3_1/; revision=25743

17 years agommx works so activate mmx optimze for mesa32
Magnus Olsen [Tue, 6 Feb 2007 16:44:44 +0000 (16:44 +0000)]
mmx works so activate mmx optimze for mesa32

svn path=/branches/ros-branch-0_3_1/; revision=25742

17 years agoupdate my private regress doc.
Magnus Olsen [Tue, 6 Feb 2007 16:11:20 +0000 (16:11 +0000)]
update my private regress doc.

svn path=/branches/ros-branch-0_3_1/; revision=25741

17 years agotempary fix for OpenGL. until ntoskrnl got sse implement. this fix are only for 0...
Magnus Olsen [Tue, 6 Feb 2007 16:10:45 +0000 (16:10 +0000)]
tempary fix for OpenGL. until ntoskrnl got sse implement. this fix are only for 0.3.1 branch

svn path=/branches/ros-branch-0_3_1/; revision=25740

17 years agoDoc what I known is left todo.
Magnus Olsen [Tue, 6 Feb 2007 15:27:24 +0000 (15:27 +0000)]
Doc what I known is left todo.
please update it. what have been regress and which regress have been fixed.

svn path=/branches/ros-branch-0_3_1/; revision=25739

17 years agofixed ReactOS.xml to ReactOS.rbuild.
Magnus Olsen [Tue, 6 Feb 2007 13:34:47 +0000 (13:34 +0000)]
fixed ReactOS.xml to ReactOS.rbuild.
some one forget change some place to ReactOS.rbuild and update the doc

svn path=/trunk/; revision=25738

17 years agoCorrectly fix the hack introduced in r25667.
Hervé Poussineau [Mon, 5 Feb 2007 23:58:06 +0000 (23:58 +0000)]
Correctly fix the hack introduced in r25667.

svn path=/trunk/; revision=25734

17 years agoNo code change! Just a way to try to contact Eric.
Timo Kreuzer [Mon, 5 Feb 2007 23:31:17 +0000 (23:31 +0000)]
No code change! Just a way to try to contact Eric.
Eric, I tried to contact you without success, I have code for the appearance page to add the needed functionality. I would talk with you about this, as you are also working on that. Please contact me, if you read this.

svn path=/trunk/; revision=25733

17 years agoMerge 25725, 25726, 25728.
Aleksey Bragin [Mon, 5 Feb 2007 20:59:18 +0000 (20:59 +0000)]
Merge 25725, 25726, 25728.

svn path=/branches/ros-branch-0_3_1/; revision=25732

17 years agoUpdate ex/timer.c up to 25610.
Aleksey Bragin [Mon, 5 Feb 2007 20:41:00 +0000 (20:41 +0000)]
Update ex/timer.c up to 25610.

svn path=/branches/ros-branch-0_3_1/; revision=25731

17 years agoMerge 25584, 25588.
Aleksey Bragin [Mon, 5 Feb 2007 20:14:59 +0000 (20:14 +0000)]
Merge 25584, 25588.

svn path=/branches/ros-branch-0_3_1/; revision=25730

17 years agofixed 5.01 can be type in calc it did remove the zero so the result was 5.1
Magnus Olsen [Mon, 5 Feb 2007 16:34:29 +0000 (16:34 +0000)]
fixed 5.01 can be type in calc it did remove the zero so the result was 5.1
See issue #2019 for more details.

svn path=/trunk/; revision=25729

17 years agoFreeResource is deprecated. Not needed to free any mem.
Timo Kreuzer [Mon, 5 Feb 2007 13:37:16 +0000 (13:37 +0000)]
FreeResource is deprecated. Not needed to free any mem.

svn path=/trunk/; revision=25728

17 years agoThose Wmi*() are not kernel APIs.
Aleksey Bragin [Mon, 5 Feb 2007 10:47:27 +0000 (10:47 +0000)]
Those Wmi*() are not kernel APIs.

svn path=/trunk/; revision=25727

17 years agoMake LoadCursorIconImage() find shared icons, even if they don't have the desired...
Timo Kreuzer [Mon, 5 Feb 2007 00:59:59 +0000 (00:59 +0000)]
Make LoadCursorIconImage() find shared icons, even if they don't have the desired width/height. Now explorer doesn't leak icons / bitmaps anymore.

fixes bug 1554
See issue #1554 for more details.

svn path=/trunk/; revision=25726

17 years agoMSDN sais: "The CreateIconFromResource function calls CreateIconFromResourceEx passin...
Timo Kreuzer [Mon, 5 Feb 2007 00:21:38 +0000 (00:21 +0000)]
MSDN sais: "The CreateIconFromResource function calls CreateIconFromResourceEx passing LR_DEFAULTSIZE|LR_SHARED as flags."
(not supported yet in CreateIconFromResourceEx())

svn path=/trunk/; revision=25725

17 years agofix build
Sylvain Petreolle [Sun, 4 Feb 2007 22:35:09 +0000 (22:35 +0000)]
fix build

svn path=/trunk/; revision=25724

17 years agoGood news after all bugfix in cmd it seam pipe works with unicode.
Magnus Olsen [Sun, 4 Feb 2007 21:48:07 +0000 (21:48 +0000)]
Good news after all bugfix in cmd it seam pipe works with unicode.
only bug left
1. we need found where we miss translate some part from unicode -> ansi and use current codepage.
This change are not for 0.3.1 it is target for next release.

svn path=/trunk/; revision=25723

17 years agofix bootvid build
Sylvain Petreolle [Sun, 4 Feb 2007 19:19:18 +0000 (19:19 +0000)]
fix bootvid build

svn path=/trunk/; revision=25722

17 years ago- Fix call to VidInitialize.
Alex Ionescu [Sun, 4 Feb 2007 19:15:04 +0000 (19:15 +0000)]
- Fix call to VidInitialize.
- Disable call to HalDisplayReset to avoid bugcheck. [Lock held]
- Don't unload bootvid after Phase 3 I/O Init since we still need to call it.
- Implement HalpTranslateResourceAddress since bootvid (and other windows boot drivers, potentially) needs it.

svn path=/trunk/; revision=25721

17 years agopatch from : Paolo Devoti <devotip at gmail.com>
Magnus Olsen [Sun, 4 Feb 2007 18:25:47 +0000 (18:25 +0000)]
patch from : Paolo Devoti <devotip at gmail.com>
fix issue  : fix it.rc typo
see bug 1983 as well
See issue #2017 for more details.

svn path=/trunk/; revision=25720

17 years agofixed a problem possible overwrite memory in cmd. base on knowlges from bug 2017...
Magnus Olsen [Sun, 4 Feb 2007 18:19:34 +0000 (18:19 +0000)]
fixed a problem possible overwrite memory in cmd. base on knowlges from bug 2017. the patch are incorrect to fix it.
we simple do not allown overwrite the memory. both on trunk and 0.3.1

See issue #2017 for more details.

svn path=/trunk/; revision=25719

17 years agofixed a problem possible overwrite memory in cmd. base on knowlges from bug 2017...
Magnus Olsen [Sun, 4 Feb 2007 18:17:34 +0000 (18:17 +0000)]
fixed a problem possible overwrite memory in cmd. base on knowlges from bug 2017. the patch are incorrect to fix it.
we simple do not allown overwrite the memory.

See issue #2017 for more details.

svn path=/branches/ros-branch-0_3_1/; revision=25718

17 years agoLock bootvid's code.
Aleksey Bragin [Sun, 4 Feb 2007 16:35:00 +0000 (16:35 +0000)]
Lock bootvid's code.

svn path=/trunk/; revision=25717