Commit Graph

46051 Commits

Author SHA1 Message Date
nickysn
37840bc811 - removed commented out debug code from TOmfObjData.writeReloc
git-svn-id: trunk@30799 -
2015-05-04 16:24:28 +00:00
lacak
8b41206ffd fcl-db: sqldb:
- if there is already opened FUpdateQry, which is used for refreshing field values, we must first close it and later open again to get new values.
- if there is automatically generated UpdateSQL, then we must always call ConstructUpdateSQL to correctly get ReturningClause
(probably there is better way how to handle SQL statements with returning clause)

git-svn-id: trunk@30798 -
2015-05-04 12:43:16 +00:00
lacak
35f6cbfbae fcl-db: tests: improve test for RefreshOnUpdate using returning clause.
When more than one record is updated then only fields in first record are correctly refreshed. Related to rev.30796 (which closes one bug, but opens other)

git-svn-id: trunk@30797 -
2015-05-04 12:01:26 +00:00
lacak
5017d1e6eb fcl-db: sqldb:
- if there is explicitly supplied RefreshSQL do not try generate returning clause.
- if there is explicitly supplied InsertSQL, UpdateSQL set ReturningClause to False as it can lead to "can not open non-select statement"

git-svn-id: trunk@30796 -
2015-05-04 08:37:44 +00:00
lacak
93802cf5ee fcl-db: tests: Follow rev.30691 (Renamed sqoPreferRefresh to sqoRefreshUsingSelect) Bug #28017
git-svn-id: trunk@30795 -
2015-05-04 08:15:39 +00:00
michael
6755c36a7b * Added readme
git-svn-id: trunk@30794 -
2015-05-03 21:06:14 +00:00
michael
7e8a98b002 * Added google api
git-svn-id: trunk@30793 -
2015-05-03 20:39:11 +00:00
michael
d44228da6d * Initial implementation of google API
git-svn-id: trunk@30792 -
2015-05-03 20:37:45 +00:00
michael
4dde5f7258 * Add webclient and OAuth2 handler
git-svn-id: trunk@30791 -
2015-05-03 20:30:32 +00:00
marcus
c1f926b502 Amiga, AROS, MorphOS: SimpleIPC implementation
git-svn-id: trunk@30790 -
2015-05-03 19:42:38 +00:00
Károly Balogh
ee0cbece03 MorphOS: use stdout as stderr, so code which is wired to use stderr doesn't commit suicide
git-svn-id: trunk@30789 -
2015-05-03 17:42:05 +00:00
Károly Balogh
3edad2774a Amiga: use stdout as stderr, so code which is wired to use stderr doesn't commit suicide
git-svn-id: trunk@30788 -
2015-05-03 17:41:20 +00:00
Jonas Maebe
6e5af0b31e * don't replace classrefdef with i64 in parameter locations (so llvm can use
the type information)

git-svn-id: trunk@30787 -
2015-05-03 16:51:23 +00:00
Jonas Maebe
fb8c61889b * when getting a copy of a special procdef (such as a con/destructor) as a
procvardef, change the proctype into a regular procedure/function,
    because there are no "con/destructor procvar" types and there is code
    in the paramanager that expects e.g. a constructor to be always owned by an
    abstractrecorddef (which is not necessarily the case for the created
    procvardefs)

git-svn-id: trunk@30786 -
2015-05-03 16:51:20 +00:00
Jonas Maebe
582aee4d90 * fixed the type of FPC_EMPTYCHAR when referencing it
git-svn-id: trunk@30785 -
2015-05-03 16:51:16 +00:00
Jonas Maebe
8034ef1f31 * support for dynamic strings and arrays in update_reference_reg_mul()
git-svn-id: trunk@30784 -
2015-05-03 16:51:13 +00:00
Jonas Maebe
eae68e86a1 * don't insert a typeconversion from pasbool to int in case the left
location was LOC_JUMP or LOC_FLAGS, as in that case the generic
    code has already done this using location_force_reg()

git-svn-id: trunk@30783 -
2015-05-03 16:51:10 +00:00
Jonas Maebe
8f1fb60f61 * also collect the llvm type info from the initialisation data of typed
constants

git-svn-id: trunk@30782 -
2015-05-03 16:51:06 +00:00
Jonas Maebe
74da8720c5 * insert type conversions in case a symbol is declared via 'external' as an
alias for another symbol with a different type (such as
    FPC_ANSISTR_UNIQUE, which is defined as a function and referenced as a
    procedure)

git-svn-id: trunk@30781 -
2015-05-03 16:51:02 +00:00
Jonas Maebe
65bcfdc42d * support changing the tai field of a tai_simpletypedconst afterwards,
so we can insert type conversions in llvmtype if necessary

git-svn-id: trunk@30780 -
2015-05-03 16:50:58 +00:00
Jonas Maebe
d546e74d1c * don't write newlines after nested taillvm instructions (since they're
embedded in the middle of another instruction)

git-svn-id: trunk@30779 -
2015-05-03 16:50:55 +00:00
Jonas Maebe
4a5b7b7d50 * once we've defined a symbol as an alias, it's declared to the same extent
as a regular symbol definition

git-svn-id: trunk@30778 -
2015-05-03 16:50:51 +00:00
Jonas Maebe
8234fcd229 * implemented thlcgllvm.g_external_wrapper by just declaring the new symbol
as an alias for the old one (rather than creating an interprocedural
    jump, which is not possible in llvm IR and which is less efficient
    anyway) (declaration for this method was already accidentally committed
    in r30722)

