Commit Graph

3180 Commits

Author SHA1 Message Date
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
Alexandre Julliard
d07f67acbc winebuild: Determine the appropriate as/ld/nm commands at the time they are needed. 2009-02-04 19:31:54 +01:00
Marcus Meissner
fc3b99b90a wrc: Free type to avoid leaks (Coverity). 2009-02-02 15:21:44 +01:00
Alexandre Julliard
3472939255 winegcc: Support -b option for cross-compiling. 2009-02-02 15:21:36 +01:00
Alexandre Julliard
9e04ecd9de winegcc: Make platform-specific behaviors depend on variables instead of #ifdefs. 2009-02-02 12:19:11 +01:00
Rob Shearman
d3085abc08 Change parameter type from size_t to SIZE_T for MIDL_user_allocate. 2009-02-02 11:55:21 +01:00
Aric Stewart
648094f119 wine.inf: Add reg.exe as a stub to system32 now that it does something. 2009-01-29 12:18:12 +01:00
Austin English
f49a8a6242 tools/wine.inf: Add a placeholder for stdole2.tlb. 2009-01-27 11:18:38 +01:00
Alexandre Julliard
d02f9d1804 widl: We need an offset after the correlation descriptor for unencapsulated unions. 2009-01-23 16:47:51 +01:00