Commit Graph

4907 Commits

Author SHA1 Message Date
mattias
a067dd3411 IDE: do not pass -B when option -k or -T changes, added resourcestring
git-svn-id: trunk@54749 -
2017-04-26 19:20:54 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +00:00
mattias
8fe94c57d5 codetools: tests: namespace in uses section
git-svn-id: trunk@54744 -
2017-04-26 18:33:51 +00:00
mattias
afc67da7ae codetools: tests: test program namespace
git-svn-id: trunk@54742 -
2017-04-26 11:04:17 +00:00
mattias
af09292110 codetools: identifier completion: list each namespace only once
git-svn-id: trunk@54740 -
2017-04-26 10:08:12 +00:00
mattias
18296584ed codetools:
- dotted unit name in term: find longest match
- dotted unit name: fixed searching in interface only interface uses section
- identifier completion: fixed list unit sub identifiers when there are longer namespaces
- identifier completion: list all name used namespaces

git-svn-id: trunk@54737 -
2017-04-26 09:55:09 +00:00
mattias
2d51c08884 codetools: tests: namespace prefixes
git-svn-id: trunk@54736 -
2017-04-26 09:32:36 +00:00
mattias
e4895d2fd0 codetools: dotted unit name tests
git-svn-id: trunk@54735 -
2017-04-26 08:40:45 +00:00
ondrej
35aaed1cd7 CodeTools: no IFDEFs for r54731 #532ce029d5
git-svn-id: trunk@54734 -
2017-04-25 10:50:58 +00:00
sekelsenmat
532ce029d5 codetools: Fixes compilation with fpc 2.6
git-svn-id: trunk@54731 -
2017-04-25 10:23:10 +00:00
mattias
a8d6670895 codetools: fixed parsing array
git-svn-id: trunk@54729 -
2017-04-25 09:52:21 +00:00
mattias
fa480d0669 codetools: tests: added array test
git-svn-id: trunk@54728 -
2017-04-25 09:52:08 +00:00
mattias
c5464ad7dc codetools: fixed compilation with fpc 2.6.4
git-svn-id: trunk@54726 -
2017-04-25 09:45:15 +00:00
mattias
6bd8281e0c codetools: updated readme
git-svn-id: trunk@54725 -
2017-04-25 09:45:02 +00:00
mattias
22350effc4 codetools: parse multi dim arrays, patch from Paul W, issue #25045
git-svn-id: trunk@54719 -
2017-04-25 07:08:42 +00:00
mattias
95545633e7 codetools: added $mode ExtPas, load hidden units MacPas, ISO7185, ExtPas, BlockRTL
git-svn-id: trunk@54714 -
2017-04-24 17:42:10 +00:00
mattias
815496f161 codetools: fixed modeswitch name blocks to cblocks
git-svn-id: trunk@54712 -
2017-04-24 17:29:19 +00:00
mattias
b432133a9a codetools: added tests for modeswitch cblocks
git-svn-id: trunk@54711 -
2017-04-24 17:28:56 +00:00
maxim
9150e859e8 Codetools: fixed typo, regenerated translations and updated Russian translation
git-svn-id: trunk@54700 -
2017-04-23 22:27:04 +00:00
mattias
e96ede4637 codetools: code completion: add proc for procvar: fixed reference-to
git-svn-id: trunk@54692 -
2017-04-22 18:10:28 +00:00
mattias
3ca49ceb2b cody: identifier dictionary: use identifier: jump to syntax error
git-svn-id: trunk@54690 -
2017-04-22 17:39:01 +00:00
mattias
0bde8fa043 codetools: define template directory: fixed skipping empty directory
git-svn-id: trunk@54688 -
2017-04-22 14:44:08 +00:00
mattias
9af0510f2d codetools: fixed id on unknown exception
git-svn-id: trunk@54686 -
2017-04-22 11:20:56 +00:00
mattias
43254f08ad codetools: sourcechangecache and directiveparser: unique ids for errors
git-svn-id: trunk@54684 -
2017-04-22 11:18:28 +00:00
mattias
f344610be5 codetools: linkscanner: unique ids for errors
git-svn-id: trunk@54682 -
2017-04-22 11:10:31 +00:00
mattias
da25c136d5 codetools: tests: use lazutils instead of lcl
git-svn-id: trunk@54681 -
2017-04-22 11:09:35 +00:00
mattias
9b7b950996 codetools: added test for in
git-svn-id: trunk@54678 -
2017-04-22 06:26:04 +00:00
mattias
e42d0903e0 codetools: fixed error msg
git-svn-id: trunk@54674 -
2017-04-21 21:24:20 +00:00
mattias
01f25f27ce codetools: debug gather unit names
git-svn-id: trunk@54671 -
2017-04-21 20:33:14 +00:00
mattias
834318e937 codetools: fixed for in constset
git-svn-id: trunk@54669 -
2017-04-21 19:48:04 +00:00
mattias
e63c991f8e codetools: test for in constset
git-svn-id: trunk@54668 -
2017-04-21 19:47:52 +00:00
mattias
34d59e8593 codetools: added predefine str
git-svn-id: trunk@54665 -
2017-04-21 18:59:41 +00:00
mattias
c6eeda0482 codetools: clean up
git-svn-id: trunk@54664 -
2017-04-21 18:59:13 +00:00
mattias
a378409b29 codetools: added unique ids for errors
git-svn-id: trunk@54663 -
2017-04-21 18:35:53 +00:00
mattias
d4d351c801 codetools: tests: clean up
git-svn-id: trunk@54662 -
2017-04-21 18:23:30 +00:00
mattias
c3b49f8828 codetools: tests: TTestPascalParser: show all elines and error column
git-svn-id: trunk@54661 -
2017-04-21 17:26:01 +00:00
mattias
f10396a790 codetools: added nativeint, nativeuint for pas2js
git-svn-id: trunk@54659 -
2017-04-21 17:05:58 +00:00
mattias
00d6a447b5 codetools: fixed resolving function result, simplified code
git-svn-id: trunk@54649 -
2017-04-20 11:36:37 +00:00
mattias
5ad98a7bcf codetools: ctnReferencTo for typeinfo, code hints and type check
git-svn-id: trunk@54642 -
2017-04-19 11:49:51 +00:00
mattias
d78b765eac codetools: keywordfunclists: use fast property Count
git-svn-id: trunk@54640 -
2017-04-19 11:02:03 +00:00
mattias
0236e179c3 codetools: referenceto: fixed endpos
git-svn-id: trunk@54637 -
2017-04-19 10:34:54 +00:00
mattias
9a0ddd60ef codetools: delphi predefined identifiers: nativeint, bools
git-svn-id: trunk@54636 -
2017-04-19 10:34:32 +00:00
mattias
d82739d93e codetools: fixed predefine dlist fpc, delphi cardinal, longint
git-svn-id: trunk@54630 -
2017-04-18 16:11:30 +00:00
mattias
63b04ac2da codetools: updated predefined identifiers
git-svn-id: trunk@54626 -
2017-04-17 15:34:14 +00:00
mattias
27336a6392 codetools: added tests for proc ovrloads of basetypes
git-svn-id: trunk@54625 -
2017-04-17 14:49:09 +00:00
mattias
0a891e4ab2 set version to 1.8.0RC1
git-svn-id: trunk@54578 -
2017-04-08 21:53:32 +00:00
juha
04cdeee412 Codetools: formatting.
git-svn-id: trunk@54570 -
2017-04-08 08:28:57 +00:00
juha
f49fbe25f1 Codetools: Use the same AVL_Tree everywhere.
git-svn-id: trunk@54564 -
2017-04-07 19:14:24 +00:00
juha
ffa67e0ff4 Fix compilation of Codetools examples and wiki test project. Clean uses sections.
git-svn-id: trunk@54563 -
2017-04-07 19:02:11 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
mattias
bdc0034c89 codetools: external root class has no ancestor in pas2js
git-svn-id: trunk@54522 -
2017-04-04 21:18:42 +00:00
maxim
37f2d73f0a Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31614
git-svn-id: trunk@54514 -
2017-04-03 23:24:37 +00:00
mattias
1352581471 codetools: skip keywords in asm..blocks
git-svn-id: trunk@54508 -
2017-04-02 23:34:00 +00:00
mattias
2c17cc7edf codetools: pas2js: added jsvalue to predefined words
git-svn-id: trunk@54507 -
2017-04-01 22:41:09 +00:00
mattias
7547019d49 codetools: identifier completion: added concat(array), insert(array)
git-svn-id: trunk@54506 -
2017-04-01 22:07:24 +00:00
mattias
16c115f088 codetools: parse class var external
git-svn-id: trunk@54492 -
2017-03-27 22:51:14 +00:00
mattias
52bcdebadd codetools: added compiler type pas2js
git-svn-id: trunk@54488 -
2017-03-27 20:50:08 +00:00
mattias
33bab6516c codetools: parsing external class field
git-svn-id: trunk@54479 -
2017-03-24 20:47:12 +00:00
mattias
d5881ef02e codetools: implemented modeswitch externalclass
git-svn-id: trunk@54470 -
2017-03-23 10:51:07 +00:00
hnb
1903007760 CodeTools: create new callback FindIncFileInCfgCache in basiccodetools.pas filled by codetoolmanager.pas to omit compilicated unit dependencies introduced in linkscanner.pas by uses section (for modules: CodeToolManager and DefineTemplates) in implementation section (that was the reason of AV on IDE exit and memory leaks, fix for mantis #31575, #31580)
git-svn-id: trunk@54461 -
2017-03-21 23:06:36 +00:00
hnb
5231fa439a CodeTools: use for TFPCTargetConfigCache.Equals also "Includes" field
git-svn-id: trunk@54457 -
2017-03-21 22:33:21 +00:00
hnb
d5739c0615 codetools: Fix memory leak introduced in r54432 #5667c05f6c (TFPCTargetConfigCache.Includes was not freed in Clear method). Fix mantis #31575.
git-svn-id: trunk@54450 -
2017-03-21 12:05:16 +00:00
mattias
c18cdcb495 codetools: class completion: do not create bodies for external methods
git-svn-id: trunk@54448 -
2017-03-18 18:29:19 +00:00
juha
54f80e0923 CodeTools: Fix SIGSEGV introduced in r54438 #b823ce3277, part 2. Issue #31561.
git-svn-id: trunk@54447 -
2017-03-18 18:13:10 +00:00
hnb
1ca4c2796a CodeTools: Fix SIGSEGV introduced in r54438 #b823ce3277 (mantis #31561)
git-svn-id: trunk@54446 -
2017-03-18 15:25:47 +00:00
hnb
b823ce3277 CodeTools: find all *.ini files located in paths declared in fpc.cfg (-Fi option)
git-svn-id: trunk@54438 -
2017-03-17 21:21:51 +00:00
hnb
5667c05f6c CodeTools: Prepare for better support for Include (*.inc) files (collect all *.inc files from pathes added by -Fi in fpc.cfg)
git-svn-id: trunk@54432 -
2017-03-17 15:00:43 +00:00
ondrej
f04d742869 CodeTools: support dotted units when handling uses section. Issue #31539
git-svn-id: trunk@54413 -
2017-03-15 21:17:59 +00:00
maxim
c74ec53ab7 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31463
git-svn-id: trunk@54327 -
2017-03-02 22:17:27 +00:00
mattias
9e5332edbc codetools: method completion: assembler modifier
git-svn-id: trunk@54288 -
2017-02-27 00:08:58 +00:00
mattias
f239ef10b3 codetools: forward proc completion: assembler modifier
git-svn-id: trunk@54287 -
2017-02-27 00:04:45 +00:00
mattias
8ab48719ee codetools: pas2js: use define instead of mode
git-svn-id: trunk@54285 -
2017-02-26 22:36:39 +00:00
mattias
9a663cc51d codetools: added compiler mode pas2js
git-svn-id: trunk@54284 -
2017-02-26 22:18:28 +00:00
mattias
8d2f378fed codetools: TStandardCodeTool.GetApplicationScaledStatement: check EndPos
git-svn-id: trunk@54256 -
2017-02-23 07:48:08 +00:00
marcus
7eaa1abf9f Introduce Amiga/AROS/MorphOS and MUI Widgetset to Lazarus gui settings
git-svn-id: trunk@54253 -
2017-02-22 22:16:40 +00:00
ondrej
1c7e92643d LCL, IDE: HighDPI: add Application.Scaled and Project1.Scaled property for automatic LCL-driven scaling
git-svn-id: trunk@54199 -
2017-02-19 20:02:58 +00:00
hnb
11563b2959 codetools: parser: Compatibility with FPC management operators: rename Copy to AddRef and Clone to Copy
git-svn-id: trunk@54196 -
2017-02-19 16:43:30 +00:00
maxim
491820a1f4 Translations: French translation update by Gilles Vasseur, bug #31362
git-svn-id: trunk@54119 -
2017-02-07 23:00:04 +00:00
ondrej
bf5c8ee375 CodeTools: identifier completion: allow procedures as parameters in Delphi mode. Issue #31342
git-svn-id: trunk@54076 -
2017-02-02 14:35:23 +00:00
ondrej
f4189582b8 CodeTools: support "array of XYZ" in code completion (Ctrl+Shift+C). Issue #31341
git-svn-id: trunk@54075 -
2017-02-02 13:19:06 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
mattias
8d43a73be1 codetools: avltree: new consistencycheck
git-svn-id: trunk@53925 -
2017-01-11 12:41:05 +00:00
mattias
a330b075c2 codetools: FindDeclarationAndOverloads: added option fdlfOneOverloadPerUnit
git-svn-id: trunk@53872 -
2017-01-03 16:39:30 +00:00
mattias
baa0147222 codetools: fixed FindDeclarationAndOverloads on interface function
git-svn-id: trunk@53871 -
2017-01-03 16:24:36 +00:00
juha
39fe54c5f6 Make LCL and LazUtils compile for Amiga systems (NoGUI). Issue #31186, patch from Marcus Sackrow.
git-svn-id: trunk@53853 -
2017-01-03 12:01:49 +00:00
zeljko
f684952850 Qt5: integration into LCL
git-svn-id: trunk@53807 -
2016-12-30 15:05:34 +00:00
mattias
c9680cf88a codetools: parser: added class operator copy and clone
git-svn-id: trunk@53706 -
2016-12-17 18:06:59 +00:00
mattias
418b895590 codetools: parsing operators Initialize and Finalize
git-svn-id: trunk@53682 -
2016-12-14 15:44:21 +00:00
mattias
8170f4738e codetools: test parsing Delphi class operators
git-svn-id: trunk@53670 -
2016-12-13 13:00:41 +00:00
mattias
0f58c1ef85 codetools: started test parsing record operators
git-svn-id: trunk@53668 -
2016-12-13 12:46:32 +00:00
mattias
4c62839125 codetools: tests: moved parsertest.lpi
git-svn-id: trunk@53667 -
2016-12-13 11:52:18 +00:00
mattias
de98a465dc codetools: tests: runtestscodetools.lpi
git-svn-id: trunk@53666 -
2016-12-13 11:47:19 +00:00
mattias
4b117ef8ba codetools; tests: clean up
git-svn-id: trunk@53665 -
2016-12-13 11:44:35 +00:00
mattias
028bc52289 codetools: less hints
git-svn-id: trunk@53615 -
2016-12-09 09:12:55 +00:00
mattias
c7037ac0ff codetools: fixed TCodeBuffer.FileOnDiskHasChanged when IsVirtual
git-svn-id: trunk@53532 -
2016-12-02 22:01:02 +00:00
mattias
f62bc9af4e codetools: clean up
git-svn-id: trunk@53470 -
2016-11-27 11:38:12 +00:00
juha
c266594a02 Codetools: Fix compilation in OS/X. Use CompareText in SysUtils, not in MacOSAll. Issue #31008.
git-svn-id: trunk@53468 -
2016-11-27 10:51:00 +00:00
ondrej
d43cabe221 CodeTools: support method completion without @ in Delphi mode
git-svn-id: trunk@53457 -
2016-11-25 13:32:29 +00:00
mattias
afaf9ea7d3 codetools: comment
git-svn-id: trunk@53405 -
2016-11-21 16:12:46 +00:00
mattias
aceccfc036 codetools: fixed SearchFileInDir and SearchPascalFileInDir searching using Pascal case insensitivity
git-svn-id: trunk@53398 -
2016-11-21 15:57:14 +00:00