Commit graph

3027 commits

Author SHA1 Message Date
Hartmut Birr
9f97892ffa Release the cache segment if the reading of it fails (in CcMapData).
svn path=/trunk/; revision=3598
2002-10-02 19:23:42 +00:00
Hartmut Birr
68d5450c51 Release the BcbLock before there is a call to CcRosFreeCacheSegment (in CcSetFileSizes).
svn path=/trunk/; revision=3597
2002-10-02 19:22:06 +00:00
Hartmut Birr
8aca0dc370 Modified some functions, changed the sequence for acquiring some of
the protection elements (VieLock, BcbLock, SegmentLock..) and protected
the access to some elements with the associated locking element.
Implemented CcFlushCache and CcGetFileObjectFromSectionPtrs.

svn path=/trunk/; revision=3596
2002-10-02 19:20:51 +00:00
Casper Hornstrup
1e847489e4 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/dd/floppy/floppy.c: Changed PAGESIZE to PAGE_SIZE.
	* drivers/fs/cdfs/fcb.c: Ditto.
	* drivers/fs/cdfs/fsctl.c: Ditto.
	* drivers/fs/cdfs/rw.c: Ditto.
	* drivers/fs/ext2/dir.c: Ditto.
	* drivers/fs/ext2/inode.c: Ditto.
	* drivers/fs/ext2/rw.c: Ditto.
	* drivers/fs/ext2/super.c: Ditto.
	* drivers/fs/minix/blockdev.c: Ditto.
	* drivers/fs/minix/cache.c: Ditto.
	* drivers/fs/minix/inode.c: Ditto.
	* drivers/fs/minix/rw.c: Ditto.
	* drivers/fs/ntfs/fcb.c: Ditto.
	* drivers/fs/ntfs/ntfs.h: Ditto.
	* drivers/fs/vfat/create.c: Ditto.
	* drivers/fs/vfat/direntry.c: Ditto.
	* drivers/fs/vfat/dirwr.c: Ditto.
	* drivers/fs/vfat/fat.c: Ditto.
	* drivers/fs/vfat/fcb.c: Ditto.
	* drivers/fs/vfat/fsctl.c: Ditto.
	* drivers/fs/vfat/rw.c: Ditto.
	* drivers/storage/class2/class2.c: Ditto.
	* drivers/storage/scsiport/scsiport.c: Ditto.
	* hal/halx86/adapter.c: Ditto.
	* hal/halx86/mp.c: Ditto.
	* include/ddk/mmfuncs.h: Ditto.
	* include/ddk/mmtypes.h: Ditto.
	* include/ddk/i386/pagesize.h: Ditto.
	* include/ntdll/pagesize.h: Ditto.
	* lib/kernel32/process/create.c: Ditto.
	* lib/kernel32/thread/thread.c: Ditto.
	* lib/ntdll/ldr/utils.c: Ditto.
	* lib/ntdll/rtl/env.c: Ditto.
	* lib/ntdll/rtl/heap.c: Ditto.
	* lib/ntdll/rtl/ppb.c: Ditto.
	* lib/ntdll/rtl/process.c: Ditto.
	* lib/ntdll/rtl/thread.c: Ditto.
	* ntoskrnl/cc/copy.c: Ditto.
	* ntoskrnl/cc/view.c: Ditto.
	* ntoskrnl/ex/sysinfo.c: Ditto.
	* ntoskrnl/include/internal/i386/mm.h: Ditto.
	* ntoskrnl/io/mdl.c: Ditto.
	* ntoskrnl/ke/kthread.c: Ditto.
	* ntoskrnl/ke/i386/kernel.c: Ditto.
	* ntoskrnl/ldr/init.c: Ditto.
	* ntoskrnl/ldr/loader.c: Ditto.
	* ntoskrnl/mm/anonmem.c: Ditto.
	* ntoskrnl/mm/cont.c: Ditto.
	* ntoskrnl/mm/freelist.c: Ditto.
	* ntoskrnl/mm/iospace.c: Ditto.
	* ntoskrnl/mm/kmap.c: Ditto.
	* ntoskrnl/mm/marea.c: Ditto.
	* ntoskrnl/mm/mdl.c: Ditto.
	* ntoskrnl/mm/mminit.c: Ditto.
	* ntoskrnl/mm/ncache.c: Ditto.
	* ntoskrnl/mm/npool.c: Ditto.
	* ntoskrnl/mm/pagefile.c: Ditto.
	* ntoskrnl/mm/pageop.c: Ditto.
	* ntoskrnl/mm/section.c: Ditto.
	* ntoskrnl/mm/slab.c: Ditto.
	* ntoskrnl/mm/i386/page.c: Ditto.
	* ntoskrnl/ob/handle.c: Ditto.
	* ntoskrnl/ps/create.c: Ditto.
	* ntoskrnl/ps/process.c: Ditto.
	* ntoskrnl/ps/w32call.c: Ditto.
	* subsys/win32k/include/object.h: Ditto.

