Commit Graph

42453 Commits

Author SHA1 Message Date
nickysn
b4bb09254e * use a 16-bit integer for property indexes on 16- and 8-bit targets
git-svn-id: trunk@27062 -
2014-03-09 21:25:31 +00:00
nickysn
dcc2354760 * disallow 64-bit property index specifiers on 64-bit CPUs, since they were not
handled correctly there anyway (they were silently truncated to 32-bit)

git-svn-id: trunk@27061 -
2014-03-09 21:05:53 +00:00
pierre
044891fd94 Avoid range check error in a_op_const_reg_reg
git-svn-id: trunk@27060 -
2014-03-09 19:49:29 +00:00
Károly Balogh
fb218fa671 require v37 libs (OS2.04+) instead of v50 (nextgen)
git-svn-id: trunk@27059 -
2014-03-09 19:23:30 +00:00
Károly Balogh
1483a631d7 Amiga: fixed copyright header and merged a fix from MorphOS in sysdir
git-svn-id: trunk@27058 -
2014-03-09 17:57:07 +00:00
Károly Balogh
2f02fa6f16 fixed AllFilesMask for Amiga and some comment typos
git-svn-id: trunk@27057 -
2014-03-09 17:47:21 +00:00
Károly Balogh
e22228ca27 AMIGAOS4 is now defined in the compiler, not in the RTL
git-svn-id: trunk@27056 -
2014-03-09 17:43:05 +00:00
Károly Balogh
d775b148b0 Amiga: updated sysutils unit to equal the MorphOS version in features
git-svn-id: trunk@27055 -
2014-03-09 17:36:26 +00:00
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