Commit Graph

10698 Commits

Author SHA1 Message Date
yury
2001609d9f * mipsel-android: rtl build.
git-svn-id: trunk@26703 -
2014-02-07 12:23:34 +00:00
yury
b21471a772 * mipsel-android: Fixed calling library startup code.
git-svn-id: trunk@26699 -
2014-02-07 10:16:43 +00:00
yury
bb1a2d21ab * mipsel-android: Fixed library loading.
git-svn-id: trunk@26689 -
2014-02-06 19:09:58 +00:00
yury
b995da1e06 + Added mipsel-android startup files by Vsevolod Alekseyev.
git-svn-id: trunk@26688 -
2014-02-06 18:33:23 +00:00
michael
f2d163cd38 * Fixed bug ID #23290 (FileSetDate on Dir)
git-svn-id: trunk@26682 -
2014-02-06 12:01:25 +00:00
sergei
a1dfaa54dd * Fixed exception handling in constructors of TP-style objects to correctly handle cases of statically allocated objects (must call destructor but do not free memory) and objects without destructor (must free memory if it was allocated dynamically).
+ Test extended.

git-svn-id: trunk@26676 -
2014-02-05 18:19:13 +00:00
marco
b7d94992eb * moved unxsockh for solaris, mantis #25657
git-svn-id: trunk@26662 -
2014-02-03 10:12:32 +00:00
sergei
1626667374 * Object helper routines review/improvement for alignment-sensitive targets:
- Replaced duplicate local declarations of pvmt/tvmt with pobjectvmt/tobjectvmt
    (name change needed because tvmt is already used for class-style VMTs)
  - Removed 'packed' attribute from tobjectvmt, since it is always aligned.
  * Use appropriate typecasts to generate aligned memory accesses where possible.

git-svn-id: trunk@26659 -
2014-02-03 01:18:19 +00:00
nickysn
f4f35ad47b * changed ExceptTryLevel from longint to nativeint (because i8086)
git-svn-id: trunk@26658 -
2014-02-03 00:48:11 +00:00
marco
e7639e582c * try fix #25657
git-svn-id: trunk@26654 -
2014-02-02 15:42:21 +00:00
marco
4fa8998541 * add SMsgDlgClose, Patch by stocki Mantis #25616
git-svn-id: trunk@26638 -
2014-01-31 19:56:50 +00:00
michael
b5a2b3860b * Added AddEmptyStrings to ExtractStrings (bug 25633)
git-svn-id: trunk@26600 -
2014-01-28 08:38:29 +00:00
michael
b023e30164 * Only resize TStringStream.Datastring in case the string will grow because of the write operation
git-svn-id: trunk@26599 -
2014-01-28 08:37:49 +00:00
nickysn
4c27c42f35 + added asm optimized BSF/BSR routines for i8086 by Max Nazhalov
git-svn-id: trunk@26593 -
2014-01-26 23:12:32 +00:00
nickysn
48edf78003 * make BSR/BSF return byte, instead of cardinal on 16/8-bit targets
git-svn-id: trunk@26591 -
2014-01-26 19:56:31 +00:00
Tomas Hajny
444fdc818b * corrected header (cosmetic)
git-svn-id: trunk@26589 -
2014-01-26 14:26:28 +00:00
sergei
aadb407e31 * Convert int64 to double in more straightforward way.
git-svn-id: trunk@26557 -
2014-01-21 14:33:56 +00:00
sergei
6dd845a183 * Removed TTabCoef type and unused zero members in coefficient arrays (the actual number of coefficients is passed to polevl/p1evl anyways).
* Use sizeint type instead of integer (the latter is 16-bit, resulting in unneeded adjustments on non-x86 targets).

git-svn-id: trunk@26556 -
2014-01-21 14:32:38 +00:00
Tomas Hajny
daa8eadb14 * allow trailing backslash in SetCurrentDir and ChDir
git-svn-id: trunk@26550 -
2014-01-21 00:42:16 +00:00
nickysn
a85bb98aa6 * patch from Max Nazhalov with improvements to the i8086 64-bit division:
since [unnormalized] n >= 0x10000 now, we have
   1. lzv<=47, so all code that makes shifts by >= 48 is dead;
   2. q3=0, so main loop can be executed just 3 times instead of 4.

git-svn-id: trunk@26535 -
2014-01-20 21:39:05 +00:00
svenbarth
f64ba97285 Fix compilation of WinCE (for both ARM and i386!) after RTL changes
* rtl/wince/Makefile.fpc: comment socket related units (which were moved)
* rtl/wince/Makefile: regenerate
* packages/rtl-extra/fpmake.pp:
    We need the sockets unit inside the win directory for WinCE as well. Best solution might be to merge the WinSock and WinSock2 units of Win32/64 and WinCE to get rid of the wince directory of rtl-extra
* packages/winceunits/fpmake.pp:
    Add rtl-extra as dependency as we need the socket related units for Bluetooth