svn path=/trunk/; revision=3594
2002-10-01 19:27:25 +00:00
Casper Hornstrup
e10af6e59e 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/ntdll/string/ctype.c: Undefine __MSVCRT__ to not have mingw
	runtime import _pctype.

svn path=/trunk/; revision=3593
2002-10-01 18:57:23 +00:00
Jurgen van Gael
768a5a2297 FIX:previous was wrong file
svn path=/trunk/; revision=3592
2002-10-01 12:57:23 +00:00
Jurgen van Gael
a98d50ca9b FIX:memory leak - font objects got create for every WM_PAINT message and never deleted
svn path=/trunk/; revision=3591
2002-10-01 12:52:00 +00:00
Eugene Ingerman
c6002facd3 1. Cleanup GDI objects when process is deleted.
2. Bug fixes.

svn path=/trunk/; revision=3590
2002-10-01 06:41:57 +00:00
Casper Hornstrup
7b7130b9ca 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/misc/desktop.c (string.h): Include.
	* lib/user32/misc/resources.c: Ditto.
	* lib/user32/misc/winhelp.c: Ditto.
	* lib/user32/windows/accel.c: Ditto.
	* lib/user32/windows/bitmap.c: Ditto.
	* subsys/win32k/freetype/ctype.c: Undefine __MSVCRT__ and _pctype to not
	have mingw runtime import _pctype.

svn path=/trunk/; revision=3588
2002-09-30 21:21:38 +00:00
Hartmut Birr
beb75552bb Replaced EXE_SUFFIX with EXE_POSTFIX.
svn path=/trunk/; revision=3587
2002-09-30 21:02:54 +00:00
Hartmut Birr
5bb8c3c68f WideCharToMultiByte accept each code page like MultiByteToWideChar.
Wmc.exe will now produce correct header files (bugcode.h) on ros.

svn path=/trunk/; revision=3586
2002-09-30 21:01:32 +00:00
Hartmut Birr
d9c63079bb Fixed the value for dwHighDateTime in SystemTimeToFileTime.
svn path=/trunk/; revision=3585
2002-09-30 20:59:39 +00:00
Hartmut Birr
dad0922fda Fixed the value for EPOCHWEEKDAY.
Improve converting speed in RtlTimeToTimeFields.

svn path=/trunk/; revision=3584
2002-09-30 20:57:54 +00:00
Hartmut Birr
ffe7ccffd2 Release PiThreadListLock before KeReleaseThread is called in PiDeleteThread.
svn path=/trunk/; revision=3583
2002-09-30 20:56:17 +00:00
Casper Hornstrup
f5eae01623 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/cc/view.c (alloca): Prototype.
	* ntoskrnl/rtl/ctype.c: Undefine __MSVCRT__ to not have mingw runtime
	import _pctype.

svn path=/trunk/; revision=3582
2002-09-30 20:55:33 +00:00
Hartmut Birr
80d9dd3cc3 Fixed the value for EPOCHWEEKDAY.
svn path=/trunk/; revision=3581
2002-09-30 20:54:59 +00:00
Hartmut Birr
1ad57518fc Changed from OrginalFileObject to the FileObject from current stack location in IoIsOperationSynchronous.
svn path=/trunk/; revision=3580
2002-09-30 20:53:38 +00:00
Hartmut Birr
2b72f3d894 Changed the allocation function from ExAllocatePool to ExAllocatePoolWithTag in ExpDefaultAllocate.
svn path=/trunk/; revision=3579
2002-09-30 20:52:23 +00:00
Hartmut Birr
7a4a78d0b1 Removed VfatIoIsOperationSynchronous and changed back to IoIsOperationSynchronous.
svn path=/trunk/; revision=3578
2002-09-30 20:49:44 +00:00
Hartmut Birr
749530e630 Free the DirectorySeachPattern.
svn path=/trunk/; revision=3577
2002-09-30 20:48:43 +00:00
Hartmut Birr
a2d32d6cf7 Changed the starting cluster for the call to OffsetToCluster in VfatSetAllocationSizeInformation
from current cluster to the first cluster of a file or directory.
Do not set the new size for directories in VfatSetAllocationSizeInformation.

