Commit Graph

44866 Commits

Author SHA1 Message Date
michael
2016af7fca * Additional CGI variable names, mainly for Apache
git-svn-id: trunk@29657 -
2015-02-09 14:25:11 +00:00
pierre
048ad78079 Fix bug report 27428
git-svn-id: trunk@29656 -
2015-02-09 11:15:55 +00:00
florian
7c1cf07484 + support section smartlinking with nasm
+ set alignment for smartlinked sections in nasm
* enable section smartlinking for nasm/coff win32

git-svn-id: trunk@29654 -
2015-02-08 12:33:50 +00:00
florian
06fd4223e9 + optimization setting level4
+ change tail calls into jmp if a ret without constant follows

git-svn-id: trunk@29653 -
2015-02-08 11:24:30 +00:00
florian
8de49997ea * align compiler generated constants according to constant aligment settings
git-svn-id: trunk@29652 -
2015-02-08 11:23:01 +00:00
florian
d20116cd07 * really set alignment as intended when -Os is passed
* align consts to 1 Byte boundaries on x86 as well

git-svn-id: trunk@29651 -
2015-02-08 11:22:17 +00:00
Károly Balogh
a526b0e5d6 m68k: implemented some missing bits of FPU cgpara handling, functions with float arguments seem to work much better now
git-svn-id: trunk@29650 -
2015-02-08 10:26:47 +00:00
pierre
bc5df9bc68 Remove complicated code to try to support older GNU linker versions, before 2.21
git-svn-id: trunk@29647 -
2015-02-08 07:28:49 +00:00
Károly Balogh
06dfa4d30c m68k: also alloc FPU registers during RTL helper calls
git-svn-id: trunk@29646 -
2015-02-07 23:31:46 +00:00
florian
9ebc092ade * (modified) patch by Do-wan Kim to resolve #27354
git-svn-id: trunk@29645 -
2015-02-07 22:14:35 +00:00
Károly Balogh
a99c9c29b6 m68k: basic 68881 FPU register save/restore support. probably still needs some work here and there.
git-svn-id: trunk@29644 -
2015-02-07 22:13:07 +00:00
Károly Balogh
82fd859a19 fixed DOS unit path in the Makefiles, which is included from amicommon
git-svn-id: trunk@29643 -
2015-02-07 21:42:00 +00:00
Károly Balogh
351fe07d90 libcurl: it's now possible to compile it for Windows
git-svn-id: trunk@29642 -
2015-02-07 19:15:29 +00:00
florian
c0e66deaf2 * handle raise nodes in dfa on jvm, resolves #27416
git-svn-id: trunk@29641 -
2015-02-07 18:11:02 +00:00
nickysn
2d3ab816b0 * Tcgx86.g_concatcopy use: copy_move (mov sequence) instead of copy_string (rep
movsb) when copying a 4 byte block on i8086, when optimizing for size. 4 movs
  are usually shorter than the instructions needed to setup rep movsb and also
  greatly reduce register pressure. This fixes i8086 snapshot building with -Os,
  Mantis #27387

