Commit Graph

2832 Commits

Author SHA1 Message Date
Luis C. Busquets Pérez f1f76e8a4e tools: Add Spanish translation to wine.desktop. 2008-04-11 11:13:50 +02:00
Alexandre Julliard 619b9671d1 tools: Remove the obsolete bug_report.pl and genpatch scripts. 2008-04-09 11:59:38 +02:00
Alexandre Julliard cff332fbfd wrc: Add support for Unicode accelerator strings. 2008-04-08 11:54:47 +02:00
Reece Dunn d03f4d2a49 tools/msvcmaker: Suppress deprecation warnings on VC8 and above. 2008-04-07 20:35:49 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Michael Moss 4a8d26a9cf wine.inf: Move winebrowser.exe to the system directory. 2008-04-07 11:24:14 +02:00
Dan Hipschman 976f570f61 widl: Fix a mistake in an ordered list (keywords). 2008-04-03 11:30:08 +02:00
Rob Shearman f7f31150ee widl: Turn on verbose errors, which gives a little more information in the case of a syntax error. 2008-04-02 19:54:08 +02:00
Rob Shearman bfde2c2e79 widl: Fix the writing out of function pointers with more than one level of indirection. 2008-04-02 19:54:01 +02:00
Rob Shearman 5a378905be widl: Add a newline between function prototypes for non-object interfaces. 2008-04-02 19:53:50 +02:00
Rob Shearman 35ba23bd48 widl: Support __fastcall and __pascal calling conventions.
Support the synonyms for these and existing calling conventions.
2008-04-02 19:53:42 +02:00
Rob Shearman d97f3205ba widl: Support parsing calling conventions for function identifiers.
Support automatically setting the calling convention to 
STDMETHODCALLTYPE if it is part of an object interface.

Write out the calling convention in write_type_v.
2008-04-02 19:53:23 +02:00
Rob Shearman 6a0c5a4fe9 widl: Store function and function pointer types completely within type_t type. 2008-04-02 19:53:09 +02:00
Rob Shearman a04b150839 widl: Add a function to get the return type of a parsed function.
This clarifies its use in code and makes it simpler to change the way 
functions are parsed into types.
2008-04-02 19:52:49 +02:00
Michael Stefaniuc fae9640f4d wrc: Sync the codepage mapping to the LANG_* identifiers from include/winnt.h. 2008-04-02 11:14:35 +02:00
Rob Shearman 772f3af9f0 widl: Be more strict about where semicolons can appear in IDL files.
In particular, don't allow them after cpp_quote and without a statement.

Update the rules for importlib, library definition, dispinterface 
definition, interface definition, coclass definition and module 
definition to optionally allow a semicolon postfix.

