michael
37ba6f9b27
* Fixed 23805
...
git-svn-id: trunk@23899 -
2013-03-17 17:00:39 +00:00
Jonas Maebe
e1e11f81e3
* fixed using readstr/writestr inside routines called from the parameter
...
list of another readstr/writestr expression (mantis #23912 )
git-svn-id: trunk@23888 -
2013-03-17 14:23:33 +00:00
florian
d5985b4f0e
* patch by Christophe Staïesse to implement more ISO-like read behaviour in iso mode, resolves #24060
...
git-svn-id: trunk@23884 -
2013-03-17 08:27:21 +00:00
sergei
be1fcc8e3d
* Forgotten delay slot was causing exit code loss in most library-related tests.
...
git-svn-id: trunk@23874 -
2013-03-16 20:01:33 +00:00
florian
380bc56e32
+ create a default heap on embedded targets and register this default heap
...
* sysutils for the embedded target depends on a working heap manager
git-svn-id: trunk@23853 -
2013-03-16 10:37:18 +00:00
pierre
050cc0b0a7
Regenerated after: Added dllprt0.as fro netbsd
...
git-svn-id: trunk@23847 -
2013-03-15 16:07:57 +00:00
pierre
12d4b0b173
+ Added dllprt0.as fro netbsd
...
git-svn-id: trunk@23846 -
2013-03-15 16:07:25 +00:00
pierre
503b8c73c2
Avoid infinite loops with RTE 204 if heap is corrupted
...
git-svn-id: trunk@23845 -
2013-03-15 15:40:23 +00:00
sergei
0a155e3ae1
MIPS startup code:
...
- Removed tabs.
- Removed nonsense code involving $s7.
+ Call finalization procedure in the end, fixes webtbs/tw9089.
+ added non-executable stack marker.
git-svn-id: trunk@23842 -
2013-03-15 12:33:10 +00:00
pierre
adfecc8173
Real i386 version of dllprt0.as file
...
git-svn-id: trunk@23831 -
2013-03-14 14:15:34 +00:00
pierre
350ae58dc9
Fix error in last commit, include name must be enclosed in double quotes
...
git-svn-id: trunk@23830 -
2013-03-14 13:58:22 +00:00
pierre
8d8509590f
Add dllprt0 for x86_64 (i386 version simply includes cprt0.as)
...
git-svn-id: trunk@23828 -
2013-03-14 13:50:21 +00:00
pierre
7d0e45b142
Regenerated after commit 23822, Add clocale unit target, contributed by Pascal Stumpf
...
git-svn-id: trunk@23823 -
2013-03-14 09:40:47 +00:00
pierre
dede8a159e
Add clocale unit target, contributed by Pascal Stumpf
...
git-svn-id: trunk@23822 -
2013-03-14 09:40:15 +00:00
paul
8c76535014
rtl: add missing 4 _be collations (2 collations are still not generated)
...
git-svn-id: trunk@23820 -
2013-03-14 03:30:53 +00:00
paul
db357320d7
rtl: install all cpXXX .ppu and .o files
...
git-svn-id: trunk@23802 -
2013-03-12 11:44:15 +00:00
paul
5157304998
rtl: build fpwidestring for the same platforms as character unit
...
git-svn-id: trunk@23801 -
2013-03-12 03:23:08 +00:00
paul
032b241c6b
rtl: fpwidestring - fix length of UnicodeStrings after UTF8ToUnicode. UTF8ToUnicode returns length + 1 for zero byte which is not needed for UnicodeString.
...
git-svn-id: trunk@23800 -
2013-03-12 03:14:22 +00:00
paul
e379daaf9c
compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets
...
git-svn-id: trunk@23799 -
2013-03-12 01:35:25 +00:00
florian
c2baf7b4c0
Merge r23058
...
git-svn-id: trunk@23776 -
2013-03-10 16:37:57 +00:00
florian
086ae4b999
Merge r22905 and r22906
...
git-svn-id: trunk@23773 -
2013-03-10 10:45:34 +00:00
Jonas Maebe
f00d9f6f84
* correct dlopen flag values for Darwin (patch by lks, mantis #23979 )
...
git-svn-id: trunk@23771 -
2013-03-10 10:22:43 +00:00
paul
d51da3ad58
rtl: enable collations building for win64
...
git-svn-id: trunk@23770 -
2013-03-10 09:56:01 +00:00
paul
23c9578137
rtl: setup DefaultSystemCodepage when fpwidestring is included on unixes
...
git-svn-id: trunk@23768 -
2013-03-10 06:42:50 +00:00
paul
02e0269764
rtl: a patch to cleanup a fixes to key forming functions from Inoussa (mantis #0022909 )
...
git-svn-id: trunk@23767 -
2013-03-10 06:27:03 +00:00
florian
21c154d60a
Merged r22903
...
git-svn-id: trunk@23757 -
2013-03-09 20:56:07 +00:00
marco
744d45714d
* added missing baudrates that were in 7.x already. Patch by Graeme, Mantis #23992
...
git-svn-id: trunk@23733 -
2013-03-08 22:26:40 +00:00
paul
b9a33b2b0a
rtl: enabled collations building for win32 target
...
git-svn-id: trunk@23731 -
2013-03-08 15:25:49 +00:00
paul
7a0b112e56
rtl: add FPC Independent Unicode String Manager from Inoussa (mantis #0022909 )
...
git-svn-id: trunk@23730 -
2013-03-08 15:23:20 +00:00
paul
fc0bab5844
rtl: possible fix compilation of charset.pp on 64 bit
...
git-svn-id: trunk@23729 -
2013-03-08 13:50:21 +00:00
paul
43e0116f61
compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909 )
...
git-svn-id: trunk@23727 -
2013-03-08 13:10:39 +00:00
marco
9f53738142
* fill in purpose of the unit in comment, updated copyright
...
git-svn-id: trunk@23725 -
2013-03-08 09:18:26 +00:00
svenbarth
da7b24e242
Avoid multiple threadvar lookups when querying the current TThread. Inspired by Michael Schnell.
...
rtl/objpas/classes/classes.inc, TThread.GetCurrentThread:
* instead of checking CurrentThreadVar and reading it again afterwards we read it first into Result and check this value; this way we have one read access in the normal case and one read and one write access in the worst case
git-svn-id: trunk@23706 -
2013-03-07 20:15:32 +00:00
pierre
f4b6625145
+ Use __setlocale_mb_len_max_32 for netbsd as suggested by linker warning
...
git-svn-id: trunk@23696 -
2013-03-05 11:40:24 +00:00
yury
5bf237afc1
* Turn off assigning UnixGetModuleByAddrHook for Android, since dladdr() function is not available on old (1.x) Android versions.
...
git-svn-id: trunk@23695 -
2013-03-05 00:00:02 +00:00
yury
5d061a7efa
* Do not use persistent register r5 in the library init code. It fixes crash during library load on some versions of Android. Issue #23974 .
...
* Made the startup code Thumb-safe.
git-svn-id: trunk@23694 -
2013-03-04 23:49:41 +00:00
pierre
90f4d8ddcd
+ Add .note.openbsd.ident section, contributed by Pascal Stumpf
...
git-svn-id: trunk@23685 -
2013-03-03 21:18:20 +00:00
florian
1eeeb309c7
* intial armv6m support, it is not working yet, constant pool insertation and conditional branch fixup is not working yet
...
git-svn-id: trunk@23682 -
2013-03-03 12:20:10 +00:00
yury
5e369ae7fc
* Use UTF-8 as fallback code page on linux and ASCII on other unix systems.
...
git-svn-id: trunk@23680 -
2013-03-02 09:51:05 +00:00
yury
c4ba95b227
* Use CP_ASCII as fallback in GetSystemCodepage to be compatible with cwstring.
...
git-svn-id: trunk@23676 -
2013-03-01 08:44:05 +00:00
yury
8bce7058fc
* Build unixcp for android too.
...
git-svn-id: trunk@23674 -
2013-02-28 20:01:50 +00:00
yury
b0d79b7854
* Use UTF-8 as fallback in GetSystemCodepage.
...
git-svn-id: trunk@23673 -
2013-02-28 19:48:56 +00:00
yury
2b2a68446d
* Added new unit unixcp. It contains stuff from winiconv.inc - a table to map Windows code page identifiers to locale names on unix. Also GetSystemCodePage function in this unit can be used to detect which code page is used currently.
...
* Build unixcp for all unix-like systems.
* Use the unixcp unit in cwstring instead of winiconv.inc.
- Deleted winiconv.inc
- Reverted r22410,r22411,r22428. The compiler will use the unixcp unit to get a default code page for ansistrings.
git-svn-id: trunk@23670 -
2013-02-28 18:21:28 +00:00
paul
535615dfa4
rtl: apply piece of changes to charset.pp from Inoussa (part of mantis #0022909 )
...
git-svn-id: trunk@23658 -
2013-02-25 02:22:14 +00:00
paul
e549954de6
rtl:
...
* apply Inoussa changes to character.pas and related files (part of mantis #0022909 )
git-svn-id: trunk@23657 -
2013-02-25 01:46:33 +00:00
svenbarth
db6385ef33
Added exception EObjectCheck for object reference check (runtime error 210).
...
rtl/objpas/sysconst.pp:
+ add resourcestring SObjectCheckError
rtl/objpas/sysutilh.inc:
+ add new Exception descendant EObjectCheck
rtl/objpas/sysutils.inc:
+ use EObjectCheck with message SObjectCheckError for runtime error 210
git-svn-id: trunk@23656 -
2013-02-24 22:22:38 +00:00
yury
3fbe35da4b
* Reverted r23646, since missing clocale has been committed.
...
git-svn-id: trunk@23649 -
2013-02-24 13:29:30 +00:00
yury
65d610902b
+ Forgot to commit dummy clocale. It has caused Issue #23931 .
...
git-svn-id: trunk@23648 -
2013-02-24 13:27:50 +00:00
svenbarth
f229d601de
Fix for Mantis #23931 .
...
rtl/android/Makefile.fpc:
* clocale.pp is located in $(UNIXINCDIR)
git-svn-id: trunk@23646 -
2013-02-22 17:32:58 +00:00
sergei
5d5d226487
* Applied a counterpart of r22318 to 64-bit mod/div routines.
...
git-svn-id: trunk@23643 -
2013-02-21 19:37:31 +00:00