Robert Shearman
e2ea2b5891
widl: Fix the type offset for generated conformant string calls.
2006-04-03 21:36:06 +02:00
Alexandre Julliard
bf463abfec
winewrapper: Remove a couple of variables that are no longer needed.
2006-03-31 17:39:37 +02:00
Robert Shearman
837e830a26
widl: There's no need to cast _StubMsg - it's already of the correct type.
2006-03-31 17:38:00 +02:00
Robert Shearman
506404ba09
widl: Only assign variables if not a string and only create a local variable if not a sized parameter.
...
Only assign variables if not a string and only create a local variable
if not a sized parameter. Fixes type mismatches in the generated code
due to differences in the algorithms between creating local variables
and using them.
2006-03-31 17:37:51 +02:00
Robert Shearman
62eb9f4b0c
widl: Initialise the temporary variable to 0 for parameters with more than one level of indirection.
2006-03-31 17:37:35 +02:00
Robert Shearman
d82bb4ade9
widl: Create the correct variable type for parameters with more than one level of indirection.
2006-03-31 17:37:22 +02:00
Robert Shearman
27c3222715
widl: Re-use print_phase_basetype for generating return value marshaling and unmarshaling code.
2006-03-31 17:37:11 +02:00
Robert Shearman
3e065ab342
widl: Move handling of base type marshaling and unmarshaling to a separate function.
...
Move handling of base type marshaling and unmarshaling to a separate
function and improve it to support return values.
2006-03-31 17:37:01 +02:00
Robert Shearman
eb000448a0
widl: Use print_phase_function for printing NdrPointerFree call.
2006-03-31 17:36:39 +02:00
Robert Shearman
04632f6ab7
widl: Add a function to generate the Ndr type calls.
...
- Add a function to generate the Ndr type calls.
- Fix a typo where the aligned buffer was added to itself, rather than
assigned.
2006-03-31 17:36:23 +02:00
Robert Shearman
96f6a22ece
widl: Only write the buffer incrementing code for the marshaling and unmarshaling phases.
...
Only write the buffer incrementing code for the marshaling and
unmarshaling phases - buffer sizing is handled elsewhere and freeing
isn't applicable.
2006-03-31 17:36:06 +02:00
Robert Shearman
226c8f6b52
widl: Output the necessary sizing information for other phases.
...
Output the necessary sizing information for PHASE_BUFFERSIZE and
PHASE_FREE as well as PHASE_MARSHAL. Standardise this rule in a new
function.
2006-03-31 17:35:49 +02:00
Robert Shearman
4a67201b70
widl: Output NULL ref pointer check for pointer levels > 1 too.
2006-03-31 17:35:31 +02:00
Robert Shearman
73ff576554
widl: Fix a GCC warning in the generated client and server code.
2006-03-31 17:35:21 +02:00
Robert Shearman
4cd506b8fd
widl: The lval member of var_t is essentially a duplicate of eval->cval.
...
- Generate eval's for enums that don't explicitly have one. This means
that enums written in header files won't match exactly what has been put
into the IDL file, but the numeric constat is the same and MIDL does a
similar thing.
- Replace constant lookups with eval->cval instead of lval.
2006-03-31 17:35:04 +02:00
Robert Shearman
4edcf2de35
widl: De-reference parameters' types before deciding what to do with them.
...
De-reference parameters' types before deciding what to do with them.
Also dereference string parameters since they are immediately
dispatched to write_string_tfs when the string attribute is detected
without any further processing done on them.
2006-03-31 17:34:48 +02:00
Robert Shearman
4b5386e2cd
widl: Write pointer calls for all non-basetype pointer parameters to functions.
2006-03-31 17:34:38 +02:00
Robert Shearman
91dbc5ae28
widl: Write definitions for MIDL_user_allocate and MIDL_user_free in the header.
...
Write definitions for MIDL_user_allocate and MIDL_user_free in the
header when writing out RPC interfaces to prevent compile failures in
the generated client/server code.
2006-03-31 17:33:28 +02:00
Robert Shearman
071dfb188a
widl: Write out the pre- and postamble for RPC interfaces with no methods.
2006-03-31 17:32:38 +02:00
Robert Shearman
b38cd7ff5f
widl: Output interface defined guard for rpc interfaces too.
2006-03-31 17:32:09 +02:00
Robert Shearman
97d6f7c444
widl: NdrFcShort should be written out instead of NdrShort.
2006-03-31 17:31:44 +02:00
Robert Shearman
bed9fdec8d
widl: Output the numeric equivalent of FC_END, not the string FC_END itself.
2006-03-31 17:31:31 +02:00
Robert Shearman
3ec771a20f
widl: Support references in type_memsize.
2006-03-31 17:31:18 +02:00
Robert Shearman
3db71d9d9c
widl: Only output code for non-object interfaces in client and server.
...
Only output code for non-object interfaces in client and server
generation and convert the while loops into for loops.
2006-03-31 17:31:04 +02:00
Eric Kohl
12d4d9c229
widl: Implement support for ref pointers to strings.
2006-03-30 16:24:35 +02:00
Detlef Riekenberg
5ca18a1135
tools: Remove wineconf.
2006-03-30 12:44:30 +02:00
Eric Kohl
1a5c6ef47d
widl: Implement support for pointers to base types.
2006-03-28 14:43:28 +02:00
Vitaly Lipatov
5072fd440a
wineshelllink: Remove quotes from Path=<workdir>.
2006-03-28 12:22:59 +02:00
Jonathan Ernst
1e408c954c
wine.inf: Add some more fake dlls to the system directory.
2006-03-28 12:22:47 +02:00
Vitaly Lipatov
94dcabecd8
wine.inf: Add some dll stub dll to the system directory.
2006-03-27 11:31:45 +02:00
Paul Vriens
a589eb27ac
wine.inf: Add SystemRoot.
2006-03-27 11:31:06 +02:00
Eric Kohl
6ad46cc961
widl: Fix base type alignments.
...
Generate aligned marshal and unmarshal code for base type arguments
and return values.
2006-03-23 17:06:25 +01:00
Eric Kohl
1550938a50
widl: Fix format string size calculation.
...
- Move proc format string size calculation from client.c and server.c
to typegen.c.
- Implement type format string size calculation.
2006-03-23 17:06:10 +01:00
Mike McCormack
c3c112de23
wine.inf: Add a shdocvw.dll stub dll to the system directory.
2006-03-22 21:36:29 +01:00
Francois Gouget
0c02e4671e
Update win32.api to match the current sources.
2006-03-21 20:03:10 +01:00
Huw Davies
130a0e4f41
fonts: Use the EBLC table to retrieve the ascent of the bitmap font.
2006-03-21 20:01:55 +01:00
Alexandre Julliard
ef4440ad1b
sfnt2fnt: Remove output file on failure.
2006-03-21 16:19:07 +01:00
Alexandre Julliard
d6df0ac717
winewrapper: Remove explicit call to wineprefixcreate.
...
Now that wineprefixcreate detects the build tree automatically, the
standard behavior of starting it from ntdll should work fine.
2006-03-21 12:01:12 +01:00
Alexandre Julliard
d404fb5bf8
wine.inf: Use the new fake dlls mechanism to create placeholders for
...
applications instead of using symlinks.
2006-03-21 11:40:11 +01:00
Alexandre Julliard
c33fbc0df8
wineprefixcreate: Autodetect the running from build tree case.
2006-03-18 19:41:33 +01:00
Eric Kohl
623f142945
widl: Do not generate code that initializes a binding handle.
2006-03-18 18:06:41 +01:00
Eric Kohl
c7174f9fff
widl: Fix proc offset calculation.
...
A void return type is represented by a FC_END/FC_PAD sequence in the
proc format string. Increment the proc offset by two when a function
returns void.
2006-03-18 18:06:27 +01:00
Eric Kohl
919d14c577
widl: 'unsigned char' and 'byte' are must be distinct types.
2006-03-18 18:06:14 +01:00
Alexandre Julliard
870d490eec
winegcc: Look for libraries in subdirs of the library path too.
...
This means that -lfoo will match the library 'foo/libfoo.def' in
addition to just 'libfoo.def'. This allows supporting the Wine source
layout without adding a gazillion path entries.
2006-03-16 16:28:04 +01:00
Alexandre Julliard
b47f0593c8
wineprefixcreate: Fixed datadir path. Added dependency on relpath.
2006-03-15 09:54:19 +01:00
Pierre d'Herbemont
b1be724511
wineprefixcreate: Make path searching relative.
2006-03-14 18:58:40 +01:00
Jan Zerebecki
f2c8a537d7
wine.inf: Increase the DirectX version to that of the latest 9.0c .
2006-03-14 17:49:40 +01:00
Paul Vriens
b25474ffd6
wine.inf: Add RegisteredOwner and Org also to WindowsNT branch.
2006-03-13 13:31:13 +01:00
Mike McCormack
69dcbaaf93
wrc: Don't use identifiers starting yy*, they're reserved for flex.
2006-03-06 17:50:52 +01:00
Mike McCormack
af9288d591
wine.inf: Add a default RelayExclude.
2006-03-02 11:58:07 +01:00
Alexandre Julliard
8f08fe6c0d
wrc: Integer ids can be used for control labels instead of strings.
2006-02-28 15:27:25 +01:00
Detlef Riekenberg
8a8a54877e
wine.inf: Add printing section for local port monitor.
2006-02-28 12:40:39 +01:00
Francois Gouget
be6d891f0d
advpack: Prepare the unicodification of advpack.dll.
...
All functions that manipulate strings should have an Ansi and a
Unicode variant.
Forward the unqualified dll entry points to the Ansi variant for
backward compatibility.
We're not allowed to use unqualified entry points in Wine, so change
RegInstall() calls to RegInstallA().
Update win32.api.
2006-02-27 15:57:33 +01:00
Francois Gouget
8851c4fc4e
crypt32: Add CryptQueryObject() prototype.
...
Update win32.api.
2006-02-24 21:09:36 +01:00
Francois Gouget
dcb90635f8
winsock: Tweak getnameinfo() prototype.
...
Tweak the getnameinfo() prototype to better match the Windows PSDK and
the GetNameInfoW() prototype.
Update win32.api.
2006-02-24 21:09:19 +01:00
Francois Gouget
4c2f22f7c6
sfc: Updates.
...
Add a missing sfc.dll prototype.
Add an sfc.dll section to win32.api for winapi_check.
2006-02-24 21:08:42 +01:00
Kevin Koltzau
a8b209752f
widl: Fix 64bit warning.
2006-02-22 22:17:25 +01:00
Alexandre Julliard
35842ca717
tools: Added 'relpath' tool to compute relative Unix paths.
2006-02-17 11:42:17 +01:00
Robert Shearman
90938d6b6c
winebuild: Correction for manpage.
...
The behaviour for winebuild is to prefer main over WinMain, not the
other way around.
2006-02-16 19:32:35 +01:00
Mike Frysinger
5392844392
Add support for 'make install DESTDIR'.
2006-02-14 13:51:38 +01:00
Robert Shearman
a42f59dfe8
tools/c2man.pl: Generate correct html.
2006-02-14 11:34:23 +01:00
Francois Gouget
90aaf6ba8f
include: Add missing LANG_xxx and SUBLANG_xxx constants.
2006-02-14 10:42:12 +01:00
Robert Shearman
59dd416fd2
widl: Fix a typo when removing TYPEFLAG_FDUAL.
2006-02-10 14:51:39 +01:00
Robert Shearman
91c35be7cc
widl: Write out more TYPEFLAGs and add more type library-specific
...
attributes to the parser.
2006-02-09 12:10:08 +01:00
Robert Shearman
649d5d0e8e
widl: Write out TYPEFLAG_FDUAL, TYPEFLAG_FDISPATCHABLE and
...
TYPEFLAG_FOLEAUTOMATION typelib flags.
2006-02-09 12:09:44 +01:00
Francois Gouget
8ff21ff88f
winapi: Update win32.api to match the current sources.
2006-02-07 21:17:32 +01:00
Dmitry Timoshkov
ae6187455e
wine.inf: Add a default handler for https to the registry.
2006-02-07 21:17:17 +01:00
Robert Shearman
59830d69b4
widl: Fix some warnings caused by making attributes const.
2006-02-07 16:25:10 +01:00
Alexandre Julliard
91da64c9ca
widl: Remove '\n' from yyerror calls.
2006-02-07 12:36:20 +01:00
Robert Shearman
4e40675032
widl: Make 'attrs' field of type_t const.
2006-02-07 12:32:57 +01:00
Robert Shearman
e9ec85a01a
widl: Remove unused 'rname' field of type_t.
2006-02-07 12:32:42 +01:00
Robert Shearman
55df46ab85
widl: Merge marshall_arguments and unmarshall_arguments into one
...
function to remove the large amount of duplicated code.
2006-02-07 12:32:24 +01:00
Robert Shearman
f1bb0a474b
widl: Yet more const attributes.
2006-02-07 12:31:43 +01:00
Robert Shearman
511463f3a5
widl: More const attributes.
2006-02-07 12:31:17 +01:00
Eric Kohl
417a61fa61
widl: Fix proc format string for explicit binding handles.
2006-02-07 12:30:55 +01:00
Robert Shearman
8d7fa4c013
widl: Write out the correct FC type if the structure has pointers.
2006-02-07 12:30:23 +01:00
Robert Shearman
4c8370f97e
widl: Split pointer writing into a separate function.
2006-02-07 12:30:07 +01:00
Robert Shearman
9f0c45b7e7
widl: Fix pointer detection for structures with embedded arrays.
...
Pointers have priority over every other type, so move the detection to
the top of get_struct_type.
Fall through from the embedded array detection to the embedded
structure handling code so that conformance, variance and pointer
presence is inherited from the array's base type.
2006-02-07 12:29:39 +01:00
Robert Shearman
864d5a38c5
widl: Increment the type format string when writing the pointer
...
layouts.
Write out pointer layouts for structures.
2006-02-07 12:28:33 +01:00
Robert Shearman
0d22347f44
widl: Make all pointer fields of expr_t structure constant.
2006-02-07 12:28:20 +01:00
Robert Millan
55b74483de
configure: For sys/mount.h, sys/statfs.h and sys/vfs.h, always include
...
them if present.
2006-02-06 21:53:27 +01:00
Eric Pouech
3c0e5eed83
A few fixes for pointer qualifiers (const, volatile) warnings.
2006-02-06 13:10:18 +01:00
Robert Shearman
ccf509b4c6
widl: Add architecture for generating pointer layouts.
2006-02-03 18:51:17 +01:00
Alexandre Julliard
19b89289ee
wine.inf: Make FourCC codes uppercase again until we can figure out
...
why lowercase doesn't work right.
2006-02-03 18:47:49 +01:00
Eric Kohl
dd57b45aaa
widl: The 'string' attribute can also be used with unsigned characters.
2006-02-03 18:47:06 +01:00
Dmitry Timoshkov
de60d1e3bc
wine.inf: Change fcc type of builtin video codecs in system.ini to be
...
equal to ICTYPE_VIDEO.
2006-02-03 12:29:09 +01:00
Alexandre Julliard
a488901256
widl: Some cosmetic fixes in generated code.
2006-02-02 13:23:28 +01:00
Alexandre Julliard
0f2a642d70
widl: Make sure the token variables are always initialized properly.
2006-02-02 13:22:47 +01:00
Stefan Leichter
9f100c15dc
wine.inf: Add HKLM,%CurrentVersionNT%,"CurrentType".
2006-02-02 13:20:36 +01:00
Dmitry Timoshkov
f03c86a273
wine.inf: Remove %1 from [http|htmlfile]\shell\open\command.
2006-02-01 12:32:21 +01:00
Robert Shearman
0d4e1bc336
widl: Fix a SEGV when using arrays declared using a pointer and
...
attributes, instead of array indices (reported by Eric Kohl).
2006-02-01 12:29:23 +01:00
Robert Shearman
c418226093
widl: Changes to output for better debugability.
...
Write the offset and the absolute address for referenced types.
Write the current offset out when writing a pointer type.
2006-01-31 18:08:24 +01:00
Robert Shearman
1478ac85a9
widl: Clean up conformant struct handling.
...
Make the writing of conformant structures take advantage of the new
type format string offset handling.
2006-01-31 18:08:03 +01:00
Robert Shearman
5764d5518d
widl: Fix the writing of arrays with size specified in the array
...
expression instead of the size_is expression.
2006-01-31 18:07:45 +01:00
Robert Shearman
06ab21b668
widl: Improve the current type offset passing.
...
Change the functions to take the current type offset and return the
start of the type written.
2006-01-31 18:07:20 +01:00
Robert Shearman
ac5a4393d5
widl: The stack/structure offset in correlation descriptors should be a short.
2006-01-31 18:06:53 +01:00
Robert Shearman
513996fde4
widl: Do constant folding for the sizeof operator on simple types.
2006-01-31 18:06:25 +01:00
Robert Shearman
0a2c5b73fd
widl: Support client/server generation for explicit_handle interfaces
...
(based on a patch by Eric Kohl).
2006-01-31 18:06:17 +01:00
Robert Shearman
c08e00a9ec
widl: Implement constant conformance.
2006-01-31 18:05:43 +01:00
Robert Shearman
35d1347cfa
widl: Fix the type offset used in marshaling/unmarshaling.
...
Make a copy of type_offset so that it only gets incremented once per
function, instead of twice.
2006-01-31 18:05:33 +01:00
Robert Shearman
2330d73f4a
widl: Implement the writing of defaultvalue constants for enum values.
2006-01-31 18:04:20 +01:00
Robert Shearman
cf1ccfb712
widl: Use a macro to write out FC types, along with the current offset
...
which is useful for debugging.
2006-01-31 12:25:54 +01:00
Robert Shearman
2ee6f722e0
widl: Pass the current type format string offset through all type
...
writing functions.
2006-01-31 12:24:54 +01:00
Robert Shearman
a6909fa5e8
widl: Eliminate redundant callback routines.
...
Add a function for comparing expressions and use it to eliminate
redundant callback functions.
2006-01-31 12:24:11 +01:00
Robert Shearman
b59c995c89
widl: Implement callback conformance.
2006-01-27 12:53:32 +01:00
Alexandre Julliard
f8f34d9fab
wine.inf: Don't overwrite registry keys that users may want to change.
2006-01-25 13:19:43 +01:00
Mike Frysinger
ff6b466563
winegcc: Pass -m32/-m64 along to the linker.
2006-01-25 13:15:34 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00
Alexandre Julliard
2d3bd3e45a
wineprefixcreate: Only create links for files that don't exist.
...
Make a copy instead of a link if the original file is writable.
2006-01-24 13:43:33 +01:00
Alexandre Julliard
433bbdf08a
winebuild: Get rid of the default ignored symbols list.
2006-01-24 12:29:31 +01:00
Robert Shearman
2d4edc3b3d
widl: Generate type format strings for conformant varying arrays.
2006-01-24 11:14:59 +01:00
Robert Shearman
2eedb11f22
widl: Fix detection of varying arrays.
...
Correctly identify structures containing varying arrays as conformant
varying structures.
2006-01-24 11:14:38 +01:00
Robert Shearman
b4fb36c363
widl: Fix detection of conformant varying structs.
...
Rename has_conformant_array to has_conformance, add a new variable
has_variance and map has_conformant_string to has_conformance and
has_variance.
A conformant varying struct should be returned if just variance is
present and even if no pointers are present.
2006-01-24 11:14:15 +01:00
Robert Shearman
9f76c0cfee
widl: Support generation of conformant structure type strings.
2006-01-24 11:13:49 +01:00
Robert Shearman
90032b2da6
widl: Conformant arrays have a size of 0.
...
Conformant arrays should cause a size of 0 to be returned from
type_memsize.
2006-01-24 11:13:30 +01:00
Robert Shearman
73023890c5
widl: Support correlation descriptors in structures.
2006-01-24 11:12:54 +01:00
Robert Shearman
e9c771f98b
widl: Error if an array is in the middle of a structure.
...
Fix detection of conformant arrays and output an error if the array
isn't at the end of the structure.
2006-01-24 11:12:20 +01:00
Robert Shearman
362d42e082
widl: Fix the detection of conformant and pointer structs.
2006-01-24 11:11:56 +01:00
Robert Shearman
8f1ed85891
widl: Simple structs and complex pointers.
...
Write out type format string for simple structs and for pointers to
non-simple types.
2006-01-24 11:11:29 +01:00
Robert Shearman
584c89bd8f
widl: Add framework for generating struct and union type format strings.
2006-01-24 11:10:59 +01:00
Robert Shearman
263a75d47a
widl: Support different types of simple pointers.
...
Support pointer types in unmarshall_arguments.
2006-01-24 11:10:42 +01:00
Robert Shearman
69551fdf74
widl: Generate NdrNonConformatString* calls for non-conformant string types.
2006-01-24 11:10:08 +01:00
Robert Shearman
a6c6e1d032
widl: Add functions for detecting array and string types.
...
Add functions for detecting array and string types and use these in
both writing type format strings and when marshalling and
unmarshalling parameters.
2006-01-24 11:09:53 +01:00
Robert Shearman
793bc8de69
widl: Support some more complicated conformance / variance expressions.
2006-01-24 11:09:03 +01:00
Robert Shearman
4a7c04791d
widl: Start implementing writing of conformance/variance descriptors.
2006-01-24 11:08:20 +01:00
Robert Shearman
21a90850cb
widl: Strings.
...
Write out type format strings for string types.
2006-01-24 11:07:39 +01:00
Robert Shearman
d07589e32f
widl: Arrays.
...
Write out type format strings for arrays, except for the missing
generic functionality of conformance and variance descriptors.
2006-01-24 11:07:13 +01:00
Robert Shearman
fce01e6920
widl: Simplify write_typeformatstring_type.
...
Simplify handling of types in write_typeformatstring_type by only
writing non-pointer types out when ptr_level is 0. Add stubs for
functions that will write out the type format string for strings and
arrays.
2006-01-24 11:06:32 +01:00
Robert Shearman
479be2e6af
widl: Don't use recursion for write_typeformatstring_type.
...
Since a var_t can now be passed in, rename to
write_typeformatstring_var. Simplifies the code.
2006-01-24 11:06:10 +01:00
Robert Shearman
6d76ad87c6
widl: Don't use recursion to implement write_procformatstring_type.
...
Renamed to write_procformatstring_var now since we can pass a var_t in
again. This results in simpler code.
2006-01-24 11:05:51 +01:00
Alexandre Julliard
58273ea9c6
server: More generic mechanism for adding typecasts in server traces.
...
Added casts for size_t values.
2006-01-23 16:40:57 +01:00
Alexandre Julliard
3f0a473fb7
winebuild: Always import atof, the MS version is different.
2006-01-23 11:27:04 +01:00
Marcus Meissner
1ed3ca0883
winebuild: Output a .note.GNU-stack section to allow nonexecutable stack.
2006-01-21 19:23:36 +01:00
Alexandre Julliard
76ece8530a
winebuild: Moved offset definitions to relay.c since they are only
...
needed there.
Hardcoded a couple of TEB offsets to support cross-compilation.
2006-01-20 19:45:57 +01:00
Alexandre Julliard
4ce433d826
ntdll: Move the %gs register to the ntdll_thread_regs structure.
2006-01-20 16:54:11 +01:00
Hans Leidekker
1017bcc448
winedump: Fix compilation of generated source.
...
Include config.h in the .c file, not in the .h file.
2006-01-18 17:33:10 +01:00
Mike McCormack
48cbfd7e4c
make_ctests: Declare WIN32_LEAN_AND_MEAN when compiling testlist.c.
2006-01-16 20:38:53 +01:00
Robert Shearman
ba0f0761f0
widl: Generate static sizing information for fixed size structs.
...
Don't generate FC_*_BASETYPE proc and type format strings for
non-basetype fields/params.
2006-01-06 21:06:24 +01:00
Rolf Kalbermatter
b7142fbb86
winapi: msvcmaker adaption to new directory structure.
...
Fix some issues with MSVC project file generation after recent
directory restructuring.
2006-01-06 12:19:11 +01:00
Rolf Kalbermatter
8d5db3ee04
winapi: Add the loader directory to the paths to exclude.
...
There is nothing in there anymore that would need to be done for
winapi tools.
2006-01-06 12:18:10 +01:00
Rolf Kalbermatter
2db7d11dc2
winapi: Cleanup some unused use clauses.
2006-01-06 12:17:46 +01:00
Alexandre Julliard
1e96455094
Remove YY_NO defines that cause warnings.
2006-01-05 12:20:05 +01:00
Vitaliy Margolen
a48e3eb494
wine.inf: Add a few keys to HKLM\Hardware.
2006-01-04 15:27:22 +01:00
Hans Leidekker
578e86a683
winapi: Remove some exceptions now that DLL separation is complete.
2006-01-04 14:49:22 +01:00
Alexandre Julliard
88991e2a4e
Support building flex files without debug support.
2006-01-03 15:11:46 +01:00
Alexandre Julliard
0ae2c69c7a
Added some flex options to avoid compiler warnings.
...
Moved options from the Makefile into the source.
2006-01-03 12:16:05 +01:00
Francois Gouget
19d8a272d3
winapi: Update win32.api to match the current sources.
2006-01-03 12:10:23 +01:00
Robert Shearman
8494f57d17
widl: Output sizing information for arrays in the generated marshaling code.
2005-12-31 13:19:13 +01:00
Robert Shearman
ae94c2207f
widl: Export the bracket adding functionality of do_write_expr outside
...
of header.c.
2005-12-31 13:18:49 +01:00
Robert Shearman
f56737579e
widl: Fix merge conflict.
2005-12-26 13:22:46 +01:00
Robert Shearman
93775adf75
widl: Follow type references in procformat and typeformat string generation.
2005-12-26 13:22:32 +01:00
Robert Shearman
7fb311b49f
widl: Handle marshaling and unmarshaling structures.
2005-12-26 13:22:05 +01:00
Robert Shearman
4acabfd719
widl: Out parameters.
...
Marshall and unmarshall out parameters for servers and clients
respectively.
Write out array components for declared local variables in generated
server code.
2005-12-26 13:21:38 +01:00
Robert Shearman
e0dd7b6ed8
widl: Remove some duplication.
...
Remove some duplicated code by calling an improved
get_required_buffer_size.
Add some more newlines in the generated code to separate separate
stages.
Calculate the buffer size of [out] arguments in generated server code.
Fix the direction passed into unmarshall_arguments.
2005-12-26 13:20:59 +01:00
Robert Shearman
7e5cf94f13
widl: Pass a state into marshall_arguments and unmarshall_arguments to
...
decide which parameters should be considered based on their direction.
2005-12-26 13:14:28 +01:00
Robert Shearman
24d1b71d91
widl: Generate marshaling and unmarshaling statements for arrays.
2005-12-26 13:13:41 +01:00
Robert Shearman
25116ae360
widl: Treat variables with array indices the same as pointers.
2005-12-26 13:13:04 +01:00
Robert Shearman
c0f4605b82
widl: Advance the type format string whilst marshaling and
...
unmarshaling arguments.
2005-12-26 13:12:46 +01:00
Robert Shearman
c8703d17b0
widl: Convert the main while loops in marshall_arguments and
...
unmarshall_arguments into for loops.
2005-12-26 13:12:26 +01:00
Robert Shearman
413738810f
widl: Add support for marshalling and unmarshalling conformant strings.
2005-12-26 13:12:03 +01:00
Robert Shearman
7f2419ceed
widl: Add some const attributes.
2005-12-26 13:11:33 +01:00
Robert Shearman
73dff5c465
widl: Prepare marshall and unmarshall code generation functions for
...
accepting pointers.
2005-12-26 13:09:36 +01:00
Robert Shearman
86c3a2e76a
widl: Fix SEGVs with client and server code generation when an
...
interface has no methods.
2005-12-26 13:08:51 +01:00
Robert Shearman
73a25d316d
widl: Generate correct proc format strings for [out] and [in, out] parameters.
2005-12-26 13:07:55 +01:00
Robert Shearman
e59dcf53fc
widl: Use the same precendence rule for the conditional operator as in wpp.
...
Fixes several shift/reduce warnings.
2005-12-26 13:07:08 +01:00
Robert Shearman
30a9f99bb9
widl: Better array support.
...
Treat variables with array indices the same as pointers when writing
out the proc & type format strings.
Fix a typo when writing out the proc format string where a non-return
type was written out for a return type and vice-versa.
2005-12-26 13:06:29 +01:00
Robert Shearman
783198be37
widl: Support non-basic variables in proc format strings.
2005-12-26 13:05:55 +01:00
Robert Shearman
88fd90b4c5
widl: Add helper functions that return the size of procformat and
...
typeformat strings for variables.
2005-12-26 13:05:29 +01:00
Bill Medland
d5739ed88f
winemenubuilder: Provide depth to the menus created.
2005-12-19 21:25:52 +01:00
Hans Leidekker
4f46232368
widl: Avoid lvalue casts in generated code.
2005-12-19 21:20:14 +01:00
Alexandre Julliard
8651ceb18e
ntdll: Make __wine_call_from_32_restore_regs take a context pointer.
...
Changed exception raise functions to call it explicitly.
2005-12-19 09:59:50 +01:00
Alexandre Julliard
5dc6d95952
ntdll: New implementation of relay thunks.
...
New implementation of relay thunks that doesn't require modifying code
on the fly, so that the thunks can be put in the text section.
Some performance improvements.
2005-12-18 10:45:01 +01:00
Alexandre Julliard
db4c1561f2
winebuild: Allow -register flag for Win32 too.
...
This way it can be used as hint for the relay code.
2005-12-16 12:44:16 +01:00
Jacek Caban
a3b35129ce
widl: Added bindable and displaybind attributes handling.
2005-12-16 12:40:17 +01:00
Robert Shearman
435e36e366
widl: Start generating type format strings.
...
Based on a patch by Eric Kohl.
2005-12-13 11:22:08 +01:00
Eric Kohl
c4173f7b99
widl: Server stubs in generated code are void functions.
2005-12-13 11:12:37 +01:00
Eric Pouech
a6e27ea9c0
winedump: Const correctness fixes.
2005-12-13 11:11:38 +01:00
Robert Shearman
ccdc119da0
widl: Generate FC_ERROR_STATUS_T proc format.
...
- Include the header file for the functions implemented in typegen.c.
- Generate proc format for FC_ERROR_STATUS_T type.
2005-12-12 12:14:31 +01:00
Robert Shearman
12159aec96
widl: Support explicit binding handles.
2005-12-12 12:14:03 +01:00
Robert Shearman
759e3c9fe3
widl: Zero initialize parameters in the generated server code.
...
Zero initialize parameters in the generated code. Based on a patch by
Eric Kohl.
2005-12-12 12:13:43 +01:00
Robert Shearman
dfb716f3d6
widl: Calculate the size of buffer required.
...
- Calculate the size of buffer required.
- Fix a typo.
- Set the buffer start and buffer end markers.
2005-12-12 12:12:50 +01:00
Robert Shearman
fc3821f475
widl: Don't cast buffer pointers to long in generated server code.
2005-12-12 12:12:06 +01:00
Eric Kohl
6744d4e3ea
widl: Support multiple interfaces per file.
2005-12-12 12:11:44 +01:00
Robert Shearman
f4356a64e3
widl: Don't treat FC_SMALL as FC_SHORT.
...
FC_SMALL is its own type and is the same size as FC_CHAR, not
FC_SHORT.
2005-12-12 12:11:11 +01:00
Robert Shearman
6066106bb0
widl: Use WCHAR instead of wchar_t.
...
Output IDL wchar_t types as WCHAR to avoid conflicts with the
generally incompatible Unix wchar_t.
2005-12-12 12:10:26 +01:00
Robert Shearman
fea330364b
widl: Don't output __RPC_FAR in generated code.
2005-12-12 11:51:11 +01:00
Vincent Béron
648cc6f435
Update win16.api and win32.api.
2005-12-09 11:22:32 +01:00
Vincent Béron
af5a54dea5
sfnt2fnt: Don't print two newlines after error messages.
2005-12-09 11:22:21 +01:00
Vincent Béron
fe987b3035
widl: Issue correct C++ headers.
2005-12-09 11:22:04 +01:00
Robert Shearman
b86efe5d11
widl: Formatting cleanups.
2005-12-08 13:48:46 +01:00
Robert Shearman
92c568ab5d
widl: Marshal and unmarshal basic types.
2005-12-08 12:53:58 +01:00
Robert Shearman
35d327bd0d
widl: Add a type generator framework.
...
Add a framework for writing the strings for marshaling and
unmarshaling parameters and make the client and server use it.
2005-12-08 12:52:13 +01:00
Eric Kohl
ba39a874d4
widl: Write out argument lists in the server.
...
- Add framework for updating proc offsets.
- Write out argument lists in the server.
2005-12-08 12:48:44 +01:00
Eric Kohl
80e262202f
widl: Rename some variables.
2005-12-08 12:45:45 +01:00
Vincent Béron
2e5da5f421
Add an error() function to fnt2fon and sfnt2fnt.
2005-12-07 12:44:17 +01:00
Detlef Riekenberg
2c5fee9c58
c2man: Remove HTML warnings.
2005-12-06 21:22:28 +01:00
Vincent Béron
e78997a7f9
Sort entries in win16.api and win32.api
2005-12-06 11:33:42 +01:00
Vincent Béron
1f9fd44c3a
Update win32.api to current git.
2005-12-06 10:58:07 +01:00
Francois Gouget
5193c8565f
Update win32.api to match the current sources.
2005-12-05 12:49:30 +01:00
Vincent Béron
18c5a0a2a0
winapi_check: fully descend in included files to check for prototype.
2005-12-03 18:03:50 +01:00
Francois Gouget
5127dc9f49
Assorted spelling fixes.
2005-12-02 16:15:09 +01:00
Francois Gouget
5cbd312bb2
Update win32.api to match the current sources.
2005-12-02 13:32:17 +01:00
Vincent Béron
bce123dc46
Use the typedef'd declaration of IRpcStubBuffer and IRpcChannelBuffer
...
in RPC _Stubs.
Add IRpcStubBuffer and IRpcChannelBuffer declarations to objbase.h.
2005-12-02 13:32:09 +01:00
Vincent Béron
864f631d28
Reorder the virtual table definition so it's defined before it is used
...
in widl header output.
2005-12-02 13:29:52 +01:00
Vincent Béron
85e9474c78
Use interface instead of struct where appropriate in widl.
2005-12-02 13:28:05 +01:00
Francois Gouget
250c80b1ed
Better stick to the PSDK types and to the dsrole.h prototype.
...
Update win32.api.
2005-12-02 13:27:42 +01:00
Francois Gouget
972b6ccc2e
Fix __RPC_USER handling.
2005-12-02 13:01:16 +01:00
Francois Gouget
4a4ab52d76
Better stick to the PSDK types.
...
Update win32.api.
2005-12-02 13:01:07 +01:00
Vincent Béron
2f8f459516
Make winapi_check understand the interface keyword.
2005-12-02 11:27:13 +01:00
Alexandre Julliard
a808f38c1e
Added support for Darwin DYLD_LIBRARY_PATH.
2005-11-30 19:45:28 +01:00
Vincent Béron
74ce0d363a
Update win32.api to current cvs.
...
Add __RPC_USER as a calling convention in winapi.
2005-11-30 12:03:03 +01:00
Alexandre Julliard
0d6a305047
Preserve 16-byte stack alignment in 16-bit relays.
2005-11-28 17:39:05 +01:00
Alexandre Julliard
c367dc4f2e
Enforce 16-byte stack alignment when returning from 16-bit code and
...
when calling a register function.
2005-11-28 17:38:40 +01:00
Alexandre Julliard
ec34a66612
Ignore symlink files too (needed for git).
2005-11-26 13:12:57 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Hans Leidekker
46e018ad37
Also handle mailto: urls.
2005-11-24 19:27:41 +01:00
Francois Gouget
6d442aeb34
Assorted spelling fixes.
2005-11-23 20:14:43 +01:00
Francois Gouget
f667584aac
winldap.h should include windeh.f and schnlsp.h.
...
Enclose the API definitions in an extern "C" section and define
LDAPAPI.
Better stick to the types defined by the PSDK.
Fix the ldap_create_vlv_control*() prototypes.
Update win32.api.
2005-11-23 20:12:07 +01:00
Alexandre Julliard
cc01e8ff05
Preserve 16-byte stack alignment in the various assembly
...
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Francois Gouget
482df927ca
Add LPADDRINFO, missing IP_* defines and missing APIs.
...
Enclose the API definitions in an extern "C" section.
Define function pointer types if INCL_WINSOCK_API_TYPEDEFS is defined.
Better stick to the types defined by the PSDK.
Update win32.api.
2005-11-23 19:43:50 +01:00
Vincent Béron
f41abbd07a
Add/correct prototypes for some already defined functions in
...
advapi32. Correct spec file entry for GetSecurityInfoExW.
2005-11-21 12:06:00 +00:00
Vincent Béron
483f3bac53
Update win32.api to cvs.
2005-11-17 11:03:14 +00:00
Mike McCormack
0077582938
Add timezone information to the registry.
2005-11-15 18:18:27 +00:00
Huw Davies
8056092909
Prefix [putref] property names with putref_.
2005-11-14 15:12:24 +00:00
Vitaliy Margolen
3a547b08bb
Add default version information.
2005-11-14 15:11:26 +00:00
Francois Gouget
f4c0524ec6
Assorted spelling and case fixes.
2005-11-10 11:39:07 +00:00
Markus Amsler
4adae004c3
Make parameter higlighting regex less "hungry".
2005-11-10 11:36:44 +00:00
Vincent Béron
2d2e7f8432
Update win16.api and win32.api.
2005-11-04 11:44:01 +00:00
Vincent Béron
78039be7dd
volatile is legal (and used now!) in a typedef struct {}.
2005-11-04 11:39:58 +00:00
Vincent Béron
297ef3af20
Fix typo: PSYM_ENUMSOURCEFILES_CALLBACK instead of
...
PSYM_ENUMSOURCFILES_CALLBACK.
2005-11-04 11:16:48 +00:00
Vincent Béron
eb3fec1b87
__RPC_STUB is a calling convention as well (#defined as __stdcall).
2005-11-04 11:14:41 +00:00
Dmitry Timoshkov
40ffc286f5
Get rid of a double backslash.
2005-11-03 19:32:38 +00:00
Mike McCormack
a1b1f997f1
Add the ContextMenuHandlers key for shortcuts so the new context menu
...
code can work.
2005-11-03 11:33:43 +00:00
Mike McCormack
b191c3daef
Handle msi component identifiers without a feature guid.
2005-11-02 10:55:13 +00:00
Vitaliy Margolen
b3b065ed2d
Remove version information.
2005-11-01 18:05:56 +00:00
Hans Leidekker
bec54e7c4c
Wine is beta software now.
2005-10-27 12:08:24 +00:00
Robert Lunnon
d4c425b681
Remove SVR4 specific pseudo-ops.
2005-10-24 15:01:34 +00:00
Simon Richter
9aa432346c
Fix winebuild's ppc assembly generation.
2005-10-24 15:01:18 +00:00
Jonathan Ernst
6fc9f190ec
Use WineHQ's mirror selection script to get the Mozilla ActiveX
...
Control.
2005-10-19 19:07:30 +00:00
Mike McCormack
bb05f9e9eb
Make sure the component string is nul terminated.
2005-10-18 10:36:38 +00:00
Vincent Béron
0be88a04a8
Correct AtlModuleAddTermFunc prototype.
2005-10-18 10:34:21 +00:00
Dmitry Timoshkov
b99fa1546c
Rename struct option in order to avoid a conflict with wine/port.h.
2005-10-11 19:55:11 +00:00
Alexandre Julliard
a8d69d6e35
Add current directory to default include path.
2005-10-10 18:07:34 +00:00
Alexandre Julliard
36c3199782
Default search path for an include file should be based on the path of
...
the parent source file, not the current directory.
2005-10-10 18:06:50 +00:00
Richard Cohen
41d228aa8e
Don't create old unlocalized directories in wineprefixcreate.
2005-10-10 18:03:25 +00:00
Alexandre Julliard
ac21d34b26
Set the version we report in wmc and wrc from the global Wine
...
version.
2005-10-10 10:43:41 +00:00
Alexandre Julliard
5131ba6150
Set the widl version to be the same as the global package version.
2005-10-08 10:37:09 +00:00
Francois Gouget
b01d6a9081
Move all Unicode and Ansi string types to the %str and %wstr
...
sections.
2005-10-08 10:33:54 +00:00
Alexandre Julliard
12a749984c
Put Wine version information in all the man pages.
2005-10-06 16:10:01 +00:00
Alexandre Julliard
664e4106c6
Added global rules for man pages.
2005-10-06 16:06:04 +00:00
Alexandre Julliard
fb3a9ed135
Fixed some nroff warnings.
2005-10-06 11:40:43 +00:00
Francois Gouget
247cd64c0c
winapi_check does not use the '--extension' flag so remove it.
2005-10-06 11:34:47 +00:00
Dmitry Timoshkov
ea4586215e
Ignore the delay load directory size.
2005-10-06 11:34:29 +00:00
Alexandre Julliard
f5e49be317
Fixed dumping of the import directory to ignore the directory size.
2005-10-04 15:55:33 +00:00
Dmitry Timoshkov
9e52816b07
Add support for dumping delay load PE data.
2005-10-04 15:49:52 +00:00
Alexandre Julliard
e86a6a2454
Get rid of the debug channels support.
2005-09-29 13:41:34 +00:00
Alexandre Julliard
8b84ac8d05
Removed rules for .dbg.c files.
2005-09-29 10:42:43 +00:00
Vincent Béron
eeea14a81e
Update winapi_check for "false" HAVE_* macros.
2005-09-29 10:33:00 +00:00
Vincent Béron
8ee9f5052b
Update win32.api to current CVS.
2005-09-29 10:32:50 +00:00
Alexandre Julliard
cd91bc61be
Now that we are requiring bison anyway, make the .tab.c file use the
...
same base name as the .y file, so that we can generate correct
dependencies in all cases.
2005-09-28 18:17:08 +00:00
Vincent Béron
ba09692406
Don't treat absence of conditional as config.h being useless if
...
wine/port.h is included, as it's necessary in that case.
2005-09-28 10:15:44 +00:00
Francois Gouget
2f9678727f
Add iads.idl to define the IADsContainer interface.
...
Add adshlp.h to declare the ADs* functions.
Fix the ADsOpenObject() prototype.
Update win32.api to match.
2005-09-26 16:43:20 +00:00
Francois Gouget
f0f179dd0d
volatile is valid everywhere const is valid.
2005-09-26 13:25:35 +00:00
Francois Gouget
3f079bfb54
HOLEMENU is a 'long' as far as winapi_check is concerned.
2005-09-26 09:54:22 +00:00
Francois Gouget
5d42588c1c
Update win32.api to match the current sources.
...
Fix the usp10.dll name.
Fix PBERVAL alphabetical order.
2005-09-26 09:53:06 +00:00
Francois Gouget
9714802b25
Update winapi_check so it considers 'longlong' (win*.api files) as
...
compatible with 'double' (spec files).
2005-09-26 09:52:09 +00:00
Alexandre Julliard
75c27e17b6
Defined a proper structure for debug channels.
...
Also put all the function pointers inside a structure and added
__wine_dbg_set_functions to change them instead of exporting the
pointers directly.
2005-09-23 10:52:07 +00:00
Alexandre Julliard
94f140ce78
Leave creation of the drive symlinks to wineprefixcreate.
2005-09-22 10:50:12 +00:00
Alexandre Julliard
5cb97d833a
Generate 16-bit spec files as assembly code too.
2005-09-21 14:23:54 +00:00
Alexandre Julliard
2aae74dff0
Factor out a couple of useful helper functions.
2005-09-21 11:50:04 +00:00
Alexandre Julliard
210bd2dd94
Make sure that values of absolute symbols fit in 16 bits.
2005-09-21 11:10:54 +00:00
Alexandre Julliard
102617f186
Let winebuild take care of calling the assembler.
...
Pass -v and -save-temps options through to winebuild too.
2005-09-21 11:00:21 +00:00
Alexandre Julliard
3cd7379d26
Moved stub function generation to import.c. Added a get_stub_name
...
function to ensure naming consistency.
2005-09-21 10:57:04 +00:00
Alexandre Julliard
5173234ea8
Now that we have to be able to run the assembler from winebuild, added
...
an option to generate a .spec.o file in a single step.
Added --save-temps and --verbose options for easier debugging.
2005-09-21 10:22:28 +00:00
Alexandre Julliard
c5c6968e96
Fixed stack offset of %eax register.
2005-09-20 11:38:29 +00:00
Alexandre Julliard
a999a990fe
Create an assembly file with all undefined symbols and add it to the
...
link command so that the symbols show up in the final undefined list.
Use that list to create thunks for all exported but undefined symbols,
to make sure all export RVAs point somewhere inside the module.
2005-09-19 17:04:43 +00:00
Alexandre Julliard
87c347b18e
Don't remove ignored symbols from the undefined list, simply skip them
...
when resolving imports.
Added get_temp_file_name utility function.
2005-09-19 15:24:13 +00:00
Alexandre Julliard
7a52190c03
Take into account -noname functions when checking for duplicate export
...
names. Fixed a couple of issues found by the stricter check.
2005-09-19 14:44:28 +00:00
Alexandre Julliard
96508ad686
Moved return value handling to the individual relay thunks so that we
...
only need one version of wine_call_from_16.
Patch the wine_call_from_16 address along with the cs value directly
in the 16-bit code segment to avoid the need for special magic in the
import thunks.
2005-09-18 12:25:22 +00:00
Alexandre Julliard
89024a63d3
Make the users of wine_call_from_32_regs save %eax so that we don't
...
need a special hack in the import thunk.
Added a get_pc_thunk_eax function to simplify the code a bit.
2005-09-18 11:13:54 +00:00
Alexandre Julliard
80083b18f8
Store RVAs instead of pointers wherever possible in the generated NT
...
header and directories.
2005-09-17 14:39:51 +00:00
Alexandre Julliard
8c6649e457
Implemented import thunks for x86-64.
2005-09-16 19:39:42 +00:00
Huw Davies
82f6d65b61
Update sfnt2fnt hack, now that Wine Courier is known as Courier.
2005-09-16 18:45:45 +00:00
Alexandre Julliard
13baa7b364
Added a common function to declare global symbols, and make them
...
hidden on platforms that support it.
2005-09-15 18:48:39 +00:00
Alexandre Julliard
9f49889188
Now that everything is done in assembly in the spec file, directly
...
generate a .s file to bypass gcc inefficiency with large data
structures.
2005-09-15 15:01:30 +00:00
Alexandre Julliard
41177ca0bd
Output the resource data in assembly too.
2005-09-15 09:42:22 +00:00
Alexandre Julliard
8aba0897bd
Output constant strings in a more appropriate section than .text.
2005-09-14 19:18:05 +00:00
Alexandre Julliard
3fa5678ea9
Generate stub functions directly in assembly.
2005-09-14 15:49:45 +00:00
Ge van Geldorp
748d23a7d4
Base of REG_DWORD entries must be auto-detected.
2005-09-14 11:15:58 +00:00
Alexandre Julliard
3a503499aa
Properly handle the case where vsnprintf returns -1.
2005-09-12 20:31:33 +00:00
Robert Shearman
d026458860
- Output prototypes for user marshal functions at the end of the
...
header and by use.
- Add support for range and ptr attributes and for the "small" base
type.
2005-09-12 20:13:40 +00:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard
14e70340e2
Fixed get_time_str definition to match the prototype.
2005-09-09 09:12:27 +00:00
Vincent Béron
ac3ac35f41
Update the win32.api file to current CVS.
2005-09-09 09:11:23 +00:00
Dmitry Timoshkov
f861818081
Dump more .lnk file header fields.
2005-09-08 18:54:32 +00:00
Alexandre Julliard
43bd5512c3
Added support for 64-bit format NT header and export/import tables.
2005-09-08 11:35:19 +00:00
Alexandre Julliard
c382ed06d3
Added a bit of framework for future x86_64 support.
2005-09-07 13:31:37 +00:00
Christoph Frick
6557832a91
Fake directx 9c instead of 9b.
2005-09-07 13:26:31 +00:00
Alexandre Julliard
e6c7669226
Generate the NT header in assembly instead of using a C structure.
2005-09-07 11:44:16 +00:00
Francois Gouget
09108edded
'volatile' is valid everywhere where 'const' is valid. This fixes
...
parsing of the new InterlockedExchange() prototype.
2005-09-06 09:23:46 +00:00
Alexandre Julliard
2aa9e201b2
Output the delayed import table using assembly too.
2005-09-03 15:39:13 +00:00
Alexandre Julliard
9bca150c0f
Implemented --image-base support for Mac OS.
2005-09-03 15:12:11 +00:00
Alexandre Julliard
932ecb24eb
Output the import directory using assembly instead of C structures.
2005-09-02 15:36:03 +00:00
Alexandre Julliard
d1c5f68dca
Added an entry point routine for native drivers.
2005-09-02 15:19:42 +00:00
Alexandre Julliard
ce20722109
Moved the spec file init function and constructor to winecrt0.
2005-09-02 14:43:03 +00:00
Alexandre Julliard
68f177364d
Avoid using common symbols, they are broken on Mac OS.
2005-08-29 21:49:57 +00:00
Alexandre Julliard
d13b99d5f9
Compute the ordinal base and limit in assign_ordinals instead of doing
...
it while parsing.
2005-08-29 15:15:42 +00:00
Alexandre Julliard
0628c7eba6
Moved more of the spec initialization code to the winecrt0 library,
...
and get rid of implicit kernel32 imports.
2005-08-29 14:16:27 +00:00
Alexandre Julliard
9c708060d3
Use __wine_unimplemented_stub from crt0 for 16-bit spec files too.
2005-08-29 10:50:26 +00:00
Alexandre Julliard
5f95aa0c53
Get rid of the unused owner_name field.
2005-08-29 09:40:11 +00:00
Alexandre Julliard
d4098549bb
Moved the delay loading support code to the winecrt0 library.
2005-08-25 19:37:51 +00:00
Alexandre Julliard
3ccbb018a0
Added a -municode flag to winegcc for applications that have a wmain()
...
entry point.
2005-08-25 19:26:59 +00:00
Alexandre Julliard
b6b180a16d
Moved the implementation of spec file stubs to the winecrt0 library.
2005-08-25 15:27:44 +00:00
Alexandre Julliard
71ae2d7bed
Beginnings of a crt0 library.
2005-08-25 11:41:05 +00:00
Alexandre Julliard
5370981e06
The exported name strings should be inside the export directory (found
...
by Vitaliy Margolen).
2005-08-23 20:08:37 +00:00
Rémi Assailly
c6e294deb1
Moved mciavi32 to the top-level dlls directory.
2005-08-23 19:52:30 +00:00
James Hawkins
b032243bdb
Register the ITStorage class.
2005-08-23 18:17:03 +00:00
Alexandre Julliard
2b87c82e76
Added a --undefined option to allow forcing some symbols to be
...
resolved by the linker.
2005-08-19 11:28:56 +00:00
Rémi Assailly
2e689c6c66
Removed mcianim.
2005-08-19 11:22:25 +00:00
Alexandre Julliard
ec1cdfd12b
Added some general purpose routines for managing list of symbol
...
names.
2005-08-19 10:25:22 +00:00
Huw Davies
84ae4d8bd1
Add System font for the Chinese codepages cp936 and cp950. Of course
...
they don't contain any ideographs (and nor should they).
2005-08-19 09:57:47 +00:00
Pavel Roskin
bdf904398b
sfnt2fnt exits with code 0 for several errors, which causes make to
...
ignore them. Use exit code 1 instead.
2005-08-18 10:49:37 +00:00
Rémi Assailly
5df5e40164
Moved mciseq to the top-level dlls directory.
2005-08-17 12:15:35 +00:00
Francois Gouget
71af595499
Use LPSTORAGE to better match the PSDK.
...
Document the real SEGPTR type using the standard documentation
mechanisms. Fixes winapi_check warnings.
2005-08-16 16:01:15 +00:00
Alexandre Julliard
19c1af5b01
Set the default system dir to windows/system32.
2005-08-15 14:53:35 +00:00
Francois Gouget
bcd56fe0e5
Assorted spelling fixes.
2005-08-12 18:22:06 +00:00
Alexandre Julliard
646f17f249
Implemented DelayLoadFailureHook and use it in the winebuild-generated
...
delay load code.
2005-08-12 16:00:42 +00:00
Mike McCormack
8e5c32acbd
Partial implementation of DllRegisterServer.
2005-08-12 11:20:26 +00:00
Steven Edwards
779f4d0019
Correct size check.
2005-08-11 10:33:29 +00:00
Vincent Béron
be3837e95b
Correct a typo in winapi_local.pm.
2005-08-11 10:32:10 +00:00
Vincent Béron
85c8a9ef8e
Another update to win*.api.
2005-08-11 10:32:02 +00:00
Alexandre Julliard
88aa4b524d
Byteswap the resources if we detect that the header is in the wrong
...
endianness.
2005-08-10 13:04:23 +00:00
Vincent Béron
a25f8c49b6
Another update to the win*.api files.
2005-08-10 09:48:43 +00:00
Vincent Béron
49f3c2aeec
Since windows/ is gone, headers for user are only in
...
dlls/user/. Remove kludge from winapi_check.
2005-08-10 09:48:31 +00:00
Alexandre Julliard
866f52bce1
Ignore prelink failures.
2005-08-09 20:47:18 +00:00
Alexandre Julliard
adbb098837
Added support for the --image-base linker option in winegcc using the
...
prelink tool.
2005-08-09 11:12:29 +00:00
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