svn path=/trunk/; revision=3576
2002-09-30 20:47:28 +00:00
David Welch
5f0f163996 Use the correct bit order.
svn path=/trunk/; revision=3575
2002-09-30 19:45:19 +00:00
David Welch
5daca85b58 Fix for wrongly disabling interrupts causing system time loss.
svn path=/trunk/; revision=3574
2002-09-30 19:43:33 +00:00
Jason Filby
dc908bafd1 Perform color translation for 4BPP to 4BPP DIBs
svn path=/trunk/; revision=3573
2002-09-28 22:23:36 +00:00
Jason Filby
d166ac40b1 Draw minimize and maximize buttons with smaller, correct, metrics
svn path=/trunk/; revision=3572
2002-09-28 22:13:28 +00:00
Hartmut Birr
bf59f99dac Fixed the conversion in MultiByteToWideChar. Wmc.exe does now running on ros.
svn path=/trunk/; revision=3571
2002-09-27 15:29:03 +00:00
Hartmut Birr
7c651fda9c Fixed the calculation of leap days in RtlTimeToTimeFields.
svn path=/trunk/; revision=3570
2002-09-27 15:23:03 +00:00
David Welch
51ee9ffb3d Added nicer looking default mouse cursor.
Draw a mouse cursor as a pair of AND and XOR masks.
Speedup saving the screen area behind the mouse cursor by blitting it to
a non-displayed part of the frame buffer.

svn path=/trunk/; revision=3569
2002-09-25 21:21:36 +00:00
Hartmut Birr
9b17dd2a05 Stored the return value in the location given by the parameter (in function time()).
svn path=/trunk/; revision=3568
2002-09-25 16:31:36 +00:00
Eric Kohl
db14727518 Added more setup 'pages'. No install functionality yet.
svn path=/trunk/; revision=3567
2002-09-25 14:48:35 +00:00
Robert Dickenson
2ef96cd555 Added serial to the device_drivers target list.
svn path=/trunk/; revision=3566
2002-09-25 12:49:12 +00:00
Robert Dickenson
c08624515a Moved location of serial driver entry to prevent very strange behaviour of serial appearing to load multiple times as currently seen under bochs.
svn path=/trunk/; revision=3565
2002-09-25 12:45:13 +00:00
Steven Edwards
7222eece5c added test for mktime()
svn path=/trunk/; revision=3563
2002-09-25 01:09:49 +00:00
Jason Filby
559919d821 Added missing palette.h
svn path=/trunk/; revision=3562
2002-09-24 20:25:49 +00:00
Jason Filby
bf2d96d820 Win32k fixes including better 1BPP support
svn path=/trunk/; revision=3561
2002-09-24 20:22:10 +00:00
guido
25c608fd37 added .cvsignore
svn path=/trunk/; revision=3560
2002-09-24 19:50:47 +00:00
guido
895e809d7a changed backslash to slash
(I'm probably the only one having trouble with backslashes ...)

svn path=/trunk/; revision=3559
2002-09-24 19:34:18 +00:00
Steven Edwards
afbe90de84 added install for winmm.dll
svn path=/trunk/; revision=3558
2002-09-24 18:45:56 +00:00
Steven Edwards
230dc66a3a Added blank winmm.dll with one stub to try and get bochs working.
svn path=/trunk/; revision=3557
2002-09-24 18:45:32 +00:00
Robert Dickenson
5f1366aacc Updated with latest version changes to original source.
svn path=/trunk/; revision=3555
2002-09-24 15:16:46 +00:00
Robert Dickenson
2217a4d789 Temporary workaround to prevent bochs trouble.
svn path=/trunk/; revision=3554
2002-09-24 15:12:33 +00:00
Robert Dickenson
e7c419950d Added calls to INIT_TAG for better debugging messages.
svn path=/trunk/; revision=3553
2002-09-24 15:11:34 +00:00
Robert Dickenson
44572b3e1e Suspicious call to ExFreePool commented out for peer review?
svn path=/trunk/; revision=3552
2002-09-24 15:10:35 +00:00
Robert Dickenson
be84fb0f1c Updated with latest version changes to original source by Politecnico di Torino.
svn path=/trunk/; revision=3551
2002-09-24 15:08:14 +00:00
Robert Dickenson
eda8dee587 Addition of control panel applet support to shell32. Still need to clean local and do build testing. More to come soon.
svn path=/trunk/; revision=3550
2002-09-24 15:06:10 +00:00
Robert Dickenson
939bdcdace Doing some work on the serial driver.
svn path=/trunk/; revision=3549
2002-09-24 14:59:32 +00:00
Robert Dickenson
066f6e3fdc Added new registry entries in support of the network components.
svn path=/trunk/; revision=3548
2002-09-24 14:58:54 +00:00
Robert Dickenson
8f5a73d237 Added new targets to the copy list.
svn path=/trunk/; revision=3547
2002-09-24 14:47:27 +00:00
Robert Dickenson
0ea72c53bc Added targets for getting new import libraries built.
svn path=/trunk/; revision=3546
2002-09-24 14:44:15 +00:00
Robert Dickenson
954cb157af Test app for some visibility on whats in the registry.
svn path=/trunk/; revision=3545
2002-09-24 14:41:55 +00:00