Commit graph

31819 commits

Author SHA1 Message Date
Pierre Schweitzer
d07210c83c Fixed rosapps build
svn path=/trunk/; revision=35058
2008-08-03 08:38:59 +00:00
Stefan Ginsberg
6e2deb5f56 - Revert 35042
svn path=/trunk/; revision=35057
2008-08-03 08:18:54 +00:00
Art Yerkes
f24b9e3f36 Merge aicom-network-fixes up to 35055
svn path=/trunk/; revision=35056
2008-08-03 07:23:42 +00:00
Johannes Anderwald
50fc6d657b - fix build
svn path=/trunk/; revision=35052
2008-08-03 00:04:21 +00:00
Johannes Anderwald
31d20f1882 - start implementing the alt-tab app switching dialog
- requires WH_KEYBOARD_LL hook which is not yet ready
- add missing resource constant

svn path=/trunk/; revision=35051
2008-08-02 23:49:02 +00:00
Matthias Kupfer
7d96358dbf revert to 35046, sorry for mistake
svn path=/trunk/; revision=35050
2008-08-02 22:33:58 +00:00
Jeffrey Morlan
1914d86bac - Remove some redundant ProcessData == NULL checks - ClientConnectionThread already checks this for every request.
- CsrApiCallHandler: Get rid of "Found" variable and just return when the right definition is found.
- Make CsrApiCallHandler use the return value from the function (previously unused) to set Request->Status, and trim the now-redundant Request->Status setting from tons of CSR_API functions.
- CsrCreateProcess: Don't set shutdown parameters again - already set in CsrCreateProcessData.

svn path=/trunk/; revision=35049
2008-08-02 22:09:22 +00:00
Art Yerkes
57edd3268d Fix step and next commands. Not perfect, but working. Also, make all
printing go through KdbpPrint, and switch to KeStallExecutionProcessor
for checking on messages from the terminal.  Use the classic unix 100ms
time limit for messages.

We need to refactor debug entry.  There's a whole bunch of intermixed code
that basically handles 5 distinct states here:

1) Unexpected stop against a loose breakpoint instruction
2) Expected stop against a breakpoint instruction we placed
3) Singlestep after an expected breakpoint, user was not stepping
4) Singlestep after an expected breakpoint, user was stepping
5) Singlestep trap, user was not stepping (memory breakpoint).

svn path=/trunk/; revision=35048
2008-08-02 22:01:46 +00:00
Matthias Kupfer
d6872d359d Reorganize shdocvw:
- Moved and renamed language resource files into created 'lang' directory.
- Outdated shdocvw_ros.diff removed.

svn path=/trunk/; revision=35047
2008-08-02 21:57:53 +00:00
Jeffrey Morlan
f2341b9cf0 NtGdiGetRegionData: Use correct address of region header (&obj->rdh, not obj). Also, for the contents, just use 'rgndata->Buffer' as the destination address instead of doing funky pointer arithmetic.
svn path=/trunk/; revision=35045
2008-08-02 20:07:59 +00:00
Pierre Schweitzer
42b84f7df1 Revert r35043 on shell32/fprop.c
svn path=/trunk/; revision=35044
2008-08-02 18:35:08 +00:00
Pierre Schweitzer
6eeeb0ab4e Synced dbghelp.dll with Wine HEAD.
svn path=/trunk/; revision=35043
2008-08-02 18:30:38 +00:00
Stefan Ginsberg
a124618434 - ExpLookupHandleTableEntry: Apply same changes as was done for ExpFreeHandleTable and ExpAllocateHandleTableEntrySlow in 34467
- ExpAllocateHandleTableEntry: Fail if we don't find a handle table entry

svn path=/trunk/; revision=35042
2008-08-02 18:25:53 +00:00
Jeffrey Morlan
9b188f4ebc - Implement GenerateConsoleCtrlEvent.
- Remove IgnoreCtrlEvents variable (which ConsoleControlDispatcher did not actually use); set ProcessParameters->ConsoleFlags instead. Despite the name "ConsoleFlags", SetConsoleCtrlHandler treats it like a boolean.
- Preserve all 16 bits of the attribute set by SetConsoleTextAttribute. Even though the upper byte does not affect text colors, it should be retrievable with GetConsoleScreenBufferInfo.
- Update OpenConsoleW prototype in kernel32.h to match the change made in r34694.

svn path=/trunk/; revision=35041
2008-08-02 17:01:22 +00:00
Hervé Poussineau
61c0684353 Add lots of missing functions to LSA RPC interface
Fix existing ones to have same prototypes as MS Windows

