sergei
d94460e3b3
* Made the x86-specific scalefactor optimization of tvecnode available on x86_64 as well, by moving update_reference_reg_mul method from ti386vecnode to newly introduced tx86vecnode.
...
git-svn-id: trunk@19245 -
2011-09-26 12:58:59 +00:00
Mattias Gaertner
e2357b5809
instantfpc: added option --skip-run
...
git-svn-id: trunk@19244 -
2011-09-26 11:09:17 +00:00
Mattias Gaertner
5bcf0e71a6
instantfpc: nicer help
...
git-svn-id: trunk@19243 -
2011-09-26 10:38:35 +00:00
pierre
1f0e5b496f
Try to support shared libraries for freebsd
...
git-svn-id: trunk@19242 -
2011-09-26 10:25:27 +00:00
pierre
23a8fb1754
Suppress console messages about sign extension in ioctl system call
...
git-svn-id: trunk@19241 -
2011-09-26 10:24:00 +00:00
paul
5560f6b3f2
compiler + rtl: pass codepage to fpc_CharArray_To_AnsiStr to get the preserve the codepage of result string
...
git-svn-id: trunk@19240 -
2011-09-26 04:49:09 +00:00
florian
4868b09844
* patch by alexvin to replace $ifopt by $push/$pop, resolves #20332
...
git-svn-id: trunk@19239 -
2011-09-25 21:19:50 +00:00
Jonas Maebe
2b11fd2bef
* cpus that only understand Thumb-2 don't support "blx <imm>"
...
git-svn-id: trunk@19238 -
2011-09-25 20:44:39 +00:00
marco
6ed8641937
* patch from BigChimp, fixing dbf related testing of output, from
...
reopened Mantis #20163
git-svn-id: trunk@19237 -
2011-09-25 19:52:10 +00:00
pierre
ccb0595971
* Extend global label for smart linked objects to bsd systems
...
git-svn-id: trunk@19236 -
2011-09-25 19:30:35 +00:00
pierre
ee67e124ee
+ Add systems_XXXbsd sets
...
git-svn-id: trunk@19235 -
2011-09-25 19:29:14 +00:00
sergei
268d8685e7
- Removed SysResetFPU/SysInitFPU from win32/win64 system unit initialization. It is redundant here because it is called from fpc_initializeunits->fpc_cpuinit (on win64) or from fpc_cpucodeinit (on win32).
...
* Also declared hprevinst as a typed constant and removed its initialization from code.
git-svn-id: trunk@19234 -
2011-09-25 19:27:52 +00:00
Jonas Maebe
028421ca6a
+ interface delegation test from mantis #19180 , already works
...
git-svn-id: trunk@19228 -
2011-09-25 14:46:19 +00:00
Jonas Maebe
d714eeb84b
* give a proper error when a type identifier is missing in a
...
class operator declaration (mantis #19213 )
git-svn-id: trunk@19226 -
2011-09-25 14:38:06 +00:00
paul
932ca07230
rtl: remove useless ifdef
...
git-svn-id: trunk@19224 -
2011-09-25 13:31:28 +00:00
marco
f538655cbf
* enable character for FreeBSD.
...
git-svn-id: trunk@19223 -
2011-09-25 12:38:22 +00:00
paul
6266b88b74
compiler: fix string const conversion from one codepage to another
...
git-svn-id: trunk@19222 -
2011-09-25 06:41:59 +00:00
florian
5fa184c952
+ patch by Jeppe Johansen to make use of the div/udiv instruction on arm7m, resolves #20022
...
* explicitly make symbol addressing PC relative
git-svn-id: trunk@19221 -
2011-09-24 21:41:01 +00:00
marco
b0b12d3a64
* fmtbcd divide fix (and others), Mantis #19636 , fix by Lacak2. + Test
...
git-svn-id: trunk@19220 -
2011-09-24 21:34:39 +00:00
marco
09a2f07d5d
* use bcdcompare instead of overloaded operator. Mantis #19613 , patch by Lacak2
...
git-svn-id: trunk@19219 -
2011-09-24 21:22:18 +00:00
florian
cb647d875c
* avoid mistakes with unimplemented sqr function on architectures with no softfloat support
...
git-svn-id: trunk@19218 -
2011-09-24 21:17:09 +00:00
marco
ecaa86d582
* added test from Mantis #19645
...
git-svn-id: trunk@19217 -
2011-09-24 20:59:51 +00:00
marco
5e91099731
* fixes for > 100 query parameters. Mantis #19645 , patch from Lacak2
...
git-svn-id: trunk@19215 -
2011-09-24 20:24:55 +00:00
marco
be95c02a89
* Patch from Lacak2, mantis #18241 mapping "..with timezone" fields to their non timezone fields ft*'s.
...
No processing of timestamp is done.
git-svn-id: trunk@19214 -
2011-09-24 20:19:39 +00:00
paul
7a998aec3a
compiler, rtl: add a codepage argument fpc_Read_Text_AnsiStr to create new AnsiString with the codepage of passed AnsiString argument
...
git-svn-id: trunk@19210 -
2011-09-24 17:43:30 +00:00
paul
00396da30c
compiler: cleanup
...
git-svn-id: trunk@19208 -
2011-09-24 17:41:13 +00:00
paul
3b9fd15af7
rtl: update character.pas by Inoussa OUEDRAOGO (issue #0020302 )
...
* This new version contains all the unicode code points (BMP and other planes) character properties.
git-svn-id: trunk@19207 -
2011-09-24 15:17:12 +00:00
Jonas Maebe
64f8ec7a9a
* disabled part of test that is broken on systems using utf-8 as
...
DefaultSystemCodePage
* fixed use of wrong string length in second part of test
git-svn-id: trunk@19203 -
2011-09-23 21:55:06 +00:00
Jonas Maebe
28bd9a9618
* fixed syntax error
...
git-svn-id: trunk@19202 -
2011-09-23 21:48:55 +00:00
sergei
ad5d2ccabb
* Moved command line handling and randomize() to syswin.inc, so a single copy of code is used for both win32 and win64. This implies that apostrophe is no longer supported as quoting symbol in win64.
...
Win64 doesn't support it itself either.
git-svn-id: trunk@19201 -
2011-09-23 21:45:02 +00:00
sergei
b997094755
+ Generate unwind bytecode for function prologues on win64.
...
* For now placed actual processing of unwind info under {$ifdef TEST_WIN64_UNWIND}, because in the current state it doesn't add much value.
git-svn-id: trunk@19200 -
2011-09-23 21:22:25 +00:00
Jonas Maebe
dff5ac3b0a
* don't allow passing a field of a record that's not an lvalue as
...
var-parameter, nor allowing taking its address (mantis #20095 )
git-svn-id: trunk@19199 -
2011-09-23 21:21:49 +00:00
Jonas Maebe
fadf8bf2a5
* fixed fpc_UnicodeStr_CheckRange() now that apparently the length in
...
unicodestring record is stored as the number of widechars rather than
the number of bytes
git-svn-id: trunk@19198 -
2011-09-23 21:17:51 +00:00
florian
a5cdc0cdde
* changed check introduced in r19193 into the same method as other locations in nadd.pas do
...
git-svn-id: trunk@19197 -
2011-09-23 20:34:10 +00:00
Jonas Maebe
258869c8f1
* and one more fix to prevent endless loops
...
git-svn-id: trunk@19196 -
2011-09-23 19:16:48 +00:00
Jonas Maebe
3469942f34
* fixed potential endless loop if the code page passed to win2iconv()
...
is not found
git-svn-id: trunk@19195 -
2011-09-23 18:34:31 +00:00
Jonas Maebe
7dd5811828
+ support for transcoding the new ansistring type on unix platforms
...
* initialize DefaultSystemCodePage on unix platforms
git-svn-id: trunk@19194 -
2011-09-23 17:32:18 +00:00
florian
bba726ae78
* don't do x*x -> sqr(x) optmization for arm softfloat
...
git-svn-id: trunk@19193 -
2011-09-23 17:23:35 +00:00
Jonas Maebe
f0c8563f2d
+ cwstring for unix platforms
...
git-svn-id: trunk@19192 -
2011-09-23 16:43:16 +00:00
paul
8f4d02ccfa
rtl: add TBytes and TUnicodeCharArray types
...
git-svn-id: trunk@19191 -
2011-09-23 06:19:46 +00:00
paul
eb8a54d666
rtl: add flat functions (duplicates of TCharacter methods) to character unit
...
git-svn-id: trunk@19190 -
2011-09-23 03:14:40 +00:00
paul
98f6ec4a05
rtl: raise EContructException in TCharacter constructor (compatible to delphi behavior)
...
git-svn-id: trunk@19189 -
2011-09-23 02:50:40 +00:00
paul
8af1fa3e57
rtl: fix error message
...
tests: add test to check utf32<->utf16 conversions
git-svn-id: trunk@19188 -
2011-09-23 02:24:30 +00:00
paul
b47b4c3cba
rtl: enable character unit for darwin
...
git-svn-id: trunk@19187 -
2011-09-23 01:01:20 +00:00
paul
9d509e5897
rtl: try to fix linux makefile
...
git-svn-id: trunk@19186 -
2011-09-23 00:55:53 +00:00
paul
f8e82b9d4e
rtl: try to fix linux makefile
...
git-svn-id: trunk@19185 -
2011-09-23 00:42:51 +00:00
paul
67ae360a2b
rtl: enable character.pas building for win64 and linux
...
git-svn-id: trunk@19184 -
2011-09-23 00:37:00 +00:00
paul
e774a20c97
rtl:
...
- fix compilation of character.pas by fpc 2.4
- check TCharacter method arguments and raise appropriate EArgumentException or EArgumentOutOfRangeException exceptions
- implement to/from UTF32 conversion based on utf16toutf32 and friends
git-svn-id: trunk@19183 -
2011-09-23 00:28:04 +00:00
paul
1553c8da7d
rtl: add EArgumentException, EArgumentOutOfRangeException classes
...
git-svn-id: trunk@19182 -
2011-09-23 00:07:26 +00:00
pierre
b9009d8c02
* Fix PIC code for BSD x86_64 syscall and x86_64 freebsd startup assembler files
...
git-svn-id: trunk@19181 -
2011-09-22 21:16:42 +00:00