florian
72416edcc4
+ support for tlsm_general on i386-linux
...
git-svn-id: trunk@40281 -
2018-11-11 17:32:20 +00:00
florian
9c041afc7c
* disable generic threadvar handling if section thread vars are available
...
git-svn-id: trunk@40270 -
2018-11-07 22:03:01 +00:00
yury
b717a149b6
* android: Removed cwstring from the uses clause of the unix unit. Use cwstring indirectly. It allows to avoid using cwstring if needed.
...
git-svn-id: trunk@40198 -
2018-11-03 12:34:59 +00:00
yury
5e92e2d23f
* Fixed crash in DiskFree() and DiskSize() on Unices due to out of bound read of the DriveStr[] array in rare cases.
...
git-svn-id: trunk@39866 -
2018-10-06 13:52:56 +00:00
yury
23006d16f5
* Fixed UnhookSignal when RTL_SIGDEFAULT is passed. The bug have caused crash on aarch64-android due to out of bounds read of the rtlsig2ossig[] array.
...
git-svn-id: trunk@39860 -
2018-10-05 18:33:55 +00:00
pierre
0e6c072365
define iconv_is_in_libc by default for netbsd OS (can be disabled by adding -dDISABLE_ICONV_LIBC option
...
git-svn-id: trunk@39801 -
2018-09-24 22:20:30 +00:00
svenbarth
09e5f463dc
+ add Delphi-compatible FileGetSymLinkTarget functions to all platforms (currently returns False on all platforms); this also includes TSymLinkRec variants for both RawByteString and UnicodeString
...
git-svn-id: trunk@39669 -
2018-08-24 15:33:45 +00:00
svenbarth
92dcdd8b5b
+ add Delphi compatible FollowLink parameter (default is True) to FileExists and DirectoryExists; support for it is up to each target
...
git-svn-id: trunk@39668 -
2018-08-24 15:33:09 +00:00
nickysn
7df861487b
* use include files in the unix ports unit as well
...
+ add portsh.inc and ports.inc for x86_64 as well
git-svn-id: trunk@39420 -
2018-07-09 14:42:01 +00:00
nickysn
f733e0a31c
+ use the x86 inline intrinsics for port access in the unix ports unit as well
...
git-svn-id: trunk@39372 -
2018-07-04 00:17:18 +00:00
nickysn
3ed284953b
* use the new x86 port access intrinsics in the x86 unit for unix
...
git-svn-id: trunk@39371 -
2018-07-03 23:25:18 +00:00
Károly Balogh
ab1a82bfb3
fix typo in comment. no functional change.
...
git-svn-id: trunk@37567 -
2017-11-07 15:50:59 +00:00
pierre
0c7646761f
Also disable pthread_attr_setinheritsched call for BeOS
...
git-svn-id: trunk@37266 -
2017-09-20 13:56:05 +00:00
pierre
98be7e67f1
Disable FpSigTimedWait also for BeOS
...
git-svn-id: trunk@37259 -
2017-09-20 08:49:12 +00:00
marco
b6824290fc
* initial fileflush, mantis #15824
...
git-svn-id: trunk@37135 -
2017-09-03 16:41:32 +00:00
marco
d98065d706
* change external name of wait to wait instead of waitpid. Reported
...
by Toshihiko Okuhara, mantis #32288
git-svn-id: trunk@36858 -
2017-08-08 10:56:54 +00:00
michael
52cd572cec
* Use specific type for TFPSet elements
...
git-svn-id: trunk@36710 -
2017-07-09 14:47:27 +00:00
florian
a927181d87
* properly align threadvars for sparc64
...
git-svn-id: trunk@36694 -
2017-07-08 21:22:40 +00:00
svenbarth
d5c8fe7455
* on targets with indirect main entry argc, argv and envp are provided through the indirect entry information instead of externals
...
git-svn-id: trunk@36686 -
2017-07-08 19:18:20 +00:00
florian
453fedf089
* empty lines removed
...
git-svn-id: trunk@36541 -
2017-06-19 21:17:56 +00:00
florian
1b371b15e3
* make webtbs/tw30535 also working on OSes using cthreads
...
git-svn-id: trunk@35570 -
2017-03-12 09:28:41 +00:00
Jonas Maebe
6d5339cdb6
* CP819/IBM819 should be mapped to Windows code page 28591 (ISO8859-1)
...
(mantis #30639 )
git-svn-id: trunk@35397 -
2017-02-04 22:44:36 +00:00
michael
d05175a17f
* FileOpen should not open directories (Windows compatible) Bug ID #30766
...
git-svn-id: trunk@35063 -
2016-12-04 12:41:57 +00:00
yury
1ccf551d1c
* android: Try to get the package files directory for any shared library. If it is valid use it as a home dir.
...
* android: Always set the syslog tag.
git-svn-id: trunk@34926 -
2016-11-20 10:53:23 +00:00
Jonas Maebe
1c04470b66
* converted for-loop to while-loop, because its loop count is used on exit
...
even if no break is triggered
git-svn-id: trunk@34776 -
2016-11-01 14:01:41 +00:00
Jonas Maebe
85f2903b8b
* don't index past the end of the transitions array (mantis #30829 )
...
git-svn-id: trunk@34775 -
2016-11-01 14:01:38 +00:00
sergei
67bd4775fd
- Cleaned out thread manager semaphore support which was ever implemented only for Unix, and not used since r28965. This also reverts changes to System unit interface introduced in r27665.
...
git-svn-id: trunk@34542 -
2016-09-20 20:14:36 +00:00
florian
16ac523f50
* link always excplicitly against libc on linux when using the dl unit so
...
the correct startup code is used
git-svn-id: trunk@34370 -
2016-08-22 14:16:21 +00:00
florian
80fc6a459c
* corrected r34366 (powerpc -> cpupowerpc)
...
git-svn-id: trunk@34368 -
2016-08-22 10:23:09 +00:00
florian
385f13cae9
* excplicitly link against libc in the unit dl, so the correct startup files are used, resolves issue #29594
...
git-svn-id: trunk@34366 -
2016-08-22 10:03:58 +00:00
yury
7756dab2bf
* android: Create app files dir if needed.
...
git-svn-id: trunk@34356 -
2016-08-20 12:41:36 +00:00
yury
419c6ce61e
* android:
...
+ API to write to the Android system log.
+ API to redirect standard output and error to the Android system log. The redirection is performed automatically for shared libraries loaded by Java applications.
git-svn-id: trunk@34352 -
2016-08-19 20:21:52 +00:00
yury
3822515bd9
* android: Fixed GetAppConfigDir, GetAppConfigFile, GetUserDir, GetTempDir to return correct writable locations. For NDK libraries, the path to local storage of host Java app is used. For console apps the /data/local/tmp is used.
...
git-svn-id: trunk@34351 -
2016-08-19 18:07:57 +00:00
yury
064375ea72
* android: Use ICU to get timezone information if running on an Android version where libc does not implement timezone.
...
git-svn-id: trunk@34348 -
2016-08-19 14:57:02 +00:00
yury
2630f3c498
* android: Properly initialize time zone information.
...
git-svn-id: trunk@34332 -
2016-08-18 14:03:34 +00:00
Jonas Maebe
60d75fa97e
* fixed (harmless) range error in 64 bit BSD-based RTLs
...
git-svn-id: trunk@33736 -
2016-05-21 14:48:32 +00:00
michael
960963e74b
* SearchAttr needs more bits (faSymlink=$400), bug ID #29870
...
git-svn-id: trunk@33340 -
2016-03-27 00:01:14 +00:00
marco
66608fec02
* unicode executeprocess from work during Lazarus convention in IJsselstein
...
git-svn-id: trunk@33290 -
2016-03-19 17:59:42 +00:00
marco
581f1188a5
* deprecated dt routines in unixutils. Julian routines already were
...
duplicated to the implementations of dos & sysutils.
localtoepoch and vv not yet.
git-svn-id: trunk@32378 -
2015-11-20 15:06:29 +00:00
michael
b651a8925e
* Observe TZ and TZDir when determining timezone
...
git-svn-id: trunk@32369 -
2015-11-19 22:34:23 +00:00
michael
9447b975f2
* Fix bug #28987 , fpfd_clr, and fpfdfillset using cardinal instead of correctly sized culong
...
git-svn-id: trunk@32329 -
2015-11-15 12:14:14 +00:00
michael
fde42ca8ef
* Type helpers, compatible to Delphi XE 8
...
git-svn-id: trunk@32262 -
2015-11-07 09:40:54 +00:00
marco
266ebc351b
* remove some deprecated functions. Most have alternatives since at least 2.4, and more often 2.2
...
I left getdomainname in "unix" for now, I don't know the exact status.
git-svn-id: trunk@32255 -
2015-11-06 14:55:38 +00:00
Jonas Maebe
f0c0b00467
* avoid threadvar memory leaks for external hooked threads if the tlskey
...
thread data is finalised by libpthread before the CleanupKey routine
is called (based on patch by Derek, mantis #28806 )
git-svn-id: trunk@32168 -
2015-10-27 21:52:05 +00:00
yury
7688639a10
* Return a real base address for ELF executables by GetModuleByAddr() instead of hard-coded 0.
...
* Obtain a real processaddress for ELF images by OpenExeFile() instead of hard-coded 0.
* It fixes line info information for Position Independent Executables (PIE).
git-svn-id: trunk@32052 -
2015-10-13 20:08:03 +00:00
yury
e1a0b1204a
* Removed unused vars in RTL.
...
git-svn-id: trunk@31750 -
2015-09-17 16:48:53 +00:00
yury
6f15b5bf63
* Use /data/local/tmp/ as a fallback temp dir on Android.
...
git-svn-id: trunk@31720 -
2015-09-16 16:37:17 +00:00
Jonas Maebe
4e0d546323
* Use mbrlen instead of mblen under Haiku like on other Unix like platforms.
...
This fixes the twide3 unit test (patch by Olivier Coursière, mantis #28538 )
git-svn-id: trunk@31427 -
2015-08-25 21:26:05 +00:00
Jonas Maebe
dc1f5f1a13
* Haiku use UTF-8 from day one, so it make sense to use the corresponding
...
code page as the default one (patch by Olivier Coursière, mantis #28520 )
git-svn-id: trunk@31333 -
2015-08-16 13:22:57 +00:00
Jonas Maebe
7f61cf5519
* Modify CODESET value according to the corresponding declaration in
...
langinfo.h under Haiku (patch by Olivier Cousière, mantis #28523 )
git-svn-id: trunk@31329 -
2015-08-16 13:22:45 +00:00