svn path=/trunk/; revision=35040
2008-08-02 15:45:59 +00:00
Hervé Poussineau
a71a69c253 Support nested structures
svn path=/trunk/; revision=35039
2008-08-02 15:34:14 +00:00
Aleksey Bragin
50e5c6483a - Add dosfsck to the build.
svn path=/trunk/; revision=35037
2008-08-02 14:45:18 +00:00
Hervé Poussineau
06e654d8a1 Support GetObjectW() failure
Reformat code

svn path=/trunk/; revision=35036
2008-08-02 14:11:48 +00:00
Stefan Ginsberg
006de1d85f - Clean up ntdll a bit
svn path=/trunk/; revision=35032
2008-08-02 12:46:02 +00:00
Aleksey Bragin
253f4ee284 - Remove unneeded code, which would have its 10 years anniversary in ~20 days (committed originally by Rex back in August, 1998, revision number 8(!), and coded by David Welch, never touched since then).
svn path=/trunk/; revision=35030
2008-08-02 10:55:56 +00:00
Stefan Ginsberg
f7db1083a4 - Fix broken UnmapViewOfFile definition
svn path=/trunk/; revision=35027
2008-08-02 09:29:16 +00:00
James Tabor
de7b0d6e38 - Dereference pointer to event and fix module check in hooks.
svn path=/trunk/; revision=35025
2008-08-02 06:21:55 +00:00
James Tabor
6d4ff1a0c0 - Implemented NotifyWinEvent, SetWinEventHook and UnhookWinEvent.
- I only enables test_winevents(), test_set_hook() and all related with wine Msg tests. The test takes a while to run due to the IsWinEventHookInstalled check. I optimized our mask set to take this into account. The results are, the test is slow and our code is fast.
- We pass all Event and Local Hook tests. Will research the problem with global hooks and finish it up.

svn path=/trunk/; revision=35022
2008-08-02 00:38:01 +00:00
Jeffrey Morlan
4509402aa9 In rsym, allow a stabs entry to be longer than 256 characters, so that ROS may be compiled with -feliminate-unused-debug-symbols which reduces the needed disk space a lot.
svn path=/trunk/; revision=35020
2008-08-01 21:48:54 +00:00
Art Yerkes
ca26e8cac7 Merge aicom-network-fixes up to
r35014 | cgutman | 2008-08-01 10:21:52 -0700 (Fri, 01 Aug 2008) | 2 lines

- These should no longer be needed now that TDI doesn't give back invalid IRPs
- I'll look into the canceling issue later

svn path=/trunk/; revision=35019
2008-08-01 21:07:09 +00:00
Pierre Schweitzer
160a7614dd Changes by Hervé Poussineau:
- Simplified code for WriteText which avoids infinite loops and fixes EOLN conversion. This fixes bug 3551
Changes by Pierre Schweitzer
- Removed some non-understandable unicode code in WriteText
- Added a check to prevent crash when trying to create an empty file
- Fixed formatting for WriteText
See issue #3551 for more details.

svn path=/trunk/; revision=35018
2008-08-01 19:43:18 +00:00
Stefan Ginsberg
f81b3e63d2 - Use MmAllocateMemoryWithType instead of deprecated MmAllocateMemory for the ARM Shared Heap allocation
- Use heap routines in i386 and powerpc branches for temporary memory

svn path=/trunk/; revision=35017
2008-08-01 17:50:17 +00:00
Matthias Kupfer
f724943d40 - extended range for calendar view for years 1900-9999, each selectable year/month combination creates a correct month view
- special case september 1752 partly prepared, but disabled as long as unneeded ;-)
- enable via #define WITH_1752

svn path=/trunk/; revision=35016
2008-08-01 17:43:53 +00:00
Jeffrey Morlan
5f88171864 - IntRemoveMenuItem: Fix bug involving deleting item from submenu. (Bug 3292)
- IntFreeMenuItem: Remove code for removing item from list - the only caller that "used" this was IntRemoveMenuItem, which actually removes the item itself.
- IntInsertMenuItemToList, IntEnableMenuItem, IntCheckMenuItem, IntHiliteMenuItem: Simplify some more redundant code.

svn path=/trunk/; revision=35015
2008-08-01 17:40:56 +00:00
Jeffrey Morlan
ec8d684215 - PspSetPrimaryToken: Fix some incorrect object dereferencing.
- WlxStartApplication: Fix handle leaks.
- Make userinit.exe exit when it's done everything. No need to wait for explorer to exit first.

svn path=/trunk/; revision=35013
2008-08-01 16:54:14 +00:00
Stefan Ginsberg
f0ae9e7e83 - Use macros instead of magic "1" and "2" for Setup Loader Block Flags
- Initialize AcpiTableDetected to FALSE
- Misc header fixes

