Commit Graph

42516 Commits

Author SHA1 Message Date
florian
7abbb341a5 * update ide copyright year, patch by Reinier Olislagers, resolves #25833
git-svn-id: trunk@27025 -
2014-03-07 21:13:47 +00:00
lacak
fd0c9fcfe1 fclfcl-db: bufdataset: forgot free filestream and datasetreader
git-svn-id: trunk@27024 -
2014-03-07 13:24:01 +00:00
lacak
62fdd81cc8 fcl-db: bufdataset: add InternalInitFieldDefs for TBufDataset + test (TestFieldDefsUpdate); related also to rev.27021
git-svn-id: trunk@27023 -
2014-03-07 13:17:55 +00:00
pierre
7b359d06c4 Use GNU ar also for x86_64 solaris
git-svn-id: trunk@27022 -
2014-03-07 12:39:48 +00:00
lacak
2c0bd0fe59 fcl-db: sqldb: when TSQLQuery.FieldDefs.Update is called (is used by IDE Field editor for "Add fields ...") for closed (never prepared) dataset then Cursor is nil, and is passed to TSQLConnection.AddFieldDefs where AV can occurs.
So call Prepare before ...
Bug #25829

git-svn-id: trunk@27021 -
2014-03-07 11:22:28 +00:00
reiniero
18ae2b20df fcl-db: dbtestframework:
* mssql server: improve results by setting ANSI_PADDING to ON when connecting.
See http://msdn.microsoft.com/en-us/library/ms187403.aspx

git-svn-id: trunk@27020 -
2014-03-07 10:26:06 +00:00
reiniero
7f93de8697 fcl-db: dbtestframework
* refine r26950: only use SET ANSI_NULL_DFLT_ON ON for MS SQL Server; Sybase ASE does not support it.

git-svn-id: trunk@27019 -
2014-03-07 09:30:54 +00:00
Jonas Maebe
009c96a0bd * fixed setting up the global switch for main programs without a "program"
header on platforms not in systems_unit_program_exports

git-svn-id: trunk@26975 -
2014-03-06 18:41:03 +00:00
reiniero
2388575d3b fcl-db: export
* dbf export: default table format DBaseIV, set default autorename for fields to true

git-svn-id: trunk@26974 -
2014-03-06 18:16:47 +00:00
reiniero
7f22ae17ff fcl-db: cosmetic
git-svn-id: trunk@26973 -
2014-03-06 15:10:11 +00:00
reiniero
3478ca4672 fcld-db: dbase:
* Harden Visual FoxPro code: detect nil varbinary field source

git-svn-id: trunk@26972 -
2014-03-06 15:09:38 +00:00
reiniero
d0c93f4cd8 fcl-db: dbtestframework:
+ add Visual Foxpro export test

git-svn-id: trunk@26971 -
2014-03-06 14:38:36 +00:00
michael
77b771e91b * Let ToString return something meaningful for Exception
git-svn-id: trunk@26969 -
2014-03-06 13:34:40 +00:00
reiniero
b87b2add38 fcl-db: dbtestframework:
* Fix dbf export test column name collisions; fixes "field not found" when exporting

git-svn-id: trunk@26967 -
2014-03-06 12:40:32 +00:00
nickysn
fec4c6a6e2 * various rtl fixes that allow objpas.integer to be 16-bit on 16-bit targets
(still not sure if it's a good idea, but trying, at least, is harmless - we
  can always rollback to integer being equal to longint)

git-svn-id: trunk@26966 -
2014-03-06 01:10:18 +00:00
florian
7aa25e4385 + lazarus project for easier editing with lazarus
git-svn-id: trunk@26965 -
2014-03-05 20:31:37 +00:00
Jeppe Johansen
10522e9779 Disabled a_adjust_sp optimized steps for now.
Integrated proper stack frame calculation.
Changed rjmp to jmp in ATMEGA128 interrupt vectors.

git-svn-id: trunk@26964 -
2014-03-05 19:17:46 +00:00
pierre
d9c663f198 Add -Fl/usr/lib for openbsd target OS, required to find and link C startup objects
git-svn-id: trunk@26963 -
2014-03-05 17:07:48 +00:00
lacak
277c3fb00a fcl-db: sqldb: cosmetic (reorder methods)
git-svn-id: trunk@26962 -
2014-03-05 14:40:43 +00:00
lacak
3765b74ecd fcl-db: sqldb: simplify GetStatementInfo method signature
(it was protected and now is 3 weeks public in TSQLConnection)

