Commit graph

31957 commits

Author SHA1 Message Date
Jeffrey Morlan 92680636ef kernel32: Don't enter the ConsoleLock if it has already been deleted by DllMain. Patch by hto (hto at dev dot null) (Bug 2308)
svn path=/trunk/; revision=34961
2008-07-30 15:00:57 +00:00
Colin Finck 8c33c79951 Remove all translations for the "Paged Memory", "Nonpaged Memory" and "Free Memory" progress bars.
This is debug stuff, which should have never been translated. As the translated strings are also sometimes longer than the english ones, they led to unnecessary problems like text overlapping.

svn path=/trunk/; revision=34960
2008-07-30 14:15:41 +00:00
Aleksey Bragin 8db0ed2181 - Fix Irp flags assignment in case of an IoAllocateIrp call with ChargeQuota set to TRUE. Reduces number of kmtest failures by 1.
svn path=/trunk/; revision=34959
2008-07-30 13:24:05 +00:00
Johannes Anderwald e0acf025bc - dont double free an irp
- patch by bugboy
- bug 3530

svn path=/trunk/; revision=34958
2008-07-30 13:13:52 +00:00
Johannes Anderwald b3ca3dbbd0 - fix a bug which made the label display 2x times the drive letter
svn path=/trunk/; revision=34957
2008-07-30 13:09:49 +00:00
Matthias Kupfer 6e77c40907 - fix wrong "ss" in German (Germany) ressource
- Swiss German version need own ressource file

svn path=/trunk/; revision=34956
2008-07-30 12:34:00 +00:00
Aleksey Bragin 19a25c0671 - SVN maintenance.
svn path=/trunk/; revision=34955
2008-07-30 12:22:10 +00:00
Matthias Kupfer 9b8755513d Mario Kacmar <kario AT szm DOT sk>
- Updated Slovak translation for eventvwr, win32 and new Slovak translation for regedit added.
- See issue #33610 for more details.

svn path=/trunk/; revision=34954
2008-07-30 12:14:30 +00:00
Aleksey Bragin 4035fb69b9 - By default enable all tests. 0 failures in Windows XP SP3.
svn path=/trunk/; revision=34953
2008-07-30 11:15:48 +00:00
Colin Finck 1bdfa12e51 Daniel Verkamp (daniel.verkamp@gmail.com)
- Sync "list.h" to Wine to fix a pointer to integer cast warning on 64-bit hosts

See issue #3579 for more details.

svn path=/trunk/; revision=34952
2008-07-30 11:12:25 +00:00
Aleksey Bragin c6d5d68953 - Add unloading ability.
- Don't forget to wrap any testing module into StartTest / FinishTest.

svn path=/trunk/; revision=34951
2008-07-30 11:11:25 +00:00
Matthias Kupfer 52d04e432e Mario Kacmar <kario AT szm DOT sk>
- Slovak, Polish and Ukrainian translations of packmgr updated/fixed.
- See #3601 for more details.

svn path=/trunk/; revision=34949
2008-07-30 10:18:34 +00:00
Colin Finck ef848a8f68 Remove a change from our diff file for comctl32, which is in Wine HEAD as well.
See issue #2843 for more details.

svn path=/trunk/; revision=34948
2008-07-30 10:11:09 +00:00
Aleksey Bragin 8edd5bdaa0 - Add IRP tests based on a Alexander Morozov's patch to Wine ("[try 3] Add tests for IoInitializeIrp and IoAllocateIrp").
svn path=/trunk/; revision=34947
2008-07-30 09:23:45 +00:00
Hervé Poussineau c6de7a80b8 Revert r34344, the mess with GetEnvironmentStrings/GetEnvironmentStringsA is expected.
svn path=/trunk/; revision=34946
2008-07-30 08:02:45 +00:00
Hervé Poussineau 9b55463daa unix define doesn't mean we're on a x86 compatible machine
svn path=/trunk/; revision=34945
2008-07-30 07:29:55 +00:00
Hervé Poussineau aa8cad03d0 Fix GetEnvironmentStrings/GetEnvironmentStringsA mess
svn path=/trunk/; revision=34944
2008-07-30 07:27:33 +00:00
Art Yerkes 4b9274519b Patch by Cameron Gutman (aicommander (at) gmail (dot) com)
- Remove a hack related to cancellation
- Make sure not to pass on a bad IRP on failure (in tdi)
- Remember connect irp
* Note: commit notes are arty's in this case

svn path=/trunk/; revision=34943
2008-07-30 06:05:20 +00:00
Art Yerkes d006ec695e Patch by Cameron Gutman (aicommander (at) gmail (dot) com)
- Remove a hack from DispTdiSendDatagram
- Fix a couple of bugs that resulted in clearing the wrong request

