Commit Graph

8516 Commits

Author SHA1 Message Date
Jonas Maebe
89be8d45e3 * use TrueBoolStrs/FalseBoolStrs for *StrToBool* (mantis #16848)
git-svn-id: trunk@15764 -
2010-08-10 13:06:22 +00:00
daniel
6f2b097d63 + Add futex
git-svn-id: trunk@15747 -
2010-08-08 14:24:46 +00:00
Jonas Maebe
a91e57a9a3 * the iso7185 unit depends on the system unit (fixes make -j 2)
git-svn-id: trunk@15735 -
2010-08-07 21:35:19 +00:00
florian
786c4e206f * enables compilation of iso7185 unit on all targets
git-svn-id: trunk@15730 -
2010-08-06 17:45:42 +00:00
florian
7acdfa8932 - removed overseen overleft from iso goto implementation experiments
git-svn-id: trunk@15716 -
2010-08-06 07:42:34 +00:00
florian
24fea58b92 + initial implementation of iso style gotos in iso mode
* made setjmp/longjmp accessible to the compiler by compiler proc, they are used by the iso goto code

git-svn-id: trunk@15711 -
2010-08-05 19:20:46 +00:00
florian
9e053edf2e * fix iso i/o with unix style line feeds
git-svn-id: trunk@15706 -
2010-08-03 21:43:36 +00:00
marco
1181115baa * getlocalformatsettings, Mantis 10389
git-svn-id: trunk@15691 -
2010-08-02 20:32:50 +00:00
Jonas Maebe
56f8b88125 * also initialise locgrowheapsizesmall in InitHeapThread, should fix crashes
on Windows after r15618 (not sure why things worked fine elsewhere)

git-svn-id: trunk@15688 -
2010-08-02 14:08:21 +00:00
florian
79fa2eb539 * support of iso pascal like i/o in iso mode
git-svn-id: trunk@15685 -
2010-07-31 20:46:27 +00:00
florian
c506913e9b * iso conformant writing of floats (using e instead of E) in iso mode
git-svn-id: trunk@15684 -
2010-07-31 20:45:55 +00:00
florian
2d042aca6b + system unit depends on compproc.inc
git-svn-id: trunk@15683 -
2010-07-31 20:45:00 +00:00
florian
8b3bd36ef0 * use iso reset/rewrite with automatic assignmentin iso mode
git-svn-id: trunk@15682 -
2010-07-31 20:44:32 +00:00
florian
73d788ff96 + iso7195 unit
git-svn-id: trunk@15680 -
2010-07-31 20:42:52 +00:00
florian
d0ea23f39e * write false/true lower case in iso mode
git-svn-id: trunk@15678 -
2010-07-31 20:40:43 +00:00
michael
4d2786d238 * Patch from Luiz americo to use FPList where possible
git-svn-id: trunk@15663 -
2010-07-30 09:06:18 +00:00
paul
dbbe861797 rtl: make fgl compilable with 2.4.0
git-svn-id: trunk@15658 -
2010-07-29 01:47:57 +00:00
paul
790f6b0a4b compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax
rtl: fix fgl to use the new syntax
tests: fix generics tests to use the new syntax

git-svn-id: trunk@15646 -
2010-07-27 00:59:32 +00:00
micha
829f8164fc * rtl/heap: simplify r15618, be more conservative towards memory use, especially since performance improvement is hardly measurable
git-svn-id: trunk@15636 -
2010-07-25 17:23:15 +00:00
marco
79678bfbe2 * fix for 17008, changed bytes component of mapviewoffile(ex) to size_t
git-svn-id: trunk@15630 -
2010-07-24 19:03:59 +00:00
Jonas Maebe
e9c922b193 * fixed compilation with Delphi (patch by Sven Barth, mantis #17016)
git-svn-id: trunk@15627 -
2010-07-23 15:44:15 +00:00
Jonas Maebe
1258fd6ef0 - disabled FpSigTimedWait also for haiku (based on patch by
Olivier Coursiere, mantis #16996)

git-svn-id: trunk@15620 -
2010-07-20 20:54:04 +00:00
Jonas Maebe
e150c2c521 * dynamically grow the size of oschunks allocated for use by the memory
pools for small blocks (fixedfreelists) when lots of such oschunks
    are allocated successively, in order to reduce the overhead of
    allocating such chunks from the OS (and of freeing them afterwards)

git-svn-id: trunk@15618 -
2010-07-20 10:54:21 +00:00
Jonas Maebe
0207e5f8cd * fixed windows compilation after r15599
git-svn-id: trunk@15606 -
2010-07-19 09:24:26 +00:00
Jonas Maebe
62ece31615 - disabled fpsigtimedwait for darwin because it doesn't exist there
git-svn-id: trunk@15605 -
2010-07-18 22:07:33 +00:00
daniel
1009a84e25 + Add modify_ldt to linux unit
+ Add sched_yield to linux unit
  - Remove clone for m68k from linux unit (unimplemented assembler section)
  + Add fpsigtimedwait to baseunix unit

git-svn-id: trunk@15602 -
2010-07-18 21:53:26 +00:00
Jonas Maebe
d7cdd9afba * allow tthread-based threads to only start executing once the constructor
has finished running (based on patch by Jared Davison, mantis #16884)

git-svn-id: trunk@15599 -
2010-07-18 16:31:25 +00:00
marco
5564ab3582 * added cdecl to some overloaded wsprintfa/w variants. Mantis 16915
git-svn-id: trunk@15561 -
2010-07-13 03:44:04 +00:00
joost
3e165e2dcf * Fixed compilation on Linux after r15557
git-svn-id: trunk@15560 -
2010-07-12 21:38:55 +00:00
Jonas Maebe
bfc1a6ff1c + added support for intialising/finalising threads not started via the FPC
runtime

git-svn-id: trunk@15557 -
2010-07-12 16:16:50 +00:00
Jonas Maebe
9273856e84 * disallow pusha*/popa* for x86_64 (mantis #14862)
* disallow pushfd/popfd for x86_64 (mantis #14862)
  * fixed assembling popfq with the internal assembler (it needs a rex.w
    prefisx, while pushfq doesn't)
  * changed the default opcode size of pushf/popf/pusha/popa in
    {$asmmode intel} from "native size" to 16 bit (compatible with Intel
    manuals and Kylix; in AT&T mode, the default size for those operations
    remains the native one)
  * changed pushf/popf in rtl/i386/* into pushfd/popfd because of the
    previous change

git-svn-id: trunk@15546 -
2010-07-10 16:22:46 +00:00
daniel
86cbf76b92 * Fix/improve the value of "code" that is returned for val(string,enum,code) in
case the string is not recognized.

git-svn-id: trunk@15545 -
2010-07-10 15:38:45 +00:00
Jonas Maebe
26cc281390 * fixed real48 to double conversion for 0.0 (patch by "jeng", mantis #16863)
git-svn-id: trunk@15543 -
2010-07-10 12:15:13 +00:00
Jonas Maebe
a302cbeff1 * more Win64 -> FPC_HAS_TYPE_EXTENDED check conversions
git-svn-id: trunk@15534 -
2010-07-07 19:02:18 +00:00
Jonas Maebe
68ee2ca193 * make use of x87 dependent on availability of FPC_HAS_TYPE_EXTENDED
define instead of on win64

git-svn-id: trunk@15533 -
2010-07-07 18:59:04 +00:00
Jonas Maebe
8a891690cc * prefetch heap status in sysfreemem
* re-layouted code in sysfreemem_fixed so that the most likely case is on
    the fall-through path
  * moved dec(poc^.used) in sysfreemem_fixed earlier so that it doesn't
    cause a dependency stall for the "if poc^.used<=0" test later

git-svn-id: trunk@15515 -
2010-07-03 12:45:55 +00:00
marco
d8707ec5d3 * hmodule should scale with pointertype on non-windows.
git-svn-id: trunk@15510 -
2010-07-02 20:08:05 +00:00
Jonas Maebe
7d27f4c21d * also support variants for %s in sysutils.format (mantis #16787)
git-svn-id: trunk@15509 -
2010-07-02 19:59:58 +00:00
florian
3668be7ee4 * minimal implementation by Benjamin 'BeRo' Rosseaux
git-svn-id: trunk@15484 -
2010-06-27 11:07:35 +00:00
florian
5692c9e787 * tabs by spaces replaced
git-svn-id: trunk@15483 -
2010-06-27 11:04:27 +00:00
Jonas Maebe
b7796b4340 * enable the use of formal classes to replace some "id" types with actual
class types

git-svn-id: trunk@15480 -
2010-06-26 10:07:21 +00:00
pierre
8bcad0c07f avoid range check error in ParseCompilationUnit
git-svn-id: trunk@15478 -
2010-06-25 22:21:38 +00:00
florian
138c5d1570 + feature switch RESOURCES
* use of feature switches in objpas updated
+ build unit objpas for embedded targets

git-svn-id: trunk@15473 -
2010-06-22 12:37:41 +00:00
florian
a2eaa2db34 o patch by Jeppe Johansen, resolves #16769
+ Added a few registers to the stm32f103 rtl unit (interrupt controller related) 

git-svn-id: trunk@15470 -
2010-06-22 11:47:36 +00:00
Jonas Maebe
6308630e3e * rtl changes part of r15460
git-svn-id: trunk@15462 -
2010-06-21 09:26:08 +00:00
Tomas Hajny
03f52902f3 * do not use / as DriveSeparator
git-svn-id: trunk@15454 -
2010-06-19 16:22:10 +00:00
Tomas Hajny
a2af005101 * fix for web bug #16651
git-svn-id: trunk@15452 -
2010-06-19 16:15:40 +00:00
michael
45d60dbb97 * Patch from Mattias Gaertner to fix missing classname placeholder
git-svn-id: trunk@15448 -
2010-06-18 19:40:12 +00:00
Jonas Maebe
194855eee0 * de-tabbed
git-svn-id: trunk@15419 -
2010-06-13 11:44:33 +00:00
michael
037c783442 * Patch from Mattias gaertner to support lazarus lfm encoding in TParser
git-svn-id: trunk@15415 -
2010-06-12 20:54:33 +00:00