KJK::Hyperion
591cbf3208
modified tools/rbuild/backend/mingw/compilers/gcc.mak
...
modified tools/rbuild/backend/mingw/compilers/msc.mak
New rules for C preprocessor that compiles to standard output (RBUILD_PIPE_CPP, RBUILD_PIPE_CXX_CPP)
modified tools/rbuild/backend/mingw/rules.mak
Use RBUILD_PIPE_CPP in RBUILD_WRC_RULE, instead of hardcoding GCC
svn path=/trunk/; revision=41459
2009-06-19 02:28:33 +00:00
KJK::Hyperion
f073fbe6ab
Revert 41455
...
svn path=/trunk/; revision=41458
2009-06-19 01:12:25 +00:00
KJK::Hyperion
204b2befbb
modified drivers/filesystems/fastfat/blockdev.c
...
modified drivers/filesystems/fastfat/dirwr.c
modified drivers/filesystems/fastfat/ea.c
modified drivers/filesystems/fastfat/finfo.c
Silence "argument unused" warnings
Corrected several accesses to potentially uninitialized variables
modified drivers/filesystems/fastfat/vfat.h
Visual C++ is no longer a guarantee of compilation with the DDK
Patch by Samuel Serapión <samdwise51@gmail.com>
svn path=/trunk/; revision=41457
2009-06-19 00:21:21 +00:00
KJK::Hyperion
82276953f4
modified drivers/input/i8042prt/createclose.c
...
modified drivers/input/i8042prt/i8042prt.c
modified drivers/input/i8042prt/keyboard.c
modified drivers/input/i8042prt/misc.c
modified drivers/input/i8042prt/mouse.c
modified drivers/input/i8042prt/readwrite.c
Silence "argument unused" and "unused variable" warnings
Corrected several accesses to potentially uninitialized variables
Patch by Samuel Serapión <samdwise51@gmail.com>
svn path=/trunk/; revision=41456
2009-06-19 00:17:15 +00:00
KJK::Hyperion
dc90252573
modified lib/cmlib/hivecell.c
...
modified lib/cmlib/hiveinit.c
Silence "argument unused" warnings
Patch by Samuel Serapión <samdwise51@gmail.com>
svn path=/trunk/; revision=41455
2009-06-19 00:12:26 +00:00
KJK::Hyperion
f06e2b532c
modified drivers/bus/pci/fdo.c
...
modified drivers/bus/pci/pci.c
modified drivers/bus/pci/pdo.c
Silence "argument unused" warnings
Corrected a potentially uninitialized variable access
Patch by Samuel Serapión <samdwise51@gmail.com>
svn path=/trunk/; revision=41454
2009-06-19 00:09:42 +00:00
Stefan Ginsberg
a4cad0ba8d
- Fix compiler flag for rosautotest
...
- Get rid of -Wno-format in the Winetests, replacing it with __ROS_LONG64__.
svn path=/trunk/; revision=41453
2009-06-18 22:16:49 +00:00
Stefan Ginsberg
4acc879393
- Revert 39470, reapplying the __ROS_LONG64__ check for INT_PTR and UINT_PTR on 32-bit.
...
svn path=/trunk/; revision=41452
2009-06-18 22:07:20 +00:00
Stefan Ginsberg
85c7801c12
- Only pass gcc flags to gcc.
...
svn path=/trunk/; revision=41451
2009-06-18 22:06:16 +00:00
Aleksey Bragin
4f6ecaaec2
- Implement ProcessQuotaLimits case for NtQueryInformationProcess. Based on Dmitry Chapyshev's patch.
...
svn path=/trunk/; revision=41450
2009-06-18 19:46:18 +00:00
Stefan Ginsberg
6cfc9ab326
- Add missing NTAPI to DriverEntry
...
svn path=/trunk/; revision=41449
2009-06-18 19:13:05 +00:00
Stefan Ginsberg
3d64a589fb
- Do not pass gcc and ld flags to other tools
...
svn path=/trunk/; revision=41448
2009-06-18 18:18:57 +00:00
Daniel Reimer
065a190de7
Bug 4620: Incorrect code page output in shutdown.exe (Russian locale) by John White
...
Polish Translation Updates by Maciej Bialas
svn path=/trunk/; revision=41447
2009-06-18 15:47:41 +00:00
Ged Murphy
ce911cc090
Fix the version data in the registry to match what the kernel reports.
...
svn path=/trunk/; revision=41446
2009-06-18 10:59:15 +00:00
Daniel Reimer
9fdf163245
Bug 4610: Dutch translation for Solitaire by reFly <wouterdevlieger@gmail.com>
...
Bug 4619: Japanese translation update for syssetup and downloader by Tomoya Kitagawa
svn path=/trunk/; revision=41445
2009-06-18 09:30:33 +00:00
Johannes Anderwald
70159651dc
- mmreg uses for all structures contained byte-aligned packing
...
svn path=/trunk/; revision=41444
2009-06-18 08:03:40 +00:00
Cameron Gutman
e2662e4df0
- Make NdisGeneratePartialCancelId safe by using Interlocked functions
...
svn path=/trunk/; revision=41443
2009-06-18 02:24:19 +00:00
KJK::Hyperion
f6a788b116
Miscellaneous Visual C++ compilation fixes
...
modified include/crt/mingw32/intrin_x86.h
modified include/crt/msc/intrin.h
Fixed declarations of _InterlockedDecrement16 and _InterlockedIncrement16
Fixed declarations of __readcr0, __readcr2, __readcr3 and __readcr4 for x86
Implement __readdr and __writedr for x86 too
Added missing semicolon
modified include/crt/stdlib.h
modified lib/3rdparty/mingw/crtexe.c
Use Visual C++-compatible attribute placement
modified lib/3rdparty/mingw/crtexe.c
Get rid of useless assembly, replace with __writefsdword (it's still useless)
modified lib/3rdparty/mingw/mingw.rbuild
Disable Visual C++ warning C4733 ("Inline asm assigning to 'FS:0' : handler not registered as safe handler") for mingw_wmain
modified lib/sdk/scrnsave/scrnsave.c
Silence a warning
modified ReactOS-generic.rbuild
Disable Visual C++ warning C4711 ("function 'function' selected for inline expansion") globally
modified tools/rbuild/backend/mingw/compilers/msc.mak
Fix Visual C++ compiler rules to emit an uniquely named PDB for each object file
svn path=/trunk/; revision=41442
2009-06-18 00:41:56 +00:00
KJK::Hyperion
f706410ede
modified tools/rbuild/backend/mingw/rules.mak
...
For now, only pass the -I, -D and -U preprocessor options to gas
svn path=/trunk/; revision=41441
2009-06-18 00:27:18 +00:00
KJK::Hyperion
5632264d33
modified include/crt/math.h
...
Ported <math.h> to Visual C++
Fixed some miscellaneous stupidity. I see Arch has been committing to MinGW-W64 too
svn path=/trunk/; revision=41440
2009-06-17 23:25:22 +00:00
Dmitry Gorbachev
abdf1ae486
Do not lie about compiler optimizations.
...
svn path=/trunk/; revision=41439
2009-06-17 18:17:45 +00:00
Christoph von Wittich
1bff1b2197
fix msvc build
...
svn path=/trunk/; revision=41438
2009-06-17 13:48:36 +00:00
Stefan Ginsberg
2c8507d494
- Leftover from 41436
...
svn path=/trunk/; revision=41437
2009-06-17 12:44:56 +00:00
Stefan Ginsberg
88e9b2a513
- In Win32 DBG is defined to 0 for a non-debug build and to 1 for a debug build. In ReactOS we do this slightly different: DBG is correctly defined to 1 for debug, but not defined at all on non-debug/release build. Because gcc is awesome we can then check for debug compilation with both #ifdef DBG and #if DBG (error free! yay gcc!), and so we have mixed usage all over the tree.
...
- Fix this by defining DBG on non-debug build too and deprecate all usage of #ifdef DBG.
svn path=/trunk/; revision=41436
2009-06-17 12:44:05 +00:00
Christoph von Wittich
3d402751d4
some code cleanup
...
svn path=/trunk/; revision=41435
2009-06-17 11:52:39 +00:00
KJK::Hyperion
84833730d0
modified include/crt/_mingw.h
...
No "restrict" support in Visual C++ (and __restrict isn't the same thing)
modified include/crt/stdarg.h
Really fix stdarg.h this time
modified include/crt/wchar.h
modified include/psdk/dde.h
modified include/psdk/mmsystem.h
modified include/psdk/prsht.h
modified include/psdk/rpcndr.h
modified include/psdk/shellapi.h
modified include/psdk/winbase.h
modified include/psdk/wincon.h
modified include/psdk/wincrypt.h
modified include/psdk/windef.h
modified include/psdk/wingdi.h
modified include/psdk/winioctl.h
modified include/psdk/winnetwk.h
modified include/psdk/winnls.h
modified include/psdk/winnt.h
modified include/psdk/winperf.h
modified include/psdk/winsmcrd.h
modified include/psdk/winsock2.h
modified include/psdk/winspool.h
modified include/psdk/winuser.h
modified include/psdk/wtypes.idl
modified include/reactos/mingw-w64/internal.h
modified include/reactos/mingw-w64/oscalls.h
Disable some unavoidable warnings in Visual C++
modified include/psdk/poppack.h
modified include/psdk/pshpack1.h
modified include/psdk/pshpack2.h
modified include/psdk/pshpack4.h
modified include/psdk/pshpack8.h
modified include/psdk/pshpck16.h
modified include/psdk/windows.h
modified include/psdk/winsock2.h
Check that defines are defined before testing their value
modified include/psdk/rpcasync.h
modified include/psdk/rpcdce.h
Visual C++ doesn't support functions without a prototype anymore, and RPC_AUTH_KEY_RETRIEVAL_FN has a documented prototype anyway
modified include/psdk/winnt.h
WIN32_WINNT -> _WIN32_WINNT
svn path=/trunk/; revision=41434
2009-06-17 11:18:51 +00:00
Kamil Hornicek
7e8ae7ca6b
- correct fix, also free the allocated buffer
...
svn path=/trunk/; revision=41433
2009-06-17 11:08:00 +00:00
Kamil Hornicek
8519197da3
- sync quartz with Wine 1.1.23
...
svn path=/trunk/; revision=41432
2009-06-17 10:31:16 +00:00
Kamil Hornicek
eba7cda7a0
- kill warnings
...
svn path=/trunk/; revision=41431
2009-06-17 10:10:15 +00:00
KJK::Hyperion
c7664e0070
Fix (?) build
...
svn path=/trunk/; revision=41430
2009-06-17 02:22:39 +00:00
KJK::Hyperion
8f85d133fc
modified include/crt/stdarg.h
...
modified include/crt/vadefs.h
Our headers suck so hard. More Visual C++ compatibility
svn path=/trunk/; revision=41429
2009-06-17 02:18:13 +00:00
Stefan Ginsberg
792cd5130f
- Replace "VOLATILE" with "volatile"
...
svn path=/trunk/; revision=41428
2009-06-16 22:20:27 +00:00
Christoph von Wittich
eab042b178
attempt to convert most of this mess into something which at least look like C code
...
svn path=/trunk/; revision=41427
2009-06-16 21:12:47 +00:00
Dmitry Chapyshev
5cb17513e9
- Stub-implement NhGetInterfaceNameFromDeviceGuid and SetIpForwardEntryToStack. Fixes taskmgr (from windows) crash on network page
...
svn path=/trunk/; revision=41426
2009-06-16 19:10:29 +00:00
Dmitry Chapyshev
67a72b93d5
- Revert last wine sync for imagelist
...
See issue #4304 for more details.
svn path=/trunk/; revision=41425
2009-06-16 19:05:42 +00:00
Dmitry Chapyshev
92162113ce
- Add Symbol font from Wine
...
svn path=/trunk/; revision=41424
2009-06-16 15:41:29 +00:00
Dmitry Chapyshev
974602eb54
- Add ntlanman.dll (not implemented)
...
svn path=/trunk/; revision=41423
2009-06-16 15:38:45 +00:00
Johannes Anderwald
2a1067133d
- SetupDiOpenClassRegKeyExW should ERROR_INVALID_CLASS when it fails
...
- TODO: NtOpenKey should fail when acessMask == 0 and a registry path is passed
svn path=/trunk/; revision=41422
2009-06-16 08:04:08 +00:00
KJK::Hyperion
66128d2725
modified dll/win32/srclient/srclient_main.c
...
What the hell, Arch Blackmann? <windef.h>, <winbase.h> and <winnls.h> are not meant to be included directly. Include <windows.h> instead
modified drivers/video/font/ftfd/rosglue.c
Move standard C includes before Windows includes, so the required types are defined beforehand
modified include/crt/_mingw.h
Re-add Visual C++ support
va_list is not a built-in type, it does not belong in _mingw.h
Do not include intrin.h (screw you, Arch)
Removed definition of _USE_32BIT_TIME_T ("ROS HACK!")
modified include/crt/conio.h
modified include/crt/stdio.h
modified include/crt/wchar.h
Pull in va_list from stdarg.h
modified include/crt/mingw32/intrin.h
modified include/crt/mingw32/intrin_arm.h
modified include/crt/mingw32/intrin_x86.h
intrin.h defines size_t and uintptr_t
The _real_, ultimate magic incantation for inline functions is extern __inline__ __attribute__((__always_inline__,__gnu_inline__))
Fix __addfsbyte, __addfsword
added include/crt/msc
added include/crt/msc/intrin.h
Ported our intrin.h to Visual C++
modified ReactOS-arm.rbuild
modified ReactOS-i386.rbuild
ROS HACK!s belong in the project definition
modified ReactOS-generic.rbuild
Compiler-specific include directories
svn path=/trunk/; revision=41421
2009-06-16 00:24:26 +00:00
Johannes Anderwald
541c10e66b
- TerminateProcess requires a valid handle
...
- Should fix 2 kernel32' winetests
svn path=/trunk/; revision=41420
2009-06-15 22:16:49 +00:00
Christoph von Wittich
4f60737693
fix warnings (untested)
...
svn path=/trunk/; revision=41419
2009-06-15 15:04:56 +00:00
Timo Kreuzer
16a8959547
- Fix definition of RTL_HANDLE_TABLE_ENTRY
...
- Fix check in RtlFreeHandle and add a DPRINT
- Fixes the last ntdll:rtl winetest
svn path=/trunk/; revision=41418
2009-06-15 14:49:31 +00:00
Kamil Hornicek
adfe334f22
- import dmusic from Wine, it's mostly stubs but it should be enough for now
...
svn path=/trunk/; revision=41417
2009-06-15 13:52:04 +00:00
Aleksey Bragin
098b2bd1c3
- Don't reinitialize in case of error. Fixes a "DPC > 1 sec" problem related to an infinite loop in usbdriver.
...
svn path=/trunk/; revision=41416
2009-06-15 13:48:55 +00:00
Aleksey Bragin
da98481109
- Fix NULL pointer access in an error branch inside hub_clear_port_feature_completion(). Thanks to Christoph for testing.
...
svn path=/trunk/; revision=41415
2009-06-15 13:30:50 +00:00
Dmitry Chapyshev
29a53f8889
- Add target process reference/dereference in ProcessLdtInformation/ProcessWorkingSetWatch/ProcessWx86Information cases of NtQueryInformationProcess.
...
svn path=/trunk/; revision=41414
2009-06-15 07:05:19 +00:00
Dmitry Gorbachev
ba2bee71f3
Dutch translation of NetID DLL by Oscar van Egmond. Bug #4606 .
...
svn path=/trunk/; revision=41413
2009-06-14 18:36:35 +00:00
Dmitry Chapyshev
4c6f38272b
- Fix one "kernel32_winetest mailslot" test
...
svn path=/trunk/; revision=41412
2009-06-14 17:44:22 +00:00
Dmitry Chapyshev
94ddb22266
- Fix one "kernel32_winetest thread"
...
svn path=/trunk/; revision=41411
2009-06-14 16:51:48 +00:00
Christoph von Wittich
0cd158c9c5
add missing include guard
...
svn path=/trunk/; revision=41410
2009-06-14 15:33:12 +00:00