Commit Graph

17725 Commits

Author SHA1 Message Date
Eric Pouech 8a92d9ae49 dbghelp: dwarf: Generate the current source file and store it in dbghelp's internals. 2006-06-20 11:57:12 +02:00
Eric Pouech 7af4097d80 dbghelp: Added the ability to define a source file by dir+filename instead of only filename. 2006-06-20 11:54:40 +02:00
Eric Pouech 52db5c094e dbghelp: dwarf: Started parsing the attributes for lines (in compilation unit).
Walking the whole lot, not doing anything interesting apart from
traversing the data.
2006-06-20 11:54:17 +02:00
Eric Pouech a655b14340 dbghelp: Pass .debug_loc section information to dwarf. 2006-06-20 11:52:29 +02:00
Eric Pouech d6bd8661ff dbghelp: Dwarf & parse context.
- split the data structures for walking through the data (abbrev,
  cu... -> traverse_ctx) and data manipulation/loading (-> parse_ctx)
- created dwarf2_parse_compilation_unit() for clarity
- added section structure to gather information about all ELF sections
  related to all dwarf2 sections (more to come)
2006-06-20 11:52:01 +02:00
Eric Pouech 298198c318 dbghelp: Dwarf & udt members.
- correctly set size & offsets for regular udt members
- first shot at bitfields for udt members
2006-06-20 11:51:34 +02:00
Eric Pouech a2b4432107 dbghelp: Dwarf & function blocks.
- properly handling function blocks
- handling of variables inside of blocks (either on stack, or in a
  register, or relative to the frame register if any)
- added dwarf2_subprogram_t structure so that we can pass around
  relevant information for function parsing
2006-06-20 11:51:16 +02:00
Eric Pouech 7476f8c840 dbghelp: dwarf: Properly handle function formal parameters. 2006-06-20 11:50:39 +02:00
Eric Pouech cff41cf9f2 dbghelp: Storage of func locals & parameters.
- added the ability to tell to add_func_local whether we're adding
  a local variable or a parameter (and removed the black magic
  we were using)
- we can now address variables defined as an offset to a register
2006-06-20 11:47:38 +02:00
Eric Pouech df179e9bf1 dbghelp: Dwarf & global symbols.
Offset the addresses for global symbols (func & variables) by the base
image of the corresponding module.
2006-06-20 11:47:16 +02:00
Eric Pouech 686237e043 dbghelp: dwarf: Added support for function labels. 2006-06-20 11:46:51 +02:00
Eric Pouech 6cee154b23 dbghelp: Proper support for nested types definitions (even in C). 2006-06-20 11:46:18 +02:00
Eric Pouech 468956f4cd dbghelp: Dwarf - function scheme.
- various fixes to follow better the functions definition (nesting,
  subroutines...)
- don't directly parse types referenced by a subprogram, they'll be
  loaded anyway when needed
2006-06-20 11:45:48 +02:00
Eric Pouech ae67326863 dbghelp: Dwarf & locations.
- put back the block attribute parsing
- added dwarf2_compute_location to properly decode a location (at
  least starting it)
