Commit Graph

44420 Commits

Author SHA1 Message Date
florian
2c26c35eb6 * updated copyright year to 2015
+ added "and others" if translation was not updated yet

git-svn-id: trunk@29383 -
2015-01-04 15:26:29 +00:00
florian
29d4037a9c * make integer division instruction (div/idiv) on x86 dependent on the
resulttype of the div node set by the type checking pass, this is 
  also how the generic code generator handles it, resolves #27173

git-svn-id: trunk@29382 -
2015-01-04 13:08:57 +00:00
Károly Balogh
3cdf2d0e53 AROS: fixed the new do_filesize() code to build on AROS.
git-svn-id: trunk@29381 -
2015-01-04 01:55:49 +00:00
Károly Balogh
f2c7a3efbf m68k: some assembler SwapEndian() implementations I did a while back. disabled for now, because they weren't extensively tested and benchmarked
git-svn-id: trunk@29380 -
2015-01-04 01:39:49 +00:00
Károly Balogh
3d2fca152b amicommon: a better, faster implementation of do_filesize(). since it no longer seeks, speed should be constant and not depend on the filesize and underlying FS fragmentation, among others
git-svn-id: trunk@29379 -
2015-01-04 01:32:37 +00:00
Jonas Maebe
b0c7415f3a * fixed CharLengthPChar() implementation and added comment (from Windows
sysutils unit) about what it does (this routine currently isn't used
    anywhere, so the bugs didn't really have any impact)

git-svn-id: trunk@29378 -
2015-01-03 22:58:10 +00:00
marco
95b005cab7 * merged in IPC for Solaris based on 2.6.4 patch, Mantis #27223
git-svn-id: trunk@29377 -
2015-01-03 16:42:27 +00:00
marco
928a11cf8c * rename boyscout to lower case. Mantis #27214
git-svn-id: trunk@29376 -
2015-01-03 14:04:23 +00:00
marco
6db1f5bfa8 * Delphi compat changes pchar->pansichar. add pppansichar to systemh.inc
git-svn-id: trunk@29375 -
2015-01-03 13:54:59 +00:00
blikblum
d0c8c121ab Change variables from PChar to PAnsiChar
Change FileName to UTF8String

git-svn-id: trunk@29374 -
2015-01-03 10:58:48 +00:00
pierre
cc537a2e76 Try to avoid uncorrect optimization
git-svn-id: trunk@29373 -
2015-01-02 23:00:22 +00:00
Károly Balogh
7a91d5f495 m68k: oops, unbroke the build with softfpu
git-svn-id: trunk@29372 -
2015-01-02 16:00:53 +00:00
Károly Balogh
d000b1bc7c m68k: basic 68881 fpu support. probably still broken at umpzillion places, and mostly untested, but at least it builds the RTL and all packages successfully with -Cp68020 -Cf68881 instead of dying with random internalerrors() and now even emits actual FPU opcodes.
git-svn-id: trunk@29370 -
2015-01-02 05:29:45 +00:00
joost
588256f79a * Added missing path-delimiter between target and packagevariant path
git-svn-id: trunk@29367 -
2015-01-01 13:55:51 +00:00
marco
43121ed5e1 * Fix for #27228
git-svn-id: trunk@29365 -
2015-01-01 00:27:18 +00:00
marco
4733e50de5 * system unit additions from mantis #27206. Exports some dynarray related RTTI functions.
git-svn-id: trunk@29364 -
2015-01-01 00:21:40 +00:00
joost
ff7ce315e6 * Replaced single events in TBuildEnine with TNotifyEventCollection. This
way multiple events can be bound on actions.
 * Added events to TCustomInstaller. The TBuildEngine is not initialized
   during the creation of the packages. So setting TBuildEngine-events
   was cumbersome.

git-svn-id: trunk@29363 -
2014-12-31 15:47:09 +00:00
florian
f813703cf3 * fixes several issues with loop unrolling
git-svn-id: trunk@29362 -
2014-12-31 15:45:06 +00:00
michael
868ba1560f * Applied patch by Michael Van Ham (bug ID 27220)
git-svn-id: trunk@29361 -
2014-12-30 07:35:31 +00:00
sergei
da8346079f * mips-linux: Enabled tf_safecall_exceptions (it just works, no reason to keep disabled) and also tf_pic_uses_got (so that checks elsewhere in compiler set pi_needs_got flag; actual functionality is not changed because currently MIPS just forces pi_needs_got unconditionally).
git-svn-id: trunk@29360 -
2014-12-29 23:26:40 +00:00
sergei
b46ce6b70e * Fixed condition to output div/divu having R0 as first operand as non-macros.
git-svn-id: trunk@29359 -
2014-12-29 23:19:01 +00:00
florian
0a19825e25 * elf_x86_64 -> elf_x86_64_sol2, should resolve #27199
git-svn-id: trunk@29358 -
2014-12-29 17:57:45 +00:00
florian
3988de549b * updates for make 3.82
git-svn-id: trunk@29357 -
2014-12-29 11:44:35 +00:00
sergei
57094d495b + MIPS: implement inline full 64-bit multiplication, for cases when overflow checking is off and CPU is set to mips32r2.
git-svn-id: trunk@29354 -
2014-12-28 22:03:15 +00:00
joost
7c2295b83b * Avoid an unlimited loop when only one package is being installed
git-svn-id: trunk@29351 -
2014-12-28 15:42:05 +00:00
michael
8e7d649a4d * Optimized variant of patch in bug ID #27215
git-svn-id: trunk@29350 -
2014-12-28 14:51:31 +00:00
joost
164d5a4f38 * Added ability to build fpmakes with multiple packages
git-svn-id: trunk@29349 -
2014-12-28 13:28:46 +00:00
marco
4956784613 * fix for #26846, wrong line continuation character in gba and nds makefile.fpc's
git-svn-id: trunk@29347 -
2014-12-27 23:24:12 +00:00
florian
1178fdc98f * force objects and records only into memory if their address is passed, hint from Jonas, improves code after r29139
git-svn-id: trunk@29344 -
2014-12-27 16:42:34 +00:00
joost
66adabf63c * Combine multiple packages into one manifest.xml
git-svn-id: trunk@29342 -
2014-12-27 15:41:26 +00:00
Károly Balogh
a3441a178e MorphOS: fix the unified video unit to not crash due to missing library inits
git-svn-id: trunk@29339 -
2014-12-27 01:18:40 +00:00
Károly Balogh
3a5f11ab2f Amiga-likes: better FV system integration.
* focus/unfocus event support
* use Keyboard.WaitForSystemEvent() instead of waiting for a fixed time.
  this allows very snappy event response times (you can really feel this
  while typing/editing for example) together with blinking cursor support
  this really enhances the IDE experience on Amiga-likes.

git-svn-id: trunk@29337 -
2014-12-26 23:39:54 +00:00
Károly Balogh
4d9881c2b4 Amiga-likes: set the window/screen title with IDE version information
git-svn-id: trunk@29336 -
2014-12-26 23:30:54 +00:00
Károly Balogh
0f10a71fa0 Amiga-likes: huge keyboard/video unit rework
* unified video unit for all three systems
* faster drawing (simple Window instead of GZZ, which introduces an extra layer)
* helper function to wait for a system event with a timeout, to be used by FV
* mouse events now hooked on IntuiTicks instead of MouseMove, this helps to
  avoid flooding the message system with events even on classic Amigas
* better resize event support
* focus/unfocus event support
* fixed to empty the Window's message port properly on close
* cursor blinking support (hooked on IntuiTicks)
* minor bugfixes, code cleanup
* probably more...

git-svn-id: trunk@29335 -
2014-12-26 23:25:25 +00:00
Károly Balogh
136f845576 Amiga-likes: do not call Drivers.GetSystemEvent, FV doesn't really handle it, and causes issues if the system events are swallowed by various components. the IDE has direct system event integration in its main loop.
git-svn-id: trunk@29332 -
2014-12-26 23:09:43 +00:00
Károly Balogh
3dcccea788 FreePascal -> Free Pascal in the IDE about window. we call ourselves Free Pascal everywhere, so be consistent
git-svn-id: trunk@29330 -
2014-12-26 20:02:58 +00:00
svenbarth
5848637db3 Fix generation of class names for specializations.
symdef.pas, tstoreddef:
  * is_specialization: fix exit condition to correctly recognize specializations

+ added test

git-svn-id: trunk@29328 -
2014-12-26 18:14:52 +00:00
Károly Balogh
a1ba11ff88 amunits/morphunits: make intuition/EndRefresh() to accept a LongBool as second argument instead of longint. arosunits already defines it as LongBool.
git-svn-id: trunk@29327 -
2014-12-26 18:01:04 +00:00
nickysn
1f5fb65bcb + always enable smartlinking on i8086 in the default fpc.cfg
git-svn-id: trunk@29325 -
2014-12-25 18:09:53 +00:00
sergei
ba61a9f95c * Fix bug #26370: A multi-dimensional variant array is "empty" when any of its dimensions has zero range, range of other dimensions does not matter.
git-svn-id: trunk@29324 -
2014-12-25 16:59:52 +00:00
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