14 years agoAdd support for a new environment variable ROS_GENERATE_RSYM to disable RSYM during...
Colin Finck [Sun, 22 Jun 2008 18:38:12 +0000 (18:38 +0000)]
Add support for a new environment variable ROS_GENERATE_RSYM to disable RSYM during the build
Patch by Alex

svn path=/trunk/; revision=34049

14 years agoMove wshtcpip to dll/win32, it's a DLL and not a driver
Colin Finck [Sun, 22 Jun 2008 18:19:19 +0000 (18:19 +0000)]
Move wshtcpip to dll/win32, it's a DLL and not a driver
"Patch" by Alex

svn path=/trunk/; revision=34048

14 years ago- Extend SEH to cover writing result to output arguments. Noticed by Stefan Ginsberg.
Aleksey Bragin [Sun, 22 Jun 2008 16:24:15 +0000 (16:24 +0000)]
- Extend SEH to cover writing result to output arguments. Noticed by Stefan Ginsberg.

svn path=/trunk/; revision=34047

14 years agoSVN Maintenance: set eol-style:native for lib/sdk/crt.
Aleksey Bragin [Sun, 22 Jun 2008 12:08:15 +0000 (12:08 +0000)]
SVN Maintenance: set eol-style:native for lib/sdk/crt.

svn path=/trunk/; revision=34046

14 years ago- Seungju Kim <admin AT manateeshome DOT com>
Matthias Kupfer [Sun, 22 Jun 2008 10:01:59 +0000 (10:01 +0000)]
- Seungju Kim <admin AT manateeshome DOT com>
- Korean translation of explorer-new added
- See issue #3368 for more details.
- Alexander Wurzinger <<Lohnegrim At gmx DOT net>
- Patch for the "CreateEnergyList failed"-Error added.
- See issue #2469 for more details.

svn path=/trunk/; revision=34045

14 years agoDon't link to libs we don't need
Ged Murphy [Sat, 21 Jun 2008 23:27:23 +0000 (23:27 +0000)]
Don't link to libs we don't need

svn path=/trunk/; revision=34044

14 years ago- Auto expand the list of available tests
Ged Murphy [Sat, 21 Jun 2008 19:19:22 +0000 (19:19 +0000)]
- Auto expand the list of available tests
- Add the selected test to the main combo
- Tag the dll path to each combo item
- Run the test when the 'run' button is hit.
We can now run all Wine tests from the GUI, but we get no feedback yet.

svn path=/trunk/; revision=34043

14 years ago- Provide a real fix for fwprintf and fputwc in case the output stream is in TEXT...
Aleksey Bragin [Sat, 21 Jun 2008 15:58:00 +0000 (15:58 +0000)]
- Provide a real fix for fwprintf and fputwc in case the output stream is in TEXT mode by doing a widechar to multibyte conversion.
- This should be submitted to Wine to close their bug.
See issue #3353 for more details.

svn path=/trunk/; revision=34042

14 years agoExt2 and NTFS:
Pierre Schweitzer [Sat, 21 Jun 2008 11:20:48 +0000 (11:20 +0000)]
Ext2 and NTFS:
- Remove FCB from the linked list when it's released
- Check we have a FCB before releasing it

svn path=/trunk/; revision=34041

14 years ago- fix hive for korean keyboard layout
Matthias Kupfer [Sat, 21 Jun 2008 10:08:09 +0000 (10:08 +0000)]
- fix hive for korean keyboard layout
Alexander Wurzinger <Lohnegrim At gmx DOT net>
- Patch to fix the "Pos InitData failed"-Error in power options.
- See issue #2469 for more details.

svn path=/trunk/; revision=34040

14 years agoBugfixes:
Pierre Schweitzer [Sat, 21 Jun 2008 10:04:14 +0000 (10:04 +0000)]
- Check whether we have a valid VCB before creating FCB
- Initialize FCBs list before using it...

svn path=/trunk/; revision=34039

14 years ago- vsn[w]printf -> _vsn[w]printf.
Aleksey Bragin [Sat, 21 Jun 2008 10:00:59 +0000 (10:00 +0000)]
- vsn[w]printf -> _vsn[w]printf.

svn path=/trunk/; revision=34038

14 years agoJeffrey Morlan <>
Aleksey Bragin [Fri, 20 Jun 2008 19:00:37 +0000 (19:00 +0000)]
Jeffrey Morlan <>

- Wrap libwine's memory allocations, avoiding msvcrt imports in kernel32
- The cause is that libwine/debug.c uses functions (malloc, free, realloc, _strdup) which are only present in a complete CRT, creating imports from msvcrt.dll in any module that uses it, including kernel32.dll. Since kernel32 is currently importing from msvcrt, kernel32 gets DLL_PROCESS_DETACHed first, creating a problem for msvcrt's DLL_PROCESS_DETACH which, as a result of a recent bugfix, now uses kernel32 functions that depend on the resources that were freed.
- Fix this by implementing those 4 functions as wrappers around the Local* APIs, in order to avoid the problematic imports.
See issue #3373 for more details.