git-svn-id: trunk@30777 -
2015-05-03 16:50:47 +00:00
Jonas Maebe
72277f5098 * store the used tabstractprocdef when generating an llvm call instruction,
because due to aliasing symbols a single symbol may be called using
    different procdefs (e.g. FPC_ANSISTR_UNIQUE in the system unit is defined
    as an alias for a function and called as a procedure). This means we have
    to insert extra type conversions for llvm, which requires both the source
    and destination type

git-svn-id: trunk@30776 -
2015-05-03 16:50:43 +00:00
Jeppe Johansen
6662cb6dd5 ARMv6M was missing alignments for jumptables
git-svn-id: trunk@30775 -
2015-05-03 16:16:32 +00:00
Károly Balogh
99421ba032 tfexpand: fixed some AMIGA vs. HASAMIGA defines, fixed DriveSep definition for Amiga systems
git-svn-id: trunk@30774 -
2015-05-03 11:35:07 +00:00
nickysn
7849ffecf7 + implemented TOmfLibObjectReader.openfile
git-svn-id: trunk@30773 -
2015-05-03 10:56:09 +00:00
nickysn
3b56a5a767 + implemented reading of the omf dictionary
git-svn-id: trunk@30772 -
2015-05-03 10:27:56 +00:00
blikblum
9e0b281bf1 * Did not reset FCurrentItem in GetRecord when called with gmPrior. Fixes calling Resync with rmExact
git-svn-id: trunk@30771 -
2015-05-03 01:37:34 +00:00
florian
bbcc66ad15 * PASCALMAIN does not return, so we can jmp to it
git-svn-id: trunk@30770 -
2015-05-02 19:18:10 +00:00
florian
ca9ef3d209 * cometics
git-svn-id: trunk@30769 -
2015-05-02 19:16:49 +00:00
florian
f5edf77a05 + Atmega8 support
git-svn-id: trunk@30768 -
2015-05-02 18:18:00 +00:00
florian
9f587625e7 + handle not and neg in isFoldableArithOp as well
git-svn-id: trunk@30767 -
2015-05-02 17:20:20 +00:00
florian
b222d0b663 * correctly handle LOC_SUBSETREG,LOC_CSUBSETREG,LOC_SUBSETREF,LOC_CSUBSETREF in second_int_to_bool, resolves issue #28007
git-svn-id: trunk@30765 -
2015-05-02 13:52:50 +00:00
florian
8ee9550d22 + misising part of r30759 (commit of sysstrh.inc shouldn't have gone in r30759):
slightly modified patch by lelekx to implement plugable file routines for the embedded target, resolves issue #22918

git-svn-id: trunk@30764 -
2015-05-02 13:51:32 +00:00
florian
f2a5672355 * Update of German error message files by Karl-Michael Schindler, resolves issue #28010
git-svn-id: trunk@30763 -
2015-05-02 13:34:03 +00:00
nickysn
74c74b6a88 * call ArSymbols.Free instead of .Destroy in the tarobjectreader destructor
(because .destroy will cause a crash in case the object hasn't been
  initialized)

git-svn-id: trunk@30762 -
2015-05-02 10:50:29 +00:00
nickysn
5160c8f0a3 + started the omf library object reader
git-svn-id: trunk@30761 -
2015-05-02 10:32:08 +00:00
michael
08c4da7a9f * Fix double vars in TRequest : URI/URL
git-svn-id: trunk@30760 -
2015-05-02 08:22:53 +00:00
florian
c2c87828e9 + slightly modified patch by lelekx to implement plugable file routines for the embedded target, resolves issue #22918
git-svn-id: trunk@30759 -
2015-05-02 08:03:18 +00:00
florian
9a5b458d4e * allocate registers properly before icall
* use emit_mov to load registers before icall

git-svn-id: trunk@30758 -
2015-05-02 08:02:17 +00:00
florian
7dd1d6aa77 o fixes handling of iso i/o parameters/program parameters:
* explicit reset is needed
  * variable must be declared again

git-svn-id: trunk@30757 -
2015-05-01 20:58:31 +00:00
florian
d1e48b0f71 * correctly handle parameters on the stack with OS_NO
git-svn-id: trunk@30756 -
2015-05-01 17:14:07 +00:00
florian
500a2051ac * dependencies updated
git-svn-id: trunk@30755 -
2015-05-01 16:36:22 +00:00
florian
bda0f510f9 * updated revision.inc
git-svn-id: trunk@30754 -
2015-05-01 16:33:36 +00:00
florian
8de58f5db2 * use heapmgr to make more test programs work with avrsim
git-svn-id: trunk@30753 -
2015-05-01 16:33:11 +00:00
florian
b8198963f3 * use modeswitch result instead of mode objpas, so the objpas unit is not pulled in
git-svn-id: trunk@30752 -
2015-05-01 16:31:07 +00:00
florian
d3fbfa225f * fixes ordinal comparisons with constants
git-svn-id: trunk@30751 -
2015-05-01 16:30:21 +00:00
florian
fbd6d2a0f9 + check for FPUNONE
git-svn-id: trunk@30750 -
2015-05-01 14:46:37 +00:00
florian
046f98b7b5 * check FPC_HAS_FEATURE_COMMANDARGS feature
git-svn-id: trunk@30749 -
2015-05-01 14:46:14 +00:00