marco
de7c03bd42
* License clarification OS2/emx after discussion. Be more clear it is emx-lib
...
license in copying.emx, and that allows to remove the NOT GPL clause that
triggers license scanners.
git-svn-id: trunk@43969 -
2020-01-18 11:53:10 +00:00
pierre
a09e40945c
Regenerate all Makefile's after commit #43472
...
git-svn-id: trunk@43478 -
2019-11-15 14:47:02 +00:00
pierre
912bc1e65b
+ Add math unit dependency to types$(PPUEXT) rule.
...
* Fix missing close-brace in several types$(PPUEXT) rules.
git-svn-id: trunk@43042 -
2019-09-19 20:49:12 +00:00
pierre
5ed7bd35df
Update all trunk/fpcsrc Makefile's after commit 42749
...
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
svenbarth
c26348a3dd
* follow up to r42457: FreeTerminateProcs needs to be called before DoneExceptions just in case an exception is triggered due to a corrupted list
...
git-svn-id: trunk@42461 -
2019-07-20 08:41:59 +00:00
svenbarth
176a63b67b
* fix for Mantis #35862 : free the list of functions added with AddTerminateProc to avoid memory leaks
...
+ added test
git-svn-id: trunk@42457 -
2019-07-19 15:55:21 +00:00
Jonas Maebe
128bf046b4
* regenerated Makefiles with LLVM bitcode installation support
...
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
pierre
74fed2a4cd
Regenerate Makefile's after fpcmake change in commit #41721
...
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
nickysn
178217821c
+ added sortbase as a dependency to unit fgl in the makefiles
...
git-svn-id: trunk@41180 -
2019-02-02 23:22:09 +00:00
nickysn
c24d525b9f
* compilation fixes for many platforms after r41167
...
git-svn-id: trunk@41168 -
2019-02-02 20:22:07 +00:00
nickysn
248fd313f8
+ introduced unit SortBase, which implements the foundation for pluggable
...
sorting algorithms. A default QuickSort implementation is provided by the
unit. Other units can be added, to provide other sorting algorithms (e.g.
HeapSort, MergeSort, IntroSort, etc.)
* TList and TFPList updated to use the current default sorting algorithm defined
in SortBase for their .Sort method.
git-svn-id: trunk@41167 -
2019-02-02 20:06:50 +00:00
Károly Balogh
5182dc37af
haiku-x86_64: regenerated all Makefiles, take 2
...
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
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
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
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
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
Tomas Hajny
1e6ee7f3c7
* fix remaining search handle leaks in Dos.FSearch - fix for bug #30896
...
git-svn-id: trunk@34910 -
2016-11-17 22:05:17 +00:00
Tomas Hajny
b7de70422f
* fix for bug #24504 (extended version of patch by Bart Broersma)
...
git-svn-id: trunk@34849 -
2016-11-08 22:16:49 +00:00
Jonas Maebe
e5a1231931
* updated FSF address (mantis #30198 , patch by Paul Gevers)
...
git-svn-id: trunk@34598 -
2016-10-02 12:56:59 +00:00
Tomas Hajny
5153cceba3
* provide access to information about the failing file when dynamic loading fails
...
git-svn-id: trunk@34504 -
2016-09-10 21:30:35 +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
Tomas Hajny
293d9be6b6
* fix compilation after UnicodeString ExecuteProcess related changes
...
git-svn-id: trunk@33899 -
2016-06-03 23:57:51 +00:00
Tomas Hajny
c1afb4b63b
* avoid FindFirst failing due to Attribute parameter bigger than $FF
...
git-svn-id: trunk@33894 -
2016-06-03 21:16:35 +00:00
Jonas Maebe
2e64c63993
* fixed dependencies for lineinfo unit after r33007
...
* also made lnfodwrf dependent on lineinfo for all platforms,
because both units implicitly depend on the exeinfo unit
and if both are compiled at the same time they can fall
over each other while writing its .ppu or .s file
git-svn-id: trunk@33039 -
2016-02-01 22:52:50 +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
Tomas Hajny
2c566ffcb9
* fix compilation failure after r32262
...
git-svn-id: trunk@32270 -
2015-11-08 00:41:00 +00:00
michael
fde42ca8ef
* Type helpers, compatible to Delphi XE 8
...
git-svn-id: trunk@32262 -
2015-11-07 09:40:54 +00:00
Tomas Hajny
ebd1c6026c
* fix FileSetAttr - bug #28826
...
git-svn-id: trunk@32019 -
2015-10-11 18:30:29 +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
Tomas Hajny
b64c4d9acd
* fixed handling of FPU exceptions, extended output with -dSYSTEMEXCEPTIONDEBUG, added possibility of debug tracking of OS/2 API error codes in RTL
...
git-svn-id: trunk@30019 -
2015-02-26 21:50:01 +00:00
Tomas Hajny
f71007d95c
* corrected initialization of cached information about 'MS Windows-compatible' codepage number information (if different from the OS/2 codepage number), removed warnings about implicit string conversions
...
git-svn-id: trunk@30016 -
2015-02-26 17:07:42 +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
Tomas Hajny
b9f88aa80c
* mapping of I/O error number 206 having different meaning in FPC to RTE 3
...
git-svn-id: trunk@29797 -
2015-02-22 22:25:44 +00:00
Tomas Hajny
590e2f7977
* fix for bug #16884 for OS/2
...
git-svn-id: trunk@29712 -
2015-02-15 19:39:53 +00:00
Tomas Hajny
c5c2ac13e2
* TODO updated according to the current status of OS/2 RTL
...
git-svn-id: trunk@29702 -
2015-02-15 11:21:34 +00:00
Tomas Hajny
a4df1b644c
* allow Append to work on character devices
...
git-svn-id: trunk@29669 -
2015-02-11 00:08:53 +00:00
Tomas Hajny
d676a503c0
* fix returned value for FileRead and FileWrite in case of an error and change the default sharing mode to doDenyRW to be compatible with other platforms
...
git-svn-id: trunk@29668 -
2015-02-10 23:46:06 +00:00
Tomas Hajny
2eba9bc63e
* fix SetFAttr (doWriteThrough not accepted in DosSetPathInfo for ilStandard) and improve compatibility with TP/BP for returned DosError in case of errors
...
git-svn-id: trunk@29666 -
2015-02-10 16:55:20 +00:00
Tomas Hajny
684f8fc769
* ensure setting temporary UConv object to nil after freeing it
...
git-svn-id: trunk@29629 -
2015-02-05 09:29:06 +00:00
Tomas Hajny
5a56228011
* add missing condition for empty string in Unicode uppercase and lowercase conversion routines
...
git-svn-id: trunk@29625 -
2015-02-04 14:35:01 +00:00
Tomas Hajny
dbc50980d1
* fixed OS/2 compilation after dynlibs manager implementation
...
git-svn-id: trunk@29617 -
2015-02-03 23:56:12 +00:00
svenbarth
2d454dc8fa
Move DynLibs support to System unit using a manager approach like for Threads, WideStrings, etc.. This is needed so that we can support features like "delayed" and loading of dynamic packages.
...
Each port that allows the usage of dynamic libraries should call InitSystemDynLibs during initialization of the System unit.
The DynLibs unit has been adjusted to be a forwarder for the functions that now reside in the System unit (for backwards compatiblity just in case). Additionally the unit will register the DynLibsManager if it doesn't reside in the System unit anyway.
Currently only the Windows targets (Win32, Win64 and WinCE) implement the DynLibsManager inside the System unit. For other systems using the LoadLibrary, etc. functions will lead to a run error/exception.
If a port wants to implement its own DynLibsManager then it needs to define DISABLE_NO_DYNLIBS_MANAGER. TLibHandle, NilHandle and optionally TOrdinalEntry (it's set to SizeUInt otherwise) should be defined in sysdlh.inc which needs to be enabled using the define FPC_SYSTEM_HAS_SYSDLH (because there are targets which have FEATURE_DYNLIBS enabled, but don't support them... e.g. powerpc-wii -.-).
The DynLibsManager contains methods for loading a library based on a RawByteString and based on a UnicodeString. BOTH should be implemented, but internally one can forward to the other.
The loading by ordinal *can* be be implemented. If it is set to Nil then the implementation of GetProcAddress(lib,ordinal) will return Nil.
+ new functions SetDynLibsManager and GetDynLibsManager to set and retrieve the current DynLibsManager
* provide interface of DynLibs unit in unit System
git-svn-id: trunk@29613 -
2015-02-03 20:00:00 +00:00
Tomas Hajny
4cced1186d
* use the default locale for current country as the first fallback before using the 'Universal' locale if the locale set in LANG is not recognized/supported by OS/2
...
git-svn-id: trunk@29572 -
2015-01-28 02:29:39 +00:00
Tomas Hajny
919e58fc99
* try a fallback to 'Universal' locale if the locale set in LANG is not recognized/supported by OS/2
...
git-svn-id: trunk@29571 -
2015-01-28 00:30:38 +00:00
Tomas Hajny
2f92aa8d48
* corrected random memory corruption during argument setup
...
git-svn-id: trunk@29539 -
2015-01-24 00:25:35 +00:00
Tomas Hajny
7292e64e04
* corrected test for empty filename in FileRec
...
git-svn-id: trunk@29538 -
2015-01-24 00:23:42 +00:00
Tomas Hajny
08ce351a06
* don't use the OS/2 API function DosSearchPath for searching through the list of directories in FSearch because it always returns full path even for relative directory specifications (as opposed to what is expected in TP/BP)
...
git-svn-id: trunk@29532 -
2015-01-23 01:25:08 +00:00
Tomas Hajny
2e5054186c
* include current directory in the list of searched directories in FSearch as expected in TP/BP
...
git-svn-id: trunk@29531 -
2015-01-23 01:19:22 +00:00
Tomas Hajny
5176a069cf
* align DosError returned for empty filename in GetFAttr and SetFAttr to TP/BP
...
git-svn-id: trunk@29530 -
2015-01-23 00:48:16 +00:00
Tomas Hajny
37acf48426
* align DosError returned for invalid (unused) handle in GetFTime and SetFTime to TP/BP
...
git-svn-id: trunk@29529 -
2015-01-23 00:26:02 +00:00
Tomas Hajny
dcffcd22e7
* fix a bug in Exec if calling a program without arguments
...
git-svn-id: trunk@29526 -
2015-01-22 23:11:42 +00:00
Tomas Hajny
284074c4e8
* OS/2 UnicodeStringManager functions finished (except for CharLengthPChar and CodePointLength which only make sense after they get a codepage parameter as discussed with Jonas); fix for #6295
...
git-svn-id: trunk@29492 -
2015-01-17 01:32:20 +00:00
Tomas Hajny
a73c5c0c0d
* improved thread-safety in case of reinitialization of cached information after codepage change, improved fallback routines for upper/lowercase if no Unicode support is available
...
git-svn-id: trunk@29457 -
2015-01-13 01:11:28 +00:00
Tomas Hajny
c3fee174b8
* ensure initialization of CountryCode parameter for DosMapCase in OS2UpperAnsiString
...
git-svn-id: trunk@29441 -
2015-01-12 00:07:07 +00:00
Tomas Hajny
16d4e39c59
* added information for future implementation of certain SMP specific API functions
...
git-svn-id: trunk@29433 -
2015-01-11 00:18:10 +00:00
Tomas Hajny
e7f76cee9e
* fixed re-initialization of cached UConv object after changed codepage and added implementation of several more UnicodeStringManager routines
...
git-svn-id: trunk@29432 -
2015-01-11 00:16:12 +00:00
marco
d407b668d1
* version updated to 3.1.1
...
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
Tomas Hajny
bec4a9ceb7
* modified solution for ensuring validity of cached conversion objects
...
git-svn-id: trunk@29390 -
2015-01-04 18:28:14 +00:00
Tomas Hajny
faead59e7a
* start building unicode related units
...
git-svn-id: trunk@29389 -
2015-01-04 18:23:13 +00:00
Tomas Hajny
1dceddc302
* minor update of the GetLastOSError support infrastructure
...
git-svn-id: trunk@29179 -
2014-11-29 01:43:38 +00:00
Tomas Hajny
c3fbfcb27b
* first part of UnicodeStringManager routines implementation for OS/2
...
git-svn-id: trunk@29178 -
2014-11-29 01:42:29 +00:00
Tomas Hajny
acbca7254d
* remove unused local variable
...
git-svn-id: trunk@29177 -
2014-11-29 01:29:31 +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
Tomas Hajny
bf7e71da47
* new constants for options used in recently added APIs
...
git-svn-id: trunk@29075 -
2014-11-15 11:15:29 +00:00
Tomas Hajny
8c7fc80580
* yet more OS/2 API functions added
...
git-svn-id: trunk@29073 -
2014-11-14 18:59:52 +00:00
Tomas Hajny
f330d2e981
* fix for random memory corruption introduced in r28975
...
git-svn-id: trunk@29017 -
2014-11-08 00:01:13 +00:00
Tomas Hajny
398fa3dd8d
* changed parameter in DosSetThreadAffinity from pointer to a var parameter
...
git-svn-id: trunk@29016 -
2014-11-07 23:57:22 +00:00
Tomas Hajny
30820cd0e5
* fixed missed setting of return code
...
git-svn-id: trunk@29002 -
2014-11-06 16:51:15 +00:00
Tomas Hajny
fa89dca059
* make LastOSError accessible earlier
...
git-svn-id: trunk@29001 -
2014-11-06 12:15:27 +00:00
Tomas Hajny
6a83f32486
* additional API functions available in higher OS/2 versions
...
git-svn-id: trunk@28994 -
2014-11-05 21:36:03 +00:00
Tomas Hajny
93cb6fd57e
* additional constants for OpenMode in Dos(Protect)Open(L)
...
git-svn-id: trunk@28993 -
2014-11-05 21:29:31 +00:00
Tomas Hajny
4f43987f93
* missing ordinals for DosCalls added
...
git-svn-id: trunk@28989 -
2014-11-05 17:59:47 +00:00
Tomas Hajny
66ffade5da
* DosAliasMem and DosQueryMemState functions added to DosCalls; DosProtect* (not available in OS/2 2.0) moved to DosCall2
...
git-svn-id: trunk@28988 -
2014-11-04 23:32:52 +00:00
Tomas Hajny
9419073608
* make FPC RTL again compatible to OS/2 2.x (avoid using DosAllocThreadAlloc/FreeMemory if not available while keeping to use them if possible)
...
git-svn-id: trunk@28979 -
2014-11-03 21:05:32 +00:00
Tomas Hajny
5d0bd53433
* remove fixed limit for overall size of arguments for Dos.Exec and SysUtils.ExecuteProcess
...
git-svn-id: trunk@28975 -
2014-11-03 17:00:55 +00:00
Tomas Hajny
1c74b752c5
* fix for DosGetMessage and better (more accurate) declaration for DosQueryCP
...
git-svn-id: trunk@28974 -
2014-11-03 13:52:25 +00:00
Tomas Hajny
a46b076cd2
* removed Dos[Alloc/Free]ThreadLocalMemory which is not available before OS/2 Warp - planned to be moved to DosCall2 later
...
git-svn-id: trunk@28953 -
2014-10-31 17:58:43 +00:00
Tomas Hajny
99e9571e0e
* allow initialization of DefaultSystemCodepage also if system could return more information about prepared codepages
...
git-svn-id: trunk@28952 -
2014-10-31 17:43:15 +00:00
Tomas Hajny
6c17c9cb29
* minor optimization (don't clear the result of GetDynLibsErrorStr twice)
...
git-svn-id: trunk@28948 -
2014-10-30 14:52:34 +00:00