sergei
ba700ad2ff
* Improvements to Dispatch call handling:
...
o All signed and unsigned ordinal types are made automatable.
o Non-automatable types are rejected when parsing dispinterface declarations.
o Simplified translate_disp_call() a bit.
o translate_disp_call() now supports non-automatable parameters which can be typecasted to automatable ones. UnicodeString is not yet there, though.
o Partially fixes #17904 : parameters of Variant Dispatch calls are passed by reference when they can be mapped to a variable.
git-svn-id: trunk@16360 -
2010-11-18 16:17:50 +00:00
sergei
532f8b9ab5
* Type Word maps to variant type varword, not varqword (probably a typo).
...
git-svn-id: trunk@16359 -
2010-11-18 07:24:37 +00:00
paul
4036be1221
rtl: add IO_REPARSE_TAG constants
...
git-svn-id: trunk@16358 -
2010-11-18 04:06:49 +00:00
paul
f0c3084bee
shlobj: add more SHARD_ constants
...
git-svn-id: trunk@16357 -
2010-11-18 01:47:12 +00:00
pierre
969c81b60f
* Fix DEBUG go32v2 compilation error
...
git-svn-id: trunk@16356 -
2010-11-17 16:14:08 +00:00
pierre
74e1e4c7ba
* Remove go32v2 skiptarget for working tests
...
git-svn-id: trunk@16354 -
2010-11-17 13:30:01 +00:00
marco
485bc5a5b2
* patch from Paul, fixes 17958, newer Vista/W7 interfaces for dialogs.
...
git-svn-id: trunk@16353 -
2010-11-17 13:07:43 +00:00
paul
a8deeaa168
compiler: fix search of outer class type inside inner type declarations (bug #0017945 )
...
git-svn-id: trunk@16352 -
2010-11-17 05:51:54 +00:00
paul
d99b4ae7c1
compiler: set moduleid for record symtables and descendants (fixes bug #0017950 )
...
git-svn-id: trunk@16351 -
2010-11-17 02:40:41 +00:00
sergei
2d860e356c
* Fixed parameter generation for dispatch calls: assuming that everything is passed by reference and needs only sizeof(ptruint) bytes is wrong. 64-bit primitive types (Double,Int64) are passed by value and require twice more space on 32-bit platforms.
...
git-svn-id: trunk@16350 -
2010-11-16 11:55:09 +00:00
joost
6a4ea03acb
* Added FPMakeOptions to the global configuration file, to pass custom options to fpmake
...
git-svn-id: trunk@16349 -
2010-11-14 19:29:26 +00:00
joost
4c00ab84f1
* Added option to ignore further invalid options
...
* Fixed AV when showing command-line options when no custom options are present
git-svn-id: trunk@16348 -
2010-11-14 19:25:13 +00:00
Jonas Maebe
c14574bb56
* don't change the fpu control word in the initialisation code of dynamic
...
libraries (mantis #16263 , #16801 )
git-svn-id: trunk@16347 -
2010-11-14 16:00:25 +00:00
joost
c53b2a871b
* Added ability to add custom command-line options for fpmake
...
git-svn-id: trunk@16346 -
2010-11-14 15:16:34 +00:00
joost
bf355db3fe
* Added ability to specify absolute paths to install files into
...
git-svn-id: trunk@16345 -
2010-11-14 13:07:21 +00:00
Jonas Maebe
d36f8ac542
* fixed potential buffer overflow error when creating the fullprocname for
...
display purposes if there was a parameter with a default value > 255 chars
* replace #0 , #10 and #13 in the fullprocname with '.' so they do not cause
line breaks or early string termination when writing them to the
assembler file (mantis #17928 )
git-svn-id: trunk@16344 -
2010-11-14 12:18:48 +00:00
Jonas Maebe
fdfb21387f
* fixed potential buffer overflow errors (reported by Stian Skjelstad,
...
mantis #17922 )
git-svn-id: trunk@16343 -
2010-11-14 11:59:24 +00:00
pierre
365c0d82bf
* Fix windows code to avoid closing unopened files
...
git-svn-id: trunk@16342 -
2010-11-14 10:38:03 +00:00
joost
af40e489dc
* Make sure that the value of ActionVar is passed as actionname to the OnGetAction event
...
git-svn-id: trunk@16341 -
2010-11-13 21:16:29 +00:00
joost
c4cd67c782
* Set the version in the Makefile.fpc from the fcl-db sub package base so that
...
a Package.fpc is generated. There is no Package.fpc generated for the main
fcl-db package because there are no ppu-files generated. A Package.fpc (even
if it is invalid) is necessary for fpmake to detect the fcl-db installation.
git-svn-id: trunk@16340 -
2010-11-13 20:47:01 +00:00
Jonas Maebe
0cb2fa1baf
+ semtimedop() for Linux, marked as "platform" (last part of patch from
...
mantis #14075 )
git-svn-id: trunk@16339 -
2010-11-13 18:37:43 +00:00
marco
57e38d3466
* moved taskdialog to commctrl
...
git-svn-id: trunk@16338 -
2010-11-13 18:32:11 +00:00
marco
83d92fb0fc
* Copied TaskDialog headers from Lazarus' win32extra at Paul's request.
...
git-svn-id: trunk@16337 -
2010-11-13 18:02:53 +00:00
Jonas Maebe
36aa39cc38
o fixed several Linux ipc bugs, based on patch by Ruben Chaer/
...
Pablo Alfaro (mantis #14075 , also fixes #13363 ):
* ipc msgtyp is clong, not cint
* TIPC_Perm and TSEMid_ds are different on 64 bit systems
* fixed passing semun arguments (have to be passed by value, not reference)
* fixed the order of parameters to msg* syscalls, and don't use
TIPC_Kludge for msgrcv syscall (only for ipccall.inc variants)
* use new operation variants on 64 bit platforms in ipccall.inc
* introduced use kernel_mode/uid/gid_t types for use by the Linux ipc
records
* fixed type of TSEMid_ds.sem_base for Darwin
* added {$packrecords c} to ipc unit, and {$packrecords 4} around
certain structs for Darwin as in the C headers
* fixed passing semun argument to semctl for libc platforms (by
value, not reference)
git-svn-id: trunk@16336 -
2010-11-13 16:58:23 +00:00
michael
5cdc3c3a29
* Correction of PAFProtocols (Ivan Shikhalev, bug ID #17924
...
git-svn-id: trunk@16335 -
2010-11-13 15:51:43 +00:00
Jonas Maebe
085e5fc65a
+ forgotten to add/commit in r16332
...
git-svn-id: trunk@16334 -
2010-11-13 13:04:37 +00:00
marco
1beef3f3f5
* fixed exceptionhandling scanner (2nd attempt to load file was not in an try..except). Bug reported on German laz forum
...
git-svn-id: trunk@16333 -
2010-11-13 11:30:29 +00:00
Jonas Maebe
9248019e12
* enable OpenCL for Linux (patch by Denis Golovan, mantis #17917 )
...
git-svn-id: trunk@16332 -
2010-11-12 22:16:28 +00:00
Jonas Maebe
dbfcb2d5b8
- removed darwin-specific external name for printf, no longer required after
...
r16330
git-svn-id: trunk@16331 -
2010-11-12 22:08:15 +00:00
pierre
2003c2af70
* In MacPas mode, externals have realname with target_info Cprefix
...
git-svn-id: trunk@16330 -
2010-11-12 22:00:46 +00:00
Jonas Maebe
de51c4734c
* fixed searching for the 8-character variant of already compiled
...
unit files (patch by Aleksa Todorovic, mantis #17907 )
git-svn-id: trunk@16329 -
2010-11-12 12:10:41 +00:00
Jonas Maebe
44dc6e7283
* also look for a source file ending in .p when checking whether the sources
...
of a pre-compiled unit are available on tf_p_ext_support systems
(patch by Aleksa Todorovic, mantis #17907 )
* fixed indentation/flow of this and a similar check elsewhere
git-svn-id: trunk@16328 -
2010-11-12 11:50:40 +00:00
pierre
a11ec43ca5
* add missing go32v2 GCC compiled objects
...
git-svn-id: trunk@16327 -
2010-11-11 22:48:56 +00:00
tom_at_work
ca78f68b33
Remove linux only "Pascal-style" variants of pthreads header translation
...
git-svn-id: trunk@16326 -
2010-11-11 18:45:42 +00:00
joost
8cc449b955
* Added Makefile.fpc which uses fpmake
...
git-svn-id: trunk@16325 -
2010-11-11 10:33:47 +00:00
pierre
3063ad5c9a
* Skip test for go32v2 target, not supported and triggers NTVDM messagebox
...
git-svn-id: trunk@16324 -
2010-11-10 22:44:44 +00:00
sergei
bd15329d38
* variants.pp, modified TCustomVariantType constructors to they pass basic tests (tests/units/variants/tcustomvariant.pp)
...
* Changed allowed custom VarType range to $10F..$FFF (as specified in Delphi documentation).
git-svn-id: trunk@16323 -
2010-11-10 16:27:23 +00:00
sergei
a360f4c955
+ Added a basic test for TCustomVariantType creation functionality.
...
git-svn-id: trunk@16322 -
2010-11-10 16:21:19 +00:00
Jonas Maebe
dd88644237
* record the vmt_offset as the actual offset of the vmt field, so that
...
it correctly reflects the alignment of the object symtable (mantis
#16034 )
git-svn-id: trunk@16321 -
2010-11-10 15:58:47 +00:00
sergei
58f2faa1db
+ variants.pp: implemented FindCustomVariantType(byTypeName overloaded version)
...
+ also implemented some trivial methods of TCustomVariantType and TInvokeableVariantType
git-svn-id: trunk@16320 -
2010-11-10 12:17:40 +00:00
pierre
041720e285
* Also recognize mingw gdb on -D__USE_MINGW_ACCESS option
...
git-svn-id: trunk@16319 -
2010-11-10 10:10:53 +00:00
sergei
6d89ec4ee4
* SysUtils unit, fixed return value of FileSetDate:
...
* return value of GetLastOSError if one is available, to be consistent with handle-based implementations and Delphi behavior.
* otherwise, return -1
git-svn-id: trunk@16318 -
2010-11-09 09:52:42 +00:00
Jonas Maebe
d45ba6c966
* only ordinals and enums can be bitpacked -> don't give an error when
...
e.g. passing a 3-byte record in a bitpacked array as var-parameter
(mantis #17862 )
git-svn-id: trunk@16317 -
2010-11-08 21:23:55 +00:00
pierre
be4daa86e4
* Try to compile with mingw64 gdb
...
git-svn-id: trunk@16316 -
2010-11-08 15:44:38 +00:00
pierre
9f46b931e2
* Extract implicit libraries from ifdef NotImplemented
...
to enable use of gdblib.inc file without addition of these
implicit libraries
* Add win64 library list
* Increase jmp_buf size to 16*sizeof(longint), value used in mingw headers
git-svn-id: trunk@16315 -
2010-11-08 15:43:56 +00:00
pierre
64af782aca
* Try to compile with mingw64 gdb
...
git-svn-id: trunk@16314 -
2010-11-08 15:37:09 +00:00
marco
fb13dfc18f
* fix for mantis 17840, rounding of bits/line
...
git-svn-id: trunk@16313 -
2010-11-07 14:13:35 +00:00
marco
e3fb3230ef
* fixes for memory leaks by Vincent
...
git-svn-id: trunk@16312 -
2010-11-06 20:46:46 +00:00
florian
d25b6f44f0
* avoid hint about uninitialized variable for compiler generated label jump buffer in macpas mode, resolves #17842
...
git-svn-id: trunk@16311 -
2010-11-06 20:21:06 +00:00
florian
474e8dc273
* ugly indention fixed
...
git-svn-id: trunk@16310 -
2010-11-06 20:00:21 +00:00