Commit graph

32206 commits

Author SHA1 Message Date
Stefan Ginsberg
e82f1c91a7 - Fix MiSyncThreadProcessViews in KeInitThread too as requested by Alex
svn path=/trunk/; revision=35310
2008-08-13 18:00:23 +00:00
Stefan Ginsberg
bfd08e980b - Remove KiRawTicks -- this was previously a ros-specific kernel export, but is now unused
- Fix a comment typo

svn path=/trunk/; revision=35309
2008-08-13 17:24:22 +00:00
Stefan Ginsberg
6c420630c9 - "Sync" to the next thread's initial stack in KiSwapThread. This fixes an invalid page fault (faulting while interrupts are disabled) during context switching, where we access the next thread's initial stack before performing the address space switch. Many thanks to Alex for his help with this bug!
- Fix stack size calculations in KeAttachProcess and KeStackAttachProcess (thanks to Alex for pointing this out)

svn path=/trunk/; revision=35308
2008-08-13 17:00:49 +00:00
Jeffrey Morlan
d36e61f36c cmd_start:
- Allow space between /D and directory.
- Allow /W as a synonym for /WAIT.
- Give an error message on invalid switches.
- Clean up the function a bit.

svn path=/trunk/; revision=35307
2008-08-13 15:17:51 +00:00
Stefan Ginsberg
985409eda4 - Fix a (comment) typo
svn path=/trunk/; revision=35305
2008-08-13 14:30:35 +00:00
Aleksey Bragin
57debf9c5c - Replace crt's lnx_sprintf implementation with the one from lib/rtl (46kb of useless code substituted by 14kb of code, works the same).
svn path=/trunk/; revision=35304
2008-08-13 11:47:34 +00:00
Stefan Ginsberg
86d20a647b - Code cleanup
svn path=/trunk/; revision=35303
2008-08-13 09:07:34 +00:00
Stefan Ginsberg
8091f31182 - Fix a broken check in PspExitThread. We should check if Stack Swapping is _disabled_ during termination, not crash if it is enabled!
- Fix KeInitThread to respect this, and initialize EnableStackSwap to TRUE. Otherwise, only executive worker threads who modify the stack swap flag themselves encounter this issue.
- This, along with my previous change, fixes worker thread termination being completely broken and crashing ros.
- Thanks to Aleksey for confirming my changes

svn path=/trunk/; revision=35302
2008-08-13 09:00:50 +00:00
Johannes Anderwald
7d75e41b42 - implement deleting file using recyclebin api
- play a sound on when requested using the user default for emptying recycle bin
- rename shlfldr_mydocuments.c

svn path=/trunk/; revision=35301
2008-08-13 08:45:20 +00:00
Stefan Ginsberg
17beba5f93 - Fix a (comment) typo
svn path=/trunk/; revision=35300
2008-08-13 08:02:52 +00:00
Stefan Ginsberg
f93e329c60 - Reapply the PsTerminateSystemThread typo fix. We do boot fine with this fix.
- Note to self: Don't commit after midnight and always test your patches yourself

svn path=/trunk/; revision=35299
2008-08-13 07:55:59 +00:00
Jeffrey Morlan
ab8e76985a - Moved ExpandAlias call from ParseCommandLine to ReadCommand; aliases should only be processed when reading from the console. Removed processing of %variable% substitutions in ExpandAlias - not necessary now that aliases are expanded earlier.
- Rewrite %variable% substitution code, should be much more compatible with Windows cmd now.

