Commit graph

46689 commits

Author SHA1 Message Date
Ged Murphy
4596e5e59b [SHELL32_NEW]
- Merge 48786. (This is why we moved to C++, so much cleaner than the previous C code.)

- Improve parameter checks for IShellLinkA interface.
- Fix heap corruption when an invalid pointer is passed.
- Implement IPersistFile_fnGetCurFile.
- TODO: Add same checks to IShellLinkW interface and fix IShellLink[A|W]::GetPath / SetPath / SetIdList / GetIdList logic.

svn path=/trunk/; revision=51891
2011-05-24 18:18:56 +00:00
Ged Murphy
ba266670d1 [SHELL32_NEW]
- Merge 48254, 48371, 48463, 48501
- Don't worry about trying to build this dll, it needs the new PSDK interfaces which won't be committed until the very end as they'll break the existing shell32. It make take a day or two as everything has to be merged by hand.

svn path=/trunk/; revision=51890
2011-05-24 18:14:47 +00:00
Johannes Anderwald
e24bfbfa91 [USBOHCI]
- Add sanity checks
- Preserve  command status value when notifying the hc that a control / bulk endpoint was added
- Re-enable root hub notification interrupt when reset port has been completed
- Dispatch processing to USBQeueu when DoneHead event arrives
- Scan endpoints to find the logical endpoint which was completed by the hardware
- Signal completion to IUSBRequest by calling CompletionCallback
- Create a final transfer descriptor which is linked to the endpoint descriptor
- Control transfers now appear to be working (Device retrieves device descriptor / configuration descriptor and succeeds in setting device address)
- Configuration parsing code needs more work now (currently fails there due to invalid / unexpected configuration descriptor from device)

svn path=/branches/usb-bringup/; revision=51888
2011-05-24 17:57:00 +00:00
Jérôme Gardou
9e4d22d027 [NTOSKRNL/MM]
- clear right bit when freeing pool pages.

svn path=/trunk/; revision=51887
2011-05-24 17:55:27 +00:00
Timo Kreuzer
3b62a1af2a [WIN32K]
- Add a comment about alignment for GreCreateBitmap
- Make bits really 32bit aligned
- Remove unused variable

svn path=/trunk/; revision=51886
2011-05-24 16:23:36 +00:00
Timo Kreuzer
54b14d414e [WIN32K]
- Fix the bitmap alignment issue that caused broken scrollbar pattern

svn path=/trunk/; revision=51885
2011-05-24 15:35:30 +00:00
Johannes Anderwald
b275073474 [USBOHCI]
- Enable global power mode
- Wait untill reset is complete
- Clear reset complete bit when reset is done
- Enable port
- Reset port now works
- USBOHCI still hangs after adding first control request, needs more investigation

svn path=/branches/usb-bringup/; revision=51883
2011-05-24 12:51:03 +00:00
Olaf Siejka
fc94016a41 [RPCSS]
Addenum. This change slipped past in commit 51873. Fix name of irot header include, which should be irot.h and not irot_s.h. Fixes rpcss build in MSVC.

svn path=/trunk/; revision=51874
2011-05-23 21:49:12 +00:00
Olaf Siejka
9776c7b8d7 Converting POLISH localisation strings to UTF-8. Part 2/4 -
- base\setup and base\system coversion
- added PRAGMA to rsrc/resource files
- added missing polish translations - subst and runonce
- small fixes, style and wording
Tested on rbuild/cmake/nmake

svn path=/trunk/; revision=51873
2011-05-23 21:36:15 +00:00
Matthias Kupfer
e345b5a483 revert previous commit due to serious build problems
svn path=/trunk/; revision=51872
2011-05-23 19:48:04 +00:00
Matthias Kupfer
54e3afb4ee patch by Igor Paliychuk <mansonigor at gmail dot com>:
- [CMAKE] Reduce difference with cmake branch
- msvc fixes
- minor changes by me

svn path=/trunk/; revision=51871
2011-05-23 19:30:50 +00:00
Amine Khaldi
26e319dd8c [CMAKE]
* Remove meaningless target_link_libraries(${MODULE})

svn path=/trunk/; revision=51870
2011-05-23 18:52:04 +00:00
Eric Kohl
126ebc89ff Real fix of the broken build.
svn path=/trunk/; revision=51869
2011-05-23 18:49:03 +00:00
Timo Kreuzer
597107fc28 [CMAKE]
- Remove last traces of mingw_common
- adopt msvcrtex on msvc builds
- Fix MSVC warnings in crtexe.c, already pushed upstream

svn path=/trunk/; revision=51868
2011-05-23 18:27:16 +00:00
Timo Kreuzer
16c69e2493 [MSPORTS]
Fix build

