Commit graph

31176 commits

Author SHA1 Message Date
Ged Murphy cda095c0fe 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
2008-06-18 19:10:39 +00:00
Dmitry Chapyshev d73e9e4231 - Add rasacd driver (not implemented)
svn path=/trunk/; revision=34015
2008-06-18 19:00:50 +00:00
Dmitry Chapyshev 23b40d082d - 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
2008-06-18 18:58:16 +00:00
Aleksey Bragin 297baed6c0 - Add a bit more DPFLTR items.
svn path=/trunk/; revision=34013
2008-06-18 17:56:07 +00:00
Dmitry Chapyshev e612eaf998 - Small update icon
svn path=/trunk/; revision=34012
2008-06-18 16:48:25 +00:00
Dmitry Chapyshev 4cf0f9906b - 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
2008-06-18 15:37:44 +00:00
Aleksey Bragin f550691222 - Rename made-up Ob functions names to match publicly available NT names, as most of other Ob names do.
svn path=/trunk/; revision=34009
2008-06-18 12:28:29 +00:00
Aleksey Bragin ab2b63b87b - 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
2008-06-18 11:34:10 +00:00
Matthias Kupfer 67572c740e - several german translation fixes
- missing file of issue #3365 added (see rev. 35004)

svn path=/trunk/; revision=34007
2008-06-18 11:19:07 +00:00
Aleksey Bragin da950aee49 - 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
2008-06-18 09:53:38 +00:00
Matthias Kupfer cd5d1959f0 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
2008-06-18 09:39:10 +00:00
James Tabor 7f2b7d7436 Implement Get/SetMiterLimit, with proper float containment.
svn path=/trunk/; revision=34004
2008-06-17 20:19:30 +00:00
Dmitry Chapyshev 9e2224d220 - Comment some languages
svn path=/trunk/; revision=34003
2008-06-17 20:11:22 +00:00
Dmitry Chapyshev 10ea44c612 - Add correct scrolling by keypress
svn path=/trunk/; revision=34002
2008-06-17 20:10:07 +00:00
Aleksey Bragin 9e8038303f Mikhail Zvyozdochkink <mzvyozd@narod.ru>
- Limit inputable max partition size to 999999 Mbs.
See issue #3356 for more details.

svn path=/trunk/; revision=34001
2008-06-17 18:42:20 +00:00
Aleksey Bragin 85dbdefb9f Daniel Zimmerman <netzimme@aim.com>
- 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
2008-06-17 18:21:41 +00:00
James Tabor 9127f8cb64 Fix build
svn path=/trunk/; revision=33999
2008-06-17 05:33:46 +00:00
James Tabor b5b4c9ab4b Update changes to Clip regions andregions. New support for Rao and Vis.
svn path=/trunk/; revision=33998
2008-06-17 05:19:08 +00:00
James Tabor 9dbc5faab4 Update NtUserSetSysColors.
svn path=/trunk/; revision=33997
2008-06-17 02:42:40 +00:00
Timo Kreuzer 8594831504 IntEngGradientFill: fix cleanup when calling the driver
svn path=/trunk/; revision=33996
2008-06-16 18:56:52 +00:00
Timo Kreuzer 2e105930d6 - 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
2008-06-16 18:27:18 +00:00
Timo Kreuzer 66397a3a3f - 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
2008-06-16 15:24:05 +00:00
Timo Kreuzer aa36da89c9 TEST -> RTEST as these succeed on ros now
svn path=/trunk/; revision=33993
2008-06-16 13:27:39 +00:00
Timo Kreuzer e49f53ea51 comment out some tests that fail on win XP, until someone fixes them
svn path=/trunk/; revision=33992
2008-06-16 13:20:06 +00:00
Aleksey Bragin 999e377e55 - Revert .spec -> .def conversion (incorrect one also, which broke rostests compile).
svn path=/trunk/; revision=33991
2008-06-16 12:22:13 +00:00
Aleksey Bragin 89d35e62dd - 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
2008-06-16 09:20:47 +00:00
Aleksey Bragin 6c45a42f53 - NDK fixes (structure rename only).
svn path=/trunk/; revision=33989
2008-06-16 08:54:21 +00:00
Dmitry Chapyshev 1a6bae63ba - Small fix DeletePwrScheme
- Implement ReadGlobalPwrPolicy
- Implement ReadPwrScheme
- Implement ValidatePowerPolicies (not fully implemented)

svn path=/trunk/; revision=33988
2008-06-16 08:20:21 +00:00
Dmitry Chapyshev 31619ecee5 - Update information about powrprof
svn path=/trunk/; revision=33987
2008-06-16 06:06:38 +00:00
Dmitry Chapyshev 3b3c516d31 - Fork powrprof.dll
- Replace .spec with .def
- Implement EnumPwrSchemes
- Implement GetActivePwrScheme
- Implement DeletePwrScheme

svn path=/trunk/; revision=33986
2008-06-16 06:00:22 +00:00
Colin Finck abae3b6913 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
2008-06-15 16:05:39 +00:00
Colin Finck 6846255313 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
2008-06-15 16:04:03 +00:00
Daniel Reimer 5ffe9e945e Bug 3320: Czech translation update by Radek Liska (radekliska@gmail.com)
Small Update for the German USETUP by me.

svn path=/trunk/; revision=33982
2008-06-15 08:14:43 +00:00
ReactOS Portable Systems Group 69bc0881f9 - Continue cleanup, use new peripheral headers (And fix them)
- Fix ARM HAL headers and use them


svn path=/trunk/; revision=33981
2008-06-15 07:54:18 +00:00
ReactOS Portable Systems Group 480243927a - These are peripherals, not targets
svn path=/trunk/; revision=33980
2008-06-15 06:15:13 +00:00
ReactOS Portable Systems Group b300ac4364 - 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
2008-06-15 06:14:02 +00:00
Dmitry Chapyshev a52eaf94d5 - Update Russian translation
svn path=/trunk/; revision=33978
2008-06-15 06:01:53 +00:00
ReactOS Portable Systems Group def9fa66b4 - 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
2008-06-15 05:40:27 +00:00
ReactOS Portable Systems Group 531a8ad588 - 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
2008-06-15 04:43:22 +00:00
ReactOS Portable Systems Group 133e63adea - Implement VidSolidColorFill, VidSetScrollRegion and VidSetTextColor
- Fix a bug in VidpBuildColor


svn path=/trunk/; revision=33975
2008-06-15 04:11:21 +00:00
ReactOS Portable Systems Group bfd0d8594d - 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
2008-06-15 03:32:52 +00:00
ReactOS Portable Systems Group 0ea44bde8f - 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
2008-06-14 23:43:45 +00:00
Timo Kreuzer 86909f313f 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
2008-06-14 23:20:22 +00:00
ReactOS Portable Systems Group 35656fd354 - 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
2008-06-14 23:19:03 +00:00
ReactOS Portable Systems Group fe22db7c05 - 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
2008-06-14 22:48:30 +00:00
ReactOS Portable Systems Group 949bda1cee - 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
2008-06-14 22:28:40 +00:00
Matthias Kupfer 8b9fa093a3 - 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
2008-06-14 22:21:44 +00:00
ReactOS Portable Systems Group e66a86c8b9 - 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
2008-06-14 22:02:50 +00:00
Colin Finck ff164b383d - 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
2008-06-14 21:18:08 +00:00
James Tabor e264b0b3c9 Patch by carlo bramix at libero dot it: Bug 3336 statusbar in the wrong place.
svn path=/trunk/; revision=33965
2008-06-14 17:10:55 +00:00