svn path=/trunk/; revision=34037

14 years agoMiscellaneous NTFS patch:
Pierre Schweitzer [Fri, 20 Jun 2008 18:40:57 +0000 (18:40 +0000)]
Miscellaneous NTFS patch:
- Filled FCB structures with more informations
- Added them to linked list
- Set mounted volume to FILE_DEVICE_DISK_FILE_SYSTEM
- Various code cleanup

svn path=/trunk/; revision=34036

14 years agoDon't forget to free the parent nodes
Ged Murphy [Fri, 20 Jun 2008 11:39:31 +0000 (11:39 +0000)]
Don't forget to free the parent nodes

svn path=/trunk/; revision=34035

14 years agoSave the select test info on close.
Ged Murphy [Fri, 20 Jun 2008 11:20:26 +0000 (11:20 +0000)]
Save the select test info on close.
The browse dialog now lists all winetest dlls and allows selection of either all tests in all dlls, all tests within a dll, or the option to choose individual tests. (rewuires a modified winetest framework)

svn path=/trunk/; revision=34034

14 years ago- build up test data for each node in the treeview and tag it
Ged Murphy [Fri, 20 Jun 2008 08:21:49 +0000 (08:21 +0000)]
- build up test data for each node in the treeview and tag it
- traverse the tree recursively and free all data on close

svn path=/trunk/; revision=34033

14 years agoPut a comment and an #if around the lines I changed in my previous commit, because...
Colin Finck [Thu, 19 Jun 2008 22:03:22 +0000 (22:03 +0000)]
Put a comment and an #if around the lines I changed in my previous commit, because the ##__VA_ARGS__ syntax was only tested with MSVC and GCC

svn path=/trunk/; revision=34032

14 years agoReapply Ged's fix, this time correctly :-)
Colin Finck [Thu, 19 Jun 2008 21:57:32 +0000 (21:57 +0000)]
Reapply Ged's fix, this time correctly :-)
Thanks to hackbunny for pointing out that ##__VA_ARGS__ will strip the trailing comma and this works on both GCC and MSVC.

svn path=/trunk/; revision=34031

14 years agorevert the debug macros change, the entire codebase isn't ready for it yet
Ged Murphy [Thu, 19 Jun 2008 21:40:08 +0000 (21:40 +0000)]
revert the debug macros change, the entire codebase isn't ready for it yet

svn path=/trunk/; revision=34030

14 years agoOnly call DbgPrintEx once for each debug macro. This stops trace info from being...
Ged Murphy [Thu, 19 Jun 2008 20:42:57 +0000 (20:42 +0000)]
Only call DbgPrintEx once for each debug macro. This stops trace info from being split over 2 lines in some tools, like DebugView.

svn path=/trunk/; revision=34029

