Commit Graph

3588 Commits

Author SHA1 Message Date
André Hentschel e0dac25ba3 winegcc: Add ARM support. 2009-09-24 13:30:04 +02:00
Alexandre Julliard 14428cf22f pstorec: Add a typelib resource. 2009-09-24 13:14:55 +02:00
Alexandre Julliard 6e2babc977 oleaut32: Properly register the stdole typelibs. 2009-09-23 14:28:13 +02:00
Gerald Pfeifer bdb73f5c72 wrc: Fix eight conditions in compare_menuex_item. 2009-09-16 15:26:06 -05:00
André Hentschel d912d6fb4d winemaker: Update manpage. 2009-09-15 16:41:24 -05:00
Huw Davies d36e1cefde oledb32: Add registration routines. 2009-09-09 16:25:21 +02:00
Henri Verbeet a7b0a1cd4a widl: Generate proper prototypes for function declarations without arguments. 2009-09-09 12:06:51 +02:00
Huw Davies 6be5ab78b9 wine.inf: Register msdaps.dll. 2009-09-02 15:32:46 +02:00
André Hentschel d26857c9b4 winemaker: Update usage text. 2009-08-31 12:42:05 +02:00
André Hentschel c0bd2912db winemaker: Fix dll compiling in project files. 2009-08-31 12:42:00 +02:00
Alexandre Julliard 1f220db93e tools: Copy 16-bit font definitions to avoid including 16-bit headers. 2009-08-29 21:10:54 +02:00
Alexandre Julliard 1aea4efd79 tools: Take into account the executable extension when looking for tools in the path. 2009-08-27 13:35:50 +02:00
Francois Gouget b4e7155c1a wrc: Add a '\n' to a parser_warning() call. 2009-08-26 13:09:16 +02:00
Huw Davies b524c55021 widl: Add separate --win32-align and --win64-align options. 2009-08-25 14:56:57 +02:00
Damjan Jovanovic 616b27275c sti: Add self registration. 2009-08-24 15:17:34 +02:00
Dylan Smith ba38f219d0 tools: Detect windows platform with _WIN32 instead of _WINDOWS. 2009-08-24 15:17:34 +02:00
Alexandre Julliard 3f7d342cfa winebuild: Add win32/win64 generic architectures in addition to specific CPUs. 2009-08-24 15:17:33 +02:00
Dylan Smith 8e0b17462b makedep: Handle non-overwriting rename for Windows. 2009-08-24 15:17:33 +02:00
Huw Davies a376b86dfe widl: The alignment written for USER_MARSHAL types is the wire-type alignment. 2009-08-21 15:08:49 +02:00
Huw Davies e4e21193c0 widl: A structure that contains an embedded interface ptr in an array is a BOGUS_STRUCT. 2009-08-21 14:27:59 +02:00
Alexandre Julliard be7558fc30 wrc: Print a warning when encountering utf8 strings in non-utf8 codepage. 2009-08-20 15:33:03 +02:00
Juan Lang 1b5ea4a954 wine.inf: Add a fake DLL entry for windowscodecs.dll. 2009-08-18 11:46:22 +02:00
Alexandre Julliard b392362fd5 wine.inf: Specify the source module for 16-bit fake dlls. 2009-08-18 11:38:36 +02:00
Alexandre Julliard f78a8ceafc makefiles: Add rules for building fake modules. 2009-08-18 11:29:35 +02:00
Alexandre Julliard 2de0c16363 winegcc: Add support for building fake modules. 2009-08-18 11:26:43 +02:00
Huw Davies bbb3a85c51 widl: Add a structure packing command line option. 2009-08-17 16:48:10 +02:00
André Hentschel 4c9405a83c winemaker: Update manual. 2009-08-17 15:53:02 +02:00
Alexandre Julliard 5d3e134b17 winebuild: Add support for creating 16-bit fake dlls. 2009-08-17 13:57:49 +02:00
Alexandre Julliard 8024718c78 winebuild: Compute the resource offsets while building the resource tree for 16-bit resources. 2009-08-17 13:57:49 +02:00
Alexandre Julliard ef4a3c3c2d winebuild: Add support for creating a fake dll at compile time. 2009-08-14 14:16:38 +02:00
Alexandre Julliard 99037aa9cc winebuild: Compute the resource offsets while building the resource tree. 2009-08-14 14:11:34 +02:00
Alexandre Julliard 47497cb26a winebuild: Add helper functions for writing binary data to a file. 2009-08-14 13:59:11 +02:00
Alexandre Julliard b935cc210c winebuild: Add helper functions for reading binary data from a file. 2009-08-14 13:59:10 +02:00
André Hentschel e1e9dc398f winemaker: Put the defines in DEFINES instead of CEXTRA. 2009-08-13 16:49:47 +02:00
André Hentschel c9cea6f294 winemaker: Parse libraries of vcproj-files. 2009-08-11 13:33:31 +02:00
Alexandre Julliard 25e9e4f07b configure: Regenerate with autoconf 2.64. 2009-08-10 14:35:34 +02:00
Marcus Meissner a30625306d fnt2bdf: Fixed 2 resource leaks. 2009-08-10 13:09:49 +02:00
Marcus Meissner 39d4d12c08 wrc: Handle "no files == stdin". 2009-08-10 13:09:43 +02:00
Marcus Meissner 051535961a winebuild: Added missing close. 2009-08-10 13:09:35 +02:00
Alexandre Julliard 29cec05c6f make_makefiles: Fix handling of .mc files. 2009-08-06 17:28:13 +02:00
Andrew Nguyen 625d1e75cd wine.inf: Add a fake DLL for dinput8. 2009-08-06 17:26:29 +02:00
Austin English 0bbb924db2 wine.inf: Add HKCU\AppEvents\Schemes registry key. 2009-08-05 15:30:16 +02:00
Maarten Lankhorst 58b5a3f6be msgsm32.acm: Implement a stub dll. 2009-08-04 15:19:32 +02:00
Huw Davies 69091ef569 widl: Store the pointer description in the type rather than base type so that it gets re-written when the type is re-written. 2009-08-04 13:50:07 +02:00
Hans Leidekker c257ef317b hnetcfg: Register interfaces. 2009-08-03 17:44:55 +02:00
Austin English 1c2df36d25 wineinstall: Ask about installation before running configure. 2009-08-03 14:55:05 +02:00
Huw Davies 8d8bef944d include: Add crtrow.idl. 2009-07-23 13:28:05 +02:00
Huw Davies d328e9a14a include: Add binres.idl. 2009-07-23 13:27:45 +02:00
Huw Davies f80c419585 include: Add sesprp.idl. 2009-07-23 13:26:52 +02:00
Huw Davies 50c43ed868 include: Add dbdsad.idl. 2009-07-23 13:26:17 +02:00
Huw Davies 3eb5e861d8 include: Add opnrst.idl. 2009-07-23 11:26:22 +02:00
Huw Davies 659070ec3a include: Add dbcses.idl. 2009-07-23 11:25:42 +02:00
Huw Davies 74b2ba2ef3 include: Add dbccmd.idl. 2009-07-23 11:25:19 +02:00
Marcus Meissner 29bdb32592 wmc: Duplicate wine_cp_wcstombs check here too (Coverity). 2009-07-20 12:19:24 +02:00
Alexandre Julliard fc8c8a5251 wrc: Report an error when encountering non-ASCII characters. 2009-07-16 11:15:15 +02:00
Alexandre Julliard 5d56995696 wrc: Avoid a crash if a file didn't contain any resources. 2009-07-16 11:15:00 +02:00
Hans Leidekker 8013e45e4c wmiutils: Register interfaces. 2009-07-14 15:15:45 +02:00
Hans Leidekker a4717d0d4c wbemprox: Register interfaces. 2009-07-14 15:13:34 +02:00
Alexandre Julliard f21eab1101 widl: Take into account the alignment of conformant arrays to pad a structure. 2009-07-13 09:23:06 +02:00
Alexandre Julliard 52f81c12db wmc: Add support for utf-8 codepage. 2009-07-10 13:07:33 +02:00
Michael Stefaniuc d67a9d92ea wrc: Reset the language before processing multiple rc files. 2009-07-10 12:24:09 +02:00
Francois Gouget 8890282ac0 winapi/c_parser: Remove special cases for DEFINE_SHLGUID() and ICOM_DEFINE().
These macros don't exist anymore.
2009-07-09 14:51:26 +02:00
Francois Gouget 8c1bf48fbf winapi/c_parser: Badly indenting a closing brace should be a warning, not an error. 2009-07-09 14:51:21 +02:00
Alexandre Julliard ae1afb82d2 winetest: Create a separate resource file with the SHA1 build id. 2009-07-09 12:54:39 +02:00
Alexandre Julliard f0ea22ba87 winebuild: Dump resource data as dwords to reduce the output file size. 2009-07-09 12:54:16 +02:00
Francois Gouget def8d4f401 winapi: Modify parse_c_typedef() to get rid of the $finished variable. 2009-07-09 11:37:44 +02:00
Francois Gouget 6f5ae45846 winapi: Introduce a pseudo-loop in parse_c_variable() to get rid of the $finished variable. 2009-07-09 11:37:42 +02:00
Francois Gouget a4ed46d398 winapi: Simplify and improve the readability of the C parsers.
Specifically, clean up parameter passing, and remove unneeded
intermediate variable references.  Remove uninformative comments.
2009-07-06 14:35:27 +02:00
Alexandre Julliard 0dc951694b winetest: Build exe resources as separate .res files. 2009-07-06 14:33:32 +02:00
Alexandre Julliard 56af92b073 makefiles: Regenerate the source lists using make_makefiles. 2009-07-03 13:26:38 +02:00
Alexandre Julliard 88b74519ae make_makefiles: Automatically update the source lists in the individual makefiles. 2009-07-03 13:26:01 +02:00
Alexandre Julliard d375d25d65 widl: An ENUM16 is 32-bit wide in memory. 2009-07-03 13:06:14 +02:00
Alexandre Julliard f6d2b49145 widl: Take into account structure field alignment when computing offsets. 2009-07-03 13:05:52 +02:00
Alexandre Julliard 064775c9a0 widl: Struct alignment should be the largest alignment of all the struct members. 2009-07-03 13:05:52 +02:00
Alexandre Julliard fc7681a8ce widl: Skip the existing correlation descriptor on unencapsulated unions when generating a different one. 2009-07-03 13:05:52 +02:00
Alexandre Julliard 7798aed2cf winebuild: Don't try to output 32-bit resources when building a 16-bit wrapper dll. 2009-06-30 12:44:59 +02:00
Francois Gouget 73b0f65177 makedep: Add support for multiple object file extensions. 2009-06-30 12:39:32 +02:00
Vincent Povirk b01c652d4b windowscodecs: Add stub implementation of IWICImagingFactory. 2009-06-29 14:20:13 +02:00
Eric Pouech a9c7612d4c winedump: Added reference for MSVC 8. 2009-06-29 13:14:09 +02:00
Alexandre Julliard 56a92c25b6 winegcc: Pass all option flags to winebuild before non-options filenames. 2009-06-29 13:13:25 +02:00
Alexandre Julliard 683dc30e82 wrc: Clean up command line parsing for multiple files support. 2009-06-29 13:12:59 +02:00
Stefan Dösinger 07e835fffb winebuild: Open resource files in binary mode. 2009-06-26 12:01:27 +02:00
Damjan Jovanovic fe1cc32721 wine.inf: Run winemenubuilder to delete menus on startup. 2009-06-26 12:00:12 +02:00
Alexandre Julliard 1405c00ecb wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions. 2009-06-23 15:53:01 +02:00
Alexandre Julliard 2189b101de winebuild: Enforce header size alignment when outputting resources. 2009-06-23 15:53:00 +02:00
Alexandre Julliard e25bc79da1 wrc: Add support for loading multiple input files at once. 2009-06-22 12:23:39 +02:00
Alexandre Julliard 6cf96bf940 winebuild: Add possibility to generate a global resource file without running it through windres. 2009-06-22 11:46:33 +02:00
Alexandre Julliard c152b4e7d1 include: Add a target address for unwinding for platforms that need it. 2009-06-18 15:17:26 +02:00
Huw Davies a6181cb3b2 tools/widl: Fix behaviour when both lcid and retval arguments are present. 2009-06-17 17:23:21 +02:00
Alexandre Julliard 7b08604778 winegcc: Add support for the -Wl,--large-address-aware option. 2009-06-17 17:23:20 +02:00
Alexandre Julliard fec5f5cf1f winebuild: Implement a --large-address-aware flag. 2009-06-17 17:23:20 +02:00
Austin English 2deeb1c736 wine.inf: Add placeholder exe for wordpad.exe. 2009-06-17 12:43:56 +02:00
Austin English 51922e3fa7 wine.inf: Fix incorrect entry for hh.exe. 2009-06-17 12:43:49 +02:00
Alexandre Julliard 873e027e01 winebuild: Add unwind annotations to all the generated functions for x86_64. 2009-06-16 14:26:51 +02:00
Francois Gouget b3a5755310 winapi: Fix a $blevel / $plevel mismatch. 2009-06-16 13:26:20 +02:00
Francois Gouget dcfd048e2c winapi/c_parser: Remove some dead code. 2009-06-15 13:42:29 +02:00
Damjan Jovanovic bd623c2b79 wine.inf: Update file type associations on startup. 2009-06-12 11:59:58 +02:00
Dmitry Timoshkov 10ccf1d4a6 wine.inf: Add kernel32.48/kernel32.49 (ReleaseThunkLock/RestoreThunkLock) to the RelayExclude list. 2009-06-11 17:36:38 +02:00
Austin English ea09e4afe8 wine.desktop: Allow start to execute lnk files. 2009-06-11 11:53:54 +02:00
Alexandre Julliard e00b4582a1 winebuild: Properly restore %rax and %rbx in call_from_regs on x86_64. 2009-06-10 13:22:04 +02:00
Huw Davies 7857219ac1 widl: Fix typelib lcid fields to match those produced by midl. 2009-06-09 17:01:15 +02:00
Alexandre Julliard d88f9e3cd9 widl: Don't make the proxy virtual tables const if they use delegation. 2009-06-09 17:01:07 +02:00
Huw Davies 81b2c9eb85 widl: Add support for the lcid parameter attribute. 2009-06-08 15:39:14 +02:00
Stefan Stranz c89c2dd4c5 c2man: Add xml documentation creation. 2009-06-08 15:38:35 +02:00
Marcus Meissner 6a9e096da9 widl: ifdef some not always present LANG_*. 2009-06-08 13:19:06 +02:00
Marcus Meissner 18738cf89d winegcc: Free two new strlists (Coverity). 2009-06-05 15:19:57 +02:00
Alexandre Julliard 22fef33352 winegcc: Create a stub main to work around the lack of Unicode support in Mingw. 2009-06-05 15:19:57 +02:00
Alexandre Julliard 284438dc71 winegcc: Link against winecrt0 for the Mingw build too. 2009-06-05 15:19:57 +02:00
Francois Gouget 7b1158116b winapi_extract: The old C parser is not needed anymore so remove it. 2009-06-03 11:26:20 +02:00
Francois Gouget 0ab4df02d6 winapi_extract: --spec-files has been broken for a long time and does not seem to be useful so remove it. 2009-06-03 11:26:11 +02:00
Alexandre Julliard 9e96918cf7 winegcc: Transparently compile resource files for the Windows build. 2009-06-02 14:25:16 +02:00
Alexandre Julliard e112286366 winebuild: Add detection of duplicate resources. 2009-06-02 14:25:01 +02:00
Alexandre Julliard a328834f5b winebuild: Add a --resources mode that compiles multiple resource files into a single object. 2009-06-02 13:20:43 +02:00
André Hentschel 89ec1f185c winemaker: Port vcproject parser from XML-Simple to libXML. 2009-06-02 13:10:06 +02:00
Vitaliy Margolen 1e4b401a98 winecfg: Update WinXP version to SP3. 2009-06-01 16:16:02 +02:00
Alexandre Julliard 6f74b45a81 winegcc: Add support for building PE executables using Mingw. 2009-06-01 16:15:53 +02:00
Alexandre Julliard bcc1379bda winegcc: Add support for the --sysroot option to allow out-of-tree cross-compiling. 2009-05-30 15:20:14 +02:00
Alexandre Julliard b09418b5d2 winegcc: Don't pass the as/ld/nm tool names to winebuild. 2009-05-30 13:03:20 +02:00
Alexandre Julliard a4b314f482 tools: Upgrade the config.guess/config.sub scripts. 2009-05-29 12:31:13 +02:00
Alexandre Julliard 23fd37528c winedump: Fix a printf format warning on 64-bit. 2009-05-28 15:23:24 +02:00
Daniel Santos 0ea28a649b make_requests: Correct comment in header (minor patch). 2009-05-26 14:25:12 +02:00
Francois Gouget fb9e4afd88 winapi_cleanup: There is not much point for this tool so remove it. 2009-05-26 13:50:25 +02:00
Francois Gouget a5924303af winapi_fixup: There is not much point for this tool so remove it. 2009-05-26 13:50:18 +02:00
Alexandre Julliard f914b57277 widl: Add support for standard target options to allow building the right typelib kind when cross-compiling. 2009-05-21 16:17:50 +02:00
Alexandre Julliard b3a0833972 widl: Add support for writing 64-bit format typelibs. 2009-05-21 16:17:50 +02:00
André Hentschel abc68c1ca7 winemaker: Read the includes of a dsp project file. 2009-05-20 11:08:54 +02:00
Paul Vriens 4626308a2b wine.inf: Set the correct initial service pack information. 2009-05-19 11:25:09 +02:00
Francois Gouget d537476894 winapi_test: Simplify the code that builds the list of headers to process. 2009-05-18 12:32:20 +02:00
Dmitry Timoshkov 60482be24b winedump: Add an ability to dump font files. 2009-05-11 15:57:13 +02:00
Dmitry Timoshkov 65dbecbb5a sfnt2fnt: Take into account external leading when calculating the font point size.
This makes the dfPoints field of the Japanese System font match the Windows one.
2009-05-11 15:56:54 +02:00
Austin English 285572fd57 winedump: Sign compare fixes. 2009-05-08 14:30:44 +02:00
Alexandre Julliard b46be0be7d winapi: Handle types should be treated as pointers. 2009-05-06 13:44:54 +02:00
Alexandre Julliard 8ad9457fca winedump: Add dumping of x86_64 exception tables. 2009-05-06 12:06:24 +02:00
Ken Thomases 0e0e918f0f winebuild: On Mac OS X, use -arch option to control output of "ld" and "as". 2009-05-04 12:51:38 +02:00
Ken Thomases 81d1d8e355 winegcc: Recognize '-arch <arch>' as a compiler and linker option.
The dev tools on Mac OS X takes this option to dictate the output architecture.
(Gcc still accepts -m32 and -m64, as well, but "ld" and "as" do not.)
2009-05-04 12:51:34 +02:00
Alexandre Julliard 880d00fb43 winebuild: Use iretq on x86_64 to restore more system registers and flags. 2009-05-01 18:03:23 +02:00
André Hentschel 925b1448bc winemaker: Remove unnecessary quote filtering. 2009-05-01 13:13:41 +02:00
André Hentschel 5b4b4955be winemaker: Update manpage. 2009-05-01 13:13:36 +02:00
André Hentschel 2100cb6196 winemaker: Make winemaker 64-bit ready. 2009-05-01 13:13:17 +02:00
Damjan Jovanovic 6144104f24 wine.inf: Add more file type descriptions. 2009-05-01 13:11:32 +02:00
Scott Ritchie 859fe2a7cb wine.desktop: Reduce MIME types to application/x-ms-dos-executable and application/x-msi. 2009-05-01 13:11:26 +02:00
André Hentschel a021e836ad winemaker: Ignore quotes in source filenames. 2009-04-30 12:47:07 +02:00
André Hentschel dc31d87082 winemaker: Add often used negative optimization. 2009-04-27 14:58:01 +02:00
André Hentschel e1cdd9778f winemaker: Fix optimizations. 2009-04-27 14:57:54 +02:00
André Hentschel 1199d05d59 winemaker: Fix project file path parsing. 2009-04-27 14:57:50 +02:00
André Hentschel 70fbe9770a winemaker: Fix path handling for Current Working Directory. 2009-04-27 14:57:42 +02:00
André Hentschel 6a5be43650 winemaker: Canonicalize directory name if used as target name. 2009-04-24 15:51:27 +02:00
André Hentschel 0c53d2ef0d winemaker: Print all copyrights in banner. 2009-04-24 15:51:01 +02:00
André Hentschel f711704cc8 winemaker: Print version in Makefile header. 2009-04-24 15:50:56 +02:00
André Hentschel e8a5325196 winemaker: Remove unused function. 2009-04-23 18:14:26 +02:00
André Hentschel 7a0f61191a winemaker: Parse include dirs from vcproj file. 2009-04-22 14:42:28 +02:00
André Hentschel 868547c932 winemaker: Fix wrong place for case-check. 2009-04-22 14:42:19 +02:00
André Hentschel b09d6d0819 winemaker: Fix whitespace handling for libs. 2009-04-22 14:42:14 +02:00
Christian Costa d5f3d6f759 winedump: When generating preamble, use 4 spaces instead of tabs. Remove extra break. 2009-04-21 14:32:26 +02:00
Hans Leidekker 6137b1ba2d programs: Add stub termsv.exe. 2009-04-20 16:56:13 +02:00
Francois Gouget dbfe7b7b68 winapi: Fix the C-parser combined getter/setter prototypes. 2009-04-20 15:26:35 +02:00
Francois Gouget 9bdde98ab6 winapi: Remove some dead code. 2009-04-20 15:26:07 +02:00
Francois Gouget 55cd3433ac winapi: trampoline is not used so remove it. 2009-04-20 15:26:02 +02:00
Francois Gouget 0dd5c442c1 winapi: Fix the parse_c_declaration() prototype and remove unused variables. 2009-04-20 15:25:36 +02:00
Francois Gouget f8ae6d6407 winapi: parse_c_declarations() is not used. Remove it. 2009-04-20 15:25:31 +02:00
André Hentschel 9312ff52e0 winemaker: Add -m32 flag to support winegcc-changes. 2009-04-20 14:12:16 +02:00
Alexandre Julliard 6fb1d75239 c2man: Fix the array reference syntax and the return value regexps. 2009-04-10 19:52:04 +02:00
Hans Leidekker 8320686fb2 wine.inf: Register msctf classes. 2009-04-10 14:44:41 +02:00
Alexandre Julliard b374e7e36e winebuild: Don't include any Windows header to avoid data types dependencies. 2009-04-09 20:58:43 +02:00
Alexandre Julliard 89f6bc2ef4 winebuild: Hardcode the stack frame offsets instead of using the data structures. 2009-04-09 20:30:10 +02:00
Alexandre Julliard d71284f0b4 winebuild: Hardcode the i386 register context offsets instead of using the data structure. 2009-04-09 20:01:56 +02:00
Alexandre Julliard 53929f1906 server: Make all dump function take a prefix string to simplify the tracing code. 2009-04-08 17:31:05 +02:00
Alexandre Julliard 653d2c4a8d server: Store the type of CPU that the client is running on. 2009-04-03 14:49:10 +02:00
André Hentschel 8f74c2b1a7 winemaker: Update man page. 2009-04-03 13:00:28 +02:00
André Hentschel df5c4178a8 winemaker: Add workspace-parse function. 2009-04-03 13:00:12 +02:00
André Hentschel dc21b4f613 winemaker: Add project-parse function. 2009-04-03 13:00:01 +02:00
André Hentschel 47b1bffd02 winemaker: winresrc.h is the right name. 2009-04-03 12:58:40 +02:00
Rob Shearman 0a8e3c39a1 widl: Include the version number in the __WIDL__ preprocessor definition. 2009-03-26 16:10:41 +01:00
Alexandre Julliard cdad788d33 winebuild: Skip non-functions when building the undefined exports file. 2009-03-25 13:27:27 +01:00
Austin English 0aebd4f300 winegcc: Fix a compiler warning on PC-BSD. 2009-03-24 13:54:09 +01:00
Alexandre Julliard e9ef9911d0 winebuild: Make sure main module is properly initialized. 2009-03-24 11:50:13 +01:00
Andrew Nguyen 61d44a30ca wine.inf: Add entry for fake ddeml.dll. 2009-03-23 18:21:06 +01:00
James Hawkins 665a0424cd winebuild: Document the correlation of spec->ordinals and spec->limit with an assertion (Coverity 902). 2009-03-23 18:21:06 +01:00
Rob Shearman d38cc9acbc widl: Initialise ref pointers to basic and enum types to 0 in generated server code.
Previously it was only done for pointers.
2009-03-23 14:23:19 +01:00
Rob Shearman 48a5db074b widl: Output correct code for freeing of conformant-sized and non-conformant strings.
_StubMsg.pfnFree should be used instead of NdrPointerFree for
conformant-sized strings since the buffer will have been allocated
using NdrAllocate.

