florian
90d71ee7da
* SwapEndian(<16 Bit>) needs inline in the interface section as well
...
git-svn-id: trunk@13454 -
2009-07-26 13:57:51 +00:00
ivost
02d177c885
* added FillQWord, IndexQWord, but CompareQWord is still missing
...
git-svn-id: trunk@13282 -
2009-06-15 21:35:52 +00:00
Jonas Maebe
b77bff2996
+ cardinal/qword overloads for interlocked* routines (mantis #13281 )
...
git-svn-id: trunk@13127 -
2009-05-10 15:22:38 +00:00
Jonas Maebe
ab8b32dafb
- removed PARAOUTFILE define and ifdefs
...
git-svn-id: trunk@12898 -
2009-03-15 12:31:02 +00:00
Jonas Maebe
6165536b5e
+ added {$modeswitch objectivec1}/-Mobjectivec1 mode switch to enable
...
the use of Objective-C 1.0 constructs. Because it is a mode switch, it
can be used cumulatively with every syntax mode. Note that a {$mode xxx}
statement resets all mode switches as well, so you cannot use the
-Mobjectivec1 variant if you have such a statement in a unit. This
modeswitch is currently only enabled for Darwin/PowerPC and Darwin/i386,
as the backend support is not yet implemented for other platforms.
+ implemented selector() statement that can be used to create an Objective-C
selector for the message with the specified *constant* name (in the future,
it will also work for Objective-C method identifiers)
+ added SEL type to the system unit (the selector() statement returns it)
+ added all Objective-C segments to the assembler writers
+ (currently mostly dummy) objc1 unit that is automatically included if the
{$modeswitch objectivec1} statement is used
+ some tests for the selector() statement
git-svn-id: trunk@12870 -
2009-03-08 18:40:32 +00:00
Jonas Maebe
213c00b17f
* updated check for minimum version required to build trunk (at least
...
FPC 2.2.2)
git-svn-id: trunk@12671 -
2009-02-03 11:43:42 +00:00
Jonas Maebe
b912e00440
* renamed rol/ror functions into rolbyte/rolword/roldword/rolqword
...
(and the same for ror), because their operation is very dependent on the
operand size, and it's fairly easy to misjudge the bitwidth of the outcome
of an expression in Pascal if you are not intimately familiar with the
language (or if you don't know the exact types of all involved values in
an expression)
git-svn-id: trunk@12621 -
2009-01-28 12:56:27 +00:00
florian
f64dbd70cf
* make unicodechar equivalent to widechar, resolves #12233
...
git-svn-id: trunk@11830 -
2008-09-27 12:40:42 +00:00
Jonas Maebe
6b473862cf
* give an error stating that you have to use the latest released compiler
...
to build 2.3.1 since the unicode branch merge
git-svn-id: trunk@11795 -
2008-09-16 21:59:15 +00:00
tom_at_work
8a5a6db065
* rol/ror inlines for powerpc/powerpc64 (only for 32/64 bit operands for now)
...
git-svn-id: trunk@11770 -
2008-09-13 16:29:42 +00:00
florian
b178b08ba7
Merged revisions 11665-11738 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/unicodestring
........
r11665 | florian | 2008-08-30 13:30:17 +0200 (Sat, 30 Aug 2008) | 1 line
* continued to work on unicodestring type support
........
r11666 | florian | 2008-08-30 19:02:26 +0200 (Sat, 30 Aug 2008) | 2 lines
* expectloc for wide/ansi/unicode strings is LOC_CONSTANT or LOC_REGISTER now
........
r11667 | florian | 2008-08-30 20:42:37 +0200 (Sat, 30 Aug 2008) | 1 line
* more unicodestring stuff fixed, test results on win32 are already good
........
r11670 | florian | 2008-08-30 23:21:48 +0200 (Sat, 30 Aug 2008) | 2 lines
* first fixes for unix bootstrapping
........
r11683 | ivost | 2008-09-01 12:46:39 +0200 (Mon, 01 Sep 2008) | 2 lines
* fixed 64bit bug in iconvenc.pas
........
r11689 | florian | 2008-09-01 23:12:34 +0200 (Mon, 01 Sep 2008) | 1 line
* fixed several errors when building on unix
........
r11694 | florian | 2008-09-03 20:32:43 +0200 (Wed, 03 Sep 2008) | 1 line
* fixed unix compilation
........
r11695 | florian | 2008-09-03 21:01:04 +0200 (Wed, 03 Sep 2008) | 1 line
* bootstrapping fix
........
r11696 | florian | 2008-09-03 21:07:18 +0200 (Wed, 03 Sep 2008) | 1 line
* more bootstrapping fixed
........
r11698 | florian | 2008-09-03 22:47:54 +0200 (Wed, 03 Sep 2008) | 1 line
+ two missing compiler procs exported
........
r11701 | florian | 2008-09-04 16:42:34 +0200 (Thu, 04 Sep 2008) | 2 lines
+ lazarus project for the linux rtl
........
r11702 | florian | 2008-09-04 16:43:27 +0200 (Thu, 04 Sep 2008) | 2 lines
+ set unicode string procedures
........
r11707 | florian | 2008-09-04 23:23:02 +0200 (Thu, 04 Sep 2008) | 2 lines
* fixed several type casting stuff
........
r11712 | florian | 2008-09-05 22:46:03 +0200 (Fri, 05 Sep 2008) | 1 line
* fixed unicodestring compilation on windows after recent unix changes
........
r11713 | florian | 2008-09-05 23:35:12 +0200 (Fri, 05 Sep 2008) | 1 line
+ UnicodeString support for Variants
........
r11715 | florian | 2008-09-06 20:59:54 +0200 (Sat, 06 Sep 2008) | 1 line
* patch by Martin Schreiber for UnicodeString streaming
........
r11716 | florian | 2008-09-06 22:22:55 +0200 (Sat, 06 Sep 2008) | 2 lines
* fixed test
........
r11717 | florian | 2008-09-07 10:25:51 +0200 (Sun, 07 Sep 2008) | 1 line
* fixed typo when converting tunicodestring to punicodechar
........
r11718 | florian | 2008-09-07 11:29:52 +0200 (Sun, 07 Sep 2008) | 3 lines
* fixed writing of UnicodeString properties
* moved some helper routines to unicode headers
........
r11734 | florian | 2008-09-09 22:38:55 +0200 (Tue, 09 Sep 2008) | 1 line
* fixed bootstrapping
........
r11735 | florian | 2008-09-10 11:25:28 +0200 (Wed, 10 Sep 2008) | 2 lines
* first fixes for persisten unicodestrings
........
r11736 | florian | 2008-09-10 14:31:00 +0200 (Wed, 10 Sep 2008) | 3 lines
Initialized merge tracking via "svnmerge" with revisions "1-11663" from
http://svn.freepascal.org/svn/fpc/trunk
........
r11737 | florian | 2008-09-10 21:06:57 +0200 (Wed, 10 Sep 2008) | 3 lines
* fixed unicodestring <-> variant handling
* fixed unicodestring property reading
........
git-svn-id: trunk@11739 -
2008-09-10 20:14:31 +00:00
Jonas Maebe
7b467fa2a0
* Don't inline ioresult. It's not speed critical and inlining it causes
...
code bloat.
git-svn-id: trunk@11596 -
2008-08-16 20:51:52 +00:00
florian
fe7cba52dc
+ support of inlined ror/rol on arm
...
git-svn-id: trunk@11473 -
2008-07-28 15:48:38 +00:00
florian
20e632c8d8
* reorganized ror/rol defines
...
git-svn-id: trunk@11472 -
2008-07-28 13:03:18 +00:00
florian
1afb1aa9cc
+ ror/rol functions
...
+ internal compiler support for ror/rol on i386
git-svn-id: trunk@11466 -
2008-07-27 17:12:32 +00:00
florian
d672700a59
* some avr fixes
...
+ cpu16 type defines
git-svn-id: trunk@11380 -
2008-07-13 18:16:24 +00:00
giulio
9203f46e1a
* Handling of -Sf parameter fixed
...
* Fixed definition of FPC_HAS_FEATURE_xxx macros for targets not supporting the full range of features
* Added DYNLIBS feature
git-svn-id: trunk@10932 -
2008-05-10 17:00:04 +00:00
yury
5dc6e54925
* Removed inline for procedures with assembler or formal parameters, since inline is not supported for them (compiler warns about that now). Even if there is no inline modifier in interface declaration of procedure, it is possible to specify inline in procedure implementation if needed (e.g. for generic implementations) and inlining will work for them.
...
git-svn-id: trunk@10629 -
2008-04-12 11:37:49 +00:00
florian
48fb130be3
* fixed fpu type setting for avr
...
git-svn-id: trunk@10463 -
2008-03-08 17:09:40 +00:00
micha
83b7f81f81
+ add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
...
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
florian
c05d4912f4
+ basic system unit for avr-embedded
...
* fixed several compiler stuff to be able to start system unit compilation on avr
git-svn-id: trunk@10318 -
2008-02-13 20:35:16 +00:00
tom_at_work
52135af71f
* implement branchless fpc_abs_long in a generic way
...
* enable optimization for ppc/ppc64 (two times faster than
"generic" rtl branching routine)
git-svn-id: trunk@10306 -
2008-02-11 21:13:52 +00:00
marco
bce663bb43
* Fix for 10491, pdatetime now defined.
...
git-svn-id: trunk@9563 -
2007-12-29 13:11:23 +00:00
peter
6ed3d91989
* CompareText for shortstrings added
...
* optimize CompareText
* use CompareText for case-insenstive compares in the RTL
patches from Sergei Gorelkin
git-svn-id: trunk@9384 -
2007-12-02 18:36:20 +00:00
florian
fb8bbd5ff0
+ inline abs(<longint>) on x86
...
git-svn-id: trunk@9333 -
2007-11-25 18:54:40 +00:00
peter
43c446e742
* add DumpExceptionBackTrace
...
git-svn-id: trunk@9071 -
2007-11-02 22:08:17 +00:00
florian
b2b0e749bb
* win32 system unit doesn't depend anymore directly on the main program, this is necessary to be able to keep it in a dll
...
git-svn-id: trunk@9052 -
2007-11-01 21:59:43 +00:00
florian
7da7364ee7
* refactored SysResetFPU into SysInitFPU and SysResetFPU
...
git-svn-id: trunk@8966 -
2007-10-28 12:06:49 +00:00
florian
7878f0feb3
* made all fpc_*_to_shortstr helpers a procedure, resolves #8580
...
git-svn-id: trunk@8898 -
2007-10-21 17:33:18 +00:00
Jonas Maebe
8ed15c96bb
- removed COMPPROCINLINEFIXED define and ifdefs (fixed in 2.2.0)
...
git-svn-id: trunk@8789 -
2007-10-14 09:44:18 +00:00
peter
e8322a83e4
* optimized generic implementations to use pointers instead of
...
array accesses. This also allows better register variable
optimizations
git-svn-id: trunk@8742 -
2007-10-07 18:36:18 +00:00
Tomas Hajny
58bca68e6a
+ infrastructure for CtrlBreakHandler added
...
git-svn-id: trunk@8691 -
2007-09-30 14:14:33 +00:00
florian
b11e861b0f
+ define DEFAULT_DOUBLE on m68k
...
git-svn-id: trunk@8499 -
2007-09-16 10:20:16 +00:00
Jonas Maebe
a57f9e0672
+ added QWord overloads for IntToHex, hexStr, OctStr, binStr
...
git-svn-id: trunk@8332 -
2007-08-29 12:06:54 +00:00
micha
d95b9082bb
* add memory barrier prototypes + implementation for i386 and sparc + use lwsync for powerpc64
...
git-svn-id: trunk@8240 -
2007-08-07 20:37:08 +00:00
daniel
35b6980254
* Put pptrint back in place.
...
git-svn-id: trunk@7897 -
2007-07-01 11:05:39 +00:00
daniel
ea47fcfc97
* ptrint -> ptruint
...
git-svn-id: trunk@7892 -
2007-07-01 10:14:19 +00:00
florian
5c58f69595
+ ModuleIs* typed consts added
...
git-svn-id: trunk@7799 -
2007-06-24 20:28:40 +00:00
yury
5afc9355f8
* use proper runtime error codes for EIntfCastError and ESafecallException exceptions.
...
git-svn-id: trunk@7723 -
2007-06-18 17:38:07 +00:00
florian
041ff166cc
* fixed arm compilation
...
git-svn-id: trunk@7499 -
2007-05-28 16:04:43 +00:00
peter
5c914393d5
* added uint64 alias
...
git-svn-id: trunk@7338 -
2007-05-15 05:41:02 +00:00
ivost
ed87187cad
* removed InterlockedCompareExchange64 for i386 from system unit
...
git-svn-id: trunk@6775 -
2007-03-10 18:08:21 +00:00
ivost
2c22173534
* Added InterlockedCompareExchange64 for i386 (supported over cmpxchg8b instruction)
...
git-svn-id: trunk@6753 -
2007-03-09 09:29:17 +00:00
daniel
0cc43888e9
* Redefine ucs4char as subrange type ($0..$10ffff), which is the legal
...
Unicode range.
git-svn-id: trunk@6618 -
2007-02-23 14:41:33 +00:00
florian
f42a2d67b9
* made exitcode a longint, at least windows supports it, delphi uses a longint too
...
git-svn-id: trunk@6549 -
2007-02-18 20:26:28 +00:00
florian
48e51671e5
* don't include compiler proc. in the docs
...
git-svn-id: trunk@5779 -
2007-01-01 22:55:40 +00:00
florian
fd2032dab2
+ start of embedded rtl
...
+ feature support in the compiler
git-svn-id: trunk@5628 -
2006-12-17 18:40:36 +00:00
Jonas Maebe
4240479f5d
* fixed datarace in CBeginThread
...
git-svn-id: trunk@5274 -
2006-11-07 14:05:09 +00:00
florian
4cbb67aa00
* some fpu emulation code from arm to generic code generator moved
...
* several m68k fixes
git-svn-id: trunk@5218 -
2006-11-04 10:23:35 +00:00
micha
53f935213f
* re-export operatingsystem_result (only not needed for i386-linux-2.1.1)
...
git-svn-id: trunk@5203 -
2006-11-03 13:42:51 +00:00