Filip Navara
4b0c6682d0
- Replace some usages of KEBUGCHECK(0) with correct bug check codes.
...
svn path=/trunk/; revision=10345
2004-08-01 21:57:35 +00:00
Filip Navara
a9f6cf2b6c
- Change all FAT*FindAvailableCluster functions to new functions
...
FAT*FindAndMarkAvailableCluster which have incorporated the setting of
EOF marker in the File Allocation Table for the returned cluster.
- Rewritten FAT32CountAvailableClusters, FAT32FindAndMarkAvailableCluster,
FAT16CountAvailableClusters and FAT16FindAndMarkAvailableCluster for
better performance. These functions were using one big loop for traversing
the FAT and had a block of code in the loop for requesting cache manger
for next chunk of FAT *if necessary* (which commonly wasn't the case).
Now it's changed to request always a whole FAT chunk and process it at once
in a nested loop.
- Cache last offset + cluster pair while reading/writing from/to file. This
ensures almost linear times when doing sequential reads/writes, because the
whole FAT traversing for the file is not done again for every request.
Previously there was code for this, but it was neither correctly used
nor working. It stored the last offset + cluster pair in file CCB structure
(that is unique for each opened file handle) and not FCB structure (which
is shared among all instances of the same file). This resulted in
inconsistent cluster + offset number when the file allocation chain was
changed (eg. by enlarging/shrinking the file), but since the cached offsets
weren't actully used it went unnoticed.
- Remove old hack from NextCluster and fix the call to it in VfatAddEntry.
Not much to say about it, there was an temporary hack in NextCluster and
with fixed VfatAddEntry it's now no longer needed.
- Add pointers to WriteCluster, FindAndMarkAvailableCluster and
GetNextCluster functions to device extension (set during mount) and use
them at appropriate locations. This avoids some nasty if's in the code
and causes some unnoticable performance improvment in the low-level
FAT code.
- Lock the directory FCB in VfatAddEntry while modifying it. This should
propably be done on more places, but it needs more investigations.
- Increase the file cache allocation size in VfatRead/VfatWrite. It boosts
the overall speed of the driver a lot.
svn path=/trunk/; revision=10344
2004-08-01 21:57:18 +00:00
Martin Fuchs
0f48b872aa
correct icon image order
...
svn path=/trunk/; revision=10343
2004-08-01 21:23:21 +00:00
Martin Fuchs
009b55a91e
insert new ramdisk icon from Klemens Friedl
...
svn path=/trunk/; revision=10342
2004-08-01 20:56:59 +00:00
Thomas Bluemel
f258f3380a
fixed popup menu for edit controls
...
svn path=/trunk/; revision=10341
2004-08-01 19:49:21 +00:00
Jens Collin
ace328553a
corrected build error.
...
svn path=/trunk/; revision=10340
2004-08-01 15:56:15 +00:00
Jens Collin
9bedba895d
merged with wine-version of dialogs.c and replaced CreateProcess-call with ShellExecute to be able to launch any file from start-menu
...
svn path=/trunk/; revision=10339
2004-08-01 15:37:06 +00:00
Thomas Bluemel
f9d899b01f
fixed KDBG:=1 builds. Patch by blight
...
svn path=/trunk/; revision=10338
2004-08-01 11:40:37 +00:00
Martin Fuchs
d0f962adaf
display different drive icons depending on the drive type
...
svn path=/trunk/; revision=10337
2004-08-01 11:26:13 +00:00
Martin Fuchs
09124408c9
integrate new drive icons of Klemens Friedl <frik85@hotmail.com>
...
(see http://reactosde.funpic.de/mediadetail.php?sec=Graphic%20arts&cat=icons&mdnr=8 )
svn path=/trunk/; revision=10336
2004-08-01 11:24:43 +00:00
Martin Fuchs
79e842231c
implement IServiceprovider interface
...
svn path=/trunk/; revision=10334
2004-08-01 09:26:27 +00:00
Hartmut Birr
06b9a76a1b
- Stopped the printing of frames after the nice value 'deadbeef' in KeRosDumpStackFrames.
...
svn path=/trunk/; revision=10333
2004-08-01 07:28:43 +00:00
Hartmut Birr
b36f5c8459
- Changed all internal memory functions to use the page frame number instead of the physical address.
...
- Allowed MmCreateVirtualMapping to create mappings for more than one page.
- Used invplg to invalidate a single tlb entry.
- Simplified the access to the page tables/directories.
svn path=/trunk/; revision=10332
2004-08-01 07:27:25 +00:00
Hartmut Birr
fd411381da
- Changed all internal memory functions to use the page frame number instead of the physical address.
...
- Allowed MmCreateVirtualMapping to create mappings for more than one page.
svn path=/trunk/; revision=10331
2004-08-01 07:24:59 +00:00
Magnus Olsen
5f1aa6ff61
change back after filps advace
...
svn path=/trunk/; revision=10330
2004-07-31 15:09:59 +00:00
Magnus Olsen
abcc1f252b
DUMMYSTRUCTNAME1, DUMMYSTRUCTNAME1 s1, DUMMYUNIONNAME u1 where missing
...
did forget change DUMMYUNIONNAME u1 to DUMMYUNIONNAME1 u1
svn path=/trunk/; revision=10329
2004-07-31 14:47:09 +00:00
Eric Kohl
fa3393af0c
Implement SeQuerySecurityDescriptorInfo().
...
svn path=/trunk/; revision=10328
2004-07-31 12:21:19 +00:00
Magnus Olsen
be56bd2bbd
DUMMYSTRUCTNAME1, DUMMYSTRUCTNAME1 s1, DUMMYUNIONNAME u1 where missing
...
svn path=/trunk/; revision=10327
2004-07-31 12:10:32 +00:00
Magnus Olsen
f5848006c0
DUMMYSTRUCTNAME1, DUMMYSTRUCTNAME1 s1, DUMMYSTRUCTNAME1 u1 where missing
...
svn path=/trunk/; revision=10326
2004-07-31 12:04:23 +00:00
Hartmut Birr
ae9493fada
- Used MmStats.NrFreePages instead of MiNrAvailablePages.
...
svn path=/trunk/; revision=10325
2004-07-31 09:44:36 +00:00
Hartmut Birr
b67cc5006c
- Update the page counters in MmGetContinuousPages.
...
- Add a flag to PHYSICAL_PAGE, to detect if a free page is on the zeroed or on the unzeroed list.
svn path=/trunk/; revision=10324
2004-07-31 09:43:54 +00:00
James Tabor
f811b0ed5c
Fix up SystemPageFileInfo and SystemCacheInfo. May not have all the right data.
...
svn path=/trunk/; revision=10322
2004-07-31 00:14:39 +00:00
James Tabor
1cac450d4c
Moved KiTimerSystemAuditing flag to main.c.
...
svn path=/trunk/; revision=10321
2004-07-30 19:29:18 +00:00
James Tabor
3ba2c74617
Moved KiTimerSystemAuditing flag to main.c so it can set when everything is up and running. Also, turn the time auditing back on.
...
svn path=/trunk/; revision=10320
2004-07-30 19:28:49 +00:00
James Tabor
b31a0f3811
Implemented OpenThread and GetSystemTimes.
...
svn path=/trunk/; revision=10319
2004-07-30 19:18:39 +00:00
Thomas Bluemel
26ecba1c13
added "hide on minimize" feature and added context menu to the tray icon
...
svn path=/trunk/; revision=10318
2004-07-30 13:39:56 +00:00
Thomas Bluemel
61430b7b65
Patch by Filip Navaraf: Removed the mouse class gdi callback
...
svn path=/trunk/; revision=10317
2004-07-30 09:42:11 +00:00
Thomas Bluemel
6a79a66086
attempt to fix a few message queue and timer bugs
...
svn path=/trunk/; revision=10316
2004-07-30 09:16:06 +00:00
James Tabor
acb7361211
New Process & Thread time locking and experimental DPC accounting support.
...
svn path=/trunk/; revision=10315
2004-07-29 23:28:48 +00:00
James Tabor
a769548161
Add ps to system build.
...
svn path=/trunk/; revision=10314
2004-07-29 22:32:37 +00:00
James Tabor
cd7d90c696
New process listing command.
...
svn path=/trunk/; revision=10313
2004-07-29 22:31:56 +00:00
James Tabor
a514022aea
Fixing Taskmgr and GlobalMemoryStatusEx return numbers.
...
svn path=/trunk/; revision=10312
2004-07-29 20:37:02 +00:00
Thomas Bluemel
7d74fb9d99
fixed compiling errors with gcc 3.4.x
...
svn path=/trunk/; revision=10311
2004-07-29 16:46:22 +00:00
Thomas Bluemel
a8c60b138d
don't change selection if not capturing the console window
...
svn path=/trunk/; revision=10310
2004-07-29 13:54:45 +00:00
Thomas Bluemel
310098e324
fixed calculation of selected cells
...
svn path=/trunk/; revision=10309
2004-07-29 13:43:38 +00:00
Thomas Bluemel
1ee783cd7d
fix assertion statement
...
svn path=/trunk/; revision=10308
2004-07-29 12:03:47 +00:00
Art Yerkes
bc0ec8c03d
Fixed includes so that DBG keys on roscfg.h
...
Fixed subtle bug in miniport.c: if exactly one protocol is registered we
would skip it in MiniIndicateData because we took the .Flink value from the
list head, then compared CurrentEntry->Flink to the list head address.
svn path=/trunk/; revision=10307
2004-07-29 05:00:43 +00:00
Art Yerkes
c14c59021f
Accidentally missed one breakpoint from the previous debugging session.
...
svn path=/trunk/; revision=10306
2004-07-29 04:10:53 +00:00
Art Yerkes
c0dd64494d
Fixed memory overwrite due to too-small allocation.
...
svn path=/trunk/; revision=10305
2004-07-29 04:09:06 +00:00
Thomas Bluemel
b6a9c73c88
allow selecting text with the mouse in gui consoles
...
svn path=/trunk/; revision=10304
2004-07-28 22:28:50 +00:00
Steven Edwards
c9f548f45a
Add all the new fonts to the bootcd.
...
svn path=/trunk/; revision=10303
2004-07-28 04:20:44 +00:00
Steven Edwards
7c8435a226
patch by Arty to fix casting issue.
...
I lost the old patch by Filip.
svn path=/trunk/; revision=10302
2004-07-28 04:20:12 +00:00
Steven Edwards
b4cbfd1d28
C++ flags not C Flags
...
svn path=/trunk/; revision=10301
2004-07-28 04:02:47 +00:00
Magnus Olsen
303ce93000
remove struct _DDSCAPSEX
...
it are allread in ddraw.h
svn path=/trunk/; revision=10298
2004-07-27 11:47:10 +00:00
Magnus Olsen
1e873b4f31
From wine include files for preption for directx support in reactos
...
no changes have been made on this file
to sync with wine only copy thuse file from wine when it need.
svn path=/trunk/; revision=10297
2004-07-27 10:46:27 +00:00
Magnus Olsen
c0779f51d4
From wine include files for preption for directx support in reactos
...
no changes have been made on this file
to sync with wine only copy thuse file from wine when it need.
svn path=/trunk/; revision=10296
2004-07-27 10:30:11 +00:00
Filip Navara
a646b85ed6
* dlls/shell32/shellpath.c: Aric Stewart <aric@codeweavers.com>
...
Make sure that the size of the buffer passed to RegSetValueExW is in
bytes not WCHARs.
svn path=/trunk/; revision=10291
2004-07-26 17:02:30 +00:00
James Tabor
2fe9583bc7
Patch for fixing EnumThreadWindows.
...
svn path=/trunk/; revision=10290
2004-07-26 14:58:35 +00:00
Eric Kohl
6b53247ee6
Remove dead code.
...
svn path=/trunk/; revision=10289
2004-07-26 13:19:34 +00:00
Eric Kohl
9528bf078e
Implement SeValidSecurityDescriptor().
...
svn path=/trunk/; revision=10288
2004-07-26 12:44:40 +00:00