Commit graph

43679 commits

Author SHA1 Message Date
Jérôme Gardou 38dd8fce5f [CMAKE]
- improve cacls build file
  - add charmap, dbgprint, doskey, find, hostname, lodctr, more, reg and xcopy build files
  - add win32cui module type to msc toolchain
find is commented out for now. 

svn path=/branches/cmake-bringup/; revision=48875
2010-09-25 15:31:18 +00:00
Amine Khaldi 29ab93ce7f [CMAKE]
- Improve acpi, isapnp, pci, pcix and pcmcia (import libs, dependencies...etc)

svn path=/branches/cmake-bringup/; revision=48873
2010-09-25 14:39:51 +00:00
Amine Khaldi afe5d2ee6e [CMAKE]
- Improve uuid and add psdk dependency.

svn path=/branches/cmake-bringup/; revision=48872
2010-09-25 14:30:47 +00:00
Sylvain Petreolle 4b8f69dfac [CMAKE]
Add set_unicode macro.
Add win32dll module type.
Set CMAKE_CXX_LINK_EXECUTABLE.
Clear CMAKE_CXX_STANDARD_LIBRARIES.
Improve calc.

svn path=/branches/cmake-bringup/; revision=48871
2010-09-25 14:22:16 +00:00
Amine Khaldi 6b61faf281 [CMAKE]
- Fix set_subsystem for mingw32.

svn path=/branches/cmake-bringup/; revision=48870
2010-09-25 14:02:06 +00:00
Jérôme Gardou eb95f483b7 [CMAKE]
- Add win32cui module type to gcc toolchain
  - Add cacls to build

svn path=/branches/cmake-bringup/; revision=48869
2010-09-25 13:38:44 +00:00
Amine Khaldi c746b1187c [CMAKE]
- Add fastfat_new by Alexey Komarov (IRC: q4a)

svn path=/branches/cmake-bringup/; revision=48856
2010-09-24 09:46:34 +00:00
Amine Khaldi 9c28319873 [CMAKE]
- Don't export symbols from pci(x) and pcmcia.

svn path=/branches/cmake-bringup/; revision=48852
2010-09-23 16:50:00 +00:00
Timo Kreuzer d7733b45c3 [CMAKE]
Create a portable way of compiling IDL files.
Sorry for the coding style :)

svn path=/branches/cmake-bringup/; revision=48838
2010-09-21 02:31:09 +00:00
Amine Khaldi f8d1229750 [CMAKE]
- Remove a superfluous slash.
- Don't link to any standard libraries, we explicitly link to what's needed.

svn path=/branches/cmake-bringup/; revision=48837
2010-09-20 23:14:45 +00:00
Timo Kreuzer ddd44b1b17 [CMAKE]
Improve calc

svn path=/branches/cmake-bringup/; revision=48836
2010-09-20 22:35:54 +00:00
Timo Kreuzer aa9ef9f784 [CMAKE]
Improve usetup

svn path=/branches/cmake-bringup/; revision=48835
2010-09-20 22:35:23 +00:00
Amine Khaldi 80c36d8bb3 [CMAKE]
- Remove unneeded dependency.
- Remove rbuild file.

svn path=/branches/cmake-bringup/; revision=48834
2010-09-20 19:46:05 +00:00
Timo Kreuzer e4d6536049 [CMAKE]
Add missing cportlib cmake file.

svn path=/branches/cmake-bringup/; revision=48832
2010-09-20 18:41:46 +00:00
Timo Kreuzer 912ce51ae6 [CMAKE]
Sync with trunk head (r48826)

svn path=/branches/cmake-bringup/; revision=48831
2010-09-20 17:27:52 +00:00
Timo Kreuzer 0540ad4d50 [CMAKE]
Add dependency to the .mc files

svn path=/branches/cmake-bringup/; revision=48830
2010-09-20 16:43:43 +00:00
Timo Kreuzer f8447bf6ef [CMAKE]
Fix ntoskrnl compilation that broke after the changes to the configuration options

svn path=/branches/cmake-bringup/; revision=48829
2010-09-20 16:38:40 +00:00
Timo Kreuzer 688eef2602 [MSVC]
__MINGW_ATTRIB_DEPRECATED aka __declspec(deprecated) must be put before the function declaration for MSVC.

svn path=/branches/cmake-bringup/; revision=48828
2010-09-20 14:16:22 +00:00
Timo Kreuzer 8f7b60f9c7 [MSVC]
Remove some invalid characters in uk-UA.rc resource file.

