Commit Graph

39642 Commits

Author SHA1 Message Date
florian
f25a905904 * fix register allocation initalization for arm thumb
* avoid that the register allocator creates code which writes to frame/stack pointer

git-svn-id: trunk@24190 -
2013-04-07 21:00:50 +00:00
florian
4e4cc4e289 * support neg instruction for spilling
git-svn-id: trunk@24189 -
2013-04-07 21:00:47 +00:00
florian
075abd6220 + support of stackframesize for arm thumb
+ estimatedtempsize to get a good estimatation for architectures which require to know the stack size before

git-svn-id: trunk@24188 -
2013-04-07 21:00:38 +00:00
reiniero
33f4bfd5b2 fcl-db/dbase:
* fix TestRecNo test
* dbtestframework: ignore currency test as tdbf uses bcd fields
* fix writing $1A EOF marker at end of dbf file
* fix: FoxPro does not allow null fields

git-svn-id: trunk@24187 -
2013-04-07 18:33:39 +00:00
Jonas Maebe
f620f05bde * prefix calls to dynlibs routines with "dynlibs." so that under Win* the
versions from the Windows unit aren't used instead (mantis #24242)

git-svn-id: trunk@24186 -
2013-04-07 17:25:06 +00:00
reiniero
a3a9be18bc fcl-db/dbase: use new .AsBCD; updaeted history
git-svn-id: trunk@24183 -
2013-04-07 16:21:34 +00:00
Jonas Maebe
b9ed22b705 * CodeWarrior apparently supports a combination of FPC-like using the
function result as a variable, and Delphi/TP-like "using the function name
    inside the function means a recursive call". In order to prevent
    confusion, we no longer support the former behaviour since r21817
    because the conditions under which one or the other holds are not well
    defined and it's easier to fix a compiler error then to discover why
    a recursive function call doesn't do anything (mantis #22344)

git-svn-id: trunk@24182 -
2013-04-07 15:51:02 +00:00
svenbarth
70886d1727 Fix the exception reported in Mantis #24072. This does not mean though that the bug is fixed, because the bug itself is related to the topic "partial specialization".
symtable.pas, sym_is_owned_by:
	* instead of checking in which symtables to not look, specify in which tables to look (namely object- and recordsymtables)

