Commit Graph

1624 Commits

Author SHA1 Message Date
yury
0809bde8f2 * pas2jni: Again fixed exclusion of descendant classes.
git-svn-id: trunk@29161 -
2014-11-26 17:01:04 +00:00
yury
830e3ceb0d * pas2jni: Properly handle enums with inline elements.
git-svn-id: trunk@29160 -
2014-11-26 17:00:42 +00:00
pierre
5e9f6b7362 Explictly add subdirectory fpmake.pp sources to ./fpmake dependencies
git-svn-id: trunk@29157 -
2014-11-26 15:49:38 +00:00
pierre
364a66fd7b Add powerpc64 xcoff support for AIX
git-svn-id: trunk@29156 -
2014-11-26 15:45:55 +00:00
yury
7860959a13 * pas2jni: Fixed exclusion of descendant classes.
git-svn-id: trunk@29152 -
2014-11-26 11:33:26 +00:00
yury
3ca38ade60 * pas2jni: When excluding a class, also exclude all descendant classes.
git-svn-id: trunk@29149 -
2014-11-25 21:06:33 +00:00
yury
e318185d27 * pas2jni: Properly handle indexed properties with more than one index parameters.
git-svn-id: trunk@29147 -
2014-11-25 17:40:07 +00:00
joost
c34552da09 * Added the utils- prefix to the names of all utils-packages.
git-svn-id: trunk@29031 -
2014-11-08 21:03:59 +00:00
joost
99035134a5 * Create a separate binary-archive for all util-packages
git-svn-id: trunk@29022 -
2014-11-08 14:58:30 +00:00
joost
a23fde1fcb * Removed files from fpmake.pp that are not even part of the package
git-svn-id: trunk@29020 -
2014-11-08 12:31:33 +00:00
joost
a9dcb9201f * Do not rebuild fpmake on each run on an host-os that uses an executable-suffix. (.exe)
git-svn-id: trunk@28973 -
2014-11-03 12:42:33 +00:00
joost
75afdf052b * Pass archive-command to fpmake on make zipsourceinstall
git-svn-id: trunk@28971 -
2014-11-02 19:51:52 +00:00
joost
3296c3d381 * Pass "-fsp 0" to fpmake on distinstall and zipdistinstall to remove absolute source path from fpunits.cfg files
git-svn-id: trunk@28946 -
2014-10-29 21:20:01 +00:00
joost
8da7914438 * Combine all utils into one achive, several installers depend on this
git-svn-id: trunk@28887 -
2014-10-20 19:42:52 +00:00
pierre
d3755371fe Regenerate after last commit: Add testppudump phony targets to packages and utils directory
git-svn-id: trunk@28734 -
2014-10-03 22:09:14 +00:00
pierre
227d983222 Add testppudump phony targets to packages and utils directory
git-svn-id: trunk@28733 -
2014-10-03 22:07:33 +00:00
marcus
203089fe1a AROS: sockets, fcl-net, fcl-web included
git-svn-id: trunk@28671 -
2014-09-15 18:33:26 +00:00
michael
7d28bc8e4e * Added some extra options for recursion, additional extensions and verbosity
git-svn-id: trunk@28655 -
2014-09-14 11:03:10 +00:00
michael
1f11b44521 * Added some extra options for recursion, additional extensions and verbosity
git-svn-id: trunk@28654 -
2014-09-14 11:03:00 +00:00
Károly Balogh
2e80906133 fpmake: also disable threading and processes on Amiga
git-svn-id: trunk@28630 -
2014-09-08 23:42:19 +00:00
marcus
ee31b188f6 AMIGA/MorphOS/AROS: corrected pathes in FP-IDE
git-svn-id: trunk@28620 -
2014-09-08 16:47:38 +00:00
marco
4102061e8a * patch from Graeme that exists if a node is not assigned, mantis #26678
git-svn-id: trunk@28598 -
2014-09-05 09:48:08 +00:00
marco
97be68107e * apply patch from issue #26635, dealing with exe extension.
git-svn-id: trunk@28523 -
2014-08-26 21:06:52 +00:00
Károly Balogh
da7efb8607 AROS: regenerated Makefiles to support i386-aros
git-svn-id: trunk@28438 -
2014-08-17 23:16:47 +00:00
Károly Balogh
e6017bceed AROS: regenerated fpcmake.inc
git-svn-id: trunk@28434 -
2014-08-17 19:19:18 +00:00
Károly Balogh
4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run.
git-svn-id: trunk@28432 -
2014-08-17 18:18:07 +00:00
yury
defc13f9ec * pas2jni: Fixed enums, added equals() methods to objects, enums and sets.
git-svn-id: trunk@28048 -
2014-06-24 13:57:31 +00:00
yury
a27ea85560 * pas2jni: Fixed the Pointer() support function.
git-svn-id: trunk@28046 -
2014-06-24 10:52:14 +00:00
yury
045429327b * pas2jni: Handle null objects in the Pointer() support function.
git-svn-id: trunk@28043 -
2014-06-24 09:49:09 +00:00
marco
b7aff4eae0 * flush output on halt. Patch by Mattias mantis #26225
git-svn-id: trunk@27835 -
2014-05-31 15:06:42 +00:00
yury
f526f39f8f * pas2jni: Always specify unit prefix for types in the generated bridge code.
git-svn-id: trunk@27811 -
2014-05-22 13:47:46 +00:00
yury
f1727c58c3 * pas2jni: Type cast support. nil objects support.
git-svn-id: trunk@27684 -
2014-04-28 14:59:21 +00:00
yury
8f96b9985f * pas2jni: Revert "Suppress unused import warnings" since it produce other warnings.
git-svn-id: trunk@27681 -
2014-04-28 10:58:24 +00:00
yury
30919d0fb1 * pas2jni: Suppress unused import warnings. Fix system unit parsing.
git-svn-id: trunk@27680 -
2014-04-28 10:08:36 +00:00
michael
181892cc5f * First implementation of pas2js converter program
git-svn-id: trunk@27476 -
2014-04-05 09:19:55 +00:00
pierre
f35860b33a Update revision.inc after fpcmake.ini change 27428
git-svn-id: trunk@27429 -
2014-04-01 15:39:28 +00:00
pierre
fcc7dc82fc Fix typo error in previous fpcmake.ini change
git-svn-id: trunk@27428 -
2014-04-01 15:38:27 +00:00
pierre
64b1dce92b iUpdate revision.inc after fpcmake.ini change 27426
git-svn-id: trunk@27427 -
2014-04-01 15:32:45 +00:00
pierre
2161b5e2e4 Fix syntax error in previous fpcmake.ini change
git-svn-id: trunk@27426 -
2014-04-01 15:31:12 +00:00
pierre
4bb05e6c16 Version updated due to fpcmake.ini change rev 27421
git-svn-id: trunk@27424 -
2014-04-01 15:25:19 +00:00
pierre
0801538080 Regenerated from fpcmake.ini
git-svn-id: trunk@27423 -
2014-04-01 15:24:30 +00:00
pierre
b213d2624a Handle -sh option (generate script to link on host)
git-svn-id: trunk@27421 -
2014-04-01 15:09:26 +00:00
pierre
e0a04bdd1c Add data2inc call to update fpcmake.inc from fpcmake.ini
git-svn-id: trunk@27420 -
2014-04-01 15:08:20 +00:00
marco
56277b18db * move fpcsubst to utils/ because it uses classes
git-svn-id: trunk@27370 -
2014-03-30 11:45:51 +00:00
Jonas Maebe
47a7b117fd * regenerated revision.inc and fpcmake.inc after r27188, which updated
fpcmake.ini (revision.inc was automatically updated by fpmake, but
    fpcmake.inc wasn't -- the latter was regenerated via a
    Makefile.fpc.fpcmake-regenerated makefile)

git-svn-id: trunk@27193 -
2014-03-19 22:45:53 +00:00
florian
b2b26f84cf * partially merged the mips-embedded branch of Michael Ring:
- startup code/controller units are not merged yet
  - assembler call does not pass the needed CPU type yet

