Commit graph

26081 commits

Author SHA1 Message Date
Johannes Anderwald 7a1bf66462 - update available software items in configuration file by Pierre Schweitzer (heis_spiter at hotmail com)
See issue #2566 for more details.

svn path=/trunk/; revision=28429
2007-08-20 09:19:07 +00:00
Timo Kreuzer 0e85f8a438 - rename NtGdiSelectPalette to NtUserSelectPalette, move it to ntuser/windc.c and implement stub function SelectPalette in gdi32.dll calling it (Don't ask me why it is named this way, but it is on windows)
- rename NtGdiSetDIBitsToDevice to NtGdiSetDIBitsToDeviceInternal and implement stub function in gdi32.dll
- update ntgdibad.h

svn path=/trunk/; revision=28428
2007-08-19 23:49:47 +00:00
Ziliang Guo 263feb7b7d Fix kdbg disasm bug, patch by SamB
See issue #2408 for more details.

svn path=/trunk/; revision=28427
2007-08-19 22:51:10 +00:00
Johannes Anderwald b4c3f2b5e3 more.c should not close INVALID_HANDLE_VALUE
patch by Apal
remove tab and quit when failing to open file (tested with Windows XP SP2)

svn path=/trunk/; revision=28426
2007-08-19 20:16:10 +00:00
Colin Finck 82f18756f0 - mkhive's "registry.c" used wcsncmp for comparing two strings. But this function seems to work different on different hosts (probably due to different handling of wchar_t's or whatever).
To avoid this problem, use memcmp now to compare the strings as it's done two lines later. This fixes the Live-CD on Linux/Unix hosts.
  (For the first time, Live-CDs created by our 64-Bit Debug Buildslave are usable :-)
- Change __volatile to volatile in "winddk.h". This fixes compilation problems under MSVC.
- Make the prototype of RtlCompareMemory in "winnt.h" similar to the one in "winddk.h". Fixes a compilation problem in MSVC.
- Define the prototype for xwcschr in "mkhive.h". Silences a warning in MSVC.
- Add some casts to "reginf.c" to silence some warnings in MSVC.
- Add a MSVC 2005 project file for mkhive. mkhive can be compiled under MSVC with this project file, when cmlib and inflib_host are compiled.
- Remove the duplicate definition of CMLIB_HOST in "cmlib.mak".

svn path=/trunk/; revision=28425
2007-08-19 19:37:47 +00:00
Eric Kohl 0f123ca26f - Implement the mouse keys dialog.
- Fix a tiny bug in the mouse keys dialog resource.
- Update file header.

svn path=/trunk/; revision=28424
2007-08-19 16:11:04 +00:00
Colin Finck cddcaa508e - Always include "wine/unicode.h" before all other headers, when we need the wchar_t type.
unicode.h includes windef.h, which includes winnt.h, which has the handling for the wchar_t type. As it's the first included header, no other wchar_t type will be defined before.
- Remove the wchar_t definition from the Makefile as the winnt.h header will define it as "unsigned short" automatically.

svn path=/trunk/; revision=28423
2007-08-19 15:38:21 +00:00
Colin Finck fd468bc98a Change the wchar_t logic once more to make it a bit simplier.
A host can only have one special wchar_t definition, so we don't need to define all. Also _WCHAR_T_DEFINED is the only definition used for overriding the wchar_t setting by applications.
So use the previous logic to check and define the wchar_t definitions for the host and at the end check for _WCHAR_T_DEFINED. In all cases, define _WCHAR_T_DEFINED.

Additionally, __need_wchar_t has to be undefined after including "ctype.h" as "ctype.h" defines it.

svn path=/trunk/; revision=28422
2007-08-19 14:04:20 +00:00
Sylvain Petreolle 4a878b945f update ncpa french translation
svn path=/trunk/; revision=28421
2007-08-19 12:49:29 +00:00
Eric Kohl ec36584855 Add resources for the mouse keys settings dialog.
svn path=/trunk/; revision=28420
2007-08-19 10:52:59 +00:00
Art Yerkes f6051eed12 Add async name functions, imported from wine. Modified for ReactOS, original
copyright assigment:

 * Copyright (C) 1993,1994,1996,1997 John Brezak, Erik Bos, Alex Korobka.
 * Copyright (C) 1999 Marcus Meissner

async.c was original licensed under the GNU Lesser General Public License v2.1

