Commit Graph

32952 Commits

Author SHA1 Message Date
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
florian
18011b99cc o patch by Sven Barth, resolves #17827
* text.inc used Std*Handle without checking if the feature CONSOLEIO is present, fixed
  * OpenStdIO should use the type THandle for the hdl parameter, fixed

git-svn-id: trunk@16309 -
2010-11-06 19:47:17 +00:00
sekelsenmat
b87e3e5057 Fixes a list out of bounds exception in freetype
git-svn-id: trunk@16308 -
2010-11-06 17:00:52 +00:00
sergei
b6c0948bb2 * unit xmlcfg.pp marked as deprecated.
git-svn-id: trunk@16307 -
2010-11-06 07:28:56 +00:00
michael
121cef51d2 * Some memory leak fixes from Vincent Snijders
git-svn-id: trunk@16306 -
2010-11-05 17:14:04 +00:00
Jonas Maebe
d1264eeb3a * fixed optimized division of signed values by constant power of 2 if the
constant is > high(longint), because then it must be loaded into a register
    first since such values cannot be encoded directly in non-mov x86-64
    instructions (mantis #17836)

git-svn-id: trunk@16305 -
2010-11-05 15:32:07 +00:00
sekelsenmat
d077572f85 Changes the default style of the brush of a TFPImageCanvas to bsSolid
git-svn-id: trunk@16304 -
2010-11-04 17:09:59 +00:00
sekelsenmat
584fa63ea4 Allows directly setting the core fpcanvas properties in subclasses
git-svn-id: trunk@16303 -
2010-11-04 16:18:51 +00:00
paul
f5751d81db compiler: reset section type to regular fields section after the "public", "protected", ... and other section visibility keywords
git-svn-id: trunk@16302 -
2010-11-04 15:12:17 +00:00
marco
71aa7eaabd * fix from mantis 17818. Value is only peaked, add readvalue to also consume it.
git-svn-id: trunk@16301 -
2010-11-03 20:45:01 +00:00
sergei
87b8b02463 * Updated DBus headers to version 1.2.16
* Added 'cdecl' to all callback function type definitions.

git-svn-id: trunk@16300 -
2010-11-03 14:08:51 +00:00
Jonas Maebe
ae483061b1 + add cthreads for unix platforms
git-svn-id: trunk@16299 -
2010-11-03 12:41:32 +00:00
Jonas Maebe
c4488f6b3a * hook up CompareUnicodeStringProc and CompareTextUnicodeStringProc in
cwstring (fixes webtbs/tw17591.pp on unix platforms)
  * enhanced webtbs/tw17591.pp so it also (superficially) checks the
    correctness of the called routines, and add cwstring for unix platforms

git-svn-id: trunk@16298 -
2010-11-03 12:16:20 +00:00
pierre
5c92c18bdf * Shorten check for go32v2 target
git-svn-id: trunk@16297 -
2010-11-02 11:24:41 +00:00
pierre
d3d15cbc51 + Also check IntToBin input
git-svn-id: trunk@16296 -
2010-11-02 11:24:10 +00:00
michael
054d2b71a2 * Fixed SetInsertSQL/SetDeleteSQL
git-svn-id: trunk@16295 -
2010-11-02 09:46:07 +00:00
sergei
b002c36e8b + Test for #17591
git-svn-id: trunk@16294 -
2010-11-02 07:36:55 +00:00
sergei
80d69c8a22 * win/sysutils.pp, implement CompareUnicodeString and CompareTextUnicodeString, resolves #17591.
git-svn-id: trunk@16293 -
2010-11-02 07:34:23 +00:00
sergei
a4dd7701d9 * win/sysutils.pp: removed private WinAPI function declarations. Since this unit uses Windows unit, there's no point in re-declaring stuff.
git-svn-id: trunk@16292 -
2010-11-02 07:11:17 +00:00