Commit Graph

35266 Commits

Author SHA1 Message Date
michael
5ea8e65ea2 * Support for generics
git-svn-id: trunk@19621 -
2011-11-11 15:08:17 +00:00
marco
9324726374 * const added to size (record) Mantis #20653
git-svn-id: trunk@19620 -
2011-11-11 09:32:46 +00:00
blikblum
a797a3a38a sqliteds: check FMasterLink.Active before FMasterLink.Dataset to avoid crash when FMasterLink.Dataset = nil
git-svn-id: trunk@19619 -
2011-11-10 23:29:35 +00:00
marco
0542d64a74 * shgetfolderpath copy-and-paste fix, mantis 20660
git-svn-id: trunk@19617 -
2011-11-10 10:39:44 +00:00
sergei
ce3f850a68 * x86_64, use rip-relative references when taking address of local code labels, fixes test/library/tlib1a.pp for Linux and FreeBSD and passing exception address to FPC_RAISEEXCEPTION on Darwin.
git-svn-id: trunk@19616 -
2011-11-09 05:12:59 +00:00
paul
a1e0b833b2 compiler: fix ppu read/write of property parameters symtable (bug #0020454)
- add new property option ppo_overrides for property which overrides parent class properties
  - write overriddenpropsymderef only in case if property has ppo_overrides flag
  - save/load parameters symtable only in case if property has ppo_parameters flag and has not ppo_overrides flag
  - in case if property is overrides and has parameters copy original symtable

git-svn-id: trunk@19615 -
2011-11-09 03:35:55 +00:00
Jonas Maebe
c8154860bb * open fpmake ini files with fmShareDenyNone to prevent spurious
locking errors on Linux in some cases (it seems some locks linger
    for a while even after the process that created them has finished,
    unless the makefiles are allowed to start processing a new directory
    before the fpmake invocation in a previous directory has
    finished)

git-svn-id: trunk@19614 -
2011-11-08 23:15:48 +00:00
Jonas Maebe
715c819ff7 - removed "packed" from record types that should/need not be packed
git-svn-id: trunk@19613 -
2011-11-08 23:13:16 +00:00
Jonas Maebe
aefe5acd72 - removed "packed" modifiers from record types, the C versions don't have any
__attribute__((__packed__)) either (and {$packrecords c} is always active
    when compiling this file)

git-svn-id: trunk@19612 -
2011-11-08 22:04:36 +00:00
Jonas Maebe
c7d38570fd * fixed file descriptor control and locking flags (patch by Barlone,
bug #20617)

git-svn-id: trunk@19611 -
2011-11-08 21:44:49 +00:00
Jonas Maebe
0c69afa816 * enabled tests for ppc64 and x86_64
git-svn-id: trunk@19610 -
2011-11-08 21:29:29 +00:00
pierre
3f4dd5ac9b * Fix parameter type for sigsuspend syscall for OpenBSD
git-svn-id: trunk@19609 -
2011-11-08 17:01:02 +00:00
pierre
98c7a5e4b0 * Enable internal elf writer for freebsd x86_64 target
git-svn-id: trunk@19608 -
2011-11-08 14:05:57 +00:00
pierre
04138bb4a3 + Add reg_exes target to recompile all *reg.pp sources
git-svn-id: trunk@19607 -
2011-11-08 13:53:32 +00:00
pierre
dd266f262c * Remove obsolete mips files
git-svn-id: trunk@19606 -
2011-11-08 13:48:19 +00:00
paul
2146d8a8ec compiler: allow CASE record block after the methods and other record elements (issue #0020638)
git-svn-id: trunk@19605 -
2011-11-08 02:16:04 +00:00
paul
91294c64de compiler: forgotten message files
git-svn-id: trunk@19604 -
2011-11-08 02:15:09 +00:00
blikblum
c1ccac04ca sqliteds: simplify FindRecordItem and SetFieldData handling of double values since comparison of double is not done by string value anymore
git-svn-id: trunk@19603 -
2011-11-07 16:55:11 +00:00
blikblum
f55bf0ff05 sqliteds: fix locate in float / datetime fields. Bug #20545. Patch by Ludo Brands
git-svn-id: trunk@19602 -
2011-11-07 16:26:43 +00:00
pierre
de2bd0d896 Avoid false problem report on SYS_dup due to SYS_dup2
git-svn-id: trunk@19601 -
2011-11-07 13:05:39 +00:00
michael
8797c46aba * applied patch from bug #20639
git-svn-id: trunk@19600 -
2011-11-07 09:46:15 +00:00
marco
86bbce694e * copyright updated.
git-svn-id: trunk@19599 -
2011-11-06 18:35:31 +00:00
sergei
ebe1d74d6e * Moved multiple similar checks for FPC_HAS_FEATURE_EXITCODE and FPC_LIMITED_EXITCODE to Halt() procedure. Now these checks appear only once.
git-svn-id: trunk@19597 -
2011-11-05 16:48:12 +00:00
sergei
56900b4754 * RTL: clean up exception handling code (functionality is not changed).
* changed fpc_pushexceptobj to normal procedure, it does not need to be a compilerproc.

git-svn-id: trunk@19596 -
2011-11-05 16:28:37 +00:00
Jonas Maebe
84c23f6b42 * fixed range check warning when doing a native ppc64 compile
git-svn-id: trunk@19595 -
2011-11-04 22:49:04 +00:00
pierre
c86e36a53b Avoid warning on non-i386 CPUs
git-svn-id: trunk@19594 -
2011-11-03 16:38:28 +00:00
pierre
0eb0415194 * Fix longstanding confusion between two gdb functions catch_errors and catch_command_errors fix led to random from_tty parameter value
git-svn-id: trunk@19593 -
2011-11-03 16:31:56 +00:00
pierre
4366076b29 Add /usr/local/lib library path for FreeBSD and OpenBSD targets
git-svn-id: trunk@19592 -
2011-11-03 16:15:08 +00:00
pierre
7f5f552e4a * Fix compilation by disabling warnings for unsupported MIN/MAXSTACKSIZE
git-svn-id: trunk@19591 -
2011-11-03 13:22:53 +00:00
pierre
12d611e255 * Fix compilation by disabling -Sew for 2.4.X compiler versions
git-svn-id: trunk@19590 -
2011-11-03 13:21:57 +00:00
pierre
43abca844f Add missing mode objfpc needed for out parameter type
git-svn-id: trunk@19589 -
2011-11-03 11:46:52 +00:00
pierre
9598baa179 Use out untyped parameter to avoid warnings
git-svn-id: trunk@19588 -
2011-11-03 11:44:01 +00:00
pierre
b1975eb088 Use out untyped parameter to avoid warnings
git-svn-id: trunk@19587 -
2011-11-03 11:43:29 +00:00
pierre
019ecd53fe Use out parameter type for tppufile.getXXX methods
git-svn-id: trunk@19586 -
2011-11-03 11:09:34 +00:00
pierre
362a3c8beb Enable -Sew by default, set ALLOW_WARNINGS to 1 to disable
git-svn-id: trunk@19585 -
2011-11-03 10:27:58 +00:00
pierre
b6de7f0d6b * Suppress Comaprison might be always false if first_mm_imreg is zero
git-svn-id: trunk@19584 -
2011-11-03 10:13:26 +00:00
pierre
97559ea92a * Define MAX_OPER_X to avoid warnings about array index past maximum value
git-svn-id: trunk@19583 -
2011-11-03 10:12:31 +00:00
pierre
531d3808fc Override abstract method to abvoid warning at compilation time
git-svn-id: trunk@19582 -
2011-11-03 10:10:40 +00:00
pierre
8319972722 Override abstract method to abvoid warning at compilation time and suppress warning about macos_direct_globals constant
git-svn-id: trunk@19581 -
2011-11-03 10:10:11 +00:00
pierre
695556fe23 * Avoid warnings about use_PR constant boolean
git-svn-id: trunk@19580 -
2011-11-03 10:09:20 +00:00
pierre
44f8bb35b7 Override abstract method to abvoid warning at compilation time
git-svn-id: trunk@19579 -
2011-11-03 10:08:37 +00:00
pierre
42c98f3cd5 Override abstract method to abvoid warning at compilation time
git-svn-id: trunk@19578 -
2011-11-03 10:08:12 +00:00
pierre
fc9dd61f03 Avoid warning about missing fields in embedded_controllers array
git-svn-id: trunk@19577 -
2011-11-03 10:07:35 +00:00
pierre
3a7af29d3a Use aint type local variable in read_index_shift to avoid wrong typecast
git-svn-id: trunk@19576 -
2011-11-03 10:06:36 +00:00
pierre
33800a0b59 * Avoid warnings and add create_varargs_paraloc_info method
git-svn-id: trunk@19575 -
2011-11-03 10:04:54 +00:00
paul
26f66897cd compiler:
- warn if compiler finds implicit or explicit string type conversion from a form of ansi string to a form of unicode string and vice versa
  - mark explicit warnings as OFF by default
  - warn if compiler finds an assignment of an unicode char const to ansi string or char type (warn for assignment of unicode string const to be implemented)
  - revert a piece of code from r19457 regards shortstring handling because shortstring handling should not differ from ansistring in this paticular case

git-svn-id: trunk@19574 -
2011-11-03 00:39:22 +00:00
pierre
2b4e2dc164 * Fix ChangeMessageVerbosity by adingd a recordpendingmessagestate call
git-svn-id: trunk@19573 -
2011-11-02 22:08:14 +00:00
michael
2625b1dfa4 * Improved efficiency of Now/Date/Time
git-svn-id: trunk@19572 -
2011-11-02 14:33:33 +00:00
pierre
da62249d6b * Fix code to avoid use of unitialized rv local variable in tmoddivnode.simplify method
git-svn-id: trunk@19571 -
2011-11-02 11:22:45 +00:00
paul
aba10cd184 compiler:
- allow turning some messages off by default by prefixing verbosity type with '-' sign (in error.msg)
  - interpret -vm- as a switch which changes message verbosity to *on* by default
  * appropriate error.msg file changes will come later

git-svn-id: trunk@19570 -
2011-11-02 09:20:59 +00:00