Commit Graph

1843 Commits (5ccae1aec9ce8080731e1ff61ffc34678241e9f3)

Author SHA1 Message Date
Alexandre Julliard d5d8967f69 Added a warning for DllGetVersion and DllInstall not being declared
private. Also warn when one of the Dll* functions is using a different
internal name.
2005-08-09 10:24:05 +00:00
Mike McCormack 4f995bd6e6 gcc 4.0 warning fix. 2005-08-08 17:58:41 +00:00
Detlef Riekenberg 0596fe152f Added exe extensions for mingw32. 2005-08-08 15:02:29 +00:00
Vincent Béron 7257b70718 Remove WINE_PACKED recognition.
Update various winapi parser regular expressions to let it understand
some Wine constructs.
2005-08-08 11:06:24 +00:00
Vincent Béron eca5bd48bb Update win16.api/win32.api to current CVS. 2005-08-08 11:06:14 +00:00
Vincent Béron 52dbbafaaa Remove WINE_UNUSED checks. 2005-08-08 11:06:02 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Robert Shearman 4e7628ffb1 - The header global variable is NULL when not generating a header so
don't try to use it in functions that may be called by the client
  code.
- Make the functions that take char * take const char *.
2005-08-03 14:55:22 +00:00
Alexandre Julliard 830d1edb9d Automatically generate the list of error names in make_requests. 2005-07-29 14:49:05 +00:00
Rémi Assailly dbbd0d5115 Moved mcicda to the top-level dlls directory. 2005-07-27 15:42:40 +00:00
Alexandre Julliard 6d8567824f Print a warning when a generated import library doesn't export
anything useful.
2005-07-26 18:57:19 +00:00
Vincent Béron 06153098b8 Make winapi_check learn to parse some constructs with some rarely used
keywords.
2005-07-24 17:09:37 +00:00
Vincent Béron a9038b5584 Remove old stuff from winapi_check. 2005-07-24 16:14:49 +00:00
Francois Gouget 96a31515c6 Update win32.api to match the current sources. 2005-07-22 19:48:33 +00:00
Stefan Huehner b8585b8d0c Change some char* to const char* to fix warnigns. 2005-07-21 11:59:11 +00:00
Stefan Huehner 76fdac0368 Fix some -Wsign-compare warnings. 2005-07-21 11:58:39 +00:00
Rémi Assailly f9f5eaab6e Moved midimap to the top-level dlls directory. 2005-07-21 11:31:56 +00:00
Kevin Koltzau 4029ee29a4 Add support for dumping 64bit PE files. 2005-07-19 11:44:44 +00:00
Stefan Huehner 737978a833 Fix a -Wsign-compare warning. 2005-07-14 12:18:38 +00:00
Steve Zellers e51ffce568 Fixed leftover import table name in output_import_thunk. 2005-07-13 11:39:12 +00:00
Stefan Huehner f4285e68fe Fix some -Wsign-compare warnings. 2005-07-13 11:29:10 +00:00
Francois Gouget 50f7733059 Add missing types to win32.api. 2005-07-11 10:56:41 +00:00
Marcus Meissner 2d7e976eed Fixed signedness warnings. 2005-07-10 17:45:53 +00:00
Alexandre Julliard 7c91993eba Don't depend on ELF features for PIC code.
A couple of optimizations.
2005-07-05 21:06:00 +00:00
Mike McCormack 723ee0a3bc gcc 4.0 -Wpointer-sign fixes. 2005-07-05 14:26:54 +00:00
Alexandre Julliard aeb4e6e5d2 Get rid of the global debugging flag. 2005-07-05 12:52:57 +00:00
Alexandre Julliard 2b33634018 Intercept functions for 16-bit relay debugging by patching the
CALLFROM16 table instead of having the wine_call_from_16 functions
call out the relay functions explicitly.
2005-07-05 12:52:07 +00:00
Alexandre Julliard e56d9deac4 Added vararg argument type so that the relay code can distinguish from
a normal cdecl function.
Don't rely on the relay thunk preserving the stack pointer.
2005-07-05 11:50:40 +00:00
Vincent Béron f4ab6de6c0 Clean wineinstall from config file references. 2005-07-05 10:58:20 +00:00
Alexandre Julliard 1a0f2863db Moved all 16-bit relay code to the text section.
Changed a few symbol names for better consistency.
2005-07-03 11:28:44 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Alexandre Julliard dd41c12dff Added dumping of NE segments and relocations. 2005-07-01 19:23:39 +00:00
Alexandre Julliard deaec125ca Don't use the full 32 bits of %esp when called from 16-bit code. 2005-07-01 19:18:46 +00:00
Alexandre Julliard 71914125ce Moved most of the implementation of CALL32_CBClient(Ex) to the C
code.
2005-07-01 16:24:32 +00:00
Alexandre Julliard 89503c182a Added a --target option to allow cross-compilation. 2005-07-01 16:17:44 +00:00
Alexandre Julliard 47286920b6 Improve a bit the assembly generated for import thunks. 2005-07-01 15:49:39 +00:00
Alexandre Julliard 52788d1f1c Added support for HTML resource type. 2005-06-30 20:58:52 +00:00
Francois Gouget 02c25a8981 Assorted spelling fixes. 2005-06-30 18:19:33 +00:00
Stefan Huehner 4d11eba003 Fix some -Wsign-compare warnings. 2005-06-30 18:10:08 +00:00
Jacek Caban 6580ae03ed '.' is a valid char of tIDENT. 2005-06-30 18:09:39 +00:00
Francois Gouget 355f01275e Update win32.api to match current sources. 2005-06-30 18:08:25 +00:00
Phil Krylov 4f9f7f131c Fixed winebuild operation in Darwin. 2005-06-30 11:00:28 +00:00
Alexandre Julliard 706a0a9e59 Replace configure macros by explicit platform checks (probably not
correct on all platforms yet).
2005-06-29 20:18:58 +00:00
Huw Davies a2051075fe Update the import table code to eliminate a few magic constants. 2005-06-29 19:18:41 +00:00
Alexandre Julliard 7b077dfac4 Run make clean in the winapi subdir too. 2005-06-28 19:38:55 +00:00
Huw Davies a2c58e238f Add comments describing the first DWORD in an import table entry. 2005-06-28 13:52:23 +00:00
James Hawkins 996bcc5c40 Add some missing types to win32.api. 2005-06-28 10:54:18 +00:00
Alexandre Julliard 445fb59802 Replaced all uses of the __ASM_NAME macro by the asm_name function to
allow run-time determination of the correct format.
2005-06-27 18:59:54 +00:00
Alexandre Julliard 803c8d9693 Beginnings of an infrastructure to allow specifying the target CPU and
platform at run-time.
2005-06-27 11:23:24 +00:00
Eric Pouech 809edabfbe Const correctness fixes. 2005-06-27 09:53:46 +00:00
Alexandre Julliard f51496a232 Remove some i386 ifdefs for 16-bit entry points since they are no
longer used by default on other platforms anyway.
2005-06-25 18:34:00 +00:00
Jacek Caban 4378e7731c Added mshtml.dll registration to wine.inf.
Removed keys that are registered by mshtml.dll.
2005-06-25 17:58:58 +00:00
Pierre d'Herbemont 804d474dd1 Change headers to <windows.h> in order to prevent a compilation
failure with generated files on Darwin.
2005-06-24 11:33:46 +00:00
Alexandre Julliard 63e9a42b0b Allocate ordinals in the order of the declarations in the spec file. 2005-06-23 16:46:20 +00:00
Mike McCormack 8dd7f06e3a Fix declarations. 2005-06-23 09:48:15 +00:00
Mike McCormack a6dd1258b9 Move function prototypes to header. 2005-06-22 11:59:18 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Wolfgang Thaller 32984a640e Use __ASM_NAME and HAVE_ASM_DOT_SIZE in a few places in winebuild
where they have been missing (needed for Darwin/x86).
2005-06-20 13:38:39 +00:00
Wolfgang Thaller 84c8bf5340 Winebuild darwin/x86-specific fixes:
- Assembler interprets .align as power-of-two
- Add .weak_reference to output where gcc 3.3 swallows it
2005-06-20 11:43:16 +00:00
Saulius Krasuckas e76d25f68c Sync msvcmaker with make_ctests to generate valid code. 2005-06-20 10:30:31 +00:00
Francois Gouget 162adc4254 Update the win(16|32).api files to match the current sources. 2005-06-17 21:31:17 +00:00
Francois Gouget fd73829593 Fix the prototypes of SQLCreateDataSource*(), SQLGetPrivateProfileString*().
Fix the return type of SQLInstallerError*() and
SQLPostInstallerError*().
Fix the SQLInstallDriver() and SQLInstallDriverEx() prototypes in the
spec file.
Add an odbccp32 section to win32.api for winapi_check.
2005-06-17 21:26:31 +00:00
Francois Gouget 483bce1dae Fix the FreeADsMem() prototype.
Add an activeds section to win32.api for winapi_check.
Fix a documentation warning.
2005-06-17 20:56:21 +00:00
Francois Gouget ba0b5a8ca1 Remove a check for obsolete directory and file special cases. 2005-06-17 20:55:07 +00:00
Francois Gouget d7d68dba23 We should set the global $all_modules variable otherwise there's no
point.
2005-06-17 20:54:55 +00:00
Alexandre Julliard 190f845cb1 Make import thunks position-independent to avoid text relocations. 2005-06-16 20:51:50 +00:00
Alexandre Julliard 27e868e9ad Generate proper PIC code for CALL32_CBClient. 2005-06-16 15:57:36 +00:00
Alexandre Julliard efcc2b83d8 Store a relative pointer for registry entry points to avoid some text
relocations.
2005-06-16 11:04:41 +00:00
Alexandre Julliard 399300a143 Output the exported names as a C string so that they end up in the
correct section.
2005-06-16 10:43:19 +00:00
Maarten Lankhorst bae4a54539 Register qcap.dll on wine initialisation. 2005-06-16 09:42:54 +00:00
Stefan Huehner e546238c7e Fix some -Wmissing-declarations by making functions static. 2005-06-15 18:10:39 +00:00
Alexandre Julliard ac75dcc240 Avoid static forward declaration that doesn't work on MSVC. 2005-06-15 10:22:59 +00:00
Pierre d'Herbemont db134ece39 Use .mod_*_func sections on Mac OS X/i386 instead of the elf
constructor/destructor.
2005-06-10 19:58:26 +00:00
Alexandre Julliard 25c5fe33ba Reuse output_dll_init for the constructor of debug files. 2005-06-10 19:56:05 +00:00
Alexandre Julliard dae2b44263 Fixed a number of references to removed directories. 2005-06-09 10:24:51 +00:00
Mike McCormack 54fc5edd52 Dump out the msi information in more detail. 2005-06-09 09:48:02 +00:00
Robert Shearman 33b09d457f Add more struct types for TLB generation. 2005-06-09 09:45:26 +00:00
Alexandre Julliard 5c9b7cf55f Moved all assembly code to the end of the generated C files to avoid
conflicting with the compiler over section changes.
2005-06-06 15:59:50 +00:00
Alexandre Julliard 520a7af933 Switch back to .data at the end of asm sections to work around an
optimization in recent gcc versions.
2005-06-05 21:08:51 +00:00
Alexandre Julliard a583b2570b Generate the resource data directly inside the resource directory. 2005-06-05 18:36:24 +00:00
Lionel Ulmer 9da4893326 Added keys to install all known DPlay service providers. 2005-06-03 11:26:46 +00:00
Alexandre Julliard 9c04ad7439 Workaround to allow using the async keyword as method name. 2005-05-26 12:22:28 +00:00
Alexandre Julliard 0bfa0b80b0 Better support for building stand-alone tests. 2005-05-25 09:57:07 +00:00
Hans Leidekker 97d1b11ebd Fix uninitialized warnings. 2005-05-24 12:34:29 +00:00
Dmitry Timoshkov 8eb1a29a74 Print data offset additionally to prefix while dumping data. 2005-05-24 11:45:14 +00:00
Alexandre Julliard 5ea0dd6d5f Free delayed import modules on PROCESS_DETACH. 2005-05-24 10:13:30 +00:00
Alexandre Julliard 70d0439905 Moved the generated code segment for 16-bit builtins inside the module
structure.
Get rid of the BUILTIN16_DESCRIPTOR structure and directly register
the MZ header instead.
2005-05-23 12:07:15 +00:00
Robert Shearman c5bc264706 Fix -Wwrite-strings warnings. 2005-05-23 10:28:17 +00:00
Dmitry Timoshkov ac2096d624 Small fix for the font directory resource written by fnt2fon. 2005-05-23 09:51:12 +00:00
Alexandre Julliard 1970e467d4 Generate 16-bit resources in the proper format inside the module data,
and get rid of the special case for builtins in NE_DefResourceHandler.
2005-05-20 19:19:01 +00:00
Dmitry Timoshkov dace466c9c Make .fon files generated by fnt2fon slightly more compatible with
fontforge, freetype and Windows font viewer.
2005-05-20 09:41:49 +00:00
Dmitry Timoshkov 069d1e85be - Always initialize width table.
- FT_Get_Next_Char for some reason returns too high number (1040) if
  the wine_courier font has been generated by fontforge, use 32 as the
  1st char instead.
