Commit Graph

256 Commits

Author SHA1 Message Date
joost
514c0e06a5 * Fixed mem-leak of packagevariant
git-svn-id: trunk@40705 -
2018-12-29 20:27:46 +00:00
joost
4eadd2ce16 * TFPPackage.PackageVariants added
git-svn-id: trunk@40687 -
2018-12-28 23:37:18 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
4a46bc8e69 Fix problem reported in bug report 34343
git-svn-id: trunk@39820 -
2018-09-27 06:37:37 +00:00
florian
a34d4e715c Merged riscv_new branch
git-svn-id: trunk@39813 -
2018-09-26 19:49:08 +00:00
pierre
41d2a0a496 Disable libraries not compiling for jvm-java or jvm-android targets
git-svn-id: trunk@39808 -
2018-09-26 09:29:33 +00:00
marco
98f00acb06 * trunk to 3.3.1
git-svn-id: trunk@39635 -
2018-08-18 15:47:44 +00:00
marco
d143ab60e1 * regenned makefile without date/rev components for easier merging.
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
pierre
26e4b4cfb4 Remove false warning about dependency on fcl-process for OSes that are handled differently in fpmkunit and fppkg
git-svn-id: trunk@39602 -
2018-08-09 15:31:08 +00:00
pierre
0064860f75 Changes for symbian target OS
git-svn-id: trunk@39577 -
2018-08-06 15:14:25 +00:00
Jeppe Johansen
2aaf481d89 Regenerated makefiles.
git-svn-id: branches/laksen/riscv_new@39476 -
2018-07-20 10:40:57 +00:00
Jeppe Johansen
6352328f3a Update packages with information about RiscV.
Fix g_external_wrapper, since it uses a register.
Fixed calling of gas.
Ported cprt0.

git-svn-id: branches/laksen/riscv_new@39475 -
2018-07-20 10:40:28 +00:00
pierre
a93fe1b363 Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38751 -
2018-04-12 15:26:33 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
Károly Balogh
4c25bd935f packages: disabled packages for macos and palmos which currently cannot be built for these
git-svn-id: trunk@36889 -
2017-08-12 21:08:34 +00:00
joost
19b60c0cf3 * Fixed the ability to build packages in .source.zip files
from the command-line. +test

git-svn-id: trunk@36715 -
2017-07-09 20:30:28 +00:00
joost
33e83d5422 * Do not try to build a package when it is not found
git-svn-id: trunk@36712 -
2017-07-09 20:27:35 +00:00
joost
cfbb7efc85 * llProgres -> llProgress
git-svn-id: trunk@36691 -
2017-07-08 20:41:08 +00:00
joost
4962872d70 * Use the internal FPC-based http downloader by default, instead of lNet
git-svn-id: trunk@36583 -
2017-06-22 22:36:44 +00:00
joost
b3efcb0088 * http->https
git-svn-id: trunk@36582 -
2017-06-22 22:29:34 +00:00
joost
4c479ee039 * Fixed typo
git-svn-id: trunk@36554 -
2017-06-19 21:44:03 +00:00
joost
6bb48bf34f * Propagate the result of download-actions to avoid stale empty files
git-svn-id: trunk@36530 -
2017-06-18 21:54:42 +00:00
joost
187724d844 * Handle https-protocol on downloads from repositories
git-svn-id: trunk@36529 -
2017-06-18 21:23:40 +00:00
joost
72f2f400fe * Allow re-directs on downloading files from repositories
git-svn-id: trunk@36511 -
2017-06-18 10:03:03 +00:00
joost
d2f769c93e * Propagate the reason why a package is broken
git-svn-id: trunk@36495 -
2017-06-12 22:18:18 +00:00
joost
c7539f4252 * TPackageHandler.Execute is now a function which returns false in case
of an error. This way it is possible to stop executing follow-up
   commands in case of an error.

git-svn-id: trunk@36474 -
2017-06-10 11:24:26 +00:00
joost
c62d3a83c8 * Improved ability to generate fppkg-configuration files
git-svn-id: trunk@36442 -
2017-06-06 20:35:24 +00:00
joost
9dd1d1a1ea * Take all repositories into account when searching for broken packages.
The idea that each repository should be compilable by itself is not
   sustainable. Users should be able to install packages at will in 
   repositories with a higher priority. (+tests)