svn path=/trunk/; revision=35295
2008-08-12 23:46:15 +00:00
Stefan Ginsberg
bd974a9e1c - Temporarily revert my last change. We don't set the SystemThread flag appropriately and it is always zero
svn path=/trunk/; revision=35294
2008-08-12 22:22:51 +00:00
Stefan Ginsberg
2517d40711 - Fix a typo in PsTerminateSystemThread. Now this API will actually terminate system threads.
svn path=/trunk/; revision=35293
2008-08-12 21:40:06 +00:00
Colin Finck
ae4dc93917 Attempt to fix release build (broken in r35285)
svn path=/trunk/; revision=35288
2008-08-12 14:48:51 +00:00
Aleksey Bragin
2c26076f3c - Change while (true) to an ASSERT(FALSE).
See issue #3616 for more details.

svn path=/trunk/; revision=35286
2008-08-12 08:46:31 +00:00
Aleksey Bragin
e03a9212c0 Giannis Adamopoulos <johnyadams@hotmail.com>
- Removes duplicated implementation of FrLdrLoadKernel, LoadDriver and LoadNlsFile from setupldr.c, use FrLdrLoadImage, FrLdrLoadNlsFile and FrLdrLoadDriver from reactos.c.
- Also remove the call to RegInitializeRegistry as setupldr doesn't need the registry.
- Make setupldr load the fastfat and ext2 drivers via txtsetup.sif, instead of hardcoding them in setupldr.c

svn path=/trunk/; revision=35285
2008-08-12 08:38:54 +00:00
Art Yerkes
2afb238075 Harden 'proc list'
svn path=/trunk/; revision=35284
2008-08-12 06:59:37 +00:00
Hervé Poussineau
6cf2b6c90d Expand recyclebin API with DeleteFileHandleToRecycleBin and GetRecycleBinDetails
svn path=/trunk/; revision=35280
2008-08-11 17:31:51 +00:00
Johannes Anderwald
fe3033e3ea - add flags for SHEmptyRecycleBin
svn path=/trunk/; revision=35278
2008-08-11 14:57:00 +00:00
Johannes Anderwald
c39ab30541 - rename recyclebin
svn path=/trunk/; revision=35277
2008-08-11 14:52:22 +00:00
Johannes Anderwald
40040950f1 Copied remotely
svn path=/trunk/; revision=35275
2008-08-11 14:49:32 +00:00
Johannes Anderwald
fe7a26fb3f * implement restoring of a deleted file
* use volume labels for storing bitbucket information
* store a context for each drive
* apply changes for each available drive

svn path=/trunk/; revision=35270
2008-08-11 09:51:35 +00:00
Aleksey Bragin
87e74cda21 - NDK Fix: DirectoryTableBase member of KPROCESS is ULONG[2] and not LARGE_INTEGER since Windows 2000 ("Inside Windows 2000", Chapter 6), and till Windows 2003.
svn path=/trunk/; revision=35269
2008-08-11 08:40:52 +00:00
Art Yerkes
30b9ab966f Merge aicom-network-fixes up to 35260
svn path=/trunk/; revision=35267
2008-08-11 00:02:26 +00:00
Aleksey Bragin
a4bc397498 - .def -> .spec
svn path=/trunk/; revision=35266
2008-08-10 18:06:21 +00:00
Aleksey Bragin
044c66916e - Fix dxtn build.
svn path=/trunk/; revision=35265
2008-08-10 16:25:26 +00:00
Ged Murphy
197cc3f634 Give Techbot the ability to check for and ghost existing bots, then rename itself
svn path=/trunk/; revision=35264
2008-08-10 13:06:58 +00:00
Hervé Poussineau
b2a074adbf Limit use of -enable-stdcall-fixup to mesa32, msvcrt and riched20 modules
svn path=/trunk/; revision=35263
2008-08-10 11:42:31 +00:00
Hervé Poussineau
0cf60adb98 On newer versions, vDbgPrintEx and vDbgPrintExWithPrefix are stdcall, not cdecl
svn path=/trunk/; revision=35262
2008-08-10 11:33:33 +00:00
Hervé Poussineau
f7de51f699 Use a .spec file for ntoskrnl.
Keep specific .def for ARM, as long as it has not been tested

