Commit graph

31362 commits

Author SHA1 Message Date
ReactOS Portable Systems Group
b513c98fb2 - Rewrite the low-level trap/exception/system call code from the ground up:
- Do not corrupt the stack anymore
  - Use a consistent trap frame layout (enable OldIrql and PreviousMode, and set the 0xBADB0D00 debug mark)
  - Use slower but more correct trap prolog/epilog code for now.
  - Generalize all prolog/epilog code into macros just like on x86. As a result, traps are now 6 lines of code.
- Rewrite the system call interface from the ground up:
  - System calls didn't actually work: a debug print made the stack layout magical enough so that they didn't normally crush, but only slowly ate the stack.
  - Copying arguments from caller to system call was, as the comment on the original code so aptly put it, "total shit".
  - Due to ABI concerns, and to provide an actual template on how you're -supposed- to implement something like system calls on RISC processors, we now use
    a model similar to BSD, but about ten times better (with that much less code too). We'll document it later on the RosPSG Wiki.
  - This code probably contains some of the most vile-yet-elegant macro magic ever written for such low-level code as system call dispatching. 
- The result of all this is that we're at the same place as before (RamdiskAddDevice needs to be implemented by the Ramdisk guys) but with a sane low-level
  backend that isn't slowly eating away the stack, corrupting data, and basically working through random chance.
- Move timebase code from stubs.c to its own file, time.c.
- Silence multiple debug prints and fix a corrupted debug print in KiSystemStartup.


svn path=/trunk/; revision=34366
2008-07-08 09:11:44 +00:00
Aleksey Bragin
8249e5ced9 - Add IActiveScriptSiteDebug32 IID.
svn path=/trunk/; revision=34365
2008-07-08 07:45:31 +00:00
James Tabor
0f60c8cc54 Update the rest of the prototypes and stubs.
svn path=/trunk/; revision=34364
2008-07-08 07:38:28 +00:00
James Tabor
f7a270aa2a Update more prototypes and stubs.
svn path=/trunk/; revision=34363
2008-07-08 05:43:14 +00:00
James Tabor
e2dbf44d99 Update prototypes and stubs.
svn path=/trunk/; revision=34362
2008-07-08 05:11:40 +00:00
Art Yerkes
4cca77780c Move completion out of the spinlock. Spotted by aicom
svn path=/trunk/; revision=34361
2008-07-08 03:01:56 +00:00
Jeffrey Morlan
f45ebc6964 IntGdiCreateBitmap: Tighten up parameter checks, preventing overflows; don't multiply by Planes twice in calculating WidthBytes.
IntCreateCompatibleBitmap: Remove 65535px maximum (Windows has no such limit); return the stock 1x1 bitmap instead of creating a new one.
BITMAPOBJ_GetRealBitsPixel: Change parameter type to UINT; remove 2bpp return (2bpp bitmaps are not actually supported)

svn path=/trunk/; revision=34358
2008-07-07 16:03:14 +00:00
Aleksey Bragin
9d160d390c - Fix build correctly this time.
svn path=/trunk/; revision=34357
2008-07-07 15:59:02 +00:00
Colin Finck
32849148f9 Attempt to fix build
svn path=/trunk/; revision=34355
2008-07-07 13:57:14 +00:00
Aleksey Bragin
22d098ac49 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34354
2008-07-07 12:32:35 +00:00
Aleksey Bragin
0cb3e856ef - Remove entrypoint=0 from compstui
- No need to register cryptui, since its registering routines are stubs. Fixes ERROR_MR_MID_NOT_FOUND in 2nd stage.
See issue #2719 for more details.

