yury
a29290202f
* Regenerated makefiles to support x86_64-android.
...
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
8c59eb1ce5
* Regenerated makefiles to support aarch64-android.
...
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
fe61157cae
Update all rtl Makefile's
...
git-svn-id: trunk@39824 -
2018-09-27 06:55:12 +00:00
florian
a34d4e715c
Merged riscv_new branch
...
git-svn-id: trunk@39813 -
2018-09-26 19:49:08 +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
marco
d143ab60e1
* regenned makefile without date/rev components for easier merging.
...
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
Jeppe Johansen
2aaf481d89
Regenerated makefiles.
...
git-svn-id: branches/laksen/riscv_new@39476 -
2018-07-20 10:40:57 +00:00
nickysn
65d8836952
* updated dependencies of unit ports (objpas and x86 is no longer required on
...
certain platforms) and regenerated makefiles
git-svn-id: trunk@39373 -
2018-07-04 00:33:12 +00:00
pierre
d6be56e225
Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
...
git-svn-id: trunk@38750 -
2018-04-12 15:23:03 +00:00
Károly Balogh
467349c5ee
atari: do not reference DOS unit explicitly as a dependency. it's now built by buildrtl. add an rtl.cfg for easy features override
...
git-svn-id: trunk@38310 -
2018-02-22 12:09:44 +00:00
Károly Balogh
3d16d38f10
atari: enable FPC_STDOUT_TRUE_ALIAS and groom some of the other defines
...
git-svn-id: trunk@38198 -
2018-02-10 23:01:54 +00:00
pierre
595938637e
Add explicit FPC_SYSTEM_OPT variable that is only used for compilation of system units, thus allowing to explicitly pass -Sf option
...
git-svn-id: trunk@37890 -
2018-01-02 16:50:58 +00:00
florian
5bedaf11f4
* fpcmake.inc and Makefiles renerated after last commit
...
git-svn-id: trunk@37834 -
2017-12-27 15:08:18 +00:00
Károly Balogh
5cbdf4d30c
atari: moved the target to use tinyheap, and various cleanups
...
git-svn-id: trunk@37827 -
2017-12-27 02:57:25 +00:00
pierre
d18627f0af
* Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
...
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
Károly Balogh
04dee0fc04
regenerated Makefiles for m68k-macos target
...
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
Károly Balogh
f6af4ab25f
atari: if FindFirst fails, always call FindClose, just in case
...
git-svn-id: trunk@36504 -
2017-06-15 12:46:15 +00:00
Károly Balogh
f91a9c07e7
atari/m68k: enable inlining and compiler mul32to64 in the softfpu
...
git-svn-id: trunk@36491 -
2017-06-12 13:05:20 +00:00
nickysn
748428b637
+ support the KOI8-R and KOI8-U Cyrillic encodings
...
git-svn-id: trunk@36445 -
2017-06-07 13:51:53 +00:00
nickysn
fce5fbd726
+ added cp3021 (Bulgarian MIK) code page support
...
git-svn-id: trunk@36444 -
2017-06-07 13:19:20 +00:00
nickysn
396eebbfb5
+ added support for iso8859-[3,4,6,7,8,9,10,11,13,14,15,16]
...
* charmap .txt files in rtl/ucmaps for iso8859-[1,2,5] also updated
git-svn-id: trunk@36425 -
2017-06-05 16:36:24 +00:00
nickysn
35be7348fb
+ added code pages 737, 775, 857, 860, 861, 862, 863, 864, 865 and 869
...
git-svn-id: trunk@36423 -
2017-06-05 14:25:15 +00:00
nickysn
ef25c33d69
+ added cp855 to the implicit unit list in the rtl makefiles
...
git-svn-id: trunk@36421 -
2017-06-05 12:19:01 +00:00
pierre
17b2671213
Regenerate all Makefile's after changes related to FPCDIR checks
...
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
Károly Balogh
4b7d0eb0ac
atari: FSearch impementation for DOS unit, copied from msdos target
...
git-svn-id: trunk@35255 -
2017-01-07 04:33:00 +00:00
Károly Balogh
a8a9a5f5de
atari: most of the DOS unit is now implemented, but largely untested
...
git-svn-id: trunk@35254 -
2017-01-07 04:13:58 +00:00
Károly Balogh
58f85ed4e4
atari: dos unit skeleton for atari. to be implemented.
...
git-svn-id: trunk@35253 -
2017-01-07 01:15:45 +00:00
Károly Balogh
f69bfe0ee4
atari: return a valid filehandle in do_open(). this code accidentally worked before with -O2, because the way the reg uses overlapped, but failed with -O-...
...
git-svn-id: trunk@35227 -
2017-01-04 04:53:41 +00:00
Károly Balogh
14c365e7b5
atari: align the tpasize to dword, seems like the section sizes are not guaranteed to be even (with vlink at least)
...
git-svn-id: trunk@35226 -
2017-01-04 04:50:15 +00:00
Károly Balogh
c663c09b7b
atari: implemented sysutils/ExecuteProcess
...
git-svn-id: trunk@35208 -
2016-12-28 16:22:19 +00:00
Károly Balogh
d78b1ffc14
atari: implemented GetLocalTime in sysutils. initialized the return value of unimplemented functions
...
git-svn-id: trunk@35206 -
2016-12-27 21:38:54 +00:00
Károly Balogh
51e28ac717
atari: reworked param handling once more, based on the Amiga code, fixes argv/argc
...
git-svn-id: trunk@35205 -
2016-12-27 17:12:49 +00:00
Károly Balogh
8760ff96e1
atari: new pascal startup code, reworked build, also ParamStr/ParamCount works now
...
git-svn-id: trunk@35201 -
2016-12-27 08:14:34 +00:00
Károly Balogh
2199f2a65e
atari: implemented some more bits of sysutils
...
git-svn-id: trunk@35200 -
2016-12-27 04:17:27 +00:00
Károly Balogh
8cff8892fe
atari: implemented a large chunk of the sysutils unit
...
git-svn-id: trunk@35199 -
2016-12-27 03:25:46 +00:00
Károly Balogh
a4eb61cffb
atari: fixed file rename, tio test passes now on TOS
...
git-svn-id: trunk@35197 -
2016-12-26 22:30:05 +00:00
Károly Balogh
3aecf60dff
atari: implemented and fixed some bits in the system unit, tdir test passes now on TOS
...
git-svn-id: trunk@35196 -
2016-12-26 20:59:33 +00:00
Károly Balogh
42760951f9
atari: added the initialization of threading subsystem to system init
...
git-svn-id: trunk@34697 -
2016-10-09 13:24:41 +00:00
Károly Balogh
63166555a2
atari: fixed file opening, we can now read text files at least on this platform
...
git-svn-id: trunk@34696 -
2016-10-09 13:23:59 +00:00
Károly Balogh
579e1afe83
atari: an incomplete, but still large cleanup of the atari system unit
...
git-svn-id: trunk@34664 -
2016-10-08 13:55:59 +00:00
Károly Balogh
8e6ac69553
atari: updated makefiles
...
git-svn-id: trunk@34663 -
2016-10-08 13:32:43 +00:00
Károly Balogh
7962ce1c54
atari: include xbios and gemdos from sysos.inc
...
git-svn-id: trunk@34662 -
2016-10-08 13:25:24 +00:00
Károly Balogh
71a4087bc5
atari: new file for xbios defines
...
git-svn-id: trunk@34661 -
2016-10-08 13:24:40 +00:00
Károly Balogh
05a35a2a16
atari: cleaned up sysdir.inc. it was a combination of old code and copy-pasted code from Amiga
...
git-svn-id: trunk@34660 -
2016-10-08 12:55:41 +00:00
Károly Balogh
74516f90d3
atari: add a new Error to InOutRes function
...
git-svn-id: trunk@34659 -
2016-10-08 12:49:10 +00:00
Károly Balogh
1c0a370ce2
atari: rewrote system file functions. no inline assembly, updated to current standards and RTL internals
...
git-svn-id: trunk@34658 -
2016-10-08 12:48:23 +00:00
Károly Balogh
8166002c8a
atari: align some variables properly in the startup code
...
git-svn-id: trunk@34657 -
2016-10-08 12:47:21 +00:00
Károly Balogh
91a8165ddc
atari: added two more directory functions
...
git-svn-id: trunk@34656 -
2016-10-08 12:42:31 +00:00
Károly Balogh
5cec4b565b
atari: use gemdos malloc/free as underlying functions for the heap
...
git-svn-id: trunk@34616 -
2016-10-04 10:31:49 +00:00
Károly Balogh
7bf2055ef9
atari: added an include file containing GEMDOS calls and other defines, to be used in the RTL
...
git-svn-id: trunk@34609 -
2016-10-03 23:12:05 +00:00
Károly Balogh
bfe904fb16
atari: dummy sysutils unit. to be implemented.
...
git-svn-id: trunk@34590 -
2016-10-02 01:58:32 +00:00
Károly Balogh
175cc52e8d
atari: added classes unit and a dummy threading implementation
...
git-svn-id: trunk@34589 -
2016-10-02 01:33:26 +00:00
Károly Balogh
39f043c7fd
atari: removed the ancient readme, stating there's no Makefile, as there's one now apparently
...
git-svn-id: trunk@34586 -
2016-10-01 16:39:48 +00:00
nickysn
5306ee552b
* regenerated makefiles with latest fpcmake
...
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4
* regenerate makefiles after the fpcmake update
...
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
florian
70b8789262
o basic extended pascal support:
...
+ automatically loaded helper unit
* Makefiles adapted
* mode switch
* mode switches reorganized
+ TimeStamp support
git-svn-id: trunk@32330 -
2015-11-15 15:13:36 +00:00
nickysn
2e3cb70489
* regenerated makefiles after adding the win16 target
...
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
Jonas Maebe
89418d23e5
* regenerated Makefiles with Linux/AArch64 support
...
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
Tomas Hajny
db7a9950d1
* unit name changed to System (starting with uppercase 'S') for improved compatibility to Delphi - see test tobject5.pp
...
git-svn-id: trunk@30025 -
2015-02-27 19:00:50 +00:00
Jonas Maebe
fa328436ab
* regenerated for iphonesim/x86-64
...
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1
* regenerated with Darwin/AArch64 support
...
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
florian
88b35ecf5d
* fixes for make 3.82
...
git-svn-id: trunk@29603 -
2015-02-01 21:26:36 +00:00
marco
d407b668d1
* version updated to 3.1.1
...
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
pierre
7bbb30ccd4
* Reset filerec mode field to fmClosed if the system call to open the file failed
...
git-svn-id: trunk@29132 -
2014-11-23 21:49:29 +00:00
sergei
3a5e6485b5
- RTL: removed InitVariantManager, it was an empty procedure since day 1.
...
git-svn-id: trunk@29114 -
2014-11-22 20:35:46 +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
sergei
cfd2600b24
- Don't include softfpu code on SPARC, unless bootstrapping with 2.6.
...
- Atari is never compiled on SPARC or MIPS (and even it does one day, softfpu is not needed).
git-svn-id: trunk@27203 -
2014-03-20 17:20:58 +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
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
14a34239cc
rtl: add cp856 to makefiles
...
git-svn-id: trunk@26387 -
2014-01-05 06:03:28 +00:00
florian
ac120d075a
* moved directory handling code
...
git-svn-id: trunk@26361 -
2014-01-02 18:24:11 +00:00
florian
304d7ef7a1
* restores atari support/rtl partially
...
git-svn-id: trunk@25699 -
2013-10-06 19:36:59 +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
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
Tomas Hajny
27403b542b
+ FileNameCasePreserving added - see #18066 in Mantis
...
git-svn-id: trunk@20896 -
2012-04-15 21:21:53 +00:00
paul
1ccf16358c
rtl: init widestring and unitcodestring managers before initialization of Standard IO files (stdin,stdout,stderr)
...
git-svn-id: trunk@19542 -
2011-10-25 02:29:29 +00:00
Tomas Hajny
17a001354a
* unicodestringmanager patch from r11743 extended to OS/2 and other platforms using system.pas instead of system.pp
...
git-svn-id: trunk@12394 -
2008-12-19 12:47:17 +00:00
peter
f4f3ae84d0
* AllowDirectorySeparators and AllowDriveSeparators typed constants
...
added to allow customization of path and directory parsing in the rtl
* Use the new sets instead of the hardcoded / and \
git-svn-id: trunk@10105 -
2008-01-29 23:04:56 +00:00
Tomas Hajny
3b3849c02c
+ AllFilesMask constant added
...
git-svn-id: trunk@8492 -
2007-09-15 12:09:25 +00:00
Tomas Hajny
f29fde8978
* CheckInitialStkLen and/or StackLength initialization added to previously omitted targets
...
git-svn-id: trunk@1736 -
2005-11-13 19:13:16 +00:00
Tomas Hajny
eb26e1aa39
* missing calls to InitWideStringManager added
...
git-svn-id: trunk@1071 -
2005-09-10 09:40:26 +00:00
michael
21425e303c
+ Removed HASVARIANT define
...
git-svn-id: trunk@244 -
2005-06-07 20:48:31 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254
+ Removed VER1_0 defines
...
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
peter
b68af1b0e3
* post 2.0.0 fixes from cvs
...
git-svn-id: trunk@7 -
2005-05-16 20:59:02 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
michael
2e48181661
+ Added maxpathlen constant (maximum length of filename path)
2005-05-12 20:29:04 +00:00
Tomas Hajny
d3c103dfd7
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug #2453 )
2005-04-03 21:10:59 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
Tomas Hajny
353d5cc3de
+ GetProcessID added
2004-12-05 14:36:37 +00:00
olle
9a4855aa43
+ added maxExitCode to all System.pp
...
* constrained error code to be below maxExitCode in RunError et. al.
2004-09-03 19:25:21 +00:00
Tomas Hajny
e0f9297e01
* ExecuteProcess fixes, ProcessID and ThreadID added
2004-01-20 23:05:31 +00:00
Tomas Hajny
57538cb669
* THandle in sysutils common using System.THandle
2003-10-25 23:42:35 +00:00
Tomas Hajny
f8f621d265
* append fix applied to Amiga, Atari, EMX, GO32v2, OS/2 and Watcom
2003-09-29 18:52:36 +00:00
peter
3d8d9c96f8
* sbrk returns pointer
2003-09-27 11:52:35 +00:00
carl
f0bb456351
- remove objinc.inc (unused file)
...
* update makefiles accordingly
2002-10-20 12:00:52 +00:00
florian
495cb55113
+ call to initvariantmanager inserted
2002-10-13 09:25:14 +00:00
peter
9f31783a0a
* old logs removed and tabs fixed
2002-09-07 16:01:16 +00:00
Tomas Hajny
0b672785fb
* platform specific constants moved after systemh.inc, BeOS omission corrected
2001-06-19 20:46:07 +00:00
Tomas Hajny
72e3212dad
+ platform specific information
2001-06-13 22:20:10 +00:00
Tomas Hajny
1ce6935ed1
* system unit name change corrections
2001-03-21 21:17:58 +00:00
Tomas Hajny
e4aa3afcbb
+ system unit name change
2001-03-16 20:01:47 +00:00
michael
bb76ee7099
+
2000-07-14 10:30:58 +00:00
michael
650fbb86aa
+ removed logs
2000-07-13 11:32:24 +00:00
michael
e7aca136a1
+ Initial import
2000-07-13 06:29:38 +00:00
daniel
ec29a31834
* copyright 2000
2000-01-07 16:41:28 +00:00
daniel
a79b4a404b
* copyright 2000 added
2000-01-07 16:32:21 +00:00
peter
3b5373c08a
* fixed do_open flags to be > $100, becuase filemode can be upto 255
1999-09-10 15:40:32 +00:00
pierre
33aac9b556
+ system_exit procedure added
1999-01-18 10:05:47 +00:00
peter
f11d46a93e
+ stdout, which is needed when you write something in the system unit
...
to the screen. Like the runtime error
1998-12-28 15:50:42 +00:00
peter
4620a73a9b
* FPC_ names
...
* Heap manager is now system independent
1998-09-14 10:48:00 +00:00
carl
6937b1128a
+ compile time stack size setting
1998-08-17 12:28:21 +00:00
carl
919a4ee1bb
* hmmm... can't remember! :(...
1998-07-15 12:11:59 +00:00
carl
a42e3653dc
+ first working version
1998-07-15 12:10:48 +00:00
carl
20bf8f4de5
+ paramstr and paramcount implemented
1998-07-14 12:12:05 +00:00
florian
ba57d2813b
* some problems with ansi string support fixed
1998-07-13 21:19:07 +00:00
carl
1b9ffe21b8
+ Error2InoutRes implemented
...
* do_read was doing a wrong os call!
* do_open was not pushing the right values
* DosDir was pushing the wrong params on the stack
* do_close would never works, was pushing a longint instead of word
1998-07-13 12:34:13 +00:00
carl
6fa5eb2ba7
* IOCheck for mkdir,chdir and rmdir, just like in TP
1998-07-02 12:39:27 +00:00
carl
f7f3dfabaf
+ new stack checking implemented
...
+ IOCheck for chdir , getdir , mkdir and rmdir
1998-07-01 14:40:20 +00:00
carl
fd85bca7b3
* restored correct exit code
1998-05-25 12:15:04 +00:00
carl
e88d6f01cd
* bugfix of all routines with pea
1998-05-25 12:13:51 +00:00
root
d1a1f501c8
Initial revision
1998-03-25 11:18:12 +00:00