Commit graph

31957 commits

Author SHA1 Message Date
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
Matthias Kupfer ffad542df1 Mario Kacmar <kario AT szm DOT sk>
- Key remapping for qwertz applied.

svn path=/trunk/; revision=34983
2008-07-31 19:53:49 +00:00
Jeffrey Morlan 173a8d6c7a In exit and _cexit, call atexit routines. (Bug 3432_)
svn path=/trunk/; revision=34980
2008-07-31 17:46:50 +00:00
Stefan Ginsberg 41ad8e0c80 - Change an infinite loop to an assert to simplify debugging
svn path=/trunk/; revision=34979
2008-07-31 14:25:35 +00:00
ReactOS Portable Systems Group f492f5a8cd - Fix ARM NTOS brekage (and amd64/ppc):
- Only build kd/i386 on i386 builds since this code is x86-32 centric.
  - Only call KdpEnableSafeMem on i386 builds, since the code uses x86-32 centric defines.

svn path=/trunk/; revision=34977
2008-07-31 07:31:55 +00:00
ReactOS Portable Systems Group ddaf47dec3 mmcreatevirtualmapping internal should accept process as input parameter, not assume null.
implement a broken version of mmcreateprocessaddressspace.

commit current checkpoint of arm mmu manager virtual mapping rewrite to sync with i386 code. the kernel part works fine and the kernel boots as far as it did before, but the code is still ugly.


svn path=/trunk/; revision=34976
2008-07-31 07:09:28 +00:00
ReactOS Portable Systems Group e1d4f7bdf2 dont include i386 headers in arm mmu manager headers.
svn path=/trunk/; revision=34975
2008-07-31 07:07:00 +00:00
ReactOS Portable Systems Group 6abcb17d2a implement kiuserinitializeapc, and begin writing test code for kiswapprocess.
svn path=/trunk/; revision=34974
2008-07-31 07:06:19 +00:00
ReactOS Portable Systems Group ef7ceb62bb fix formatting of i386 mmu code.
svn path=/trunk/; revision=34973
2008-07-31 07:04:58 +00:00
Matthias Kupfer dd7dc24c8d Patch by Gregor Schneider a.k.a DosX
- use line breaks in debug output

svn path=/trunk/; revision=34966
2008-07-30 21:16:03 +00:00
Matthias Kupfer aabe1e5462 - center window only once
- get path from executable module instead of current directory

svn path=/trunk/; revision=34964
2008-07-30 18:54:05 +00:00
Johannes Anderwald 17131c2512 - don't display network propery dialog since it is not yet implemented
svn path=/trunk/; revision=34963
2008-07-30 16:55:45 +00:00
Matthias Kupfer 70b5975a50 uniform distribution of memory progress bars
svn path=/trunk/; revision=34962
2008-07-30 15:12:09 +00:00