svn path=/trunk/; revision=35012
2008-08-01 16:47:17 +00:00
Stefan Ginsberg
50560726e9 - Revert 35008
svn path=/trunk/; revision=35011
2008-08-01 16:29:40 +00:00
Stefan Ginsberg
e5aa7fccf6 - Get rid of a confusing goto and call KiUnwaitThread directly. This was a remnant of some code refactoring.
svn path=/trunk/; revision=35010
2008-08-01 16:03:49 +00:00
Stefan Ginsberg
0ebeef15a1 - Fix broken VideoPortSignalDmaComplete definition
- Cleanup and reformat dma.c and add missing functions (not yet exported)

svn path=/trunk/; revision=35009
2008-08-01 14:54:19 +00:00
Stefan Ginsberg
6a23266635 - PCHify Acledit, Beepmidi, Cards, Crtdll, Dhcpsvc, Lpk, Lsasrv, uext2, ufat, untfs, ws2help, wshtcpip, and wsock32
svn path=/trunk/; revision=35008
2008-08-01 14:27:43 +00:00
Stefan Ginsberg
82b0b0ee03 - Fix 2 warnings
svn path=/trunk/; revision=35007
2008-08-01 14:19:05 +00:00
Stefan Ginsberg
ad456a2ec4 - Fix my broken indentation
svn path=/trunk/; revision=35006
2008-08-01 14:18:52 +00:00
Stefan Ginsberg
5c39323e08 - Minor coding style improvement
svn path=/trunk/; revision=35005
2008-08-01 14:12:32 +00:00
Daniel Reimer
ea8d877fe4 Rename the Norwegian RC Files to no-NO.rc, which is correct according to MSDN.
Bug 3516: Translate source archive by Lars Martin (lars_martin4@hotmail.com)

svn path=/trunk/; revision=35004
2008-08-01 13:08:15 +00:00
Daniel Reimer
9d2d4329e1 Rename the Norwegian RC Files to no-NO.rc, which is correct according to MSDN.
svn path=/trunk/; revision=35003
2008-08-01 12:48:34 +00:00
Pierre Schweitzer
312a3d7379 Update forgotten fields
svn path=/trunk/; revision=35002
2008-08-01 12:34:42 +00:00
Aleksey Bragin
93988768a0 - Update some apps in Downloader.
svn path=/trunk/; revision=35000
2008-08-01 12:15:51 +00:00
Pierre Schweitzer
00b5f8b803 Removed wrong FIXME: CcInitializeCacheMap doesn't raise exceptions.
See issue #3315 for more details.

svn path=/trunk/; revision=34998
2008-08-01 12:08:01 +00:00
James Tabor
55f1b15382 - Implement EngGetTickCount.
svn path=/trunk/; revision=34996
2008-08-01 12:03:46 +00:00
Aleksey Bragin
6e81d0c92b Gregor Schneider <grschneider@gmail.com>
- Return error code "buffer overflow" instead of "buffer too small" and only do that if really necessary
- Only append 0 if Length parameter allows to do so
- Use uppercase letters

Aleksey Bragin <aleksey@reactos.org>
- Wrap it into PSEH, however commented out till a solution for the bootloader is found (linking freeldr with PSEH is not very beautiful).
See issue #3583 for more details.

svn path=/trunk/; revision=34995
2008-08-01 11:54:27 +00:00
Matthias Kupfer
0e213bbc00 Lars Martin Hambro <lars_martin4 AT hotmail DOT com>
- Norwegian translation of magnify and downloader added.
- Fixed resource file (we request patches, not single changed files)
- See issue #3504 for more information.

svn path=/trunk/; revision=34993
2008-08-01 10:17:41 +00:00
Pierre Schweitzer
415228662a Updated French translation for shell32. Also fixed typo, even if I thought I already did it!?
svn path=/trunk/; revision=34991
2008-08-01 09:14:56 +00:00
James Tabor
3e6656c48c - Preliminary implementation of SetWinEventHook and UnhookWinEvent.
- Only wine cross test uses this and testing is not stable.
- Patches are welcome but all code is subject to change.
- All Hook code should be ready by Aug 4th.

svn path=/trunk/; revision=34988
2008-07-31 23:48:35 +00:00
James Tabor
30d2593564 - Support relative callback proc with module base.
svn path=/trunk/; revision=34985
2008-07-31 22:48:59 +00:00
Jeffrey Morlan
717a13e2d7 Fix handle leaks in RtlCreateUserThread and SmExecPgm.
svn path=/trunk/; revision=34984
2008-07-31 21:33:17 +00:00