nickysn
0621dd523a
* objpas.integer=smallint fixes in several tests
...
git-svn-id: trunk@27054 -
2014-03-09 17:13:40 +00:00
Károly Balogh
ad1cc67eb2
Amiga: fixed RawByteString related typos in sysutils
...
git-svn-id: trunk@27053 -
2014-03-09 16:50:44 +00:00
nickysn
19a39cde4a
* 16-bit objpas.integer type fixes in Math.DivMod
...
git-svn-id: trunk@27052 -
2014-03-09 16:46:49 +00:00
Károly Balogh
9bdbad0c39
removed unnecessary MEMF_PUBLIC flag from several allocations
...
git-svn-id: trunk@27051 -
2014-03-09 16:46:37 +00:00
nickysn
5ac193dfc3
* fixed test tbsx1.pp for a 16-bit objpas.integer type
...
git-svn-id: trunk@27050 -
2014-03-09 16:45:15 +00:00
Károly Balogh
b11e26cf55
Amiga: merged getpathstring DOS unit fixes from MorphOS RTL
...
git-svn-id: trunk@27049 -
2014-03-09 16:41:25 +00:00
nickysn
f2cf516529
* set objpas.integer = smallint on 16-bit and 8-bit CPUs. Rationale:
...
1) Delphi 1 compatibility
2) we reclaim pascal's 'Integer' type to be the integer type (at least 16 bits
in size) that is the most efficient to work with on the target processor
git-svn-id: trunk@27048 -
2014-03-09 16:33:20 +00:00
nickysn
e464d1f476
* fixed compilation of units regexpr and oldregexpr when integer=smallint
...
git-svn-id: trunk@27047 -
2014-03-09 15:06:31 +00:00
nickysn
b5f1445f90
* fixed compilation of unit variants with integer=smallint
...
git-svn-id: trunk@27046 -
2014-03-09 14:44:45 +00:00
nickysn
9418fa9b8b
* fixed compilation of unit classes with integer=smallint
...
git-svn-id: trunk@27045 -
2014-03-09 14:21:32 +00:00
nickysn
ca451988a8
* EInOutError.ErrorCode changed from Longint to Integer (16-bit Delphi 1
...
compatibility)
git-svn-id: trunk@27044 -
2014-03-09 13:21:27 +00:00
nickysn
73494f004d
* the Exception constructors' AHelpContext parameter changed from Integer to
...
Longint
git-svn-id: trunk@27043 -
2014-03-09 13:09:25 +00:00
florian
c9f7c7d88c
+ test for windows which tests if an .rc file can be really compiled into an .res file
...
git-svn-id: trunk@27042 -
2014-03-09 10:54:33 +00:00
florian
2c5a0ffc89
* make windres the default resource compiler on x86_64-win64
...
git-svn-id: trunk@27041 -
2014-03-09 10:52:10 +00:00
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