Non-conformant strings do not need any freeing since they use a buffer
that is allocated on the stack.
2009-03-23 14:22:41 +01:00
Rob Shearman 12b23fa220 widl: Check the attributes applied to function declarations. 2009-03-23 14:22:23 +01:00
Alexandre Julliard a37d88973c make_makefiles: Automatically disable 16-bit modules if enable_win16 isn't set. 2009-03-13 13:21:02 +01:00
Michael Stefaniuc efbb4ebf3e widl: Output "LONG" instead of "long" for a 32bit integer.
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Alexandre Julliard 3df2c88dcb wine.inf: Fix typo in the shift_jis entry. 2009-03-12 13:09:54 +01:00
Denis Baranov 6021a73c02 wine.inf: Add registry branch HKEY_CLASSES_ROOT\MIME\Database\Charset. 2009-03-11 13:49:07 +01:00
Rob Shearman 8cdda26897 widl: Returned pointers should default to being unique, not reference. 2009-03-11 10:29:20 +01:00
Rob Shearman 728a738a82 widl: Move type_basic_get_fc to typegen.c and rename it to get_basic_fc.
Move to using type_basic_get_type in other files where appropriate.
2009-03-09 12:14:35 +01:00
Rob Shearman 630b48941f widl: Fix a memory leak in the server/stub code when unmarshalling pointers to strings at the top level.
It is necessary for the first pointer to have an offset to a second
pointer instead of directly to the string type, since the second
pointer frees the memory for the string.
2009-03-09 12:13:53 +01:00
Rob Shearman f170f9b5d5 widl: Output server code for freeing returned types. 2009-03-09 12:12:57 +01:00
Rob Shearman 23673ca373 widl: Determine pointer fc at generation time instead of at parse time.
Avoid changing the details of a pointer once created.
Properly determine the pointer type for arrays.
2009-03-09 12:09:39 +01:00
Rob Shearman f8e36ab4ab widl: Consolidate non-simple pointer writing into one function. 2009-03-09 12:08:57 +01:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Francois Gouget 6724655a57 fnt2bdf: Remove spaces before '\n's. 2009-03-09 12:05:35 +01:00
Rob Shearman a8238dd142 widl: Pass var attrs into write_no_repeat_pointer_descriptions and use them for the string check. 2009-03-05 18:39:02 +01:00
Rob Shearman 9d878f220b widl: Add coclass and module types to the global namespace. 2009-03-05 18:39:02 +01:00
Rob Shearman 13c3967522 widl: Move type_new_enum, type_new_struct, type_new_encapsulated_union and type_new_unencapsulated_union to typetree.c. 2009-03-05 18:39:02 +01:00
Rob Shearman 7c711d0736 widl: Allow enum and union tags to be used without being defined. 2009-03-05 18:39:02 +01:00
Rob Shearman 4866026d7f widl: Move the pointer referent, array element, function return type and interface inheritance properties from type_t to details structures for the appropriate types. 2009-03-05 18:39:02 +01:00
Rob Shearman 277e0617d5 widl: Store the abstract identifier of the type in type object instead of an NDR format character. 2009-03-05 18:39:02 +01:00
Rob Shearman b7dd838136 widl: Remove the single keyword and type.
It isn't valid in MIDL or the FreeDCE IDL compiler, nor does it appear
in the DCE/RPC or C99 specs.
2009-03-05 18:39:02 +01:00
Rob Shearman 319a7a102e widl: Implement a more abstract way of representing basic types. 2009-03-05 18:38:45 +01:00
Rob Shearman 0be9d2595d widl: Fix get_explicit_generic_handle_type and is_context_handle to detect attributes set on typedefs other than the first.
Change get_explicit_handle_var to use accessors for the type structure.
2009-03-05 16:34:00 +01:00
Rob Shearman 7e08ff27c2 widl: Move declarray property to array_details.
Invert the property since an array being declared as a pointer is more
surprising than an array being declared as an array.