git-svn-id: trunk@26961 -
2014-03-05 11:20:21 +00:00
michael
a1252febae * Make sure UpdateCount=0 when inherited destructor is called (and ooFree is dispatched (Bug ID 25821)
git-svn-id: trunk@26960 -
2014-03-05 09:22:19 +00:00
michael
15bb6b2c72 * Patch from Luiz Americo to make fpobserver notifications take care of begin/endupdate (Bug ID 25820)
git-svn-id: trunk@26959 -
2014-03-05 09:15:30 +00:00
Jeppe Johansen
9b79f2f68d Added support for 8-bit CPU's in RTL. Mostly for missing implementations of int<->string conversion and console/text output.
git-svn-id: trunk@26958 -
2014-03-04 20:00:03 +00:00
Jonas Maebe
98517b9ac9 * set imaginary register start for JVM at register number 2, since there
are only 2 (fake) "real" registers

git-svn-id: trunk@26957 -
2014-03-04 19:42:43 +00:00
Jonas Maebe
ffac2feb59 * since we only build the deref for tprocdef.localst when we're
going to write it to the ppu since r26083, also only deref it
    if that's the case (mantis #25814)

git-svn-id: trunk@26956 -
2014-03-04 19:42:39 +00:00
Jonas Maebe
4f1207f603 + support for specifying an optional command line parameter to use during a
recompile of a test

git-svn-id: trunk@26955 -
2014-03-04 19:42:35 +00:00
marco
4b677ca027 * link pangocairo on Darwin.
git-svn-id: trunk@26954 -
2014-03-04 16:29:50 +00:00
reiniero
b2ad159b5b fcl-db: dbtestframework:
* cosmetic

git-svn-id: trunk@26953 -
2014-03-04 16:16:55 +00:00
reiniero
5bab60669c fcl-db: dbtestframework:
* dbf export: ftBytes is not supported at the moment

git-svn-id: trunk@26952 -
2014-03-04 15:07:48 +00:00
nickysn
9743a9122d * moved creation of voidpointertype, so that voidpointertype.size is available
earlier

git-svn-id: trunk@26951 -
2014-03-04 14:10:02 +00:00
reiniero
0ec6a79505 fcl-db: dbtestframework: MS SQL Server:
* Create tables allowing NULL values for non-primary keys
* Increase blob size per documentation in order to support large blobs

git-svn-id: trunk@26950 -
2014-03-04 13:08:33 +00:00
reiniero
8e28dd52b4 fcl-db: dbtestframework:
- revert functional changes of previous commit: better deal with NULL setting via connection/session or database level:
http://msdn.microsoft.com/en-us/library/ms174979.aspx			

git-svn-id: trunk@26949 -
2014-03-04 12:46:56 +00:00
reiniero
3eb1edb749 fcl-db: dbtestframework: start work on MS SQL tests.
* Create FPDEV_FIELD table with columns that accept null values for non-primary key.

git-svn-id: trunk@26948 -
2014-03-04 12:13:46 +00:00
lacak
e5850015d9 fcl-db: cosmetic
git-svn-id: trunk@26947 -
2014-03-04 12:10:33 +00:00
sergei
87684e1cf1 * MIPS: clean up
git-svn-id: trunk@26946 -
2014-03-04 08:42:45 +00:00
Jeppe Johansen
98606eea15 Fixed some bugs in the AVR RTL code.
Changed atmega code to use weak linking for interrupt handlers.

git-svn-id: trunk@26945 -
2014-03-04 08:03:27 +00:00
Jeppe Johansen
7fdb125356 Added AVR support to fpc and root Makefile.
Rebuilt root Makefile.

git-svn-id: trunk@26944 -
2014-03-04 08:02:10 +00:00
Jeppe Johansen
2227045e23 Replace forbidden chars in more places in the GAS assembler writer.
Add support for .set and .weak on AVR.
Fix 64 bit negation on AVR.
Add cpu_capabilities to cpuinfo.pas and fixed some peephole optimizations.
Pass >4 byte parameters by reference.

git-svn-id: trunk@26943 -
2014-03-04 08:01:23 +00:00
sergei
5e8f8f4755 * Use GOT-relative constants for i386 PIC jump tables, they don't need runtime relocations. Now almost ABI-compliant on Linux/BSD (Darwin targets unchanged). Also clean up i8086-specific stuff: using tai_const.create_type_sym(aitconst_ptr,...) generates near pointers on i8086, which is the desired goal.
git-svn-id: trunk@26942 -
2014-03-03 21:06:49 +00:00
sergei
d613ab8578 * x86: improve x87 qword to float conversion, using single-precision constants saves space and removes need in separate load on FPU stack. No precision loss occurs because 2**64 is representable exactly even in single precision.
git-svn-id: trunk@26941 -
2014-03-03 20:41:42 +00:00
michael
2ae138d95c * Applied patch from Luiz Americo to make set functions return previous value (bug ID 25795)
git-svn-id: trunk@26940 -
2014-03-03 14:13:00 +00:00
michael
54e926fdb5 * Set mode explicitly to fpc
git-svn-id: trunk@26939 -
2014-03-03 13:36:07 +00:00
reiniero
57582dd710 fcl-db: dbtestframework: cosmetic
git-svn-id: trunk@26938 -
2014-03-03 12:54:14 +00:00
reiniero
cb9c15a256 fcl-db: dbtestframework:
* Cosmetic: Oracle, MySQL drop table command convenience call

git-svn-id: trunk@26937 -
2014-03-03 12:25:31 +00:00
reiniero
5c0f205a57 fcl-db: cosmetic: another debug build mode for dbtestframework_gui
git-svn-id: trunk@26936 -
2014-03-03 11:35:03 +00:00
Károly Balogh
13210ff7d4 use MVZ/MVS ColdFire instructions to load constants where applicable
git-svn-id: trunk@26935 -
2014-03-03 00:53:52 +00:00
nickysn
2908fa9123 + added type parentfpvoidpointertype, which is a void pointer with the same size
as the hidden parentfp parameter, passed to nested procs. On i8086 it is
  always a near pointer, unlike voidpointer (which changes according to the
  memory model). This fixes nested procs in i8086 far data memory models.

git-svn-id: trunk@26934 -
2014-03-02 22:55:52 +00:00
nickysn
9321d9916d * use voidpointer.size instead of sizeof(pint) in tparamanager.push_size in
order to properly support i8086 far data memory models

git-svn-id: trunk@26933 -
2014-03-02 22:51:37 +00:00
nickysn
229ebf33a8 + support getting the address of far references on i8086 in
tcgx86.a_loadaddr_ref_reg

git-svn-id: trunk@26932 -
2014-03-02 22:21:16 +00:00
Jeppe Johansen
66f5b71fe9 Fixed passing of 32bit arguments on 8-bit architectures.
Added initial RTL startup code for AVR.

git-svn-id: trunk@26931 -
2014-03-02 20:53:21 +00:00