Commit Graph

1267 Commits

Author SHA1 Message Date
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
joost
ff6c64ae70 * Do not build unused units
git-svn-id: trunk@20609 -
2012-03-23 22:18:27 +00:00
joost
79c3ea3f87 * Added fpmake.pp file for fppkg-util
git-svn-id: trunk@20584 -
2012-03-22 21:10:28 +00:00
joost
ae5c440864 * Added ability to generate target-dependencies
git-svn-id: trunk@20579 -
2012-03-22 16:40:58 +00:00
joost
1bf8ef2428 * Also allow a single package dependency
git-svn-id: trunk@20573 -
2012-03-22 14:03:06 +00:00
joost
df59758326 * Added new tool to generate fpmake.pp files from JSON-based configuration files
git-svn-id: trunk@20571 -
2012-03-22 13:42:30 +00:00
Jonas Maebe
524a5683d5 * add /Applications/Xcode.app/Contents/Developer/usr/bin to the default
utilities search path on Darwin (which is where the Xcode 4.3+ utilties
    are located by default)

git-svn-id: trunk@20486 -
2012-03-09 21:12:49 +00:00
pierre
55116303b9 Add indirectly required ppacakges
git-svn-id: trunk@20451 -
2012-03-01 10:28:35 +00:00
pierre
68f8a21151 Update Makefile for mips-linux support
git-svn-id: trunk@20446 -
2012-02-29 11:19:54 +00:00
marco
e6cdc2b744 * Slightly modified patch from Graeme, Mantis #21357 which adds an assigned.
git-svn-id: trunk@20409 -
2012-02-23 12:15:03 +00:00
michael
93d173e38e * Added support for conditional notes
git-svn-id: trunk@20335 -
2012-02-13 13:45:37 +00:00
michael
57647f4521 * Added functionality to add (and show) notes
git-svn-id: trunk@20304 -
2012-02-11 09:58:13 +00:00
florian
722980519a + enable mips-linux in fpcmake (mips-linux is big endian, mipsel-linux is the little endian port)
git-svn-id: trunk@20243 -
2012-02-04 09:43:58 +00:00
michael
ff25d4dc80 * Always store unit filename in FProcessedUnits
git-svn-id: trunk@20216 -
2012-02-02 12:22:24 +00:00
michael
2b60a95896 * Recursive parsing
git-svn-id: trunk@20213 -
2012-02-01 20:06:50 +00:00
marco
6182f2d25d * Patch by Ludo:
- Added the optional creation of a lazarus design/runtime package for the activex container.
- Added full files in case diff doesn't work.

Fixes to typelib importer:
- avoid duplicate enum members (translated to const) (Office10\MSWORD.OLB)
- don't make TEventSink or TActiveXContainer descendants if interface does not descend from IDispatch (VBA6\VBE6EXT.OLB)
- add type declaration for coclass interface pointing to default interface
- fixed property setter for array properties
- added typecasting for byref interface event parameters
- typecasting workaround for pvarVal^ and pbstrVal^ "Can't take the address of constant expressions" error caused by var type mismatch OLEVariant <> Variant and POleStr<>WideString
- reverted to the use of OLEVariant. POLEVariant isn't automatable in trunk but PVariant isn't automatable in 2.6.0 neither.
- added byref VT_INT, VT_UINT, VT_DECIMAL event parameter support (Office10\MSWORD.OLB)
- replace the use of TOleEnum with LongWord. Definition in ActiveX (type TOleEnum = type LongWord;) prohibits casting of OleVariant to TOleEnum.(Office10\MSOUTL.OLB)
- disambiguate method name for INVOKE_PROPERTYPUT and INVOKE_PROPERTYPUTREF on same property (ado\msado25.tlb)
- postpone interface declaration until full declaration of ancestor class.

git-svn-id: trunk@20157 -
2012-01-23 14:16:03 +00:00
florian
d01824ab22 * prevent crash of h2pas if an unknown specifier is encountered, resolves #18664
git-svn-id: trunk@20136 -
2012-01-21 15:17:11 +00:00
joost
822cd6dec4 * Added dependency on univint on iphonesim target
git-svn-id: trunk@20129 -
2012-01-20 18:16:17 +00:00
michael
7f59902842 * Patch from Hand-Peter Diettrich to fix CHM extension usage
git-svn-id: trunk@20100 -
2012-01-17 08:35:18 +00:00
michael
776fe528d6 * Actually use FileNameExtension
git-svn-id: trunk@20092 -
2012-01-16 09:12:55 +00:00
michael
9788e2cad8 * Patch from Hans-Peter Diettrich to extend and append filenameextension (bug 21101)
git-svn-id: trunk@20091 -
2012-01-16 09:03:05 +00:00
joost
a26f1d9dd3 * When the OS,CPU or compiler are specifically given on the command line, the
fpmake-compileroptions and default compileroptions can differ. Even when
   they are based on the same configuration file.

git-svn-id: trunk@20065 -
2012-01-13 15:39:27 +00:00
marco
ce564917cd * Patch from Darius to fix directories of images #21008
git-svn-id: trunk@20054 -
2012-01-11 19:19:25 +00:00
joost
2c1d616765 * Do not try to compile importtl on wince, since the dependency winunits-base is not available on wince
git-svn-id: trunk@20048 -
2012-01-11 13:23:21 +00:00
michael
2846c35768 * Fixed compilation with latest version of fcl-passrc
git-svn-id: trunk@20009 -
2012-01-08 14:52:18 +00:00
marco
eb4825cc31 * emergency fix for breakage (TPasResString.value was still used. Changed to getdeclaration for now)
git-svn-id: trunk@20005 -
2012-01-08 00:46:57 +00:00
joost
bd2a3357fd * Set fpcpackage=y, to fix 'make install' without a given prefix. In that case there wasn't any base install dir set by the Makefile.
git-svn-id: trunk@19988 -
2012-01-06 20:39:09 +00:00
florian
088ddf7421 * search libs in %basepath%/lib/$FPCTARGET by default, so FPC can install libs if needed
git-svn-id: trunk@19983 -
2012-01-06 16:43:17 +00:00
joost
994769cbe7 * Do not use the BINUTILSPREFIX when compiling fpmake files during a cross-
compile. It seems that CROSSBOOTSTRAP is never set(?)

