Commit graph

27975 commits

Author SHA1 Message Date
Christoph von Wittich 1b69e6d038 adding back -enable-stdcall-fixup linkerflag
svn path=/trunk/; revision=30622
2007-11-21 11:47:58 +00:00
Aleksey Bragin 27cfa889db - Slightly reformat.
svn path=/trunk/; revision=30621
2007-11-21 11:21:07 +00:00
Aleksey Bragin 776a248981 - Remove stupid and greatly broken "let's wait in a loop, while querying current time" by calls to KeDelayExecutionThread().
svn path=/trunk/; revision=30620
2007-11-21 11:18:15 +00:00
Aleksey Bragin ac0ce5049d - Implement some roothub URB handling, and generic URB completion (copied from EHCI's).
- Now OHCI is able to read ports statuses, and even discovers a low-speed device connected to the port, however port status clearing doesn't seem to work.

svn path=/trunk/; revision=30619
2007-11-21 11:15:43 +00:00
Christoph von Wittich aeab4b393d fix some PREfast warnings
svn path=/trunk/; revision=30618
2007-11-21 11:09:47 +00:00
Christoph von Wittich b72f3e3943 don't try to free CurrentBuffer when allocation failed
svn path=/trunk/; revision=30617
2007-11-21 10:57:25 +00:00
Aleksey Bragin 167bf281dc - Start implementing URB operations (so that at least roothub URB could come through).
svn path=/trunk/; revision=30616
2007-11-21 09:51:03 +00:00
Aleksey Bragin fb08021b40 Andrey Korotaev <unC0Rr@inbox.ru>
- Fix inverted logic in fs recognizer, and some comment fixes.
See issue #2325 for more details.

svn path=/trunk/; revision=30615
2007-11-21 09:18:32 +00:00
Christoph von Wittich 4f69fa75ae initialize FileName and SourceBuffer
svn path=/trunk/; revision=30614
2007-11-21 09:13:33 +00:00
Thomas Bluemel fc02f8d454 Make dialogs update the UI state
svn path=/trunk/; revision=30613
2007-11-21 09:12:20 +00:00
Thomas Bluemel 6e7848434b Check SPI_GETKEYBOARDCUES to find out if we should process WM_CHANGEUISTATE and WM_UPDATEUISTATE
svn path=/trunk/; revision=30612
2007-11-21 08:43:20 +00:00
Thomas Bluemel d77503dadb Implement WM_QUERYUISTATE, WM_CHANGEUISTATE and WM_UPDATEUISTATE
svn path=/trunk/; revision=30611
2007-11-21 08:32:45 +00:00
Thomas Bluemel 2bc07496f3 Store the internal window placement directly inside the WINDOW structure
svn path=/trunk/; revision=30610
2007-11-21 05:35:33 +00:00
Thomas Bluemel bfc8890eee Optimize GetDesktopWindow() to read the information from the shared heap
svn path=/trunk/; revision=30609
2007-11-20 23:15:49 +00:00
Aleksey Bragin 836f7e1954 - Implement a port reset function.
- Fix a bug in get_dev_change function.

svn path=/trunk/; revision=30608
2007-11-20 22:45:48 +00:00
Aleksey Bragin de4fffafa1 - Implement init and start of OHCI controller (interrupts are still disabled, because corresponding code is not implemented).
- Implement stubbed HCD interface functions for OHCI.
- Add Endpoint Descriptor and Transfer Descriptor structs from Linux.

svn path=/trunk/; revision=30607
2007-11-20 20:50:56 +00:00
Christoph von Wittich 0fdacaa71e SetupDiGetDeviceInstanceId returns size in characters not in bytes
svn path=/trunk/; revision=30606
2007-11-20 20:44:24 +00:00
Christoph von Wittich 2b14de3b3c set TARGETTYPE=LIBRARY when fileext is dll
svn path=/trunk/; revision=30605
2007-11-20 20:05:38 +00:00
Thomas Bluemel 258050487c Optimize TranslateMessage() to only call win32k for messages that need to be translated
svn path=/trunk/; revision=30604
2007-11-20 19:58:51 +00:00
James Tabor 48a2026e7a Removing old syscalls and updated related files. Old syscalls will be renamed for internal use.
svn path=/trunk/; revision=30603
2007-11-20 19:56:57 +00:00
Christoph von Wittich 5c489c528b use sizeof(OBJECT_ATTRIBUTES) instead of sizeof(POBJECT_ATTRIBUTES) when probing ObjectAttributes for read
svn path=/trunk/; revision=30602
2007-11-20 19:35:40 +00:00
Christoph von Wittich f61535edf3 add missing brackets in MmReserveSwapPages
svn path=/trunk/; revision=30601
2007-11-20 19:15:02 +00:00
Christoph von Wittich 8082ec1aff fix some format strings
svn path=/trunk/; revision=30600
2007-11-20 19:10:42 +00:00
Christoph von Wittich 78be83f3a8 limit length of szValue to LF_FACESIZE to prevent a buffer overflow
initialize szValue

svn path=/trunk/; revision=30599
2007-11-20 16:05:59 +00:00
Christoph von Wittich 28b9cdca2f define DDDKAPI - it isn't defined in WDK
svn path=/trunk/; revision=30598
2007-11-20 15:42:29 +00:00
Christoph von Wittich 5fa07ce1cc use ExAllocatePoolWithTag instead of ExAllocatePool
svn path=/trunk/; revision=30597
2007-11-20 15:26:17 +00:00
Aleksey Bragin 418e0cc05a - Add roothub status operations.
- Ports count is correctly detected now.
- Added all necessary stubs for HCD interface, so that usbdriver can work further.

svn path=/trunk/; revision=30596
2007-11-20 15:16:16 +00:00
Aleksey Bragin 9a0b86e617 - Further develop OHCI init code (based on linux-2.6.14.3).
svn path=/trunk/; revision=30595
2007-11-20 13:51:59 +00:00
Aleksey Bragin 50c8bf2b7a - Fix build.
svn path=/trunk/; revision=30594
2007-11-20 13:47:45 +00:00
Aleksey Bragin d694ddff70 - Implement more OHCI helper routines.
svn path=/trunk/; revision=30593
2007-11-20 12:58:23 +00:00
Aleksey Bragin 9e0a62ad2c - Don't create a possibility for CriticalRegion leakage (spotted by PREfast).
svn path=/trunk/; revision=30592
2007-11-20 11:53:15 +00:00
Art Yerkes b74b8c6e6a We need to separate the idea of 'fully initialized' from 'ldr data structures
are present' so we can deal with early thread creation.  This fixes cygwin.

svn path=/trunk/; revision=30591
2007-11-20 10:22:52 +00:00
Aleksey Bragin 7de35ea613 - Load symbols for NTOSKRNL and HAL as 1st and 2nd entries in LoadOrderList in LPB.
- Remove now unused symbol-loading function, silence an error message in rossym/frommem.c, since it's a normal situation now (if it's not in memory, then it's on disk and needs to be loaded).

svn path=/trunk/; revision=30590
2007-11-20 10:17:34 +00:00
Christoph von Wittich 28960f40d7 add missing STDCALL decorations
svn path=/trunk/; revision=30589
2007-11-20 08:12:33 +00:00
Christoph von Wittich 2d54e54552 remove the -enable-stdcall-fixup linkerflag
svn path=/trunk/; revision=30588
2007-11-20 08:06:46 +00:00
Christoph von Wittich dc20252719 adding back STDCALL decorations
svn path=/trunk/; revision=30587
2007-11-20 08:05:41 +00:00
Christoph von Wittich 7d817d0436 adding back STDCALL decorations
svn path=/trunk/; revision=30586
2007-11-20 08:05:20 +00:00
Christoph von Wittich ef764f615e autogenerate module definition files for msvc
svn path=/trunk/; revision=30585
2007-11-20 07:51:53 +00:00
James Tabor b9e90f2866 Sorry! revert the dump!
svn path=/trunk/; revision=30584
2007-11-20 05:31:21 +00:00
James Tabor cc020a45fb Add IsObjectDead call and fixed the exceptions in gdiobj.
svn path=/trunk/; revision=30583
2007-11-20 05:25:13 +00:00
James Tabor 3d30146033 Optimize and cleanup dcutil.
svn path=/trunk/; revision=30582
2007-11-20 02:22:30 +00:00
James Tabor d8159c7929 Fix another missing dca set.
svn path=/trunk/; revision=30581
2007-11-20 01:03:00 +00:00
Colin Finck 214c6fef87 Commit the "write" translation, which wasn't committed in r30579
See issue #2832 for more details.

svn path=/trunk/; revision=30580
2007-11-19 20:35:46 +00:00
Daniel Reimer 6cd36e2cba Patch: 2832 Ukrainian translation update (except the outdated downloader RC file) by temarezATyandex.ru
svn path=/trunk/; revision=30579
2007-11-19 20:05:05 +00:00
Christoph von Wittich 9c326c1b0b don't crash on media change while accessing data
svn path=/trunk/; revision=30578
2007-11-19 14:24:03 +00:00
Christoph von Wittich 17095a0c94 don't crash when Buffer is NULL
svn path=/trunk/; revision=30577
2007-11-19 12:14:54 +00:00
Aleksey Bragin 735f6dcf69 - Rewrite KdbSymProcessSymbols to use the KD_SYMBOLS_INFO structure kernel sends us. This removes the need for ugly names operations (maybe buggy!), and presents an elegant solution: just finding the needed module by its base address.
- As a result, ALL modules get their symbols loaded now.
- TODO: Remove KdbSymProcessBootSymbols(), it's used right now to load ntoskrnl and hal symbols during boot process.

svn path=/trunk/; revision=30576
2007-11-19 11:26:52 +00:00
James Tabor 49fd02d478 Fireball found one I missed.
svn path=/trunk/; revision=30575
2007-11-19 10:36:23 +00:00
Daniel Reimer 61705cebb5 Remove all trailing Spaces.
Change the Name shown for the ScreenSaver in the String to a more fitting one.
Add a German Resource.

svn path=/trunk/; revision=30574
2007-11-19 10:04:29 +00:00
James Tabor daffd42203 Add a test for VM address space when accessing user data.
svn path=/trunk/; revision=30573
2007-11-19 07:41:11 +00:00