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
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
Austin English
e5418e194a
widl: Fix a compiler warning.
2009-01-20 12:30:50 +01:00
Alexandre Julliard
913e792b57
server: Store process/thread affinity as a 64-bit value.
2009-01-19 14:15:51 +01:00
Alexandre Julliard
7f1dc355ec
server: Generate padding in request structures from make_requests.
...
Add compile-time asserts to check that the structures have the expected layout.
2009-01-19 14:01:39 +01:00
Rob Shearman
28ee1ee90f
widl: Add new type_get_type and type_get_real_type_type functions.
...
Use these to implement a few helper functions. Change the type
verification in type accessor functions to use these new functions.
2009-01-19 13:36:26 +01:00
Rob Shearman
bdb1321544
widl: Add a new function, type_alias_get_aliasee to wrap the retrieval of the type that the alias aliases.
2009-01-19 13:36:26 +01:00
Henri Verbeet
43f469ec6a
d3d10core: Implement device_parent_CreateSurface().
2009-01-19 13:36:25 +01:00
Alexandre Julliard
07f77c4148
winebuild: Add -m32/-m64 options to allow 32/64-bit cross-compiles.
2009-01-15 21:17:51 +01:00
Francois Gouget
a17f48219a
widl: Add a trailing '\n' to an error() message.
2009-01-14 14:52:21 +01:00
Alexandre Julliard
034a7f8849
winebuild: Add -b as a short option for --target for gcc compatibility.
2009-01-14 12:52:53 +01:00
Dmitry Timoshkov
c34b64d6d9
wrc: Warn for duplicate dialog ids.
2009-01-14 12:22:40 +01:00
Michael Karcher
1c56d293f0
widl: Dereference operator in expr works on any declared pointer.
2009-01-12 16:53:18 +01:00
Michael Karcher
f80e4aa9d2
widl: Don't forget conformance info on [iid_is] void pointers.
2009-01-12 16:53:18 +01:00
Michael Karcher
8092e85ece
widl: Fix handling of [local] functions without [call_as].
2009-01-12 16:53:18 +01:00
Alexandre Julliard
c31a36412c
makedep: Copy the makefile to append dependencies instead of truncating in place.
2009-01-12 14:43:15 +01:00
Andrey Turkin
a0f681ad4c
ntoskrnl: Add version resource.
2009-01-12 14:37:40 +01:00
Michael Stefaniuc
9192297345
widl: Move "inline" right after the storage class specifier.
2009-01-10 17:43:11 +01:00
Michael Karcher
656de48e4e
widl: Write struct fields as signed fields.
2009-01-08 14:11:35 +01:00
Michael Karcher
5f7886925d
widl: Make write_base_type take a format char instead of a type desc ptr.
2009-01-08 14:05:00 +01:00
Francois Gouget
581e390115
winapi_test: The tests don't support WIN64 yet so disable them there.
2009-01-08 12:47:22 +01:00
Francois Gouget
411f5d22c0
winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong.
2009-01-08 12:46:39 +01:00
Francois Gouget
9f62c9b7a8
winapi_test: Fix TEST_FIELD() so it correctly tests the field size.
2009-01-08 12:44:49 +01:00
Francois Gouget
43c18c1321
winapi_test: FIELD_ALIGNMENT() is redundant so remove it.
2009-01-08 12:43:15 +01:00
Francois Gouget
2e668d2572
winapi_test: Updated so the generated tests work.
2009-01-08 12:42:12 +01:00
Rob Shearman
1d8dbeff9a
widl: Make the case of messages output by warning and error functions consistent.
...
Standardise on lower case "warning" and "error", since they match the
case of what gcc prints.
2009-01-07 14:41:31 +01:00
Damjan Jovanovic
3613b15785
winex11: Support the startup notification fd.o spec.
2009-01-07 14:17:46 +01:00
Rob Shearman
77228b52e6
widl: Determine the type of an array entirely at code generation time instead of at parse time.
...
Previously, this was done partially (for fixed array types only).
2009-01-07 12:27:14 +01:00
Alexandre Julliard
465ddc51dc
winebuild: Implement register entry points for x86_64.
2009-01-06 17:01:44 +01:00
Alexandre Julliard
83fc73395d
winedump: Implement dumping of relocations.
2009-01-06 15:11:47 +01:00
Alexandre Julliard
d6617258b7
winedump: List exported functions sorted by ordinal.
2009-01-06 15:11:06 +01:00
Rob Shearman
8a976a7d78
widl: Replace uses of get_func_return_type with type_function_get_rettype.
...
Also replace direct accesses into the type structure to get the return
type of a function with the same function.
2009-01-06 14:36:25 +01:00
Rob Shearman
9b139018cf
widl: Add new function, type_iface_get_stmts.
...
Use it to retrieve statements contained in interface types.
2009-01-06 12:58:41 +01:00
Rob Shearman
8fc59d0ead
widl: Add a new function, type_iface_get_inherit.
...
Use it for retrieving the parent interface for interfaces.
2009-01-06 12:58:33 +01:00
Rob Shearman
67ac03ae4e
widl: Add a new function, type_pointer_get_ref.
...
Use it for retrieving the type that a pointer refers to.
2009-01-06 12:58:25 +01:00
Rob Shearman
2b87d269e1
widl: Add a new function, type_array_get_element.
...
Use it whenever retrieving the element type of an array.
2009-01-06 12:58:13 +01:00
Rob Shearman
8a42bc1f7b
widl: Move the ifaces field of the type_t structure to coclass details.
2009-01-06 12:58:01 +01:00
Rob Shearman
83b1f08117
widl: Add function for getting the interfaces defined by a coclass type.
...
Split out the defining of coclass types in the parser into a function.
2009-01-06 12:57:56 +01:00
Rob Shearman
1f519e17cc
widl: Don't store typelib kind information in the type structure.
...
It can trivially be derived from the type field now.
2009-01-06 12:57:31 +01:00
Rob Shearman
64520ecdc7
widl: Move creation of module type into a separate function, type_new_module and give it a special FC type.
2009-01-06 12:57:15 +01:00
Rob Shearman
8b326c4ff8
widl: Move duptype and alias to parser.y.
...
Make duptype static and rename alias to type_new_alias.
2009-01-06 12:57:02 +01:00
Rob Shearman
cb8d3322be
widl: Add new type_is_alias and type_get_real_type helper functions.
...
Use type_is_alias to replace cumbersome "type->kind == TKIND_ALIAS" expressions.
Use type_get_real_type to simplify some code.
2009-01-06 12:56:51 +01:00
Rob Shearman
200ec53835
widl: Access array type properties through accessors instead of getting them directly.
...
Store array type properties in the details union to save a bit of
memory and to make the general properties more obvious.
2009-01-06 12:56:33 +01:00
Rob Shearman
901a42b7f9
widl: Move funcs and stmts fields from type_t structure to module_details and function_details.
2009-01-06 12:56:15 +01:00
Rob Shearman
b1f8560ae0
widl: Do the consistency checks on interfaces after parsing is complete.
2009-01-06 12:53:49 +01:00
Alexandre Julliard
e31188d9da
winebuild: Improve the calling sequence for register functions.
...
Pass parameters on the stack instead of retrieving them from the code
stream; this ensures that the code contains only valid instructions.
2009-01-06 12:51:18 +01:00
Rob Shearman
d2c4ff2305
widl: Add aliased types to the typelib for statements in the library block if the typedef itself doesn't need to be added.
...
Otherwise, the order of types in the typelib will be wrong or types
will be missing.
2009-01-03 14:55:31 +01:00
Rob Shearman
10a422ae14
widl: Use is_string_type instead of is_attr(..., ATTR_STRING) for detecting strings.
...
Detecting strings is a bit harder than just looking for the string
attribute, so make sure to use the function which has the purpose of
doing just that.
Fixes compilation of generated server/proxy code when a parameter has
both the [out] and [string] attributes.
2009-01-02 14:27:43 +01:00
Michael Karcher
2fe1f36793
widl: Recurse search for need of delegation.
...
If any ancestor of an interface needs delegation, the interface itself
has holes in the vtables and thus needs delegation, too.
2009-01-02 12:53:20 +01:00
Alexandre Julliard
8c8c665a3c
server: Reorganize some requests to avoid padding, and make remaining padding explicit.
2008-12-31 15:14:29 +01:00
Alexandre Julliard
0c914e475d
server: Make atom_t an unsigned int to avoid padding issues.
2008-12-31 15:09:59 +01:00
Alexandre Julliard
fa8643805b
server: Make TEB and PEB client_ptr_t instead of void pointers.
2008-12-31 15:09:59 +01:00
Rob Shearman
36c03f6a94
widl: Remove duplicate pointer handling code in get_struct_type.
...
Only make the structure complex if there is an interface pointer, not
if there is a pointer to a union or complex struct since these are
handled perfectly well by the pointer marshalling code.
Fix the detection of structures with ref-pointers or pointers in 64-bit code.
2008-12-31 12:35:49 +01:00
Rob Shearman
c6e7609b01
widl: Don't add NULL pointer checks in generated code for user types.
2008-12-31 12:30:40 +01:00
Alexandre Julliard
6db201080f
server: Make the various async I/O parameters client_ptr_t instead of void pointers.
2008-12-30 21:09:41 +01:00
Alexandre Julliard
c86ec6445c
server: Make a couple of fields smaller in the apc_call_t/apc_result_t structures.
2008-12-30 15:22:45 +01:00
Alexandre Julliard
838803ce24
server: Make the address parameters in inter-process virtual memory calls client_ptr_t.
...
Add explicit padding fields in the corresponding structures.
2008-12-30 15:05:38 +01:00
Alexandre Julliard
947976f22c
server: Store module names as client_ptr_t instead of void pointers.
2008-12-29 17:10:11 +01:00
Alexandre Julliard
f2c4e09e80
server: Make module handles always 64-bit.
2008-12-29 16:47:51 +01:00
Alexandre Julliard
cb2788efaf
server: Add a module_handle_t type to represent client-side module handles.
2008-12-29 16:41:44 +01:00
Rob Shearman
6b955b514d
widl: Generate header files from the parse tree instead of using hooks in the parser.
2008-12-29 14:54:34 +01:00
Rob Shearman
bf5a9cb61e
widl: Write the local stubs file based on the parsed list of statements, rather than using hooks in the parser code.
2008-12-29 14:47:03 +01:00
Rob Shearman
7d7dd182c1
widl: Write the generated file containing IID, DIID, CLSID and LIBID data based on the parsed list of statements instead of using hooks in the parser code.
2008-12-29 14:46:41 +01:00
Rob Shearman
5223d04a7c
widl: Write the typelib based on the statement list generated in the typelib_t object instead of using hooks in the parser code.
2008-12-29 14:46:27 +01:00
Rob Shearman
1a71479fbd
widl: Create a separate type_t object for each structure declaration or defintion.
...
Set the details of the structure to the previously defined version if
available, or add it to a list of incomplete types otherwise. Only set
the defined flag when the structure is actually defined in the IDL
file so that the type is written out in the exact order that it is
mentioned in the file.
2008-12-29 14:46:02 +01:00
Rob Shearman
efdd020514
widl: Don't create a temporary variable in the t_ident rule.
...
The identifier doesn't have any properties of a variable and we only
use it for holding the name before it is freed.
Use get_type instead of get_typev in the type_new_* functions and get
rid of get_typev.
2008-12-29 14:45:28 +01:00
Rob Shearman
213f32744f
widl: Store the type-specific information in a union in the type_t structure.
...
Use pointers for the information for structures, enumerations,
functions and interfaces so that we can determine whether or not the
type has been defined yet and to enable more information to be stored.
2008-12-29 14:45:16 +01:00
Rob Shearman
04a22cc412
widl: Hide the details of where arguments, fields, values and cases are stored in the type_t structure for functions, structures, enums and unions.
2008-12-29 14:42:47 +01:00
Rob Shearman
fbffe4a229
widl: Follow aliases in check_remoting_fields so that the fields for the type are correctly enumerated.
2008-12-29 14:42:18 +01:00
Vitaliy Margolen
8a0318c0b4
dxdiagn: Add dxdiagn.dll to DxDiag_DirectXFiles container. Create fake dll for it as well.
2008-12-29 11:47:53 +01:00
Rob Shearman
2e0aefc1fd
widl: Structures and arrays with pointers should be complex when generating code for 64-bit platforms.
...
The non-complex variants depend on the wire size of the
structure/array matching the buffer size, but this no longer applies
when pointers are 8 bytes instead of 4.
2008-12-27 20:23:19 +01:00
Alexandre Julliard
01722d6010
winebuild: Generate relay debugging thunks for x86_64.
2008-12-27 19:59:55 +01:00
Alexandre Julliard
913354e75b
winebuild: Fix delay load code to preserve stack alignment and save the correct registers.
2008-12-27 19:58:42 +01:00
Alexandre Julliard
8a87aaa9d9
winebuild: Generate the __wine_call_from_32_regs function along with the 16-bit kernel routines.
2008-12-27 19:50:25 +01:00
Alexandre Julliard
53626dbd93
widl: Add support for generating 32-bit and/or 64-bit code for proxies/clients/servers.
2008-12-26 17:22:25 +01:00
Alexandre Julliard
b1ab7d88b3
widl: Add --win32/--win64 options to select the type of code generated.
2008-12-26 17:21:12 +01:00
Alexandre Julliard
9ca1382eae
widl: Store the size of a pointer in a variable instead of hardcoding the value of the host compiler.
2008-12-26 17:20:53 +01:00
Alexandre Julliard
a011f0cd5b
widl: Move determination of the exact type of structures and array to the code generation phase.
...
The exact type can depend on the size of the type in memory, and that
can vary depending on whether we are generating 32-bit or 64-bit code.
2008-12-26 17:16:06 +01:00
Alexandre Julliard
a7b3efde0e
server: Store the async handle inside the async_data_t structure.
2008-12-26 12:33:21 +01:00
Alexandre Julliard
3cd817b53e
server: Make lparam_t always 64-bit.
2008-12-24 19:57:51 +01:00
Dan Kegel
c069474e18
tools: Remove bashisms from wineinstall.
2008-12-24 19:57:51 +01:00
Simon C. Ion
7b5cbdb261
winemaker: Correctly process directories containing regexp metacharacters.
2008-12-20 10:59:24 +01:00
Alexandre Julliard
a6216ab927
server: Make apc_param_t always 64-bit.
2008-12-17 19:43:40 +01:00
Alexandre Julliard
29d9759156
server: Use mem_size_t instead of file_pos_t for memory mapping sizes.
2008-12-17 19:25:49 +01:00
Alexandre Julliard
401f4b717a
server: Make mem_size_t always 64-bit.
2008-12-17 19:25:09 +01:00
Francois Gouget
5e3e05e043
winapi_check: Extend support for '-arch=xxx' in spec files.
2008-12-17 15:29:03 +01:00
Francois Gouget
bfa7fded98
wrc: Add a trailing '\n' to some warning and error messages.
2008-12-17 15:27:16 +01:00
Hans Leidekker
0c9b2c3201
wuapi: Register interfaces.
2008-12-17 13:52:42 +01:00
Hans Leidekker
6a204001ce
wine.inf: Create fake hal.dll.
2008-12-16 13:59:07 +01:00
Alexandre Julliard
ce63574425
winebuild: Generate stub entry points for x86_64.
2008-12-16 12:20:30 +01:00
Alexandre Julliard
34613835a7
widl: Use ULONG_PTR instead of unsigned long for pointer casts in generated code.
2008-12-15 20:08:39 +01:00
Alexandre Julliard
f6fa72d770
server: Make async I/O transfer sizes always 32-bit.
2008-12-15 13:30:25 +01:00
Alexandre Julliard
dc7f170495
server: Add an apc_param_t type to store APC client-side parameters.
2008-12-15 13:29:38 +01:00
Francois Gouget
ea79b297f5
winapi_check: Add support for '-arch=xxx' in spec files.
2008-12-15 12:25:12 +01:00
Alexandre Julliard
f12e9a026b
winegcc: Fix the file mode check.
2008-12-12 12:01:46 +01:00
Alexandre Julliard
f4ec583d0a
tools: Keep track of requests sizes and alignments in make_requests.
2008-12-10 17:15:51 +01:00
Alexandre Julliard
37f3691f7f
tools: Re-use the file updating routines from make_makefiles in make_requests.
2008-12-10 17:13:30 +01:00
Alexandre Julliard
31282b3f63
server: Define an lparam_t type for message parameters that can hold all sorts of data.
2008-12-10 16:01:50 +01:00
Alexandre Julliard
77cf8034e4
server: Don't use size_t for module sizes, they are limited to 2Gb anyway.
2008-12-09 11:50:05 +01:00
Alexandre Julliard
fa616418ad
winebuild: Make the cpu flag more generic to allow supporting a given entry point on multiple platforms.
2008-12-08 17:07:50 +01:00
Alexandre Julliard
d764107434
server: Make user handles ints instead of pointers.
2008-12-08 16:57:38 +01:00
Alexandre Julliard
014dcb81e8
widl: Use local functions where possible instead of STUB_FORWARDING_FUNCTION in stub vtables.
2008-12-08 16:05:38 +01:00
Alexandre Julliard
0d3d456bd0
server: Make object handles ints instead of pointers.
2008-12-08 16:04:20 +01:00
Francois Gouget
a70fbaeec7
fnt2bdf: Remove unneeded casts of zero.
2008-12-08 12:04:54 +01:00
Andrew Talbot
d7f9d92b47
widl: Remove unneeded address-of operators from function names.
2008-12-08 11:27:53 +01:00
Andrew Talbot
e05b8aa301
widl: Remove unneeded address-of operators from array names.
2008-12-08 11:27:50 +01:00
Alexandre Julliard
3343c408cb
server: Convert the registry key modification time to a win32-style time.
2008-12-06 17:29:01 +01:00
Alexandre Julliard
a5f1e9b62c
fnt2bdf: Get rid of useless string constants.
2008-12-05 12:36:05 +01:00
Vincent Povirk
479f5a1b21
widl: Fix string format warning.
...
yyerror takes a single string argument, not a format string.
2008-12-05 12:30:31 +01:00
Alexandre Julliard
9f1cf1c263
winebuild: Don't add stdcall decorations on non-x86 platforms.
2008-12-03 22:37:07 +01:00
Alexandre Julliard
9bf60549a5
widl: Sort the proxy interfaces by iid and use a binary search in IID_Lookup.
2008-12-01 16:25:45 +01:00
Alexandre Julliard
61d600f42f
widl: Output vtable information even for interfaces that don't define new functions.
2008-12-01 14:51:17 +01:00
Alexandre Julliard
36519069b3
widl: Don't define PROXY_DELEGATION unconditionally.
2008-12-01 14:45:43 +01:00
Alexandre Julliard
0ad28a8592
widl: Make the generated global variables and functions hidden.
2008-12-01 14:39:39 +01:00
Rob Shearman
cc51c30a63
widl: Fix optimisation for writing out ref pointers to simple structs and base types.
...
The optimisation in write_remoting_arg for sizing, marshalling,
unmarshalling and freeing ref pointers to base types directly was
broken in d458a599eb
and caused
unnecessary calls to pointer marshalling functions.
The same was true for a similar optimisation for simple structures
where their size can be pre-calculated, freeing omitted and the
NdrSimpleStructMarshall/Unmarshall functions called directly instead
of calling NdrPointerMarshall/Unmarshall first.
Fix this by looking at the type of the referrent instead of the type
of the pointer, making sure to not classify user types as simple
structures.
Additionally remove some dead code that would never be executed
because the code is in an RPC_FC_RP case, inside a !is_ptr if block
(and RPC_FC_RP is a pointer type).
2008-12-01 12:46:46 +01:00
Rob Shearman
41152b7929
widl: Output the correct buffer size required for parameters whose sizes are known at type-generation time.
...
Replace code to calculate the size of RPC_FC_STRUCT types with
fields_memsize since the memory size of these types will always be
equal to the buffer size.
Remove dead code in get_required_buffer_size.
2008-12-01 12:46:19 +01:00
Alexandre Julliard
584d2c9118
widl: Do not make the stub vtbl const for delegating interfaces since it needs to be patched up at run-time.
2008-12-01 11:30:05 +01:00
Alexandre Julliard
cb7a0da5db
widl: Fix the handling of proxy delegation.
...
Generate a BaseIIDList for delegated interface, and point directly to
the methods that have been defined in the same file instead of
delegating them.
2008-11-28 12:55:59 +01:00
Francois Gouget
b3bf746ff9
Straighten out some ellipses.
2008-11-26 12:33:34 +01:00
Maarten Lankhorst
cd360cc007
tools: Add calling conventions for win64 to winegcc.
2008-11-26 12:07:50 +01:00
Alexandre Julliard
0b7478a79f
widl: Make sure format strings for structure and union types are only output once.
2008-11-25 21:47:47 +01:00
Henri Verbeet
a6917b143d
wined3d: Use IDL to generate wined3d.h.
2008-11-25 13:37:22 +01:00
Maarten Lankhorst
1fcc33451a
winebuild: Use ms-abi for delayed load stubs.
2008-11-25 12:33:22 +01:00
Francois Gouget
28b97861b9
wrc: parser_error() does not need a trailing '\n'.
2008-11-25 11:50:15 +01:00
Alexandre Julliard
35078f4b57
configure: Add a --disable-tests option to avoid building regression tests.
2008-11-21 10:16:12 +01:00
Alexandre Julliard
88154cf166
make_makefiles: Add a target to build only the test directories.
2008-11-19 15:31:44 +01:00
Daniel Zimmermann
89cf227601
widl: Fix check for interface type in get_size_procformatstring.
2008-11-18 14:05:22 +01:00
Andrew Talbot
08c6f507b8
widl: Remove superfluous semicolons.
2008-11-17 13:11:47 +01:00
Damjan Jovanovic
4e2cec5aba
winemenubuilder: Moved all wineshelllink functionality to winemenubuilder and removed wineshelllink.
2008-11-12 11:49:12 +01:00
Dmitry Timoshkov
d560b7bbb0
widl: Make the generated string pointers const as well.
2008-11-11 11:40:50 +01:00
Eric Pouech
721b88f603
winedump: Print detailed information about class/struct properties.
2008-11-10 11:59:17 +01:00
Michael Stefaniuc
df17fcdafb
make_requests: Do not generate code that casts zero to a pointer.
2008-11-05 10:56:22 +01:00
Alexandre Julliard
87e12632fa
wrc: Fix the duplicate resource check for user-defined types.
2008-11-04 10:07:07 +01:00
Damjan Jovanovic
26fcfb4b24
winemenubuilder: Generate icons in winemenubuilder instead of wineshelllink.
2008-11-03 15:05:18 +01:00
Michael Stefaniuc
922a336063
winedump: Remove casts of void pointers to other pointer types.
2008-11-03 13:38:30 +01:00
Huw Davies
2e3e696a2c
wrc: Include errno.h.
2008-10-20 22:33:43 +02:00