Commit Graph

40175 Commits

Author SHA1 Message Date
paul
a592e77f35 rtl: add missing windows codepages (mantis #0024294)
git-svn-id: trunk@24295 -
2013-04-22 01:48:12 +00:00
marco
4d9f1629d9 * removed a workaround for pre 2.6.0 fpdocs
git-svn-id: trunk@24294 -
2013-04-21 21:33:10 +00:00
marco
f007dc9711 * two more "getmodule" fixes.
git-svn-id: trunk@24293 -
2013-04-21 20:20:21 +00:00
marco
1df71e5d99 * more dummy declarations for basetypes.
git-svn-id: trunk@24292 -
2013-04-21 19:01:23 +00:00
florian
926dd1b41e * command line compilation of i8086 fixed
git-svn-id: branches/i8086@24291 -
2013-04-21 18:32:09 +00:00
nickysn
5ed1222e64 * changed the default i8086 calling convention to pocall_pascal
git-svn-id: branches/i8086@24290 -
2013-04-21 18:03:36 +00:00
marco
e603d0d93e * fix for shortdescrs. Refmodule was unassigned if the target of the shortdescr was not a module.
git-svn-id: trunk@24289 -
2013-04-21 17:39:48 +00:00
florian
709ba5e053 + introduce cnf_call_never_returns to signal the dfa if a call node never returns
* get rid of  tcgraisenode.pass_generate_code, it is replaced by compiler proc. call nodes generated in pass_1

git-svn-id: branches/i8086@24288 -
2013-04-21 16:53:25 +00:00
joost
c0b5b30ca2 * Moved libtar unit from fcl-base to paszlib package
git-svn-id: trunk@24287 -
2013-04-21 16:22:29 +00:00
reiniero
767261d7ae fcl-db/dbase: codepage refinement and preliminary testcase
git-svn-id: trunk@24286 -
2013-04-21 14:19:00 +00:00
marco
4f10db2686 * some dummy types for basetypes to avoid warnings. Probably their
lemma's should refer to the reference guide.

git-svn-id: trunk@24285 -
2013-04-21 13:55:29 +00:00
nickysn
57777945a8 * fixed bug in thlcgobj.g_array_rtti_helper introduced in the previous commit
git-svn-id: branches/i8086@24284 -
2013-04-21 13:34:49 +00:00
reiniero
967319eb69 *fcl-db/dbase: fix for FoxPro proper codepage when creating dbfs
git-svn-id: trunk@24283 -
2013-04-21 13:29:54 +00:00
nickysn
a5c5b05362 * initial support for system procs that use calling conventions that push left to right on i8086 or i386
git-svn-id: branches/i8086@24282 -
2013-04-21 13:26:12 +00:00
nickysn
5caadbbc40 + added method tabstractprocdef.is_pushleftright that exists on all platforms and returns whether parameters must be loaded left to right
git-svn-id: branches/i8086@24281 -
2013-04-21 09:49:34 +00:00
sergei
20ed97a1e2 + UriParser.pp: Consider 'port' part present in authority only if colon is followed by all digits. Mantis #24302.
git-svn-id: trunk@24280 -
2013-04-21 08:12:49 +00:00
reiniero
3e2cedaf59 fcl-db/dbase: cosmetic: reorganize struct comments so they show up browsing code
git-svn-id: trunk@24279 -
2013-04-21 06:24:13 +00:00
marco
183d9ebfe1 * more inheritsfrom fixes. This time for the inheritance pages.
(    [properties (by name)] etc )

git-svn-id: trunk@24278 -
2013-04-20 22:27:06 +00:00
marco
3acd49ddbc * fixed a bug in resolving external references for classtree and whatever else
uses findelement.
   
   A reference was checked against TPasModule with "=", ruling out descendants
   like TPasExternalModule. All "content" (.xct) symbols are in externalmodules

git-svn-id: trunk@24277 -
2013-04-20 20:53:59 +00:00
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