Jonas Maebe
a302cbeff1
* more Win64 -> FPC_HAS_TYPE_EXTENDED check conversions
...
git-svn-id: trunk@15534 -
2010-07-07 19:02:18 +00:00
marco
20499117de
* reenabled ttime and tdate in system.
...
git-svn-id: trunk@15295 -
2010-05-19 08:23:44 +00:00
florian
34f976afea
* enabled internal sar support for sparc and mips as well
...
git-svn-id: trunk@14867 -
2010-02-04 22:04:19 +00:00
florian
dfc2652062
+ support of compiler intrinsic sar* using a patch by Benjamin Rosseaux, resolves #15606
...
git-svn-id: trunk@14834 -
2010-01-31 16:47:01 +00:00
florian
775f532c95
* disabled TTime and TDate for now till a solution for the conflicts on unix is found
...
git-svn-id: trunk@14581 -
2010-01-08 21:22:25 +00:00
florian
06e604cffd
+ patch by Sven Barth to add TDate and TTime to the system unit, resolves #15474
...
git-svn-id: trunk@14573 -
2010-01-08 09:56:09 +00:00
florian
4faf2e9f0f
* cleaned up redundant declarations of types like PP(P)Char/Byte and moved them to the system unit
...
git-svn-id: trunk@14481 -
2009-12-26 20:47:24 +00:00
Jonas Maebe
3138093fdf
* changed errnum parameter of halt() from byte to longint to match the
...
definition of exitcode (mantis #15231 )
git-svn-id: trunk@14339 -
2009-12-06 10:02:05 +00:00
marco
17062d667c
* ansistring versions of mk/rm/chdir in objpas, Mantis 15010. The os-dependant routines of *nix/os2/win/dos have been converted
...
git-svn-id: trunk@14211 -
2009-11-18 18:04:51 +00:00
Jonas Maebe
335e159c11
Merged revisions 13351-13373,13376-13457 via svnmerge from
...
svn+ssh://jonas@svn.freepascal.org/FPC/svn/fpc/trunk
git-svn-id: branches/objc@13458 -
2009-07-26 14:31:50 +00:00
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
Jonas Maebe
92de010fe1
Merged revisions 13218-13347 via svnmerge from
...
svn+ssh://jonas@svn.freepascal.org/FPC/svn/fpc/trunk
git-svn-id: branches/objc@13350 -
2009-06-28 16:09:53 +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
b1b9894ae3
* initial Objective-C 1.0 support:
...
o support for declaring external Objective-C classes (see
rtl/inc/objcbase.pas), including derived classes
o support for converting methods of objcclasses into selectors
(see tests/test/tobjc1.pp)
o support for loading from/storing to fields of objcclasses
o support for calling Objective-C methods using regular
Object Pascal syntax (see tests/test/tobjc1.pp)
o some things that are known to be not yet working:
o automatic conversion from ID to objcclasses and back
o declaring and implementing new objcclasses/methods in Pascal code
o debug information (objcclasses are currently plain pointers
as far as the debugger knows)
git-svn-id: branches/objc@13162 -
2009-05-17 13:42:50 +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