svn path=/trunk/; revision=34353
2008-07-07 12:26:44 +00:00
Jeffrey Morlan
f2d4e4394e Extract days-since-epoch calculation code from RtlTimeToTimeFields into own function, optimize a bit, and use it in RtlTimeFieldsToTime instead of doing a 400 iteration loop.
svn path=/trunk/; revision=34352
2008-07-07 10:23:41 +00:00
Aleksey Bragin
622a737e7f - Initialize TLS expansion bitmap properly (fixes accessing uninitialized memory when all regular TEB slots for TLS data are occupied).
svn path=/trunk/; revision=34351
2008-07-07 09:24:10 +00:00
James Tabor
fe82a25252 Update SetLayeredWindowAttributes.
svn path=/trunk/; revision=34350
2008-07-07 05:54:36 +00:00
Colin Finck
e32689dbb6 Fix buggy MB_LEN_MAX definition according to MSVC headers
svn path=/trunk/; revision=34348
2008-07-06 22:56:19 +00:00
Colin Finck
c7f03eaf32 Revert r34346, it didn't work the way I thought because of different CRT's on every host. Using gcc/g++ as the frontend will link to it automatically.
Sorry for the wasted commit.

svn path=/trunk/; revision=34347
2008-07-06 22:32:07 +00:00
Colin Finck
8457c6f705 Also link host binaries with ld and not gcc/g++.
Same change was already done for target binaries in r34187.

svn path=/trunk/; revision=34346
2008-07-06 22:07:22 +00:00
Eric Kohl
7d872fb8bb Implement a simple dialog for adding a user to user groups.
svn path=/trunk/; revision=34345
2008-07-06 21:20:28 +00:00
Johannes Anderwald
2f76e8ade2 - fix potential buffer overflows spotted by Christoph
svn path=/trunk/; revision=34344
2008-07-06 20:52:11 +00:00
Aleksey Bragin
cce8a43337 - Update hlink headers from Wine HEAD.
svn path=/trunk/; revision=34342
2008-07-06 20:44:35 +00:00
Johannes Anderwald
37b079f715 - implement IShellPropSheetExt handling for file property dialogs for standard file classes
- makes shellink property dialog appear again (and many others ;) )

svn path=/trunk/; revision=34341
2008-07-06 20:35:21 +00:00
Andrey Korotaev
32f75a3033 Update russian translation. Patch by Alexander Akulich <akulichalexander@gmail.ru>
svn path=/trunk/; revision=34339
2008-07-06 18:29:17 +00:00
Aleksey Bragin
b1863a26c7 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34337
2008-07-06 16:35:30 +00:00
Aleksey Bragin
b5668fd659 - Sync gdiplusflat.h with Wine HEAD.
svn path=/trunk/; revision=34336
2008-07-06 16:32:16 +00:00
Aleksey Bragin
7b02ecd2cf - Update test.h to the latest Wine HEAD.
svn path=/trunk/; revision=34334
2008-07-06 15:31:38 +00:00
Aleksey Bragin
06a847eab9 - Fix russian translation, thanks Kaffeine.
svn path=/trunk/; revision=34331
2008-07-06 13:48:31 +00:00
Pierre Schweitzer
d00ec1bdba Fixed crappy previous translation
svn path=/trunk/; revision=34330
2008-07-06 13:25:50 +00:00
Pierre Schweitzer
f967fdf9dc Updated French translations for reactos.exe and shell32.dll
svn path=/trunk/; revision=34329
2008-07-06 13:17:27 +00:00
Aleksey Bragin
e1786e8952 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34327
2008-07-06 12:41:23 +00:00
Aleksey Bragin
1cf2a0e35c Autosyncing with Wine HEAD
svn path=/trunk/; revision=34326
2008-07-06 12:15:28 +00:00
Matthias Kupfer
114955b298 - avoid clock flicker in timedate.cpl
- TODO: limit repaint area to clock only (to avoid flicker of time adjusting control as well)

svn path=/trunk/; revision=34325
2008-07-06 12:05:17 +00:00
Aleksey Bragin
d94dde07f8 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34324
2008-07-06 11:47:38 +00:00
Johannes Anderwald
70c6de3144 - implement IShellPropSheetExt for shellink
- interface not yet used

svn path=/trunk/; revision=34322
2008-07-06 09:09:09 +00:00
Colin Finck
2392ad5c5d Carlo Bramini (carlo.bramix@libero.it):
- Fix tditest compilation for Release builds