svn path=/trunk/; revision=28419
2007-08-19 10:39:26 +00:00
James Tabor 7330591df4 Implemented an easy API, XLATEOBJ_piVector. Just leave them in stubs for now.
svn path=/trunk/; revision=28418
2007-08-19 09:16:38 +00:00
James Tabor 5f7a8012cd Implemented a handfull of easy Eng APIs. Just leave them in stubs for now.
svn path=/trunk/; revision=28417
2007-08-19 08:16:01 +00:00
Art Yerkes d149b737c0 (customize-variable 'indent-tabs-mode) ; nil
svn path=/trunk/; revision=28416
2007-08-19 05:11:54 +00:00
Art Yerkes 7acf61114d Fix part two of the bug:
The actual problem was that we'd overrun the end of the handle count array
when decrementing.  This also led to a handle leak (observed).  Stop correctly
when we find the handle we want.

svn path=/trunk/; revision=28415
2007-08-19 05:02:31 +00:00
Colin Finck edceb16713 Use host_gpp instead of host_gcc for building "ssprintf.cpp" and "tools.cpp".
These are C++ files, so they should be built with g++ like it's done for the other tools. Usually they can also be built with gcc, but Collibri from IRC reported that broken gcc interfaces exist, which lead to problems with these files.

svn path=/trunk/; revision=28414
2007-08-18 22:06:00 +00:00
Colin Finck 5f5941543f Always include "wrc.h" before including "ctype.h".
wrc.h includes wrctypes.h, which includes windef.h, which includes winnt.h. And winnt.h contains our wchar_t check, which has to be done before including ctype.h to enable building on Mac OS X hosts.

svn path=/trunk/; revision=28413
2007-08-18 21:41:26 +00:00
Colin Finck f4d00d9532 Mac OS X already defines iswdigit, so don't define it again on this host OS.
svn path=/trunk/; revision=28412
2007-08-18 21:14:20 +00:00
Colin Finck 7c2606f0a3 Include windef.h, which then includes winnt.h, which uses our wchar_t check and reports the wchar_t definition back to the host.
Then the host finally knows that it should not define wchar_t again.

svn path=/trunk/; revision=28411
2007-08-18 21:10:14 +00:00
Colin Finck b92649d370 Fix the logic for the wchar_t checks.
We don't only need to check if wchar_t has already been defined, but also report this to all known hosts and operating systems.

svn path=/trunk/; revision=28410
2007-08-18 20:30:12 +00:00
Colin Finck 44840c6db3 Move the wchar_t check above the "#include <ctype.h>" line (this is needed for Mac OS X host compatibility)
svn path=/trunk/; revision=28409
2007-08-18 19:49:53 +00:00
Colin Finck 3d0bdbac16 forgot the #endif :-/
svn path=/trunk/; revision=28408
2007-08-18 19:33:36 +00:00
Colin Finck 6674258f80 Add a check for the wchar_t existence for Mac OS X hosts
svn path=/trunk/; revision=28407
2007-08-18 19:25:43 +00:00
Colin Finck 4bb5fb5f3c Build fixes for Mac OS X, thanks to Alex
svn path=/trunk/; revision=28406
2007-08-18 19:07:13 +00:00
Eric Kohl b5c0564c8e Get rid of the space reserved for icons to make the dialogs look more XP-like.
svn path=/trunk/; revision=28404
2007-08-18 16:02:28 +00:00
Magnus Olsen fb897e20fb fixing smaller FIXME in win32kdxtest
svn path=/trunk/; revision=28403
2007-08-18 15:54:03 +00:00
Magnus Olsen f594821726 adding few mixing DDHALINFO_ISPRIMARYDISPLAY, DDHALINFO_MODEXILLEGAL
svn path=/trunk/; revision=28402
2007-08-18 15:53:03 +00:00
Colin Finck 1fe9b53b9e Fix an "implicit declaration of wcslen" warning on Linux/Unix hosts
svn path=/trunk/; revision=28401
2007-08-18 15:47:33 +00:00
Magnus Olsen 1d6628eb0c Adding one new define #define DDCAPS_STEREOVIEW aka DDCAPS_RESERVED1
svn path=/trunk/; revision=28399
2007-08-18 15:43:25 +00:00
Colin Finck f49af53def Show whether the IP address was assigned by DHCP or manually configured. I also added the german translation strings for this.
Patch by Frode Lillerud (frode AT enkelt DOT no)
See issue #2570 for more details.

svn path=/trunk/; revision=28398
2007-08-18 14:32:03 +00:00
Colin Finck d7248a8454 Send a LBN_SELCHANGE notification after selecting the first network component entry, so the description text gets updated.
Patch by Gregor Brunmar (gregor DOT brunmar AT home DOT se)
See issue #2577 for more details.

svn path=/trunk/; revision=28397
2007-08-18 14:03:12 +00:00
Colin Finck 64e01f1c3a Fix cabman build breakage, when compiling it on Windows hosts with GCC
(this is true, other tested build configurations did not make any problems :-P)

svn path=/trunk/; revision=28396
2007-08-18 13:46:12 +00:00
Colin Finck 3f2d0a1c8d Use typedefs64.h in wmc instead of defining the types in the Makefile.
The definition of wchar_t can also be removed as this type is defined in windef.h if it was not defined before.

svn path=/trunk/; revision=28395
2007-08-18 13:21:31 +00:00
Colin Finck ddf6aa9ca0 Also use typedefs64.h in wrc instead of defining the types in the Makefile.
svn path=/trunk/; revision=28394
2007-08-18 13:09:55 +00:00
Colin Finck 2ebabda1fb - Use typedefs64.h also for 64-bit host system compatibility in cabman.
This unifies the way of 64-bit compatibility and also enables cabman to compile with MSVC.
  The remaining "unsigned long"'s have to be used for casting pointers as the pointers are always 64-bit on 64-bit machines.
- Silence some warnings in MSVC 2005 and also add a MSVC project file.
  When you compiled the zlib library with RosBE, you can now easily use this project file without any changes to compile cabman with MSVC.

svn path=/trunk/; revision=28393
2007-08-18 13:08:58 +00:00
Colin Finck eca3c5411c Fix the mkhive bug on 64-bit systems, this time correct.
See issue #2272 for more details.

svn path=/trunk/; revision=28392
2007-08-18 10:27:23 +00:00
Colin Finck fa63b1102e Revert r28389 as it causes a build break, when you perform a full clean build
I'll commit a correct fix later

svn path=/trunk/; revision=28391
2007-08-17 23:08:12 +00:00
Colin Finck bcb482f04c [AUDIT]
I had to break some SVN locks to add my latest commit. Here I'm undoing some of them now:

builddep.h - Remains unlocked. It just contains basic type definitions and include statements
infcommon.h - Just unlocked this file. It just contains one basic definition and two type definitions
infhost.h - Remains unlocked. It just contains the function prototypes for functions in the other source files
infhostgen.c - Locked again as I did not check this file
infhostget.c - Locked again as I did not check this file
infhostglue.c - Remains unlocked. It just contains a DbgPrint function, which can be found in many ReactOS source files
infhostput.c - Locked again as I did not check this file
inflib.mak - Just unlocked this file. No reason for a makefile to be locked.
README.txt - Just unlocked this file. No reason for a readme file to be locked.

svn path=/trunk/; revision=28390
2007-08-17 22:32:52 +00:00
Colin Finck fe41b9be51 Fix the long-standing mkhive bug on 64-bit systems
This is now done by adding a "typedefs64.h" header file, which uses int's instead of long's for 32-bit values. As far as I know, this is the only way to avoid the problem that a long has a size of 64-bit on 64-bit systems.
This header file is now used in the host makefiles of cmlib, inflib and mkhive. It is also suitable for the other host tools, which need 32-bit values (will do some changes there in the next few days).

Unfortunately, Live-CDs still do not work because of another bug (see bug #2290).
But I compared the hives created by 32-bit Debian Linux and 64-bit Debian Linux and after these changes, they are exactly the same.
See issue #2272 for more details.

svn path=/trunk/; revision=28389
2007-08-17 22:17:13 +00:00
Magnus Olsen c4bb3a9eb4 fixing the build and adding wine d3d8 and wined3d to bootcd
svn path=/trunk/; revision=28388
2007-08-17 19:41:23 +00:00
Magnus Olsen 3e5582c97f adding wine dx to the build all, wined3d and d3d8 is from wine cvs server date 17/8-2007
svn path=/trunk/; revision=28387
2007-08-17 19:24:59 +00:00
Magnus Olsen 7d9fb66422 This is a temporary solution to our DX problem
it will take some times getting native DirectX working in user mode. 
Wine Have manger ported their DirectX to Windows, And after some help 
from wine (Roderick Colenbrander aka Thunderbird), That mean we got 
now DirectX8 support in ReactOS from wine DirectX (base on opengl).
(rember disable the SSE in mesa before trying it, and it is untested
in ReactOS)
    

svn path=/trunk/; revision=28386
2007-08-17 18:29:23 +00:00
James Tabor aa4f2c2037 Add the rest of the dcattr structure, LocalIcm and flags with VDS size.
svn path=/trunk/; revision=28385
2007-08-17 17:55:56 +00:00
James Tabor 0774d97b40 Add 4 more dcattr units.
svn path=/trunk/; revision=28384
2007-08-17 16:24:28 +00:00
Magnus Olsen 188728e7c5 forget remove a wine hack from this headers
svn path=/trunk/; revision=28383
2007-08-17 15:41:54 +00:00
Magnus Olsen 2eb1586e0a updating wine dx headers, adding some new wine dx header, from wine cvs date 17/08-2007
svn path=/trunk/; revision=28380
2007-08-17 13:59:31 +00:00
James Tabor a02bfc6197 Fix NtUserLoadKeyboardLayoutEx size.
svn path=/trunk/; revision=28378
2007-08-17 02:06:36 +00:00
James Tabor e2d01e0703 Use Gdi32 DeleteDC now. Soon tests will start with most Get functions using dcattr.
svn path=/trunk/; revision=28377
2007-08-17 00:40:57 +00:00
James Tabor dc8b712ce4 Removed two unsupported types.
svn path=/trunk/; revision=28376
2007-08-17 00:10:37 +00:00
James Tabor 2a6ac07ef7 Fix memory DC so CreateCompatibleDC with null will create it. Based on msdn2 info, we need to setup display surface, etc.
svn path=/trunk/; revision=28375
2007-08-17 00:08:48 +00:00