git-svn-id: trunk@27188 -
2014-03-19 21:25:38 +00:00
yury
73c26bd6be * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +00:00
yury
5ebfb2710d * Fixed getting svn revision on Windows host.
git-svn-id: trunk@26700 -
2014-02-07 12:14:57 +00:00
yury
3eaecd07a6 * mipsel-android: Support in fpcmake.
git-svn-id: trunk@26692 -
2014-02-06 19:46:28 +00:00
michael
576fe3758d * Added showing of hints in HTML page title
git-svn-id: trunk@26687 -
2014-02-06 17:06:58 +00:00
Tomas Hajny
77967432ef * always use forward slashes in path to fpmake similarly to paths to other tools in Makefiles
git-svn-id: trunk@26641 -
2014-02-01 00:11:09 +00:00
marco
a57df5f0dd * commited correction for Mantis #25560, misspelled constructor keyword
git-svn-id: trunk@26531 -
2014-01-20 10:39:39 +00:00
nickysn
1f7b14f38e * fixed the conversion of powerof2 mul/imuls to lea in tcgx86.a_op_const_reg_reg
git-svn-id: trunk@26509 -
2014-01-18 17:58:31 +00:00
florian
694ba6a702 * call strip on the COMPILER macro to make the output look more nicely
git-svn-id: trunk@26502 -
2014-01-18 10:19:54 +00:00
paul
1f83117f16 utils: use fpc 2.6.2 compatible code
git-svn-id: trunk@26489 -
2014-01-17 10:44:24 +00:00
paul
e181fbc327 utils: clean rsj files by delp
git-svn-id: trunk@26485 -
2014-01-17 02:24:37 +00:00
paul
13a0b21031 rstconv: fixed memory leak
git-svn-id: trunk@26484 -
2014-01-17 02:15:35 +00:00
paul
71fbba2b1e utils: parse .rsj file by rstconv tool
git-svn-id: trunk@26479 -
2014-01-16 13:57:33 +00:00
paul
9681212fea utils: put unicodepath to default fpc.cfg file
git-svn-id: trunk@26420 -
2014-01-11 08:40:55 +00:00
paul
75fecf9e96 utils: use LongInt instead of Integer to prevent overflow
git-svn-id: trunk@26394 -
2014-01-05 17:09:48 +00:00
marco
1e98620c2e * Same for fpdoc, include cthreads if LZX_USETHREADS
git-svn-id: trunk@26392 -
2014-01-05 16:08:53 +00:00
Jonas Maebe
9736ed59be + add bin2obj as required tool (should have been part of r26132)
git-svn-id: trunk@26133 -
2013-11-24 21:53:33 +00:00
Jonas Maebe
1be319868c * fixed wrong invocations of (possibly cross-compiled) bin2obj
git-svn-id: trunk@26132 -
2013-11-24 20:22:09 +00:00
nickysn
5b3163beb4 * updated fpcmake revision.inc
git-svn-id: trunk@26098 -
2013-11-16 12:38:25 +00:00
nickysn
07e3792801 + added NASM to the default tools in fpcmake.ini
git-svn-id: trunk@26097 -
2013-11-16 12:37:46 +00:00
pierre
926c1ba657 Fix extension od dxegen.pp source in fpmake
git-svn-id: trunk@26076 -
2013-11-13 11:26:24 +00:00
nickysn
1bea98995b * regenerated fpcmake makefiles after r25642
git-svn-id: trunk@25644 -
2013-10-05 10:11:27 +00:00
nickysn
8844c67f56 * updated fpcmake revision.inc after r25642
git-svn-id: trunk@25643 -
2013-10-05 10:06:14 +00:00
nickysn
d89c286dc1 * changed the staticlibext for i8086-msdos to .a in fpcmake.ini as well
git-svn-id: trunk@25642 -
2013-10-05 10:05:03 +00:00
Tomas Hajny
e79246d6e6 * fix missing dependency of fppkg on fpmkunit (unnoticed on some targets due to dependency import via fcl-web)
git-svn-id: trunk@25613 -
2013-10-02 00:18:53 +00:00
pierre
7ab7dcc846 Accept both mips and mipseb as architecture
git-svn-id: trunk@25545 -
2013-09-24 12:23:41 +00:00
Jonas Maebe
de56f909d5 * synchronized with trunk up to and including r25430
git-svn-id: branches/cpstrrtl@25431 -
2013-09-06 10:09:26 +00:00
Mattias Gaertner
1e48781694 instantfpc: fixed showing compiler error
git-svn-id: trunk@25340 -
2013-08-23 13:47:07 +00:00
paul
f285948fcb rtl, utils: apply patch of Inoussa:
This patch implements collation'loading at runtime. This reduce the final executable' size as the collation's data are now externaly stored. Note that It requires the external collation files to be shipped and the program to load the collations it needs using the "LoadCollation"/"RegisterCollation" procedure(s).

The external collation files are produced by "cldrparser" (while producing the static files). The root collation "ducet" 's external file is produced by "unihelper".

It is important to note that these files are endian specific :
 * collation_*_be.bco for big endian systems
 * collation_*_le.bco for little endian system.

The root collation should at be registered, be it staticaly by using the "unicodeducet" unit or dynamicaly by making a call sush as RegisterCollation(<collation dir>,'ducet'). 
It is possible, in the same application, to make use of static and dynamic.

