Commit Graph

42431 Commits

Author SHA1 Message Date
florian
e755a19c42 * win64 ignores -Cg
git-svn-id: trunk@27040 -
2014-03-09 10:51:42 +00:00
florian
08a4e1efe1 * handle for ... in on arrays of constant correctly, resolves also #25838
+ tests

git-svn-id: trunk@27039 -
2014-03-09 09:03:22 +00:00
sergei
a7563fd0c8 * Added {$ifdef ver2_6} around stuff which is no longer used but needed for bootstrapping.
git-svn-id: trunk@27038 -
2014-03-08 23:13:10 +00:00
sergei
9c54cdc85d * x86: Cleaned out addr_far,addr_far_ref used to encode far calls/jumps. NASM (and FPC x86 assembler based on it) already have opsize=S_FAR for this purpose.
git-svn-id: trunk@27037 -
2014-03-08 22:54:43 +00:00
michael
06451dd9ab * Forgot to commit (adds jstoken, tswriter)
git-svn-id: trunk@27036 -
2014-03-08 16:36:58 +00:00
michael
0c8f3d6c12 * Javascript writer
git-svn-id: trunk@27035 -
2014-03-08 14:45:49 +00:00
michael
0de9c58092 * Tokens separated out of parser, needed in writer.
git-svn-id: trunk@27034 -
2014-03-08 14:45:34 +00:00
michael
cedcd354b3 * Use jstoken
git-svn-id: trunk@27033 -
2014-03-08 14:44:56 +00:00
michael
a748d37f9b * Tests for switch parsing
git-svn-id: trunk@27032 -
2014-03-08 14:44:26 +00:00
michael
fd61a17460 * Functions to aid in writing
git-svn-id: trunk@27031 -
2014-03-08 14:43:53 +00:00
michael
39efecf5df * Regex parsing
git-svn-id: trunk@27030 -
2014-03-08 14:43:23 +00:00
michael
2d60f0d576 * Regex scanning
git-svn-id: trunk@27029 -
2014-03-08 14:43:12 +00:00
reiniero
b7b7a6ffe5 fcl-db: ibconnection: cosmetic
git-svn-id: trunk@27028 -
2014-03-08 08:52:55 +00:00
reiniero
c2902b3aa6 fcl-db: examples: dbftool: cosmetic: code cleanup
git-svn-id: trunk@27027 -
2014-03-08 08:52:31 +00:00
florian
7eace968e7 + UNICODESTRINGS feature flag
git-svn-id: trunk@27026 -
2014-03-07 21:25:38 +00:00
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