Jonas Maebe
c706394a15
* part of r16407, forgot to commit
...
git-svn-id: trunk@16415 -
2010-11-24 07:59:50 +00:00
pierre
ed1c558726
* Fix RIP relative assmebler code of rev 16410
...
git-svn-id: trunk@16414 -
2010-11-24 07:57:01 +00:00
pierre
5a58946eb9
+ Add win64 target conditionals
...
git-svn-id: trunk@16413 -
2010-11-23 23:08:09 +00:00
pierre
64bb6794f7
+ Add cmem to the list of units
...
git-svn-id: trunk@16412 -
2010-11-23 23:05:29 +00:00
pierre
cb017ad074
+ Allow compilation for go32v2 target
...
git-svn-id: trunk@16411 -
2010-11-23 23:02:05 +00:00
pierre
709d36a1d0
+ Add signals unit for win64
...
git-svn-id: trunk@16410 -
2010-11-23 23:57:10 +00:00
pierre
889caf5911
* fix type of fourth parameter of msgrcv function
...
git-svn-id: trunk@16409 -
2010-11-23 23:44:34 +00:00
michael
c4cc9b59e0
* Tag is now PtrInt, for upcoming Delphi 64-bit compatibility
...
git-svn-id: trunk@16408 -
2010-11-23 21:19:39 +00:00
Jonas Maebe
749991ec02
+ support extra parameter for initialize() that indicates how many elements
...
should be initialised, similar to how this was already allowed for
finalize() (mantis #17998 )
git-svn-id: trunk@16407 -
2010-11-23 15:14:40 +00:00
sergei
5f1d15c693
* Patch from LacaK2 implementing some missing properties of BCDVariant, partially fixes #16853 .
...
git-svn-id: trunk@16404 -
2010-11-22 22:50:40 +00:00
Jonas Maebe
a631ab2a7e
* add the C-prefix to the exported name of routines that are automatically
...
exported in {$z+} state in MacPas mode, so that the name chosen by
implicit imports in MacPas units without an implementation section matches
again after r16330 (fixes tests/test/tmacpas1 after r16330 on targets
with a cprefix<>'')
git-svn-id: trunk@16403 -
2010-11-22 14:30:42 +00:00
Jonas Maebe
6eecf71698
* halt(1) on error
...
git-svn-id: trunk@16402 -
2010-11-22 13:36:58 +00:00
Jonas Maebe
44178f41b6
* don't overwrite register variables when evaluating <=/>= expressions with
...
smallsets (left is overwritten by an "and", so it cannot be const; mantis
#18013 )
git-svn-id: trunk@16400 -
2010-11-22 12:58:08 +00:00
michael
a1d8ad7a27
* Changed var to out in TStringList.Find
...
git-svn-id: trunk@16395 -
2010-11-21 18:20:44 +00:00
sergei
b4ac714201
* defutil.pas: added UnicodeString to automatable types, fixes compilation of webtbs/tw2649.pp after r16360. However it requires RTL support similar to one for AnsiString to be complete.
...
* ncal.pas, translate_disp_call(): fixed parameter alignment once more, this time it should be correct for both 32 and 64 bit platforms.
git-svn-id: trunk@16394 -
2010-11-21 18:10:11 +00:00
marco
3b7bb9da6a
* using value instead of avalue does not properly set bound because getvalueasvariant
...
returns 0.0 if isnull. Mantis 17819, patch from Martin Schreiber.
git-svn-id: trunk@16392 -
2010-11-21 14:46:26 +00:00
sergei
9d8d518029
* translate_disp_call, support passing Variants by-value (still pass a pointer, but reset ByRef bit in CallDesc.Args[]).
...
git-svn-id: trunk@16389 -
2010-11-20 21:43:15 +00:00
sergei
49013587a9
+ comobj.pp, DispatchInvoke and DoDispCallByID: support Variant parameters passed by value, support Int64 and QWord arguments.
...
git-svn-id: trunk@16388 -
2010-11-20 21:36:29 +00:00
sergei
907e7a32d5
* GetFileHandle(), THandleStream: changed type that is used to store file handle from Integer to THandle, so it can be redefined to 64 bits on certain platforms, see http://lists.freepascal.org/lists/fpc-devel/2010-November/023019.html
...
git-svn-id: trunk@16383 -
2010-11-20 12:58:53 +00:00
joost
eb698a6d9a
* Fixed type in THTMLContentProducerClass name
...
* Added TJavaScriptStack.Redirect
* Added TWebController.AddrelativeLinkPrefix
git-svn-id: trunk@16374 -
2010-11-19 14:57:44 +00:00
joost
8fa8a466b1
* Made WebPage.IsAjaxCall public
...
git-svn-id: trunk@16373 -
2010-11-19 14:50:41 +00:00
joost
144672ffd8
* Process request variables for a HEAD request as if it is a GET request
...
git-svn-id: trunk@16372 -
2010-11-19 14:45:37 +00:00
joost
8c836d1d1a
* Added TRequest.LocalPathPrefix property
...
git-svn-id: trunk@16371 -
2010-11-19 14:44:34 +00:00
paul
23e74d5d46
rtl: fixed typo in variants.pp noticed by Ivan Shikhalev (mantis #0017983 )
...
git-svn-id: trunk@16368 -
2010-11-19 03:19:52 +00:00
Jonas Maebe
a5473c33cc
* part of r16347, forgot to commit
...
git-svn-id: trunk@16367 -
2010-11-18 22:41:42 +00:00
sergei
cbdc08b641
* dynlibs.pas: added 'const' modifiers to eliminate unnecessary local string copies
...
git-svn-id: trunk@16366 -
2010-11-18 22:09:48 +00:00
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