sergei
d2187257e7
- removed unused type and variable
...
git-svn-id: trunk@29323 -
2014-12-25 10:25:21 +00:00
sergei
38068acd42
* Removed "packed" attribute from TUC_Prop on alignment-sensitive targets (temporary solution, see comment in source), and from TUCA_DataBook on all targets (does not add noticeable bloat because this type is used just a few times. OTOH having unaligned pointers in record hurts performance on all targets).
...
This change fixes fpwidestring-related tests at least on mips-linux.
git-svn-id: trunk@29322 -
2014-12-25 10:11:16 +00:00
sergei
38d5be4182
+ Comment about behavior of DBRA instruction
...
git-svn-id: trunk@29321 -
2014-12-25 09:32:10 +00:00
sergei
9a72100405
- removed obsolete and commented out variable
...
git-svn-id: trunk@29320 -
2014-12-25 09:25:49 +00:00
Jonas Maebe
476e3fabb7
* fixed big endian bugs in variant dispatching
...
* fixed size calculation of vardatetime arguments on 32 bit systems with
variant dispatching
git-svn-id: trunk@29319 -
2014-12-24 14:13:49 +00:00
Tomas Hajny
ee82b6ea0b
* do not mention OS/2 and EMX on option list for x86_64
...
git-svn-id: trunk@29318 -
2014-12-23 23:08:43 +00:00
joost
d89bdae0cc
* Also check dependencies on make clean, to resolve inherited options/package variants
...
git-svn-id: trunk@29317 -
2014-12-23 22:06:24 +00:00
florian
c34bffd56a
* $SUBARCH => $FPCSUBARCH
...
git-svn-id: trunk@29316 -
2014-12-23 20:48:35 +00:00
nickysn
b193073e32
+ support the $fpcmemorymodel macro in fpc.cfg
...
git-svn-id: trunk@29315 -
2014-12-23 18:55:57 +00:00
pierre
dde2207866
go32v2 must also define NO_THREADING, as threads are not supported on this target
...
git-svn-id: trunk@29314 -
2014-12-23 16:12:06 +00:00
joost
3e9c4a79a5
* Added TPackageVariant.SourcePath and .IncludePath
...
git-svn-id: trunk@29313 -
2014-12-22 16:25:54 +00:00
Jonas Maebe
72642042e4
* fixed fpcdir setting
...
git-svn-id: trunk@29312 -
2014-12-21 15:38:52 +00:00
joost
5851e13bf5
* Allow recursive usage of the dictionary
...
git-svn-id: trunk@29311 -
2014-12-21 15:14:48 +00:00
Jonas Maebe
6fb86a34bb
* the i386/x86-64 cpu units depend on objpas
...
git-svn-id: trunk@29310 -
2014-12-21 15:08:16 +00:00
joost
92eb52afab
* Allow the usage of the dictionary in comiler-options
...
git-svn-id: trunk@29309 -
2014-12-21 15:07:14 +00:00
svenbarth
b38fb606cc
Fix for Mantis #27185 .
...
ngenutil.pas:
* AddToStructInits: also process the class constructors/destructors of nested types
+ added test
git-svn-id: trunk@29308 -
2014-12-21 14:01:32 +00:00
joost
0e9bfdcf68
* Add package-variant directory *after* the target-string
...
git-svn-id: trunk@29307 -
2014-12-20 19:34:37 +00:00
marco
70e560d6e4
* GTK demoes compile again. Mantis #027172
...
git-svn-id: trunk@29306 -
2014-12-19 19:11:19 +00:00
lacak
e82b7a953d
fcl-db: sqldb: set default return value for function StartImplicitTransaction. Can be overriden by descendants.
...
git-svn-id: trunk@29305 -
2014-12-19 09:33:48 +00:00
joost
a829420d09
* Changed location of examples and documentation on unices to
...
share/doc/fpc-<compilerversion>/<packagename>
git-svn-id: trunk@29304 -
2014-12-18 16:21:05 +00:00
pierre
78761c106f
Avoid blocking pipe read calls by only asking as many bytes as returned by NumBytesAvailable
...
git-svn-id: trunk@29303 -
2014-12-18 12:44:55 +00:00
pierre
fdbfe7dae0
Remove double unixcp entry which caused installation failure
...
git-svn-id: trunk@29302 -
2014-12-17 09:57:52 +00:00
Jonas Maebe
a7d36de9ae
* associate debug information for local variables with the second instead of
...
first java bytecode of a method, because when using javac for code
completion (as done by NetBeans), it assumes that all variable debug info
associated with the first byte code is for parameters. Furthermore, this
code in javac contains a range error when a lot of extra "parameters" are
declared this way, so it used to crash in some cases.
git-svn-id: trunk@29301 -
2014-12-16 20:52:46 +00:00
pierre
905c47ef84
Fix error with .ref pseudo-op. with assembler labels that still had dollar signs on AIX assembler
...
git-svn-id: trunk@29300 -
2014-12-15 09:10:50 +00:00
marcus
7c42cb8b0c
Amicommon: Change back WindowPtr in DiskSize/DiskFree
...
git-svn-id: trunk@29299 -
2014-12-14 22:38:05 +00:00
pierre
788c6a6f83
Do not call Free if constructor failed
...
git-svn-id: trunk@29298 -
2014-12-14 22:14:00 +00:00
marcus
9c635671ce
amicommon: DiskSize/DiskFree implemented with some helper functions
...
git-svn-id: trunk@29297 -
2014-12-14 21:33:28 +00:00
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