Provide an accessor, type_array_is_decl_as_ptr.
2009-03-05 16:34:00 +01:00
Alexandre Julliard 49d2c208d8 winebuild: Ignore 16-bit absolute exports when checking for undefined symbols. 2009-03-04 14:08:35 +01:00
Alexandre Julliard a82ce66048 winebuild: Support the --main-module option for stand-alone 16-bit modules. 2009-03-04 14:08:23 +01:00
Alexandre Julliard fda642d075 winebuild: Don't output the relay table if no entry point needs it. 2009-03-04 14:07:49 +01:00
Christian Costa 0faa6ab7da wine.inf: Use 32-bit version of MCI DirectShow driver. 2009-03-04 11:48:12 +01:00
Alexandre Julliard b2575ebab6 winebuild: Don't prefix local symbols with an underscore. 2009-02-27 17:43:19 +01:00
Alexandre Julliard 5599ac22c7 winebuild: Add support for generating stand-alone 16-bit modules.
This is done by wrapping them inside an empty 32-bit module.
2009-02-26 13:22:47 +01:00
Alexandre Julliard ddc8941d1c winebuild: Allow the module entry point to be NULL. 2009-02-26 12:38:37 +01:00
Alexandre Julliard 445047a97e winebuild: Make the 16-bit DOS header a local symbol. 2009-02-26 12:38:37 +01:00
Alexandre Julliard 65c6ca5947 programs: Get rid of the remaining binary wrappers, they break out-of-tree builds. 2009-02-25 16:06:22 +01:00
Francois Gouget 786a2cda64 winemaker: Fix handling of the global settings specified on the command line.
Now that we no longer have a global Make.rules file, include them in 
each Makefile.
2009-02-25 12:49:01 +01:00
Francois Gouget d4fddfb4bc winemaker: Fix invalid usage of {open,close}dir() in fix_file_and_directory_names(). .
Reuse our caching mechanism (get_directory_contents()), but clear the 
cache if we have modified a directory's content.
2009-02-25 12:48:53 +01:00
Vincent Povirk a2ca48127b wine.inf: Create a fake mapi32.dll. 2009-02-25 12:37:05 +01:00
Rob Shearman f27261e525 widl: Only classify top-level pointers as ref pointers if they don't have any other pointer attributes. 2009-02-25 11:54:31 +01:00
Rob Shearman a93f531c21 widl: Ignore pointer attributes applied to interface pointers.
Print a warning if a pointer attribute is specified since the
generated code won't do what the developer expects.
2009-02-25 11:54:26 +01:00
Paul Bryan Roberts 3e50aaf201 makedep: Let umask decide mode for makefiles. 2009-02-24 16:57:27 +01:00
Francois Gouget 44eb0090d7 make_makefiles: Add 'use strict'. 2009-02-24 16:57:26 +01:00
Alexandre Julliard f0daa7e9b0 winegcc: Allow creating an executable with an arbitrary extension. 2009-02-24 16:57:25 +01:00
Alexandre Julliard a6b91685b7 programs: Only create executable wrappers for programs that get installed in the bin directory. 2009-02-24 16:56:57 +01:00
Rob Shearman 2c6e611c8a widl: Add typegen_detect_type and use it.
Add typegen_detect_type for detecting types useful during
client/server/proxy code generation.
2009-02-23 15:25:57 +01:00
Rob Shearman af0800729b widl: Use type_get_type to determine the types of types during C client, server and proxy code generation. 2009-02-23 15:25:53 +01:00
Rob Shearman 28a2c06cf7 widl: Use type_get_type to determine the types of types during typelib generation. 2009-02-23 15:25:47 +01:00
Rob Shearman 0f7f7922ba widl: Use type_get_type to determine the types of types during parsing and checking. 2009-02-23 15:25:44 +01:00
Rob Shearman d854f32283 widl: Use type_get_type to determine the types of types during header writing. 2009-02-23 15:25:30 +01:00
Rob Shearman fb934347b4 widl: Use type_get_type to determine the types during statement enumeration. 2009-02-23 15:25:20 +01:00
Rob Shearman ba91ee607c widl: Don't directly access the type structure when determining the types in expressions.
Use type_get_type and friends instead.
2009-02-23 15:25:10 +01:00
Rob Shearman 944f22db80 widl: Fix typos in write_remoting_arg which caused ref pointers to unions to not result in direct calls to NonEncapsulatedUnion/EncapsulatedUnion functions. 2009-02-19 12:51:40 +01:00
Alexandre Julliard 2274fc1ade makefiles: Do not install progman, uninstaller and winebrowser in the bin directory. 2009-02-17 12:46:08 +01:00
Alexandre Julliard cf63bb880e wrc: Print better error messages for functions that set errno. 2009-02-16 15:35:15 +01:00
Rob Shearman 04484a4013 widl: Call Pointer function for freeing non-conformant strings and for all phases for returned non-conformant strings, as is done for conformant strings.
Also call Pointer functions for any string that isn't a reference pointer.
2009-02-16 15:35:14 +01:00
Rob Shearman 8f87eddd39 widl: Only duplicate a type if absolutely necessary.
Document how much of hack duplicating a type in order to change its
pointer type is.
2009-02-16 15:35:14 +01:00
Rob Shearman e054c52cd1 widl: Call Struct and Union phase functions for reference pointers to structures and unions.
It's slightly quicker than calling pointer phase functions and does
the same job.
2009-02-16 15:35:14 +01:00
Rob Shearman 47c82ac472 widl: Fix marshalling/unmarshalling of enum arguments.
The generated code should use NdrSimpleType{Marshall,Unmarshall} instead
of direct buffer access, since the memory size isn't always equal to
the size on the wire and extra checks.
2009-02-16 15:35:14 +01:00
Michael Stefaniuc 2b066327ec tools: Remove unused alloca.h include. 2009-02-13 13:00:02 +01:00
Alexandre Julliard b58ef6bff6 winegcc: Hardcode the various gcc tool names when cross-compiling. 2009-02-12 11:41:56 +01:00
Francois Gouget 467691d3a0 winapi_test: Improve the usage message. 2009-02-11 15:56:02 +01:00
Marcus Meissner fbcc18754d winegcc: Added some strarray_free() (Coverity). 2009-02-11 15:56:02 +01:00
Alexandre Julliard 20e4cb98a7 widl: Change write_type_def_or_decl and write_type_decl to take an argument name instead of a printf format. 2009-02-10 12:32:36 +01:00
Alexandre Julliard a5947ffcd1 winegcc: Don't pass the as/ld/nm commands to winebuild.
winebuild should be able to find them on its own.
2009-02-06 20:35:56 +01:00
Alexandre Julliard 25624b677d widl: Print all NdrFcShort parameters as shorts to avoid warnings for negative values. 2009-02-06 14:54:03 +01:00
Alexandre Julliard fcc096083f widl: Add printf format attribute on all printf-like functions and fix resulting warnings. 2009-02-06 14:54:03 +01:00
Alexandre Julliard ef6971da40 widl: Replace unsigned long and size_t by unsigned int where appropriate. 2009-02-06 14:54:03 +01:00
Alexandre Julliard 844c8a1804 widl: Add a dummy reference to the filter function to avoid a warning. 2009-02-06 14:54:02 +01:00
Alexandre Julliard a0fb6246c0 widl: Avoid using GetExceptionCode outside of an exception handler. 2009-02-06 14:54:02 +01:00
André Hentschel 8052c1a230 winemaker: Add odbccp32 to default link list. 2009-02-06 13:03:27 +01:00
Alexandre Julliard 64e43b6192 winegcc: Pass the -m32/-m64 options to winebuild too. 2009-02-04 20:10:49 +01:00
Alexandre Julliard dca163290d winebuild: Search for the as/ld/nm tools in the PATH under various names. 2009-02-04 19:37:13 +01:00
Alexandre Julliard 0e954b14eb winebuild: Append the correct options for as and ld when forcing a 32/64-bit build. 2009-02-04 19:33:49 +01:00