Commit Graph

41853 Commits

Author SHA1 Message Date
marco
dea2c743d5 * Initial active version of
rtl-extra : objects matrix ucomplex
   rtl-objpas: convutil(s) dateutil(s) stdconvs variants varutils
   

git-svn-id: trunk@26398 -
2014-01-05 19:20:15 +00:00
Jonas Maebe
ffd6a4ea47 * set the code page of rawbytestring typed constants to the same value as
when assigning a string constant to a rawbytestring (system code page with
    {$modeswitch systemcodepage}, CP_ACP without) (mantis #25332)

git-svn-id: trunk@26397 -
2014-01-05 18:26:10 +00:00
Jonas Maebe
729ac297e4 * declare the code page names as ansistring instead of rawbytestring and
force the checked names to CP_ACP, so perform string conversions on
    the names after the compiler bug has been fixed that sets the code
    page of rawbytestring typed constants to CP_NONE

git-svn-id: trunk@26396 -
2014-01-05 18:26:04 +00:00
Jonas Maebe
50615008de * cwstring depends on unixcp
git-svn-id: trunk@26395 -
2014-01-05 18:25:57 +00:00
paul
75fecf9e96 utils: use LongInt instead of Integer to prevent overflow
git-svn-id: trunk@26394 -
2014-01-05 17:09:48 +00:00
marco
521dd9ba32 * initial versions of rtl-extra and rtl-objpas packages. Not yet active.
git-svn-id: trunk@26393 -
2014-01-05 16:58:46 +00:00
marco
1e98620c2e * Same for fpdoc, include cthreads if LZX_USETHREADS
git-svn-id: trunk@26392 -
2014-01-05 16:08:53 +00:00
marco
87775845f2 * If LZX_USETHREADS is set, include cthreads in chmcmd main program.
git-svn-id: trunk@26391 -
2014-01-05 16:06:23 +00:00
Jonas Maebe
68af0bdd40 * moved test to correct location and renamed to correct number
git-svn-id: trunk@26390 -
2014-01-05 10:58:40 +00:00
paul
79ef05407a compiler: fix error message (was error message about resourcestring for property)
git-svn-id: trunk@26389 -
2014-01-05 07:12:41 +00:00
paul
f9c3c598b6 compiler: remove big codepage maps from the compiler executable - they will be loaded from -FM path when needed
git-svn-id: trunk@26388 -
2014-01-05 06:06:18 +00:00
paul
14a34239cc rtl: add cp856 to makefiles
git-svn-id: trunk@26387 -
2014-01-05 06:03:28 +00:00
nickysn
c2ba9ebfe5 + added different mul helpers for the 32 to 64-bit muls, since they can usually
be implemented more efficiently than the 64 to 64-bit ones.

git-svn-id: trunk@26386 -
2014-01-05 03:01:18 +00:00
marco
5aacd4a118 * fixed compilation error in fpmake when used in standalone mode.
git-svn-id: trunk@26385 -
2014-01-04 21:29:53 +00:00
pierre
a7a9a74f91 Try to become HTML 4 transitional compliant and add svn links
git-svn-id: trunk@26384 -
2014-01-04 21:16:01 +00:00
marco
b201c3e9cd * add wii target to fpmkunit
git-svn-id: trunk@26383 -
2014-01-04 21:13:14 +00:00
pierre
62bcc3a2c5 Program cleaned up
git-svn-id: trunk@26382 -
2014-01-04 21:12:34 +00:00
pierre
7adeb480e1 Remove GetTestRunHistoryID, replaced by GetTestNextRunHistoryID and GetTestPreviousHistoryID
git-svn-id: trunk@26381 -
2014-01-04 21:11:23 +00:00
pierre
166ab46317 Add missing SqlDate calls inside InsertNewTestConfigId
git-svn-id: trunk@26380 -
2014-01-04 21:07:44 +00:00
paul
93883d1264 compiler: load binary unicode mappings in cpavailable() call instead of separate loadbinarycp() call
git-svn-id: trunk@26379 -
2014-01-04 16:42:20 +00:00
paul
52d1cbc544 compiler:
+ add -FM command line option to pass directory for unicode binary files
  + enable dynamic loading of charset files (don't disable runtime charset files for the moment)

git-svn-id: trunk@26378 -
2014-01-04 15:44:18 +00:00
Jonas Maebe
d1b2a5f362 * changed the initial value DefaultFileSystemCodePage from CP_ACP to CP_UTF8:
o since we always use UTF-16 for OS file API calls, this will only affect
     possible intermediate code page conversions inside RTL routines and hence
     prevent potential data loss. This was already the same for NativeNT and
     WinCE, which are in the same boat
   o DefaultRTLFileSystemCodePage, which specifies the code page used to return
     strings from single byte RTL routines, remains CP_ACP and hence nothing
     will change as far as programs using the RTL are concerned

git-svn-id: trunk@26377 -
2014-01-04 15:05:42 +00:00
paul
80cec37d06 rtl: add charmap for 856 codepage
git-svn-id: trunk@26376 -
2014-01-04 09:29:38 +00:00
paul
7b1f586131 rtl: remove unneeded charset classes
git-svn-id: trunk@26375 -
2014-01-04 08:59:20 +00:00
marco
1c2a77a60f * tested + fixed rtl-console makefile.
* updated toplevel makefile, but testing it failed to run for other reasons.
    (libtar fpmkunit)

git-svn-id: trunk@26374 -
2014-01-04 00:13:43 +00:00
marco
90fbb6360d * test rtl-console for powerpc targets.
- morphos regeneration Makefile.fpc
 - aix unrelated fix: addition of pthread_attr_destroy (r26220 dec 11th)

git-svn-id: trunk@26373 -
2014-01-03 22:48:14 +00:00
marco
a001e12d04 * rtl-console initial version.
git-svn-id: trunk@26372 -
2014-01-03 22:19:02 +00:00
marco
1df3226a2f * skeleton for rtl-console package. Not yet active.
git-svn-id: trunk@26371 -
2014-01-03 21:46:02 +00:00
nickysn
b8203a3406 * fixed tcg8086.gen_cmp32_jmp1 for the less than/greater than cases
git-svn-id: trunk@26370 -
2014-01-03 18:06:21 +00:00
nickysn
270444508a * fixed not(boolean32) and not(boolean64) on i8086
git-svn-id: trunk@26369 -
2014-01-03 15:18:07 +00:00
pierre
de89827eb7 Clean up comment at start of fpc_mul_dword
git-svn-id: trunk@26368 -
2014-01-03 13:15:34 +00:00
Jonas Maebe
ab4844bdff * give an internal error when trying to set/get procdef properties that are
not available

git-svn-id: trunk@26367 -
2014-01-03 12:23:27 +00:00
pierre
a4e08f8611 Move int32p.inc inclusion to end of i8086.inc as it needs to be parsed before generic.inc
git-svn-id: trunk@26366 -
2014-01-03 11:42:53 +00:00
Jonas Maebe
b106ded0e9 * use SystemFileName instead of the original FileName in DeleteFile()
git-svn-id: trunk@26365 -
2014-01-03 10:59:25 +00:00
sergei
d2a9308181 + SPARC: implemented register spill replacement.
git-svn-id: trunk@26364 -
2014-01-03 08:14:43 +00:00
sergei
0afd95e840 * SPARC, tmoddivnode improvements/fixes:
* don't bother reusing locations
  * don't optimize division into shift if overflow checking is enabled
  * if denominator is a constant and fits into 13 bit range, use it directly and save a register.

git-svn-id: trunk@26363 -
2014-01-03 08:09:32 +00:00
nickysn
cf6f408214 + implemented the tcg8086.a_cmp_*_*_label methods for i8086. How did the i8086
code generator even work without these?

git-svn-id: trunk@26362 -
2014-01-03 03:31:51 +00:00
florian
ac120d075a * moved directory handling code
git-svn-id: trunk@26361 -
2014-01-02 18:24:11 +00:00
Jonas Maebe
32b9926536 * don't check forwarddefs of copied record/objectdefs (there are none, since
such a def is just a renamed version of a def that's defined/implemented/
    checked elsewhere) -- fixes compiler crash when compiling webtbs/tw3930
    after r26332)