svn path=/trunk/; revision=34938
2008-07-29 21:52:09 +00:00
Johannes Anderwald 1fa91ed658 - fix an obvious bug (introduced by me)
See issue #3064 for more details.

svn path=/trunk/; revision=34936
2008-07-29 18:54:28 +00:00
James Tabor 6d82180d7a - Add Event handle type.
svn path=/trunk/; revision=34935
2008-07-29 18:53:46 +00:00
James Tabor a9cd7fec76 - Patch by Jeffrey Morlan: Fix bounds checking and change NtGdiDoPalette to use a temporary kmode buffer. See Bug 3383.
svn path=/trunk/; revision=34934
2008-07-29 18:11:18 +00:00
Johannes Anderwald 4c985ce93a - register network neighbourhood as a desktop namespace extension
svn path=/trunk/; revision=34933
2008-07-29 18:03:23 +00:00
Johannes Anderwald fc0eaa9b92 - update polish translation by Olaf Siejka (Caemyr)
svn path=/trunk/; revision=34932
2008-07-29 17:49:32 +00:00
Johannes Anderwald dcdadb236c - register shellink property sheet handler
- should make shellink property page visible again

svn path=/trunk/; revision=34931
2008-07-29 17:42:35 +00:00
Johannes Anderwald ff15b21470 - fix titles in folder property dialog
- translate title to native language when available

svn path=/trunk/; revision=34930
2008-07-29 17:19:16 +00:00
Johannes Anderwald 60db6af48b - implement folder property dialog
- sync chinese resource files

svn path=/trunk/; revision=34929
2008-07-29 16:52:39 +00:00
Jeffrey Morlan 9db67069ce - Remove unused hVScrollBar and hHScrollBar members in GUI_CONSOLE_DATA.
- Remove ScreenBufferSize member from GUI_CONSOLE_DATA; when building the structure for console.dll, send the actual screen buffer size instead.
- GuiConsolePaint, GuiIntDrawRegion: Adjust coordinates based on buffer's scroll position.
- GuiConsolePaint: Use ConioCoordToPointer when finding attribute at top-left.
- GuiConsoleHandlePaint: Don't leak the DC when the paint rectangle is empty.
- GuiConsoleHandleScroll: Actually update the buffer's scroll position, not just the scrollbar's. Allow scrolling either horizontally or vertically. Fix typo in SB_THUMBTRACK case. Don't rely on GetScrollInfo for bound checking - any thread can sabotage the scrollbar ranges.
- CsrGetScreenBufferInfo: Return the visible area in srWindow.

svn path=/trunk/; revision=34928
2008-07-29 16:10:38 +00:00
Christoph von Wittich 72cd091bff Odbccp32 dll doesn't have a DllMain function
reported by hto
See issue #3603 for more details.

svn path=/trunk/; revision=34924
2008-07-29 07:30:49 +00:00
Jeffrey Morlan af7891739c NtUserBeginPaint: Taking the bounding box of the update region first and clipping it to the client area afterwards was making rcPaint contain the entire client area when scrolling. It should be done the other way around: clip to the client area first, then box. Since there is already a clipped update region in the DC, this is easy; just use GdiGetClipBox.
svn path=/trunk/; revision=34923
2008-07-29 02:08:56 +00:00
James Tabor 274bd6b2ab - Added more hook points, WH_FOREGROUNDIDLE and WH_KEYBOARD.
- Fixed WH_CALLWNDPROC/RET, now the posted test program works as it should.
- Tested with Opera 9.51, FF, Seamonkey, Abiword, Miranda, Mirc and the rest of our applications.

svn path=/trunk/; revision=34922
2008-07-29 00:35:05 +00:00
Art Yerkes 2bd0499500 Fix my error not noticing that queued spinlock functions return KIRQL through
the actual function return, not through a parameter.

svn path=/trunk/; revision=34921
2008-07-28 22:33:11 +00:00
Art Yerkes 298e26754b - Reverse my previous (in retrospect) hack
- Make MmProbeAndLockPages smart enough to work at DISPATCH_LEVEL
- At Alex' request, remove the stand alone spinlock for the page list, and
  use the queued spinlock in the prcb.