svn path=/branches/cmake-bringup/; revision=48827
2010-09-20 13:44:32 +00:00
Michael Martin a5a6cf644d [usb/usbhub]
- WaitForUsbDeviceArrivalNotification: Dont use IoBuildDeviceIoControlRequest to create the IRP as we dont wait for the IRP to complete in the current thread. It must be built using IoAllocateIrp.
- DeviceArrivalCompletion: Allocate the WorkItem from NonPagedPool vice using one in the DeviceExtension. Free the Irp and return STATUS_MORE_PROCESSING_REQUIRED so the IO Manager doesnt try to do anything more with the now freed Irp.
- When selecting the Interface use the routines in USBD library now that they are implemented correctly.
- More fixes for passing the correct DeviceObject when calling QueryRootHub.


svn path=/trunk/; revision=48826
2010-09-20 06:55:54 +00:00
Sir Richard 56738210e7 [MISC]: Fix several compiler issues on my main build box. Some of the Unicode translations in kernel32 fail to compile, while other libraries don't build because old C library names (without the underscore) are used.
[SETUPLDR]: Unify the old setupldr settings with more recent freeldr ones. Also fixes missing _udiv/mod functions on my build.

svn path=/trunk/; revision=48825
2010-09-20 06:30:21 +00:00
Timo Kreuzer aeead4620b [CMAKE]
- Improved MSVC toolchain support, now working with WDK, as well
(Thanks to Amine for solving the problems)
- Add compiler specific macro set_subsystem
- add nativecui module type

svn path=/branches/cmake-bringup/; revision=48824
2010-09-19 23:03:25 +00:00
Timo Kreuzer 0ba3fa7266 [CMAKE]
syntax... "just for consistency"

svn path=/branches/cmake-bringup/; revision=48823
2010-09-19 20:16:40 +00:00
Timo Kreuzer d6a629d822 Fix a typo.Thanks to Usurp for noticing.
svn path=/branches/cmake-bringup/; revision=48822
2010-09-19 20:10:55 +00:00
Timo Kreuzer aefbd32d48 [CMAKE]
- Add support for gui configurable options
- globalize compiler specific cmake files
- Add compiler specific macros set_entrypoint, set_module_type

svn path=/branches/cmake-bringup/; revision=48821
2010-09-19 20:06:02 +00:00
Timo Kreuzer e00685d331 [CMAKE]
Add RC compiler and Assembler to MSC toolchain

svn path=/branches/cmake-bringup/; revision=48820
2010-09-19 18:53:55 +00:00
Timo Kreuzer d8ac6e1a9c [CMAKE]
Add MSVC compatible MC command

svn path=/branches/cmake-bringup/; revision=48819
2010-09-19 18:52:34 +00:00
Timo Kreuzer 942aa9560e [MSVC]
Don't pass gcc specific options to msvc

svn path=/branches/cmake-bringup/; revision=48818
2010-09-19 17:39:09 +00:00
Sylvain Petreolle 7330915418 [CMAKE]
Add ext2 to build.

svn path=/branches/cmake-bringup/; revision=48816
2010-09-19 16:36:43 +00:00
Timo Kreuzer 355f25521c [MSVC]
remove intrinsics that don't exist

svn path=/branches/cmake-bringup/; revision=48815
2010-09-19 16:27:13 +00:00
Sylvain Petreolle 886d934055 [CMAKE]
Fix minicd boot regression.
Remove unneeded usetup link to msvcrt.

svn path=/branches/cmake-bringup/; revision=48814
2010-09-19 16:16:01 +00:00
Eric Kohl 9c6c2c7c45 [USETUP]
Add Brazilian portuguese USETUP localization patch by Edison Henrique Andreassy.


See issue #5313 for more details.

svn path=/trunk/; revision=48813
2010-09-19 12:46:54 +00:00
Aleksey Bragin 0dc63433f9 [DESK.CPL]
Katayama Hirofumi <katayama.hirofumi.mz@gmail.com>
- Renamed GLOBAL_DATA structures to DATA.
- Added real GLOBAL_DATA in background.c, that manages the background color.
- Resolved conflict of background colors in background.c and appearance.c.
- Fixed drawing the menu in draw.c.
See issue #5620 for more details.

svn path=/trunk/; revision=48812
2010-09-19 11:54:33 +00:00
Amine Khaldi f24f83f0b3 [CMAKE]
- Add network drivers (afd, ne2000, pcnet, ndis, tcpip and tdi) to build.

svn path=/branches/cmake-bringup/; revision=48811
2010-09-19 11:19:16 +00:00
Michael Martin 3a615a70fb [usb/usbd]
- Fix calculation bug in USBD_ParseDescriptors which caused descriptors to be skipped and all Parse functions to return bad information.
- USBD_CreateConfigurationRequestEx: Fix calculation for the size of the URB.
Dont copy the InterfaceList to the Urbs Interface member as they are not the same structures.  Instead loop through each interface and endpoint to get the data needed for the Interface member of URB.
- USBD_GetInterfaceLength: Add missing brackets for the FOR LOOP. The first descriptors length is part of the Length regardless of what it is.
If bDescriptorType of USB_INTERFACE_DESCRIPTOR_TYPE is reached a second time then break from the loop, as the length calculation is done.