See issue #3290 for more details.

svn path=/trunk/; revision=34321
2008-07-06 09:06:15 +00:00
Johannes Anderwald
ad14fa367a - implement _ILIsNetHood
- don't show OpenWith dialog on network neighbourhoud shell folder
- use translatable "open" verb for shelllink's context menu
- deactivate shelllink property dialog, it should be implemented using IShellPropSheetExt interface
- enumerate context menu handlers also in the progid key
- shortcut items now show again the "open" item

svn path=/trunk/; revision=34320
2008-07-06 08:29:28 +00:00
Johannes Anderwald
718de23271 - allow translation of static shell verbs such as open/edit/find/play/preview/print/runas used in context menu items
svn path=/trunk/; revision=34319
2008-07-06 06:26:00 +00:00
Johannes Anderwald
cd17529941 - don't load OpenWith shell extension on desktop, mydocuments, controlpanel, recyclebin, drive, control panel and folder items
svn path=/trunk/; revision=34318
2008-07-06 05:26:34 +00:00
Colin Finck
736069d442 Reenable the VGA option at 1st stage setup now that it's fixed.
Physicus, you rock! :-)

See issue #2073 for more details.

svn path=/trunk/; revision=34314
2008-07-05 23:12:12 +00:00
Timo Kreuzer
62d44518a9 fix vgaddi by linking to libcntpr to resolve crt imports and include ioaccess.h to avoid hal imports,
should fix bug 2073
See issue #2073 for more details.

svn path=/trunk/; revision=34313
2008-07-05 22:41:14 +00:00
Eric Kohl
2e377cc99a Implement removal of a user from a user group.
svn path=/trunk/; revision=34312
2008-07-05 21:55:16 +00:00
Matthias Kupfer
3ac7447b97 Maciej Bialas <bjauy AT tlen DOT pl>
- Updated polish version of base/setup/reactos.
- See issue #3456 for more details.

svn path=/trunk/; revision=34311
2008-07-05 21:36:00 +00:00
Matthias Kupfer
e8cf32fe74 - title font for a syssetup alike look added
svn path=/trunk/; revision=34310
2008-07-05 19:38:08 +00:00
Aleksey Bragin
29ed434408 - Fix reactos.dff according to r34308.
svn path=/trunk/; revision=34309
2008-07-05 18:23:24 +00:00
Aleksey Bragin
a92216f309 - Delete mc (stoneage old, there is a standalone win32 port now).
- Fit apps better in dir structure.
- Move old_wordpad to templates (Ged said it's a great framework).

svn path=/trunk/; revision=34308
2008-07-05 18:23:03 +00:00
Matthias Kupfer
d61945b6cc - converted 1st stage setup stub from message box style to property sheet style
- property page for English and German added
- other languages needs to be translated and enabled in rsrc.rc

svn path=/trunk/; revision=34307
2008-07-05 17:55:38 +00:00
Aleksey Bragin
2012315e5a - Start rosapps rearrange and cleanup process.
svn path=/trunk/; revision=34303
2008-07-05 11:46:22 +00:00
Aleksey Bragin
0a0a13a41c - Rearrange reactos.dff according to rosapps rearrange.
svn path=/trunk/; revision=34302
2008-07-05 11:45:32 +00:00
Aleksey Bragin
eb3c1a5282 Dmitry Gorbachev:
- Fix DriverEntry name.
See issue #2073 for more details.

svn path=/trunk/; revision=34301
2008-07-05 11:37:35 +00:00
Christoph von Wittich
4409400b6b don't try to dereference NULL pointers
now Avira AntiVir installs without crashing the whole system

svn path=/trunk/; revision=34300
2008-07-05 09:19:56 +00:00
Colin Finck
138bd07f65 Convert the dnsapi stuff to a consistent 4 spaces indentation
svn path=/trunk/; revision=34298
2008-07-04 22:41:28 +00:00