git-svn-id: trunk@19951 -
2012-01-02 15:16:52 +00:00
michael
8af2ce27ef * Patch by Ludo Brands to add support for ActiveX containers (bug 20991)
git-svn-id: trunk@19936 -
2011-12-31 15:41:59 +00:00
marco
2087ab1508 * Remove upx support from makefiles.
git-svn-id: trunk@19917 -
2011-12-29 21:50:00 +00:00
marco
fa7df86f26 * improved unknown link errormsg to list current module name.
* Added some new units to clean rules. rst and main program objectcode
   are still not cleaned properly though

git-svn-id: trunk@19901 -
2011-12-28 19:08:40 +00:00
florian
a710a7cf7f * translate short int into cshort, patch by barlone, resolves #20956
git-svn-id: trunk@19899 -
2011-12-28 17:49:08 +00:00
michael
e94d49f298 * Added dependency on winunits-base
git-svn-id: trunk@19895 -
2011-12-27 16:19:32 +00:00
michael
85a9b8208f * Importtl added
git-svn-id: trunk@19889 -
2011-12-26 16:38:37 +00:00
michael
48b314928b * importtl (type library import program) from Ludo Brands (bug 20958)
git-svn-id: trunk@19888 -
2011-12-26 16:37:38 +00:00
michael
5bccdb9c62 * Extended usage with additional options for project file
git-svn-id: trunk@19884 -
2011-12-23 15:05:18 +00:00
mazen
489e20356c * Removed executable flag from source files.
git-svn-id: trunk@19877 -
2011-12-19 17:40:02 +00:00
michael
3106e57631 * Corrected program name clause
git-svn-id: trunk@19850 -
2011-12-14 22:34:05 +00:00
Jonas Maebe
0d5b2b84a8 + Android/JVM target, including a translation of the Android r14 SDK
(= Android 4.0) java headers: java.*, javax.*, org.*, junit.*, android.*).
    The RTL can also be used to target earlier versions of the Android
    platform, but you manually have to take care of not using APIs that
    weren't available yet. Adding separate units for separate platform
    versions would only partly solve the problem, because some of the
    classes used inside the system unit have also changed across
    versions.

    Use -Tandroid while compiling to select the Android OS as target
    platform.

git-svn-id: branches/jvmbackend@19830 -
2011-12-12 02:34:34 +00:00
michael
5824a0272b * Print usage message
git-svn-id: trunk@19776 -
2011-12-07 21:08:20 +00:00
michael
8d8a1a23e9 * Save/load package imports to/from package description file
git-svn-id: trunk@19761 -
2011-12-05 19:30:22 +00:00
michael
293f20b26c * Implemented --descr-dir and --input-dir
git-svn-id: trunk@19755 -
2011-12-04 19:36:36 +00:00
michael
2d928cbee8 Logging options implemented, and dry run. Separated out creation and logging logic
git-svn-id: trunk@19753 -
2011-12-04 18:16:51 +00:00
florian
9426cac1b0 * rebuilt Makefiles
git-svn-id: trunk@19748 -
2011-12-04 15:34:01 +00:00
Jonas Maebe
271c028813 * set OEXT (.class) and ASMEXT (.j) for JVM target
git-svn-id: branches/jvmbackend@19746 -
2011-12-04 15:33:49 +00:00
florian
3abd84d8d2 * disable upx for win32, resolves #20772
git-svn-id: trunk@19745 -
2011-12-04 15:29:14 +00:00
Jonas Maebe
9b7ea86332 - more FPC 1.0.x code removed
git-svn-id: trunk@19744 -
2011-12-04 15:12:15 +00:00
michael
b09139a7c4 * Some fixes after first test round
git-svn-id: trunk@19735 -
2011-12-03 16:46:15 +00:00
michael
a051684e61 * Added lots of commands to fpdoc file manager, moved to separate class and unit for reuse
git-svn-id: trunk@19730 -
2011-12-03 00:26:20 +00:00
michael
c17d15cf72 * Start of project file manipulation program
git-svn-id: trunk@19725 -
2011-12-02 18:44:58 +00:00
michael
e07646a653 * Implemented project file writing functionality, based on patch from Hans-Peter Diettrich
git-svn-id: trunk@19724 -
2011-12-02 16:24:29 +00:00
michael
4f8bc2aaf4 * Missing conversion to TFPList
git-svn-id: trunk@19670 -
2011-11-22 19:21:20 +00:00
michael
bb54f1375c * TList -> TFPList to match latest changes in fcl-passrc
git-svn-id: trunk@19669 -
2011-11-22 18:15:28 +00:00
marco
2e3d1a17d0 * also remove *.dbg files. Patch from Jonas, Mantis #20466
git-svn-id: trunk@19658 -
2011-11-19 13:56:43 +00:00
michael
5d71bf3b60 * Output table with enumerated explanations for set
git-svn-id: trunk@19626 -
2011-11-11 17:18:21 +00:00
michael
e808b917cb * Removed debug statement
git-svn-id: trunk@19625 -
2011-11-11 17:17:58 +00:00
michael
91a2b7ae18 * Support for generics
git-svn-id: trunk@19622 -
2011-11-11 15:08:42 +00:00