svn path=/trunk/; revision=48810
2010-09-19 00:30:49 +00:00
Amine Khaldi 13f105b14b [CMAKE]
- Introduce MSVC toolchain support. Just use -DCMAKE_TOOLCHAIN_FILE=toolchain-msvc.cmake for the toolchain.
- Sync setjmp.h from trunk.
- Improve mingw targets (mingw_common, mingw_wmain, oldnames... etc) a bit to make them compile and link with msvc.
- Dedicated to Timo ;)

svn path=/branches/cmake-bringup/; revision=48809
2010-09-19 00:27:24 +00:00
Amine Khaldi 0dbb8d3eb2 [CMAKE]
- *cough* Separate compiler specific flags.

svn path=/branches/cmake-bringup/; revision=48808
2010-09-19 00:15:45 +00:00
Cameron Gutman cf913565c0 [IP]
- Fix a reference leak when aborting a listen request

svn path=/trunk/; revision=48806
2010-09-18 15:50:56 +00:00
Sylvain Petreolle c702cc0d5a [CMAKE]
Generalize CMAKE_C_CREATE_SHARED_LIBRARY and remove per project instances.
Thanks to Amine for regexxer tool discovery ;)


svn path=/branches/cmake-bringup/; revision=48804
2010-09-18 15:22:08 +00:00
Amine Khaldi 13dc8a4761 [CMAKE]
- Generalize CMAKE_C_LINK_EXECUTABLE and CMAKE_EXE_LINKER_FLAGS, and use additional flags per module.
- Fix usetup: make it depend on psdk and buildno_header, and also fix the entry point (_NtProcessStartup -> _NtProcessStartup@4)
- Make ext2lib depend on psdk.

svn path=/branches/cmake-bringup/; revision=48802
2010-09-18 12:14:03 +00:00
Aleksey Bragin 41106fa541 [NTOS]
- Add support for Cyrix CPUs by checking and applying a workaround for the Cyrix 6x COMA bug (description here: http://gwyn.tux.org/~balsa/linux/cyrix/p11.html).
See issue #5610 for more details.

svn path=/trunk/; revision=48801
2010-09-18 09:14:45 +00:00
Aleksey Bragin becc9ed282 [SC]
- Roel Messiant: Fix a crash when running some operations in sc without providing arguments. Also, provide usage information for the control and unknown commands.
- Aleksey Bragin: Take Ged Murphy's comments into account and change pointer arithmetic to a convenient style.
See issue #5611 for more details.

svn path=/trunk/; revision=48800
2010-09-18 08:41:06 +00:00
Amine Khaldi 6730fe41ce [CMAKE]
- Export cdmake as a native tool.

svn path=/branches/cmake-bringup/; revision=48798
2010-09-17 22:19:48 +00:00
Sylvain Petreolle 41eb5217ba Add Amine's libgcc.a.
This allows to build without rosbe change.
(forgotten in previous commit)

svn path=/branches/cmake-bringup/; revision=48797
2010-09-17 20:41:58 +00:00
Sylvain Petreolle 174808a463 Move all temporary import libs to a single directory.
This allows linking to libraries with "-lfoo".

svn path=/branches/cmake-bringup/; revision=48796
2010-09-17 20:27:01 +00:00
Aleksey Bragin 2c10fb5d07 [OLE32]
- Sync to Wine-20100918.
See issue #5592 for more details.

svn path=/trunk/; revision=48795
2010-09-17 20:13:28 +00:00
Timo Kreuzer 2cc0f42e45 [SHELL32]
Johannes Anderwald:
- Partly revert 48786
- Use existing sLinkPath instead of own grown sCurFile
- Fixes 6 more winetest failures, 4 to go for shellink test

svn path=/trunk/; revision=48792
2010-09-17 19:00:12 +00:00
Amine Khaldi c8d65c59a4 [SHELL32]
Johannes Anderwald:
- 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=48786
2010-09-17 10:26:17 +00:00
Timo Kreuzer 253e949e7a [WIN32K]
Fix a bug, where a failure to allocate the kernel mode WINDOW_OBJECT would cause a page fault, because the WND was still allocated, but never initialized, and Wnd->rpdesktop was then dereferenced to free the WND again.

svn path=/trunk/; revision=48785
2010-09-17 01:34:50 +00:00
Timo Kreuzer 30fad2a263 [NTOS]
- More fixes to VDM PUSH/POPF code: 
- When doing a 32bit push, don't store the flags 2 bytes off
- Recalculate HardwareEsp, by substracting the segment part, instead of truncating the flat pointer to 16 bit.

svn path=/trunk/; revision=48781
2010-09-16 19:21:20 +00:00