git-svn-id: trunk@26360 -
2014-01-02 16:21:06 +00:00
florian
1fc6316cbc * use generic 32*32 -> 64 bit multiplication on arm thumb
git-svn-id: trunk@26359 -
2014-01-02 15:23:12 +00:00
marco
0bb6469b80 * remove accidentally inserted BOM, as reported by M. Ring.
git-svn-id: trunk@26358 -
2014-01-02 14:34:28 +00:00
marco
ebe262762a * Clean out of $i textrec and filerec includes that are redundant now that cpstrrtl exposes
those records via system. 

git-svn-id: trunk@26356 -
2014-01-02 13:26:09 +00:00
masta
bcec29f1b4 Disable generation of UMULL when generating thumb1 code
git-svn-id: trunk@26355 -
2014-01-02 13:22:15 +00:00
masta
e5b3d89a5d Add CPUARM_HAS_UMULL flag
Pre armv4 and all *M variants to not support UMULL and SMULL.

The Flag now gets used for 32x32->64 and 64x64->64 optimized code.

git-svn-id: trunk@26354 -
2014-01-02 13:06:18 +00:00
sergei
36d0c8a5a7 * x86 and SPARC: fixed handling 64-bit (qwordbool) values in tcgnotnode (partial fix for Mantis #25255).
* Moved handling LOC_JUMP locations to helper method of base class, it appears to be the same for all targets.

git-svn-id: trunk@26353 -
2014-01-02 10:29:44 +00:00
nickysn
e1332304ef * when converting Hi() to a shr node, convert the right shr const parameter to
sinttype, instead of u32inttype. This:
  1) is consistent with what type conversion tshlshrnode.pass_typecheck inserts
     on the right side
  2) avoids the expensive conversion to 32-bit and the even more expensive
     performing the operation in 32-bit on i8086

git-svn-id: trunk@26352 -
2014-01-01 23:57:42 +00:00
nickysn
d4e01637e7 * use nativeint, instead of longint in fpc_div_dword and fpc_mod_dword, because
it produces more efficient code on 16-bit and 8-bit platforms.

git-svn-id: trunk@26351 -
2014-01-01 20:46:28 +00:00
marco
2a4385c196 * simple strtomd5 function from mantis #23397
git-svn-id: trunk@26350 -
2014-01-01 19:52:21 +00:00
nickysn
988b742d71 * avoid the meaningless conversion of the right shl/shr argument to 32-bit on
i8086 in the cases when the left argument is 32-bit.

git-svn-id: trunk@26349 -
2014-01-01 19:03:17 +00:00
masta
f8889e3d6d Use optimize_op_const in ARM cg
This uses the generic optimizations done in optimize_op_const. Due to
this we can also drop some of the optimizations done in the arm-specific
code.

git-svn-id: trunk@26348 -
2014-01-01 18:26:42 +00:00