pierre
5659e910ef
Also define __CPU_SIMPLE_LOCK_PAD for x86_64 netbsd
...
git-svn-id: trunk@29057 -
2014-11-10 23:12:43 +00:00
pierre
f9abd7b1da
Also define PHTREAD_INHERIT_SCHED
...
git-svn-id: trunk@29056 -
2014-11-10 23:11:41 +00:00
pierre
f188dec303
Add missing unixtype unit dependencies
...
git-svn-id: trunk@27507 -
2014-04-10 09:54:26 +00:00
marco
a818559481
* clocale moved to rtl-extra.
...
git-svn-id: trunk@27376 -
2014-03-30 15:27:35 +00:00
marco
d6f5ca21b9
* moved units ipc for *BSD, darwin/iphonesim and linux. The others are
...
makefile cleanups.
git-svn-id: trunk@27373 -
2014-03-30 13:13:13 +00:00
marco
c6424b2e0b
* moved unit terminfo to rtl-console
...
git-svn-id: trunk@27353 -
2014-03-29 21:00:50 +00:00
marco
959ea7f5bb
* printer unit moved. Amiga unit also moved but it is not actively used.
...
git-svn-id: trunk@27351 -
2014-03-29 20:35:28 +00:00
marco
7f8a9bcf6e
* serial to rtl-extra
...
git-svn-id: trunk@27350 -
2014-03-29 20:06:36 +00:00
marco
c465d3d64a
* moving 4 cp9* units. These are 16-bit and big.
...
git-svn-id: trunk@27349 -
2014-03-29 19:43:13 +00:00
marco
ed3a49372d
* strutils moved to packages/rtl-objpas
...
git-svn-id: trunk@27339 -
2014-03-29 17:51:44 +00:00
pierre
0b8f6c621c
Fix an error in rtlconsts$(PPU) rule
...
git-svn-id: trunk@27307 -
2014-03-27 23:18:28 +00:00
marco
c376210946
* regenned makefiles which were regennerated with a 2.6.x fpcmake in the rtl-unicode transition
...
Mantis #25897
git-svn-id: trunk@27231 -
2014-03-22 20:11:13 +00:00
marco
a1351db576
* rtl-unicode package, containing unicodeducet, collation units and *bidi* units
...
git-svn-id: trunk@27207 -
2014-03-20 18:28:38 +00:00
marco
08b26eeba6
* matrix+ucomplex line removal.
...
git-svn-id: trunk@27205 -
2014-03-20 18:10:46 +00:00
yury
73c26bd6be
* mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
...
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +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
pierre
9303231220
Remove objects from RTL unit list for netbsd
...
git-svn-id: trunk@26451 -
2014-01-13 22:23:24 +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
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
paul
14a34239cc
rtl: add cp856 to makefiles
...
git-svn-id: trunk@26387 -
2014-01-05 06:03:28 +00:00
marco
a001e12d04
* rtl-console initial version.
...
git-svn-id: trunk@26372 -
2014-01-03 22:19:02 +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
marco
018be5c22c
* add pthread_attr_destroy, due to Vincent's follow up to mantis #25416
...
git-svn-id: trunk@26223 -
2013-12-12 10:13:41 +00:00
pierre
2fa28f7e1c
Add buildcollations and unicode* units
...
git-svn-id: trunk@26183 -
2013-12-05 17:22:13 +00:00
nickysn
1bea98995b
* regenerated fpcmake makefiles after r25642
...
git-svn-id: trunk@25644 -
2013-10-05 10:11:27 +00:00
Jonas Maebe
da7a67bc74
+ FPCRTL_FILESYSTEM_SINGLE_BYTE_API define that is set for targets where we
...
use a single byte API for file system operations
+ FPCRTL_FILESYSTEM_TWO_BYTE_API define that is set for targets where we
use a single byte API for file system operations
o in principle, both can be set if both are supprted and implemented in
the RTL in order to minimise conversions depending on the scenario
git-svn-id: branches/cpstrrtl@24991 -
2013-06-27 21:37:39 +00:00
Jonas Maebe
ecd3cba02b
* synchronised with trunk up to r24912
...
o resolved conflict in updated morphos sysutils unit
o moved code that had been added to the now deleted sysunix.inc to the
unix-specific block of the fpwidestring unit's init code
git-svn-id: branches/cpstrrtl@24913 -
2013-06-17 20:50:02 +00:00
marco
c987e1f5b9
* add CPU prefix to some defines
...
M netbsd/signal.inc
git-svn-id: trunk@24684 -
2013-06-01 08:17:30 +00:00
pierre
78a7043352
Regenerate all Makefiles with an up-to-date fpcmake binary (dummy commit)
...
git-svn-id: trunk@24367 -
2013-04-29 12:30:54 +00:00
florian
3d7033d81e
* Makefiles regenerated
...
git-svn-id: trunk@24325 -
2013-04-25 20:25:57 +00:00
paul
a592e77f35
rtl: add missing windows codepages (mantis #0024294 )
...
git-svn-id: trunk@24295 -
2013-04-22 01:48:12 +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
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
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
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
yury
2fc220cc6c
* Regenerated makefiles.
...
git-svn-id: branches/targetandroid@23410 -
2013-01-16 14:52:36 +00:00
yury
d26f0552a0
* Sync with trunk r23404.
...
* Regenerated makefiles.
git-svn-id: branches/targetandroid@23405 -
2013-01-16 13:21:51 +00:00
Jonas Maebe
598d2feeb6
+ rtldefs.inc file for every target that contains defines shared by multiple
...
RTL units. Comes with a FPCRTL_FILESYSTEM_UTF8 define that can be
activated for targets whose single byte filesystem interface enforces
UTF-8; included in inc/systemh.inc and unix/cwstring.pp until now
+ DefaultFileSystemCodePage variable that holds the code page used for
communicating with the OS single byte file system APIs, and for the
strings returned by those same APIs. Initialized with
o the result of GetACP in the system unit of Windows platforms, except for
WinCE which uses UTF-8 since its file system OS API calls already use
the UTF-16 versions
o CP_UTF8 on Unix platforms with FPCRTL_FILESYSTEM_UTF8 defined, and with
DefaultSystemCodePage on other Unix platforms
o DefaultSystemCodePage on Java/Android JVM targets
+ DefaultRTLFileSystemCodePage variable that holds the code page used to
encode strings returned by RTL routines that return filenames obtained
from OS API calls. By default the same as DefaultFileSystemCodePage on
all platforms. Separate from DefaultFileSystemCodePage for clarity on
platforms that may use either utf-16 or single byte OS API calls to
send/receive file names (such as most Windows platforms)
+ new scpFileSystemSingleByte enum that can be passed to
GetStandardCodePage() to get the default code page for OS single byte file
system APIs, with implementations for Unix and Windows
+ SetMultiByteFileSystemCodePage() procedure to override the value of
DefaultFileSystemCodePage
In principle, in the long run unchanged programs only using generic
ansistrings and unicodestrings should (mostly) behave the same as in
FPC 2.6.0 as far as RTL-level file system APIs are concerned if
they set DefaultFileSystemCodePage and DefaultRTLFileSystemCodePage
to DefaultSystemCodePage at the start of their execution
git-svn-id: branches/cpstrrtl@22466 -
2012-09-27 07:54:06 +00:00
pierre
6ac8b6e9c7
Fix SigContextRec record for x86_64 cpu
...
git-svn-id: trunk@22388 -
2012-09-14 12:06:07 +00:00
tom_at_work
810adb2f65
Merge with trunk r22040. Regenerated makefiles.
...
git-svn-id: branches/targetandroid@22046 -
2012-08-09 08:12:34 +00:00
tom_at_work
4150f0a2fb
Rebase with r21814
...
git-svn-id: branches/targetandroid@21815 -
2012-07-07 23:09:20 +00:00
pierre
de9d8f2880
Regenerated after: Add x86_64 cpu specific units
...
git-svn-id: trunk@21372 -
2012-05-23 09:16:57 +00:00
pierre
7a9f1556e2
Add x86_64 cpu specific units
...
git-svn-id: trunk@21371 -
2012-05-23 09:13:06 +00:00
pierre
312c6bb7f8
x86_64 subdirectory added
...
git-svn-id: trunk@21370 -
2012-05-23 09:09:46 +00:00
tom_at_work
77a85b7448
* basic android/x86 support
...
git-svn-id: branches/targetandroid@21296 -
2012-05-14 21:14:12 +00:00
marco
4a782b1411
* tcflow and tcsendbreak fix for open/net
...
git-svn-id: trunk@21240 -
2012-05-05 20:15:43 +00:00
marco
2213b67134
* fix Mantis #21665 for net/free/openbsd
...
git-svn-id: trunk@21232 -
2012-05-05 15:03:12 +00:00
Jonas Maebe
834026bfb5
* synchronised with trunk up to r21067
...
git-svn-id: branches/jvmbackend@21068 -
2012-04-26 21:24:20 +00:00
tom_at_work
acbc94e0fd
- initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development.
...
- basic rtl support using system calls
- fp(c)make/fppkg/makefile support
todo:
- revisit systems/t_android.pas: mostly duplicate with t_linux.pas, containing
lots of unnecessary code
- revisit rtl changes
- android ndk header translation import
- better app build/packaging support
- android/x86 support
git-svn-id: branches/targetandroid@21061 -
2012-04-26 09:36:42 +00:00
pierre
1b3fd997fc
+ Regenerate all Makefiles's after adding x86_64 netbsd target
...
git-svn-id: trunk@21031 -
2012-04-24 23:15:18 +00:00
pierre
2684c3fec4
Define USE_SIGACTION_SIGTRAMP for x86_64
...
git-svn-id: trunk@21029 -
2012-04-24 23:06:22 +00:00
pierre
e0aa5839a9
* Add missing sc_arg6 to sc_arg9 fields in x86_64 SigContext record
...
git-svn-id: trunk@21028 -
2012-04-24 23:05:20 +00:00
pierre
3b858a6ab2
messages checked
...
git-svn-id: trunk@20931 -
2012-04-19 14:51:43 +00:00
pierre
196dfdd29a
Changed sem_t to pointer to a anonymous struct as in system header and fixed wrong constant values
...
git-svn-id: trunk@20930 -
2012-04-19 12:52:28 +00:00
pierre
16896f42dd
Change SIGIOT to alias of SIGABRT (value does not change)
...
git-svn-id: trunk@20929 -
2012-04-19 12:37:23 +00:00
pierre
3d17ae49af
Corrected NetBSD system errors
...
git-svn-id: trunk@20923 -
2012-04-18 16:04:01 +00:00
pierre
8750b10113
correct TStatFs for netbsd
...
git-svn-id: trunk@20904 -
2012-04-17 15:25:29 +00:00
Jonas Maebe
aee5380ae0
* merged trunk up to r20882
...
o support for the new codepage-aware ansistrings in the jvm branch
o empty ansistrings are now always represented by a nil pointer rather than
by an empty string, because an empty string also has a code page which
can confuse code (although this will make ansistrings harder to use
in Java code)
o more string helpers code shared between the general and jvm rtl
o support for indexbyte/word in the jvm rtl (warning: first parameter
is an open array rather than an untyped parameter there, so
indexchar(pcharvar^,10,0) will be equivalent to
indexchar[pcharvar^],10,0) there, which is different from what is
intended; changing it to an untyped parameter wouldn't help though)
o default() support is not yet complete
o calling fpcres is currently broken due to limitations in
sysutils.executeprocess() regarding handling unix quoting and
the compiler using the same command lines for scripts and directly
calling external programs
o compiling the Java compiler currently requires adding ALLOW_WARNINGS=1
to the make command line
git-svn-id: branches/jvmbackend@20887 -
2012-04-15 15:54:10 +00:00
Jonas Maebe
44bd889b9b
* regenerated Makefiles with AIX support
...
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
pierre
db525785c8
* Fix typo in last commit
...
git-svn-id: trunk@20767 -
2012-04-08 21:42:20 +00:00
pierre
8e3da0c7e6
+ Add netbsd x86_64 support for intAssignPipe
...
git-svn-id: trunk@20766 -
2012-04-08 21:32:37 +00:00
pierre
e97ee1aaf9
Add SigContextRec for x86_64 CPU
...
git-svn-id: trunk@20743 -
2012-04-07 15:52:15 +00:00
pierre
13d667da45
Fix ino_t for stat13 x86_64 CPU
...
git-svn-id: trunk@20742 -
2012-04-07 15:51:26 +00:00
pierre
78e129931b
Add NETBSD_USE_STAT30 conditional for recent NetBSD changes, not yet used
...
git-svn-id: trunk@20741 -
2012-04-07 15:37:03 +00:00
pierre
bd793d2f70
ino_t is 64 bit for 32-bit system also for NetBSD
...
git-svn-id: trunk@20738 -
2012-04-06 23:57:00 +00:00
pierre
2c4d8cc9d9
Add x86_64-openbsd target in Makefiles
...
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
pierre
9d9a5013fd
* Fix pthread_mutexattr_t type according to /usr/include/pthread_types.h
...
git-svn-id: trunk@20689 -
2012-04-01 21:27:18 +00:00
pierre
422c618109
Add missing .note.netbsd.ident section
...
git-svn-id: trunk@20651 -
2012-03-29 14:05:12 +00:00
pierre
63f9d7bbed
Update cprt0.as to 5.1 release
...
git-svn-id: trunk@20643 -
2012-03-27 15:39:30 +00:00
pierre
6edb8a286f
Avoid SEGV in signal handler as second parameter is only a code, not a pointer
...
git-svn-id: trunk@20642 -
2012-03-27 15:34:00 +00:00
pierre
79c8234c8b
Protect against nil values for info or SigContext
...
git-svn-id: trunk@20356 -
2012-02-15 13:20:26 +00:00
pierre
65ec3cfe4e
Fix SigActionRec record field order
...
git-svn-id: trunk@20355 -
2012-02-15 13:19:22 +00:00
pierre
8fc1fb5e15
Regenerate Makefile
...
git-svn-id: trunk@20343 -
2012-02-13 16:57:03 +00:00
pierre
e4acc1d474
Add explicit rule for variants unit compilation for correct dependencies
...
git-svn-id: trunk@20342 -
2012-02-13 16:56:30 +00:00
pierre
a874ee7f19
Regenerate Makefile
...
git-svn-id: trunk@20341 -
2012-02-13 16:46:20 +00:00
pierre
c9c61ef559
Add more missing units to NetBSD
...
git-svn-id: trunk@20340 -
2012-02-13 16:45:47 +00:00
pierre
30bd2229b2
Wide char and mbstate_t types added
...
git-svn-id: trunk@20339 -
2012-02-13 16:45:15 +00:00
pierre
2d6ca8a363
* Fix code for SIGFPE and adapt to SignalHandler procedure type change
...
git-svn-id: trunk@20332 -
2012-02-12 22:55:23 +00:00
pierre
0abcb738e5
* Fix SigActionHandler for fcl-extra
...
git-svn-id: trunk@20330 -
2012-02-12 19:53:27 +00:00
pierre
464c3bff67
+ Add missing PSigContext type
...
git-svn-id: trunk@20329 -
2012-02-12 19:21:00 +00:00
pierre
beaed6ba70
Regenerate after Makefile.fpc change
...
git-svn-id: trunk@20299 -
2012-02-10 00:24:57 +00:00
pierre
b7864f2edb
Add missing units
...
git-svn-id: trunk@20298 -
2012-02-10 00:24:27 +00:00
pierre
ed3284546a
New file adapted from Darwin
...
git-svn-id: trunk@20297 -
2012-02-10 00:23:50 +00:00
pierre
ac9f2fc750
Add missing kqueue and kevent syscalls
...
git-svn-id: trunk@20296 -
2012-02-10 00:21:42 +00:00
pierre
b72b38fdaa
* Try to implement real pmutext, not yet working
...
git-svn-id: trunk@20295 -
2012-02-10 00:20:52 +00:00
pierre
12f3e8fbc3
+ Add some missing constants
...
git-svn-id: trunk@20291 -
2012-02-09 17:34:22 +00:00
pierre
562a60e36a
Add some missing units
...
git-svn-id: trunk@20290 -
2012-02-09 17:33:55 +00:00
pierre
af22d79a31
Add some missing units
...
git-svn-id: trunk@20289 -
2012-02-09 17:33:35 +00:00
pierre
d9249ab44d
Correct passing envp to main
...
git-svn-id: trunk@20288 -
2012-02-09 17:32:41 +00:00
pierre
6cd1c2a60c
+ Add CPREFIX macro to allow transition from '_' prefix to ''
...
git-svn-id: trunk@20287 -
2012-02-09 17:31:43 +00:00
pierre
4a74ba14eb
+ Add tsiginfo type
...
git-svn-id: trunk@20242 -
2012-02-03 22:52:21 +00:00
pierre
9aa157b7fc
* Remove _strrchr call and add environ common
...
git-svn-id: trunk@20241 -
2012-02-03 22:51:57 +00:00
pierre
cc69ccff13
+ Add missing syscall_nr_sigtimedwait
...
git-svn-id: trunk@20240 -
2012-02-03 22:51:12 +00:00
pierre
7167b5b065
Fix cross rtl compilation problems
...
git-svn-id: trunk@20124 -
2012-01-20 16:39:57 +00:00
florian
9426cac1b0
* rebuilt Makefiles
...
git-svn-id: trunk@19748 -
2011-12-04 15:34:01 +00:00
paul
3e29f0b179
rtl: make cwstring.pp dependent of dynlibs, load iconvctl dynamically
...
git-svn-id: trunk@19538 -
2011-10-25 01:25:23 +00:00
pierre
f0aa48b083
* Remove use of direct U_UNIT_NAME or TC_UNIT_NAME
...
symbols in assembler sources.
Added to corresponding system variables or typed constants a
public name 'operatingsystem_XXX' alias and used that alias in assembler
source.
git-svn-id: trunk@18943 -
2011-09-02 12:51:48 +00:00