2006-06-20 11:45:33 +02:00
Eric Pouech 6d61cc0c7b dbghelp: Dwarf compiland.
- rewrote all entities loading to make use of new dwarf2_debug_info_t scheme
- commented out the location parsing which is an ugly hack
2006-06-20 11:43:17 +02:00
Eric Pouech ec8328d1b1 dbghelp: Dwarf & new scheme.
- add some helpers for the rewrite
- module is now part of the dwarf2_parse_context
2006-06-20 11:42:45 +02:00
Eric Pouech 2301d1a3d0 dbghelp: Dwarf & type references.
Removed unused type references scheme that we'll implement using a
different scheme in next patches.
2006-06-20 11:41:55 +02:00
Eric Pouech 3bd7d2976e dbghelp: Dwarf merge parsing of UDT.
Merge into a single function the struct/class/union parsing.
2006-06-20 11:41:36 +02:00
Eric Pouech c571b8506e dbghelp: Dwarf & debug info entries.
- now loading the debug info entries into specific structures
- this will help writing new functions
- this will allow handling of forward references
2006-06-20 11:41:15 +02:00
Eric Pouech b51cd5750f dbghelp: Dwarf abbrev table is now a sparse array.
- added a pool for memory allocation when parsing a compilation unit
- now using the brand new sparse array for the abbrev table
2006-06-20 11:40:55 +02:00
Eric Pouech ad02173d21 dbghelp: Added another basic type for storage: the sparse array. 2006-06-20 11:40:32 +02:00
Eric Pouech b319600130 dbghelp: Transform a few TRACEs into WARNs (especially for unhandled stuff). 2006-06-20 11:39:58 +02:00
Eric Pouech 474c5cc2a5 dbghelp: Remove the unneeded level attribute while parsing. 2006-06-20 11:39:33 +02:00
Eric Pouech 57c662f4d1 dbghelp: Moved all Dwarf standard definitions into dwarf.h file. 2006-06-20 11:38:49 +02:00
Eric Pouech 00cf2da5d6 dbghelp: Dwarf & typedefs.
- removed lookup for name for the const modifier
- hard wire dwarf-reference to our pointer types
2006-06-20 11:37:50 +02:00
Eric Pouech d396ec31f9 dbghelp: Dwarf & module's symtype.
- we should set the module's symtype upon success
- removed unneeded bRet variable
2006-06-20 11:37:28 +02:00
Eric Pouech 24743774e8 dbghelp: Dwarf2 & AT_byte_size.
- AT_byte_size can be larger than a single byte (especially for enums)
- added missing enumeration type parsing
2006-06-20 11:37:14 +02:00
Juan Lang cb2e21ffb4 crypt32: Encode/decode CRL issuing dist points. 2006-06-20 11:28:22 +02:00
Jason Green 0b09ecb291 wined3d: Move D3DSIO_DEF instruction for ARB shaders into arb_program_shader.c. 2006-06-20 11:28:15 +02:00
Jason Green 99c855e6ae wined3d: Fix DEF instructions in GLSL for non-Nvidia platforms.
- NVidia allows "const vec4 = {1.0, 2.0, 3.0, 4.0};", even though
  that's not part of the spec.
