Casper Hornstrup
68e9370d78
2004-11-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* config (SEH): Remove.
* regtests/shared/regtests.c (_alloca): Remove; Use from malloca.h
instead.
(PerformTest): Use PSEH to catch exceptions while running tests.
* tools/config.mk (CONFIG): Don't add SEH.
* tools/helper.mk: Link tests with pseh.a.
svn path=/trunk/; revision=11714
2004-11-20 17:48:38 +00:00
Gunnar Dalsnes
d06c68bb99
add some error checking
...
svn path=/trunk/; revision=11672
2004-11-15 19:20:23 +00:00
Art Yerkes
da8cb9fe17
Preliminary stub generator ported from my shell script.
...
svn path=/trunk/; revision=11587
2004-11-07 22:54:04 +00:00
Steven Edwards
6b9538eb54
include stdlib.h, string.h and ctype.h to fix a build problem I am seeing.
...
svn path=/trunk/; revision=11566
2004-11-06 21:06:52 +00:00
Art Yerkes
03c08fd7b9
Changes:
...
- Turn two instances of stricmp(...,".[Cc]") into one of strcaseccmp(...,".c")
in filename parsing.
- Streamline line parsing a bit:
- Scan the line only once, looking for any line terminator
- Ignore leading and trailing blanks
- Handle comments properly
svn path=/trunk/; revision=11557
2004-11-06 17:37:29 +00:00
Gé van Geldorp
f9029e5cd8
Generate stub functions from .spec file
...
svn path=/trunk/; revision=11528
2004-11-02 19:47:18 +00:00
Casper Hornstrup
e89808b094
2004-10-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* drivers/net/tcpip/tests/setup.c: Include windows.h.
* lib/gdiplus/tests/setup.c: Ditto.
* lib/kernel32/tests/setup.c: Ditto.
* lib/ws2_32/tests/setup.c: Ditto.
* subsys/win32k/tests/setup.c: Ditto.
* ntoskrnl/tests/setup.c: Ditto.
* ntoskrnl/include/ntoskrnl.h: Include test.h.
* ntoskrnl/mm/virtual.c (NtLockVirtualMemoryInternal): New function.
(NtLockVirtualMemory): Use NtLockVirtualMemoryInternal.
* ntoskrnl/tests/Makefile (TARGET_CFLAGS): Add -I../include.
* ntoskrnl/tests/stubs.tst: Remove stubs for functions in libgcc.
* regtests/shared/regtests.h: Make independent of windows.h.
* tools/helper.mk (run): Link with libgcc.
* tools/regtests.c (EXESTUB): Include windows.h.
* ntoskrnl/include/internal/test.h: New file.
* ntoskrnl/tests/tests/VirtualMemory.c: Ditto.
svn path=/trunk/; revision=11466
2004-10-28 19:01:59 +00:00
Casper Hornstrup
b69a77aa97
2004-10-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* ntoskrnl/Makefile (TARGET_REGTESTS): Define to yes.
* regtests/regtests/regtests.c (_ExitProcess): Declare.
* regtests/regtests/regtests.def (_ExitProcess@4): Ditto.
* regtests/shared/regtests.h (_ExitProcess): Ditto.
* tools/regtests.c: Exit process using _ExitProcess();
Properly support fastcall symbols.
* ntoskrnl/tests: New directory.
* ntoskrnl/tests/tests: Ditto.
* ntoskrnl/tests/.cvsignore: New file.
* ntoskrnl/tests/Makefile: Ditto.
* ntoskrnl/tests/setup.c: Ditto.
* ntoskrnl/tests/stubs.tst: Ditto.
* ntoskrnl/tests/tests/.cvsignore: Ditto.
svn path=/trunk/; revision=11420
2004-10-24 17:51:29 +00:00
Casper Hornstrup
6003c5cb06
2004-10-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* config (REGRESSIONTESTS): Remove.
* tools/config.mk: Update.
* lib/kernel32/misc/dllmain.c: Update.
* drivers/net/tcpip/tests/Makefile (TARGET_OBJECTS): Add setup.o.
* lib/gdiplus/tests/Makefile (TARGET_OBJECTS): Ditto.
* lib/kernel32/tests/Makefile (TARGET_OBJECTS): Ditto.
* lib/ws2_32/tests/Makefile (TARGET_OBJECTS): Ditto.
* subsys/win32k/tests/makefile (TARGET_OBJECTS): Ditto.
* regtests/shared/regtests.h (SetupOnce, _SetupOnce): Declare.
(DISPATCHER): Rename to _Dispatcher.
* lib/gdiplus/tests/tests/test-1.c: Update.
* lib/kernel32/tests/tests/CreateFile.c: Ditto.
* lib/ws2_32/tests/tests/WinsockEvent.c: Ditto.
* subsys/win32k/tests/tests/eng-mem-1.c: Ditto.
* tools/helper.mk: Be quiet when building tests.
* tools/regtests.c: Remove unused code.
* drivers/net/tcpip/tests/setup.c: New file.
* lib/gdiplus/tests/setup.c: Ditto.
* lib/kernel32/tests/setup.c: Ditto.
* lib/ws2_32/tests/setup.c: Ditto.
* subsys/win32k/tests/setup.c: Ditto.
svn path=/trunk/; revision=11414
2004-10-24 12:39:54 +00:00
Casper Hornstrup
eae828b789
2004-10-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* Makefile: Support regtests_implib.
* rules.mak (REGTESTS_PATH): Define.
* drivers/net/tcpip/makefile (TARGET_BUILDENV_TEST): Remove.
* drivers/net/tcpip/tests/Makefile: Update.
* lib/gdiplus/tests/.cvsignore: Ditto.
* lib/gdiplus/tests/Makefile: Ditto.
* lib/kernel32/tests/Makefile: Ditto.
* lib/kernel32/tests/stubs.tst (HeapAlloc, HeapFree): Add.
* lib/ws2_32/makefile (TARGET_REGTESTS): Define to yes.
* regtests/Makefile: Update.
* regtests/shared/regtests.c (_alloca): Define.
(FrameworkGetHook): Move to here.
* regtests/shared/regtests.h (_AssertTrue, _AssertFalse): Define.
(_GetModuleHandleA, _GetProcAddress, _LoadLibraryA): Define.
(FrameworkGetExportedFunctionNameInternal): Define.
* subsys/win32k/tests/makefile: Update.
* tools/helper.mk: Create dependencies.
* tools/regtests.c: Move FrameworkGetHook; Support forwarded exports.
* lib/ws2_32/tests: New directory.
* lib/ws2_32/tests/.cvsignore: New file.
* lib/ws2_32/tests/Makefile: Ditto.
* lib/ws2_32/tests/stubs.tst: Ditto.
* lib/ws2_32/tests/tests: New directory.
* lib/ws2_32/tests/tests/.cvsignore: New file.
* lib/ws2_32/tests/tests/WinsockEvent.c: New file.
* regtests/regtests: New directory.
* regtests/regtests/.cvsignore: New file.
* regtests/regtests/Makefile: Ditto.
* regtests/regtests/regtests.c: Ditto.
* regtests/regtests/regtests.def: Ditto.
svn path=/trunk/; revision=11406
2004-10-23 21:05:12 +00:00
Art Yerkes
8238df107b
Corrected build problem: hal.a was not placed in the ddk implib
...
directory.
svn path=/trunk/; revision=11373
2004-10-21 18:04:48 +00:00
Casper Hornstrup
e1a7bb0d2f
2004-10-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* lib/gdiplus/makefile (TARGET_BUILDENV_TEST): Remove.
(TARGET_TYPE): Set to test.
* lib/kernel32/makefile: Ditto.
* subsys/win32k/makefile: Ditto.
* tools/helper.mk (TARGET_BUILDENV_TEST): Remove.
(TARGET_TYPE): New value test.
* regtests/shared/regtests.c (_Result, _Buffer): Add.
* regtests/shared/regtests.h (_Result, _Buffer): Declare extern.
(TestRoutine): Make void return type and remove Buffer parameter.
(FAIL*): Remove.
svn path=/trunk/; revision=11356
2004-10-20 20:51:21 +00:00
Gé van Geldorp
ef42acd73f
Remove global -DCOBJMACROS for winedll's since they #define it themselves
...
now when needed
svn path=/trunk/; revision=11354
2004-10-20 20:31:36 +00:00
Casper Hornstrup
9af4f499f3
2004-10-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* lib/kernel32/makefile (TARGET_BUILDENV_TEST): Set to yes.
* lib/kernel32/tests/Makefile: New target run.
* lib/kernel32/tests/tests/file-1.c: Remove.
* lib/kernel32/tests/tests/CreateFile.c: New file.
* lib/kernel32/tests/stubs.tst: New file.
* lib/gdiplus/tests/tests/test-1.c: Update.
* lib/gdiplus/tests/stubs.tst: Update.
* lib/gdiplus/tests/Makefile: Update.
* lib/tools/helper.mk: Better support for TARGET_BUILDENV_TEST.
* tools/regtests.c: Terminate process after running tests.
* regtests/shared/regtests.c (PerformTest): Increase buffer sizes.
* regtests/Makefile: Update.
* regtests/kmregtests/*: Remove.
* regtests/kmrtint/*: Remove.
* regtests/regtests/*: Remove.
* regtests/win32base/*: Remove.
* subsys/win32k/tests/tests/eng-mem-1.c: Update.
* subsys/win32k/tests/stubs.tst: New file.
* drivers/net/tcpip/tests/Makefile: Update.
* drivers/net/tcpip/makefile: Update.
* drivers/net/tcpip/stubs.tst: New file.
* drivers/net/tcpip/tests/Makefile: Update.
svn path=/trunk/; revision=11321
2004-10-18 19:11:09 +00:00
Gé van Geldorp
4221b60000
- Centralize definition of version resource
...
- Give DLLs a high version number, so installers won't overwrite them
svn path=/trunk/; revision=11297
2004-10-16 20:27:43 +00:00
Casper Hornstrup
8646668c58
2004-10-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* tools/helper.mk: Support for kernel TARGET_TYPE.
* ntoskrnl/Makefile: Simplified makefile.
svn path=/trunk/; revision=11192
2004-10-04 20:04:49 +00:00
Casper Hornstrup
67a41ff238
2004-10-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* tools/helper.mk: Clean autogenerated files.
* tools/regtests.c: Remove newlines.
svn path=/trunk/; revision=11189
2004-10-04 19:41:28 +00:00
Casper Hornstrup
8ec117a236
Revert:
...
2004-10-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/Makefile: Fix dependencies when PCH is enabled.
2004-10-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/helper.mk: Support for kernel TARGET_TYPE.
* ntoskrnl/Makefile: Simplified makefile.
svn path=/trunk/; revision=11180
2004-10-04 10:16:59 +00:00
Thomas Bluemel
737ea5b737
don't let dlltool mess up c++ mangled exports for crtdll and msvcrt
...
svn path=/trunk/; revision=11166
2004-10-03 14:24:43 +00:00
Casper Hornstrup
cf4df378aa
2004-10-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* tools/helper.mk: Support for kernel TARGET_TYPE.
* ntoskrnl/Makefile: Simplified makefile.
svn path=/trunk/; revision=11154
2004-10-02 14:03:51 +00:00
Casper Hornstrup
9495493fde
2004-10-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* lib/gdiplus/tests/.cvsignore: Ignore _hooks.c and _stubs.S.
* lib/gdiplus/tests/Makefile (TARGET_OBJECTS): Remove passthrough.o and
add _hooks.o and _stubs.o.
* lib/gdiplus/tests/tests/test-1.c: Test API hooking.
* regtests/shared/regtests.h: Add support for API hooking.
* tools/helper.mk: Generate stubs.
* tools/regtests.c: Add support for generating stubs and hooks.
* lib/gdiplus/tests/passthrough.c: Remove.
* lib/gdiplus/tests/stubs.tst: New file.
svn path=/trunk/; revision=11147
2004-10-02 08:44:54 +00:00
Gé van Geldorp
46dbd3190e
Sylvain Petreolle <spetreolle@yahoo.fr>
...
- rules.mak is included too late in tools/winebuild/Makefile, which makes
TARGET, "all:", CLEAN_FILES and HOST_CFLAGS wrong.
svn path=/trunk/; revision=11093
2004-09-27 08:15:07 +00:00
Steven Edwards
73a66a9cc9
Some fixes for MS_VC.
...
svn path=/trunk/; revision=11092
2004-09-27 04:32:52 +00:00
Gé van Geldorp
0a185bdb18
Sync to Wine:
...
Alexandre Julliard <julliard@winehq.org>
- Store all information about the current dll in a structure instead of
using global variables to make it easier to reuse the parsing
routines.
- Added native mode dll support (based on a patch by Marcus Meissner).
- Added support for building a dll from a .def file for cases where we
don't want to write a full .spec.
- Renamed --spec option to --dll for consistency.
- Removed the Unicode exe modes, and instead detect automatically which
mode to use based on the existence of main or wmain.
- Automatically detect whether the entry point is main or WinMain
instead of depending on the subsystem type.
- Do not strip stdcall decoration in spec files.
- Print a warning when DllRegisterServer and similar functions are not
marked private.
- Fill in the proper offsets in the resource directory instead of
relying on the compiler to do it.
Jukka Heinonen <jhei@iki.fi>
- Remove support for generating interrupt handlers.
- DPMI programs now handle pending events.
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Fix proc name reported in delay load failure.
Richard Cohen <richard@daijobu.co.uk>
- Remove . from default library search path.
Eric Pouech <pouech-eric@wanadoo.fr>
- added size information about most of the generated thunks (import,
16/32 relay...)
- marked the wine thunks by inserting specific symbols (to be managed
by wine's dbghelp)
- removed the stabs generation:
+ mostly used by winedbg, and the previous item will replace it for
dbghelp
+ still broken for gdb anyway
- enhanced const correctness
Pierre d'Herbemont <stegefin@free.fr>
- Detection of .size instruction.
- Detection of the assembler name prefix.
- Delayed import fix for Darwin and PowerPC Host.
- Be more accurate on Darwin stack size.
- Delay import fix on PowerPC hosts.
Marcus Meissner <meissner@suse.de>
- Use "LD" instead of "ld" in winebuild to be able to use a different ld
or ld options.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Add a few missing __ASM_NAME macros.
svn path=/trunk/; revision=11014
2004-09-23 20:27:30 +00:00
Gé van Geldorp
d3275bbd8b
Get rid of .edf files
...
svn path=/trunk/; revision=10871
2004-09-16 10:25:18 +00:00
Filip Navara
b7cf80521b
- Fix MS2PS rule to work on Windows.
...
- Include PSEH header in the MS2PS generated files.
svn path=/trunk/; revision=10826
2004-09-12 10:22:31 +00:00
Hartmut Birr
a3d5d79146
- Added the dependency checking for precompiled headers.
...
svn path=/trunk/; revision=10796
2004-09-07 08:20:06 +00:00
Hartmut Birr
ff08835fad
- Replaced the target extension with '.h.gch' if the source extension was '.h'
...
svn path=/trunk/; revision=10795
2004-09-07 08:14:30 +00:00
Steven Edwards
b1d9a8f8ff
We are not using wpp at this time. We can always add a
...
more recent copy if we ever need it.
svn path=/trunk/; revision=10791
2004-09-06 15:04:16 +00:00
Art Yerkes
ad74693225
This adds a rule which will trigger automatic conversion between msvc
...
style and pseh syntactically. Name any file that should be converted
as foo_msvc.c and put foo.o in TARGET_OBJECTS and the file will be
preprocessed.
I asked some opinions about the naming and everyone seems ok with it.
svn path=/trunk/; revision=10711
2004-08-27 18:24:28 +00:00
Casper Hornstrup
6fa3492ab7
2004-08-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* tools/cdmake/cdmake.c: Error out if extension is too long.
svn path=/trunk/; revision=10681
2004-08-25 20:47:22 +00:00
Art Yerkes
8da48834d5
Fixed eols for pp directives, honor original eols.
...
svn path=/trunk/; revision=10638
2004-08-21 19:59:52 +00:00
Art Yerkes
a48867230f
Respect line breaks in the original code, making it easier to compare.
...
svn path=/trunk/; revision=10636
2004-08-21 19:49:22 +00:00
Casper Hornstrup
d291ec0ebe
2004-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* tools/regtests2xml: New directory.
* tools/regtests2xml/.cvsignore: New file.
* tools/regtests2xml/Makefile: Ditto.
* tools/regtests2xml/regtests2xml.c: Ditto.
svn path=/trunk/; revision=10595
2004-08-19 00:35:15 +00:00
Casper Hornstrup
a7f4ff2664
2004-08-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* tools/depend.mk: Don't generate dependencies for implib target.
svn path=/trunk/; revision=10576
2004-08-17 13:53:05 +00:00
Casper Hornstrup
f55fbceea5
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* Makefile: Correct dependencies.
* tools/Makefile: Silence some annoying messages.
* tools/config.mk: Ditto.
* rules.mak (MINIMALDEPENDENCIES): New option; minimal dependencies
(yes/no). If yes, then components do not depend on all import libraries.
If no, then they do. Defaults to yes.
svn path=/trunk/; revision=10575
2004-08-16 22:31:05 +00:00
Casper Hornstrup
1bf0775833
2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* ntoskrnl/include/.cvsignore: New file.
* ntoskrnl/include/ntoskrnl.h: Ditto.
* ntoskrnl/*/*.c: Use pre-compiled header.
* ntoskrnl/Makefile: Support pre-compiled header.
* tools/helper.mk: .pch files are now .gch files.
svn path=/trunk/; revision=10550
2004-08-15 16:39:12 +00:00
Filip Navara
41ca6025bd
- Revert to old dependency system.
...
svn path=/trunk/; revision=10549
2004-08-15 01:44:31 +00:00
Filip Navara
0a2918d47b
- Revert to old dependency system.
...
svn path=/trunk/; revision=10548
2004-08-15 01:23:19 +00:00
Filip Navara
f530a33909
- Minor correction to shut up compiler warning.
...
svn path=/trunk/; revision=10547
2004-08-15 00:51:51 +00:00
Filip Navara
e2635a47ed
- Don't append to existing files.
...
svn path=/trunk/; revision=10546
2004-08-15 00:51:01 +00:00
Filip Navara
45e78bd69f
- Fix dependency tracking for relative paths.
...
svn path=/trunk/; revision=10542
2004-08-14 20:51:46 +00:00
Art Yerkes
846acbcf70
Added a (C) notice.
...
svn path=/trunk/; revision=10439
2004-08-08 22:07:06 +00:00
Art Yerkes
3ffa79d49a
Simple preprocessor for converting try ... except to our pseh-style exception
...
handling. Should allow us to use source files from open source drivers that
compile with msvc given some care. Not a complete solution but it eliminates
the most tedious part of the job.
svn path=/trunk/; revision=10437
2004-08-08 21:40:09 +00:00
Filip Navara
e0449489e5
- Faster dependency system.
...
svn path=/trunk/; revision=10412
2004-08-07 20:23:33 +00:00
Filip Navara
0bde909135
- Fix compiling Explorer with precompiled headers.
...
svn path=/trunk/; revision=10393
2004-08-04 18:22:41 +00:00
Filip Navara
efb2135435
- Add TARGET_PCH to Explorer makefile.
...
- Delete only the one used .pch file and not *.pch in helper.mk.
svn path=/trunk/; revision=10362
2004-08-02 15:51:23 +00:00
Filip Navara
7193e1d360
- Delete ntoskrnl/ps/i386/*.o on "make clean".
...
- Standardize Explorer makefile.
- Remove obsolete WINE_MODE and WINE_RC handling from helper.mk.
svn path=/trunk/; revision=10358
2004-08-02 15:04:24 +00:00
Martin Fuchs
da6bb56348
update binres tools and fix renaming bug
...
svn path=/trunk/; revision=10356
2004-08-02 07:59:38 +00:00
Filip Navara
39799e45c9
- Make sure all build files and directories are properly deleted on "make clean".
...
svn path=/trunk/; revision=10348
2004-08-01 23:27:56 +00:00