Call pop_import from the parser instead of the lexer to ensure that 
pop_import is only called after the last statement in the imported file 
has been parsed.
2008-04-01 19:10:43 +02:00
Rob Shearman a110cffd95 widl: Parse typedefs of function pointers. 2008-04-01 11:29:23 +02:00
Dmitry Timoshkov 529f25dc60 wine.inf: Update timezone information. 2008-03-31 12:14:28 +02:00
Mikołaj Zalewski 19053786bb wrc: verify-translation: Allow the translators to set BS_MULTILINE on buttons without an error. 2008-03-31 12:12:53 +02:00
Mikołaj Zalewski 7487051555 wrc: verify-translation: Remove dumping of stringtables. 2008-03-31 12:12:36 +02:00
Mikołaj Zalewski c933dbf1b4 wrc: verify-translation: Compare all the controls of dialogs, not only the first one. 2008-03-31 12:12:29 +02:00
Alexandre Julliard 84308ffcde wine.inf: Create a fake module for mountmgr.sys. 2008-03-28 17:26:09 +01:00
Michael Stefaniuc 865c31b811 wrc: Add the code page mapping for LANG_ROMANSH. 2008-03-28 09:51:10 +01:00
Rob Shearman f8ea9ec163 widl: Make sure that string types are always written out by write_string_tfs and not write_simple_pointer.
This is because write_string_tfs has support for the full range of 
string types, write_simple_pointer doesn't have access to the var 
attributes which are needed to properly detect strings, and 
write_string_tfs sets the typestring offset to after the pointer is 
written and write_remoting_arg depends on this.
2008-03-27 17:33:09 +01:00
Rob Shearman f4a9619364 widl: Fix detection of non-pointer context handles.
is_ptr cannot be used because it follows the chain of types into the 
type which has the context_handle attribute, which is typically "void *" 
and so causes these context handles to be incorrectly detected as 
context handles. Instead, we can use is_aliaschain_ptr to follow the 
chain of aliases without following pointers and the absence of the 
context_handle attribute indicates that it must be present on a type 
after following a pointer.
2008-03-27 17:33:06 +01:00
Rob Shearman 59556de0c1 widl: Add support for generic binding handles. 2008-03-27 17:33:02 +01:00
Rob Shearman 8a0cb2b5c5 widl: Use is_string_type for detecting strings in write_typeformatstring_var to make it consistent with write_remoting_arg.
Fix the is_string_type function used for detecting strings by only 
examining aliases instead of both aliases and pointers. This is due to 
the requirement that pointers to strings be handled as pointers and so 
not detected as strings.
2008-03-27 17:32:58 +01:00
Rob Shearman 4194daf108 widl: Support using context handles as the binding handle in client functions. 2008-03-27 11:42:36 +01:00
Justin Chevrier 3d707dc8ec wine.inf: Create fake dll entry for dosx.exe. 2008-03-25 15:21:27 +01:00
Reece Dunn 45d248f1e0 tools: Target the version defines to Vista in msvcmaker. 2008-03-24 21:05:07 +01:00
Vitaliy Margolen e664379a06 wineshelllink: Don't hard-code icon extension to xpm. 2008-03-24 13:39:16 +01:00
Alexandre Julliard f2734a1a64 tools/sfnt2fnt: Add getopt option parsing. 2008-03-22 21:08:54 +01:00
Alexandre Julliard f5c49b210a tools/sfnt2fnt: Merge the fnt2fon code into sfnt2fnt to allow generating fonts in a single step. 2008-03-22 21:08:49 +01:00
Alexandre Julliard a145b3069f tools/sfnt2fnt: Separate the building of the font data and the actual file creation. 2008-03-22 20:12:59 +01:00
Alexandre Julliard 0a16b6b81f wrc: parser_error must append a newline. 2008-03-22 10:32:07 +01:00
Jacek Caban f460cbf9af wine.inf: Register jscript.dll. 2008-03-21 15:18:47 +01:00
Dan Hipschman 2fa83d94c8 widl: Make structures with FC_ENUM16 fields complex.
Structures containing enum fields without the v1_enum attribute must be
treated as complex because of the range check and memory/wire size
differences.  This includes a test which didn't pass before and now
passes on Wine and Windows.
2008-03-21 11:24:28 +01:00
Anatoly Lyutin 65ebbb328e wine.inf: Add "MenuShowDelay" value. 2008-03-20 11:43:02 +01:00
Dan Hipschman d37b1a4969 widl: Ignore libraries in imported IDL files. 2008-03-19 11:22:56 +01:00
Dmitry Timoshkov 1f0dcf06ea wine.inf: Update time zone information for America/Los_Angeles and America/Tijuana. 2008-03-19 11:18:47 +01:00
Maarten Lankhorst f629dc4eb6 wine.inf: Change default windows version to XP. 2008-03-18 11:44:09 +01:00
Rob Shearman a9947cdf7d wine.inf: Update timezone information. 2008-03-13 20:44:18 +01:00
Alexandre Julliard 1137f4bf31 makefiles: Consider all .res files as object files. 2008-03-13 11:47:23 +01:00
Michael Stefaniuc 5c9d1223db widl: Remove local variable shadowing in add_func_desc(). 2008-03-12 11:59:12 +01:00
Rob Shearman 4500836635 makefiles: Simplify the use of the MODULE variable in static import libraries.
Don't include platform-specific information when declaring the name of
the static import libary to build. Instead, add this information in
Makeimplib.rules.in.
2008-03-10 19:12:54 +01:00
Francois Gouget de928a09ec msvcmaker: We don't use .dbg.c files anymore. 2008-03-05 13:05:11 +01:00
Francois Gouget 19a85f3433 msvcmaker: We don't build wine.lib so don't try to copy it. 2008-03-05 13:05:02 +01:00
Francois Gouget 9a17f38d6c msvcmaker: winebuild needs getopt*.c and mkstemps.c when compiled with MSVC. 2008-03-05 13:04:53 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Tony Wasserka 9b7ca823d3 make_makefiles: Fix importlib handling. 2008-03-04 20:50:31 +01:00
Alexandre Julliard 1dca65607b widl: Avoid getopt constants that may not be defined. 2008-03-04 12:14:46 +01:00
Alexandre Julliard c52d921f34 kernel32: Added a winoldap.mod 16-bit exe to launch 32-bit processes.
Based on a patch by Dmitry Timoshkov.
2008-03-03 15:25:50 +01:00
Alexandre Julliard 0c214a7091 winebuild: Add support for 16-bit exe modules. 2008-03-03 15:19:53 +01:00
Mikołaj Zalewski fee6076a2b wrc: Convert standard control classes names into ids also for UTF-8 resource files. 2008-03-03 11:59:17 +01:00
James Hawkins e4c1227ec9 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:17 +01:00
Alexandre Julliard 5625c6079e Get rid of the global thread.h header. 2008-03-01 11:57:00 +01:00
Alexandre Julliard bb27b37599 user32: Moved win.h to the user32 directory. 2008-02-29 17:21:04 +01:00
Hans Leidekker e9bf3241e1 wineprefixcreate: Create the color directory. 2008-02-25 20:35:25 +01:00
Gerald Pfeifer 92015ee4ed widl: Include <unistd.h> for prototype of unlink(). 2008-02-25 11:54:16 +01:00
Dan Hipschman 2d7b1f18b1 widl: Allow is_string_type to work for typedef'd types. 2008-02-22 12:04:26 +01:00
Marcus Meissner 8063d6572b winedump: Check return value of fetch_block (Coverity). 2008-02-20 12:06:36 +01:00
Roy Shea 313a903a85 qmgr: Implement DLL server registration. 2008-02-19 20:47:38 +01:00
Lei Zhang f4f7a5c5c9 qedit: Add MediaDet registration.
Much of the code is from quartz.
2008-02-19 18:02:00 +01:00
Alexandre Julliard 41fbacefa1 Avoid the nounistd option that doesn't exist on older flex, define YY_NO_UNISTD_H instead. 2008-02-19 15:42:49 +01:00
Rob Shearman 878ea5d2e2 Add the nounistd option to all lex source files. 2008-02-19 13:39:25 +01:00
James Hawkins 0d2f7322d3 tools/wine.inf: Create fake dlls for itircl.dll and itss.dll. 2008-02-16 15:16:50 +01:00
James Hawkins 26424a0a59 tools/wine.inf: Create a fake file for hh.exe. 2008-02-16 15:16:46 +01:00
Rob Shearman a5886607d0 widl: Guard the inclusion of unistd.h. 2008-02-15 11:06:25 +01:00
Rob Shearman c233ba105e widl: Remove unused headers. 2008-02-15 11:06:21 +01:00
Colin Finck 318e61535c widl: Write the TLB file in binary mode, so the line endings won't be changed. 2008-02-08 11:01:09 +01:00
Colin Finck 0fae921727 widl: Support Windows paths in dup_basename and make_token. 2008-02-08 11:00:55 +01:00
Eric Pouech aaa2862bf9 dbghelp: Added preliminary support for a strange stack variable object. 2008-02-07 11:59:52 +01:00
Francois Gouget e52dad1eb7 winapi_check: Update win32.api for d3dx8.dll. 2008-02-05 12:19:38 +01:00
Francois Gouget 511aca5244 winapi_check: Assorted win32.api updates. 2008-02-05 12:19:38 +01:00
Francois Gouget 566b10a330 winapi_check: Update win32.api for acledit.dll, ctapi32.dll and inetcomm.dll. 2008-02-05 12:19:38 +01:00
Rob Shearman e28fe907fa wine.inf: Make UI effects default to on.
This makes SPI_GETUIEFFECTS return TRUE by default.
2008-02-04 13:03:53 +01:00
Rob Shearman 661b01f922 widl: Output code for initialising and freeing full pointer translation tables. 2008-02-04 11:49:13 +01:00
Rob Shearman 454e489c2f widl: Don't search for a import file name with a path in the include directories for compatibility with MIDL. 2008-02-04 11:49:07 +01:00
Jacek Caban 2118aeca16 widl: Ignore ATTR_LOCAL in create_msft_typeinfo. 2008-02-04 11:30:30 +01:00
Francois Gouget fa9950f93e winedump: Add support for dumping SZ_LINK and SPECIAL_FOLDER data blocks. 2008-02-04 11:13:07 +01:00
Francois Gouget 79a6f41935 winedump: Switch the block dumping code to be block-oriented, rather then flag oriented, so it is resilient to order changes. 2008-02-04 11:13:01 +01:00
Francois Gouget 9fc80d212f winedump: Dump the raw data when finding an unknown block in an lnk file. 2008-02-04 11:12:32 +01:00
Francois Gouget 74d8536414 winedump: Track unknown lnk flags and dump them. 2008-02-04 11:12:13 +01:00
Francois Gouget 85eac20afd winedump: Use the standard SLDF_XXX flag names instead of inventing new ones. Add the missing flags. 2008-02-04 11:12:03 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Dmitry Timoshkov cf94095eb7 winebuild: Add a couple of missing indentations in the generated asm files. 2008-01-23 11:31:43 +01:00
Rob Shearman 5af6012fba widl: Write out code for initialising out-only client context handles. 2008-01-21 11:39:13 +01:00
Austin English 90f89fa74d tools: Spelling fixes. 2008-01-18 12:52:09 +01:00
Alexandre Julliard ba5336175c widl: Use the real argument names in the C method macros. 2008-01-18 12:03:22 +01:00
Alexandre Julliard aaf02c6f4a winebuild: Don't try to use the .init section on Mac OS. 2008-01-16 20:27:35 +01:00
Alexandre Julliard 538071ce7e winebuild: Reserve the space for the PE header in the .init section. 2008-01-16 17:51:59 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Michael Stefaniuc c3eda248a5 winedump: Use a switch in the generated DllMain(). 2008-01-14 15:51:04 +01:00
Michael Stefaniuc 8c6dbc7a3e winedump: Use the DEFINE_THISCALL_WRAPPER macro instead of the GET_THIS macro for functions with __thiscall calling convention.
Wine doesn't use GET_THIS but DEFINE_THISCALL_WRAPPER.
2008-01-14 15:50:58 +01:00
Michael Stefaniuc 6db84ae4c6 winedump: Do not create a header file when not generating skeleton code.
The header file generated with "winedump spec" without the "-c" option
just includes other headers.
2008-01-14 15:50:23 +01:00
Rob Shearman a3040cea58 widl: Use symbolic names for some of the context handle attributes. 2008-01-07 21:33:53 +01:00
Rob Shearman 06ed169bc5 widl: Fix context handle "cannot be null" detection.
The "cannot be null" attibute is applied to a parameter if and only if 
it is in-only.
2008-01-07 21:33:50 +01:00
Peter Oberndorfer 66960ba4bf dwmapi: Add stub implementation for DwmSetWindowAttribute and DwmUnregisterThumbnail. 2008-01-07 18:19:37 +01:00
Rob Shearman e998892a23 widl: Fix the conditions under which array freeing code is output.
It doesn't matter whether or not the array is declared as a pointer or 
is declared using array subscripts - the array is still allocated by the 
unmarshalling function and so needs to be freed.

Fix a typo that caused varying arrays never to be freed.

Fix another typo with the check for conformant arrays being performed 
twice, redundantly.
2008-01-07 12:37:08 +01:00
Rob Shearman 15af19c6ec widl: Add support for strict context handles. 2008-01-07 12:32:21 +01:00