Legolas
3f9327d340
* NDS: updated the rtl, libnds and fixed the examples. Now it should work fine with devkitARM r26
...
- Removed (again) old libgba examples
git-svn-id: trunk@13585 -
2009-08-23 13:57:45 +00:00
Jonas Maebe
c2c68ddb8f
- removed FPC_NEW_BIGENDIAN_SETS define and if(n)defs
...
* left old cpu-specific set helper code under ifdef FPC_OLD_BIGENDIAN_SETS
in case someone wants to write new assembler set helpers (although most
of them should be optimally generated by the compiler already if
http://wiki.freepascal.org/FPC_HowToDo#Bit.28field.29_getting.2Fsetting_primitives
are optimally implemented)
git-svn-id: trunk@13582 -
2009-08-23 08:16:40 +00:00
Jonas Maebe
0eec337a00
- removed SUPPORT_UNALIGNED, FPC_SUPPORTS_UNALIGNED and FPC_UNALIGNED_FIXED
...
defines and ifdefs (already all defined by 2.2.4)
git-svn-id: trunk@13581 -
2009-08-23 07:51:26 +00:00
Jonas Maebe
a1363e95f7
* no longer perform precision correction for single precision values, because
...
we support writing more digits than are defined (due to Delphi-
compatibility) and
a) correcting the precision of undefined digits makes no sense
b) as a result, this precision correction made some numbers that can be
represented exactly in single precision inexact
-- fixes mantis #14230
* no longer perform precision correction while determining the whole part
of numbers (usually did nothing anyway, and the rest is caught by the
final rounding)
git-svn-id: trunk@13574 -
2009-08-22 07:49:06 +00:00
florian
d3d3596cd6
* accelerated/fixed TLS access on win32 by Pierre Muller
...
git-svn-id: trunk@13571 -
2009-08-21 09:15:11 +00:00
michael
a7ed599879
* Patch from martin friebe (bug id 14380) to fix streaming of frames
...
git-svn-id: trunk@13567 -
2009-08-20 11:29:06 +00:00
michael
e8a375c774
* Patch from Henry Vermaak to fix EABI kernel API for arm.
...
git-svn-id: trunk@13563 -
2009-08-20 08:00:50 +00:00
florian
3ce72907c2
+ implementation of WriteBarrier
...
git-svn-id: trunk@13554 -
2009-08-18 16:31:18 +00:00
florian
6ea40be296
* fixed more properties, I still wonder how this could be commited
...
git-svn-id: trunk@13543 -
2009-08-16 10:57:52 +00:00
florian
512d66988c
* put linebuffer on the stack instead on the heap on windows makes SysUpdateScreen slightly faster
...
git-svn-id: trunk@13540 -
2009-08-16 10:25:35 +00:00
florian
965828b6de
* fix building on wince, resolves #14345
...
git-svn-id: trunk@13537 -
2009-08-15 20:58:31 +00:00
Jonas Maebe
847354fe10
* Makefiles version 2.5.1
...
git-svn-id: trunk@13533 -
2009-08-13 21:21:28 +00:00
florian
a2862ce347
* cleaned up mess of r13516
...
git-svn-id: trunk@13524 -
2009-08-12 19:34:46 +00:00
florian
65690b9eee
* forgotten part of r13514
...
git-svn-id: trunk@13522 -
2009-08-12 18:42:09 +00:00
florian
b8ee63a715
* fixed properties
...
git-svn-id: trunk@13516 -
2009-08-11 18:15:56 +00:00
florian
d34061d7e4
* introduced fmShareDenyNoneFlags on windows because the meaning of fmShareDenyNone is unclear, see also #8898
...
git-svn-id: trunk@13514 -
2009-08-10 20:33:20 +00:00
yury
e82e4ae806
* Fixed WideString on wince. WideString=UnicodeString on wince. Bug #14304 .
...
git-svn-id: trunk@13510 -
2009-08-10 11:32:08 +00:00
florian
a14db25c64
+ procedure DivMod(Dividend: Integer; Divisor: integer; var Result, Remainder: integer); and procedure DivMod(Dividend: cardinal; Divisor: cardinal; var Result, Remainder: cardinal);, resolves #14286
...
+ assembler implementations of DivMod for i386
git-svn-id: trunk@13508 -
2009-08-09 20:47:06 +00:00
marco
bafbe5a451
* socket ->fpsocket
...
git-svn-id: trunk@13505 -
2009-08-09 10:30:15 +00:00
marco
2ee5b728ba
* disable the 1:1 aliases of the legacy errorhandling.
...
Leave the more complex functions under deprecated.
Also keep the errorhandling for at least another cycle.
git-svn-id: trunk@13498 -
2009-08-08 12:25:59 +00:00
Jonas Maebe
30bfca91a9
* made application of rounding correction more accurate
...
(does *not* resolve #14230 )
git-svn-id: trunk@13494 -
2009-08-06 20:41:43 +00:00
marco
2c82c6a747
* several functions are now marked with overload;
...
* implementation of RandomFrom for some float type
(Mantis #12662 )
git-svn-id: trunk@13490 -
2009-08-04 08:20:13 +00:00
Jonas Maebe
e246cac3ac
* regenerated using latest fpcmake
...
git-svn-id: trunk@13487 -
2009-08-02 18:40:14 +00:00
Károly Balogh
c11243c83d
* made MorphOS build to cycle again: fixed path_absolute() for Amiga and MorphOS, and fixed AllFilesMask for MorphOS
...
git-svn-id: trunk@13474 -
2009-07-30 00:57:06 +00:00
florian
f17943371c
* assembler implementation of SwapEndian on x86-64, resolves #14203
...
git-svn-id: trunk@13455 -
2009-07-26 14:01:32 +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
florian
6ff15f46e2
* made SwapEndian(<16 Bit>); inlined
...
git-svn-id: trunk@13453 -
2009-07-26 13:50:57 +00:00
florian
e362e85039
* fixed last commit: UTF8Encode -> UTF8Decode
...
git-svn-id: trunk@13452 -
2009-07-26 13:09:31 +00:00
florian
d38340c753
+ utf-8 <-> variant type casts, resolves #11371
...
* ucs-4 -> variant type cast (variant -> ucs-4 is not possible due to overloading contraints of fpc and how ucs-4 is implemented)
* some newlines fixed
git-svn-id: trunk@13451 -
2009-07-26 12:58:49 +00:00
florian
44f588b7ad
* fixed nested comment warning
...
git-svn-id: trunk@13450 -
2009-07-26 12:55:01 +00:00
florian
380f3ac78f
* fix from Nikolay Samofatov for #12987 : initialize thread vars in libraries on windows correctly
...
* unified dll entry code between win32 and win64
git-svn-id: trunk@13445 -
2009-07-25 21:08:36 +00:00
florian
05ff453182
* patch by Dmitry Boyarintsev to fix some parameter names, resolves #14043
...
git-svn-id: trunk@13442 -
2009-07-25 15:14:14 +00:00
marco
b43b3c4564
* "external;" added to pthreads.inc as per #14179 .
...
git-svn-id: trunk@13437 -
2009-07-25 09:58:37 +00:00
Jonas Maebe
ef1c033f49
+ added fppause() for FPC_USE_LIBC
...
* fixed test
git-svn-id: trunk@13436 -
2009-07-24 21:52:01 +00:00
florian
6dc51122e7
* fixes fpsigsuspend call at least on i386-linux
...
git-svn-id: trunk@13433 -
2009-07-24 16:30:32 +00:00
marco
7c52be9287
* moved a linux specific call to the implementation of system, where
...
it is used. General Unix units should not expose Linux-specific
functionality.
git-svn-id: trunk@13427 -
2009-07-23 11:35:18 +00:00
olivier
e11754d0b5
* Implement do_IsDevice without relying on IOCTL_TCGETS (unsupported on Haiku). This enable mouse support in the Freepascal IDE.
...
git-svn-id: trunk@13413 -
2009-07-19 14:19:59 +00:00
florian
bc8ccacab8
* TInterfacedPersistent requires that the interface is requested from the owner if an owner is SetActive
...
* unified coding style
git-svn-id: trunk@13409 -
2009-07-19 09:36:43 +00:00
olivier
b17c3bb282
Fix the build under Haiku :
...
- fix signal handling
- remove unneeded reference to BeOS in Makefile.fpc
- updated stat definition to reflect a recent change in Haiku
git-svn-id: trunk@13408 -
2009-07-19 01:24:46 +00:00
florian
5d8835861c
+ unicode functions for sysutils, makes tunistr6.pp compiling
...
git-svn-id: trunk@13402 -
2009-07-17 14:05:19 +00:00
florian
ee49e8acb6
* SScanf uses StrToFloat to convert the string to a float so it has to use DecimalSeparator to parse the string
...
* test adapted to use DecimalSeparator to create the test string
git-svn-id: trunk@13399 -
2009-07-16 21:12:45 +00:00
florian
87df99a53d
* reverted partially r11598 because it breaks delphi compatibility and e.g. tw3721.pp
...
git-svn-id: trunk@13398 -
2009-07-16 21:01:27 +00:00
Jonas Maebe
deb052c3f5
* skip glibc-specific modifiers while parsing the locale info
...
(patch by Petr-K, fixes mantis #12148 )
git-svn-id: trunk@13396 -
2009-07-16 16:51:10 +00:00
Jonas Maebe
4e446c6184
* use ShortTimeFormat also for LongTimeFormat if T_FMT_AMPM is not defined
...
for the current locale (Kylix-compatible, thanks to Luca Olivetti for
the hint, fixes mantis #13947 )
git-svn-id: trunk@13395 -
2009-07-16 16:44:15 +00:00
Jonas Maebe
55578e8226
* fixed FloatToDecimal() for inf/nan (mantis #14143 , thanks to
...
Sergei Gorelkin for the test program)
git-svn-id: trunk@13394 -
2009-07-16 13:11:36 +00:00
florian
6dfd5cb5b8
* fix ExtractFileDrive for \\server\share\path\file: it should return \\server\share
...
* made test easier to debug
git-svn-id: trunk@13392 -
2009-07-15 20:40:34 +00:00
florian
e4e2b5be18
* added overloeaded InterlockedExchangeAdd with first parameter being a pointer, resolves #13282
...
git-svn-id: trunk@13363 -
2009-07-05 18:57:48 +00:00
florian
8c7f6fb7ac
+ more register definitions by Seppo Suutarla
...
* all registers use now th AT91C_ prefix
git-svn-id: trunk@13356 -
2009-07-02 17:50:13 +00:00
florian
77eca3a492
* setup stacks properly
...
git-svn-id: trunk@13332 -
2009-06-27 12:53:57 +00:00
Jonas Maebe
9c280eae26
* fixed range error introduced in r13213
...
git-svn-id: trunk@13328 -
2009-06-27 11:20:30 +00:00