git-svn-id: trunk@36439 -
2017-06-06 18:41:55 +00:00
pierre
7a172d3d5a Regenerated all Makefile from packages directories
git-svn-id: trunk@36395 -
2017-06-01 14:15:50 +00:00
joost
da80580037 * Log all directories which are scanned for installed packages
git-svn-id: trunk@36379 -
2017-05-31 20:30:05 +00:00
joost
59e0ca7278 * Added some functionality to create configuration-files
git-svn-id: trunk@36375 -
2017-05-30 21:55:49 +00:00
joost
f5d17b2884 * Unified determination of source-package
* Scan installed packages for their sources in the same order as they are
   used
 * Added test for both points

git-svn-id: trunk@36338 -
2017-05-25 21:58:56 +00:00
joost
569bd1e812 * Only pass prefix and baseinstalldir to fpmake during (de-)installation
* First evaluate the baseinstalldir, so that the user gets a warning when 
   an install-repository is chosen which is not available for installations

git-svn-id: trunk@36337 -
2017-05-25 21:24:51 +00:00
joost
d5087df6fb * Undo all changes in the test-environment before each test
git-svn-id: trunk@36301 -
2017-05-22 21:56:35 +00:00
joost
408cae639f * Moved all logic to determine in which repository to install a package into
one method.
 * Re-designed the logic to determine where to install packages. Documented 
   the logic in repositorylogics.dia.
 * Partly implemented this new logic.
 * Added tests.

git-svn-id: trunk@36300 -
2017-05-22 21:20:22 +00:00
joost
2f72f67f11 * TFPPackage.GetDebugName now also works when the package is not assigned
git-svn-id: trunk@36286 -
2017-05-21 16:10:53 +00:00
joost
49d75902f6 * Cleanup build-files in case of an error + test
git-svn-id: trunk@36198 -
2017-05-12 20:50:05 +00:00
joost
1fba4f936b * Avoid double parameters (paths) on compilation of fpmake-executables
git-svn-id: trunk@36176 -
2017-05-10 21:23:00 +00:00
joost
16b44b0719 * Allow longer package-names as fpmake-dependencies. Addins could have longer names
git-svn-id: trunk@36088 -
2017-05-04 20:21:27 +00:00
joost
50fea20003 * Add FPMake-plugin dependencies to unit path + test
git-svn-id: trunk@36072 -
2017-05-03 20:34:55 +00:00
joost
34f547d0d4 * When there are multiple global-option sections, merge them (+test)
git-svn-id: trunk@35930 -
2017-04-23 22:46:49 +00:00
joost
445258fa32 * When the source of a package is used as dependency, check that the sources are compiled (+test)
git-svn-id: trunk@35924 -
2017-04-23 19:28:48 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
joost
5051a0ccc5 * Fixed AV
git-svn-id: trunk@35820 -
2017-04-17 11:16:06 +00:00
joost
74f952324f * Added test for command-line package-variants (introduced in r35814)
git-svn-id: trunk@35819 -
2017-04-17 10:15:07 +00:00
joost
0f8751c9e6 * Fixed task-description
git-svn-id: trunk@35813 -
2017-04-16 22:21:14 +00:00
joost
790c9995fe * Added PackageVariant-test
git-svn-id: trunk@35807 -
2017-04-16 18:53:50 +00:00
joost
75e8cbd187 * Added ability to pass options to other packages + test
git-svn-id: trunk@35797 -
2017-04-14 23:00:52 +00:00
joost
a799d6465b * Added test for source-dependencies
* Removed miced-case package-name. Better keep the basic tests simple