2005-05-20 09:41:37 +00:00
Dmitry Timoshkov 23001da0c4 Print also flags and length of NE resources. 2005-05-20 09:41:16 +00:00
Alexandre Julliard dea3a11c6c Use RaiseException instead of RtlRaiseException in 16-bit spec files
since they already depend on kernel32.
2005-05-19 12:51:12 +00:00
Alexandre Julliard 3d5c3609c7 Renamed __wine_(un)register_dll_16 to __wine_dll_(un)register_16 for
consistency with the 32-bit version, and also make the register
function use the same prototype as the 32-bit one.
2005-05-19 12:44:31 +00:00
Stefan Leichter 442f8937a1 Create link for msiexec.exe in system directory. 2005-05-19 11:12:34 +00:00
Alexandre Julliard 67204137ee Generate the 16-bit module header in the standard on-disk format, so
that winebuild doesn't need to know about kernel internal structures.
2005-05-18 18:21:59 +00:00
Alexandre Julliard e8a23c9572 Use the exported IMAGE_OS2_HEADER to generate the module header in the
spec file, and moved the NE_MODULE structure definition to
kernel16_private.h.
2005-05-17 10:21:29 +00:00
Alexandre Julliard 827a69f8ca Avoid referencing stackframe.h from outside kernel32. 2005-05-16 14:20:16 +00:00
Alexandre Julliard 95086f45a4 Moved data structures for 16-bit relay calls to winbase16.h and
removed builtin16.h.
2005-05-16 09:19:18 +00:00
Vincent Béron 187790948e Update win16.api and win32.api to keep up with current Wine
development.
2005-05-16 08:46:00 +00:00
Alexandre Julliard d876893fc1 Store the 16-bit stack pointer in the WOW32Reserved TEB field. 2005-05-14 12:16:46 +00:00
Ge van Geldorp 40cb98269b Overlay icons for .lnk files with a small arrow in the lower left
corner.
2005-05-13 17:48:33 +00:00
Alexandre Julliard 61d01e6a3e For each imported dll, check if there is a static library with the
same base name as the import library, and if yes add it to the library
list.
2005-05-09 14:38:06 +00:00
Laurent Blume a79b48ebb8 Replace the test of the which command for type command to get similar
behaviour on all OSes.
2005-05-09 09:28:05 +00:00
Michael Stefaniuc d40517cb18 Change the type of 1 bit wide bitfields to unsigned. 2005-05-09 09:26:28 +00:00
Alexandre Julliard c0d2377565 Removed no longer used support for 32-bit register entry points. 2005-05-07 18:47:22 +00:00
William Poetra Yoga H a83c19f48c Support building man pages outside of the source directory. 2005-05-07 18:39:05 +00:00
Alexandre Julliard c700f90e63 Use RaiseException instead of RtlRaiseException for delayed entry
points load failure to avoid creating a dependency on ntdll.
2005-05-07 15:06:30 +00:00
Alexandre Julliard f1660daef9 Removed a bunch of obsolete makefile hacking sed code. 2005-05-06 19:34:22 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Alexandre Julliard 2dabac08ee Added support in winebuild for specifying import libraries directly on
the command line without the -l option.
Changed the -d option to only mark the library as delayed, the actual
loading is now done separately.
2005-05-06 15:54:41 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Francois Gouget a96f8ac203 HAVE_V4L2 is not an autoconf define so tell winapi_check not to
complain complain about it.
2005-05-06 14:33:34 +00:00
Francois Gouget 8054f6c5ad Update win32.api to match the current sources.
Declare CoGetClassObjectFromURL() in urlmon.h.
2005-05-06 14:32:48 +00:00
Alexandre Julliard b12ad3ad7b output_name already contains .exe extension, don't add it again for -F
option.
2005-05-05 16:44:38 +00:00
Alexandre Julliard 1492028a96 Get rid of the winapi_check_dir config parameter. 2005-05-04 10:43:00 +00:00
Hans Leidekker a764450631 Move all files from winapi_check/ to winapi/, and remove references to
winapi_check directory.  Merge winapi_check programs.
2005-05-04 09:55:17 +00:00
Alexandre Julliard 240d4ee9e1 Remove a few more instances of strncpy. 2005-04-25 15:51:45 +00:00
Paul Vriens 791140468e --update is no longer needed with wineprefixcreate. 2005-04-24 17:22:45 +00:00
Francois Gouget 580a333dee Add a powrprof section.
Update win32.api to match the current source.
2005-04-22 21:17:57 +00:00
Francois Gouget 00f72a32fd Add a definition for _ATL_REGMAP_ENTRY in atlbase.h.
Fix the prototype of AtlModuleUpdateRegistryFromResourceD() so it uses
the right pointer types.
2005-04-22 19:04:18 +00:00
Francois Gouget 30a07e9046 Fix the DCICreatePrimary() prototype. It's supposed to return an int
so have it return DCI_FAIL_UNSUPPORTED.
Add the needed error codes and the DCISURFACEINFO definition to
dciddi.h.
Add dciman.h and put the function prototypes there.
dciddi.h and dciman.h should be installed with the other Windows
headers.
2005-04-20 18:42:04 +00:00
Alexandre Julliard d5416dad66 Properly support out-of-tree builds (based on patch by Paul Millar). 2005-04-20 14:26:33 +00:00
Francois Gouget 3a868e0690 Try to clarify the 'no translation defined' error.
Remove an unused variable.
2005-04-20 14:24:52 +00:00
Alexandre Julliard 3b5875e35f Replace the wineprefixcreate --update option by a --wait option, and
make the non-wait behavior the default.
2005-04-20 13:12:14 +00:00
Francois Gouget 133cd70068 Update win32.api to match the current source. 2005-04-20 12:51:51 +00:00
Juan Lang c194b2e853 Always initialize header file name, to prevent "#include (null)"
statements in generated files.
2005-04-18 16:54:54 +00:00
Benjamin Cutler 820dce129a Add default registry entries for power management. 2005-04-18 16:54:44 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Francois Gouget 9c932e5348 Mention the 'emf' and 'lnk' modes in the usage summary.
Add -? and --help synonyms for -h as is customary.
puts("") already prints a '\n' so we don't need a second one.
2005-04-15 16:11:13 +00:00
Juan Lang b5ffb7f215 Put space between include directive and include file. 2005-04-15 14:09:45 +00:00
Juan Lang 6d46ac263f Add proxy/stub options to widl man page. 2005-04-15 14:09:27 +00:00
Michael Lin 8acdd0baa9 Change menu item options to use optional comma. 2005-04-14 11:32:44 +00:00
Marcus Meissner 9b626b7bed Use correct movw instead of movl when handling segment registers. 2005-04-13 11:17:00 +00:00
Juan Lang 2771218783 Register control\class\{GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR}. 2005-04-11 18:49:28 +00:00
Hannu Valtonen dfaabdfc97 Run msi files with msiexec.
Change Control Panel\Desktop to correct case.
2005-04-11 12:57:26 +00:00
Francois Gouget 6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Vincent Béron f4db2e3ad7 rsabase doesn't use any types now, so remove it. 2005-03-29 11:31:39 +00:00
Vincent Béron 4d752e95ad Keep types sorted in alphabetical order. 2005-03-28 10:01:20 +00:00
Vincent Béron 2eaf7b2e8a Add support for single in idl files. 2005-03-28 10:01:13 +00:00
Jacek Caban 10a605b072 Added handling of unsigned type. 2005-03-24 15:07:57 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Vincent Béron f455ebf92b Teach winapi about types newly used in various dlls. 2005-03-21 10:53:13 +00:00
Vincent Béron 0a9633dc1d Teach winapi_check about other calling convention shorthands (they all
are really stdcall).
2005-03-21 10:52:53 +00:00
Paul Millar eb93b9de19 Bring default registry in line with implicit default behaviour by
using the --auto option with winedbg.
2005-03-19 17:04:03 +00:00
Alexandre Julliard b30d92dfb2 Fixed other instances of the xrealloc(0) bug. 2005-03-18 14:09:55 +00:00
Jon Griffiths 523d94ae4c -Wunsigned fixes. 2005-03-18 14:04:07 +00:00
Alexandre Julliard b98d045e02 Don't crash on xrealloc(0) (found by Jon Griffiths). 2005-03-18 14:03:38 +00:00
Alexandre Julliard bcb7591e41 Converted the make_ctests script to C (based on a patch by Royce
Mitchell III).
2005-03-16 20:02:17 +00:00
Alexandre Julliard 300240bf96 Use the correct file name in the "generated automatically" comments. 2005-03-15 15:42:32 +00:00
Dimitrie O. Paun cfb6c8ebca Use -isystem for system includes as they should be processed after the
-I includes. Spotted by Boaz Harrosh.
2005-03-11 10:25:59 +00:00
Brouard Nicolas 555eaaf8c2 Fix menu backslash escaping. 2005-03-10 17:16:22 +00:00
Alexandre Julliard 72d6373743 Allow specifying extended control styles also in standard dialogs
(reported by Michael Lin).
2005-03-08 19:09:16 +00:00
Dimitrie O. Paun c02dd0a902 Add support for .exe's with exported functions. 2005-03-08 16:55:26 +00:00
Eric Pouech 627aeca259 Created dump.c as a central point for file dumping (includes header
analysis, utility funcs...).
Added support for dumping minidump files.
2005-03-07 11:03:53 +00:00
Vincent Béron 1ec033cff1 Create symlinks named wineg++ and winecpp while building winegcc. 2005-03-05 11:21:50 +00:00
Jacek Caban e6150fe206 Write uuid of library in header. 2005-03-05 10:49:22 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
Alexandre Julliard d0ee9f9309 Avoid spaces before preprocessor directives, that's not portable. 2005-03-02 12:23:20 +00:00
Alexandre Julliard beac194092 wineprefixcreate and related files need to be installed when doing an
install-lib.
2005-03-02 12:18:55 +00:00
Scott Ritchie 55f46aef73 Add all known windows executables to MIME type in wine.desktop. 2005-03-02 10:12:59 +00:00
Jeff Smith 13abcb0a26 Avoids a shift warning thrown by older versions of bash. 2005-03-01 10:38:23 +00:00
Mike McCormack fa38d5429e Dump the pidl of a lnk file. 2005-02-25 16:50:39 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Alexandre Julliard afcab24230 Removed the useless proxy.h header file.
Fixed a couple of warnings.
2005-02-23 21:03:15 +00:00
Jon Griffiths 4fb90a838b Suggest make uninstall in case the user tried make install. 2005-02-23 20:57:14 +00:00
Eric Kohl 5bed4857d5 - Add basic support for creating client and server stub files.
- Support implicit_handle attribute in IDL files.
- Build mixed-mode stub files.
2005-02-23 20:31:07 +00:00
Jon Griffiths cb613f5111 Use config.h & HAVE_ where needed, -W fixes. 2005-02-22 14:52:35 +00:00
Francois Gouget a6eecca9cf Only 'fix' the names of source files and directories (this way
documentation files are unharmed).
Better handle Makefiles generated by Winemaker. In particular, don't
rename them to makefile.win!
2005-02-21 18:29:44 +00:00
Gerald Pfeifer 153a59744e Use stdlib.h instead of non-standard malloc.h. 2005-02-18 12:57:48 +00:00
Mike McCormack f81e0b03e2 Dump out more details on the target of a link. 2005-02-18 12:53:05 +00:00
Mike McCormack 50e9c0145d Add dumping of lnk files. 2005-02-17 11:51:23 +00:00
Vincent Béron 5c837cac49 A RPC_FC_ENUM16 is a VT_USERDEFINED. 2005-02-14 11:05:41 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Marcus Meissner 87f27ffe08 Put generated import table code into .text segment. 2005-02-09 14:06:32 +00:00
Alexandre Julliard c67a307b8f Upgrade to the latest version. 2005-02-09 14:00:15 +00:00
Huw Davies 1cba04d7d6 Add support for modules. 2005-02-08 16:51:35 +00:00
Huw Davies a82b1bcfe5 Check if we've already added the ptr to iface typedesc before adding a
new one.
2005-02-08 14:27:52 +00:00
Vincent Béron df5051e925 Support some more attributes for interface properties. 2005-02-08 13:43:34 +00:00
Vincent Béron f6ff452f17 Support ATTR_READONLY for interface properties. 2005-02-08 12:56:22 +00:00
Huw Davies 13e36059a8 Add VARIANT_BOOL.
Fix CURRENCY alignment.
A function with a [retval] param has a bit set in the FKCCIC bitfield.
Two functions with the same name share the same id.
The param names of propput and propputref functions don't go into the
typelib.
2005-02-08 12:09:42 +00:00
Huw Davies c2c87daf4a Coclass support. 2005-02-03 13:34:28 +00:00
Huw Davies d33a553d63 Add support for typedefs. 2005-02-02 19:10:02 +00:00
Huw Davies 49eb0b70e5 Add support for dispinterfaces (slightly hacked because we force the
import of stdole2.tlb).
Add propputref attribute.
2005-02-01 18:48:25 +00:00
Huw Davies 13b7c5ac12 Dynamically allocate the type data storage.
Split the function and variable type data into two - this will be
needed for dispinterfaces.
2005-01-31 16:24:23 +00:00
Vincent Béron 653c05971c Check that there are some methods to iterate through before iterating
through them.
2005-01-31 11:30:26 +00:00
Alexandre Julliard 09c68d9dd5 Avoid assertion failure when loading an empty data file. 2005-01-28 14:01:55 +00:00
Huw Davies d488cb3e70 Structs with ptrs are also VT_USERDEFINED. 2005-01-28 13:59:08 +00:00
Dimitrie O. Paun 4e0c3aa551 Added a new man page for winegcc. 2005-01-28 11:32:01 +00:00
Francois Gouget da8b3dd7f2 Assorted spelling fixes. 2005-01-26 21:09:04 +00:00
Huw Davies 652ec646ad When adding an interface, midl adds the inherited interface first
unless the inherited interface doesn't itself inherit.
Fix the id, sizevft and datatype2 fields for interfaces that inherit.
Prevent a crash if the typelib is empty.
Clarify a few more entries on typelib_struct.h
2005-01-26 20:40:34 +00:00
Huw Davies 0e53bb3f7b Fix typelib only option.
Make -t and -h options inclusive.
2005-01-26 19:40:47 +00:00
Huw Davies a43a250bd1 Add enum support.
Another attempt at getting the alignment bits correct.
2005-01-25 20:02:09 +00:00
Huw Davies b9bfc8e909 Add encoding for VT_R8.
Bug fix: Initialise child_size.
2005-01-25 19:02:32 +00:00
Huw Davies 6126fc75c9 unsigned char support. 2005-01-25 16:41:12 +00:00
Huw Davies c1db191d9b Add interface inheritance. 2005-01-25 10:56:58 +00:00
Huw Davies 0a2f7e2054 Add referenced types that aren't already in the typelib. 2005-01-24 13:31:50 +00:00
Huw Davies 3387fc9077 Fix handling of void. 2005-01-24 12:41:06 +00:00
Huw Davies 2e6bd29a88 Add support for hidden and restricted function attributes.
Add support for odl interface attribute.
2005-01-24 11:27:56 +00:00
Huw Davies 8c51807ba5 Bit 0x0200 always appears to be set in the typeinfo's
typekind/alignment member.
2005-01-21 17:04:00 +00:00
Huw Davies 2573227675 [local] functions should not be written to the typelib. 2005-01-21 16:19:39 +00:00
Rémi Assailly 49a6c097b3 Small char -> const char fix. 2005-01-21 10:20:04 +00:00
Huw Davies 21842318e9 Don't set ATTR_IN or ATTR_OUT by default - this essentially reverts
rev. 1.21.  The proxy code must explicitly add these if they're
needed.
2005-01-20 20:34:08 +00:00
Huw Davies 218281c42c Better guid hash. 2005-01-20 20:33:48 +00:00
Huw Davies 18b1fe8dee MIDL adds two sets of custom data to the library: one is a timestamp
and the second is MIDL's version number.
2005-01-20 19:56:57 +00:00
Huw Davies b1a0c6c3d7 Add propget and propput function attributes.
Clarify the meaning of the FKCCIC bit field.
2005-01-19 19:08:01 +00:00
Huw Davies 2717b812dd Pad small strings out to eight bytes.
Fix 'has default values' flag.
2005-01-19 16:58:21 +00:00
Huw Davies c7c55ff33a Add a missing break to fix typeinfo version regression. 2005-01-18 11:39:31 +00:00
Huw Davies 90351160c9 Add VT_VARIANT support.
Fix for the case when there is no helpstringdll.
Fix for parameter arrays.
2005-01-17 13:41:19 +00:00
Huw Davies 55ca7eaaff Add support for BSTR default values. 2005-01-14 17:20:43 +00:00
Huw Davies ba874a31d0 Add support for interface ptrs including the special cases for
IUnknown and IDispatch.
2005-01-14 16:50:16 +00:00
Huw Davies e9ca9f1955 Better type encoding. (Interface ptrs still not there yet). 2005-01-12 19:28:59 +00:00
Francois Gouget a286c202f8 Fix dll handling.
Take DLL_PATH and LIBRARIES into account.
Simplify a check for paths that don't start with a '/'.
2005-01-11 10:39:10 +00:00
Huw Davies 989960f77f Add help* attributes for typeinfos and functions. 2005-01-11 10:38:51 +00:00
Huw Davies 635221222f Add support for the help* attributes on type libraries. 2005-01-10 16:08:36 +00:00
Huw Davies a3026ca8f9 Add support for optional arguments and some suppport for the
defaultvalue attributes.
Better calculation of the typeinfo's res3 member (at least for
interfaces).
2005-01-10 14:22:24 +00:00
Huw Davies 862e922c93 Add support for hidden, restricted and version attributes on
typeinfos.
2005-01-10 13:21:54 +00:00
Huw Davies 634693c114 Add attributes control, hidden and restricted.
Correctly set the libflags for these attributes.
2005-01-09 17:59:44 +00:00
Alexandre Julliard ca4f5faa0a Create the output directory if needed. 2005-01-07 17:17:23 +00:00
Huw Davies 346188b755 Initial support for typelib generation. 2005-01-06 20:45:21 +00:00
Vitaly Lipatov eb45ce57d7 Add VMM32Files section. 2005-01-06 20:42:10 +00:00
Justin Chevrier 01e2bdbf16 - Obtain border size of windows from registry if available.
- Obtain icon size from registry if available.
- Create a WindowMetrics section in the default registry and populate
  it with all currently supported metrics (that are setup to read from
  the registry).
