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
Jonas Maebe
146e3bcb9e
* synchronised with trunk till r29513
...
git-svn-id: branches/blocks@29516 -
2015-01-21 23:28:34 +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
marco
bc35a48d65
* __error in cprt0.as
...
git-svn-id: trunk@29477 -
2015-01-15 20:40:33 +00:00
marco
0abb3f3e02
* fixed capitalization Int64 and added qword
...
git-svn-id: trunk@29470 -
2015-01-13 17:18:29 +00:00
marco
db43ec946f
* definition of internal type int64 for documentation purposes.
...
git-svn-id: trunk@29469 -
2015-01-13 17:14:51 +00:00
marco
16744dc6dc
* set tag to 900044 for easier scripting.
...
PR: #27284
Submitted by: John Marino
Reviewed by: Marco van de Voort
Approved by: Marco van de Voort
git-svn-id: trunk@29458 -
2015-01-13 09:02:26 +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
florian
43515ab109
* explicitly add asmmode, resolves #27255
...
git-svn-id: trunk@29424 -
2015-01-06 14:45:34 +00:00
florian
11b68b0e11
* lazarus project file
...
git-svn-id: trunk@29423 -
2015-01-06 13:32:30 +00:00
yury
ed770f4485
* Use threadvar for the module name buffer to be thread-safe.
...
git-svn-id: trunk@29422 -
2015-01-06 11:20:20 +00:00
yury
870b4d1ffe
* On Android the dladdr() function does not return full path to modules. Emulate dladdr() by reading the /proc/self/maps to get full path to modules.
...
git-svn-id: trunk@29418 -
2015-01-05 15:26:16 +00:00
yury
b401a90eab
* Re-enable UnixGetModuleByAddrHook for Android to fix back traces for libraries. Get dladdr() dynamically at run-time to support older versions of Android.
...
git-svn-id: trunk@29401 -
2015-01-05 00:45:07 +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
Károly Balogh
3cdf2d0e53
AROS: fixed the new do_filesize() code to build on AROS.
...
git-svn-id: trunk@29381 -
2015-01-04 01:55:49 +00:00
Károly Balogh
f2c7a3efbf
m68k: some assembler SwapEndian() implementations I did a while back. disabled for now, because they weren't extensively tested and benchmarked
...
git-svn-id: trunk@29380 -
2015-01-04 01:39:49 +00:00
Károly Balogh
3d2fca152b
amicommon: a better, faster implementation of do_filesize(). since it no longer seeks, speed should be constant and not depend on the filesize and underlying FS fragmentation, among others
...
git-svn-id: trunk@29379 -
2015-01-04 01:32:37 +00:00
Jonas Maebe
b0c7415f3a
* fixed CharLengthPChar() implementation and added comment (from Windows
...
sysutils unit) about what it does (this routine currently isn't used
anywhere, so the bugs didn't really have any impact)
git-svn-id: trunk@29378 -
2015-01-03 22:58:10 +00:00
marco
6db1f5bfa8
* Delphi compat changes pchar->pansichar. add pppansichar to systemh.inc
...
git-svn-id: trunk@29375 -
2015-01-03 13:54:59 +00:00
marco
43121ed5e1
* Fix for #27228
...
git-svn-id: trunk@29365 -
2015-01-01 00:27:18 +00:00
marco
4733e50de5
* system unit additions from mantis #27206 . Exports some dynarray related RTTI functions.
...
git-svn-id: trunk@29364 -
2015-01-01 00:21:40 +00:00
florian
3988de549b
* updates for make 3.82
...
git-svn-id: trunk@29357 -
2014-12-29 11:44:35 +00:00
marco
4956784613
* fix for #26846 , wrong line continuation character in gba and nds makefile.fpc's
...
git-svn-id: trunk@29347 -
2014-12-27 23:24:12 +00:00
sergei
38068acd42
* Removed "packed" attribute from TUC_Prop on alignment-sensitive targets (temporary solution, see comment in source), and from TUCA_DataBook on all targets (does not add noticeable bloat because this type is used just a few times. OTOH having unaligned pointers in record hurts performance on all targets).
...
This change fixes fpwidestring-related tests at least on mips-linux.
git-svn-id: trunk@29322 -
2014-12-25 10:11:16 +00:00
sergei
38d5be4182
+ Comment about behavior of DBRA instruction
...
git-svn-id: trunk@29321 -
2014-12-25 09:32:10 +00:00
sergei
9a72100405
- removed obsolete and commented out variable
...
git-svn-id: trunk@29320 -
2014-12-25 09:25:49 +00:00
Jonas Maebe
6fb86a34bb
* the i386/x86-64 cpu units depend on objpas
...
git-svn-id: trunk@29310 -
2014-12-21 15:08:16 +00:00
pierre
fdbfe7dae0
Remove double unixcp entry which caused installation failure
...
git-svn-id: trunk@29302 -
2014-12-17 09:57:52 +00:00
marcus
7c42cb8b0c
Amicommon: Change back WindowPtr in DiskSize/DiskFree
...
git-svn-id: trunk@29299 -
2014-12-14 22:38:05 +00:00
marcus
9c635671ce
amicommon: DiskSize/DiskFree implemented with some helper functions
...
git-svn-id: trunk@29297 -
2014-12-14 21:33:28 +00:00
marcus
6767ed7103
Amiga, AROS, MorphOS: Sysutils, GetDirs must also cut at DriveSeparator
...
git-svn-id: trunk@29294 -
2014-12-14 20:16:23 +00:00
florian
09220c6ad3
+ add GetIconInfo, patch by Andrew G. Khodotov, resolves #26772
...
git-svn-id: trunk@29291 -
2014-12-14 18:11:03 +00:00
Jonas Maebe
63bd65942b
* fall back to UTF-8 for darwin in unixcp.GetSystemCodePage if no LC_*/LANG
...
environment variables are set
* if no LC_*/LANG environment variables are set, let cwstring fall back to
unixcp.GetSystemCodePage
o this is mainly to avoid problems on OS X, where under certain
circumstances these variables are not set for GUI programs and
as a result we set the system code page to ASCII
git-svn-id: trunk@29257 -
2014-12-11 19:11:11 +00:00
svenbarth
fe49a4b60c
Fix Fp*Stat calls when compiling with FPC_USE_LIBC for x86_64-linux.
...
rtl/linux/ostypes.inc:
* correctly define the _STAT_VER_* constants for x86_64 (the ifdefs are based on those in the C header; for other platforms this needs to be checked)
git-svn-id: trunk@29241 -
2014-12-09 21:23:39 +00:00
svenbarth
01278e2800
Fix three warnings when compiling with FPC_USE_LIBC.
...
osmacro.inc:
* FpFstat, fpLstat and FpStat: correctly set the result value instead of relying on the result location being the same for cdecl functions as for register functions
git-svn-id: trunk@29240 -
2014-12-09 21:21:45 +00:00
marcus
96ac520e73
AmiCommon: DiskFree/DiskSize for >2GB
...
AROS: fast BPTR Pointer (ABIv0)
git-svn-id: trunk@29222 -
2014-12-08 21:49:01 +00:00
Jonas Maebe
cec82a1540
* translate placeholder code page numbers into actual code pages in
...
fpc_ansistr_to_widechararray(), so that CP_ACP/CP_OEM etc are properly
handled (fixes assign/assignfile with non-ansi characters in source files
that don't explicitly specify the code page)
git-svn-id: trunk@29218 -
2014-12-08 12:11:33 +00:00
marco
2a57956032
* dfly rtl dir from mantis #27091
...
git-svn-id: trunk@29214 -
2014-12-07 20:35:05 +00:00
marco
2578514853
* first dragonfly patch (existing most). Mantis #27091
...
git-svn-id: trunk@29213 -
2014-12-07 20:27:02 +00:00
florian
0d717c7e0e
* update by newer lazarus version
...
git-svn-id: trunk@29212 -
2014-12-07 18:44:33 +00:00
sergei
92447a9a20
* Moved local typed constants having the same value in several routines to global scope.
...
git-svn-id: trunk@29207 -
2014-12-06 13:07:32 +00:00
pierre
606b0a99c7
Remove wrong close call after failed Reset
...
git-svn-id: trunk@29200 -
2014-12-04 13:10:08 +00:00
Jeppe Johansen
d4461efae3
Fix broken ldrd assembler syntax in RTL
...
git-svn-id: trunk@29187 -
2014-11-30 17:30:46 +00:00