Commit Graph

48979 Commits

Author SHA1 Message Date
Jonas Maebe
d1b9e8ca54 - removed stray statement that should have been removed as part of r34158
git-svn-id: trunk@34247 -
2016-08-03 14:35:35 +00:00
Jonas Maebe
de97285393 * fixed conformsToProtocol() declaration (the protocol is not a changeable
parameter, and it's already declared as a pointer type)

git-svn-id: trunk@34246 -
2016-08-03 14:35:32 +00:00
michael
74890fb256 * Remove Windows unit (Bug ID 30432)
git-svn-id: trunk@34245 -
2016-08-01 09:43:03 +00:00
lacak
91586833be fcl-db: base: Add fmShareDenyWrite in TParam.LoadFromFile to don't block subsequent opening of same file, while loading into blob. Bug #30429
git-svn-id: trunk@34244 -
2016-08-01 05:24:59 +00:00
Tomas Hajny
a10faf39b1 * added package rtl-generics
git-svn-id: trunk@34243 -
2016-07-31 20:40:23 +00:00
Tomas Hajny
dbb3c4edd5 * short package name needs to be at most 4 characters long
git-svn-id: trunk@34242 -
2016-07-31 20:29:28 +00:00
michael
abe483bce9 * Patch from Mattias Gaertner to fix always creating a parent and sourcefile/lineno
git-svn-id: trunk@34241 -
2016-07-31 17:11:46 +00:00
michael
c67894709f * Added dbus_connection_get_server_id
git-svn-id: trunk@34240 -
2016-07-31 17:08:50 +00:00
michael
834881179a * dbus component added
git-svn-id: trunk@34239 -
2016-07-31 10:29:29 +00:00
michael
7a6bb8ed55 * Add connection is anonymous
git-svn-id: trunk@34238 -
2016-07-31 09:45:12 +00:00
michael
4707099c5b * Patch from Mattias Gaertner, fixing unita.classb.doit test
git-svn-id: trunk@34237 -
2016-07-30 16:49:10 +00:00
yury
f08d136290 * Fixed test for non-Windows targets.
git-svn-id: trunk@34236 -
2016-07-30 16:37:47 +00:00
svenbarth
7f5352280d Fix si_g.inc for x86_64-linux:
* it's 'atexit' and not '__libc_atexit'
* initialstkptr is a global symbol so it needs to be loaded using GOTPCREL

git-svn-id: trunk@34235 -
2016-07-29 22:03:54 +00:00
svenbarth
78f42bae3f * less string literals and more translateable strings instead
git-svn-id: trunk@34234 -
2016-07-29 18:45:06 +00:00
svenbarth
68f014a7c5 * regenerate after r34232
git-svn-id: trunk@34233 -
2016-07-29 18:44:24 +00:00
svenbarth
0387a77e4a + new text for the PPL filename of a package
git-svn-id: trunk@34232 -
2016-07-29 18:43:56 +00:00
svenbarth
cb5f582f94 * always add a fileextension to the package name so that packages with dotted names are handled correctly
git-svn-id: trunk@34231 -
2016-07-29 18:28:45 +00:00
svenbarth
839d82d9c6 - remove generation of the _FPCDummy symbol; for now this leads to more trouble than it has uses (namely none so far)
git-svn-id: trunk@34230 -
2016-07-29 16:06:35 +00:00
svenbarth
3596809ab4 Fix for Mantis #27206. *Finally* add Maciej Izak's contribution of the Delphi compatible generic collections.
Two small changes were done:
* Generics.Defaults.pas does not require the Contnrs unit (it wasn't used anyway and thus the units can be added as rtl-generics instead of fcl-generics)
* the example files were changed to lowercase filenames 

git-svn-id: trunk@34229 -
2016-07-29 15:13:59 +00:00
svenbarth
7dadd44ba7 Merged revision(s) 32500 from branches/svenbarth/packages:
Use indirect references for "on".

ncgflw.pas, tcgonnode:
  * pass_generate_code: if the target supports packages then we need to load the VMT using an indirect symbol

........

git-svn-id: trunk@34228 -
2016-07-29 14:58:40 +00:00
michael
1228b043c0 * Patch from Mattias Gaertner
-init simple variables
 -init function result variable and return function result variable
 -unit initialization
 -program main begin..end
 -CreateMemberExpression: members are now passed in order
 -convert unit and program
 -interface functions and vars are now declared with 'this.'

git-svn-id: trunk@34227 -
2016-07-29 14:27:02 +00:00
michael
7712f049df * Patch from Mattias Gaertner to fix writing superfluous semicolons after statement lists.
git-svn-id: trunk@34226 -
2016-07-29 14:23:41 +00:00
michael
a40e6acbf6 * Patch from Mattias Gaertner
* fixed hints in code.
  * fixed tests. 

git-svn-id: trunk@34225 -
2016-07-29 14:22:04 +00:00
svenbarth
a173c34d96 * have tcgrttinode use the indirect RTTI labels if necessary
git-svn-id: trunk@34224 -
2016-07-29 14:03:31 +00:00
svenbarth
61551cbb0f * move properties and functions of TVMT to the end of the record, so that one only needs to adjust the total entry count TVMTBuilder.generate_vmt_def()
git-svn-id: trunk@34223 -
2016-07-29 13:54:36 +00:00
svenbarth
a2c0dae8a9 Merged revision(s) 32502 from branches/svenbarth/packages:
Use indirect reference for the RTL helpers that require RTTI symbols.

hlcgobj.pas, thlcgobj:
  * g_incrrefcount, g_initialize, g_finalize & g_array_rtti_helper: use the indirect symbol of the RTTI if the target supports packages

........

git-svn-id: trunk@34222 -
2016-07-29 13:52:19 +00:00
svenbarth
50865158a4 Fix for Mantis #30410.
* ncgrtti.pas, TRTTIWriter.ref_rtti: don't require the indirect symbol as an external assembler symbol, but the direct one

git-svn-id: trunk@34221 -
2016-07-29 13:49:42 +00:00
yury
e3ebaa6e6a * Remove trailing #13#10 in the result of SysErrorMessage() on Windows and minor optimization. It is Delphi compatible.
git-svn-id: trunk@34220 -
2016-07-29 10:23:12 +00:00
yury
980c4741ac * Fixed conversion from PWideChar to ansistring.
+ test. 

git-svn-id: trunk@34219 -
2016-07-29 09:43:05 +00:00
michael
d8266a708f * Patch from Mattias Gaertner to make exception object configurable, fix tests
git-svn-id: trunk@34218 -
2016-07-28 11:45:41 +00:00
michael
19bd74faa9 * Patch from Mattias Gaertner
- jstree: add some explanatory comments 
  - jswriter: 
    TJSWriter.WriteSourceElements write functions and vars, 
    fixed unneeded semicolon in TJSWriter.WriteFuncDef.

git-svn-id: trunk@34217 -
2016-07-28 11:17:03 +00:00
michael
08c79c41bd * Updates from Laco for version 1.0
git-svn-id: trunk@34216 -
2016-07-27 11:44:44 +00:00
michael
ef076798d0 * Patch from Mattias Gaertner to start new unit conversion format
git-svn-id: trunk@34215 -
2016-07-27 11:38:46 +00:00
michael
57ab472c72 * Patch from Mattias Gaertner to check implicit units when there is no uses list
git-svn-id: trunk@34214 -
2016-07-27 11:34:29 +00:00
michael
16ce35ea9b * Patch from Mattias Gaertner to make EscapeString a normal method + Fix casing
git-svn-id: trunk@34213 -
2016-07-27 11:32:27 +00:00
michael
1d6900e800 * Patch from Mattias Gaertner to fixed type casts AsString is a TJSString.
git-svn-id: trunk@34212 -
2016-07-27 11:30:13 +00:00
pierre
cc7d0d2f45 Try to implement BreakLine (Ctrl+N), bug report 28787
git-svn-id: trunk@34211 -
2016-07-26 22:14:27 +00:00
pierre
71782a85f3 Fix bug report 28822, source file test.test.pas gets pascal syntax highlighting
git-svn-id: trunk@34210 -
2016-07-26 21:50:18 +00:00
pierre
0af402fd1a Add stop on Signals
git-svn-id: trunk@34209 -
2016-07-26 21:17:37 +00:00
pierre
af8cf223ca Specify MI use in About Dialog
git-svn-id: trunk@34208 -
2016-07-26 21:17:01 +00:00
pierre
7b2c034065 Avoid flickering in Compilation messagebox
git-svn-id: trunk@34207 -
2016-07-26 21:01:19 +00:00
michael
d0ca79baf7 * Patch from Mattias Gaertner to clean up code: less hints, nicer stacktraces
git-svn-id: trunk@34206 -
2016-07-26 18:07:27 +00:00
michael
798b6d753a * Patch from Mattias Gaertner to check uses clause
git-svn-id: trunk@34205 -
2016-07-26 18:02:11 +00:00
michael
62f39e0037 * Some clean-up patches by Mattias
git-svn-id: trunk@34204 -
2016-07-26 15:05:39 +00:00
pierre
ef1369fef2 Reset static recorddef variables to nil in InitSymtable, avoid crashes in TextMode IDE
git-svn-id: trunk@34203 -
2016-07-26 12:52:40 +00:00
michael
92ab883002 * Some cleanup from Mattias
git-svn-id: trunk@34202 -
2016-07-25 18:56:37 +00:00
michael
cdc481f218 * Patch from Mattias Gaertner to Allow only one uses list
git-svn-id: trunk@34201 -
2016-07-25 18:52:28 +00:00
olivier
49132b57dd - remove sysheap.inc override from the Haiku port. mmap is now fully supported under Haiku for a long time. sbrk is also under work and the current implementation limit the available memory.
git-svn-id: trunk@34200 -
2016-07-24 18:47:33 +00:00
michael
d4a0fcecd9 * Removed unused variable
git-svn-id: trunk@34199 -
2016-07-24 07:39:22 +00:00
michael
827209f2de * Generic array parsing
git-svn-id: trunk@34198 -
2016-07-24 07:36:15 +00:00