git-svn-id: trunk@24180 -
2013-04-07 13:44:56 +00:00
Jonas Maebe
8b8a786823 * moved ARM/x86 ifdef'ed code from ncgcal to virtual methods
git-svn-id: trunk@24179 -
2013-04-07 13:42:06 +00:00
Jonas Maebe
3a03586ca9 * give an error when declaring a class as conforming to a forward-declared
interface: the compiler does not/cannot check whether the class
    implements all required methods in that case, and it moreover leads to
    crashes (mantis #24184). Older versions of Delphi did allow this (and
    don't check whether the interface methods are implemented either), but
    that's simply a (similar) bug in Delphi that has been fixed in XE at
    least
  * fixed compilation of webtbs/tw2727 after this fix

git-svn-id: trunk@24177 -
2013-04-07 12:18:31 +00:00
sergei
747342ebb2 - Removed nested comments which were causing compiler warnings.
git-svn-id: trunk@24176 -
2013-04-07 12:06:01 +00:00
ludob
77e2d443d4 fcl-db: added TBCDField.AsBCD support
git-svn-id: trunk@24175 -
2013-04-07 11:16:53 +00:00
michael
2e1d0c07a5 * Fix compilation
git-svn-id: trunk@24172 -
2013-04-07 10:10:16 +00:00
michael
11e6396cc7 * modified Docstripper by Reinier Olislagers (bug 23988)
git-svn-id: trunk@24171 -
2013-04-07 08:49:03 +00:00
michael
6c0d61f879 * SkipTiming by Reinier
git-svn-id: trunk@24170 -
2013-04-07 08:24:22 +00:00
reiniero
b1993beb9f fcl-base/dbase:
* Version: 6.9.2=>7.0.0 because of FoxPro/Visual Foxpro support (needs more testing though)
* Visibility of FindNext etc matches ancestor now
* Fix for BCD field size; fix for missing FPC .SetAsBCD in tests (thanks, Ludo!)
* Fix for Foxpro 'B' double field: size & incorrectly treated as blob fields
* Link to more specs; clarification of FoxPro memo structure
* Added descriptive names for dbase tests in database template

git-svn-id: trunk@24169 -
2013-04-07 07:05:30 +00:00
marco
07e23b8401 * mousebutton 4 and 5 support (gpm only?) Mantis #13469
git-svn-id: trunk@24164 -
2013-04-06 18:58:05 +00:00
michael
914b5a41d9 * Added SkipTimings option
git-svn-id: trunk@24163 -
2013-04-06 12:35:34 +00:00
reiniero
83b88323d0 * fcl-db/dbase: add memo, large string test cases
git-svn-id: trunk@24160 -
2013-04-05 14:49:50 +00:00
reiniero
5c6b0d39e9 * fcl-base/dbase: memo definitions clarified
git-svn-id: trunk@24159 -
2013-04-05 13:21:54 +00:00
lacak
17f65340c4 fcl-db: postgresql: centralize checking of connection status (repeated code) into separate method + formatting
git-svn-id: trunk@24158 -
2013-04-05 11:14:42 +00:00
ludob
a54c5cfc2f TDBF: fixed some unaligned memory accesses in dbf_dbfile.pas causing SIGBUS on ARM
git-svn-id: trunk@24157 -
2013-04-05 10:46:43 +00:00
reiniero
bb83e51f65 fcl-db/dbase:
* attempt fix for mantis #10174: don't pass DBase size for ftBCD fields
  when creating FPC fields. to do: verify if we need to do this for other
	field types (ftWideString?)
* cosmetic clarifications

git-svn-id: trunk@24156 -
2013-04-05 09:59:27 +00:00
ludob
414e9555b6 TDBF: fixed some unaligned memory accesses causing SIGBUS on ARM
git-svn-id: trunk@24155 -
2013-04-05 09:48:34 +00:00
michael
3a7611537c * Default of verboseerrors set to true
git-svn-id: trunk@24154 -
2013-04-05 09:05:23 +00:00
michael
e766ac4737 * Option to create less verbose error messages
git-svn-id: trunk@24153 -
2013-04-05 07:10:51 +00:00
reiniero
f4f128e1d5 * fcl-db/dbase: cosmetic: more file structure annotations, clarify comments
git-svn-id: trunk@24150 -
2013-04-04 13:16:41 +00:00
pierre
210434e937 Add missing colon for .PHONY
git-svn-id: trunk@24149 -
2013-04-04 10:15:59 +00:00
pierre
9102ea2571 Regenerated for: Add versioncheckstartingcompiler to .PHONY list
git-svn-id: trunk@24148 -
2013-04-04 10:11:58 +00:00
pierre
d6a3536f92 Add versioncheckstartingcompiler to .PHONY list
git-svn-id: trunk@24147 -
2013-04-04 10:11:36 +00:00
florian
b817b6f62a * enable section smartlinking on all linux targets
git-svn-id: trunk@24146 -
2013-04-04 09:43:00 +00:00
yury
fcf29c11d0 * Turn off debug.
git-svn-id: trunk@24145 -
2013-04-03 19:45:07 +00:00
yury
9019c2cf17 * Removed unneeded {$apptype console}.
git-svn-id: trunk@24144 -
2013-04-03 19:42:43 +00:00
yury
cd6669f52a * Build and install pas2jni.
git-svn-id: trunk@24143 -
2013-04-03 19:29:16 +00:00
yury
853ecde8f9 * Build jni package.
git-svn-id: trunk@24142 -
2013-04-03 19:19:39 +00:00
reiniero
4fd80b88ab * fcl-db/dbase: fix trace datasets for tests
git-svn-id: trunk@24141 -
2013-04-03 16:26:25 +00:00
reiniero
e74474ec73 + fcl-db/dbase: (Visual) FoxPro fixes:
+ initial read support for Visual FoxPro
* annotated file structures, constants etc
* better error reporting:
  different message for valid header but 
	invalid field definitions
* refactored some procedures for readability

git-svn-id: trunk@24139 -
2013-04-03 15:49:20 +00:00
yury
9aa320e91f + jni package. It does not included to build yet.
git-svn-id: trunk@24138 -
2013-04-03 13:40:53 +00:00
yury
5d1b97fd67 + pas2jni - an utility to generates a JNI (Java Native Interface) bridge for a Pascal code. Then the Pascal code (including classes and other advanced features) can be easily used in Java programs.
git-svn-id: trunk@24137 -
2013-04-03 13:38:36 +00:00
reiniero
97e3e6e50e * fcl-db/dbase: cosmetic: use more constants, clarify structure
git-svn-id: trunk@24136 -
2013-04-03 06:01:25 +00:00
marco
b625439dae * committed Graeme's IPF patches, mantis #24084:
- Fixes the resolving of links issues in the Class Hierarchy output for IPF
	- Implements BeginURL and EndURL methods for the IPF writer. Now it correctly
	     handles the [url] tag in fpdoc XML files.

git-svn-id: trunk@24132 -
2013-04-02 15:37:59 +00:00
lacak
c844ae8cb5 fcl-db: fields: use new implemented FormatBCD function to format TFMTBCDField. Depends on rev.24128! Bug #24096
git-svn-id: trunk@24130 -
2013-04-02 11:40:43 +00:00
michael
95e6be9853 * Patch from Laco to enhance test for bug #24096
git-svn-id: trunk@24129 -
2013-04-02 11:28:03 +00:00
michael
3f910197c6 * Patch from Laco to fix bug ID #24096
git-svn-id: trunk@24128 -
2013-04-02 11:23:57 +00:00
sergei
37a347ce7b * Another fix to PIC assembler: GOT slot stores the address of variable, not variable itself.
git-svn-id: trunk@24127 -
2013-04-02 10:48:58 +00:00
reiniero
539e977273 * fcl-db/tests: disable storing dbfs by default.
git-svn-id: trunk@24126 -
2013-04-02 10:35:23 +00:00
reiniero
d54af2322f * fcl-db/tests: test memorybacked dbf equals filebased dbf. Use memory dbfs because of speed.
git-svn-id: trunk@24125 -
2013-04-02 10:34:27 +00:00
reiniero
aeeb353d47 * fcl-db/tests: add dbf tablelevel test, option to retain dbfs after tests
git-svn-id: trunk@24124 -
2013-04-02 08:59:02 +00:00
sergei
999c3a0a02 * COFF linker: postpone import section generation until unreferenced sections (and imports) are removed, and put all remaining imports into a single section. This is much more efficient than generating multiple smart-linkable import sections and immediately discarding a good half of them.
git-svn-id: trunk@24123 -
2013-04-02 05:46:32 +00:00
reiniero
b9fc64f697 + fcl-db/dbase: allow creation of Visual Foxpro tablelevel 30 files
git-svn-id: trunk@24122 -
2013-04-02 03:11:01 +00:00