Commit Graph

170 Commits

Author SHA1 Message Date
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
nickysn
0e1b582131 TZipper: set the compression level bit flag in the file header of deflate compressed files
git-svn-id: trunk@22372 -
2012-09-11 21:22:34 +00:00
florian
0214dd68f9 * fix building of zipper.pp as suggested by Jeppe Johansen
git-svn-id: trunk@22298 -
2012-09-03 12:34:16 +00:00
nickysn
cb4dadb079 + TZipper: added support for zip file comments
git-svn-id: trunk@22285 -
2012-09-02 17:46:16 +00:00
nickysn
cf29cdf1f3 + TUnZipper: added support for zip file comments
git-svn-id: trunk@22284 -
2012-09-02 16:53:59 +00:00
nickysn
cd4ea7f340 + set the minimum required zip version for each file according to the compression algorithm used
git-svn-id: trunk@22282 -
2012-09-02 15:36:03 +00:00
michael
e1ad1a02d2 * 2 test cases from Reinier Olislagers
git-svn-id: trunk@22138 -
2012-08-19 22:08:32 +00:00
michael
8114b9069f * Patch from Reinier Olieslagers to reinstate endoffile event
git-svn-id: trunk@22137 -
2012-08-19 22:04:54 +00:00
tom_at_work
7c56a9f34d Revert r22080 because it prevents crosscompilation.
git-svn-id: trunk@22101 -
2012-08-16 21:24:47 +00:00
tom_at_work
7b6bcd315f Pass FPCOPT to fpmkunit and fpmake compilation. This prevents build errors of these programs if the given FPCOPT options of the previously compiled RTL are incompatible to default options. Regenerated associated makefiles.
git-svn-id: trunk@22080 -
2012-08-14 19:09:17 +00:00
svenbarth
90db273224 + added target NativeNT to supported OSes in fpmkunit
* modified fpmake files in packages to allow a "make all" for NativeNT in packages to work (nearly all packages need to be disabled; the main cause for this are the still missing DOS and Objects units for the target)

git-svn-id: trunk@21319 -
2012-05-18 07:17:02 +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
Jonas Maebe
44bd889b9b * regenerated Makefiles with AIX support
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
pierre
2c4d8cc9d9 Add x86_64-openbsd target in Makefiles
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
marco
25e0f7c882 * committed fix from Mantis #21542
git-svn-id: trunk@20634 -
2012-03-26 08:14:35 +00:00
joost
925024a915 * Always use the bootstrap-units to compile these fpmake.pp files. Also when the regular .ppu's are available. To avoid checksum-problems when running make on a non-clean checkout. (make install)
git-svn-id: trunk@20133 -
2012-01-21 06:40:47 +00:00
joost
4bb05b21ed * Converted fpmkunit and the packages it depends on to fpmake building.
Hash, paszlib, fcl-process and fpmkunit itself are build using
   fpmkunit_bootstrap. The fpmkunit-Makefile.fpc still contains dependencies
   on hash,paszlib and fcl-process because the packages depending on fpmkunit
   needs those. For fpmkunit itself those dependencies are ignored by directly
   setting the unit-search path to the rtl-unit search path.

git-svn-id: trunk@20115 -
2012-01-19 20:02:41 +00:00
florian
9426cac1b0 * rebuilt Makefiles
git-svn-id: trunk@19748 -
2011-12-04 15:34:01 +00:00
florian
d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
git-svn-id: trunk@19256 -
2011-09-27 20:22:40 +00:00
florian
4868b09844 * patch by alexvin to replace $ifopt by $push/$pop, resolves #20332
git-svn-id: trunk@19239 -
2011-09-25 21:19:50 +00:00
michael
e46bc70389 * Added example for compression level (Bug 20322)
git-svn-id: trunk@19174 -
2011-09-22 11:25:57 +00:00
michael
e0f458a7e9 * Applied patch from Daniel Gaspary to add compression level to individual items (Bug 20322)
git-svn-id: trunk@19173 -
2011-09-22 11:22:03 +00:00
sekelsenmat
2ea96e08fa Fixes bug #19986: Patch zipper.pp for create zip file output to TStream support
git-svn-id: trunk@19025 -
2011-09-08 12:49:15 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
joost
584ac69bff * Several fpmake-file updates
git-svn-id: trunk@17976 -
2011-07-11 19:24:28 +00:00
pierre
0c210a9df3 + New const MaxzbaseInt, set to maxlongint for FPC
to avoid range check errors within code if compiled
    with range check enabled.