svn path=/trunk/; revision=35261
2008-08-10 11:23:16 +00:00
Hervé Poussineau
889aabd999 Fix exports
svn path=/trunk/; revision=35258
2008-08-10 09:48:25 +00:00
Hervé Poussineau
041e42b57d I was wrong, because KeUpdateSystemTime prototype is not the same on all platforms
svn path=/trunk/; revision=35256
2008-08-10 09:02:49 +00:00
Hervé Poussineau
d28b074156 Remove stdcall decorations to fix build.
Real fix should be available soon.

svn path=/trunk/; revision=35253
2008-08-10 06:50:29 +00:00
Hervé Poussineau
876fa09ee5 Try to fix some symbol names
svn path=/trunk/; revision=35252
2008-08-10 05:47:20 +00:00
Timo Kreuzer
8eb52874be - add more accelerator flags for xform objects
- add MATRIX structure using FLOATOBJ instead of EFLOAT_S (which is a x86 specific structure)

svn path=/trunk/; revision=35249
2008-08-09 22:42:35 +00:00
Jeffrey Morlan
809dd4cd3c - Fix the way the start command parses its arguments. Previously, the arguments were split up using split() and then the parts intended for the program were recombined, but this is wrong because it cannot preserve quotes. Changed cmd_start to do tokenization itself instead.
- Implement "title", /Ddirectory, /MIN, /MAX, and /WAIT options.
- Remove 'first' variable which only ever contained the name of "start" itself - all the places where it was used appear to be mistakes; replaced with 'rest'.
- Fix crash that happened when attempting to start a file with no extension.

svn path=/trunk/; revision=35248
2008-08-09 21:51:34 +00:00
Hervé Poussineau
f763594308 Fix prototype
svn path=/trunk/; revision=35247
2008-08-09 20:14:29 +00:00
Aleksey Bragin
8f4d636360 - MmAdjustWorkingSetSize has 4 parameters, not 3.
svn path=/trunk/; revision=35243
2008-08-09 17:55:35 +00:00
Ged Murphy
bca74ffa16 - Don't use LoadIcon, it's broken as it incorrectly calls LoadImage
- This fixes the ugly treeview icons
 - *note, cursor/icon loading code needs revising

svn path=/trunk/; revision=35242
2008-08-09 16:40:43 +00:00
Dmitry Chapyshev
2ca0e5562e - Update Russian translation
svn path=/trunk/; revision=35241
2008-08-09 16:16:49 +00:00
Hervé Poussineau
aeedb31a0f Add module linker flags after project flags, so project ones can be overridden
svn path=/trunk/; revision=35240
2008-08-09 16:01:20 +00:00
Dmitry Chapyshev
1f86650758 - Fix typo
svn path=/trunk/; revision=35239
2008-08-09 15:59:08 +00:00
Dmitry Chapyshev
2b53cd4661 - Update Russian translation
svn path=/trunk/; revision=35238
2008-08-09 15:56:18 +00:00
Dmitry Chapyshev
addd8647a6 - Update Russian translation
svn path=/trunk/; revision=35236
2008-08-09 15:18:20 +00:00
Hervé Poussineau
85355cf4c8 Add missing APIENTRY
svn path=/trunk/; revision=35235
2008-08-09 14:47:13 +00:00
Hervé Poussineau
3423abf125 Add missing APIENTRY
svn path=/trunk/; revision=35234
2008-08-09 14:24:51 +00:00
Hervé Poussineau
8648e50340 Replace .def file by a .spec file
svn path=/trunk/; revision=35233
2008-08-09 14:19:48 +00:00
Hervé Poussineau
1b69810a3b Replace .def file by a .spec file
svn path=/trunk/; revision=35232
2008-08-09 14:10:04 +00:00
Hervé Poussineau
9a953b4c78 Fix vDbgPrintExWithPrefix export
svn path=/trunk/; revision=35230
2008-08-09 13:56:45 +00:00