git-svn-id: trunk@25295 -
2013-08-19 13:42:11 +00:00
Jonas Maebe
8d1090269e * synchronised with trunk r25259
git-svn-id: branches/cpstrrtl@25267 -
2013-08-16 11:33:44 +00:00
paul
9f023fcfe0 rtl, utils: apply patch of Inoussa which adds dynamic loading of charset binary files (issue #0024862)
git-svn-id: trunk@25262 -
2013-08-16 09:32:27 +00:00
marco
9f34e4237c * remove forgotten debug feature, (uses dbugintf,which is not part of the
package dependencies), introduced in r23172 

git-svn-id: trunk@25254 -
2013-08-13 13:13:38 +00:00
Mattias Gaertner
90d78e775e instantfpc: version 1.3: compile into temporary directory to avoid clashes in parallel compilations
git-svn-id: trunk@25230 -
2013-08-09 12:02:15 +00:00
paul
24f8623490 rtl, utils: apply patch from Inoussa (mantis #24158):
*  Fix the crash of the Unicode Manager and "cldrparser". Tested on WinCE/ARM emulator (That does produce unaliged exception).

git-svn-id: trunk@25208 -
2013-08-02 16:19:24 +00:00
Jonas Maebe
29132f45b7 * synchronised with trunk up to r25167 (fixes glib compilation via r25164,
and occasional crashes in executeprocess on libc platforms via r25167)

git-svn-id: branches/cpstrrtl@25169 -
2013-07-24 14:24:49 +00:00
marco
72b0e72580 * added a fix for crashes on very short fpdoc projects. x.y.z.count was examined without checking x,y and z existed.
Fixes Mantis #24579

git-svn-id: trunk@24943 -
2013-06-23 09:10:15 +00:00
joost
f8a6ddd460 * Fixed paths in fpmake.pp files
git-svn-id: trunk@24787 -
2013-06-02 21:20:14 +00:00
joost
07325e2b80 * fpcres depends on paszlib
git-svn-id: trunk@24786 -
2013-06-02 21:07:24 +00:00
joost
df4191acb3 * Handle the location of each package at run-time, not at compilation time
* Added a fpmake.pp in the root, to compile the utils and packages in one go

git-svn-id: trunk@24783 -
2013-06-02 17:55:23 +00:00
joost
76c1b9da71 * Use fpmkunit to obtain gcclib-dir for configuration files
git-svn-id: trunk@24753 -
2013-06-01 22:27:16 +00:00
Károly Balogh
4e427b9663 disable threading and process for morphos
git-svn-id: trunk@24747 -
2013-06-01 19:13:06 +00:00
Jonas Maebe
2f29a6ebd3 * fixed use of uninitialized "read" result in case 0 bytes were read, fixes
hang on Darwin/ppc

git-svn-id: trunk@24623 -
2013-05-27 11:40:44 +00:00
joost
94e7cd5a51 * Switched utils to fpmake building
git-svn-id: trunk@24621 -
2013-05-26 19:05:11 +00:00
joost
14f930ef67 * Fix adding new Makefile.fpc to subversion in fpmake-conversion script
git-svn-id: trunk@24620 -
2013-05-26 18:53:22 +00:00
joost
caa3e9b403 * fpmake.pp changes to fix compilation on Windows
git-svn-id: trunk@24616 -
2013-05-25 21:21:26 +00:00
joost
ce78b5f11c * Add .exe extension to tools on Windows
git-svn-id: trunk@24613 -
2013-05-25 19:19:33 +00:00
joost
a68ef39655 * Build grab_vcsa only on Linux (fpmake)
git-svn-id: trunk@24601 -
2013-05-25 15:50:36 +00:00
svenbarth
905ab16ea4 Fixed and regenerated Makefile after removal of jarparamparser.pas
git-svn-id: trunk@24550 -
2013-05-22 09:02:24 +00:00
joost
14ffdf6b8d * Removed unused unit jarparamparser.pas
git-svn-id: trunk@24549 -
2013-05-21 19:58:14 +00:00
joost
95972cabbc * Let fpmake update the revision.inc file for fpcmake
git-svn-id: trunk@24538 -
2013-05-20 17:00:25 +00:00
joost
d98fb1f004 * Some fpmake.pp fixes
git-svn-id: trunk@24526 -
2013-05-19 10:04:25 +00:00
joost
2fe7dbfc6c * Several fpmake.pp fixes
git-svn-id: trunk@24524 -
2013-05-18 08:28:58 +00:00
yury
4a696dbf00 * pas2jni: fixed error during records processing.
git-svn-id: trunk@24514 -
2013-05-15 15:58:27 +00:00
yury
8bc8363c77 * pas2jni: added fcl-json dependency.
git-svn-id: trunk@24513 -
2013-05-15 15:45:09 +00:00
yury
94197aade9 * pas2jni: fixed processing of int64 and boolean constants. Also fixes to correctly process whole System unit.
git-svn-id: trunk@24512 -
2013-05-15 15:34:10 +00:00
yury
45895f26e0 * pas2jni: use stable JSON output from ppudump.
git-svn-id: trunk@24510 -
2013-05-15 14:17:34 +00:00
yury
f174c4df83 * pas2jni: Removed debug stuff.
git-svn-id: trunk@24494 -
2013-05-14 11:47:23 +00:00
joost
2555885541 * Added fpmake.pp files for pas2fpm, pas2jni and pas2ut
git-svn-id: trunk@24492 -
2013-05-13 19:56:36 +00:00
joost
555ea23209 * Added fpmake.pp for unicode utils
git-svn-id: trunk@24488 -
2013-05-12 20:13:35 +00:00
joost
534e8e2a0c * Scripts to generate Makefiles which call fpmake
git-svn-id: trunk@24487 -
2013-05-12 19:30:19 +00:00
joost
478243254e * Removed double addition of ptop
* Added fpcreslipo compilation to fpmake

git-svn-id: trunk@24483 -
2013-05-11 12:07:12 +00:00
joost
2b413c3075 * Fixed path-issues in fpmake.pp file
git-svn-id: trunk@24482 -
2013-05-11 09:33:45 +00:00
joost
436d0bbdae * Added some bin2obj rules to the fpmake.pp file
git-svn-id: trunk@24481 -
2013-05-11 09:03:24 +00:00
pierre
a86ae3efee Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24375 -
2013-04-29 12:49:25 +00:00
pierre
5c9de9a68b Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24366 -
2013-04-29 12:29:03 +00:00
joost
394d2f39b6 * Re-generated Makefile to add dependency on libtar package, introduced in
r24346

git-svn-id: trunk@24348 -
2013-04-27 19:08:36 +00:00
pierre
9414fddd00 Add explanation about revision.inc file
git-svn-id: trunk@24330 -
2013-04-26 10:23:52 +00:00
pierre
d38e6e62c8 commit new revision.inc file
git-svn-id: trunk@24329 -
2013-04-26 10:23:25 +00:00
yury
226fb92d61 * Check for ppudump in the same folder as pas2jni only if there is a path to pas2jni executable is available in ParamStr(0).
git-svn-id: trunk@24326 -
2013-04-26 08:16:54 +00:00
florian
3d7033d81e * Makefiles regenerated
git-svn-id: trunk@24325 -
2013-04-25 20:25:57 +00:00
florian
0e41df598e * merge i8086 branch by Nikolay Nikolov
git-svn-id: trunk@24324 -
2013-04-25 20:23:51 +00:00
yury
65a4585012 * By default try to use ppudump from the folder where pas2jni is located.
git-svn-id: trunk@24319 -
2013-04-25 10:32:58 +00:00
marco
f007dc9711 * two more "getmodule" fixes.
git-svn-id: trunk@24293 -
2013-04-21 20:20:21 +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
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
b27e03346b * don't crash on inclusion of fpmake.pp
git-svn-id: trunk@24273 -
2013-04-19 23:50:43 +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
michael
11e6396cc7 * modified Docstripper by Reinier Olislagers (bug 23988)
git-svn-id: trunk@24171 -
2013-04-07 08:49:03 +00:00
yury
fcf29c11d0 * Turn off debug.
git-svn-id: trunk@24145 -
2013-04-03 19:45:07 +00:00
yury
9019c2cf17 * Removed unneeded {$apptype console}.
git-svn-id: trunk@24144 -
2013-04-03 19:42:43 +00:00
yury
cd6669f52a * Build and install pas2jni.
git-svn-id: trunk@24143 -
2013-04-03 19:29:16 +00:00
yury
5d1b97fd67 + pas2jni - an utility to generates a JNI (Java Native Interface) bridge for a Pascal code. Then the Pascal code (including classes and other advanced features) can be easily used in Java programs.
git-svn-id: trunk@24137 -
2013-04-03 13:38:36 +00:00
marco
b625439dae * committed Graeme's IPF patches, mantis #24084:
- Fixes the resolving of links issues in the Class Hierarchy output for IPF
	- Implements BeginURL and EndURL methods for the IPF writer. Now it correctly
	     handles the [url] tag in fpdoc XML files.

git-svn-id: trunk@24132 -
2013-04-02 15:37:59 +00:00
nickysn
8a1178e4e9 * regenerated makefiles
git-svn-id: branches/i8086@24114 -
2013-04-01 17:30:11 +00:00
nickysn
0fe3bee97e * set STATICLIBPREFIX to empty for the msdos target in fpcmake.ini
git-svn-id: branches/i8086@24113 -
2013-04-01 17:27:28 +00:00
nickysn
873d5f7d05 * makefiles regenerated
git-svn-id: branches/i8086@24103 -
2013-04-01 02:02:53 +00:00
nickysn
a05823b8bf * updated fpcmake.inc after the changes in fpcmake.inc from my previous commit
git-svn-id: branches/i8086@24101 -
2013-03-31 23:21:42 +00:00
nickysn
f3690daf95 * set the msdos staticlibext (.lib) and short suffix (d16) in fpcmake.ini
git-svn-id: branches/i8086@24100 -
2013-03-31 23:20:06 +00:00
marco
545a3e708c * avoid prepending unitname with abs paths.
git-svn-id: trunk@24099 -
2013-03-31 22:01:52 +00:00
marco
ad455d05b1 * throw warning when there is a space in the XCT imported link.
git-svn-id: trunk@24089 -
2013-03-31 13:05:36 +00:00
paul
3c0e11fa5a utils: apply Inoussa patch Unicode utils (issue #0022909):
This patch fixes some memory overwrites that were causing the helpers crash.
  It introduces the generation of the little endian and big endian files 
  regardless of the host endianess.
  The patch also adds some new test cases. The cldrparser program now accepts a
  "-t" switch to execute the test suite.

git-svn-id: trunk@24018 -
2013-03-27 00:57:50 +00:00
pierre
49954b4b76 Regenerated Makefile and revision.inc
git-svn-id: trunk@23996 -
2013-03-25 13:07:54 +00:00
pierre
921deb7ac7 Avoid failure in exported directories
git-svn-id: trunk@23995 -
2013-03-25 13:06:47 +00:00
pierre
402e2bbe0e Improve revision.inc regeneration program
git-svn-id: trunk@23994 -
2013-03-25 13:06:00 +00:00
pierre
aa061bbe5a Makefile and revision.inc regenerated after commit 23962
git-svn-id: trunk@23963 -
2013-03-22 22:31:09 +00:00
pierre
4d62c91ae1 Fix make function name error
git-svn-id: trunk@23962 -
2013-03-22 22:29:12 +00:00
pierre
e69606c82e Use getrev pascal program to regenerate revision.inc
git-svn-id: trunk@23961 -
2013-03-22 22:26:33 +00:00
pierre
dd7d1e2cfe Create pascal program to convert svn info output
git-svn-id: trunk@23960 -
2013-03-22 22:19:26 +00:00
pierre
ab54fee4d8 Use ./ prefix for ppas on Unix systems
git-svn-id: trunk@23959 -
2013-03-22 22:17:11 +00:00
pierre
18812f84cf Regenerated Makefile and new revision.inc
git-svn-id: trunk@23957 -
2013-03-22 15:31:42 +00:00
pierre
b9cb784bc6 Use revision.inc file if present
git-svn-id: trunk@23956 -
2013-03-22 15:27:13 +00:00
pierre
e89c275746 Accept list of file as parameters of the script
git-svn-id: trunk@23955 -
2013-03-22 15:26:47 +00:00
pierre
98e9423978 * Generate revision.inc include file depending on last modified comitted file
git-svn-id: trunk@23954 -
2013-03-22 14:54:04 +00:00
pierre
057ebc1b2b Use revision.inc include file if REVINC conditional is set
git-svn-id: trunk@23953 -
2013-03-22 14:49:20 +00:00
florian
911ac847f7 * regenerated several automatically generated files after last changes
git-svn-id: branches/i8086@23936 -
2013-03-19 20:12:48 +00:00
florian
b508be843a * BINUTILSPREFIX for i8086-msdos is msdos only
git-svn-id: branches/i8086@23935 -
2013-03-19 20:12:11 +00:00
paul
cf760602ef utils: unicode
- remove unused variables
  - reduce some hints/warnings

git-svn-id: trunk@23923 -
2013-03-18 11:46:53 +00:00
paul
f12a0b7ece utils: patch to unicode utils from Inoussa:
The CLDR parser now actually parses the selected
  collation type only. This should significantly reduce
  the memory consumption.

git-svn-id: trunk@23883 -
2013-03-17 05:00:54 +00:00
paul
7e591e1ea9 utils: unicodeset remove duplicate ord(), initialize cp variable
git-svn-id: trunk@23815 -
2013-03-13 07:03:54 +00:00
florian
451c634532 * treat msdos as 8.3 target in the makefiles as the compiler does
git-svn-id: branches/i8086@23780 -
2013-03-10 18:19:52 +00:00
florian
2fccd4be13 + msdos
+ i8086

git-svn-id: branches/i8086@23778 -
2013-03-10 17:30:35 +00:00
paul
8c0234f871 utils: enable unicode utils build for win64 target
git-svn-id: trunk@23769 -
2013-03-10 09:52:41 +00:00
marco
fc02f5c7f7 * another minor problem found with -CR
git-svn-id: trunk@23765 -
2013-03-09 23:54:13 +00:00
marco
cb55b2d2cf * another small bug caught by -CROriot
git-svn-id: trunk@23763 -
2013-03-09 23:37:59 +00:00
paul
fe8503b8c1 utils: enable unicode utils compilation on linux
git-svn-id: trunk@23752 -
2013-03-09 17:48:38 +00:00
paul
ce6b3b7ee3 utils: add parse-collations.sh script
git-svn-id: trunk@23750 -
2013-03-09 16:53:14 +00:00
paul
087510b775 utils: fix dependencies of unicode utils, enable compilation on darwin
git-svn-id: trunk@23749 -
2013-03-09 16:39:07 +00:00
paul
ab8c293a36 utils: add unicode utils from Inoussa (part of mantis #0022909)
git-svn-id: trunk@23748 -
2013-03-09 15:53:44 +00:00
paul
43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909)
git-svn-id: trunk@23727 -
2013-03-08 13:10:39 +00:00
pierre
d9758e5d0e Avoid TARGET_DIRS_TARGET_DIRS garbage by explicitly setting result of string function in AddTargetDefines method to empty at startup
git-svn-id: trunk@23701 -
2013-03-06 16:40:04 +00:00
pierre
dce8094a12 Commit regenerated file after commit 23608
git-svn-id: trunk@23681 -
2013-03-02 20:50:12 +00:00
yury
4ee4e6fba0 * Top level makefile: Fixed and simplified cross-building. It is now possible to perform cross builds when having only bootstrap compiler executable.
- Always use fresh native fpcmake executable.
  - Build fresh native fpcmake executable when cross-compiling.
  - Explicitly specify a compiler which is used to bootstrap fpmake and fpcmake. Always use fresh native compiler for that. 
* New bootstrap target for fpcmake to build native fpcmake regardless of CPU/OS settings.

git-svn-id: trunk@23641 -
2013-02-21 14:54:57 +00:00
yury
b3862eb4b1 * Use standard Android NDK prefixes for binutils by default.
git-svn-id: trunk@23608 -
2013-02-13 17:35:55 +00:00
yury
e88bc322bc + Merge the targetandroid branch. Support for arm and i386 android targets.
***************************************************************************

Revision: 23518
Author: yury
Date: 25 Jan 2013 0:14:31
Message:
* Build databases support for Android.
----
Modified : /branches/targetandroid/packages/dblib/fpmake.pp
Modified : /branches/targetandroid/packages/fcl-db/fpmake.pp

Revision: 23516
Author: yury
Date: 24 Jan 2013 23:08:12
Message:
* again made less complex for arm and sparc so it compiles there too without running out of registers.
----
Modified : /branches/targetandroid/tests/webtbs/tw2242.pp

Revision: 23515
Author: yury
Date: 24 Jan 2013 23:01:36
Message:
* Disabled the test for Android.
----
Modified : /branches/targetandroid/tests/webtbs/tw4038.pp

Revision: 23514
Author: yury
Date: 24 Jan 2013 22:32:39
Message:
* Disabled the test for Android.

----
Modified : /branches/targetandroid/tests/test/packages/webtbs/tw14265.pp

Revision: 23512
Author: yury
Date: 24 Jan 2013 12:30:07
Message:
* Allow passing of double quoted paths in TEST_OPT.
----
Modified : /branches/targetandroid/tests/Makefile
Modified : /branches/targetandroid/tests/Makefile.fpc

Revision: 23511
Author: yury
Date: 24 Jan 2013 12:29:01
Message:
* Fixed building of packages when cross-testing. Pass CROSSOPT to build packages in such case, otherwise options specified in TEST_OPT are used to build fpmake. The source compiler not always accepts target options. For example -Cfsoft option, often used for arm compiler, is not accepted by x86 compiler.
----
Modified : /branches/targetandroid/tests/tstunits/Makefile
Modified : /branches/targetandroid/tests/tstunits/Makefile.fpc

Revision: 23497
Author: yury
Date: 22 Jan 2013 19:10:54
Message:
* Reverted r23400 and r23401. Tomas has promised to commit more correct fix to trunk.
----
Modified : /branches/targetandroid/rtl/inc/fexpand.inc
Modified : /branches/targetandroid/tests/test/units/dos/tfexpand.pp

Revision: 23496
Author: yury
Date: 22 Jan 2013 19:05:51
Message:
* Disabled the test for Android.
----
Modified : /branches/targetandroid/tests/webtbs/tw0876.pp

Revision: 23495
Author: yury
Date: 22 Jan 2013 18:58:30
Message:
* Add %delfiles for proper clean-up.
----
Modified : /branches/targetandroid/tests/tbs/tb0582.pp
Modified : /branches/targetandroid/tests/test/tweaklib2.pp
Modified : /branches/targetandroid/tests/webtbs/tw12704b.pp
Modified : /branches/targetandroid/tests/webtbs/tw13628b.pp
Modified : /branches/targetandroid/tests/webtbs/tw14798.pp
Modified : /branches/targetandroid/tests/webtbs/tw16263b.pp
Modified : /branches/targetandroid/tests/webtbs/tw16949b.pp
Modified : /branches/targetandroid/tests/webtbs/tw2812.pp
Modified : /branches/targetandroid/tests/webtbs/tw3082.pp
Modified : /branches/targetandroid/tests/webtbs/tw3402.pp
Modified : /branches/targetandroid/tests/webtbs/tw6586b.pp
Modified : /branches/targetandroid/tests/webtbs/tw6822b.pp
Modified : /branches/targetandroid/tests/webtbs/tw7838b.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730d.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089c.pp

Revision: 23492
Author: yury
Date: 22 Jan 2013 16:43:42
Message:
* Turn off special handling of interrupt calling convention for i386-android.
----
Modified : /branches/targetandroid/compiler/i386/n386cal.pas
Modified : /branches/targetandroid/compiler/x86/cgx86.pas

Revision: 23491
Author: yury
Date: 22 Jan 2013 16:34:32
Message:
* Added %delfiles for proper clean-up.
----
Modified : /branches/targetandroid/tests/test/targ1b.pp
Modified : /branches/targetandroid/tests/test/tlib1b.pp
Modified : /branches/targetandroid/tests/test/tlib2b.pp
Modified : /branches/targetandroid/tests/test/tlibrary2.pp
Modified : /branches/targetandroid/tests/test/tlibrary3.pp
Modified : /branches/targetandroid/tests/test/units/sysutils/texec2.pp

Revision: 23490
Author: yury
Date: 22 Jan 2013 16:28:00
Message:
* These libs are for tests, that run only on windows. Mark libs for windows only as well.

----
Modified : /branches/targetandroid/tests/test/library/tlib3a.pp
Modified : /branches/targetandroid/tests/test/library/tlib3b.pp

Revision: 23489
Author: yury
Date: 22 Jan 2013 16:18:56
Message:
* Do not copy a library to a remote target if this library name is specified using %DELFILES directive.
----
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 23488
Author: yury
Date: 22 Jan 2013 15:47:52
Message:
* Implemented { %DELFILES file1 file2 ... } directive for tests. Primarily it is needed to delete shared libraries used by tests when TEST_DELTEMP=1. When testing on a real Android device, it is not good to run tests on flash memory partitions. Android devices have 1Mb RAM based tempfs partition for /tmp folder, which is ideal for running tests. Since 1Mb is very small size these days, it is needed to clean all test leftovers. Test shared libraries are the biggest leftovers and this new DELFILES directive will help to delete them.
* During remote execution, use && as a command separator after important commands such as CD to ensure that the command succeeded before running other commands. Group other commands using curly braces { }.
----
Modified : /branches/targetandroid/tests/readme.txt
Modified : /branches/targetandroid/tests/utils/dotest.pp
Modified : /branches/targetandroid/tests/utils/testu.pp

Revision: 23487
Author: yury
Date: 22 Jan 2013 13:16:22
Message:
* Define CExtended and clongdouble as double for Android.
----
Modified : /branches/targetandroid/compiler/psystem.pas
Modified : /branches/targetandroid/rtl/inc/ctypes.pp

Revision: 23486
Author: yury
Date: 22 Jan 2013 13:14:36
Message:
* Fixed compilation for case when extended <> cextended.
----
Modified : /branches/targetandroid/tests/test/cg/tcalext6.pp

Revision: 23485
Author: yury
Date: 22 Jan 2013 12:41:43
Message:
* More correct comparison of long double values for case when long double=double in C.
----
Modified : /branches/targetandroid/tests/test/cg/tcalext.pp

Revision: 23484
Author: yury
Date: 22 Jan 2013 11:53:41
Message:
* Do not pass -f switch for rm when testing via adb, since default android shell do not support -f switch.
----
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 23483
Author: yury
Date: 22 Jan 2013 11:47:31
Message:
* Added ICU version of Android 4.1.
* Increment by 2 when finding an unknown ICU version.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23479
Author: yury
Date: 21 Jan 2013 14:29:40
Message:
* Add define for android.
----
Modified : /branches/targetandroid/tests/test/cg/tcalcst6.pp
Modified : /branches/targetandroid/tests/test/cg/tcalvar6.pp

Revision: 23478
Author: yury
Date: 21 Jan 2013 14:22:06
Message:
+ Added C object files for android-i386.
----
Added : /branches/targetandroid/tests/test/cg/obj/android/i386
Modified : /branches/targetandroid/tests/test/cg/obj/readme.txt

Revision: 23477
Author: yury
Date: 21 Jan 2013 14:08:25
Message:
* Add missing checks for android target.
----
Modified : /branches/targetandroid/compiler/aasmdata.pas
Modified : /branches/targetandroid/compiler/aggas.pas
Modified : /branches/targetandroid/compiler/expunix.pas
Modified : /branches/targetandroid/compiler/ncgld.pas
Modified : /branches/targetandroid/compiler/ogelf.pas
Modified : /branches/targetandroid/compiler/systems.pas
Modified : /branches/targetandroid/compiler/x86/agx86att.pas
Modified : /branches/targetandroid/compiler/x86/cgx86.pas
Modified : /branches/targetandroid/compiler/x86/rax86.pas

Revision: 23475
Author: yury
Date: 21 Jan 2013 13:51:09
Message:
* Set android-i368 stack alignment to 16.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas

Revision: 23474
Author: yury
Date: 21 Jan 2013 13:45:29
Message:
* Removed -z relro linker option, since it causes problems.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23451
Author: yury
Date: 19 Jan 2013 1:32:26
Message:
* Pass some security switches to LD. They are passed by GCC.
* Removed unused function.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23450
Author: yury
Date: 19 Jan 2013 1:27:45
Message:
* Fixed file description.
----
Modified : /branches/targetandroid/rtl/android/arm/dllprt0.as

Revision: 23449
Author: yury
Date: 19 Jan 2013 1:27:02
Message:
* Simplify arm startup code.
----
Modified : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 23448
Author: yury
Date: 19 Jan 2013 1:25:58
Message:
* Fixed file description.
----
Modified : /branches/targetandroid/rtl/android/i386/dllprt0.as
Modified : /branches/targetandroid/rtl/android/i386/prt0.as

Revision: 23447
Author: yury
Date: 19 Jan 2013 1:19:29
Message:
* Rewrite initialization code for i386-android. i386-android works.
----
Modified : /branches/targetandroid/rtl/android/i386/dllprt0.as
Modified : /branches/targetandroid/rtl/android/i386/prt0.as

Revision: 23441
Author: yury
Date: 18 Jan 2013 16:51:09
Message:
* Add android to supported targets for assemblers. It fixes assembling for i386-android.
----
Modified : /branches/targetandroid/compiler/arm/agarmgas.pas
Modified : /branches/targetandroid/compiler/i386/cpuelf.pas
Modified : /branches/targetandroid/compiler/x86/agx86att.pas

Revision: 23435
Author: yury
Date: 18 Jan 2013 0:46:23
Message:
* Enable safecall exception handling for arm-android.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas

Revision: 23434
Author: yury
Date: 18 Jan 2013 0:28:59
Message:
* Removed leftover from my experiments (calling directly pascal main).
----
Modified : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 23433
Author: yury
Date: 17 Jan 2013 23:43:09
Message:
* Uses SysUtils to make executable bigger. Otherwise string pointers for FindResource can be less than $10000. They are treated as IDs in such case and the test will fail.
----
Modified : /branches/targetandroid/tests/test/units/system/tres.pp

Revision: 23429
Author: yury
Date: 17 Jan 2013 18:49:23
Message:
* Thread safety.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23427
Author: yury
Date: 17 Jan 2013 14:48:03
Message:
* Skip this test for android.
----
Modified : /branches/targetandroid/tests/test/textthr.pp

Revision: 23426
Author: yury
Date: 17 Jan 2013 14:21:51
Message:
* Fixed ifdefs linux to unix.
----
Modified : /branches/targetandroid/tests/test/tstring10.pp
Modified : /branches/targetandroid/tests/test/units/classes/tsetstream.pp
Modified : /branches/targetandroid/tests/test/units/dos/tdos.pp
Modified : /branches/targetandroid/tests/test/units/dos/tidos.pp

Revision: 23425
Author: yury
Date: 17 Jan 2013 14:20:56
Message:
* Enable more tests for android.
----
Modified : /branches/targetandroid/tests/test/packages/webtbs/tw14265.pp
Modified : /branches/targetandroid/tests/test/testfpuc.pp
Modified : /branches/targetandroid/tests/test/textthr.pp
Modified : /branches/targetandroid/tests/test/tlib2a.pp
Modified : /branches/targetandroid/tests/test/tlib2b.pp
Modified : /branches/targetandroid/tests/test/tpoll.pp
Modified : /branches/targetandroid/tests/test/tsafecall1.pp
Modified : /branches/targetandroid/tests/test/tsafecall2.pp
Modified : /branches/targetandroid/tests/test/tsafecall3.pp
Modified : /branches/targetandroid/tests/test/tsafecall4.pp
Modified : /branches/targetandroid/tests/test/units/system/tres.pp
Modified : /branches/targetandroid/tests/test/units/system/tres2.pp
Modified : /branches/targetandroid/tests/test/units/system/tres3.pp

Revision: 23424
Author: yury
Date: 17 Jan 2013 14:02:35
Message:
* Fixed AnsiStrLComp() and AnsiStrLIComp().
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23423
Author: yury
Date: 17 Jan 2013 13:49:55
Message:
* Fixed stupid copy-paste error.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23409
Author: yury
Date: 16 Jan 2013 16:46:02
Message:
* Fixed conflict of native android and java android targets.
----
Modified : /branches/targetandroid/utils/fpcm/fpcmake.inc
Modified : /branches/targetandroid/utils/fpcm/fpcmake.ini

Revision: 23406
Author: yury
Date: 16 Jan 2013 15:33:50
Message:
* Set stackalign field.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas

Revision: 23404
Author: yury
Date: 16 Jan 2013 12:57:51
Message:
* Enable more tests for android.
----
Modified : /branches/targetandroid/tests/webtbs/tw0876.pp
Modified : /branches/targetandroid/tests/webtbs/tw12704a.pp
Modified : /branches/targetandroid/tests/webtbs/tw12704b.pp
Modified : /branches/targetandroid/tests/webtbs/tw16263a.pp
Modified : /branches/targetandroid/tests/webtbs/tw16263b.pp
Modified : /branches/targetandroid/tests/webtbs/tw16949a.pp
Modified : /branches/targetandroid/tests/webtbs/tw16949b.pp
Modified : /branches/targetandroid/tests/webtbs/tw6586a.pp
Modified : /branches/targetandroid/tests/webtbs/tw6586b.pp
Modified : /branches/targetandroid/tests/webtbs/tw6822c.pp
Modified : /branches/targetandroid/tests/webtbs/tw7838a.pp
Modified : /branches/targetandroid/tests/webtbs/tw7838b.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730a.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730b.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730c.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730d.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089a.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089b.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089c.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089d.pp
Modified : /branches/targetandroid/tests/webtbs/uw2364.pp

Revision: 23402
Author: yury
Date: 16 Jan 2013 12:50:52
Message:
* Use collation when comparing strings.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23401
Author: yury
Date: 16 Jan 2013 12:41:32
Message:
* If there is no HOME directory, the current dir must be used.
----
Modified : /branches/targetandroid/tests/test/units/dos/tfexpand.pp

Revision: 23400
Author: yury
Date: 16 Jan 2013 12:40:25
Message:
* Fixed expanding ~ if there is no HOME env var set.
----
Modified : /branches/targetandroid/rtl/inc/fexpand.inc

Revision: 23391
Author: yury
Date: 15 Jan 2013 14:12:56
Message:
* Make sure that the thread has been started, before destroying the event.
----
Modified : /branches/targetandroid/tests/test/tbrtlevt.pp

Revision: 23390
Author: yury
Date: 15 Jan 2013 13:55:24
Message:
* Do not use DOS code pages for Android. Now all CP string tests pass on Android.
----
Modified : /branches/targetandroid/tests/test/tcpstr17.pp
Modified : /branches/targetandroid/tests/test/tcpstrconcat3.pp
Modified : /branches/targetandroid/tests/test/tcpstrconcatmulti.pp
Modified : /branches/targetandroid/tests/test/tcpstrconcatmulti2.pp

Revision: 23389
Author: yury
Date: 15 Jan 2013 13:53:50
Message:
* Use more common code pages 1251 and 1252 instead of old DOS code pages (not available on Android). There is Euro symbol character that has different code in 1251 and 1252 code pages. Use it for tests.
----
Modified : /branches/targetandroid/tests/test/tcpstr1.pp
Modified : /branches/targetandroid/tests/test/tcpstransistrcompare.pp
Modified : /branches/targetandroid/tests/test/tcpstransistrcompareequal.pp

Revision: 23386
Author: yury
Date: 15 Jan 2013 10:22:30
Message:
* Skip 2 tests for android, since they require local execution.
----
Modified : /branches/targetandroid/tests/test/tcpstr19.pp
Modified : /branches/targetandroid/tests/test/tcpstr9.pp

Revision: 23385
Author: yury
Date: 15 Jan 2013 10:20:43
Message:
* Fixed running library tests on android.
----
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 23382
Author: yury
Date: 14 Jan 2013 16:20:44
Message:
* Implemented Unicode string manager for Android. It uses ICU library libicuuc.so. Note: ICU on Android has limited number of code pages. So don't expect support for DOS code pages or other exotic code pages.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23301
Author: yury
Date: 2 Jan 2013 20:47:09
Message:
* I've found that libc on Android does not implement widechar case functions such as towupper(). Such functions are just wrappers over regular char functions. Therefore the whole cwstring unit is useless for Android. For now I've added stub cwstring unit for Android and reverted all Android specific changes in unix/cwstring.pp. Later, Unicode manager for Androud should be implemented using libicuuc, which is default Android lib.
----
Added : /branches/targetandroid/rtl/android/cwstring.pp
Modified : /branches/targetandroid/rtl/unix/cwstring.pp

Revision: 23299
Author: yury
Date: 2 Jan 2013 19:38:08
Message:
* Android does not have libiconv, so don't use it in cwstring unit. For now support only UTF-8 code page in ansistrings. Later it is possible to use libicuuc for code page conversions on Android.
----
Modified : /branches/targetandroid/rtl/unix/cwstring.pp

Revision: 23298
Author: yury
Date: 2 Jan 2013 17:41:36
Message:
* Added uuchar unit to build for android.
----
Modified : /branches/targetandroid/rtl/android/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile.fpc

Revision: 23289
Author: yury
Date: 2 Jan 2013 2:53:36
Message:
* Always specify dynamic linker name for executables.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23288
Author: yury
Date: 2 Jan 2013 2:04:41
Message:
* Updated Makefile
----
Modified : /branches/targetandroid/rtl/android/Makefile

Revision: 23287
Author: yury
Date: 2 Jan 2013 2:03:42
Message:
* cprt0.as is not needed, since we link to libc always.
----
Modified : /branches/targetandroid/rtl/android/Makefile.fpc

Revision: 23286
Author: yury
Date: 2 Jan 2013 2:01:43
Message:
* cprt0.as is not needed, since we link to libc always.
----
Modified : /branches/targetandroid/rtl/android/Makefile.fpc
Deleted : /branches/targetandroid/rtl/android/arm/cprt0.as
Deleted : /branches/targetandroid/rtl/android/i386/cprt0.as

Revision: 23285
Author: yury
Date: 2 Jan 2013 1:59:48
Message:
* libctype is not needed, since only bionic is supported anyway.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23284
Author: yury
Date: 2 Jan 2013 1:49:12
Message:
* Rework of Android startup code. It is needed to always link to libc on android to implement finalization and environment variables in shared libraries.
* Cleanup of Android linker.
* Use only INSERT command in the linker script to inject custom .fpc sections. Whole linker script duplication is nor needed anymore.
* Use BFD linker, since GOLD linker does not support INSERT command. Other incompatibilities may also exist.
* Enable tf_smartlink_sections for i386-android.
* i386-android is broken after this commit. Will be fixed later.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas
Modified : /branches/targetandroid/compiler/systems/t_android.pas
Modified : /branches/targetandroid/rtl/android/arm/dllprt0.as
Modified : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 23283
Author: yury
Date: 2 Jan 2013 1:48:07
Message:
* Enable weak externals for android.
----
Modified : /branches/targetandroid/compiler/systems.pas

Revision: 23236
Author: yury
Date: 28 Dec 2012 12:42:27
Message:
* Oops, wrong commit r23235. Reverted. Now correct: Fixed lineinfo for Android.
----
Modified : /branches/targetandroid/rtl/inc/exeinfo.pp
Modified : /branches/targetandroid/tests/test/units/sysutils/texec2.pp

Revision: 23235
Author: yury
Date: 28 Dec 2012 11:38:04
Message:
* Fixed lineinfo for Android.
----
Modified : /branches/targetandroid/tests/test/units/sysutils/texec2.pp

Revision: 23232
Author: yury
Date: 27 Dec 2012 22:52:26
Message:
* Fixed the test for android.
----
Modified : /branches/targetandroid/tests/test/units/dos/tdos2.pp

Revision: 23231
Author: yury
Date: 27 Dec 2012 22:51:32
Message:
+ Added C object files for arm-android.
----
Added : /branches/targetandroid/tests/test/cg/obj/android
Added : /branches/targetandroid/tests/test/cg/obj/android/arm
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/cpptcl1.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/cpptcl2.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/ctest.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext3.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext4.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext5.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext6.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/cpptcl1.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/cpptcl2.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/ctest.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext3.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext4.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext5.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext6.o

Revision: 23226
Author: yury
Date: 27 Dec 2012 10:17:06
Message:
* Support for running tests on a remote Android device using ADB.
----
Modified : /branches/targetandroid/tests/Makefile
Modified : /branches/targetandroid/tests/Makefile.fpc
Modified : /branches/targetandroid/tests/readme.txt
Modified : /branches/targetandroid/tests/tstunits/Makefile
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 22048
Author: tom_at_work
Date: 9 Aug 2012 17:13:51
Message:
re-apply the changes of r22045 to correct files after recent revert
----
Modified : /branches/targetandroid/rtl/android/arm/cprt0.as
Added : /branches/targetandroid/rtl/android/i386
Added : /branches/targetandroid/rtl/android/i386/cprt0.as
Added : /branches/targetandroid/rtl/android/i386/dllprt0.as
Added : /branches/targetandroid/rtl/android/i386/prt0.as

Revision: 22047
Author: tom_at_work
Date: 9 Aug 2012 16:57:34
Message:
- revert r22045: applied changes to wrong files, i.e. linux system files, instead of android ones
----
Modified : /branches/targetandroid/rtl/android/arm/cprt0.as
Modified : /branches/targetandroid/rtl/linux/i386/cprt0.as
Added : /branches/targetandroid/rtl/linux/i386/cprt21.as
Added : /branches/targetandroid/rtl/linux/i386/gprt21.as

Revision: 22045
Author: tom_at_work
Date: 9 Aug 2012 11:05:38
Message:
Made cprt0 startup files to compile. Static executables using them likely do not work though.
Removed obsolete startup files (?prt21*).

----
Modified : /branches/targetandroid/rtl/android/arm/cprt0.as
Modified : /branches/targetandroid/rtl/linux/i386/cprt0.as
Deleted : /branches/targetandroid/rtl/linux/i386/cprt21.as
Deleted : /branches/targetandroid/rtl/linux/i386/gprt21.as

Revision: 22044
Author: tom_at_work
Date: 9 Aug 2012 11:00:16
Message:
Updated systems/t_android to only recognize the "bionic" libc as valid libc.
Fix uninitialized defdynlinker variable when compiling i386-android causing garbage in the linker script.

----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 21296
Author: tom_at_work
Date: 15 May 2012 0:14:12
Message:
* basic android/x86 support
----
Modified : /branches/targetandroid/Makefile
Modified : /branches/targetandroid/compiler/Makefile
Modified : /branches/targetandroid/compiler/i386/cputarg.pas
Modified : /branches/targetandroid/compiler/systems/i_android.pas
Modified : /branches/targetandroid/compiler/systems/t_android.pas
Modified : /branches/targetandroid/compiler/systems.inc
Modified : /branches/targetandroid/compiler/systems.pas
Modified : /branches/targetandroid/compiler/utils/Makefile
Modified : /branches/targetandroid/compiler/utils/ppudump.pp
Modified : /branches/targetandroid/ide/Makefile
Modified : /branches/targetandroid/ide/compiler/Makefile
Modified : /branches/targetandroid/installer/Makefile
Modified : /branches/targetandroid/packages/Makefile
Modified : /branches/targetandroid/packages/fpmkunit/Makefile
Modified : /branches/targetandroid/rtl/Makefile
Modified : /branches/targetandroid/rtl/aix/Makefile
Modified : /branches/targetandroid/rtl/amiga/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile.fpc
Modified : /branches/targetandroid/rtl/beos/Makefile
Modified : /branches/targetandroid/rtl/darwin/Makefile
Modified : /branches/targetandroid/rtl/embedded/Makefile
Modified : /branches/targetandroid/rtl/emx/Makefile
Modified : /branches/targetandroid/rtl/freebsd/Makefile
Modified : /branches/targetandroid/rtl/gba/Makefile
Modified : /branches/targetandroid/rtl/go32v2/Makefile
Modified : /branches/targetandroid/rtl/haiku/Makefile
Modified : /branches/targetandroid/rtl/linux/Makefile
Modified : /branches/targetandroid/rtl/macos/Makefile
Modified : /branches/targetandroid/rtl/morphos/Makefile
Modified : /branches/targetandroid/rtl/nativent/Makefile
Modified : /branches/targetandroid/rtl/nds/Makefile
Modified : /branches/targetandroid/rtl/netbsd/Makefile
Modified : /branches/targetandroid/rtl/netware/Makefile
Modified : /branches/targetandroid/rtl/netwlibc/Makefile
Modified : /branches/targetandroid/rtl/openbsd/Makefile
Modified : /branches/targetandroid/rtl/os2/Makefile
Modified : /branches/targetandroid/rtl/palmos/Makefile
Modified : /branches/targetandroid/rtl/solaris/Makefile
Modified : /branches/targetandroid/rtl/symbian/Makefile
Modified : /branches/targetandroid/rtl/unix/x86.pp
Modified : /branches/targetandroid/rtl/wii/Makefile
Modified : /branches/targetandroid/rtl/win32/Makefile
Modified : /branches/targetandroid/rtl/win64/Makefile
Modified : /branches/targetandroid/rtl/wince/Makefile
Modified : /branches/targetandroid/utils/Makefile
Modified : /branches/targetandroid/utils/dxegen/Makefile
Modified : /branches/targetandroid/utils/fpcm/Makefile
Modified : /branches/targetandroid/utils/fpcm/fpcmmain.pp
Modified : /branches/targetandroid/utils/fpcmkcfg/Makefile
Modified : /branches/targetandroid/utils/fpcres/Makefile
Modified : /branches/targetandroid/utils/fpcreslipo/Makefile
Modified : /branches/targetandroid/utils/fpdoc/Makefile
Modified : /branches/targetandroid/utils/fpmc/Makefile
Modified : /branches/targetandroid/utils/fppkg/Makefile
Modified : /branches/targetandroid/utils/fprcp/Makefile
Modified : /branches/targetandroid/utils/h2pas/Makefile
Modified : /branches/targetandroid/utils/importtl/Makefile
Modified : /branches/targetandroid/utils/instantfpc/Makefile
Modified : /branches/targetandroid/utils/rmwait/Makefile
Modified : /branches/targetandroid/utils/tply/Makefile

Revision: 21066
Author: tom_at_work
Date: 26 Apr 2012 22:05:06
Message:
fix pthreads use with Android: it does not provide some functions. This patch is partially based on the bug report 0021525. Further, fix use of sem_timedwait in cthreads.pp since Android supports it.
----
Modified : /branches/targetandroid/rtl/linux/pthread.inc
Modified : /branches/targetandroid/rtl/unix/cthreads.pp

Revision: 21065
Author: tom_at_work
Date: 26 Apr 2012 16:15:52
Message:
bugfixes:
- do not compile ipc unit for android, not supported
- fix geterrnolocation external name
- implement dummy getdomainname; does not exist in android
- remove wrong 'if defined(android)' clauses
----
Modified : /branches/targetandroid/rtl/android/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile.fpc
Modified : /branches/targetandroid/rtl/fpmake.pp
Modified : /branches/targetandroid/rtl/unix/cwstring.pp
Modified : /branches/targetandroid/rtl/unix/initc.pp
Modified : /branches/targetandroid/rtl/unix/ipc.pp
Modified : /branches/targetandroid/rtl/unix/unix.pp

Revision: 21063
Author: tom_at_work
Date: 26 Apr 2012 12:53:37
Message:
- missing makefile
----
Added : /branches/targetandroid/rtl/android/Makefile

Revision: 21062
Author: tom_at_work
Date: 26 Apr 2012 12:41:13
Message:
- commit missing new files
----
Added : /branches/targetandroid/compiler/systems/i_android.pas
Added : /branches/targetandroid/compiler/systems/t_android.pas
Added : /branches/targetandroid/rtl/android
Added : /branches/targetandroid/rtl/android/Makefile.fpc
Added : /branches/targetandroid/rtl/android/arm
Added : /branches/targetandroid/rtl/android/arm/cprt0.as
Added : /branches/targetandroid/rtl/android/arm/dllprt0.as
Added : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 21061
Author: tom_at_work
Date: 26 Apr 2012 12:36:42
Message:
- initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development.
- basic rtl support using system calls
- fp(c)make/fppkg/makefile support

todo:
- revisit systems/t_android.pas: mostly duplicate with t_linux.pas, containing
lots of unnecessary code
- revisit rtl changes
- android ndk header translation import
- better app build/packaging support
- android/x86 support

----
Modified : /branches/targetandroid/Makefile
Modified : /branches/targetandroid/compiler/Makefile
Modified : /branches/targetandroid/compiler/aggas.pas
Modified : /branches/targetandroid/compiler/arm/cputarg.pas
Modified : /branches/targetandroid/compiler/compiler.pas
Modified : /branches/targetandroid/compiler/systems.inc
Modified : /branches/targetandroid/compiler/systems.pas
Modified : /branches/targetandroid/compiler/utils/Makefile
Modified : /branches/targetandroid/compiler/utils/ppudump.pp
Modified : /branches/targetandroid/ide/Makefile
Modified : /branches/targetandroid/ide/compiler/Makefile
Modified : /branches/targetandroid/installer/Makefile
Modified : /branches/targetandroid/packages/Makefile
Modified : /branches/targetandroid/packages/fpmkunit/Makefile
Modified : /branches/targetandroid/packages/fpmkunit/Makefile.fpc
Modified : /branches/targetandroid/packages/fpmkunit/src/fpmkunit.pp
Modified : /branches/targetandroid/packages/fppkg/src/fpmkunitsrc.inc
Modified : /branches/targetandroid/packages/gnome1/fpmake.pp
Modified : /branches/targetandroid/packages/gtk1/fpmake.pp
Modified : /branches/targetandroid/packages/gtk2/fpmake.pp
Modified : /branches/targetandroid/packages/imlib/fpmake.pp
Modified : /branches/targetandroid/packages/opengl/fpmake.pp
Modified : /branches/targetandroid/packages/sdl/fpmake.pp
Modified : /branches/targetandroid/rtl/Makefile
Modified : /branches/targetandroid/rtl/Makefile.fpc
Modified : /branches/targetandroid/rtl/aix/Makefile
Modified : /branches/targetandroid/rtl/amiga/Makefile
Modified : /branches/targetandroid/rtl/beos/Makefile
Modified : /branches/targetandroid/rtl/darwin/Makefile
Modified : /branches/targetandroid/rtl/embedded/Makefile
Modified : /branches/targetandroid/rtl/emx/Makefile
Modified : /branches/targetandroid/rtl/freebsd/Makefile
Modified : /branches/targetandroid/rtl/gba/Makefile
Modified : /branches/targetandroid/rtl/go32v2/Makefile
Modified : /branches/targetandroid/rtl/haiku/Makefile
Modified : /branches/targetandroid/rtl/linux/Makefile
Modified : /branches/targetandroid/rtl/macos/Makefile
Modified : /branches/targetandroid/rtl/morphos/Makefile
Modified : /branches/targetandroid/rtl/nativent/Makefile
Modified : /branches/targetandroid/rtl/nds/Makefile
Modified : /branches/targetandroid/rtl/netbsd/Makefile
Modified : /branches/targetandroid/rtl/netware/Makefile
Modified : /branches/targetandroid/rtl/netwlibc/Makefile
Modified : /branches/targetandroid/rtl/openbsd/Makefile
Modified : /branches/targetandroid/rtl/os2/Makefile
Modified : /branches/targetandroid/rtl/palmos/Makefile
Modified : /branches/targetandroid/rtl/solaris/Makefile
Modified : /branches/targetandroid/rtl/symbian/Makefile
Modified : /branches/targetandroid/rtl/unix/cwstring.pp
Modified : /branches/targetandroid/rtl/unix/initc.pp
Modified : /branches/targetandroid/rtl/unix/ipc.pp
Modified : /branches/targetandroid/rtl/unix/unix.pp
Modified : /branches/targetandroid/rtl/wii/Makefile
Modified : /branches/targetandroid/rtl/win32/Makefile
Modified : /branches/targetandroid/rtl/win64/Makefile
Modified : /branches/targetandroid/rtl/wince/Makefile
Modified : /branches/targetandroid/utils/Makefile
Modified : /branches/targetandroid/utils/dxegen/Makefile
Modified : /branches/targetandroid/utils/fpcm/Makefile
Modified : /branches/targetandroid/utils/fpcm/fpcmake.inc
Modified : /branches/targetandroid/utils/fpcm/fpcmake.ini
Modified : /branches/targetandroid/utils/fpcm/fpcmmain.pp
Modified : /branches/targetandroid/utils/fpcmkcfg/Makefile
Modified : /branches/targetandroid/utils/fpcmkcfg/fppkg.inc
Modified : /branches/targetandroid/utils/fpcres/Makefile
Modified : /branches/targetandroid/utils/fpcreslipo/Makefile
Modified : /branches/targetandroid/utils/fpdoc/Makefile
Modified : /branches/targetandroid/utils/fpmc/Makefile
Modified : /branches/targetandroid/utils/fppkg/Makefile
Modified : /branches/targetandroid/utils/fppkg/fppkg.pp
Modified : /branches/targetandroid/utils/fprcp/Makefile
Modified : /branches/targetandroid/utils/h2pas/Makefile
Modified : /branches/targetandroid/utils/importtl/Makefile
Modified : /branches/targetandroid/utils/instantfpc/Makefile
Modified : /branches/targetandroid/utils/rmwait/Makefile
Modified : /branches/targetandroid/utils/tply/Makefile

git-svn-id: trunk@23604 -
2013-02-13 12:00:15 +00:00
michael
528e231c66 * Strict resolving
git-svn-id: trunk@23537 -
2013-01-29 19:01:39 +00:00
yury
8ae7c5784c * Sync with trunk r23500.
git-svn-id: branches/targetandroid@23501 -
2013-01-23 07:53:13 +00:00
michael
a7a6301672 * Refactoring for better readability
git-svn-id: trunk@23476 -
2013-01-21 12:07:52 +00:00
michael
a472de7805 * use global resolveID (better result)
* Better link info in case of error
* Resolve property type to ancestors.

git-svn-id: trunk@23473 -
2013-01-21 10:57:54 +00:00
michael
01d8ec7a62 * Speed up read/write content file
* Configurable ResolveLink (strict or not)

git-svn-id: trunk@23472 -
2013-01-21 10:56:07 +00:00
michael
1c9ad777d3 * Add context info to unresolved links, for better error info
git-svn-id: trunk@23471 -
2013-01-21 10:55:00 +00:00
yury
23b95a4d70 * Regenerated all makefiles.
git-svn-id: branches/targetandroid@23422 -
2013-01-17 11:36:12 +00:00
yury
2fc220cc6c * Regenerated makefiles.
git-svn-id: branches/targetandroid@23410 -
2013-01-16 14:52:36 +00:00
yury
3cd3b50104 * Fixed conflict of native android and java android targets.
git-svn-id: branches/targetandroid@23409 -
2013-01-16 14:46:02 +00:00
yury
d26f0552a0 * Sync with trunk r23404.
* Regenerated makefiles.

git-svn-id: branches/targetandroid@23405 -
2013-01-16 13:21:51 +00:00
michael
0ee95ca5f9 * Undid patch to resolve dotted unit names, it breaks generation of FPC documentation
git-svn-id: trunk@23369 -
2013-01-12 16:08:40 +00:00
michael
3ec989ca8d * remove debug output
git-svn-id: trunk@23368 -
2013-01-12 15:16:48 +00:00
michael
0dd6c1454e * Patch from Anton to support dotted unit names (Bug ID 22919)
git-svn-id: trunk@23225 -
2012-12-26 18:09:11 +00:00
michael
3588c39a55 * Patch by Graeme Geldenhuys to fix various issues (bug ID 23432)
git-svn-id: trunk@23222 -
2012-12-26 14:13:10 +00:00
michael
2ab822c5f0 * Forgot to commit images
git-svn-id: trunk@23196 -
2012-12-20 17:16:17 +00:00
michael
366cd2d9c2 * Fixed unresolved elements in tree
git-svn-id: trunk@23195 -
2012-12-20 16:21:14 +00:00
michael
bc60ea4713 * Added ability to create class chart
git-svn-id: trunk@23194 -
2012-12-20 15:54:24 +00:00
michael
2c26d53f9b * Added ability to create class chart
git-svn-id: trunk@23193 -
2012-12-20 15:00:10 +00:00
michael
d965748048 * Patch from Graeme geldenhuys to introduce class hierarchy in IPF
git-svn-id: trunk@23172 -
2012-12-18 13:03:53 +00:00
michael
813b91a596 * Patch from Reinier Olislaghers - some cosmetic changes (Bug ID 23506)
git-svn-id: trunk@23171 -
2012-12-18 11:06:01 +00:00
marco
7af086c05d * make socket stuff compiling again. Package not 100% yet due to gtk1 dependencies.
git-svn-id: trunk@22953 -
2012-11-08 16:17:55 +00:00
marco
d52ce0f6fb * fix from Ludo to optionally skip generation of "tag" records and associated
symbols. Mantis #23113

git-svn-id: trunk@22634 -
2012-10-13 11:27:20 +00:00
joost
5f3f7d862b * For some reason burried in the past a 'make distclean' in fpc's root
is passed to utils as a 'make cleanall' which is an alias for 'distclean'.
   The Makefile.fpc did not recognize the 'cleanall' alias because in 
   packages 'distclean' is being used. This means that nothing was cleaned
   at all.

git-svn-id: trunk@22621 -
2012-10-12 21:26:16 +00:00
pierre
8d386eaba7 Add elf resource support for mips/mipsel CPU in fpcres
git-svn-id: trunk@22604 -
2012-10-09 14:09:23 +00:00
Jonas Maebe
8258b99c70 * regenerated with jvm support, so top level 'make clean' works for jvm targets
git-svn-id: trunk@22492 -
2012-09-27 21:35:11 +00:00
michael
fcb3d0c256 * Implemented coCreateDeclaration
git-svn-id: trunk@22405 -
2012-09-16 15:06:12 +00:00
michael
4be38f5c53 * Fixed error in --limit and --defaultclasstest
git-svn-id: trunk@22404 -
2012-09-16 14:53:50 +00:00
tom_at_work
9428c78d63 Pass OPT to compilation of fpmake.
Solves issues with systems that e.g. require special options for compilation of programs (e.g. libc programs to find libc startup code) or the actual build has been compiled with options that are incompatible with default ones.

Tested changes by building an i386-linux local build and i386-linux->arm-linux cross-builds

git-svn-id: trunk@22397 -
2012-09-15 23:41:44 +00:00
florian
a365ae3631 + define BUILDFULLNATIVE and BUILDNATIVE for native builds
git-svn-id: trunk@22236 -
2012-08-24 21:15:28 +00:00
michael
88776524fd * Interdependency reduction, verbosity introduced
git-svn-id: trunk@22214 -
2012-08-23 15:27:00 +00:00
michael
efaf017b17 * Improvements so package name can be specified, fpmake is excluded
git-svn-id: trunk@22211 -
2012-08-23 12:56:53 +00:00
Jonas Maebe
5f46866595 * regenerated using a current version of fpcmake
git-svn-id: trunk@22207 -
2012-08-23 09:51:14 +00:00
Jonas Maebe
97021d47c3 * like other applications that custapp, these also depend on univint on
the Darwin/iphonesim platforms
  * regenerated using a current version of fpcmake

git-svn-id: trunk@22205 -
2012-08-23 09:49:29 +00:00
michael
2d653999b4 * Dependency on fcl-base added
git-svn-id: trunk@22199 -
2012-08-23 08:21:34 +00:00
michael
2cc020c20e * Dependency on fcl-base added
git-svn-id: trunk@22198 -
2012-08-23 08:21:07 +00:00
michael
20c0a14e1e * Fixed makefile
git-svn-id: trunk@22197 -
2012-08-23 08:04:36 +00:00
michael
28ef4c9532 * Fixed compilation
git-svn-id: trunk@22174 -
2012-08-22 16:49:47 +00:00
michael
d666240097 * Added pas2fpm
git-svn-id: trunk@22173 -
2012-08-22 16:45:57 +00:00
michael
eb2c0f52f4 * pas2ut, initial version (create unit tests from pascal unit)
git-svn-id: trunk@22165 -
2012-08-21 19:43:26 +00:00
marco
407a2604a3 - Add fpcpackage=y to install section to install in proper dir. Mantis #22549
git-svn-id: trunk@22156 -
2012-08-21 11:43:28 +00:00
michael
74624a0c37 * Write class local consts and types in correct way
git-svn-id: trunk@22151 -
2012-08-20 22:26:57 +00:00
michael
9d528c65e3 * Patch from DoDi to allow easy import
git-svn-id: trunk@22150 -
2012-08-20 22:24:57 +00:00
michael
1c32e34395 * Patch from Graeme Geldenhuys to fix some tab->spaces (bug 22658)
git-svn-id: trunk@22140 -
2012-08-19 22:17:29 +00:00
michael
3bc8bbf378 * Fixed to conform to new structures in pastree
git-svn-id: trunk@22092 -
2012-08-15 16:00:51 +00:00
michael
9635787b5a * Added functionality to create fpdoc.css from internal copy
git-svn-id: trunk@22079 -
2012-08-14 18:47:57 +00:00
michael
4a9d012d3a * Patch from Reinier Olislagers to update copyright and emit a more friendly message if an input file is not found (bug ID 22639)
git-svn-id: trunk@22078 -
2012-08-14 18:27:46 +00:00
tom_at_work
810adb2f65 Merge with trunk r22040. Regenerated makefiles.
git-svn-id: branches/targetandroid@22046 -
2012-08-09 08:12:34 +00:00
joost
160c2fec65 * Use fpmkunit in the fppkg package, to avoid double code.
This also adds (among others) iphonesim support to fppkg

git-svn-id: trunk@21959 -
2012-07-23 20:56:09 +00:00
joost
7b13c9230d * Renamed TLogLevel vl** enumerations to ll**, to avoid
conflicts with fpmkunits TVerboseLevel

git-svn-id: trunk@21957 -
2012-07-23 20:13:19 +00:00
michael
a8e634d506 * Added option to remove brackets from menu header From AndrewH (Bug ID 21676)
git-svn-id: trunk@21882 -
2012-07-11 17:13:40 +00:00
michael
093748402e * Only one result section for overloaded functions
git-svn-id: trunk@21868 -
2012-07-11 11:15:09 +00:00
tom_at_work
4150f0a2fb Rebase with r21814
git-svn-id: branches/targetandroid@21815 -
2012-07-07 23:09:20 +00:00
marco
347ab7651a * changed delp from unit dos to unit sysutils. (path lengths)
git-svn-id: trunk@21472 -
2012-06-03 12:36:56 +00:00
marco
6033d3df0d * adding a copyright banner and a short description.
git-svn-id: trunk@21471 -
2012-06-03 11:25:37 +00:00
marco
bc56239af7 * removed checkcvs. We stopped using CVS 7 years ago, and don't check $Log:'s
that often anymore. There is nothing worth keeping from this source (which is by me btw)

git-svn-id: trunk@21470 -
2012-06-03 11:16:17 +00:00
Jonas Maebe
3a2afe27aa + new -varparas option that adds overloads for imported methods whereby
Java array parameters are translated into single element var-parameters

git-svn-id: trunk@21407 -
2012-05-28 10:21:25 +00:00
Jonas Maebe
9b21c6c84d * abort if the specified destination file is a directory (mantis #22089)
git-svn-id: trunk@21355 -
2012-05-21 11:37:41 +00:00
marco
a7ee1899bc * Patch from Mark Morgan Lloyd to add subcommands to ltelnet. Mantis #22032
git-svn-id: trunk@21340 -
2012-05-19 22:12:45 +00:00
tom_at_work
77a85b7448 * basic android/x86 support
git-svn-id: branches/targetandroid@21296 -
2012-05-14 21:14:12 +00:00
florian
5966fcce74 * PIC does not require using the external assembler anymore
- removed 2.0.x-ism

git-svn-id: trunk@21116 -
2012-04-29 14:19:32 +00:00
Jonas Maebe
6d628a794b * fixed merge error in r21069: netbsd/x86-64 is supported, not haiku/x86-64
(fortunately, the makefiles were generated using a correct fpcmake)

git-svn-id: trunk@21074 -
2012-04-27 09:16:20 +00:00
Jonas Maebe
834026bfb5 * synchronised with trunk up to r21067
git-svn-id: branches/jvmbackend@21068 -
2012-04-26 21:24:20 +00:00
tom_at_work
acbc94e0fd - initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development.
- basic rtl support using system calls
- fp(c)make/fppkg/makefile support

todo:
- revisit systems/t_android.pas: mostly duplicate with t_linux.pas, containing
lots of unnecessary code
- revisit rtl changes
- android ndk header translation import
- better app build/packaging support
- android/x86 support

git-svn-id: branches/targetandroid@21061 -
2012-04-26 09:36:42 +00:00
Jonas Maebe
81d1cfb3ca + -prefix_constants <x>, -prefix_fields <x> and -prefix_innerclasses <x>
options to customise the prefixes that the translator adds to to resp.
  constant, field and inner class names. For an empty prefix, use "".
  Defaults: nothing for constants, "f" for fields and "Inner" for inner
  classes.

git-svn-id: branches/jvmbackend@21041 -
2012-04-25 18:14:35 +00:00
Jonas Maebe
9a10c5aea8 * don't mark final class methods as virtual
git-svn-id: branches/jvmbackend@21040 -
2012-04-25 18:14:29 +00:00
marco
69fbbcedf3 * fix passing of only one parameter on non unix platforms. Mantis #21630
git-svn-id: trunk@21038 -
2012-04-25 17:21:16 +00:00
pierre
1b3fd997fc + Regenerate all Makefiles's after adding x86_64 netbsd target
git-svn-id: trunk@21031 -
2012-04-24 23:15:18 +00:00
pierre
1b6c45455e + Add x86_64 netbsd target
git-svn-id: trunk@21030 -
2012-04-24 23:12:30 +00:00
Jonas Maebe
aee5380ae0 * merged trunk up to r20882
o support for the new codepage-aware ansistrings in the jvm branch
   o empty ansistrings are now always represented by a nil pointer rather than
     by an empty string, because an empty string also has a code page which
     can confuse code (although this will make ansistrings harder to use
     in Java code)
   o more string helpers code shared between the general and jvm rtl
   o support for indexbyte/word in the jvm rtl (warning: first parameter
     is an open array rather than an untyped parameter there, so
     indexchar(pcharvar^,10,0) will be equivalent to
     indexchar[pcharvar^],10,0) there, which is different from what is
     intended; changing it to an untyped parameter wouldn't help though)
   o default() support is not yet complete
   o calling fpcres is currently broken due to limitations in
     sysutils.executeprocess() regarding handling unix quoting and
     the compiler using the same command lines for scripts and directly
     calling external programs
   o compiling the Java compiler currently requires adding ALLOW_WARNINGS=1
     to the make command line

git-svn-id: branches/jvmbackend@20887 -
2012-04-15 15:54:10 +00:00
Jonas Maebe
135565e951 * enabled for AIX
git-svn-id: trunk@20851 -
2012-04-11 18:07:23 +00:00
Jonas Maebe
adbad5ab96 + fcl-res support for xcoff/aix
+ compiler support for Delphi-style resources on aix

git-svn-id: trunk@20841 -
2012-04-11 18:06:33 +00:00
Jonas Maebe
44bd889b9b * regenerated Makefiles with AIX support
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
Jonas Maebe
b0e4263fee + aix support in fpcmake and fpmake
git-svn-id: trunk@20787 -
2012-04-11 17:59:59 +00:00
joost
66b0f3d9fb * Added fpmake.pp files for utilities
git-svn-id: trunk@20752 -
2012-04-07 20:06:14 +00:00
joost
f0a75c1254 * Added fpmake.pp files for some utils
git-svn-id: trunk@20736 -
2012-04-06 22:47:03 +00:00
pierre
2c4d8cc9d9 Add x86_64-openbsd target in Makefiles
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
pierre
763edfcbef + Add x86_64 cpu support for openbsd target
git-svn-id: trunk@20719 -
2012-04-05 21:12:30 +00:00
joost
b1cda73a9a * Replaced fpcmake building by fpmake building
git-svn-id: trunk@20612 -
2012-03-24 10:15:21 +00:00