florian
677d30182a
* improve error location reporting, resolves #26279
...
git-svn-id: trunk@29296 -
2014-12-14 21:18:28 +00:00
florian
4289dd667d
* managed types cause a different warning/hint when they are
...
used uninitialized, so users can turn off these messages if they want, resolves #24601 and #26403
git-svn-id: trunk@29295 -
2014-12-14 20:48:54 +00:00
marcus
6767ed7103
Amiga, AROS, MorphOS: Sysutils, GetDirs must also cut at DriveSeparator
...
git-svn-id: trunk@29294 -
2014-12-14 20:16:23 +00:00
florian
c9ba9665dd
* set nf_internal for if nodes generated by assert, prevent warning for assert(true); resolves #26467
...
git-svn-id: trunk@29293 -
2014-12-14 19:41:22 +00:00
florian
f630fb94b5
* do not warn when internally generated if nodes are simplified
...
git-svn-id: trunk@29292 -
2014-12-14 19:40:17 +00:00
florian
09220c6ad3
+ add GetIconInfo, patch by Andrew G. Khodotov, resolves #26772
...
git-svn-id: trunk@29291 -
2014-12-14 18:11:03 +00:00
florian
45d3bc623c
* change define WINDOWS to MSWINDOWS so it does not apply to WinCE
...
git-svn-id: trunk@29290 -
2014-12-14 18:06:29 +00:00
florian
f1eb00a450
* do not issue a hint about uninitialized var-parameters, resolves #25916
...
git-svn-id: trunk@29289 -
2014-12-14 17:54:37 +00:00
marcus
21dcedb18e
AROS: corrected type of TDiskObject.do_type
...
git-svn-id: trunk@29288 -
2014-12-14 17:45:21 +00:00
florian
2eef483aaf
* make fpmkunit shellapi independent by adding the three necessary contants manually,
...
this makes dependencies easier after r29284, resolves also #27164
git-svn-id: trunk@29285 -
2014-12-14 15:46:26 +00:00
joost
2d4511101d
* Use the windows-api instead of findfirst/findnext to remove a full path. The latter
...
seems to have some locking issues. See bug #21868 .
git-svn-id: trunk@29284 -
2014-12-14 10:52:05 +00:00
florian
bb01872821
+ handle -CPPACKENUM and -CPPACKRECORD, resolves #27153
...
git-svn-id: trunk@29283 -
2014-12-13 21:08:18 +00:00
florian
d540d56908
* unified internal errors
...
git-svn-id: trunk@29280 -
2014-12-13 11:46:59 +00:00
joost
5b7f168d2c
* Set the full path to the fpc-binary in the fppkg-configuration file
...
git-svn-id: trunk@29279 -
2014-12-13 11:24:21 +00:00
michael
a127bfa51d
* Fixed tex marker
...
git-svn-id: trunk@29276 -
2014-12-12 20:02:09 +00:00
svenbarth
77df68b2d9
Fix basically a regression since the reworking of Delphi compatible generics. The typenames of specialization now (again) contains the type names of the parameters. Additionally they are nicely formatted (TypeName<UnitName1.TypeName1[,...]>. If the full string should be longer than 255 characters an ellipsis will be added accordingly instead of the remaining parameters.
...
symdef.pas, tabstractrecorddef:
+ new private field rttistring to hold the string generated by RttiName
* instead of generating the RTTI name each time on the fly it is generated only once and additionally contains (symbollically) the amount of type parameters for generics and all type parameters for specializations including their units
git-svn-id: trunk@29275 -
2014-12-12 17:25:15 +00:00
svenbarth
27f398851b
The assumptions of test tthlp22 have changed.
...
tests/test/tthlp22.pp:
* this test fails no longer as Mode Delphi by default also contains modeswitch TypeHelpers
* adjust program name for consistency
git-svn-id: trunk@29274 -
2014-12-12 17:20:13 +00:00
pierre
ddf1a3ea76
Set filemode to READ_ONLY for CopyFile source and correct error in previous commit
...
git-svn-id: trunk@29273 -
2014-12-12 16:27:40 +00:00
pierre
5240a309e0
Retry opening using read only mode for input file in CopyFile function, never generate an error
...
git-svn-id: trunk@29272 -
2014-12-12 14:43:58 +00:00
pierre
42b3a51333
* Try to call tarwriter.addfile multiple times
...
in case of failure.
Output default '###File Open failed###' string if failed 5 times
Write out error message at exit.
Fail only if primary file log, dbdigest.cfg or longlog writing failed.
git-svn-id: trunk@29271 -
2014-12-12 14:16:32 +00:00
svenbarth
7b216d7fa6
Fix for Mantis #27120 .
...
pdecobj.pas, parse_object_members:
* also allow class fields for helper types
+ added tests
git-svn-id: trunk@29270 -
2014-12-12 13:57:43 +00:00
pierre
43213dc637
Change AddFile method from procedure to boolean function
...
git-svn-id: trunk@29269 -
2014-12-12 13:55:26 +00:00
Tomas Hajny
ec24138bfa
+ add new packages resulting from splitting of utils
...
git-svn-id: trunk@29268 -
2014-12-11 23:51:54 +00:00
Tomas Hajny
335dd5a05e
* fix another mistake in description
...
git-svn-id: trunk@29267 -
2014-12-11 23:04:40 +00:00
Tomas Hajny
fdd389e72b
* fix another mistake in description
...
git-svn-id: trunk@29266 -
2014-12-11 23:01:43 +00:00
Tomas Hajny
074f9a1e66
* fix typo in description (creaty)
...
git-svn-id: trunk@29265 -
2014-12-11 23:00:32 +00:00
Tomas Hajny
5b3cf423bf
* increase maximum amount of packages/lines per tab to 60 - make space for new utils packages
...
git-svn-id: trunk@29264 -
2014-12-11 22:45:15 +00:00
Tomas Hajny
e659fd73eb
* fix pkglist command to include also packages built for all targets (relevant mostly for utils)
...
git-svn-id: trunk@29263 -
2014-12-11 22:38:09 +00:00
florian
dd967eb136
* handle records in iso mode properly if no tag-field is given
...
git-svn-id: trunk@29259 -
2014-12-11 19:21:13 +00:00
Jonas Maebe
7897c81c77
* regenerated by top-leve make all
...
git-svn-id: trunk@29258 -
2014-12-11 19:11:14 +00:00
Jonas Maebe
63bd65942b
* fall back to UTF-8 for darwin in unixcp.GetSystemCodePage if no LC_*/LANG
...
environment variables are set
* if no LC_*/LANG environment variables are set, let cwstring fall back to
unixcp.GetSystemCodePage
o this is mainly to avoid problems on OS X, where under certain
circumstances these variables are not set for GUI programs and
as a result we set the system code page to ASCII
git-svn-id: trunk@29257 -
2014-12-11 19:11:11 +00:00
Tomas Hajny
3998c2f7fa
* make sure that fpcmake.inc is properly (re-)built as necessary - pass the proper path to data2inc
...
git-svn-id: trunk@29256 -
2014-12-11 16:14:40 +00:00
Tomas Hajny
77ef230ff4
* fixed typo in description
...
git-svn-id: trunk@29255 -
2014-12-11 15:18:40 +00:00
lacak
3fe277f2e4
fcl-db: sqlite: remove unused published property TSQLite3Connection.Options: TSqliteOptions, which hides newly added TSQLConnection.Options
...
git-svn-id: trunk@29252 -
2014-12-11 07:33:55 +00:00
nickysn
c39128708e
+ implemented inc/dec for huge pointers
...
git-svn-id: trunk@29251 -
2014-12-10 23:52:46 +00:00
joost
d4ee6fb0e5
* Placed bootstrapping the fpmkunit in a separate make-target
...
git-svn-id: trunk@29249 -
2014-12-10 21:46:15 +00:00
joost
fb3125d61a
* Pass FPCMAKEOPT to the compile when bootstrapping the fpmkunit. For
...
example to pass -dNO_UNIT_PROCESS
git-svn-id: trunk@29248 -
2014-12-10 21:07:35 +00:00
joost
6c29775e09
* Use separate repositories for each compiler
...
version by adding the version-number to the repository url
git-svn-id: trunk@29244 -
2014-12-10 09:50:12 +00:00
lacak
6c10d2ddad
fcl-db: sqlite: map INTEGER PRIMARY KEY columns (ROWID) to TAutoIncField (as part of adding support for Refreshing AutoInc fields)
...
Update tests (use as test table FPDEV2, which is automatically removed at end of test, remove unused variables)
git-svn-id: trunk@29243 -
2014-12-10 07:31:58 +00:00
sergei
8f4430e795
* tcg.translate_register: check that reg.allocator is not nil before calling its method (in case of "assembler nostackframe" function returning an x87 float compiler tries to translate NR_ST which is used for function result).
...
* tcg.a_reg_dealloc: ignore NR_NO, prevents creating useless deallocations of NR_DEFAULTFLAGS on MIPS targets which have NR_DEFAULTFLAGS=NR_NO.
git-svn-id: trunk@29242 -
2014-12-10 07:13:14 +00:00
svenbarth
fe49a4b60c
Fix Fp*Stat calls when compiling with FPC_USE_LIBC for x86_64-linux.
...
rtl/linux/ostypes.inc:
* correctly define the _STAT_VER_* constants for x86_64 (the ifdefs are based on those in the C header; for other platforms this needs to be checked)
git-svn-id: trunk@29241 -
2014-12-09 21:23:39 +00:00
svenbarth
01278e2800
Fix three warnings when compiling with FPC_USE_LIBC.
...
osmacro.inc:
* FpFstat, fpLstat and FpStat: correctly set the result value instead of relying on the result location being the same for cdecl functions as for register functions
git-svn-id: trunk@29240 -
2014-12-09 21:21:45 +00:00
svenbarth
e2c546b26f
Regenerate msg*.inc files
...
git-svn-id: trunk@29239 -
2014-12-09 21:20:05 +00:00
svenbarth
e614914016
Fix a grammatical error in warning asmr_w_global_access_without_got
...
git-svn-id: trunk@29238 -
2014-12-09 21:19:21 +00:00
lacak
e26d106b5b
fcl-db: sqldb: some databases supports inserting of explicit values into "autoincrementing" columns. So in case when ftAutoInc field has already supplied value, do not do fetch of LastID
...
git-svn-id: trunk@29237 -
2014-12-09 10:46:06 +00:00
Tomas Hajny
dbd07e7583
* add missing description for regexpr
...
git-svn-id: trunk@29236 -
2014-12-08 23:26:25 +00:00
Tomas Hajny
fb95334a66
* add missing description for zlib
...
git-svn-id: trunk@29235 -
2014-12-08 23:21:33 +00:00
Tomas Hajny
c4abfa3788
* add missing description for x11
...
git-svn-id: trunk@29234 -
2014-12-08 23:20:38 +00:00
Tomas Hajny
d12beae03e
* add missing description for unzip
...
git-svn-id: trunk@29233 -
2014-12-08 23:19:15 +00:00
Tomas Hajny
a685a34455
* add missing description for tcl
...
git-svn-id: trunk@29232 -
2014-12-08 23:16:03 +00:00