svn path=/trunk/; revision=34920
2008-07-28 22:05:56 +00:00
Johannes Anderwald 67821bff32 - display volume label for disk drives. If there is no label, load default label
svn path=/trunk/; revision=34915
2008-07-28 19:47:19 +00:00
Aleksey Bragin 9655f89744 - Don't strictly check NTDDI_VERSION to WINXP or WS03, since in case of e.g. NTDDI_WS03SP1 the define would work incorrectly (skipping a structure member).
svn path=/trunk/; revision=34914
2008-07-28 18:38:11 +00:00
Johannes Anderwald 81e31939b1 - reenable drive properties dialog
svn path=/trunk/; revision=34913
2008-07-28 18:23:42 +00:00
Art Yerkes e98217024c Should fix the release build (sorry).
svn path=/trunk/; revision=34912
2008-07-28 18:21:35 +00:00
Jeffrey Morlan 83f07a8e37 - GuiConsoleInitScrollbar: Hide vertical scrollbar when not needed; use SB_VERT (not SB_HORZ) to set its information when it is; set sInfo.nPage according to window size in characters; calculate window pixel size, taking scrollbar width/height into account.
- GuiConsoleHandleNcCreate: Remove window sizing (now done in GuiConsoleInitScrollbar)
- GuiApplyUserSettings: Swap transposed min/max in cursor size calculation; don't assume that the physical top of the buffer is the same as the logical top; fix broken code where HAVE_WMEMSET isn't defined (wrong loop counts, Offset wasn't incremented); fix typo in calculating height difference. If either buffer or window size has changed, call GuiConsoleInitScrollbar.

svn path=/trunk/; revision=34911
2008-07-28 16:48:04 +00:00
Art Yerkes 7c5414460f This is a patch i've been keeping for a while. Yes, it's not "as nt does it",
but it solves a practical problem, and isn't particularly invasive (the main
change is the call to KdpEnableSafeMem ... everything else could be macroed
out if desired).  

This provides armour for kdbg and gdb that avoid faulting on bad addresses by
implementing a simple poor-man's mmu and letting the debuggers use it.

svn path=/trunk/; revision=34904
2008-07-28 14:47:17 +00:00
Dmitry Chapyshev 94f599dec2 - Add console version Appwiz. It is not finished, but fully works
svn path=/trunk/; revision=34902
2008-07-28 14:40:32 +00:00
Aleksey Bragin b971b4d659 Dmitry Gorbachev
- PDT of CSRSS has no entry for TCB of the thread, fix this problem.
See issue #3591 for more details.

svn path=/trunk/; revision=34901
2008-07-28 14:32:50 +00:00
Art Yerkes 258329b01b Fix (among other things) failure to boot when a CD is not inserted, caused by
the new (correct) ASSERT in mutex acquisition in MmProbeAndLockPages, which
was erroneously being called from IoBuildAsynchronousFsdRequest at
DISPATCH_LEVEL.  

The only correct course of action when calling IoBuildAsynchronousFsdRequest
at DISPATCH_LEVEL is to MmBuildMdlForNonPagedPool since the buffer must be 
nonpaged (if the IRP completes synchronously, we'll still be at DISPATCH_LEVEL)
This is the case when direct io is done at DISPATCH_LEVEL using
IoBuildAsynchronousFsdRequest.

svn path=/trunk/; revision=34899
2008-07-28 12:38:47 +00:00
Aleksey Bragin 966a7b788f - Silence crt's "wtf".
svn path=/trunk/; revision=34897
2008-07-28 11:30:08 +00:00
Ged Murphy 36dab01cab - Don't check outside of the array bounds
- Spotted by Marcelo Slomp <mslomp at linuxmail dot org>
See issue #3593 for more details.

svn path=/trunk/; revision=34892
2008-07-28 08:45:38 +00:00
Colin Finck 795b09cde7 Replace '#ifdef __linux__' by '#ifndef WIN32', etc. to fix compilation on Mac OS X (hint by Alex on ros-dev)
svn path=/trunk/; revision=34891
2008-07-28 08:32:04 +00:00
ReactOS Portable Systems Group a9f6591d2c - Don't use .spec file on ARM, it doesn't work.
- For the first time, the entire ARM build of ReactOS builds (for the components we've defined)!
- Now the user-mode fun begins.


svn path=/trunk/; revision=34890
2008-07-28 03:07:50 +00:00
ReactOS Portable Systems Group e34e342d45 - Fix build of NTOS and FreeLDR on ARM.
svn path=/trunk/; revision=34889
2008-07-28 03:07:03 +00:00
ReactOS Portable Systems Group 4eb79d6d88 - Fix FreeLDR for ARM build after some header changes that happen in NTOS.
svn path=/trunk/; revision=34887
2008-07-28 02:18:43 +00:00
ReactOS Portable Systems Group a249132448 - Define the "generic" versions of the ARM-specific HAL routines.
- Now the generic HAL builds without linker errors.


svn path=/trunk/; revision=34886
2008-07-28 02:15:40 +00:00
ReactOS Portable Systems Group 1b0bec70c1 - Fix the NTOS ARM build after the recent Mm changes.
svn path=/trunk/; revision=34885
2008-07-28 02:13:56 +00:00