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
florian
f0ca432476
* disabled sdl for arm-gba as recommended by Karl-Michael Schindler, resolves #27219
...
git-svn-id: trunk@29601 -
2015-02-01 21:21:30 +00:00
florian
7746826b7f
* fixes for make 3.82
...
git-svn-id: trunk@29600 -
2015-02-01 21:08:54 +00:00
florian
872d317c98
* updated for make 3.82
...
git-svn-id: trunk@29599 -
2015-02-01 19:24:41 +00:00
florian
461821d1a5
* read array initializations in generic subroutines without fixed limits, resolves #25602
...
git-svn-id: trunk@29598 -
2015-02-01 17:09:00 +00:00
Károly Balogh
3c2031c9c6
m68k: added RegModifiedByInstruction implementation, enabled RefsHaveScale define
...
git-svn-id: trunk@29597 -
2015-02-01 16:33:26 +00:00
florian
0d944c8b1d
* update of german message files by Karl-Michael Schindler, resolves #27342
...
git-svn-id: trunk@29595 -
2015-02-01 16:24:23 +00:00
Jonas Maebe
5d4837329b
* changed {$modeswitch blocks} to {$modeswitch cblocks} to avoid confusion
...
with the Pascal meaning of the term "block"
git-svn-id: trunk@29594 -
2015-02-01 15:50:06 +00:00
Károly Balogh
460c4acaee
m68k: implement taicpu.spilling_get_operation_type_ref, supports predecrement/postincrement addressing
...
git-svn-id: trunk@29593 -
2015-02-01 15:28:54 +00:00
florian
a436dafd68
* better error message if a procedure declaration is closed by a colon, resolves #27388
...
git-svn-id: trunk@29592 -
2015-02-01 15:27:20 +00:00
sergei
adeb8c93e9
* Set pi_do_call flag explicitly when procedure has a parameter or local var that require finalization. Normally it is set by implicit try..finally node, but this node is absent when compiling in {$implicitexceptions off} mode. This may cause internal errors in pass 2 if pi_do_call has not been set by other means.
...
Fixes IE when compiling Lazarus for MIPS target.
+ Test.
git-svn-id: trunk@29590 -
2015-01-31 13:33:36 +00:00
florian
c1091e1724
* added more asmmode directives to make compilation more robust in case the asmmode is changed by configuration files, resolves #27255
...
git-svn-id: trunk@29589 -
2015-01-31 10:37:48 +00:00
sergei
9cc0bdd6b9
+ Missing part of internal ARM assembler, Mantis #26588 . I'm not setting it as default for arm-wince yet, because testing reveals several points in generic code that need adjustments.
...
git-svn-id: trunk@29588 -
2015-01-30 22:45:05 +00:00
Jonas Maebe
2c3aa7cee0
* give an internal error in second_int_to_bool() if left.expectloc was not
...
in [LOC_FLAGS,LOC_JUMP], but it's actual location is one of those
git-svn-id: trunk@29587 -
2015-01-30 19:31:31 +00:00
Jonas Maebe
ff25f5c923
* set DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH on Darwin
...
git-svn-id: trunk@29586 -
2015-01-30 19:31:28 +00:00
Jonas Maebe
16183bebfe
* libc's open() function is a varargs function
...
git-svn-id: trunk@29585 -
2015-01-30 19:31:25 +00:00