Commit Graph

35593 Commits

Author SHA1 Message Date
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
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
sergei
f6761d7939 * Handle safecall exceptions entirely in tcgtryfinallynode pass2. This simplifies things and removes the need in hidden safe_result variable.
git-svn-id: trunk@19950 -
2012-01-02 14:23:31 +00:00
Legolas
96cab58ab4 * Fixed typo
git-svn-id: trunk@19949 -
2012-01-02 13:13:34 +00:00
sergei
66ec137f09 * Partially reverted r19668. It turns out that the implicit finally block in constructors, besides its intended purpose, provides correct position of the exit label (more precisely, it relocates exit label to the start of 'finally' part without subsequent restoring it to original value). Optimizing it away causes exit statements in constructors to jump over AfterConstruction call.
+ Test to prevent it from happening again.

git-svn-id: trunk@19948 -
2012-01-02 09:43:43 +00:00
marco
a0a87a609f * Fixed typo reported on the maillist.
git-svn-id: trunk@19947 -
2012-01-01 23:54:07 +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
florian
f79dc85033 * typo fixed
git-svn-id: trunk@19937 -
2011-12-31 16:25:19 +00:00
michael
8af2ce27ef * Patch by Ludo Brands to add support for ActiveX containers (bug 20991)
git-svn-id: trunk@19936 -
2011-12-31 15:41:59 +00:00
michael
c20d68baec * Patch by Ludo Brands to support creation of activeX containers and event sink components (bug 20991)
git-svn-id: trunk@19935 -
2011-12-31 15:33:56 +00:00
michael
51953c459c * Added eventsink unit from Ludo Brands (bug 20991)
git-svn-id: trunk@19934 -
2011-12-31 15:25:47 +00:00
florian
862f9dacea * handle int_to_bool for qwordbools correctly on arm
git-svn-id: trunk@19933 -
2011-12-31 14:14:21 +00:00
Legolas
659b386f02 + Added Easy gl2d library for Nintendo DS and 6 new examples
* libndsfpc: Fixed glMaterialShinyness()

git-svn-id: trunk@19932 -
2011-12-31 14:14:12 +00:00
joost
a7ac3986c9 * Forgot to adapt fcl-images Makefile.fpc in r18128
git-svn-id: trunk@19931 -
2011-12-31 09:55:40 +00:00
marco
cbd12709d4 * regenned makefile that was accidentally done win32 only.
git-svn-id: trunk@19930 -
2011-12-30 22:02:45 +00:00
florian
25e38983cf * ide makes use of %APPDATA% if available to store configuration files, same logic as on unix, resolves #20870
git-svn-id: trunk@19929 -
2011-12-30 16:36:25 +00:00
marco
a231396bf7 * interface function declarations had no stdcall modifier, patch by Ludo #20987
git-svn-id: trunk@19928 -
2011-12-30 16:25:51 +00:00
florian
2dc2d65b1a + on windows, search %ALLUSERSPROFILE% and %USERPROFILE% for fpc.cfg
git-svn-id: trunk@19927 -
2011-12-30 16:20:27 +00:00