Commit Graph

46130 Commits

Author SHA1 Message Date
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
Jonas Maebe
7d16df9bea + Linux/AArch64 support in fpmkunit/fpcmake (patch by Edmund Grimley Evans)
git-svn-id: trunk@30890 -
2015-05-20 20:14:42 +00:00
Jonas Maebe
095f308935 * changed ELF relocation type to longword, as required for 64 bit targets
(patch by Edmund Grimley Evans)

git-svn-id: trunk@30889 -
2015-05-20 17:45:59 +00:00
blikblum
8e9b246042 * Properly set detail sql when master key is null. Issue #11423
git-svn-id: trunk@30888 -
2015-05-20 02:15:43 +00:00
blikblum
6542cfe0ad * Don't fetch all records in detail dataset when master dataset is empty
git-svn-id: trunk@30887 -
2015-05-20 01:56:35 +00:00
marcus
ff56b81ad3 AROS: Copy WBArgs to argv so its available for Objpas.ParamStr()
git-svn-id: trunk@30886 -
2015-05-19 16:56:20 +00:00
lacak
5b3b1c7dea fcl-db: sqlite: implement CreateDB/DropDB methods + InitializeSqlite/ReleaseSqlite
git-svn-id: trunk@30885 -
2015-05-19 11:29:52 +00:00
lacak
126f94ba41 fcl-db: sqlite: implement CreateDB/DropDB methods
git-svn-id: trunk@30884 -
2015-05-19 11:16:39 +00:00
lacak
ab93b0bbe6 fcl-db: sdfdataset: attempt to fix "misaligned data access" error on WinCE / ARM platform. Bug #17871
git-svn-id: trunk@30883 -
2015-05-19 08:26:32 +00:00
lacak
8215c485f2 fcl-db: sdfdataset: improved handling of space padded values according to RFC4180:"Spaces are considered part of a field and should not be ignored".
Now fields in internal record buffer are always null terminated (also for TFixedFormatDataset) + tests

