Commit Graph

35862 Commits

Author SHA1 Message Date
florian
e30ac89356 * moved test into the correct location and renamed
git-svn-id: trunk@20001 -
2012-01-07 21:56:23 +00:00
florian
7ec6201fb3 * mark label as used if address is taken
git-svn-id: trunk@20000 -
2012-01-07 21:53:21 +00:00
florian
5a4b8cfef2 * don't build utils on gba and embedded
git-svn-id: trunk@19999 -
2012-01-07 21:52:40 +00:00
marco
e328c7c1cb * Rest of fcl-db adapted to use TRecordBuffer.
git-svn-id: trunk@19998 -
2012-01-07 21:18:29 +00:00
michael
eb2b836b06 * $IFDEF also handles macros
git-svn-id: trunk@19997 -
2012-01-07 20:36:22 +00:00
michael
1c85102924 * Macro support. Fix for include support if not EOL
git-svn-id: trunk@19996 -
2012-01-07 18:41:08 +00:00
joost
eb8b423e4b * Compile sqldb.pp itself for all targets. fcl-web depends on it.
git-svn-id: trunk@19995 -
2012-01-07 17:51:06 +00:00
marco
405432c147 * TRecordBuffer, first batch (src/base). Delphi/Unicode defines buffer types as TRecordBuffer=PByte.
For now, TRecordBuffer=Pansichar is used, but at least the signatures are more D2009+ compat now.

git-svn-id: trunk@19994 -
2012-01-07 17:38:36 +00:00
michael
5c3b2e881a * Allow streams as source
* Improved range type parsing (handle deprecated etc.)
* Improvements in record type parsing type (handle deprecated etc.)

git-svn-id: trunk@19993 -
2012-01-07 15:20:43 +00:00
joost
a0cc3b7611 * Use right path when deleting temporary buildunit-files while compiling multiple packages
git-svn-id: trunk@19992 -
2012-01-07 00:00:06 +00:00
joost
03ba8db75b * Removed more obsolete dependencies
git-svn-id: trunk@19991 -
2012-01-06 22:59:31 +00:00
joost
073688f7cb * fpmake now builds gdbint for the same targets as fpcmake does
git-svn-id: trunk@19990 -
2012-01-06 22:38:41 +00:00
joost
1fa132a897 * Do not use a build-unit to compile univint. Package itself is a buildunit.
* Removed obsolete dependencies and all dependencies from the MacOS buildunit as it is hell to maintain and has no use