git-svn-id: trunk@35796 -
2017-04-14 20:24:45 +00:00
joost
3d16dfbc0b * Set the global- and local-prefix from older config versions correctly
git-svn-id: trunk@35788 -
2017-04-13 18:53:24 +00:00
joost
13b73244b3 * Added tests for r35776 and r35777
git-svn-id: trunk@35778 -
2017-04-11 16:59:58 +00:00
joost
61739262c7 * Give a clear error when the source of a package is not available
git-svn-id: trunk@35776 -
2017-04-11 16:42:37 +00:00
joost
31bff45d19 * Test for r35770
git-svn-id: trunk@35771 -
2017-04-11 09:39:35 +00:00
joost
977a82b866 * Do not stop on invalid package-files, but show a warning + test
git-svn-id: trunk@35770 -
2017-04-10 22:06:24 +00:00
joost
a9d4b17638 * Solved possible AV
git-svn-id: trunk@35769 -
2017-04-10 21:13:44 +00:00
joost
e5be5bd460 * When no TestPath is given, use the default. The ExpandFileName avoided this
git-svn-id: trunk@35768 -
2017-04-10 21:00:51 +00:00
joost
d1d1c5a7bd Added notification to trace where packages are found
git-svn-id: trunk@35767 -
2017-04-10 20:58:36 +00:00
joost
7412276722 * Removed dead code
git-svn-id: trunk@35766 -
2017-04-10 20:54:02 +00:00
joost
1119207fe3 * Added test-framework for fppkg
git-svn-id: trunk@35765 -
2017-04-10 15:47:30 +00:00
joost
1888f8747f * Resolved some compiler-warnings
git-svn-id: trunk@35755 -
2017-04-07 22:43:41 +00:00
joost
cb402adf32 * Fixed mem-leaks
git-svn-id: trunk@35754 -
2017-04-07 22:41:02 +00:00
joost
39b780c3e3 * Fixed mem-leak
git-svn-id: trunk@35753 -
2017-04-07 22:23:29 +00:00
joost
3b58c328c7 * Reading the fppkg-settings should not depend on the global
OnGetApplicationName event

git-svn-id: trunk@35701 -
2017-04-01 10:01:29 +00:00
joost
b52d6874d2 * Added more logging on why packages are installed
git-svn-id: trunk@35700 -
2017-03-31 19:49:36 +00:00
joost
20c9a16fa9 * Do not install packages into a repository that does not allow new
packages, also not when they are installed from their original source.

git-svn-id: trunk@35699 -
2017-03-31 19:36:57 +00:00
joost
a3f43a3661 * Try to fix plugins as fast as possible, so that as many packages
are compiled with the plugins

git-svn-id: trunk@35698 -
2017-03-31 18:54:54 +00:00
joost
59cd3891e1 * Replaced calls to procedures that depend on global variables, which
are not always set

git-svn-id: trunk@35659 -
2017-03-25 20:27:00 +00:00
joost
9d6ff959f4 * Clear packages to avoid duplicates on a re-scan
git-svn-id: trunk@35650 -
2017-03-23 22:12:04 +00:00
joost
910c05f942 * Packages can only be broken when they are installed
git-svn-id: trunk@35541 -
2017-03-07 22:29:53 +00:00
joost
2a01a603d8 * Adapted tests for broken dependencies (packages)
* Reload AddIn-state after an AddIn has been compiled
 * Fixed re-compilation of already installed packages, based on the original
   sources
 * Improved the algorithm to determine which package to use when a package
   is being build based on package-name

git-svn-id: trunk@35533 -
2017-03-06 22:19:43 +00:00
joost
17947a074f * Fixed creation of manifest-files while scanning for available packages
* Register hte configuration-class for installed package repositories

git-svn-id: trunk@35527 -
2017-03-05 20:30:04 +00:00
joost
e37ddbf2f5 * Do not include broken plugins while compiling fpmake.pps
git-svn-id: trunk@35525 -
2017-03-05 19:50:14 +00:00
joost
3b723aa97f * Merged two versions of check if a package is broken
* If no repository is given, take all repositories into account while
   checking if a package is broken

git-svn-id: trunk@35483 -
2017-02-25 22:28:10 +00:00
joost
10dfda977c * Moved global procedure to metod of TpkgFPpkg
git-svn-id: trunk@35482 -
2017-02-25 20:46:42 +00:00
joost
09f415dc81 * Refactored so that TFPCustomPackagesStructure has access to the (compiler-)options
git-svn-id: trunk@35427 -
2017-02-12 14:18:20 +00:00
joost
f0ebae94a7 * Changed CheckFPMakeDependencies from global function to method
git-svn-id: trunk@35395 -
2017-02-04 18:18:02 +00:00
joost
addb92e62b * Replaced global variable for field
git-svn-id: trunk@35378 -
2017-02-02 21:47:17 +00:00
joost
1e33458aae * Fix problems with functions without function result
git-svn-id: trunk@35326 -
2017-01-22 19:59:46 +00:00
joost
ec98e63741 * Removed the usage of the global GFppkg at multiple locations
* Fixed AV when there is no download-class available
 * Moved more global-functions into TPkgFppkg