git-svn-id: trunk@29639 -
2015-02-07 13:19:34 +00:00
Tomas Hajny
fd6d7d680d * added binary mappings for inofficial codepage 895 (Kamenicky brothers) - referenced e.g. in fcl-db/dbase
git-svn-id: trunk@29638 -
2015-02-07 11:30:39 +00:00
michael
431a7e16ef * Change unit path order so compilation for wince is correct (Bug ID 27351, by Stephano)
git-svn-id: trunk@29637 -
2015-02-07 10:23:40 +00:00
florian
932b68310e * do not warn about internally generated parameters, resolves #25914
git-svn-id: trunk@29636 -
2015-02-06 20:44:24 +00:00
florian
632f43c490 * fix assembling with masm according to #25858
git-svn-id: trunk@29635 -
2015-02-05 21:22:39 +00:00
florian
35a04ad095 * modified patch of Paul W to replace leave by mov/pop, resolves #26455
git-svn-id: trunk@29633 -
2015-02-05 20:51:12 +00:00
Tomas Hajny
1bc72d437c * assumption that everything non-Windows uses Unix paths is obviously wrong; fixed
git-svn-id: trunk@29632 -
2015-02-05 14:54:25 +00:00
Tomas Hajny
a608070e8d * file unlocking fixed as well now :/
git-svn-id: trunk@29631 -
2015-02-05 14:44:31 +00:00
Tomas Hajny
996ff217fd * implemented enumeration of supported locales and languages, fixed file locking
git-svn-id: trunk@29630 -
2015-02-05 14:25:28 +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
florian
7b7aa8d542 * remove statements with only a nothing node when they are the only children of a block
git-svn-id: trunk@29628 -
2015-02-04 21:19:40 +00:00
florian
d6bfb29313 * clean usercode_entry flag from outer block when copying a subroutine node tree for inlining, enables sometimes better inlining
git-svn-id: trunk@29627 -
2015-02-04 21:18:04 +00:00
florian
e7dd48cba3 * patch by Karl-Michael Schindler to fix wince building, resolves #27403
git-svn-id: trunk@29626 -
2015-02-04 20:49:14 +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
lacak
35a84ab6bd fcl-db: implement setter and getter for TStringField.AsLargeInt
git-svn-id: trunk@29624 -
2015-02-04 11:17:33 +00:00
Tomas Hajny
09e6069024 * provide possibility of reusing the routine from system WideStringManager for retrieval of current codepage on non-Windows and non-Unix
git-svn-id: trunk@29623 -
2015-02-04 01:39:54 +00:00
Tomas Hajny
329f788f58 * added conditional possibility of displaying the last OS error in information displayed for unhandled exceptions
git-svn-id: trunk@29622 -
2015-02-04 01:33:14 +00:00
Tomas Hajny
6e4dea39d3 * avoid use of single quotes in Makefile under OS/2
git-svn-id: trunk@29621 -
2015-02-04 01:24:05 +00:00
Tomas Hajny
bc965e837a * added package utils-unicode
git-svn-id: trunk@29620 -
2015-02-04 00:12:39 +00:00
Tomas Hajny
85c0435e89 * added package description
git-svn-id: trunk@29619 -
2015-02-04 00:06:45 +00:00
Tomas Hajny
db3067b9de * short name fits 8.3 now
git-svn-id: trunk@29618 -
2015-02-04 00:01:09 +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
florian
42020c8bb8 * when passing a parameter by var/out, its address leaves the current scope so the compiler has to take care of this
* when getting rid of temps. of inline parameters, take care if somewhere an alias of the variable might exist, resolves #24796 and #26534

git-svn-id: trunk@29616 -
2015-02-03 21:05:39 +00:00
michael
c754846815 * Initial support for inline comment documentation
git-svn-id: trunk@29615 -
2015-02-03 21:05:05 +00:00
florian
97a6c92ea8 * fixes for makes 3.82
git-svn-id: trunk@29614 -
2015-02-03 20:05:15 +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
Jeppe Johansen
1aeb07c835 Fixed more small bugs in the embedded heapmgr. Some changes copied from tinyheap.
git-svn-id: trunk@29612 -
2015-02-03 19:37:29 +00:00
Jeppe Johansen
85c5e7330a Make HeapMgr.GetAlignedMem public. This function is useful for embedded targets where alignment > 32(or sizeof(pointer)) bytes is required.
Fix RegisterHeapBlock. Calling FreeMem requires the heap manager to be installed, plus it requires the size of the segment to be stored in front of the pointer. Instead use InternalFreeMem

git-svn-id: trunk@29611 -
2015-02-03 00:24:51 +00:00
Jeppe Johansen
7a826cc481 Fix compilation of i386-embedded target.
git-svn-id: trunk@29610 -
2015-02-03 00:22:51 +00:00
pierre
488024ea5c Fix for failures on FileNameCaseSensitive systems
git-svn-id: trunk@29609 -
2015-02-02 21:49:36 +00:00
Marc Weustink
7001a02ac6 Initializa function result of FindValueKey when current element is nil
git-svn-id: trunk@29607 -
2015-02-02 20:24:34 +00:00
Károly Balogh
05d38053f7 m68k: optimize a few more trivial cases
git-svn-id: trunk@29606 -
2015-02-02 08:52:19 +00:00
Károly Balogh
9d6f763d4f m68k: small helpers to determine a given int value fits into a certain size or instruction argument
git-svn-id: trunk@29605 -
2015-02-02 08:25:01 +00:00
florian
f0c5074e34 + recurse into atari sub-directory
git-svn-id: trunk@29604 -
2015-02-01 21:26:57 +00:00
florian
88b35ecf5d * fixes for make 3.82
git-svn-id: trunk@29603 -
2015-02-01 21:26:36 +00:00
florian
ce69827880 * disable dyn. linking of gd for arm-gba as proposed by Karl-Michael Schindler, resolves #27218
git-svn-id: trunk@29602 -
2015-02-01 21:23:22 +00:00