git-svn-id: trunk@26530 -
2014-01-20 09:31:17 +00:00
Tomas Hajny
729730454b + source file for cp852 (IBM Latin-2 / central Europe) added
git-svn-id: trunk@26529 -
2014-01-20 01:24:04 +00:00
Tomas Hajny
2e004af6e7 + character sets for central Europe added also to Makefiles as implicit units
git-svn-id: trunk@26528 -
2014-01-20 00:26:15 +00:00
Tomas Hajny
be6fdf21ce + character sets for central Europe added also to Makefiles as implicit units
git-svn-id: trunk@26527 -
2014-01-20 00:23:36 +00:00
Tomas Hajny
ce4cb437e2 + character sets for central Europe added also to Makefiles as implicit units
git-svn-id: trunk@26526 -
2014-01-20 00:20:11 +00:00
paul
a1b5392e6c add missing charset source files
git-svn-id: trunk@26525 -
2014-01-19 23:45:41 +00:00
nickysn
5c8aa6e5b0 * fpc_mul_integer and fpc_mul_longint: fallback directly to the unsigned
multiplication routine in case overflow checking is not used

git-svn-id: trunk@26524 -
2014-01-19 23:06:34 +00:00
Tomas Hajny
2c60f456f1 * fixed WinCE breakage caused when moving to target dependent type for ordinal argument in GetProcAddress
git-svn-id: trunk@26522 -
2014-01-19 22:42:52 +00:00
Tomas Hajny
1a430d8110 * GetProcAddr added for OS/2, type of argument for ordinal target specific now
git-svn-id: trunk@26521 -
2014-01-19 21:15:26 +00:00
nickysn
b91509159a + added asm optimized 64-bit division helpers for i8086 by Max Nazhalov
git-svn-id: trunk@26520 -
2014-01-19 20:26:24 +00:00
Tomas Hajny
5f6aefa4c0 + character sets for central Europe added
git-svn-id: trunk@26516 -
2014-01-19 01:24:16 +00:00
nickysn
4a107dcfa6 + added 32-bit asm optimized division helpers for i8086 by Max Nazhalov
git-svn-id: trunk@26512 -
2014-01-18 20:33:30 +00:00
sergei
78e726b34f * i386: Somewhat optimized fpc_mul_qword routine, got rid from variable 'r', registers esi and edi. Also ignore overflow checking when both operands have their high dwords equal to zero, because in such case multiplication cannot overflow.
git-svn-id: trunk@26511 -
2014-01-18 19:28:00 +00:00
florian
2a2184bc40 * regenerated makefiles affected by the last change
git-svn-id: trunk@26503 -
2014-01-18 10:21:41 +00:00
pierre
f4726e068b Avoid assmebler size mismatch warning in Keep procedure
git-svn-id: trunk@26496 -
2014-01-17 23:33:24 +00:00
nickysn
34cf432600 * in the generic implementation of fpc_mul_int64, fallback directly to
fpc_mul_qword directly in case overflow checking is not used

git-svn-id: trunk@26483 -
2014-01-17 01:25:41 +00:00
sergei
dd78cd5811 + SPARC: assembler implementation of SarInt64.
git-svn-id: trunk@26467 -
2014-01-15 15:11:40 +00:00
svenbarth
6273192ce1 + Add a new overload to DynLibs to allow loading by Ordinal only. This needs specific operating system support however and will return Nil (using a default implementation) if ordinals are not supported.
+ Implement overload for the three supported Windows targets.

git-svn-id: trunk@26457 -
2014-01-14 15:23:55 +00:00
pierre
baf79eb12b Recompiled with pic option
git-svn-id: trunk@26455 -
2014-01-13 23:07:56 +00:00
pierre
d492b3d17d crtbeginS.o seems to use _init, not __init
git-svn-id: trunk@26454 -
2014-01-13 23:04:54 +00:00
pierre
9833faeb0a Fix loading of __progname_storage+255
git-svn-id: trunk@26453 -
2014-01-13 23:03:51 +00:00
pierre
fdb3525d9f crtbeginS.o seems to use _init, not __init
git-svn-id: trunk@26452 -
2014-01-13 23:02:06 +00:00
pierre
9303231220 Remove objects from RTL unit list for netbsd
git-svn-id: trunk@26451 -
2014-01-13 22:23:24 +00:00
Jonas Maebe
5d389e99fd * always use the *W version of the Windows API in ExtractShortPathName() so
it works correctly regardless of white kind of string is passed in
  (and return a string encoded in DefaultRTLFileSystemCodePage)

git-svn-id: trunk@26450 -
2014-01-13 22:21:09 +00:00
florian
15df4a4f80 + support iso pascal like program parameters in iso mode
git-svn-id: trunk@26437 -
2014-01-12 20:17:51 +00:00
florian
e841027a48 * fixes handling of typed files in iso mode
git-svn-id: trunk@26436 -
2014-01-12 20:17:48 +00:00
marco
057b07966c * some more socket fixes. unix*/unx* files were manually moved, not svn moved.
git-svn-id: trunk@26431 -
2014-01-12 14:11:50 +00:00
marco
f09374a197 * winsock(and -2), sockets and gpm to rtl-extra.
git-svn-id: trunk@26426 -
2014-01-11 19:45:37 +00:00
paul
932349020c rtl: deprecate winwidestringalloc
git-svn-id: trunk@26421 -
2014-01-11 14:16:49 +00:00
sergei
fb02283927 * x86_64: Adjust result of fpc_longjmp without using branches.
git-svn-id: trunk@26415 -
2014-01-10 07:29:28 +00:00