git-svn-id: trunk@35323 -
2017-01-21 10:48:43 +00:00
Károly Balogh
a8325b763f fppkg: shortened the name of pkguninstalledsourcesrepository.pp
git-svn-id: trunk@35277 -
2017-01-12 13:35:08 +00:00
joost
b9f8c73198 * Replaced the global GFFppkg instance at some locations
git-svn-id: trunk@35211 -
2016-12-28 22:35:56 +00:00
joost
1660634e7a * Added ability to create fpmake-plugins.
git-svn-id: trunk@35195 -
2016-12-26 14:55:50 +00:00
Károly Balogh
cabcc52db1 less occurred, a.k.a. revert of r35128 in fpmkunitsrc.inc. don't break the build by fixing typos with search & replace in generated files
git-svn-id: trunk@35132 -
2016-12-15 02:04:10 +00:00
marco
7effa642b8 * more occured
git-svn-id: trunk@35129 -
2016-12-14 20:01:35 +00:00
joost
89b471a8d6 * Added ability to add a repository with available packages which does not
need to be installed. (Instead another repository with installed 
   packages is added to the same location.
 * Added the ability to couple a repository with available packages
   to a repository in which the packages should be installed

git-svn-id: trunk@34865 -
2016-11-10 20:59:34 +00:00
joost
9097484f37 * Fixed type in construction of GlobalUnitDir parameter
git-svn-id: trunk@34747 -
2016-10-20 20:48:21 +00:00
joost
f9e7600fe3 * Re-structured handling of broken packages. Packages are now evaluated per
repository. If a package is broken depends on which repositories are
   taken into account.

git-svn-id: trunk@34742 -
2016-10-18 20:20:33 +00:00
joost
41c9543ddf * Added ability to use include-files in configuration-files
git-svn-id: trunk@34717 -
2016-10-15 12:08:26 +00:00
joost
723fc982b3 * Also pass global- and local-unitdir to fpmake, so that it still works with older versions
git-svn-id: trunk@34707 -
2016-10-11 20:20:06 +00:00
joost
295c274940 * Determine the path of the <currentdirectory> package within the
PackageStructure. Set it to the current-directory at application start.
   This because the creation of manifest files could change the current
   directory while scanning for packages.

git-svn-id: trunk@34670 -
2016-10-08 16:56:20 +00:00
joost
fde6b0b53b * Do not scan for available packages while checking for fpmkunit dependencies
because those scans could depend on compilation of the fpmkunit itself.
   For the same reason the the fpmkunit-dependencies are checked now before 
   the 'normal' scan for available/installed packages.

git-svn-id: trunk@34648 -
2016-10-07 21:27:25 +00:00
joost
47f1359143 * Use the FPMakeOptions while scanning for fpmkunit dependencies
git-svn-id: trunk@34647 -
2016-10-07 21:04:25 +00:00
joost
1ec64844c9 * Give a warning when the internal-fpmkunit is being used
git-svn-id: trunk@34644 -
2016-10-07 18:08:07 +00:00
joost
484989df47 * Mark packages with dependencies which are missing completely as broken
git-svn-id: trunk@34642 -
2016-10-07 16:52:22 +00:00
joost
350ca0063e * Only pass repositories with _installed_ packages to fpmake
git-svn-id: trunk@34640 -
2016-10-07 14:46:23 +00:00
joost
6d7cfaf782 * Solved exception after a package has been installed
git-svn-id: trunk@34639 -
2016-10-07 14:45:26 +00:00
joost
8571e9f82a * Fixed building packages in directories wich do not match the package-name
git-svn-id: trunk@34636 -
2016-10-06 18:15:30 +00:00
joost
174163ad81 * Added ability to add the location of directories containing packages, to
make all packages in those directories available to fppkg.

git-svn-id: trunk@34625 -
2016-10-04 19:46:35 +00:00