14 years ago- Template for korean keyboard layout implemented (TODO: kbdko.c needs modifications...
Matthias Kupfer [Thu, 19 Jun 2008 17:58:43 +0000 (17:58 +0000)]
- Template for korean keyboard layout implemented (TODO: kbdko.c needs modifications for korean keyboard layout)
- bootdata, hives and usetup modified for korean keyboard layout
- See issue #3345 for more details.
- Patch from Gabriel Ilardi <gabrielilardi [at] hotmail [dot] it> for timedate settings applied
- See issue #3251 for more details.

svn path=/trunk/; revision=34028

14 years agoGCC 4.3.x fixes for cabman and sysreg
Colin Finck [Thu, 19 Jun 2008 17:07:38 +0000 (17:07 +0000)]
GCC 4.3.x fixes for cabman and sysreg
Also clean up sysreg a bit and put all #include's for standard headers in the .h files. (they were spread around the .cpp and the .h files previously)

See issue #3370 for more details.

svn path=/trunk/; revision=34027

14 years ago- Remove all string msvcrt->ntdll forwards: let's be consistent, either forward every...
Aleksey Bragin [Thu, 19 Jun 2008 13:08:46 +0000 (13:08 +0000)]
- Remove all string msvcrt->ntdll forwards: let's be consistent, either forward everything, or forward only something. I left assembly math functions though, since they are standalone and 100% identical.
- As a result, fixed a couple of incorrect functions linkage.
- Fixed a name of vsnprintf, so really msvcrt's version is used now, not RTL's one.

svn path=/trunk/; revision=34026

14 years ago- Restored ACP/OEMCP/MACCP static entries (removed in 34010) - they are needed for...
Aleksey Bragin [Thu, 19 Jun 2008 12:11:32 +0000 (12:11 +0000)]
- Restored ACP/OEMCP/MACCP static entries (removed in 34010) - they are needed for LiveCD boot process.

svn path=/trunk/; revision=34025

14 years agoAdd all modules within a test to the treeview
Ged Murphy [Thu, 19 Jun 2008 11:57:14 +0000 (11:57 +0000)]
Add all modules within a test to the treeview

svn path=/trunk/; revision=34024

14 years ago- Revert 34010 completely, too much breakages. "Don't fix what's not broken".
Aleksey Bragin [Thu, 19 Jun 2008 08:41:31 +0000 (08:41 +0000)]
- Revert 34010 completely, too much breakages. "Don't fix what's not broken".

svn path=/trunk/; revision=34023

14 years agoadd all test dlls into the treeview
Ged Murphy [Thu, 19 Jun 2008 08:36:17 +0000 (08:36 +0000)]
add all test dlls into the treeview

svn path=/trunk/; revision=34022

14 years agoBug 3362: Italian translation update by Paolo Devoti (
Daniel Reimer [Thu, 19 Jun 2008 06:15:59 +0000 (06:15 +0000)]
Bug 3362: Italian translation update by Paolo Devoti (

svn path=/trunk/; revision=34021

14 years agoPath does not work and it locks up the system with out any debug information. I will...
James Tabor [Thu, 19 Jun 2008 01:47:57 +0000 (01:47 +0000)]
Path does not work and it locks up the system with out any debug information. I will try to have it ready before 0.3.5 is release.

svn path=/trunk/; revision=34020

14 years agoSet default miter limit.
James Tabor [Thu, 19 Jun 2008 01:29:01 +0000 (01:29 +0000)]
Set default miter limit.

svn path=/trunk/; revision=34019

14 years ago- Fix typos
Dmitry Chapyshev [Wed, 18 Jun 2008 19:33:55 +0000 (19:33 +0000)]
- Fix typos

svn path=/trunk/; revision=34018

14 years agoJeffrey Morlan <mrnobo1024 AT yahoo DOT com>
Matthias Kupfer [Wed, 18 Jun 2008 19:15:37 +0000 (19:15 +0000)]
Jeffrey Morlan <mrnobo1024 AT yahoo DOT com>
- Patch for Optimizations of TextIntGetTextExtentPoint
- See issue #3366 for more details.

svn path=/trunk/; revision=34017

14 years agoThe start of a GUI to make running the Wine API tests a pleasure rather than a pain.
Ged Murphy [Wed, 18 Jun 2008 19:10:39 +0000 (19:10 +0000)]
The start of a GUI to make running the Wine API tests a pleasure rather than a pain.
This will plug into the new testing framework for the Wine tests, which will also publish it's results on a live website (if I can get Colin to help me with the web stuff ;) )
This is the time to pester me with requests / ideas anyone may have.

svn path=/trunk/; revision=34016

14 years ago- Add rasacd driver (not implemented)
Dmitry Chapyshev [Wed, 18 Jun 2008 19:00:50 +0000 (19:00 +0000)]
- Add rasacd driver (not implemented)

svn path=/trunk/; revision=34015

14 years ago- Add "Alternate Sorts" keys (used by kernel32)
Dmitry Chapyshev [Wed, 18 Jun 2008 18:58:16 +0000 (18:58 +0000)]
- Add "Alternate Sorts" keys (used by kernel32)
- Delete static codepages values (they are added in usetup)
- Add keys for powrprof/powercfg

svn path=/trunk/; revision=34014

14 years ago- Add a bit more DPFLTR items.
Aleksey Bragin [Wed, 18 Jun 2008 17:56:07 +0000 (17:56 +0000)]
- Add a bit more DPFLTR items.

svn path=/trunk/; revision=34013

14 years ago- Small update icon
Dmitry Chapyshev [Wed, 18 Jun 2008 16:48:25 +0000 (16:48 +0000)]
- Small update icon

svn path=/trunk/; revision=34012

14 years ago- Implement ReplaceFileA/W (not fully)
Dmitry Chapyshev [Wed, 18 Jun 2008 15:37:44 +0000 (15:37 +0000)]
- Implement ReplaceFileA/W (not fully)
- Implement DnsHostnameToComputerNameA/W (not fully)
- Implement FoldStringA/W
- Implement SetCPGlobal (not tested)
- Implement TzSpecificLocalTimeToSystemTime
- Implement ReadFileScatter
- Implement WriteFileGather
- Other small changes
All based on Wine 1.0 implementation

svn path=/trunk/; revision=34010

14 years ago- Rename made-up Ob functions names to match publicly available NT names, as most...
Aleksey Bragin [Wed, 18 Jun 2008 12:28:29 +0000 (12:28 +0000)]
- Rename made-up Ob functions names to match publicly available NT names, as most of other Ob names do.

svn path=/trunk/; revision=34009

14 years ago- More fixes to pushlock implementation:
Aleksey Bragin [Wed, 18 Jun 2008 11:34:10 +0000 (11:34 +0000)]
- More fixes to pushlock implementation:
* In ExTimedWaitForUnblockPushLock, check only for STATUS_SUCCESS (which is the only status return when the wait was satisfied, while other like STATUS_TIMEOUT would still be considered a success).
* In ExBlockPushlock, fix a typo when trying out an interlocked exchange with a new value - wrong value was assigned.
* In ExfAcquirePushLockShared, assign PushLock value passed to this function, not the NewValue, like it's done in ExfAcquirePushLockExclusive.
* In ExfReleaseReleasePushLockExclusive, fix a typo which led to incorrect behavior and not waking up the pushlock when it should be.

svn path=/trunk/; revision=34008

14 years ago- several german translation fixes
Matthias Kupfer [Wed, 18 Jun 2008 11:19:07 +0000 (11:19 +0000)]
- several german translation fixes
- missing file of issue #3365 added (see rev. 35004)

svn path=/trunk/; revision=34007

14 years ago- Wake up a pushlock only if it wasn't waking already, not vice versa (was a typo...
Aleksey Bragin [Wed, 18 Jun 2008 09:53:38 +0000 (09:53 +0000)]
- Wake up a pushlock only if it wasn't waking already, not vice versa (was a typo in ExfAcquirePushLockExclusive, but was done correctly in ExfAcquirePushLockShared).

svn path=/trunk/; revision=34006

14 years agoVytis Girdzijauskas <cman AT cman DOT us>
Matthias Kupfer [Wed, 18 Jun 2008 09:39:10 +0000 (09:39 +0000)]
Vytis Girdzijauskas <cman AT cman DOT us>
- Lithuanian translation of explorer-new and shimgvw
- See issue #3365 for more details.

svn path=/trunk/; revision=34005

14 years agoImplement Get/SetMiterLimit, with proper float containment.
James Tabor [Tue, 17 Jun 2008 20:19:30 +0000 (20:19 +0000)]
Implement Get/SetMiterLimit, with proper float containment.

svn path=/trunk/; revision=34004

14 years ago- Comment some languages
Dmitry Chapyshev [Tue, 17 Jun 2008 20:11:22 +0000 (20:11 +0000)]
- Comment some languages

svn path=/trunk/; revision=34003

14 years ago- Add correct scrolling by keypress
Dmitry Chapyshev [Tue, 17 Jun 2008 20:10:07 +0000 (20:10 +0000)]
- Add correct scrolling by keypress

svn path=/trunk/; revision=34002

14 years agoMikhail Zvyozdochkink <>
Aleksey Bragin [Tue, 17 Jun 2008 18:42:20 +0000 (18:42 +0000)]
Mikhail Zvyozdochkink <>
- Limit inputable max partition size to 999999 Mbs.
See issue #3356 for more details.

svn path=/trunk/; revision=34001

14 years agoDaniel Zimmerman <>
Aleksey Bragin [Tue, 17 Jun 2008 18:21:41 +0000 (18:21 +0000)]
Daniel Zimmerman <>
- Cosmetic fix: initialize pushlocks using a special macro, not by assigning 0 to its value.
See issue #3352 for more details.

svn path=/trunk/; revision=34000

14 years agoFix build
James Tabor [Tue, 17 Jun 2008 05:33:46 +0000 (05:33 +0000)]
Fix build

svn path=/trunk/; revision=33999

14 years agoUpdate changes to Clip regions andregions. New support for Rao and Vis.
James Tabor [Tue, 17 Jun 2008 05:19:08 +0000 (05:19 +0000)]
Update changes to Clip regions andregions. New support for Rao and Vis.

svn path=/trunk/; revision=33998

14 years agoUpdate NtUserSetSysColors.
James Tabor [Tue, 17 Jun 2008 02:42:40 +0000 (02:42 +0000)]
Update NtUserSetSysColors.

svn path=/trunk/; revision=33997

14 years agoIntEngGradientFill: fix cleanup when calling the driver
Timo Kreuzer [Mon, 16 Jun 2008 18:56:52 +0000 (18:56 +0000)]
IntEngGradientFill: fix cleanup when calling the driver

svn path=/trunk/; revision=33996

14 years ago- print out when process takes too much gdi handles
Timo Kreuzer [Mon, 16 Jun 2008 18:27:18 +0000 (18:27 +0000)]
- print out when process takes too much gdi handles
- GDIOBJ_FreeObjByHandly: unlock handle table entry when object to delete was locked
- REGION_AllocRgnWithHandle: unlock region before trying to delete it on failure
Now gdi32_winetest clipping doesn't freeze ros anymore

svn path=/trunk/; revision=33995

14 years ago- add test for GdiGetCharDimension
Timo Kreuzer [Mon, 16 Jun 2008 15:24:05 +0000 (15:24 +0000)]
- add test for GdiGetCharDimension
- fix a test name
- comment out more tests for EngReleaseSemaphore, they cause heap corruption on ros
- convert more TEST -> RTEST

svn path=/trunk/; revision=33994

14 years agoTEST -> RTEST as these succeed on ros now
Timo Kreuzer [Mon, 16 Jun 2008 13:27:39 +0000 (13:27 +0000)]
TEST -> RTEST as these succeed on ros now

svn path=/trunk/; revision=33993

14 years agocomment out some tests that fail on win XP, until someone fixes them
Timo Kreuzer [Mon, 16 Jun 2008 13:20:06 +0000 (13:20 +0000)]
comment out some tests that fail on win XP, until someone fixes them

svn path=/trunk/; revision=33992

14 years ago- Revert .spec -> .def conversion (incorrect one also, which broke rostests compile).
Aleksey Bragin [Mon, 16 Jun 2008 12:22:13 +0000 (12:22 +0000)]
- Revert .spec -> .def conversion (incorrect one also, which broke rostests compile).

svn path=/trunk/; revision=33991

14 years ago- More NDK fixes.
Aleksey Bragin [Mon, 16 Jun 2008 09:20:47 +0000 (09:20 +0000)]
- More NDK fixes.
- Hackmove: Define NTDDI_VERSION in kernel32, otherwise it gets derived from WINVER version (and thus kernel32 becomes Vista). This allows to remove #undef NTDDI_VERSION from ndk/obtypes.h.

svn path=/trunk/; revision=33990

14 years ago- NDK fixes (structure rename only).
Aleksey Bragin [Mon, 16 Jun 2008 08:54:21 +0000 (08:54 +0000)]
- NDK fixes (structure rename only).

svn path=/trunk/; revision=33989

14 years ago- Small fix DeletePwrScheme
Dmitry Chapyshev [Mon, 16 Jun 2008 08:20:21 +0000 (08:20 +0000)]
- Small fix DeletePwrScheme
- Implement ReadGlobalPwrPolicy
- Implement ReadPwrScheme
- Implement ValidatePowerPolicies (not fully implemented)

svn path=/trunk/; revision=33988

14 years ago- Update information about powrprof
Dmitry Chapyshev [Mon, 16 Jun 2008 06:06:38 +0000 (06:06 +0000)]
- Update information about powrprof

svn path=/trunk/; revision=33987

14 years ago- Fork powrprof.dll
Dmitry Chapyshev [Mon, 16 Jun 2008 06:00:22 +0000 (06:00 +0000)]
- Fork powrprof.dll
- Replace .spec with .def
- Implement EnumPwrSchemes
- Implement GetActivePwrScheme
- Implement DeletePwrScheme

svn path=/trunk/; revision=33986

14 years agoUse a ClipRegion when collapsing, so that the TreeView works correctly.
Colin Finck [Sun, 15 Jun 2008 16:05:39 +0000 (16:05 +0000)]
Use a ClipRegion when collapsing, so that the TreeView works correctly.
This patch has already been submitted to Wine, but as they don't care currently, I applied it manually here and updated "comctl32_ros.diff" accordingly.

Patch by Timo Kreuzer

svn path=/trunk/; revision=33985

14 years agoFix yet another invalid use of WriteFile.
Colin Finck [Sun, 15 Jun 2008 16:04:03 +0000 (16:04 +0000)]
Fix yet another invalid use of WriteFile.
This patch has already been submitted to Wine, but as they don't care currently, I applied it manually here and updated "wininet_ros.diff" accordingly.

svn path=/trunk/; revision=33984

14 years agoBug 3320: Czech translation update by Radek Liska (
Daniel Reimer [Sun, 15 Jun 2008 08:14:43 +0000 (08:14 +0000)]
Bug 3320: Czech translation update by Radek Liska (
Small Update for the German USETUP by me.

svn path=/trunk/; revision=33982

14 years ago- Continue cleanup, use new peripheral headers (And fix them)
ReactOS Portable Systems Group [Sun, 15 Jun 2008 07:54:18 +0000 (07:54 +0000)]
- Continue cleanup, use new peripheral headers (And fix them)
- Fix ARM HAL headers and use them

svn path=/trunk/; revision=33981

14 years ago- These are peripherals, not targets
ReactOS Portable Systems Group [Sun, 15 Jun 2008 06:15:13 +0000 (06:15 +0000)]
- These are peripherals, not targets

svn path=/trunk/; revision=33980

14 years ago- Start major ARM port cleanup:
ReactOS Portable Systems Group [Sun, 15 Jun 2008 06:14:02 +0000 (06:14 +0000)]
- Start major ARM port cleanup:
  - Make use of the SARCH rbuild parameter to define the target board (default to ARM VersatilePB for now)
  - Make official ARM include directory (include/reactos/arm) and move the ARM DDK there
  - Start creating header files for different target board components.
- Update halfuncs in NDK with one missing function, and temporarily, one ARM function.

svn path=/trunk/; revision=33979

14 years ago- Update Russian translation
Dmitry Chapyshev [Sun, 15 Jun 2008 06:01:53 +0000 (06:01 +0000)]
- Update Russian translation

svn path=/trunk/; revision=33978

14 years ago- Create cmhardwr.c for ARM, stub it out.
ReactOS Portable Systems Group [Sun, 15 Jun 2008 05:40:27 +0000 (05:40 +0000)]
- Create cmhardwr.c for ARM, stub it out.
- Implement KiInitMachineDependent -- this is only useful for x86 and has nothing relevant to ARM, so we just return.
- Implement HalAllProcessorsStarted (again, a no-op) and HalQueryRealTimeClock (uses the RTC on the board -- uboot must set it up first).
- Make sure we get the right Sp during a system call (this is still broken though).
- We need to fix our system call handler next.

svn path=/trunk/; revision=33977

14 years ago- Copy/pasted a bunch of code from the i386 bootvid for text output.
ReactOS Portable Systems Group [Sun, 15 Jun 2008 04:43:22 +0000 (04:43 +0000)]
- Copy/pasted a bunch of code from the i386 bootvid for text output.
- Don't implement BitBlt for now.
- Add the bootdata font file to the arm bootvid as well.
- Not sure how it's possible, but we are seeing text output on the console with this hacked-up code! The ReactOS version string appears...
- We are now getting much further in the boot cycle.

svn path=/trunk/; revision=33976

14 years ago- Implement VidSolidColorFill, VidSetScrollRegion and VidSetTextColor
ReactOS Portable Systems Group [Sun, 15 Jun 2008 04:11:21 +0000 (04:11 +0000)]
- Implement VidSolidColorFill, VidSetScrollRegion and VidSetTextColor
- Fix a bug in VidpBuildColor

svn path=/trunk/; revision=33975

14 years ago- Fix a bug in MmGetPhysicalAddress.
ReactOS Portable Systems Group [Sun, 15 Jun 2008 03:32:52 +0000 (03:32 +0000)]
- Fix a bug in MmGetPhysicalAddress.
- Don't hang in the clock interrupt anymore, for now we'll just ignore it (but it works! :D)
- Make all unimplemented bootvid functions hang the system, so we can better stop at progress-points.
- Implement VidInitialize:
  - We allocate a 640x480@16bpp framebuffer using contiguous physical memory (our MMU code survives!).
  - We setup the LCD controller timings and framebuffer address.
  - We enable the LCD
- For debugging, we're also drawing a nice little test pattern... and it works! We have GUI Code :)

svn path=/trunk/; revision=33974

14 years ago- Separate bootvid into bootvid/i386 and bootvid/arm (no code change to i386 version).
ReactOS Portable Systems Group [Sat, 14 Jun 2008 23:43:45 +0000 (23:43 +0000)]
- Separate bootvid into bootvid/i386 and bootvid/arm (no code change to i386 version).
- Stub out all the bootvid functions for ARM, and add an infinite loop so we stop there.
- Remove the infinite loop from the HAL -- Hal Initialization is complete.
- We must now implement the LCD graphics functions.

svn path=/trunk/; revision=33973

14 years agorevert r26384 - this is an old hack to make console output work. We don't need this...
Timo Kreuzer [Sat, 14 Jun 2008 23:20:22 +0000 (23:20 +0000)]
revert r26384 -  this is an old hack to make console output work. We don't need this any longer since freetype / text output is fixed.

svn path=/trunk/; revision=33972

14 years ago- Dude, we don't need to calibrate anything... we've got a 1MHz timer, which means...
ReactOS Portable Systems Group [Sat, 14 Jun 2008 23:19:03 +0000 (23:19 +0000)]
- Dude, we don't need to calibrate anything... we've got a 1MHz timer, which means 1us-precision. KeStallExecutionProcessor needs 1us-precision!
- Since we have two timers (ha x86!!!), set the second one as the stall timer. It's a one-shot periodic timer, set to the exact number of microseconds being waited on.
- To fully emulate stalling, we don't use a clock interrupt for it (it supports not sending one!) and just busy-loop until the value reaches 0.
- Tried it with a 10 second (10000000 us) wait and it worked -perfectly-.
- Re-implemented KeStallExecutionProcessor and got rid of the other code. Back in HalInitSystem(phase1) now...
- Also killed some DPRINT1s getting on my nerves.

svn path=/trunk/; revision=33971

14 years ago- We now implement the idle loop (thanks for fixing the interrupt code...).
ReactOS Portable Systems Group [Sat, 14 Jun 2008 22:48:30 +0000 (22:48 +0000)]
- We now implement the idle loop (thanks for fixing the interrupt code...).
- We are now back to HalInitSystem just like before the previous fixes.
- Now we'll implement stall calibration and switch to the clock interrupt.

svn path=/trunk/; revision=33970

14 years ago- Implement the basic stall interrupt to be used to calculate the factors for KeStall...
ReactOS Portable Systems Group [Sat, 14 Jun 2008 22:28:40 +0000 (22:28 +0000)]
- Implement the basic stall interrupt to be used to calculate the factors for KeStallExecution (using NT MIPS algorithm, hope this will work)
- Also written KeStallExecution.
- Now, we are back to where we hang before Phase 1 (so Phase 1 doesn't occur anymore).
- This hang is because we used to do a DPC here, which isn't good, since IRQL is already at dispatch.
- Instead, the correct course of action is to enter the idle loop, which will schedule the phase 1 thread.
- But, we don't have an idle loop yet ;-)

svn path=/trunk/; revision=33969

14 years ago- Give listbox in explorer searchprograms dialog i18n column heads (only done for...
Matthias Kupfer [Sat, 14 Jun 2008 22:21:44 +0000 (22:21 +0000)]
- Give listbox in explorer searchprograms dialog i18n column heads (only done for German and English, other language need to be done)

svn path=/trunk/; revision=33968

14 years ago- Fix stupid IRQL/Interrupt handling code that someone wrote ;):
ReactOS Portable Systems Group [Sat, 14 Jun 2008 22:02:50 +0000 (22:02 +0000)]
- Fix stupid  IRQL/Interrupt handling code that someone wrote ;):
  - Get rid of KeSwapIrql -- both lower and higher IRQL handling was treated the same!
  - We can now re-activate the assert in the IRQL code
  - Disable interrupts before changing the interrupt mask!!!
  - And re-enable them solely if they were enabled.
  - Clear interrupts mask before setting a new one -- raising isn't always additive!
  - Fix KiInterruptHandler to perform operations in the right order.
  - Finish implementing interrupt exit code.
- Code KeArmStatusRegisterGet to read CPSR and interrupt status.
- Make debug prints a lot more readable and dont trying to acquire the stack during pool allocations.
- Setup the clock interval timer!!!
- This code regresses progress but makes stuf fwork right. We'll get better after implementing the stall interrupt.

svn path=/trunk/; revision=33967

14 years ago- Implement the code for the "Run" and "Shutdown" menu items, create stubs for the...
Colin Finck [Sat, 14 Jun 2008 21:18:08 +0000 (21:18 +0000)]
- Implement the code for the "Run" and "Shutdown" menu items, create stubs for the other custom commands
- Replace the ROS-specific STDCALL by APIENTRY for the function prototypes

svn path=/trunk/; revision=33966

14 years agoPatch by carlo bramix at libero dot it: Bug 3336 statusbar in the wrong place.
James Tabor [Sat, 14 Jun 2008 17:10:55 +0000 (17:10 +0000)]
Patch by carlo bramix at libero dot it: Bug 3336 statusbar in the wrong place.

svn path=/trunk/; revision=33965

14 years agoVytis Girdzijauskas <cman AT cman DOT us>
Matthias Kupfer [Sat, 14 Jun 2008 11:49:55 +0000 (11:49 +0000)]
Vytis Girdzijauskas <cman AT cman DOT us>
- time zone update to sync with Windows tz data
- See issue #3084 for more details.

svn path=/trunk/; revision=33964

14 years agoniski_ (bjauy AT go2 DOT pl)
Matthias Kupfer [Sat, 14 Jun 2008 10:23:05 +0000 (10:23 +0000)]
niski_ (bjauy AT go2 DOT pl)
- polish language patch for shell32.
- See issue #3338 for more details.

svn path=/trunk/; revision=33963

14 years agofix/add some german translations
Matthias Kupfer [Sat, 14 Jun 2008 08:51:42 +0000 (08:51 +0000)]
fix/add some german translations

svn path=/trunk/; revision=33962

14 years ago- Release the acquired spinlock in IoUnregisterShutdownNotification(), spotted by...
Aleksey Bragin [Sat, 14 Jun 2008 08:16:22 +0000 (08:16 +0000)]
- Release the acquired spinlock in IoUnregisterShutdownNotification(), spotted by Cameron Gutman.

svn path=/trunk/; revision=33961

14 years agoPatch by Jeffrey Morlan (mrnobo1024 at yahoo dot com, irc: Goplat), Registers ansi...
James Tabor [Sat, 14 Jun 2008 05:34:02 +0000 (05:34 +0000)]
Patch by Jeffrey Morlan (mrnobo1024 at yahoo dot com, irc: Goplat), Registers ansi scroll bar proc.

svn path=/trunk/; revision=33960

14 years agoDon't use MenuCleanupRosMenuItemInfo for an array of Items allocated on the heap!
Colin Finck [Sat, 14 Jun 2008 00:00:20 +0000 (00:00 +0000)]
Don't use MenuCleanupRosMenuItemInfo for an array of Items allocated on the heap!
This function is meant to be used for a single menu item info and just frees the memory allocated for dwTypeInfo.

Replaced this with a simple HeapFree call to free the memory for the whole array allocated in MenuGetAllRosMenuItemInfo.
Fixes a heap corruption discovered by encoded.

See issue #3349 for more details.

svn path=/trunk/; revision=33959

14 years agoRevert parts of r33578:
Colin Finck [Fri, 13 Jun 2008 23:14:27 +0000 (23:14 +0000)]
Revert parts of r33578:
- First of all, MenuSetItemData is only called from InsertMenuA/W and ModifyMenuA/W.
  Therefore the passed MENUITEMINFO structure will always be empty, so it makes no sense to check for flags in this structure.
  This way, I could simplify the code block for MF_BITMAP.
- Also fType = MFT_BITMAP and fMask = MIIM_BITMAP at the same time passed to win32k don't work.
  Changing this back to only set fMask fixes bitmap menus.
- Furthermore the data for MF_OWNERDRAW is really stored in dwItemData and not in dwTypeData.
  The MSDN documentation for InsertMenu applies here, not the one for the MENUITEMINFO structure.
  This fixes owner-drawn menus like the one in Abiword.

See issue #3272 for more details.

svn path=/trunk/; revision=33958

14 years ago- german translation of explorer completed
Matthias Kupfer [Fri, 13 Jun 2008 20:33:42 +0000 (20:33 +0000)]
- german translation of explorer completed
- minor fix for label text size in german version of desk.cpl

svn path=/trunk/; revision=33957

14 years agoAdd notes, no code change.
James Tabor [Fri, 13 Jun 2008 18:19:28 +0000 (18:19 +0000)]
Add notes, no code change.

svn path=/trunk/; revision=33956

14 years agoMSDB KB 145994 ( yBaseUnit...
Timo Kreuzer [Fri, 13 Jun 2008 13:33:53 +0000 (13:33 +0000)]
MSDB KB 145994 ( yBaseUnit is textmetric->tmHeight not average text extent. Testing confirms that GdiGetCharDimension returns this as height. This makes dialog boxes less stretched in height. Still not identical to XP. calx.exe: On XP yBaseUnit == 13, on ROS == 14 (was 16 before)

svn path=/trunk/; revision=33955

14 years agoRevert 33953. This is completely wrong! WINE doesn't quite get the ordinals right...
Thomas Bluemel [Fri, 13 Jun 2008 13:14:08 +0000 (13:14 +0000)]
Revert 33953. This is completely wrong! WINE doesn't quite get the ordinals right. Ordinal 200 really should be SHCreateDesktop and ordinal 201 really should be SHDesktopMessageLoop. I am currently working on a patch for this. The fact that explorer-new was able to start with these changes is just pure coincidence.

svn path=/trunk/; revision=33954

14 years ago- Implement AddCommasW
Dmitry Chapyshev [Fri, 13 Jun 2008 07:58:34 +0000 (07:58 +0000)]
- Implement AddCommasW
- Implement SHLocalAlloc
- Implement SHLocalFree
- Implement SHLocalReAlloc
explorer-new starts in reactos now!

svn path=/trunk/; revision=33953

14 years agoAdd missing definitions
Thomas Bluemel [Thu, 12 Jun 2008 23:38:09 +0000 (23:38 +0000)]
Add missing definitions

svn path=/trunk/; revision=33952

14 years agoPatch by Jeffrey Morlan (mrnobo1024 at yahoo dot com, irc: Goplat), modified by me:
Timo Kreuzer [Thu, 12 Jun 2008 20:50:12 +0000 (20:50 +0000)]
Patch by Jeffrey Morlan (mrnobo1024 at yahoo dot com, irc: Goplat), modified by me:
The freetype asm function FT_MulFix clobbers the edx register, but doesn't tell it to gcc explicitly, so when inlined versions were resulting in wrong results. Fix it by also marking edx as output register.
Also enable commented out code in win32k again that works correctly now.
By me:
I modified the patch to not alter any 3rd party code, but instead I copied the fuction to _ftmulfix_ros.c and also coplied the container file ftbase.c which now uses the fixed function from our private file.
This fixes a bunch of text output issues (underscore, text marking)
See issue #3346 for more details.

svn path=/trunk/; revision=33951

14 years agoLookup DrawCaptionTemp () only once during startup
Thomas Bluemel [Thu, 12 Jun 2008 16:50:57 +0000 (16:50 +0000)]
Lookup DrawCaptionTemp () only once during startup

svn path=/trunk/; revision=33950

14 years agoFix call to DrawCaptionTemp ()
Thomas Bluemel [Thu, 12 Jun 2008 15:45:09 +0000 (15:45 +0000)]
Fix call to DrawCaptionTemp ()

svn path=/trunk/; revision=33949

14 years ago- Fix a bug in timedate.cpl, where an incorrect color was passed.
Aleksey Bragin [Thu, 12 Jun 2008 09:50:12 +0000 (09:50 +0000)]
- Fix a bug in timedate.cpl, where an incorrect color was passed.
- Add bounds checking for GetSystemMetrics both in user32 and in kernel counterpart.
- Based on a patch from bug 3316.
See issue #3316 for more details.

svn path=/trunk/; revision=33947