svn path=/trunk/; revision=51867
2011-05-23 18:22:24 +00:00
Eric Kohl
2ccbf80288 [MSPORTS]
- Add msports.h header file.
- Add the initial version of the com port database and use it to track the used com ports.

svn path=/trunk/; revision=51866
2011-05-23 17:54:16 +00:00
Timo Kreuzer
5abd114662 [USETUP]
Don't link to mingw_main/mingw_common/kernel32!

svn path=/trunk/; revision=51865
2011-05-23 17:43:13 +00:00
Johannes Anderwald
f75cb3d51d [USBOHCI]
- Start implementing control transfers
- Move initialization of usb queue after the bulk / control head endpoints have been created
- Add interface functions to retrieve bulk / control head endpoint descriptors
- Add macros for setting transfer descriptors field (taken from Haiku)
- Partly implement IUSBQueue::AddUSBRequest for control / bulk transfers
- Create endpoint descriptor for control request and link setup descriptor to it 
- Link setup descriptors to data descriptor / status descriptor
- WIP (needs fixes)

svn path=/branches/usb-bringup/; revision=51864
2011-05-23 17:42:52 +00:00
Timo Kreuzer
824d85a2b1 [TASKMGR]
Convert Japanese resource file to UTF-8 and fix a typo

svn path=/trunk/; revision=51863
2011-05-23 17:33:21 +00:00
Timo Kreuzer
a89876bc9f [CRT]
Check for _WIN32 instead of _WINDOWS_

svn path=/trunk/; revision=51862
2011-05-23 17:33:04 +00:00
Timo Kreuzer
49988a5137 [CRT]
Fix a bug in amd64 version of __chkstk_ms, noticed by Stefan

svn path=/trunk/; revision=51861
2011-05-23 17:13:38 +00:00
Timo Kreuzer
6243472331 [CMAKE]
- Create a new library msvcrtex, which will be automatically linked, when msvcrt is linked. This is yet a minimal version which replaces the different mingw libs.
- Use proper unicode entrypoints
- remove unneeded libcoldname.a

svn path=/trunk/; revision=51860
2011-05-23 15:50:03 +00:00
Timo Kreuzer
13719879aa [MMIXER_TEST]
- Fix order of importlibs (will be required soon)

svn path=/trunk/; revision=51859
2011-05-23 15:36:00 +00:00
Johannes Anderwald
c5acda628c [USBOHCI]
- Fix bug in calculating offset of status register
- Start implementing deferred processing routine
- Signal status change when new device is arrived
- Implement basic GetPortStatus
- Start implementing SetPortFeature, ClearPortStatus
- ResetPort not yet fully working, WIP

svn path=/branches/usb-bringup/; revision=51858
2011-05-23 11:29:55 +00:00
Amine Khaldi
f1cd9d77bb [CMAKE]
* Add module_clean targets.

svn path=/trunk/; revision=51857
2011-05-23 10:52:37 +00:00
Timo Kreuzer
0c077106ad [FREELDR]
"Fix" build with MSVC

svn path=/trunk/; revision=51856
2011-05-23 07:57:44 +00:00
Amine Khaldi
2c7f36d712 * Back out r51854 as our KeBugCheckEx does return (due to a hack).
svn path=/trunk/; revision=51855
2011-05-22 22:19:47 +00:00
Amine Khaldi
df547b1581 * Consistently mark KeBugCheckEx with the noreturn attribute. Patch by Igor Paliychuk.
svn path=/trunk/; revision=51854
2011-05-22 22:08:01 +00:00
Johannes Anderwald
89d52d98bb [OHCI]
- Add check that controller is functional state
- enable interrupts after the controller has been started
- partly implement isr routine

svn path=/branches/usb-bringup/; revision=51852
2011-05-22 20:48:50 +00:00
Johannes Anderwald
d4c4a2e080 [USBOHCI]
- Start of OHCI support
- Based on new usbehci driver and Haiku USB Stack
- Driver initializes the controller and retrieve number of ports

svn path=/branches/usb-bringup/; revision=51851
2011-05-22 19:36:13 +00:00
Olaf Siejka
07ce2672d8 [MSVC]
Final fix for MSVC build of base\application resources

svn path=/trunk/; revision=51845
2011-05-22 13:56:46 +00:00
Olaf Siejka
869bbd1e00 [MSVC]
Arch Blackmann should know not to remove empty lines at the end of resource/rsrc files in base\applications. Should fix MS Linker fatal error RC1004 for modules affected.

