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
Jonas Maebe
930883edf6
* also report currency as automatable on non-x87 platforms
...
(may fix mantis #20986 )
git-svn-id: trunk@19924 -
2011-12-30 12:30:12 +00:00
Jonas Maebe
3b32e6986b
* fixed maketojumpbool() for 32 bit targets when used with a
...
64 bit destination
git-svn-id: trunk@19923 -
2011-12-30 12:12:39 +00:00
Jonas Maebe
3a6fb7c9ef
- removed stray if-statement
...
git-svn-id: trunk@19922 -
2011-12-30 12:11:33 +00:00
Jonas Maebe
f5568b86e6
+ support for OP_NOT and OP_NEG in a_op64_reg_reg() (required since
...
r19912)
git-svn-id: trunk@19921 -
2011-12-30 12:11:09 +00:00
Jonas Maebe
4d12a8b1ba
* fixed not(qwordbool): take all 64 bits into account, not only the
...
lower 32 ones
git-svn-id: trunk@19920 -
2011-12-30 12:09:43 +00:00
Jonas Maebe
d0ba14ecab
* fixed webtbs/tw20874b for non-x86 32 bit targets: tcgobj methods (by
...
default) cannot deal with 64 bit locations on 32 bit platforms
git-svn-id: trunk@19919 -
2011-12-30 11:58:49 +00:00
florian
5defdf86ba
* handle for-loops correctly if the limits contain the counter variable
...
git-svn-id: trunk@19918 -
2011-12-30 10:54:08 +00:00
marco
2087ab1508
* Remove upx support from makefiles.
...
git-svn-id: trunk@19917 -
2011-12-29 21:50:00 +00:00
joost
a48a84f54e
* Moved those tests in TTestDBBasics that needs a cursor to the new
...
TTestCursorDBBasics so that they are not tested anymore on unidirectional
datasets.
git-svn-id: trunk@19916 -
2011-12-29 21:08:52 +00:00
florian
cd644c4ecb
* VER2_0 overleft removed
...
git-svn-id: trunk@19915 -
2011-12-29 17:40:12 +00:00
florian
c4a5499d2a
* handle flag to reg./ref. conversion correctly for boolean64
...
git-svn-id: trunk@19914 -
2011-12-29 17:28:35 +00:00
florian
7070fef055
* patch by Jeppe Johansen to fix postprocessexecutable for the embedded target if host and target OS have different endianess, resolves #20926
...
git-svn-id: trunk@19913 -
2011-12-29 17:27:28 +00:00
florian
a59a37dddd
* handle assignments of qword bools with LOC_FLAGS correctly, resolves #20874
...
git-svn-id: trunk@19912 -
2011-12-29 16:48:46 +00:00
florian
61eb25ea30
* qwordbool is obviously a 64 bit type, resolves #20889
...
git-svn-id: trunk@19911 -
2011-12-29 16:46:50 +00:00
joost
0fcb5ae687
* Show a proper error-message when trying to do a locate on a uni-directional dataset
...
git-svn-id: trunk@19910 -
2011-12-29 16:24:14 +00:00
joost
06f0e3f9fa
* Fixed compilation by Delphi
...
git-svn-id: trunk@19909 -
2011-12-29 15:47:06 +00:00
joost
5698d75c4c
* Added more Delphi-compatibility wrappers
...
git-svn-id: trunk@19908 -
2011-12-29 15:44:19 +00:00
florian
6a1a2d3464
* get rid of some feature checks, probably the whole feature stuff is plainly the wrong way, embedded rtl compiles again, resolves #20913
...
git-svn-id: trunk@19907 -
2011-12-29 14:06:30 +00:00
florian
c4c20102fd
* make buildrtl aware of heapmgr
...
git-svn-id: trunk@19906 -
2011-12-29 14:04:50 +00:00
michael
51b5107247
* Patch from Ilya Melnikov to change var to out params (bug 20949)
...
git-svn-id: trunk@19905 -
2011-12-29 11:50:12 +00:00
michael
109fa89bc8
* Make sure key is zero-padded if seed is smaller than key length (bug 20949, patch from Ilya Melnikov)
...
git-svn-id: trunk@19904 -
2011-12-29 11:48:38 +00:00
marco
7b5c7f81d6
* fix for crash while building LCL docs. Hopefully the last one.
...
The fix is an emergency fix only, disabling calling convention
registration for element types that not derive from TPasProcedure
The fix is in Parsprocedureorfunctionheader, second part that handles
modifiers and calling conventions. The parent was always typecasted
to TPasProcedure, but can also be TPasProcedureType and TPasFunctionType
that not derive from TPasProcedure.
git-svn-id: trunk@19903 -
2011-12-28 23:00:56 +00:00
joost
14d24130d1
* EnterDir and LeaveDir cannot be used in threads, so a threadvar is used
...
to store the current directory of each thread.
git-svn-id: trunk@19902 -
2011-12-28 21:38:35 +00:00
marco
fa7df86f26
* improved unknown link errormsg to list current module name.
...
* Added some new units to clean rules. rst and main program objectcode
are still not cleaned properly though
git-svn-id: trunk@19901 -
2011-12-28 19:08:40 +00:00
marco
881caba4c3
* power functions added
...
git-svn-id: trunk@19900 -
2011-12-28 18:11:45 +00:00
florian
a710a7cf7f
* translate short int into cshort, patch by barlone, resolves #20956
...
git-svn-id: trunk@19899 -
2011-12-28 17:49:08 +00:00
florian
ea8ae7c867
* update of Portuguese compiler message file by Marcelo B Paula, resolves #20963
...
git-svn-id: trunk@19898 -
2011-12-28 17:44:46 +00:00
Jonas Maebe
a0c2e6a683
* replaced LGPL license notice with reference to COPYING.FPC to make it
...
clear that the static linking exception also applies to these units (they
were all written by FPC core team members except for colorsel, but that
unit was explicitly released with the static linking exception as well:
http://andis63.homeftp.net/downloads/colorsel/COPYING )
git-svn-id: trunk@19897 -
2011-12-28 12:49:46 +00:00
joost
47863d1167
* The dictionary has been splitted into two dictionaries, one global and
...
one specific to a package. This because the old dictionary contained
global variables and variables that were depending on the package being
handled. That leads to problems when handling multiple packages at the same
time in multiple threads.
git-svn-id: trunk@19896 -
2011-12-27 20:37:01 +00:00