florian
af6bf244f2
* version update
...
* do not use default config file
git-svn-id: trunk@24215 -
2013-04-09 13:06:26 +00:00
florian
7ac7d8a4b6
+ define UNICODE as well as FPC_UNICODESTRINGS
...
git-svn-id: trunk@24214 -
2013-04-09 13:05:29 +00:00
florian
c25f56fa64
+ several pwidechar/unicode string functions added
...
git-svn-id: trunk@24212 -
2013-04-09 11:09:10 +00:00
florian
d48d388e7a
+ simple example for cairo
...
* fix cairo for win64
git-svn-id: trunk@24211 -
2013-04-09 07:34:26 +00:00
reiniero
36cb560e0d
* fcl-db/dbase: let dbf.pas apply default blocklength=64 (instead of 512) for *foxpro
...
git-svn-id: trunk@24210 -
2013-04-09 06:55:08 +00:00
nickysn
7a15fd0444
* in the case of (uint8 div/mod small_positive_const), convert the const to unsigned, so that we don't do a 16-bit division on 8-bit CPUs
...
git-svn-id: branches/i8086@24209 -
2013-04-08 18:08:10 +00:00
nickysn
3558766390
* first attempt to simplify tmoddivnode.pass_typecheck handling of all cpu native int sizes
...
git-svn-id: branches/i8086@24208 -
2013-04-08 17:11:33 +00:00
svenbarth
8353d53b69
Fix for Mantis #22433 .
...
pdecsub.pas, parse_parameter_dec:
* allow inline specialization for array types in mode Delphi
+ added test
git-svn-id: trunk@24207 -
2013-04-08 14:51:42 +00:00
reiniero
213060d9e3
fcl-base/dbase:
...
* when tdbf "auto upgrades" foxpro to visual foxpro, write the missing backlink info
* updated tablelevel test that deals with FoxPro=>VFP "auto upgrade"
* default block length for (visual) foxpro files is 64, not 512
* match (Visual)FoxPro empty characters in memo field
git-svn-id: trunk@24206 -
2013-04-08 14:24:54 +00:00
florian
ec69ed5b3c
* spelling fixed
...
git-svn-id: trunk@24205 -
2013-04-08 11:50:09 +00:00
reiniero
002d6de3f2
fcl-base/dbase:
...
* fix foxpro (tablelevel 25) files so they are readable by visual foxpro
+ added file specification links for FoxPro 2.x
+ added file specification links for Visual FoxPro 9 specific changes
git-svn-id: trunk@24204 -
2013-04-08 10:20:18 +00:00
florian
f80b6f4774
* arm thumb: take care of large offsets in interface wrappers
...
git-svn-id: trunk@24203 -
2013-04-07 21:56:37 +00:00
florian
dee35abf41
* arm thumb: let all registers used in a ldr/str operation interfere with the "hi" registers
...
git-svn-id: trunk@24202 -
2013-04-07 21:39:30 +00:00
florian
36a32e153d
+ arm thumb: tarmloadparentfpnode moves the stack pointer to a different register to avoid illegal instruction encodings
...
git-svn-id: trunk@24201 -
2013-04-07 21:29:12 +00:00
florian
e41b7b1b94
* arm thumb: strh/ldrh does not allow stack pointer based references with offset
...
git-svn-id: trunk@24200 -
2013-04-07 21:27:59 +00:00
florian
877c6e9ce9
* formatting
...
git-svn-id: trunk@24199 -
2013-04-07 21:26:56 +00:00
florian
b41728c129
* estimatedtempsize should be a longint to avoid warnings on 8 bit targets
...
git-svn-id: trunk@24198 -
2013-04-07 21:01:18 +00:00
florian
7ba197a221
* fix stack parameter handling for arm thumb
...
* fix entry/exit code generation for arm thumb
git-svn-id: trunk@24197 -
2013-04-07 21:01:15 +00:00
florian
f9ef8e90da
+ a_op_const_reg_reg for arm thumb taking care of availability of add sp,sp, ...
...
* handle references with base and index on arm thumb correctly
git-svn-id: trunk@24196 -
2013-04-07 21:01:11 +00:00
florian
9bbc24b5e3
* r13 might be used only under certain circumstance in memory reference on arm thumb
...
git-svn-id: trunk@24195 -
2013-04-07 21:01:08 +00:00
florian
79334242a2
* arm thumb uses always the stack pointer as frame pointer
...
git-svn-id: trunk@24194 -
2013-04-07 21:01:05 +00:00
florian
308fb42f4b
* fix parameter handling in FPC_SYSCALL4 to FPC_SYSCALL6
...
git-svn-id: trunk@24193 -
2013-04-07 21:01:01 +00:00
florian
52070e26e1
* arm thumb uses always the stack pointer as frame pointer
...
git-svn-id: trunk@24192 -
2013-04-07 21:00:58 +00:00
florian
a86531c225
* load exit code in _haltproc for thumb
...
git-svn-id: trunk@24191 -
2013-04-07 21:00:54 +00:00
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
nickysn
0dcbb4f1cc
* refactored tunaryplusnode.pass_typecheck as well
...
git-svn-id: branches/i8086@24185 -
2013-04-07 16:50:30 +00:00
nickysn
a3117beb12
* refactored tunaryminusnode.pass_typecheck to handle all native int sizes generically, without ifdefs
...
git-svn-id: branches/i8086@24184 -
2013-04-07 16:45:52 +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
nickysn
0473cbf70f
* refactored the add node type check pass to handle all native integer sizes with the same common code, without ifdefs
...
git-svn-id: branches/i8086@24174 -
2013-04-07 11:03:08 +00:00
nickysn
2486009d37
+ support u64bit as well in defutil.range_to_basetype
...
git-svn-id: branches/i8086@24173 -
2013-04-07 10:57:27 +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
nickysn
59976c3ac8
* use FixNonCommutativeOpcodes in agx86int.pas as well (fixes compilation for i386)
...
git-svn-id: branches/i8086@24168 -
2013-04-06 23:23:25 +00:00
nickysn
d88855566a
+ added defutil.is_nativesint and is_nativeuint
...
git-svn-id: branches/i8086@24167 -
2013-04-06 23:03:12 +00:00
nickysn
70d02e6942
+ added defutil.is_nativeint and is_nativeord
...
git-svn-id: branches/i8086@24166 -
2013-04-06 22:58:04 +00:00
nickysn
7bce3c5208
* reverse the order of checks for determining the native int type (e.g. 8086 in large memory model would have 32-bit addresses, but a 16-bit native int)
...
git-svn-id: branches/i8086@24165 -
2013-04-06 22:44:07 +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