Commit graph

38972 commits

Author SHA1 Message Date
Stefan Ginsberg 56bc75a184 - ASSERT on NULL-frees
svn path=/trunk/; revision=43243
2009-09-30 19:29:08 +00:00
Johannes Anderwald 17c528d7c3 - Several bugfixes for mixer source / destination line detection code
- Fix a memory leak

svn path=/trunk/; revision=43242
2009-09-30 18:58:52 +00:00
Stefan Ginsberg b3e77ecf83 - KeBugCheckEx expects BugCheckParameter2 to point to an array when the bug code is FATAL_UNHANDLED_HARD_ERROR -- properly stub out ExpSystemErrorHandler so we don't crash in KeBugCheckEx.
svn path=/trunk/; revision=43241
2009-09-30 18:31:26 +00:00
Stefan Ginsberg b42aaf88bb - Fix recursive spinlock acquisition in Mm caused by locking inconsistency between ARM3 and the old ReactOS Mm. The old Mm calls certain routines to modify PFN entries (lock, unlock, reference, dereference, etc) and acquires/releases the PFN lock inside those functions (which is extremely inefficient as you can't, for example, have to acquire/release the PFN lock twice to reference and lock the same page), while ARM3 synchronizes differently and holds the lock while calling those routines, resulting in a recursive lock attempt on MP (which works on UP because spinlocks are just IRQL raise/lower there). Move out locking from MmAllocPage, MmReference/DereferencePage and MmLock/UnlockPage to the callers to be consistent with ARM3.
- Add missing PFN locking to MmFreePagesFromMdl and MiAllocatePoolPages.
- Get rid of MmLockPageUnsafe and MmReferencePageUnsafe. The "safe" routines just forwarded to the unsafe versions -- call them directly instead. Remove unused MmAcquirePageListLock/MmReleasePageListLock.

svn path=/trunk/; revision=43240
2009-09-30 18:24:00 +00:00
Aleksey Bragin 4f128a3206 [fastfat_new]
- Partially implement a codepath for opening an existing file.
- Implement simple FCB and CCB creation.
- Correctly set FILE_OBJECT fields.
- Allocate space for SECTION_POINTERS.
- Implement some misc in FatQueryInformation.
- The driver goes up to getting a read request for ntdll.dll.

svn path=/trunk/; revision=43239
2009-09-30 16:16:18 +00:00
Stefan Ginsberg eb89b6ac85 - ...and this one.
svn path=/trunk/; revision=43238
2009-09-30 13:43:55 +00:00
Stefan Ginsberg e909d6a542 - Missed this one
svn path=/trunk/; revision=43237
2009-09-30 13:33:48 +00:00
Stefan Ginsberg df3bf0c83a - Goodbye __USE_W32API
svn path=/trunk/; revision=43236
2009-09-30 13:32:05 +00:00
Stefan Ginsberg 56aba98ca8 - Good bye __USE_W32API, _DISABLE_TIDENTS
svn path=/trunk/; revision=43235
2009-09-30 13:31:50 +00:00
Stefan Ginsberg bfc7376cd9 - Remove the remaining __USE_W32API, deprecated for ages.
- Remove _SEH_NO_NATIVE_NLG from msvcrt.rbuild, deprecated long ago.
- Get rid of __NO_CTYPE_INLINES for everything but host tools, deprecated since revision 38052.
- Deprecate and remove _DISABLE_TIDENTS.

svn path=/trunk/; revision=43234
2009-09-30 13:28:51 +00:00
Kamil Hornicek ebe5bb75c0 - simplify the code a bit
svn path=/trunk/; revision=43233
2009-09-30 12:59:06 +00:00
Kamil Hornicek 6f17454af4 - add wglUseFontOutlines, wglUseFontBitmaps
- code ported (rearranged, simplified, fixed memory leaks, removed unneeded variables) from Mesa3D glDirect driver (c) SciTech Software, Inc
- more work needed but 3D text screen saver finally renders at least something

svn path=/trunk/; revision=43232
2009-09-30 12:12:56 +00:00
Johannes Anderwald 4127b55a9e - Store destination line in LineList
- Implement WdmAudGetLineInfo for MIXER_GETLINEINFOF_LINEID
- Add a hack for WdmAudGetLineControls for MIXER_GETLINECONTROLSF_ONEBYTYPE

svn path=/trunk/; revision=43231
2009-09-30 10:32:15 +00:00
Cameron Gutman ac42df0ca7 - Uncomment some SYN handling code
- Enable a ROS-specific hack because oskittcp doesn't know about all interfaces in the system
 - Small cleanup of code

svn path=/trunk/; revision=43230
2009-09-30 03:44:44 +00:00
Cameron Gutman 1118959561 - Fix a nasty bug that caused us to exit the loop before sending all the data
svn path=/trunk/; revision=43229
2009-09-30 01:30:45 +00:00
Cameron Gutman 63fbb744f3 - Sync the ACK hack with the last oskit release
svn path=/trunk/; revision=43228
2009-09-29 23:14:21 +00:00
Hervé Poussineau a471bf9bb0 Reapply r43141: Remove now unneeded ARC cdrom hack in NTLDR boot-style. We're now able to boot from a LiveCD, even if ReactOS directory is not "reactos"
Keep the existing hack for FreeLdr boot-style, which should be removed one day

svn path=/trunk/; revision=43227
2009-09-29 20:01:20 +00:00
Johannes Anderwald ac2285ed31 - Italian & english translation of ks.inf
- Patch by Gabriel Ilardi (gabriel_it)

svn path=/trunk/; revision=43226
2009-09-29 18:03:41 +00:00
Aleksey Bragin a7532a398b [fastfat_new]
- Add directory path parsing which tries to find existing FCBs for path names.
- Add a framework for creating DCBs during path dissection. Currently just prints out path names.
- Cleanup fcb.c, Alexey Vlasov's version was great, but it is a bit different from what I want to implement now.

svn path=/trunk/; revision=43225
2009-09-29 13:09:16 +00:00
Johannes Anderwald 83836038f7 - Implement enumerating mixer source and destination lines
svn path=/trunk/; revision=43224
2009-09-29 12:26:48 +00:00
Johannes Anderwald 3f5443deba - Implement PcHandlePropertyWithTable
- Use PcHandlePropertyWithTable to handle IOCTL_KS_PROPERTY requests
- Remove dead code

svn path=/trunk/; revision=43223
2009-09-29 10:46:30 +00:00
Aleksey Bragin 5f9e1cd8f9 [fastfat_new]
- Start integrating FullFAT library.
- Current state is that it's able to mount a FAT volume.

svn path=/trunk/; revision=43222
2009-09-29 10:08:43 +00:00
Aleksey Bragin f1ee7979a1 [fullfat]
- Remove all malloc/free usage in the library and substitute them by user-provided FF_Malloc and FF_Free functions.
- Cleanup fullfat.rbuild.

svn path=/trunk/; revision=43221
2009-09-29 09:14:08 +00:00
James Tabor f74bae6d05 - Add GraphApp, Ext2 and X to the list of acknowledged projects.
svn path=/trunk/; revision=43220
2009-09-29 04:01:30 +00:00
Johannes Anderwald dfeea3b92e - Retrieve the correct pin name
svn path=/trunk/; revision=43219
2009-09-29 00:25:05 +00:00
Dmitry Gorbachev 1265b9904e Add 1152x864, 1280x1024, and 1600x1200 modes.
svn path=/trunk/; revision=43218
2009-09-28 20:46:44 +00:00
Dmitry Gorbachev e654206923 Fix some bugs.
svn path=/trunk/; revision=43217
2009-09-28 20:46:30 +00:00
Dmitry Gorbachev 2b337a70b8 Do not copy those structures twice.
svn path=/trunk/; revision=43216
2009-09-28 20:46:19 +00:00
Stefan Ginsberg 9ea93e00f3 Erm, thanks Timo...
svn path=/trunk/; revision=43215
2009-09-28 20:34:11 +00:00
Stefan Ginsberg 1634f12c5e - Fix Winetests build after sddkver.h update (and why the hell isn't the build server building the tests anymore???)
svn path=/trunk/; revision=43214
2009-09-28 20:25:30 +00:00
Aleksey Bragin b9b9f5e614 - Thanks Stefan.
svn path=/trunk/; revision=43213
2009-09-28 18:43:27 +00:00
Aleksey Bragin 77655e13d6 - Import FullFAT and add it to build.
svn path=/trunk/; revision=43212
2009-09-28 18:41:51 +00:00
Stefan Ginsberg b97f271601 Correction to 36917: EPROFILE/KPROFILE.Segment is pointer sized, not a pointer.
svn path=/trunk/; revision=43211
2009-09-28 18:27:06 +00:00
Johannes Anderwald 59278a8c6d - Add ks.inf
- ATM, only german is available, and is also the default

svn path=/trunk/; revision=43209
2009-09-28 18:12:40 +00:00
Aleksey Bragin c1d76231a4 [fastfat_new]
- Create root DCB when mounting a volume.

svn path=/trunk/; revision=43207
2009-09-28 18:04:31 +00:00
Stefan Ginsberg 79fe13f7e8 - Comment fixes
svn path=/trunk/; revision=43206
2009-09-28 18:02:45 +00:00
Stefan Ginsberg 87db0af5db Hey Arch, how do you expect kernel32 to build with Microsoft's headers if you define a NTDDI_VERSION that conflicts with _WIN32_WINNT and makes sdkddkver.h cry? Remove the conflicting define from the .rbuild and redefine it in the header before including the NDK (this is needed because we need Vista types from the PSDK but require 2003 types from the NDK -- glorious, eh?).
Prepare sddkver.h for mingw-w64 import:
- Point out the fact that the header is in the public domain.
- Add some missing stuff, including a NTDDI_VERSION sanity check.
- Format fixes, add some comments

svn path=/trunk/; revision=43205
2009-09-28 17:45:23 +00:00
Johannes Anderwald 1130b7dee4 - Implement KSPROPERTY_PIN_NAME properly
- KsPinPropertyHandler does *NOT* set Status in the IRP

svn path=/trunk/; revision=43204
2009-09-28 13:33:17 +00:00
Aleksey Bragin 6c1fab522b [fastfat_new]
- Add an internal routine for opening root DCB (a stub for now).
- Add code for checking if this is a relative or absolute open. Start implementing absolute opening part.

svn path=/trunk/; revision=43203
2009-09-28 11:02:34 +00:00
Aleksey Bragin dfe3bd48b3 [fastfat_new]
- Fix wrong comment in FatiCreate, spotted by Ged Murphy.
- Add some parameters validation to FatiCreate, and a check for volume open request.
- Add node types and a decoding routine.
- Implement VCB locking/unlocking.

svn path=/trunk/; revision=43202
2009-09-28 10:43:27 +00:00
Johannes Anderwald eaf6203af2 - Fix 2 bugs:
- The Category member is LPGUID not GUID
- Check if there is a category member

svn path=/trunk/; revision=43201
2009-09-28 10:38:23 +00:00
Johannes Anderwald 6dbd846a42 - Handle variable sized PCPIN_DESCRIPTORs
svn path=/trunk/; revision=43200
2009-09-28 10:30:34 +00:00
Aleksey Bragin 5fced5449b [fastfat_new]
- Start implementing one of the most massive IFS driver routines - IRP_MJ_CREATE handler. Right now it just does some preliminary work, deciphers all options, prepares all variables, prints out debug stuff.

svn path=/trunk/; revision=43199
2009-09-28 09:49:16 +00:00
Hervé Poussineau e19fb94e99 bootvid.dll is in system32, not system32\drivers
svn path=/trunk/; revision=43198
2009-09-28 09:36:02 +00:00
Hervé Poussineau 04b1587c63 Fix debug message
svn path=/trunk/; revision=43197
2009-09-28 09:30:27 +00:00
Stefan Ginsberg e97d4af887 - Remove superfluous VOID casts from 42314.
svn path=/trunk/; revision=43196
2009-09-27 20:34:40 +00:00
Stefan Ginsberg a857ca2b6a - "Worked for me!"
svn path=/trunk/; revision=43195
2009-09-27 20:28:33 +00:00
Aleksey Bragin 7245b3c04b [fastfat_new]
- Acquire global lock before touching FatGlobalData structure.
- Initialize global VCB list, fixes a crash at volume mounting.
- Loading goes up to volume mounting, an attempt to query information and open a file.

svn path=/trunk/; revision=43194
2009-09-27 20:24:22 +00:00
Stefan Ginsberg ef64669349 - Add more padding so our gcc compatible C_ASSERT doesn't conflict with ntoskrnl.h
svn path=/trunk/; revision=43193
2009-09-27 20:17:52 +00:00
Stefan Ginsberg e7e6699ae1 - Use MAXUINT, MAXULONG, MAXDWORD, MAXULONGLONG and MAXULONGLONG instead of ~0 or casting -1 to unsigned.
- bintype.c: Use INVALID_SET_FILE_POINTER instead of (DWORD)-1.
- irp.c: KsGetNodeIdFromIrp returns KSFILTER_NODE (which is -1).
- basetsd.h: Add missing MAXUINT and MAXULONGLONG.
- typedefs.h: Add MAXULONG for mkhive.
- elf.inc.h and pe.c: Remove incorrect and unneeded MAXULONG define.

svn path=/trunk/; revision=43192
2009-09-27 20:07:43 +00:00