git-svn-id: trunk@19989 -
2012-01-06 20:48:38 +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
aa564b4b69 * link always against sysbase on arm-gba, fake_heap_end is used in the syste unit, resolves #21005
git-svn-id: trunk@19987 -
2012-01-06 19:48:48 +00:00
florian
28c90c9c91 * build objects unit for gba
git-svn-id: trunk@19986 -
2012-01-06 19:41:56 +00:00
joost
5ebc858a33 * Do not install the build-unit
git-svn-id: trunk@19985 -
2012-01-06 17:10:23 +00:00
joost
1c3482debe * Switched fcl-dbs fpmake-file to the same inclusion-mechanisn as used with gdbint. Fixes compilation of packages/fpmake.pp
git-svn-id: trunk@19984 -
2012-01-06 16:46:56 +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
d1be2e7907 * xmliconv_windows.pas does not have resourcestrings. Fixes 'make install' on Windows.
git-svn-id: trunk@19982 -
2012-01-06 15:40:29 +00:00
joost
c8ea08a5bd * sdl only depends on pthreads and x11 on unices. (better fix for r19980, bug #21034)
git-svn-id: trunk@19981 -
2012-01-06 15:09:24 +00:00
joost
6cd4bded69 * Add target-specific dependencies also to package-requirements
git-svn-id: trunk@19980 -
2012-01-06 14:20:37 +00:00
joost
a991888b5a * Added target-specific dependencies to fpcmake.pp
git-svn-id: trunk@19979 -
2012-01-06 13:48:54 +00:00
florian
36a15221ad * include src/dummy on arm-gba, resolves #21003
git-svn-id: trunk@19978 -
2012-01-06 10:04:20 +00:00
joost
6b826cf3fa * Override the for fpmake wrong value of COMPILER_TARGETDIR, so that executables are compiled into the right path
git-svn-id: trunk@19977 -
2012-01-05 22:06:11 +00:00
sergei
fa98e0523d * Safecall handling: forgot to free cgpara before doing the call, fixed.
git-svn-id: trunk@19976 -
2012-01-05 19:12:56 +00:00
florian
77f1092ca0 + sysutils.sleep for gba
+ dummy sysutils.getlastoserror for gba

git-svn-id: trunk@19975 -
2012-01-05 17:29:41 +00:00
florian
8fd262e00c * build strutils for gba, some packages require it
git-svn-id: trunk@19974 -
2012-01-05 17:27:44 +00:00
florian
e0d7af703a * proper feature handling for gba
* slinebreak shall be a real constant

git-svn-id: trunk@19973 -
2012-01-05 17:27:02 +00:00
joost
c8a7063602 * Removed compilation of paradox from fpmake-file, as it also wasnt in the old Makefile.fpc
git-svn-id: trunk@19972 -
2012-01-05 17:21:33 +00:00
joost
642e7963e2 * Added dependency on fcl-json to fcl-db
* Removed invalid character from fpmake.pp file

git-svn-id: trunk@19971 -
2012-01-05 17:02:10 +00:00
joost
0c87700084 * More packages switched to fpmake building
git-svn-id: trunk@19970 -
2012-01-05 16:29:36 +00:00
florian
957c819035 * don't try to build a native compiler for arm-gba
git-svn-id: trunk@19969 -
2012-01-04 23:31:08 +00:00
florian
4765728fc4 * use SarInt64 to optimize 64 bit divs on 32 bit platforms, resolves #20998
git-svn-id: trunk@19968 -
2012-01-04 22:58:25 +00:00
florian
fd07f51f35 * handle LOC_JUMP correctly for 64 bit boolean assignments
git-svn-id: trunk@19967 -
2012-01-04 22:32:31 +00:00
Jonas Maebe
a567be76ff * fixed test for big endian 64 bit targets
* ifdef linux -> ifdef unix for cthreads/cwstring (although that doesn't
    really matter here, the test doesn't depend on them)

git-svn-id: trunk@19966 -
2012-01-04 16:09:04 +00:00
Jonas Maebe
eb680bcc5b * don't try to set the iconv transliterate property in case the iconv
encoder was not successfully initialised

git-svn-id: trunk@19965 -
2012-01-04 16:08:15 +00:00
Jonas Maebe
f287cf3f61 * default to UTF-8 as system code page in case nl_langinfo(CODESET) returns
an empty string

git-svn-id: trunk@19964 -
2012-01-04 16:06:27 +00:00
joost
33544c63d0 * Fixed mistake made in r19962 with fpmkunit dependencies
git-svn-id: trunk@19963 -
2012-01-04 14:22:14 +00:00
joost
2a7be977ee * Added fpmkunit dependency of packages converted to fpmake building in r19957
git-svn-id: trunk@19962 -
2012-01-04 13:47:19 +00:00
florian
3e70077dce * build glext on win64, resolves #21013
git-svn-id: trunk@19961 -
2012-01-04 13:30:17 +00:00
joost
334df8c989 * Expand ~/ in prefix
git-svn-id: trunk@19960 -
2012-01-04 10:11:16 +00:00
sergei
49700e675c * Changed code generation for variant assignments to typecast arguments to TVarData instead of using pointers. Fixes one (probably the ugliest one) case of non-disposed temp variables:
When arguments are temps, they are supposed to be released by tcgcallnode.release_para_temps. However, taking address with taddrnode effectively changes original location of temp to some LOC_REGISTER, tcgcallnode.release_para_temps no longer sees the original location and therefore does not free such temps.

git-svn-id: trunk@19959 -
2012-01-03 19:31:58 +00:00
joost
f995da2746 * Removed debug-code accidentally introduced in r19952 that fails to compile on some targets
git-svn-id: trunk@19958 -
2012-01-03 14:42:28 +00:00
joost
bbe579131b * More packages switched to fpmake building
git-svn-id: trunk@19957 -
2012-01-03 14:29:12 +00:00
sergei
b1cbf30a94 * Managed types passed to out formal parameters must be completely cleaned (decrementing refcount is not enough) at caller side, because callee side doesn't know their actual type and cannot initialize them. Resolves #20962.
git-svn-id: trunk@19956 -
2012-01-03 09:07:08 +00:00
sergei
f8e921e478 * Fixed code generation for constructors compiled in {$implicitexeptions off} state, or having no implicit finally frame. Exit label and finalization code have to be placed before call to AfterConstruction, so exit statements do not jump over AfterConstruction, and overall control flow is the same as in default {$implicitexceptions on} state.
* A second attempt to remove unconditional pi_needs_implicit_finally from constructors, should hopefully be correct this time due to the changes described above.
+ Test (a copy of tctr1.pp with additional {$implicitexceptions off} directive)

git-svn-id: trunk@19955 -
2012-01-02 20:07:24 +00:00
marco
dffc154c11 * adding deprecated warning to libc to promote migration to portable units. Not related to short term removal of the unit.
git-svn-id: trunk@19954 -
2012-01-02 18:27:45 +00:00
svenbarth
17a276aabc * compiler\pdecl.pas:
in "array_dec" and "procvar_dec" "parse_generic" needs to be true if the currently
      parsed declaration (array or procvar) is declared inside a generic, because only then
      specializations of other types (it does not matter whether they are inline or in a type
      section of the current generic) are parsed correctly (this fixes Mantis #20577 and
      Mantis #20955 )
+ add tests for the mentioned bug reports (testing only the array case) (tests\webtbs) and
  tests for the procvar case (tests\test)

git-svn-id: trunk@19953 -
2012-01-02 16:02:51 +00:00
joost
628b35d100 * Enabled multhi-threaded compilation of packages. With '-T n' the packages
are all compiled in n worker threads.

git-svn-id: trunk@19952 -
2012-01-02 15:21:01 +00:00