git-svn-id: trunk@30882 -
2015-05-19 07:29:27 +00:00
lacak
5c9d5cf896 fcl-db: base: TBlobField.GetAsString returns uninitialized Result for blob Size=0. Bug #28113
git-svn-id: trunk@30881 -
2015-05-18 06:39:32 +00:00
lacak
d5570fb4c4 fcl-db: base: fix TBlobField.SetBlobType. Bug #28103
git-svn-id: trunk@30880 -
2015-05-18 06:04:13 +00:00
Jonas Maebe
b5081d76c6 * since we insert the internal ansistring record types in the symtable of
the current module, also search it only there so that it doesn't depend
    on the state of the symtablestack (hopefully fixes mantis #28109)

git-svn-id: trunk@30879 -
2015-05-17 18:11:13 +00:00
florian
b4fc11fe06 * implemented r30870 for all platforms: pass dyn. array parameters like pointer parameters so typically in a register
git-svn-id: trunk@30878 -
2015-05-17 12:29:28 +00:00
Jonas Maebe
9b987fde93 * fmShareDenyNone should also take a shared lock (+ test)
git-svn-id: trunk@30877 -
2015-05-17 11:08:08 +00:00
Jonas Maebe
be6dc49aa5 * fixed test for Windows (the fact that it worked for Unix was due to a bug
in the Unix file locking implementation)

git-svn-id: trunk@30876 -
2015-05-17 11:08:05 +00:00
Jonas Maebe
23254e7ce2 * refactored definition of pthread_mutex_t into single location
(pmutext.inc) like for *BSD; fixes the definition of
    TRTLCriticalSection for MIPS (and AArch64, as found by
    Edmund Grimley Evans)

git-svn-id: trunk@30875 -
2015-05-17 11:08:02 +00:00
Jonas Maebe
0a1b851b5c - removed commented out MIPS mutex size constants
git-svn-id: trunk@30874 -
2015-05-17 11:08:00 +00:00
florian
b61fd60b9d + support for {$I %CURRENTROUTINE%}
* if chain changed into case statements

git-svn-id: trunk@30873 -
2015-05-16 22:22:26 +00:00
florian
afa5546ff8 * aktcommentstyle => current_commentstyle
git-svn-id: trunk@30872 -
2015-05-16 21:57:01 +00:00
florian
420309ec59 * reduce dependencies of the procinfo unit
git-svn-id: trunk@30871 -
2015-05-16 21:49:42 +00:00
florian
956883b0c7 * pass dyn. arrays in registers when i386 register calling conventions are used
git-svn-id: trunk@30870 -
2015-05-16 20:27:09 +00:00
marco
f8fda7ed65 * typo fix, patch by Silvio Cl'ecio mantis #28107
git-svn-id: trunk@30869 -
2015-05-16 16:43:04 +00:00
michael
0eddef3d09 * Extensions for enumerators and lists
git-svn-id: trunk@30868 -
2015-05-16 11:04:00 +00:00
michael
5a49d4e7b1 * Workaround for 2.6.4/i386 bug when setting dynamic arrays using RTTI
* Support for nested resources (such as used in Gmail)
* First attempt at supporting lists of object instead of arrays in code generator

git-svn-id: trunk@30867 -
2015-05-16 07:42:40 +00:00
nickysn
8515160e9d + set CObjData in the TMZExeOutput constructor
git-svn-id: trunk@30866 -
2015-05-15 22:35:32 +00:00
nickysn
27f77329e7 - removed agjasmin.pas from the ppc8086.lpi (plus other changes lazarus insists on doing)
git-svn-id: trunk@30865 -
2015-05-15 22:27:35 +00:00
nickysn
29a1c74e34 + implemented TOmfObjInput.CanReadObjData
git-svn-id: trunk@30864 -
2015-05-15 22:23:30 +00:00
nickysn
91d3cb1cd0 + initial implementation of TInternalLinkerMsDos.DefaultLinkScript
git-svn-id: trunk@30863 -
2015-05-15 22:22:36 +00:00
Jonas Maebe
3efd54cbd6 * removed interactiveness from the test
git-svn-id: trunk@30862 -
2015-05-15 19:45:18 +00:00
Jonas Maebe
31037d0664 * when creating a file with an exclusive sharing mode on Unix, first check
whether there isn't already a file and of so whether we can open it using
    this exclusive sharing mode (since the locking is advisory, simply
    overwriting any existing file and then locking it exclusively will
    always work) (mantis #27998)

git-svn-id: trunk@30861 -
2015-05-15 19:45:12 +00:00
marcus
bd0e78478c Amiga, AROS, MorphOS: SimpleIPC, added ServerRunning, MsgType transfer
git-svn-id: trunk@30860 -
2015-05-15 17:23:04 +00:00
michael
f512f71566 * Fix missing Content-Type header
git-svn-id: trunk@30859 -
2015-05-15 10:47:27 +00:00
Jonas Maebe
afd5ed4afe * fixed StrPLCopy() with maxlen=0 (mantis #28089, patch by LacaK)
git-svn-id: trunk@30858 -
2015-05-15 09:00:56 +00:00
Jonas Maebe
ac592ed634 - removed some more unnecessary code after r30855
git-svn-id: trunk@30857 -
2015-05-14 17:44:37 +00:00
Jonas Maebe
bd8079f896 * cache and reuse procvardefs internally created to get the address of a
procdef (halves the amount of memory needed to compile the googlapi
    package using a build unit, as done by fpmake)

git-svn-id: trunk@30856 -
2015-05-14 15:36:20 +00:00
Jonas Maebe
801fc50e86 * simplified "case stringexpr of" handling and removed memory leaks due to
symbols that weren't put in any symbol table (and that couldn't be put
    anywhere, since they all had the same name)

git-svn-id: trunk@30855 -
2015-05-14 14:42:38 +00:00
Jonas Maebe
32501834c9 * fixed memory leaks due to missing frees of temporary tcgpara locations
git-svn-id: trunk@30854 -
2015-05-14 14:42:35 +00:00
Jonas Maebe
ce49f5fb41 * fixed memory leak due to double allocation of typedconstbuilder and wrong
free location

git-svn-id: trunk@30853 -
2015-05-14 14:42:32 +00:00
Jonas Maebe
d7412fb5c0 * fixed memory leaks and multiple recalculation regarding function result
locations

git-svn-id: trunk@30852 -
2015-05-14 14:42:28 +00:00
Jonas Maebe
9ceddf9b16 * fix tasmlisttypedconstbuilder memory leaks
git-svn-id: trunk@30851 -
2015-05-14 14:42:25 +00:00
Jonas Maebe
93fcdb9a5a * fixed initialisation of procvar typed const with a pointerconstn:
we start a typeconversion queue before, so we have to emit to that
    queue as well (to get all the type conversions)

git-svn-id: trunk@30850 -
2015-05-14 14:42:22 +00:00
Jonas Maebe
d71f6e9840 - removed extraneous maybe_begin_aggregate() when a procvar is initialised
with a pointerconstn, and moved the maybe_end_aggregate() for all procvar
    initialisation cases to a common location

git-svn-id: trunk@30849 -
2015-05-14 14:42:19 +00:00
Jonas Maebe
1e7fcec236 * build mka64ins by default in the compiler/utils directory (patch by
Edmund Grimley Evans)

git-svn-id: trunk@30848 -
2015-05-14 14:42:15 +00:00
Jonas Maebe
585e4a9a14 * corrected cosmetic ARM/AArch64 copy/paste leftovers (patch by
Edmund Grimley Evans)

git-svn-id: trunk@30847 -
2015-05-14 14:42:12 +00:00
Jonas Maebe
7395058cf3 * recognise tb(n)z as branch opcode (patch by Edmund Grimley Evans)
git-svn-id: trunk@30846 -
2015-05-14 14:42:03 +00:00
lacak
b60bbf26e1 fcl-db: tests: add tests for TFixedFormatDataset
git-svn-id: trunk@30845 -
2015-05-14 08:47:28 +00:00
michael
5d457bb965 * Make sure position = 0 when doing getcontentasstring
git-svn-id: trunk@30843 -
2015-05-11 21:13:36 +00:00
marcus
0effe938bd Amiga, AROS, MorphOS: shorter Tempfilename in TProcess
git-svn-id: trunk@30842 -
2015-05-11 15:36:49 +00:00
Jonas Maebe
678519c9d9 - removed -Ooasmcse
git-svn-id: trunk@30841 -
2015-05-10 13:39:28 +00:00