svn path=/trunk/; revision=51844
2011-05-22 11:57:27 +00:00
Eric Kohl
4f191d838d [MSPORTS]
Determine serial port names COM1-4 and parallel port names LPT1-2 from their resources. Other serial and parallel are still named COMx and LPTx.

svn path=/trunk/; revision=51843
2011-05-22 08:57:33 +00:00
Amine Khaldi
f78cfefe6d [CMAKE/IDL]
* Make sure to declare all the output files, so that the cleanup step could take care of them.

svn path=/trunk/; revision=51842
2011-05-21 17:44:39 +00:00
Olaf Siejka
ed88df8046 Converting POLISH localisation strings to UTF-8. Part 1/x -
- base/applications. pl-PL.rc conversion;
- add PRAGMA, required by MSVC to rsrc/modulename/resource.rc, instead of individual localisation files. Localisation files already converted to UTF-8 will be placed at the end, after PRAGMA.

Tested on rbuild/cmake/nmake

svn path=/trunk/; revision=51841
2011-05-21 16:24:21 +00:00
Amine Khaldi
c87d5c0aa3 [FREELDR]
* Make KeBugCheckEx definition consistent with the declaration. Fixes an msvc error.

svn path=/trunk/; revision=51840
2011-05-21 15:27:24 +00:00
Amine Khaldi
ce054e32c0 [CMAKE]
* Merge more msvc fixes from the cmake branch.

svn path=/trunk/; revision=51838
2011-05-21 12:39:48 +00:00
Amine Khaldi
33febbe6a1 [CMAKE]
* Merge some msvc fixes from the cmake branch.

svn path=/trunk/; revision=51837
2011-05-21 12:30:26 +00:00
Amine Khaldi
db0a15cd8a [CMAKE]
* Fix cmake build. Now both rbuild and cmaked based builds compile and boot to shell.

svn path=/trunk/; revision=51836
2011-05-21 09:38:52 +00:00
James Tabor
67b57d645d [Win32k|User32]
- Move creation of the scrollbar Gray brush from user32 to win32k.
- Noticed a color and pattern (patchy white pattern) difference when using GreCreateBitmap and it did not work the same as the main function. Correcting this fixed the Gray brush. Someone from YAROTOWS needs to look into this.

svn path=/trunk/; revision=51835
2011-05-21 06:34:02 +00:00
James Tabor
2c6c1ba289 [Win32csr]
- Hack fix to allow Alt-Tab/Esc to be supported. More investigation is required, see bug 6198.

svn path=/trunk/; revision=51834
2011-05-21 00:35:53 +00:00
James Tabor
2a4c54d85c [User32]
- When active or inactive set the appropriate action so the correct keyboard mode can be returned.

svn path=/trunk/; revision=51833
2011-05-21 00:24:38 +00:00
James Tabor
3d6ff1e532 [User32]
- Uses KF_Xxx flags instead of made up ones. Someone let wine know there are standard flags to use.

svn path=/trunk/; revision=51832
2011-05-21 00:22:25 +00:00
James Tabor
e3f4d66500 [User32]
- Add Switch Class support. See bug 5378. Original patch by David Quintana. Alt-Tab works the same as windows, Alt-Esc needs more work.

svn path=/trunk/; revision=51831
2011-05-21 00:12:48 +00:00
Sylvain Petreolle
3d1a962bcb Rehaul the bootcd tree.
All dlls and drivers are in their normal directories instead of having all in reactos\.
Original implementation by zefklop in cmake branch.

svn path=/trunk/; revision=51830
2011-05-20 22:29:54 +00:00
Sylvain Petreolle
2416d7a569 Fix dependency graph in yEd.
- ntdll target was not found when added in first.
- ntoskrnl has to be in the graph despite being an EXECUTABLE.

svn path=/trunk/; revision=51829
2011-05-20 21:31:47 +00:00
Johannes Anderwald
3dfadd12ae [USBEHCI]
- Enable sync frame list

svn path=/branches/usb-bringup/; revision=51827
2011-05-20 15:06:39 +00:00
Johannes Anderwald
9e2ca3d539 [USBEHCI]
- Pass memory manager to USBQueue object
- Fix bug in memory manager which did not check if an allocation equals page size
- Implement interrupt queue head array with frequencys of 1ms up to 32ms
- Store queue heads in the sync schedule array
- WIP

svn path=/branches/usb-bringup/; revision=51826
2011-05-20 14:47:15 +00:00
Sylvain Petreolle
713fbb28eb Add bootcdregtest target to cmake build.
svn path=/trunk/; revision=51824
2011-05-19 21:55:57 +00:00
Gregor Schneider
6ca70e6a3d [shell32/shell32_new] Improve German translation
svn path=/trunk/; revision=51823
2011-05-19 18:24:57 +00:00