2005-01-06 19:39:52 +00:00
Huw Davies 9e15a42008 Bring the debug functions into line with the rest of Wine by not
appending a '\n'.
2005-01-05 17:30:37 +00:00
Huw Davies 86fead3c25 Store interfaces, structs, coclasses and modules that are to be
written into a typelib in a list.
2005-01-05 17:12:25 +00:00
Peter Berg Larsen 87b0ac2e1f Fix a return type bug after allowing 'foo *functionname()'
prototypes. In 'unsigned char *functionname()' char was not seen;
therefore implicit 'unsigned int'.
2005-01-05 13:23:17 +00:00
Huw Davies 5c1231d2df Add the precedence of the conditional operator. 2005-01-04 20:34:05 +00:00
Mike McCormack 888c1f2da5 Extend winedump to allow dumping enhanced meta files. 2005-01-04 20:32:25 +00:00
Peter Berg Larsen 08aa87fb57 Currently a '//****' is matched as an /* comment - disallow a '/' in
front of the '/*' match. An 'extern "C" {' can be split in several
lines - allow '\n' as space, and lookout for the rest if partial
found.
2005-01-03 20:18:58 +00:00
Peter Berg Larsen 6beae245ea In function_grep.pl and symbol.c/symbol_clean_string spaces between
the function name and * are removed. Fx. the type 'void * foo()' is
returned as 'void *foo()'. Recognized this as a valid prototype in
symbol_search.
2005-01-03 20:18:23 +00:00
Peter Berg Larsen 73ef3155cf Added the word "FLOAT" to be recognized as argument type float. 2005-01-03 20:16:23 +00:00
Alexandre Julliard 42c5cde5cd Warning fixes. 2005-01-03 17:15:37 +00:00
Robert Reif 2e991c351d Added partial VxD support. 2005-01-03 14:48:49 +00:00
Jacek Caban 54cba79d64 Added optional, defaultvalue and vararg. 2005-01-03 14:26:17 +00:00
Vincent Béron 35a92e16c7 Generate only wanted files. 2004-12-27 17:13:25 +00:00
Jacek Caban 90ce00abeb Fixed defining DIIDs. 2004-12-27 17:04:00 +00:00
Francois Gouget ae8682f277 Spelling fixes. 2004-12-22 15:02:14 +00:00
Peter Berg Larsen a3c259603b Allow several -I parameters to be given - currently just the last is
used. Remove obvious wrong binaries when searching for the definition
of a functions definition. Really just strip a '.dll' extension and
not also '.dll.foorbar.spec'.
2004-12-20 16:52:26 +00:00
Peter Berg Larsen 5b2159c460 Warzone 2100 has in a header a definition that ends with a slash. As
'.' does not include '\n' winedump keeps looking ahead until eof.
2004-12-20 16:50:35 +00:00
Dmitry Timoshkov 2e3b3ca923 Allow wineprefixcreate to run to the end when configuring from the
source tree.
2004-12-16 14:22:37 +00:00
Francois Gouget 4e422766fd Use '=' instead of '==' in /bin/sh scripts to avoid portability
problems.
2004-12-14 11:39:14 +00:00
Michael Jung dc7540635e Fixed compilation with perl 5.8. 2004-12-13 12:00:59 +00:00
Jon Griffiths 95c11f2b57 Param descriptions can be >1 lines.
Allow '-' in comment names, convert it to space on display.
Allow struct members to be documented (automatically, one day).
Allow for many comments which start with "name (dll.ord)
description".
2004-12-08 13:41:00 +00:00
Paul Millar 10a6c56071 Check for features missing in mingw environment, allowing tools
subdirectory to be cross-built again.
2004-12-07 17:19:54 +00:00
Alexandre Julliard 38964fd852 Removed an unused function. 2004-12-07 14:48:46 +00:00
Eric Pouech 294835a839 Another round of const correctness fixes. 2004-12-06 20:43:55 +00:00
Eric Pouech 763aff61a0 Another couple of missing static definitions. 2004-12-06 16:44:32 +00:00
Jon Griffiths cd7534e868 Use mktemp if we don't have tempfile.
Use the installed version of fnt2bdf if present.
Quote the pattern given to `find`.
Copy the fonts to the temp working dir before processing.
Always delete the temp directory before exiting.
Install fonts compressed by default.
2004-12-02 19:52:50 +00:00
Alexandre Julliard 7bfda49772 Clean up temp files also when killed by a signal. 2004-12-02 18:22:48 +00:00
Hajime Segawa 3b322dce22 Make folders open correctly in Windows Explorer. 2004-11-28 15:01:24 +00:00
Alexandre Julliard 0bc8502390 Pass DLLFLAGS to winebuild too. 2004-11-22 19:48:10 +00:00
Steven Edwards fa9b9f5fea Define "WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600" for all
the targets.
2004-11-22 19:46:22 +00:00
Rein Klazes 2443c7f6d3 Allow negative numbers in RCDATA resources like RC.EXE does.
Fix false out of 16 bits range warning.
2004-11-22 18:15:42 +00:00
Eric Frias f23b358b0d Handle a def file where the names of the exported functions are listed
without being followed by an equals sign and an alias.
2004-11-21 15:39:51 +00:00
Eric Frias 741844c6ea Fixed error writing control IDs in dialogex on sparc. 2004-11-21 15:38:00 +00:00
Huw Davies 9e4a58136c Calculating the average width doesn't seem possible, so set it
manually instead.
Fix the copyright in wine_system.
2004-11-19 18:23:52 +00:00
Michael Jung 64dce8a579 Implemented a substantial part of rsaenh.dll. 2004-11-04 21:15:32 +00:00
Alexandre Julliard 691884b9b6 Restore chunk of code lost in previous changes. 2004-11-02 20:15:53 +00:00
Vincent Béron 1d945eaacc Put $(FREETYPELIBS) as the last part, as it can include the dir of an
older Wine install which do not have the same exports (reported by
jooke).
2004-11-01 21:06:43 +00:00
Francois Gouget bebac0a400 Alter the functions declaration order or predeclare them so perl can
check the prototypes.
2004-10-30 02:11:19 +00:00
Francois Gouget 5c033dad79 MIDL_STUB_MESSAGE.UniquePtrCount has been renamed in the latest SDK so
ignore it.
2004-10-30 02:10:22 +00:00
Francois Gouget a8b09d11ca Add function prototypes.
Change the way functions are called and either alter their declaration
order or predeclare them so perl can check the prototypes.
2004-10-26 00:12:21 +00:00
Francois Gouget d9800f9fa9 Fix string handling.
Enable perl warnings
Add a proper --help option and usage.
2004-10-25 21:50:50 +00:00
Francois Gouget 1d691d5d70 Fix the usage for non-boolean options, always print the
description. This fixes the output of 'make_filter --help'.
2004-10-25 21:50:36 +00:00
Alexandre Julliard 9a27b8b961 Get rid of this obsolete script. 2004-10-22 22:07:14 +00:00
Juan Lang 4583a10fb6 Shell registry entries are now created by shell32, don't hardcode them
in wine.inf.
2004-10-22 22:06:49 +00:00
Francois Gouget 9a910dd3e5 Add function prototypes.
Change the way functions are called and their declaration order so
perl can check the prototypes.
2004-10-22 22:05:19 +00:00
Francois Gouget b4df2417c4 Review and fix regular expressions of the form /^foo|bar$/.
Replace regular expressions with simple string comparisons where
possible.
Use '(?:subregexp)' instead of '(subregexp)' wherever possible.
'dlls/gdi' does not have a win16drv subdirectory anymore so simplify
regular expressions accordingly.
2004-10-22 19:55:42 +00:00
Francois Gouget aabbbc0c5b Standardize on '%long --pointer'.
Update it to match the latest source. Fixes many winapi_check
warnings.
2004-10-21 22:28:28 +00:00
Francois Gouget 85ae255f96 Fix some issues reported by winapi_check:
Add mscat.h and wintrust.h; update wincrypt.h.
Fix the CryptCATAdminAcquireContext() and WinVerifyTrust() prototypes
so they use the proper types.
Update the wintrust section of win32.api.
2004-10-21 21:00:29 +00:00
Francois Gouget 9c26e5ba21 Warn about implementing a -register function as stdcall. 2004-10-21 20:58:13 +00:00
Francois Gouget 66b16e01d3 Add support for include/msvcrt. Fixes a bunch of spurious warnings.
Remove kludges for kernel_private.h, gdi_private.h, ntdll_misc.h,
ts_xlib.h, x11drv.h and x11font.h. They are not needed anymore.
2004-10-21 20:57:53 +00:00
Francois Gouget 11a7b29a61 Declare DO_DUMP_FUNC() before calling it and call normally so that
perl can check its prototype.
2004-10-21 19:58:39 +00:00
Francois Gouget 0218e0af2d Strictified. 2004-10-21 19:58:25 +00:00
Francois Gouget 9c3246803b Fix the declaration of SymEnumSymbols() in dbghelp.spec.
Use PVOID instead of void* for consistency.
Update the dbghelp section in win32.api.
2004-10-21 19:57:56 +00:00
Francois Gouget 13acf0624f Make the 'wrong argument count' warning clearer when dealing with long
vs. "long long" issues.
2004-10-21 19:57:15 +00:00
Francois Gouget bd3b6967af Fix escaped quote handling in strings.
Properly handle C and C++ comment parsing.
2004-10-21 19:56:04 +00:00
Alexandre Julliard a7094d8e5a winebuild shouldn't depend on the NO_TRACE_MSGS define. 2004-10-19 23:09:02 +00:00
Rein Klazes af927f5043 Add HKLM,%Currentversion%\Setup,"BootDir" to the installation
defaults.
2004-10-19 21:09:28 +00:00
Vincent Béron 2c1b35dd17 Add some more Alpha asm code and Alpha-specific parts. 2004-10-18 21:27:52 +00:00
Jacek Caban 5c98265050 Added writing forward declaration of dispinterface. 2004-10-18 19:35:08 +00:00
Ivan Leo Puoti a89ac894ab Implement action 83 in SystemParametersInfo(). 2004-10-14 03:06:41 +00:00
Vincent Béron baeec1f404 Don't use magic sizes, actually calculate them. 2004-10-14 00:26:08 +00:00
Vincent Béron b07dec4634 Only compile BuildCallFrom16Func on x86. 2004-10-14 00:25:44 +00:00
Jacek Caban 2161b36ac4 - Added creation of dispinterface header.
- Added creation of coclass header.
- Added messages when fopen fails.
2004-10-11 19:54:37 +00:00
Steven Edwards c7545d2b1c Correctly define WINVER, _WIN32_WINNT and _WIN32_IE versions in all
cases.
2004-10-11 19:51:43 +00:00
Alexandre Julliard b4c7e6c7e2 Added --ld-cmd and --nm-cmd options in winebuild, and make winegcc
pass the proper ld command.
2004-10-08 21:11:18 +00:00
Vincent Béron c165496f01 Update types checked by winapi_check. 2004-10-08 21:02:09 +00:00
Francois Gouget 493d60fe0f Add function prototypes.
Modify function calls so the prototypes are checked.
2004-10-07 18:53:56 +00:00
Francois Gouget c4c271f1e4 The generated patch was missing a line of the diff.
genpatch was also depending on the new files being listed first by
'cvs diff' (which is the case but I'm not sure there is any hard
guarantee).
Use 'perl -w' for more checking, fix the resulting 'undefined value'
warnings. In many cases we don't just want $options{xxx} to exist, we
want it to be defined.
Restrict the scope of variables and remove unneeded variables.
2004-10-07 17:33:29 +00:00
Francois Gouget 370f220744 Don't import parse_comma_list() unless necessary.
winapi_check_options.pm: Fix typo in the parse_comma_list()
reference.
2004-10-07 04:20:41 +00:00
Francois Gouget 00033eab75 Fix an 'uninitialized value' warning. 2004-10-07 02:59:59 +00:00
Alexandre Julliard 68604dbae7 Allow defined types to be used as function names. 2004-10-06 18:54:20 +00:00
Martin Fuchs c35c48b983 Fix generation of config.h. 2004-10-06 18:52:15 +00:00
Martin Fuchs c7e467486f Fix msvcmaker imports. 2004-10-06 00:04:54 +00:00
Francois Gouget d8c96b08f3 Identify comm.drv as a 16bit dll. 2004-10-05 18:14:02 +00:00
Francois Gouget bac042c256 Limit the length of progress messages to less than $COLUMNS || 80
characters so they don't wrap (which would cause them to be badly
erased).
Make good use of the 'x', the perl string multiplication operator.
Add function prototypes.
2004-10-05 18:08:57 +00:00
Francois Gouget c2f2b990e0 Add function prototypes. 2004-10-05 18:08:40 +00:00
Alexandre Julliard d062924f66 Removed no longer needed ICOM compatibility mode in widl. 2004-10-05 04:44:20 +00:00
Alexandre Julliard 4806630104 Added support for the propget/propput function attributes. 2004-10-05 02:14:54 +00:00