- It should be  "const vec4 = vecr4(1.0, 2.0, 3.0, 4.0);"
- This patch fixes this for D3DSIO_DEF and D3DSIO_DEFI.
2006-06-20 11:28:05 +02:00
Ge van Geldorp d9157a3586 kernel32: "base" is a pointer in 16-bit global heap. 2006-06-20 11:06:56 +02:00
Mikołaj Zalewski 6352734eae shell32: Remove the now unused SHELL_ConfirmDialog. 2006-06-20 11:06:13 +02:00
Mikołaj Zalewski 529346e8f4 shell32: Use SHELL_ConfirmDialogW when deleting multiple files. 2006-06-20 11:06:02 +02:00
Saulius Krasuckas be115ef0ca lz32: Remove dead code from the LZOpenFileW test. 2006-06-20 11:05:45 +02:00
Mikołaj Zalewski cc6eb8dfe1 shell32: Update the Polish translation. 2006-06-20 11:05:38 +02:00
Juan Lang 13e006a715 crypt32: Simplify CRL creation.
Decoding already handles signed and unsigned CRLs, so don't duplicate
that in CertCreateCRLContext.
2006-06-20 11:05:26 +02:00
Juan Lang 661aecc761 crypt32: Simplify certificate creation.
Decoding already handles signed and unsigned certs, so don't duplicate
that in CertCreateCertificateContext.
2006-06-20 11:05:18 +02:00
Saulius Krasuckas 38a85261cb lz32: test LZOpenFileW. 2006-06-19 23:05:17 +02:00
Saulius Krasuckas 6d024b28b9 lz32: LZOpenFileA sets last error sometimes. 2006-06-19 23:04:52 +02:00
Saulius Krasuckas bd2df081bd lz32: Rename function aliases to real (ASCII) function names. 2006-06-19 23:04:37 +02:00
Robert Shearman 6c4c4e3515 shell32: Convert ISF_Desktop_fnGetDisplayNameOf to Unicode. 2006-06-19 23:04:28 +02:00
Robert Shearman db8169b828 shell32: Convert ISF_MyComputer_fnGetDisplayNameOf to Unicode. 2006-06-19 23:04:23 +02:00
Robert Shearman 0da8836ff7 rpcrt4: Move the packet manipulation from the exception filter to the exception handler.
Remove the unused server_sem variable.
2006-06-19 23:04:19 +02:00
Juan Lang 1811acc2fa crypt32: Fix decoding signed certs and CRLs. 2006-06-19 22:55:05 +02:00
Paul Vriens 14b4e85148 uxtheme/tests: Added test for IsAppThemed and grouped it with IsThemeActive. 2006-06-19 22:54:31 +02:00
Mike McCormack 98d4c2b049 ole32: Implement reading of VT_CF storage properties. 2006-06-19 22:54:21 +02:00
Jeremy White a73d568ece msvcrt: Solaris asctime_r compilation fix. 2006-06-19 22:42:05 +02:00
Jeremy White 466d3fe8e5 dbghelp: Fix a Solaris compilation error. 2006-06-19 22:38:20 +02:00
Jeremy White 3484fa7616 winex11.drv: On Solaris, Xutil.h is required to define XRegion. 2006-06-19 22:36:51 +02:00
Jeremy White d9de5217ae ntdll: On Solaris, limits.h is required for PATH_MAX. 2006-06-19 22:36:30 +02:00
Ge van Geldorp 5f299d6fe5 dbghelp: Fix compilation for x86_64. 2006-06-19 21:23:05 +02:00
Thomas Weidenmueller 5fb24924fb include: Fix definition of SECURITY_INTEGER. 2006-06-19 21:22:40 +02:00
Christian Gmeiner 8f5d90b44d setupapi: Implement SetupDiCreateDeviceInfoListExW. 2006-06-19 21:16:04 +02:00
Paul Vriens 682679b07c uxtheme/tests: Change S_OK to the more appropriate ERROR_SUCCESS. 2006-06-19 20:54:39 +02:00
Vitaly Lipatov fa823d2fb8 dnsapi: Fix conflicts nameser.h with winerror.h. 2006-06-19 20:54:31 +02:00
Uwe Bonnes a8a7976bc0 secur32: Fix another GetProcessHeap vs GetProcessHeap(). 2006-06-19 20:54:19 +02:00
Hans Leidekker 6831c8dfcb mscms: Fix famous typo in HeapFree call. 2006-06-19 20:54:04 +02:00
Kai Blin b432e11927 secur32: Remove unneeded function from the Negotiate provider. 2006-06-19 20:53:53 +02:00
Mike McCormack ccfa76d18e ole32: Fix a typo. 2006-06-19 20:53:44 +02:00
Mike McCormack d18dc2561a hlink: Add a stub implementation for HlinkNavigateToStringReference. 2006-06-19 20:53:39 +02:00
Mike McCormack da906667c7 imm32: Fix some return codes. 2006-06-19 20:53:35 +02:00
Mike McCormack 39c905f6d0 wininet: Make sure to null terminate a string before copying it. 2006-06-19 20:53:31 +02:00
Alexandre Julliard 1a2417d9bc gdi32: Get rid of the no longer needed DIB_CreateDIBSection export. 2006-06-19 11:25:42 +02:00
Stefan Dösinger 1e2413f4f4 ddraw: Implement proper handle management. 2006-06-19 11:14:18 +02:00
Jason Green c13f097de3 wined3d: Correct implementation of D3DSIO_LOOP.
I initially misread the specification.  src0.x is the iteration count,
not the max amount for the loop register.  This fixes that.
2006-06-19 11:11:45 +02:00
Jason Green fd83de7129 wined3d: Fix lookup for LOOP register. 2006-06-19 11:11:24 +02:00
Jason Green 9afa540eb5 wined3d: Added correct cast support for gl_FogFragCoord and gl_PointSize output registers. 2006-06-19 11:11:05 +02:00
Jason Green 406ec20459 wined3d: Load boolean and integer constants into the GLSL shader program. 2006-06-19 10:59:58 +02:00
Jason Green f444009bfb wined3d: Implement locally defined boolean and integer constants in GLSL. 2006-06-19 10:59:13 +02:00
Jason Green 34d271bab6 wined3d: Add preliminary support for constant boolean and integer registers in GLSL.
- Separate the declaration phase of the shader string generator into
  the arb and glsl specific files.
- Add declarations and recognition for application-sent constant
  integers and booleans (locally defined ones will follow).
- Standardize capitilization of pixel/vertex specific variable names.
2006-06-19 10:50:14 +02:00
Jason Green 2d8e05f8a1 wined3d: Move constant loading into target-specific files.
- Moves GLSL constant loading code into glsl_shader.c and out of the
  over-populated drawprim.c.
- Creates a new file named arb_program_shader.c which will hold code
  specific to ARB_vertex_program & ARB_fragment_program.