git-svn-id: trunk@17805 -
2011-06-23 12:30:52 +00:00
pierre
965b57d7b8 * Revert 17797
git-svn-id: trunk@17802 -
2011-06-22 21:07:09 +00:00
pierre
9c11ee5544 * Explicitly redefine TByteArray as zero length to avoid Range Check Errors
git-svn-id: trunk@17797 -
2011-06-22 15:59:32 +00:00
michael
1e7a050364 * Deprecated files property. Files and entries can now be used simultaneously
git-svn-id: trunk@17749 -
2011-06-14 06:39:38 +00:00
Jonas Maebe
8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
later: the same as i386/darwin, except
      a) uses the non-fragile Objective-C ABI/runtime
      b) does not require stubs for direct calls/jumps (not required for
         i386/darwin under 10.6 and later either, but still generated
         there for backwards compatibility)
      c) only the same packages are enabled as for ARM/Darwin
      d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
    This target also defines the symbol "darwin" apart from the target
    name "iphonesim" for source code compatibility reasons.

git-svn-id: trunk@16065 -
2010-09-29 21:56:47 +00:00
mazen
6863b0ab46 * Removed svn:executable property from source files.
git-svn-id: trunk@16059 -
2010-09-28 21:40:50 +00:00
joost
3024947d5f * Override virtual constructor instead of adding a static one so that it is actually called. Fixes problems on non-Windows
git-svn-id: trunk@16037 -
2010-09-23 19:07:35 +00:00
Jonas Maebe
36e4f3d38b * fixed getting upper byte of "extra field" (patch by Brett, mantis #16887)
git-svn-id: trunk@15537 -
2010-07-09 20:11:19 +00:00
joost
3c42ad5e5e * TZipper.ZipFiles should zip files, got broken in r13464
git-svn-id: trunk@15176 -
2010-04-25 18:15:09 +00:00
marco
0f9f3600c5 * Disable parts of commit 13378 for windows, since it blocks extracting zips with Unix lineseparators (like Open Office files, even when generated on Windows)
* Minor tweak to demo

git-svn-id: trunk@15025 -
2010-03-21 10:28:29 +00:00
marco
8529d66523 * unzipper unit basic extraction test. (related to mantis 15836)
git-svn-id: trunk@15015 -
2010-03-14 11:41:54 +00:00
marco
d52071fc04 * Onprogress added to .compress and .decompress
git-svn-id: trunk@14551 -
2010-01-05 23:02:40 +00:00
Jonas Maebe
ab60790c73 * renamed ZStream to zstream in the uses clause so it matches the unit's
file name. Solves the problem that zstream's .o file was not installed
    in case of
      a) compiling on a case-preserving file systems
      b) on an OS that is marked as case-sensitive
      c) when using the -Fd command line option (so the directory cache
         does not emulate the case-sensitive behaviour)

git-svn-id: trunk@14501 -
2009-12-30 13:19:51 +00:00
pierre
55cffbef12 * Update Makefiles
git-svn-id: trunk@14385 -
2009-12-10 08:36:52 +00:00
marco
51d5d1ea3b * TUnzipper now instrumentable with events to be usable with custom streams
Patch from Andrew, Mantis 15151

git-svn-id: trunk@14256 -
2009-11-22 19:48:00 +00:00
marco
91a756e51a * slight adjustment. Bug #14420 fixed.
git-svn-id: trunk@14015 -
2009-11-03 11:18:27 +00:00
marco
ce87b907ee * fix for windows compilation after last chances (mantis 14980)
git-svn-id: trunk@14014 -
2009-11-03 09:21:58 +00:00
marco
2c906dd4a1 * rearranged the append/rewrite slightly
git-svn-id: trunk@14012 -
2009-11-02 21:58:37 +00:00
marco
4b498be828 * add "append" mode, fixes 14420
git-svn-id: trunk@14011 -
2009-11-02 21:53:07 +00:00
Jonas Maebe
847354fe10 * Makefiles version 2.5.1
git-svn-id: trunk@13533 -
2009-08-13 21:21:28 +00:00
marco
17b3b424f5 * minor fixes to get miniunz compiling under windows.
git-svn-id: trunk@13500 -
2009-08-08 17:15:55 +00:00
Jonas Maebe
e246cac3ac * regenerated using latest fpcmake
git-svn-id: trunk@13487 -
2009-08-02 18:40:14 +00:00
michael
41e3707096 * Changed to proposed events
git-svn-id: trunk@13472 -
2009-07-29 16:14:37 +00:00