marco
b2f861420c
* Various small changes. LCL compiles again, but is 10% smaller.
...
tree inheritance still not fully linked.
git-svn-id: trunk@24276 -
2013-04-20 15:31:56 +00:00
marco
dfc89a35a7
* work arounds the worst of the classtree bugs. LCL now compiles.
...
git-svn-id: trunk@24275 -
2013-04-20 12:46:50 +00:00
marco
3cc61e6195
* Added some fileexists() near places where a stream was opened, but
...
relied on the exception mechanism to handle file not found.
Makes debugging easier.
git-svn-id: trunk@24274 -
2013-04-20 12:01:42 +00:00
marco
b27e03346b
* don't crash on inclusion of fpmake.pp
...
git-svn-id: trunk@24273 -
2013-04-19 23:50:43 +00:00
nickysn
51d61cc593
* define the i8086 default calling convention separately from the other x86 architectures
...
git-svn-id: branches/i8086@24272 -
2013-04-19 23:30:53 +00:00
florian
f3ef5a1f9c
+ jvm lazarus project file
...
git-svn-id: trunk@24271 -
2013-04-19 16:50:55 +00:00
sergei
d54d38b4ab
* Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas.
...
This improves compiling speed a bit (two iterations over symtables replaced by one, code generator is created once per unit rather than once per class).
In perspective it makes possible to reduce amount of generated smartlink sections and global labels.
git-svn-id: trunk@24269 -
2013-04-19 13:31:27 +00:00
reiniero
4ee7ea2ea3
fcl-db/dbase: Hide Visual Foxpro _NULLFLAGS from user.
...
git-svn-id: trunk@24268 -
2013-04-19 08:14:27 +00:00
reiniero
fa49e07a8e
fcl
...
git-svn-id: trunk@24267 -
2013-04-19 08:04:12 +00:00
michael
e4b3e9e9f2
* Preserve data type for null params if it is set
...
git-svn-id: trunk@24266 -
2013-04-18 10:35:56 +00:00
michael
cebb362c75
* Enable NULL values in prepared statements
...
git-svn-id: trunk@24265 -
2013-04-18 08:56:57 +00:00
reiniero
1b942b52d4
* fcl-db/dbase: fix for dbf_common Memscan fixes DBase3 memo issues. Thanks to J.G. Johansen
...
git-svn-id: trunk@24264 -
2013-04-18 06:20:28 +00:00
florian
f97cd6997c
* more safe put implementation
...
git-svn-id: trunk@24263 -
2013-04-17 20:15:16 +00:00
sergei
9dc5b07a68
* COFF: fixed setting section flags. Content type and access bits must be set for non-loadable sections as well.
...
* Changed .reloc sections to be non-loadable, all Windows DLLs have it that way (and ld produces the same as well).
git-svn-id: trunk@24262 -
2013-04-17 19:51:38 +00:00
sergei
5e7e9bd4dc
* Disabled test for win64: it cannot link or even assemble correctly on this target because COFF uses 32-bit fields for section sizes/RVAs. Internal assembler ignoring this fact is a separate issue to fix.
...
git-svn-id: trunk@24261 -
2013-04-17 17:09:54 +00:00
florian
e1233e0111
* asizeint => longint, it is unlikely that an variant record well ever have more than 2^31 branches
...
git-svn-id: trunk@24260 -
2013-04-16 16:49:42 +00:00
Jonas Maebe
9023148bb1
* fixed compilation of JVM rtls after r24188 (there is no JMP_BUF type
...
on that platform)
git-svn-id: trunk@24259 -
2013-04-16 10:08:58 +00:00
nickysn
7e18ac90e5
* the 'len' argument of fpc_shortstr_assign changed to smallint on 16-bit cpus, because getintparaloc allocates 16-bit ints on i8086
...
git-svn-id: branches/i8086@24258 -
2013-04-16 08:25:54 +00:00
nickysn
5f5402f479
* changed ifdef, so that HandleErrorAddrFrame uses the default calling convention on i8086 (whatever that may be), instead of register
...
git-svn-id: branches/i8086@24257 -
2013-04-16 08:20:51 +00:00
reiniero
0553754d05
fcl-db/dbase: DbaseIII memo fix: blocksize=fixed 512; no memo field size header
...
git-svn-id: trunk@24256 -
2013-04-16 07:42:04 +00:00
nickysn
28c05c1ed5
* document the fact that ti8086paramanager.getintparaloc allocates a 16-bit parameter, and not a 32-bit one
...
git-svn-id: branches/i8086@24255 -
2013-04-15 22:08:11 +00:00
reiniero
996b26b936
fcl-db/dbase: further improvement on r24253 though no solution yet.
...
git-svn-id: trunk@24254 -
2013-04-15 11:18:46 +00:00
reiniero
a0455a4673
fcl-db/dbase: attempt to fix dbase code page marks in (v)foxpro files. Needs more work.
...
git-svn-id: trunk@24253 -
2013-04-15 08:58:44 +00:00
paul
8acf9aadf8
rtl, utils: Fix cross-endian collation files generation by Inoussa OUEDRAOGO (issue #0024266 )
...
git-svn-id: trunk@24252 -
2013-04-15 08:27:14 +00:00
paul
76c537ee38
tests: rename test files to make them run by testsuite
...
git-svn-id: trunk@24251 -
2013-04-15 08:10:22 +00:00
michael
0490480523
* Test for 24274
...
git-svn-id: trunk@24250 -
2013-04-15 07:42:55 +00:00
michael
c47443e492
* Fix for 24274 by Laco
...
git-svn-id: trunk@24249 -
2013-04-15 07:41:42 +00:00
paul
71b853065a
tests: improve dot units test
...
git-svn-id: trunk@24248 -
2013-04-15 06:48:17 +00:00
nickysn
1312fd72f2
* tmoddivnode.pass_typecheck: in the case of unsigned div/mod positive_const, check also the upper bound of the const, so it doesn't get truncated
...
git-svn-id: branches/i8086@24247 -
2013-04-14 21:56:32 +00:00
florian
1d6cec856c
+ a few helpers for iso pascal compatibility added
...
git-svn-id: trunk@24246 -
2013-04-14 20:13:53 +00:00
reiniero
2e15c070df
fcl-db/dbase:
...
// Visual Foxpro support
+ Varchar ("V" field type), varbinary ("Q" field type) fields
+ Nullable fields
+ Autoincrement fields
* Store ftinteger in native integer instead of Numeric fields
To do for VFP:
hide _NULLFLAGS field/system fields in output and field count
// Other
* initial ftBytes/bytes ("0" field type) field support
* Minor documentation fixes
Thanks to Ludo for the var*/null help!
git-svn-id: trunk@24245 -
2013-04-14 16:56:30 +00:00
nickysn
fef3732884
* i8086 compilation fixes
...
git-svn-id: branches/i8086@24244 -
2013-04-14 16:34:02 +00:00
nickysn
3152df6e7f
* fixed bugs in tx86inlinenode, introduced in r24237
...
git-svn-id: branches/i8086@24243 -
2013-04-14 16:16:47 +00:00
florian
99f2e57e42
* better error reporting
...
git-svn-id: trunk@24242 -
2013-04-14 15:51:25 +00:00
florian
2fdd3e2d0a
+ introduce tvariantrecbranch to be able to store
...
all needed information for iso compatible variant records
* new for variant records as required by iso pascal
+ tests
git-svn-id: trunk@24241 -
2013-04-14 15:50:42 +00:00
michael
1824a932a3
* Patch to avoid error when trying to create empty directory
...
git-svn-id: trunk@24240 -
2013-04-14 15:34:00 +00:00
nickysn
8ce2f0c56b
- rm the i386 specific code from ti8086paramanager.ret_in_param
...
git-svn-id: branches/i8086@24239 -
2013-04-14 14:43:42 +00:00
nickysn
c916105db8
- rm ti8086procinfo.allocate_got_register as it isn't used on the i8086
...
git-svn-id: branches/i8086@24238 -
2013-04-14 14:35:51 +00:00
nickysn
97ca0fa323
- removed ti8086inlinenode.second_round_real, second_trunc_real and load_fpu_location as they mostly repeat the code in tx86inlinenode.load_fpu_location; tx86inlinenode.load_fpu_location adapted for i8086 instead
...
git-svn-id: branches/i8086@24237 -
2013-04-14 14:25:22 +00:00
sergei
02a288fd89
* MIPS addnode: rewritten almost completely:
...
* shorter by 280 lines
* generates actual instructions instead of macros
* uses immediate operands for constants when possible
* 64-bit and float comparisons use LOC_JUMP as location
git-svn-id: trunk@24236 -
2013-04-14 12:12:36 +00:00
sergei
b86372ccec
+ Internal linker: process unreferenced .pdata sections on x86_64-win64, restores the possibility to use GAS on win64 (which got broken by introducing SEH).
...
git-svn-id: trunk@24235 -
2013-04-13 18:52:50 +00:00
reiniero
f7d2f86398
ibconnection:fixed rounding problem in timestamp (complements r24225)
...
git-svn-id: trunk@24234 -
2013-04-12 13:52:14 +00:00
nickysn
3870f76cda
* ncgutil: set pushexceptaddr_frametype_cgsize and setjmp_result_cgsize according to cpu16bitaddr, instead of cpu16bitalu
...
git-svn-id: branches/i8086@24233 -
2013-04-12 13:38:18 +00:00
nickysn
107a6f6552
* i8086 versions of i386*.inc and r386*.inc renamed to i8086*.inc and r8086*.inc
...
git-svn-id: branches/i8086@24232 -
2013-04-12 12:06:28 +00:00
pierre
7b411e70b8
Merge forgotten go32v2 2.6.0 branch changes back into trunk.
...
------------------------------------------------------------------------
r20577 | pierre | 2012-03-22 16:35:26 +0100 (Thu, 22 Mar 2012) | 4 lines
// * Provide both environ and _environ inside startup file
// to avoid loading of old or new crt1.o object from DJGPP libc.
// Not merged as this is now treated in linker script.
* Make some labels local to be able to get a complete
disassembly of start function using GDB.
------------------------------------------------------------------------
git-svn-id: trunk@24231 -
2013-04-12 10:33:06 +00:00
pierre
57c5821042
Merge forgotten go32v2 2.6.0 branch changes back into trunk.
...
------------------------------------------------------------------------
r20580 | pierre | 2012-03-22 17:52:40 +0100 (Thu, 22 Mar 2012) | 1 line
* Set __environ to envp in Setup_environment function
------------------------------------------------------------------------
git-svn-id: trunk@24230 -
2013-04-12 10:28:40 +00:00
pierre
8a6e057fca
Merge forgotten go32v2 2.6.0 branch changes back into trunk.
...
* Change it also in TInternalLinkerGo32v2.DefaultLinkScript method.
------------------------------------------------------------------------
r20578 | pierre | 2012-03-22 17:34:35 +0100 (Thu, 22 Mar 2012) | 1 line
Force _environ to be the same as __environ
------------------------------------------------------------------------
git-svn-id: trunk@24229 -
2013-04-12 10:25:13 +00:00
pierre
a08d0eb693
Merge forgotten go32v2 2.6.0 branch changes back into trunk.
...
------------------------------------------------------------------------
r20595 | pierre | 2012-03-23 14:45:47 +0100 (Fri, 23 Mar 2012) | 1 line
* Fix fppkg short source zip name
------------------------------------------------------------------------
git-svn-id: trunk@24228 -
2013-04-12 10:21:34 +00:00
pierre
9720bd8e82
Merge forgotten go32v2 2.6.0 branch changes back into trunk.
...
------------------------------------------------------------------------
r20575 | pierre | 2012-03-22 16:27:57 +0100 (Thu, 22 Mar 2012) | 1 line
Avoid 'Discard file' question inside reset
------------------------------------------------------------------------
r20581 | pierre | 2012-03-22 18:21:34 +0100 (Thu, 22 Mar 2012) | 1 line
* Disable iocheck when closing gdb_file
------------------------------------------------------------------------
git-svn-id: trunk@24227 -
2013-04-12 10:19:38 +00:00
nickysn
70a0d2989c
* fixed tmoddivnode.pass_typecheck on 64-bit CPUs; I was wrong about uint64 div uint64 producing int64 on 64-bit CPUs; this fixes make cycle on e.g. x86_64
...
git-svn-id: branches/i8086@24226 -
2013-04-11 19:51:01 +00:00