Commit graph

24016 commits

Author SHA1 Message Date
Maarten Bosma eab0f7c139 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
2007-02-16 11:07:28 +00:00
Hervé Poussineau 0470f1582d Set correct value for Characteristics (tested by Colin_Finck on IRC)
svn path=/trunk/; revision=25810
2007-02-15 20:39:33 +00:00
Eric Kohl 4101f39dc4 - 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
2007-02-15 20:24:38 +00:00
Alex Ionescu c731ec2a5a - 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
2007-02-15 17:44:04 +00:00
Hervé Poussineau 973093ca7b Add missing 'Characterists' registry key for netcards. Fixes part of bug 2034
svn path=/trunk/; revision=25805
2007-02-15 17:34:26 +00:00
Eric Kohl 9d58eb743e - 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
2007-02-15 14:12:36 +00:00
Dmitry Gorbachev 9645a00e53 - fix "keyboard does not respond" bug on Biostar board (thanks to Peter Krawies)
- fix printf()

svn path=/trunk/; revision=25803
2007-02-15 10:57:38 +00:00
Alex Ionescu eaa061328d - You all s^H^H^H^H^H^H^H^H^H Fix build error.
svn path=/trunk/; revision=25802
2007-02-14 20:50:46 +00:00
Alex Ionescu 48d44183ec - Linux sucks
svn path=/trunk/; revision=25801
2007-02-14 20:47:43 +00:00
Alex Ionescu d006bab906 - 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
2007-02-14 20:30:33 +00:00
Alex Ionescu e542b2c634 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
2007-02-14 17:51:48 +00:00
Saveliy Tretiakov 1102b7a6e9 Post WM_INPUTLANGCHANGE to thread's focus windows when keyboard layout is changed.
svn path=/trunk/; revision=25798
2007-02-14 13:00:38 +00:00
Saveliy Tretiakov 4db9f2ba75 - Make NtUserLoadKeyboardLayoutEx accept 6 params
- Always get default locale from ntoskrnl
- Fix some small bugs


svn path=/trunk/; revision=25797
2007-02-13 19:50:06 +00:00
Magnus Olsen 26b059ca40 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
2007-02-12 21:23:32 +00:00
Magnus Olsen d6866b6242 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
2007-02-12 18:37:05 +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
Timo Kreuzer 9ae5b19fde - Implement appearance page of desk.cpl
- update and cleanup resources
See issue #1732 for more details.

svn path=/trunk/; revision=25791
2007-02-12 03:32:40 +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
Johannes Anderwald 519d3fe7fc - fix warning
svn path=/trunk/; revision=25789
2007-02-11 16:27:08 +00:00
Johannes Anderwald e7889591ae - Fix a bug in NtUserOpenDesktop and simply the code
- Fix bug in NtUserEnumDisplayDevices

svn path=/trunk/; revision=25788
2007-02-11 15:32:54 +00:00
Johannes Anderwald 55ffc321dc - Fix a few warnings
svn path=/trunk/; revision=25787
2007-02-11 15:23:48 +00:00
Magnus Olsen 70f870bb70 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
2007-02-11 15:19:22 +00:00
Johannes Anderwald 31ba4573a4 fix svn properties
svn path=/trunk/; revision=25785
2007-02-11 15:14:04 +00:00
Johannes Anderwald 743b9588a7 - remove stdcall decoration
svn path=/trunk/; revision=25784
2007-02-11 15:12:49 +00:00
Aleksey Bragin 16572ed8bb 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
2007-02-11 13:37:39 +00:00
Aleksey Bragin e1e4c0d0ca 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
2007-02-11 13:05:50 +00:00
Sylvain Petreolle 3fa9b4f5fb move from branch
svn path=/trunk/; revision=25781
2007-02-11 11:21:14 +00:00
Sylvain Petreolle 03332d70a1 delete empty dir
svn path=/trunk/; revision=25780
2007-02-11 11:17:27 +00:00
Magnus Olsen b93110af03 adding winetest from the vendor drop for usp10.dll
svn path=/branches/ros-branch-0_3_1/; revision=25779
2007-02-11 10:44:31 +00:00
Magnus Olsen 497f28112f adding winetest from the vendor drop for usp10.dll
svn path=/trunk/; revision=25779
2007-02-11 10:44:31 +00:00
Magnus Olsen 9325914af4 sorry I forget the rbuild for the usp10 it self :(
svn path=/trunk/; revision=25778
2007-02-11 10:37:59 +00:00
Magnus Olsen 42c37a20ce 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
2007-02-11 10:35:19 +00:00
Magnus Olsen 9fbc2ee0f8 Copied remotely
svn path=/trunk/; revision=25776
2007-02-11 10:22:39 +00:00
Magnus Olsen 44e336e351 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
2007-02-11 10:06:35 +00:00
Magnus Olsen 44c2b6bf63 update my private doc
svn path=/branches/ros-branch-0_3_1/; revision=25770
2007-02-10 22:32:06 +00:00
Magnus Olsen 4c34438a9a 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
2007-02-10 22:26:45 +00:00
Timo Kreuzer 3a80060bfe 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
2007-02-10 22:02:45 +00:00
Maarten Bosma 4cef94f636 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
2007-02-10 21:48:44 +00:00
Maarten Bosma 40790c54c7 sorry 25765 was ment to go to trunk
svn path=/branches/ros-branch-0_3_1/; revision=25766
2007-02-10 21:46:37 +00:00
Maarten Bosma d06c2356fb 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
2007-02-10 21:41:28 +00:00
Aleksey Bragin e356b22952 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
2007-02-10 15:49:50 +00:00
Magnus Olsen 1bbe7c2674 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
2007-02-10 14:52:46 +00:00
Saveliy Tretiakov 516fc1cc74 Add missing return
svn path=/trunk/; revision=25762
2007-02-10 13:11:02 +00:00
Magnus Olsen 39f8130921 stub shall be in stub. file not in other files.
svn path=/trunk/; revision=25761
2007-02-10 09:15:04 +00:00
Saveliy Tretiakov 0675bc2424 Fix a bug.
svn path=/trunk/; revision=25760
2007-02-10 08:09:04 +00:00
Saveliy Tretiakov 011bca506e Add braces to if.
svn path=/trunk/; revision=25759
2007-02-10 07:28:25 +00:00
Saveliy Tretiakov c1145464aa Add multiple keyboard layout support. Implemented NtUserLoadKeyboardLayoutEx, NtUserActivateKeyboardLayout, NtUserGetKeyboardLayoutList, NtUserGetKeyboardLayoutName.
svn path=/trunk/; revision=25758
2007-02-09 20:48:37 +00:00
Aleksey Bragin f88b54561d 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
2007-02-09 10:46:13 +00:00
Aleksey Bragin cd679a1f7e 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
2007-02-09 10:45:54 +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