- Remove the constant loading calls from drawprim.c
2006-06-19 10:49:52 +02:00
Jason Green 7f18b4e5fa wined3d: Remove dead vertex shader code. 2006-06-19 10:39:36 +02:00
Krzysztof Foltman 8e85210144 riched20: EM_CHARFROMPOS didn't work properly with scrolling
(vertical scrollbar position was not taken into account).
2006-06-19 10:30:36 +02:00
Hans Leidekker f9b213ff7b dnsapi: Free all allocated records instead of just the last one. 2006-06-19 10:30:08 +02:00
Hans Leidekker 5213b4a3f2 dnsapi: Correct testing for zero option value DNS_QUERY_STANDARD. 2006-06-19 10:30:02 +02:00
Stefan Dösinger 01273e7eb6 ddraw: Palette refcounting fixes + tests. 2006-06-19 10:29:56 +02:00
Robert Shearman e4b51580e1 ntdll: If ObjectAttributes is NULL then an error is returned at the
start of the NtOpenSymbolicLinkObject, therefore ObjectAttributes does
not need to be checked for NULL later on in the function.
2006-06-19 10:29:11 +02:00
Robert Shearman 1437f8bd8c rpcrt4: Use the thread pool in the RPC server for processing packets. 2006-06-19 10:28:50 +02:00
Robert Shearman 1ddc722ec2 ole32: Document CoCreateFreeThreadedMarshaler. 2006-06-19 10:28:26 +02:00
Robert Shearman aa09031c78 ole32: Reuse event handles used for COM calls.
This reduces the number of server calls during a COM call by half.
2006-06-19 10:28:20 +02:00
Saulius Krasuckas 183da10af4 lz32: Enable old test and expand it. 2006-06-19 10:26:45 +02:00
qingdoa daoo 43fa835e0e kernel: Fix reported address space limit to be in keeping with ntdll. 2006-06-19 09:22:13 +02:00
Detlef Riekenberg 698a8a0b86 winspool: AddMonitor: Test the driver entry before return an error. 2006-06-19 09:22:02 +02:00
Andrew Talbot 685e7007e1 msi/tests: Write-strings warnings fixes. 2006-06-19 09:21:42 +02:00
Kevin Koltzau 0e8b75bb12 oleaut32: Fix 64bit warnings in tests. 2006-06-19 09:21:19 +02:00
Kevin Koltzau 146e6b8b69 mscms: Fix 64bit warnings. 2006-06-19 09:21:12 +02:00
Mike McCormack 705178fb71 inseng: Initial implementation of inseng (required for IE6 to install under win2k). 2006-06-16 16:05:49 +02:00
Jacek Caban c562d4926e mshtml: Added Wine Gecko installer. 2006-06-16 16:03:57 +02:00
Paul Vriens edaac6f696 wined3d: GetScissorRect should use zero-based scissorBox (Coverity). 2006-06-16 14:42:36 +02:00
Huw Davies 26c2953e58 rpcrt4: Fix the argument size of conformant arrays. 2006-06-16 14:42:36 +02:00
Andrey Turkin 07edeb8394 msi: Added tests for MsiSetTargetPath. 2006-06-16 14:42:36 +02:00
Francois Gouget 9eb81363ad Add trailing '\n's to ok() calls.
Remove spaces before '\n'.
2006-06-16 11:32:42 +02:00
Francois Gouget 11ae0f6386 Assorted spelling fixes. 2006-06-16 11:32:29 +02:00
Francois Gouget 2d7ef72cf0 shell32: Remove dead code in SHELL_FindExecutable(). 2006-06-16 11:32:11 +02:00
Francois Gouget f248440dd4 ntdll: Use page_size instead of page_mask+1. 2006-06-16 11:31:51 +02:00
Kai Blin 9d5e09d748 secur32: Implement QueryContextAttributes. Add tests. 2006-06-16 11:31:23 +02:00
Marcus Meissner f1b1fe63f6 avifil32: Corrected destination size in MultiByteToWideChar. 2006-06-16 11:31:06 +02:00
Louis. Lenders 3c688e9345 d3d9: Remove ValidatePixel/VertexShader. 2006-06-16 11:30:38 +02:00
Juan Lang bc2d4a71b4 crypt32: Correct CRL tests, and fix CRL encoding/decoding accordingly. 2006-06-16 11:30:10 +02:00
Ulrich Czekalla 62e41ad1fd hlink: Fix typo. We should set hl not ppvObj. 2006-06-16 11:29:51 +02:00