Commit Graph

581 Commits

Author SHA1 Message Date
pierre
aa4d26c358 Rectify location of ipcclient and ipcserver sources from fcl-base/examples to fpc-process/examples directory in fpmake files
git-svn-id: trunk@39603 -
2018-08-10 05:38:26 +00:00
michael
4700e982d4 * Fix bug ID #0034071
git-svn-id: trunk@39551 -
2018-08-02 13:10:12 +00:00
michael
b417ab799d * Simplifications and slight enhancements, as suggested by AlexeyT (bug ID 33981)
git-svn-id: trunk@39450 -
2018-07-14 08:26:46 +00:00
michael
398ab09c8d * Fix bug ID #33885, correctly re-initialize parser when loading from stream
git-svn-id: trunk@39325 -
2018-06-28 09:58:58 +00:00
michael
b0c0102db4 * Fix bug ID #33886, handle files of less than 3 bytes
git-svn-id: trunk@39324 -
2018-06-28 09:55:53 +00:00
michael
7a6bd69685 * Fix bug ID #33883, incorrectly initialized CacheUpdates depending on what constructor is used
git-svn-id: trunk@39322 -
2018-06-28 08:46:32 +00:00
michael
426c610f13 * Added pascodegen
git-svn-id: trunk@39291 -
2018-06-23 13:56:48 +00:00
michael
6abf361557 * New common base for all pascal code generator units in fcl
git-svn-id: trunk@39290 -
2018-06-23 13:56:38 +00:00
michael
f8be245097 * Fix bug #0033544, result not properly initialized
git-svn-id: trunk@38770 -
2018-04-14 12:17:29 +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
michael
24ff8b07e4 * Moved formatdatetime to conversion category (correction)
git-svn-id: trunk@38623 -
2018-03-24 18:13:50 +00:00
michael
8c86bbf0a3 * Moved formatdatetime to conversion category
git-svn-id: trunk@38622 -
2018-03-24 17:08:06 +00:00
michael
16ba47be46 * Patch from Ondrej Pokorny to convert unit names to CamelCase (bug ID 33481)
git-svn-id: trunk@38616 -
2018-03-23 22:06:36 +00:00
michael
c3414c6100 * Add support for currency type
git-svn-id: trunk@38523 -
2018-03-14 10:54:42 +00:00
marco
451203512b * add copyright headers, mantis #22912
git-svn-id: trunk@38347 -
2018-02-25 15:53:37 +00:00
michael
84377291b4 * Allow hex, octal and binary notation for expression parser (patch from bug ID #33216)
git-svn-id: trunk@38326 -
2018-02-24 10:59:44 +00:00
marco
79ebe68e8b * fix encoding on save, patch from Ondrej, mantis #33121
git-svn-id: trunk@38105 -
2018-02-03 16:05:50 +00:00
marco
97ceb89ca8 * patch from Ondrej, mantis #33118, some constructor overloaded to ease initializing encoding
git-svn-id: trunk@38103 -
2018-02-03 15:42:08 +00:00
michael
d1bba7ec3d * Fix bug #33052, stripquotes is removed accidentally in TIniFile constructor call of inherited
git-svn-id: trunk@38018 -
2018-01-20 14:45:26 +00:00
michael
ea00dc02cc * Fix bug #33043
git-svn-id: trunk@38017 -
2018-01-20 14:40:19 +00:00
Károly Balogh
bde64031d5 packages: disable some packages and files, in preparation of turning off threading feature for atari tos
git-svn-id: trunk@37876 -
2017-12-30 06:47:18 +00:00
michael
6e5093a6cc * Patch from Ondrej Pokorny to make ini files encoding aware (bug ID 32452)
git-svn-id: trunk@37852 -
2017-12-29 10:21:39 +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
michael
3ecf6622ac * Patch from Pascal Riekenberg to implement Modulo (mod) support
git-svn-id: trunk@37344 -
2017-09-28 07:32:59 +00:00
pierre
6f14241e56 Add fallback if GetLastOSError function is not implemented
git-svn-id: trunk@37280 -
2017-09-20 16:02:47 +00:00
michael
6e308feb60 * Patch from Pascal Riekenberg to fix HasAggregate for functions
git-svn-id: trunk@37057 -
2017-08-25 07:54:07 +00:00
Károly Balogh
a0ec51369c reverted some accidental changes in fpmake.pp, only affecting m68k-atari
git-svn-id: trunk@37036 -
2017-08-22 11:33:47 +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
pierre
ed58ca8492 Compile syncobjs unit for EMX
git-svn-id: trunk@37014 -
2017-08-21 14:15:45 +00:00
michael
42e716278b * Forgot to commit FormatFloat builtin
git-svn-id: trunk@37005 -
2017-08-21 12:07:40 +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
michael
d975ec6d0b * Patch from Cyrax to initialize search index (bug id 32173)
git-svn-id: trunk@36751 -
2017-07-20 08:50:01 +00:00
michael
bc53a908c9 * Fix bug #32047
git-svn-id: trunk@36585 -
2017-06-23 11:18:22 +00:00
pierre
7a172d3d5a Regenerated all Makefile from packages directories
git-svn-id: trunk@36395 -
2017-06-01 14:15:50 +00:00
michael
7f66cdad7c * Some improvements to example
git-svn-id: trunk@35894 -
2017-04-22 11:13:07 +00:00
michael
b6123bb1a8 * Fix bug ID #31695
git-svn-id: trunk@35893 -
2017-04-22 11:08:03 +00:00
michael
6a5ed4ac5b * Fixed bug #31687
git-svn-id: trunk@35877 -
2017-04-21 18:44:49 +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
Mattias Gaertner
c94df5db2a avl_tree: fixed using fNodeMgr, made Remove and RemovePointer functions to return true if node was found
git-svn-id: trunk@35742 -
2017-04-06 10:35:46 +00:00
michael
529dc18ba7 * Fix bug #31211, patch from Mattias Gaertner:
Backport from  the lazutils version:
  * The compare function can now be a method,
  *  you can write descendants, 
  * new property NodeClass, 
  * an optimized method to add presorted nodes, 
  * Node.Precessor/Successor methods.

git-svn-id: trunk@35518 -
2017-03-04 14:22:35 +00:00
michael
a4e9a6d6e4 * Remove debug writeln
git-svn-id: trunk@35006 -
2016-11-28 12:50:51 +00:00
michael
76f7f81c85 * Raise exception if BasicEventCreate fails in constructor (bug ID 30769)
git-svn-id: trunk@34988 -
2016-11-27 16:08:40 +00:00
michael
ba35278552 * Patch from Werner Pamler to implement ^ in expression parser (Big ID 30970)
git-svn-id: trunk@34967 -
2016-11-26 16:16:57 +00:00
michael
5af24e94ae * Patch from wp to add BOM detection to CSV reader (bug ID 30897)
git-svn-id: trunk@34871 -
2016-11-11 10:03:14 +00:00
michael
ae468bfb43 * Initialize result, bug ID #0030771
git-svn-id: trunk@34748 -
2016-10-22 07:30:27 +00:00
michael
3b1980b8f3 * More strict behaviour of TStreamReader after close
git-svn-id: trunk@34728 -
2016-10-16 10:22:10 +00:00
michael
8c1ebcd4ad * Small cleanup of TTextReader interface
git-svn-id: trunk@34727 -
2016-10-16 09:31:53 +00:00
Jonas Maebe
e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers)
git-svn-id: trunk@34598 -
2016-10-02 12:56:59 +00:00
michael
7fec0f92af * Fix bug ID #30469 (allow quoting to start inside values)
git-svn-id: trunk@34509 -
2016-09-11 12:24:57 +00:00
michael
8c63be40f9 * Fix bug ID #24983: additional possibilities for boolean reading/writing
git-svn-id: trunk@34506 -
2016-09-11 08:04:36 +00:00
michael
9cca873e54 * Applied patch by accorp to fix unwanted parameter values in Opts output parameter of CheckOptions. (bug ID 29951)
git-svn-id: trunk@34500 -
2016-09-10 19:43:17 +00:00
michael
7d4b3dc7aa * Tests for bug ID #28201
git-svn-id: trunk@34499 -
2016-09-10 19:34:00 +00:00
michael
25d3ee2ce2 * New version of maskutils by Bart Broersma (+testcase), bug ID #30020
git-svn-id: trunk@34498 -
2016-09-10 19:26:28 +00:00
michael
1ca3e6c407 * Make THashedStringList obey CaseSensitive flag (patch from Giulano Colla, bug ID #30568)
git-svn-id: trunk@34467 -
2016-09-09 06:16:37 +00:00
michael
0cdf941fed * Fix wrong ReadInt64 return type. bug ID #30579
git-svn-id: trunk@34463 -
2016-09-09 05:32:32 +00:00
michael
1001bac6bb * Accept quoted identifiers, using double quotes
git-svn-id: trunk@34423 -
2016-09-04 06:38:14 +00:00
michael
394ec97d80 * Min/Max aggregates
git-svn-id: trunk@34422 -
2016-09-04 06:07:34 +00:00
michael
2ef1a423fe * Aggregate Functions & ExtractNode
git-svn-id: trunk@34377 -
2016-08-26 07:17:03 +00:00
joost
c90b5773b9 * Corrected name of advancedsingleinstance.pas in fpmake.pp
git-svn-id: trunk@34294 -
2016-08-13 10:10:24 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
michael
15c5ea3b9c * Fix bug in event-based variables
git-svn-id: trunk@33986 -
2016-06-14 17:25:14 +00:00
michael
56d3909dea * Added event-based fetching of variables
git-svn-id: trunk@33947 -
2016-06-11 17:07:32 +00:00
michael
904b28bde2 * Small patch from Graeme Geldenhuys to make coding style more coherent (bug id 30114)
git-svn-id: trunk@33772 -
2016-05-24 06:49:18 +00:00
michael
5e3b22ab15 * Patch to Split AdvancedIPC and AdvancedSingleInstance, by Luiz Americo (Bug ID 30141)
git-svn-id: trunk@33699 -
2016-05-16 16:25:50 +00:00
michael
ecde605017 * Moved expression parser test to proper location, patch by Graeme Geldenhuys (bug ID 30037)
git-svn-id: trunk@33578 -
2016-04-30 07:53:36 +00:00
michael
6ab9435e44 * Alternat implementation based on event, from Derek (Bug ID 28831)
git-svn-id: trunk@33298 -
2016-03-20 16:51:27 +00:00
michael
18296c258f * Remove usage of HasKey (bug ID 29820
git-svn-id: trunk@33226 -
2016-03-12 17:19:22 +00:00
michael
674b539293 * Patch from Daniel Plachotich to allow regular procedures as iterators
git-svn-id: trunk@33221 -
2016-03-12 09:49:21 +00:00
michael
e160b09468 * Check allowed options when setting options not in constructor
git-svn-id: trunk@33220 -
2016-03-12 09:48:20 +00:00
michael
d37d99a24f * Move simpleipc samples to appropriate directory
git-svn-id: trunk@33126 -
2016-02-27 09:21:00 +00:00
michael
ee8652a983 Introduced ExceptionExitCode
git-svn-id: trunk@33052 -
2016-02-05 15:30:58 +00:00
marco
475d388fdc * misc single and double helpers. No endianess atm.
git-svn-id: trunk@33041 -
2016-02-02 09:25:31 +00:00
michael
2658637a01 * Fix bug ID #29414
git-svn-id: trunk@32961 -
2016-01-17 12:04:09 +00:00
michael
de2eb17d6e * Added windowed stream by Danny Milosavljevic (bug ID 12845)
git-svn-id: trunk@32797 -
2015-12-30 10:29:48 +00:00
florian
1287a8b0e8 * patch by Ondrej Pokorny: advancedipc has now resource strings, resolves issue #29265
git-svn-id: trunk@32773 -
2015-12-27 22:33:14 +00:00
florian
41ae363356 * unit singleinstance does not have a resource file anymore
git-svn-id: trunk@32772 -
2015-12-27 20:02:40 +00:00
michael
a2985a5572 * Refactored singleinstance so it is independent of any specific implementation
git-svn-id: trunk@32770 -
2015-12-27 18:46:08 +00:00
michael
2451f7596b * Example demonstrating formatsettings for inifile
git-svn-id: trunk@32769 -
2015-12-27 18:17:34 +00:00
michael
22c284ca28 * Allow use of Formatsettings (bug ID 28693)
git-svn-id: trunk@32768 -
2015-12-27 18:09:57 +00:00
michael
ac1768adb0 * Applied adapted patch from Simon Ameis to add log with formatting capabilities (bug ID 29262)
git-svn-id: trunk@32767 -
2015-12-27 17:31:42 +00:00
michael
8db06c7878 * OwnsObjects must not be changed during lifetime of TFPObjectHashList, made it read-only (bugs ID 28910)
git-svn-id: trunk@32321 -
2015-11-14 15:58:59 +00:00
michael
bc1248ceb7 * Non-Options, multiple identical options support (corrected)
git-svn-id: trunk@32291 -
2015-11-11 16:39:30 +00:00
michael
8e063b5cef * Undid last (wrong) patch
git-svn-id: trunk@32289 -
2015-11-11 16:33:03 +00:00
michael
60e0627704 * Non-Options, multiple identical options support
git-svn-id: trunk@32288 -
2015-11-11 16:28:04 +00:00
michael
f7cab410c5 * Single instance functionality by Ondrej Pokorny
git-svn-id: trunk@32287 -
2015-11-11 16:26:19 +00:00
joost
c0bdce1330 * Fixed problem with search-masks in fpmake.pp-files in subdirectories
git-svn-id: trunk@32142 -
2015-10-24 22:09:06 +00:00
michael
bfc85a73bd * Applied patch from Ondrej to fix thread ID not being unique
git-svn-id: trunk@31955 -
2015-10-05 21:06:41 +00:00
Tomas Hajny
08817204a8 * updates/fixes by Ondrej Pokorny
git-svn-id: trunk@31940 -
2015-10-03 21:26:39 +00:00
Tomas Hajny
8b522e0ff3 * example for unit advancedipc by Ondrej Pokorny added
git-svn-id: trunk@31939 -
2015-10-03 21:25:53 +00:00
Tomas Hajny
8746c68a29 * hard-coded '*' replaced by reference to AllFilesMask constant
git-svn-id: trunk@31925 -
2015-10-03 17:08:31 +00:00
michael
35a46aa5be * Applied patch from Ondrej to bring it in sync with bugreport version
git-svn-id: trunk@31890 -
2015-09-29 13:38:16 +00:00
michael
221ce7a44a * Added AdvandedIPC from Ondrey Pokorny
git-svn-id: trunk@31885 -
2015-09-29 10:48:09 +00:00
nickysn
02d6f7a2a4 - disabled the win16 target for all packages that don't compile on that platform
git-svn-id: trunk@31857 -
2015-09-27 19:32:44 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
joost
46906833f1 * Re-generated makefile's
git-svn-id: trunk@31318 -
2015-08-12 19:47:44 +00:00
joost
ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line.
To void cluttering the .fpm file

git-svn-id: trunk@31317 -
2015-08-12 19:15:14 +00:00
michael
437aab34de * Fix by Michalis Kamburelis for bug #28496
git-svn-id: trunk@31305 -
2015-08-09 16:04:01 +00:00
Károly Balogh
77bdd83bfc AROS/x86_64: regenerated Makefiles
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
michael
b36386baf0 * TStreamReader (TTextReader) implementation by Sylvio Clecio (bug ID 28075)
git-svn-id: trunk@31022 -
2015-06-10 21:38:55 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
joost
d16da8a32b * TFPCustomHashTable.FHashTableSize made protected. Without this change it is
not possible to add new descendents for other types.

git-svn-id: trunk@30707 -
2015-04-25 09:25:39 +00:00
michael
f3e8240230 * Fix bug UD 27026
git-svn-id: trunk@30623 -
2015-04-17 17:57:33 +00:00
michael
10633da13b * Reverted revision 30575 (forgor -depth=immediate
git-svn-id: trunk@30576 -
2015-04-13 19:44:51 +00:00
michael
2cab4a9a73 * Reverted revision 30557
git-svn-id: trunk@30575 -
2015-04-13 19:43:43 +00:00
michael
c37720d12d * Added csdocument, split out in csvreadwrite and csvdocument (bug ID 247
git-svn-id: trunk@30416 -
2015-04-04 08:57:19 +00:00
michael
7ba2ce86cd * Fix visibility and deprecated warnings (patch from Luiz Americo (Bug ID 27110)
git-svn-id: trunk@30375 -
2015-03-29 19:32:51 +00:00
michael
c453e88272 * IdentifierByName made virtual (bug ID 27109)
git-svn-id: trunk@30374 -
2015-03-29 19:28:02 +00:00
marco
d20491e0f0 * Patch from Mattias to mostly revert his previous patch that broke his own code.
Mantis #27549

git-svn-id: trunk@30075 -
2015-03-02 18:54:03 +00:00
marco
86f91f50f5 * avltree rearrangements with new oncompare system. Mantis #27542, patch by Mattias
git-svn-id: trunk@30013 -
2015-02-26 08:52:49 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
joost
1a90d29063 * Re-generated packages-Makefile.fpcs and Makefiles
git-svn-id: trunk@29409 -
2015-01-05 11:34:47 +00:00
marco
d407b668d1 * version updated to 3.1.1
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
Tomas Hajny
486744d8b1 * add missing space in description
git-svn-id: trunk@29225 -
2014-12-08 22:52:53 +00:00
joost
0574714317 * Use short 8.3 names for archives on limit83fs-hosts
git-svn-id: trunk@29174 -
2014-11-28 21:35:46 +00:00
pierre
13a069c9d2 Use CHECKED="checked" and SELECTED="selected" as required by HTML specs
git-svn-id: trunk@29061 -
2014-11-11 18:24:09 +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
marco
6b01f96034 * Add assigned check to reading fileinfo for case there is no fileinfo section.
Mantis #26549, patch by Reinier.

git-svn-id: trunk@28304 -
2014-08-03 10:48:16 +00:00
michael
5ca66a14fa * Applied corrected patch from 26307
git-svn-id: trunk@27905 -
2014-06-09 07:30:12 +00:00
michael
59a9a595c5 * Fixed typo (t->s)
git-svn-id: trunk@27501 -
2014-04-07 13:12:53 +00:00
michael
68c1607ecc * Use resourcestring
git-svn-id: trunk@26904 -
2014-02-28 15:02:21 +00:00
michael
48eacbae41 * Fixed bug (actually feature) in 23645
git-svn-id: trunk@26875 -
2014-02-25 09:19:32 +00:00
marco
526d84fd47 * Skip BOM for inifiles Mantis #24385
git-svn-id: trunk@26865 -
2014-02-24 11:00:48 +00:00
michael
3c3e2d1909 * Added NullStream compilation
git-svn-id: trunk@26813 -
2014-02-18 21:20:32 +00:00
michael
4490a61981 * Added AddReplacesExisting
git-svn-id: trunk@26728 -
2014-02-08 13:14:25 +00:00
michael
b7c6455b89 * Added TStringHash class
git-svn-id: trunk@26727 -
2014-02-08 13:08:18 +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
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
michael
fa4aa67f35 * Fixed bug ID #24674
git-svn-id: trunk@26577 -
2014-01-24 15:14:02 +00:00
michael
d3ebc96dc8 * Fix bug ID #25412
git-svn-id: trunk@26574 -
2014-01-24 13:55:11 +00:00
marco
dea2c743d5 * Initial active version of
rtl-extra : objects matrix ucomplex
   rtl-objpas: convutil(s) dateutil(s) stdconvs variants varutils
   

git-svn-id: trunk@26398 -
2014-01-05 19:20:15 +00:00
Jonas Maebe
017c895c37 * fixed missing function result initialisation in
TFPMimeTypes.GetMimeExtensions() and TFPMimeTypes.GetMimeType()
    (mantis #25003)

git-svn-id: trunk@26145 -
2013-11-27 19:19:25 +00:00
michael
a2c561ebbe * Fixed typo (by Tomasz Wieckowsky, bug ID #25379)
git-svn-id: trunk@26141 -
2013-11-27 10:23:31 +00:00
michael
1449fbb9ff * Added Read/Write of int64
git-svn-id: trunk@25496 -
2013-09-16 08:25:11 +00:00
michael
3ffae89e12 * Null stream implementation
git-svn-id: trunk@25495 -
2013-09-16 08:24:46 +00:00
florian
6377c180bf * disable packages which do not build on msdos
git-svn-id: trunk@25236 -
2013-08-11 16:12:34 +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
marco
6e855a334d * openeventlog -> openeventloga.
git-svn-id: trunk@24693 -
2013-06-01 09:57:28 +00:00
svenbarth
930b76e8fb Fix compilation of WinCE. Change the fixed UNICODE define of WinCE to FPC_OS_UNICODE, so that it won't be undefined when changing the mode/string type and that the usage of a UNICODE API is independant of the mode.
Also adjusted all Windows (Win32/64/CE) units to define a "UNICODE" if "FPC_OS_UNICODE" is defined (except the Jedi units).
Also the common RTL units that checked for UNICODE now check for FPC_OS_UNICODE.

git-svn-id: trunk@24420 -
2013-05-04 11:06:32 +00:00
pierre
4226f08565 Regenerate with up-to-date fpcmake binary
git-svn-id: trunk@24372 -
2013-04-29 12:45:11 +00:00
pierre
884918a4c4 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24365 -
2013-04-29 12:27:42 +00:00
joost
527c407b62 * Re-generated Makefiles for the changes in the Makefile.fpcs in r24349
git-svn-id: trunk@24350 -
2013-04-27 20:48:14 +00:00
joost
20a3809e58 * Now zipinstall is passed to fpmake by all Makefile.fpc's
git-svn-id: trunk@24349 -
2013-04-27 20:34:00 +00:00
michael
4f69d1046a * Enhanced patch from Michalis Kamburelis (bug 24324)
git-svn-id: trunk@24321 -
2013-04-25 18:15:25 +00:00
joost
c0b5b30ca2 * Moved libtar unit from fcl-base to paszlib package
git-svn-id: trunk@24287 -
2013-04-21 16:22:29 +00:00
sergei
20ed97a1e2 + UriParser.pp: Consider 'port' part present in authority only if colon is followed by all digits. Mantis #24302.
git-svn-id: trunk@24280 -
2013-04-21 08:12:49 +00:00
marco
3cc61e6195 * Added some fileexists() near places where a stream was opened, but
relied on the exception mechanism to handle file not found.
   Makes debugging easier.

git-svn-id: trunk@24274 -
2013-04-20 12:01:42 +00:00
michael
1824a932a3 * Patch to avoid error when trying to create empty directory
git-svn-id: trunk@24240 -
2013-04-14 15:34:00 +00:00
michael
7d6717be86 * Attempt at fix for Bug ID #24068
git-svn-id: trunk@23920 -
2013-03-18 09:18:48 +00:00
michael
3f4a19db7d * Adapted patch from Mario Ray Mahardhika to fix empty mime type
git-svn-id: trunk@23866 -
2013-03-16 14:15:22 +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
aca21b0b60 * Attempt to create directory, fail if not possible
git-svn-id: trunk@23593 -
2013-02-11 08:15:13 +00:00
svenbarth
bb00325d85 Fix for Mantis #23765 .
packages/fcl-base/src/fileinfo.pp, TVersionInfo.Load:
  * use PWideChar instead of PChar if "UNICODE" is defined (e.g. on WinCE)

git-svn-id: trunk@23528 -
2013-01-27 21:04:05 +00:00
yury
23b95a4d70 * Regenerated all makefiles.
git-svn-id: branches/targetandroid@23422 -
2013-01-17 11:36:12 +00:00
marco
f08a1ed7c9 * fixed minor mistake in comment. Mantis #23631
git-svn-id: trunk@23371 -
2013-01-13 12:46:56 +00:00
Tomas Hajny
67e1aeab5e + new language added (cs)
git-svn-id: trunk@23361 -
2013-01-10 23:43:01 +00:00
michael
51cce629e9 * Resources example
git-svn-id: trunk@23319 -
2013-01-06 14:56:03 +00:00
michael
64f8c451d9 * Implemented cross-platform version of fileinfo
git-svn-id: trunk@23318 -
2013-01-06 14:52:06 +00:00
florian
eb7882037a * disable uncompilable targets for embedded targets
git-svn-id: trunk@23257 -
2012-12-31 15:51:04 +00:00
michael
48c3adfdb9 * TFPHashlist.Pack now also reclaims unused string memory
git-svn-id: trunk@23252 -
2012-12-29 15:35:02 +00:00
michael
c6467056bf * Initial implementation of TFPHashList tests
git-svn-id: trunk@23250 -
2012-12-29 12:47:26 +00:00
michael
f2ee6bcb77 * Fixed bug ID #23444, improved example to show elapsed time
git-svn-id: trunk@23247 -
2012-12-29 09:58:12 +00:00
michael
cecea651b2 * Expose ForeachCall functionality in new Iterate call, but keep backwards compatibiliy
git-svn-id: trunk@23144 -
2012-12-14 14:56:42 +00:00
michael
37279faba5 * Hide internals of ForeachCall data structure
git-svn-id: trunk@23143 -
2012-12-14 14:49:00 +00:00
michael
95a0d01d0d ForeachCall needs to be pubic
git-svn-id: trunk@23142 -
2012-12-14 10:55:48 +00:00
michael
053fd43324 * Small observer demo from Graeme Geldenhuys (bug ID 23329)
git-svn-id: trunk@23092 -
2012-12-02 11:24:42 +00:00
michael
5419d06a96 * Speed optimization similar to tpersist and tlist
git-svn-id: trunk@23091 -
2012-12-02 11:19:20 +00:00
marco
d4ac343e3a * LE and BE streamhelpers for tstream. Simplifies writing stream formats in a different endianness. (mostly CHM)
git-svn-id: trunk@23050 -
2012-11-23 17:17:16 +00:00
joost
316717a710 * Re-generated all the Makefile.fpcs from the packages. So they are almost all the same now.
git-svn-id: trunk@23001 -
2012-11-17 00:18:50 +00:00
Tomas Hajny
451d486c37 * add support for syncobjs under OS/2
git-svn-id: trunk@22984 -
2012-11-12 20:02:53 +00:00
Tomas Hajny
688c0a6f3c * avoid need of GetLastOSError under OS/2
git-svn-id: trunk@22983 -
2012-11-12 19:59:28 +00:00
florian
39aef35bdc * pass not only exception address but also frame to raise:
if an address is passed the compiler cannot know a good 
  value for the frame so it passed nil and no stack trace is printed, resolves #12528

git-svn-id: trunk@22932 -
2012-11-04 20:40:21 +00:00
marco
7263b3c5a4 * boolean for decodestringbase64 to select strict mode.
git-svn-id: trunk@22713 -
2012-10-18 08:01:15 +00:00
michael
d6c8ebc1b9 * Better float parsing and conversion of integer to float where floats are accepted (bug 22934)
git-svn-id: trunk@22588 -
2012-10-08 11:45:19 +00:00
michael
2127e0e292 * Better float parsing and conversion of integer to float where floats are accepted (bug 22934)
git-svn-id: trunk@22587 -
2012-10-08 11:45:06 +00:00
michael
4f7ac968d9 * Some optimizations from Luiz Americo (bug ID 23022)
git-svn-id: trunk@22586 -
2012-10-08 11:04:27 +00:00
michael
6cdd5b034f * Patch from Luiz Americo to clean up destructor/constructor
git-svn-id: trunk@22584 -
2012-10-08 10:58:32 +00:00
marco
869e65b576 * cleanup of base64 by Luiz Americo. Mantis #23021
git-svn-id: trunk@22557 -
2012-10-06 11:04:31 +00:00
michael
a37953dc34 * Observer hook and mediator implementation added
git-svn-id: trunk@22398 -
2012-09-16 09:09:13 +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
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
michael
7976add94b * Added ParseFiles
git-svn-id: trunk@21977 -
2012-07-27 11:41:44 +00:00
Jonas Maebe
16974d2f08 * empty result of IntParseString() in case the input is empty, fixes double
output lines in generated config files by fpcmkcfg such as mentioned in
    mantis #22505
   

git-svn-id: trunk@21969 -
2012-07-25 11:49:09 +00:00
michael
153f59a38a * Fixed bug ID #22045
git-svn-id: trunk@21881 -
2012-07-11 16:51:50 +00:00
michael
53186644a7 * Added option to fetch all errors
git-svn-id: trunk@21873 -
2012-07-11 15:08:13 +00:00
michael
8dc7313374 * Added decode parameter to parseuri
git-svn-id: trunk@21870 -
2012-07-11 13:53:25 +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
joost
265f54b26b * Added ability to specify installation-destination path of
TPackage.InstallFiles
 * Added bininstalldir, prefix and unitinstalldir macro''s

git-svn-id: trunk@20669 -
2012-03-30 14:29:50 +00:00
joost
0e0a5dee4f * TTemplateParser: Do not require a space between the tag name and the
ParamStartDelimiter. 
 * Allow parameters without any name, for example: {uppercase[-this-]}
 * Added simple tests for TTemplateParser

git-svn-id: trunk@20543 -
2012-03-20 16:13:14 +00:00
pierre
8e0bb8298a + Add missing netbsd unit dependencies
git-svn-id: trunk@20323 -
2012-02-12 10:46:45 +00:00
marco
13743890d5 * fix to store empty node also for tkastring, Mantis #21137
git-svn-id: trunk@20249 -
2012-02-04 15:42:57 +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
joost
eccfddf7b3 * By default try to build fpmake packages using a buildunit
git-svn-id: trunk@19940 -
2012-01-01 14:09:26 +00:00
joost
0bf3f2bdff * Take INSTALL_BASEDIR also into account on make distinstall
git-svn-id: trunk@19939 -
2012-01-01 13:39:02 +00:00
joost
57700b9dd3 * Changes regarding the binutilsprefix from r19272 now applied to all fpmake-based makefiles
git-svn-id: trunk@19938 -
2012-01-01 12:46:29 +00:00