Commit Graph

261 Commits

Author SHA1 Message Date
mattias
d4e4fe6f3c codetools: fixed FindNextComment when MaxPos=0
git-svn-id: trunk@33066 -
2011-10-24 15:54:14 +00:00
mattias
f72478261a codetools: FindNextComment: fixed if MaxPos<1
git-svn-id: trunk@33016 -
2011-10-22 10:13:33 +00:00
mattias
95f93fb4a6 codetools: GetPasDocComment: fixed endless loop
git-svn-id: trunk@33014 -
2011-10-22 07:25:01 +00:00
mattias
1fb1d33e84 codetools: TStandardCodeTool.CommentUnitsInUsesSections: dotted names
git-svn-id: trunk@32119 -
2011-08-30 16:24:42 +00:00
mattias
116c4b1bbd codetools: AddUnitToUsesSection: dotted unit
git-svn-id: trunk@32103 -
2011-08-30 08:34:17 +00:00
mattias
cf818de9f4 codetools: FindLineEndOrCodeAfterPosition: fixed parsing (* comments
git-svn-id: trunk@31134 -
2011-06-08 08:17:39 +00:00
mattias
8c9b6e6548 codetools: unsing less AnsiCompareText
git-svn-id: trunk@30953 -
2011-05-28 10:46:55 +00:00
mattias
5013437c2f codetools: LineEndCount accelerated
git-svn-id: trunk@30946 -
2011-05-28 08:18:37 +00:00
mattias
5ac8c9c243 codetools: fixed evaluating boolean and boolean
git-svn-id: trunk@30734 -
2011-05-14 21:56:05 +00:00
mattias
19fd9eaf0d codetools: change param list: move
git-svn-id: trunk@30620 -
2011-05-08 15:50:50 +00:00
mattias
e39bb2d05b codetools: reading operand: old tp style character constants, bug #19260
git-svn-id: trunk@30600 -
2011-05-07 16:19:57 +00:00
mattias
005d8e828c codetools: parse param list
git-svn-id: trunk@30584 -
2011-05-06 12:06:35 +00:00
mattias
2dd6f59bd1 codetools: SplitStringConstant: added UTF8 support
git-svn-id: trunk@30442 -
2011-04-23 22:50:43 +00:00
mattias
dfb1e9eb0c codetools: fixed LineEndCount, bug #19001
git-svn-id: trunk@30049 -
2011-03-28 08:09:15 +00:00
mattias
2f376ed28d codetools: fixed crash in LineEndCount, bug #18959
git-svn-id: trunk@29960 -
2011-03-21 10:20:25 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
mattias
650767b247 codetools: c file merger: do not replace macro on define/undef name
git-svn-id: trunk@29562 -
2011-02-15 17:50:32 +00:00
mattias
d900d21d44 codetools: refactored
git-svn-id: trunk@29297 -
2011-02-01 19:32:51 +00:00
mattias
cf3bbda78a codetools: fixed endless loop in FindLineEndOrCodeInFrontOfPosition
git-svn-id: trunk@29220 -
2011-01-27 19:02:44 +00:00
mattias
f9121611a1 codetools: fixed FindLineEndOrCodeInFrontOfPosition for nested directives, bug #18616
git-svn-id: trunk@29218 -
2011-01-27 18:41:52 +00:00
paul
08d510cd25 codetools: use Windows instead of MSWindows define in case someone want to build codetools for wince
git-svn-id: trunk@29121 -
2011-01-19 12:42:09 +00:00
mattias
81af1a8a2c codetools: readnextatom: read utf8 characters
git-svn-id: trunk@28973 -
2011-01-12 12:51:01 +00:00
mattias
87922a9a0b fpdoc repair: close tags
git-svn-id: trunk@28522 -
2010-11-28 11:48:28 +00:00
mattias
94948dde5e codetools: RemoveUnitFromUsesSection: when removing the last unit remove empty lines in front too, bug #18055
git-svn-id: trunk@28498 -
2010-11-26 12:23:25 +00:00
mattias
c2bf7803f7 IDE: buid lazarus: only restart if target is default, bug #17912
git-svn-id: trunk@28214 -
2010-11-14 17:59:43 +00:00
mattias
ef525bda22 codetools: fixed FindStartOFindStartOfAtomfAtom if at start of string constant
git-svn-id: trunk@27688 -
2010-10-13 22:11:06 +00:00
mattias
6ebaacbba1 codetools: clean up and debugging
git-svn-id: trunk@27498 -
2010-09-28 10:51:08 +00:00
mattias
f684b879a0 codetools: added comment
git-svn-id: trunk@27482 -
2010-09-26 21:05:38 +00:00
mattias
6bcec286b1 codetools: config parser, more keywords
git-svn-id: trunk@26907 -
2010-07-29 22:12:35 +00:00
mattias
01e74e733f codetools: fixed parsing string constant without end
git-svn-id: trunk@26906 -
2010-07-29 15:34:26 +00:00
mattias
48fb897a73 codetools: fixed readrawatom
git-svn-id: trunk@26904 -
2010-07-29 13:59:54 +00:00
mattias
6785d127dd codetools: pchar read atom function
git-svn-id: trunk@26901 -
2010-07-29 12:53:27 +00:00
mattias
3416e11123 codetools: config parser stack
git-svn-id: trunk@26900 -
2010-07-29 12:16:45 +00:00
mattias
b4b5016f20 codetools: completeblock: complete if unindent and cursor at unindent or in empty line
git-svn-id: trunk@26594 -
2010-07-11 11:27:44 +00:00
mattias
7a771b74e5 codetools: auto indenter: check first for exact match, then for any match, improved case block handling
git-svn-id: trunk@26482 -
2010-07-06 12:24:30 +00:00
mattias
c2313cc163 codetools: added debugging
git-svn-id: trunk@26331 -
2010-06-29 17:53:04 +00:00
mattias
0e3f868fb4 codetools: fixed FindLineEndOrCodeInFrontOfPosition to return the start of the line end, bug #16519
git-svn-id: trunk@25526 -
2010-05-20 08:03:53 +00:00
mattias
eaa1ff2fba IDE: added quickfix for note local variable not used, remove
git-svn-id: trunk@25498 -
2010-05-18 14:45:02 +00:00
mattias
4809be32c6 codetools: fixed FindCOdeOrLineEndInFrontOf for bracket close, bug #16419
git-svn-id: trunk@25238 -
2010-05-07 11:04:50 +00:00
mattias
872f2090ec codetools: fixed FindLineEndOrCodeInFrontOfPosition
git-svn-id: trunk@25113 -
2010-05-01 18:49:16 +00:00
mattias
bce545c4f8 codetools: fixed FindLineEndOrCodeInFrontOfPosition stopping at empty lines
git-svn-id: trunk@24744 -
2010-04-20 16:24:36 +00:00
mattias
314c61457e codetools: FindStartOfAtom check if at start of string constant, bug #16203
git-svn-id: trunk@24446 -
2010-04-05 20:02:16 +00:00
mattias
86c263f657 codetools: FindLineEndOrCodeInFrontOfPosition added scanning for string constants, bug #16072
git-svn-id: trunk@24225 -
2010-03-26 15:06:54 +00:00
mattias
3e0e6a5370 codetools: undo parsing ^j
git-svn-id: trunk@23414 -
2010-01-09 21:53:31 +00:00
mattias
69a2b1adb2 codetools: parsing ^j character constant
git-svn-id: trunk@23413 -
2010-01-09 21:24:27 +00:00
mattias
461751ec27 codetools: fixed PositionInSameLine, auto indent: parsing statements
git-svn-id: trunk@22523 -
2009-11-10 13:35:08 +00:00
mattias
c12d17af61 codetools: FindStartOfTerm: fixed starting in an atom
git-svn-id: trunk@22340 -
2009-10-29 14:28:19 +00:00
mattias
0e80d8ba47 codetools: ReadRawNextPascalAtom: replaced string with PChar
git-svn-id: trunk@22337 -
2009-10-29 12:47:54 +00:00
mattias
192ee15737 codetools: renamed unitname identifiers
git-svn-id: trunk@22334 -
2009-10-29 11:23:40 +00:00
mattias
39fd8546c7 codetools: implemented octal numbers
git-svn-id: trunk@22171 -
2009-10-14 12:30:35 +00:00
mattias
40d77dcadc codetools: fixed CompareAtom for atoms with same prefix, bug #13909
git-svn-id: trunk@20405 -
2009-06-04 17:45:42 +00:00
mattias
8ac8d4e9f9 codetools: indentations: considering tabs
git-svn-id: trunk@20297 -
2009-05-29 10:40:52 +00:00
mattias
568ae66df6 codetools: added FindStartOfAtom
git-svn-id: trunk@20260 -
2009-05-27 11:57:49 +00:00
mattias
9bd290d86e IDE+codetools: implemented complete blocks in statements
git-svn-id: trunk@20108 -
2009-05-21 16:49:01 +00:00
mattias
1e32f92f32 codetools: linkscanner now scans in finer granularity
git-svn-id: trunk@19986 -
2009-05-16 22:29:55 +00:00
mattias
76f345e29e IDE: codeexplorer: implemented figure empty begin blocks
git-svn-id: trunk@19522 -
2009-04-20 13:18:23 +00:00
mattias
73edc4762b codetools: nested comments for GetAtomString
git-svn-id: trunk@19479 -
2009-04-18 04:28:44 +00:00
mattias
cc98da7e85 codetools: nested comments for CompareAtom
git-svn-id: trunk@19478 -
2009-04-18 04:15:52 +00:00
mattias
7c7f67c1a8 codetools: CompareComments
git-svn-id: trunk@19476 -
2009-04-18 04:00:08 +00:00
mattias
9939cc7c12 IDE: codeexplorer: started sorted constants
git-svn-id: trunk@19469 -
2009-04-17 13:02:41 +00:00
mattias
da0694aae0 IDE: code explorer: fixed ignoring user defined constants
git-svn-id: trunk@19461 -
2009-04-16 23:29:31 +00:00
mattias
7400ba8680 IDE: code explorer: added figures for Paul
git-svn-id: trunk@19458 -
2009-04-16 22:55:18 +00:00
mattias
93bf18b032 codetools: ReadRawNextPascalAtom reading UTF8-BOM
git-svn-id: trunk@19194 -
2009-04-01 21:11:54 +00:00
mattias
5d21138707 codetools: fixed finding prior statement when start on source start
git-svn-id: trunk@18316 -
2009-01-16 20:39:59 +00:00
mattias
8d632ac72b codetools: fixed ComparePrefixIdent
git-svn-id: trunk@18114 -
2009-01-04 19:37:34 +00:00
mattias
1a4313f8bc codetools: consistencychecks now raises exceptions, accelerated TExprEval, added TExprEval.ChangeStamp
git-svn-id: trunk@17858 -
2008-12-18 22:32:30 +00:00
mattias
36f21372de IDE: codehelp: removing pasdoc
git-svn-id: trunk@16844 -
2008-10-02 09:29:21 +00:00
mattias
d8e36f10fb codetools: fixed CompareTextIgnoringSpace, bug #12177
git-svn-id: trunk@16635 -
2008-09-18 20:00:12 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
60e3f56061 codetools: implemented parsing 1e-16, bug #8446
git-svn-id: trunk@15880 -
2008-07-26 18:16:56 +00:00
mattias
9dfbba8302 IDE: implemented jumping to inherited inline method
git-svn-id: trunk@15726 -
2008-07-10 00:07:06 +00:00
mattias
db1b64812b codetools: h2p: added trees for pascal and c names
git-svn-id: trunk@14551 -
2008-03-17 10:58:20 +00:00
mattias
e748b6291f codetools: moved AdjustPositionAfterInsert
git-svn-id: trunk@14280 -
2008-02-27 14:08:53 +00:00
mattias
a807ae157b h2pas: extended tool to add implicit types for adding implicit function types
git-svn-id: trunk@14147 -
2008-02-15 20:41:29 +00:00
mattias
746753524e codetools: fixed parsing (* comments
git-svn-id: trunk@14115 -
2008-02-12 17:51:41 +00:00
mattias
d67d20840b codetools: fixed FindNextComment bug #10650
git-svn-id: trunk@13791 -
2008-01-19 08:36:36 +00:00
mattias
3492130ddf codetools: replaced some var with out
git-svn-id: trunk@13222 -
2007-12-08 14:17:46 +00:00
mattias
b27b9bb629 IDE: added refactoring tool show abstract methods
git-svn-id: trunk@13212 -
2007-12-07 23:16:21 +00:00
mattias
6060a047ed codetools: implemented AddMethods
git-svn-id: trunk@13204 -
2007-12-07 15:30:22 +00:00
mattias
363234509c codetools: implemented searching abstract methods, added example
git-svn-id: trunk@13188 -
2007-12-07 00:28:12 +00:00
mattias
688c0a4db0 IDE: lazdoc: now reads comments and shows them in hints
git-svn-id: trunk@13021 -
2007-11-25 13:23:37 +00:00
mattias
4a5fbf3a39 IDE: ToDo list: replaced parsing code with codetools function
git-svn-id: trunk@13013 -
2007-11-24 22:45:39 +00:00
mattias
3a2a355c95 h2pas: added tool to remove double semicolons
git-svn-id: trunk@12115 -
2007-09-21 17:07:15 +00:00
mattias
e493426c94 codetools: started adding missing h2pas directives
git-svn-id: trunk@11777 -
2007-08-10 16:17:14 +00:00
mattias
f9f7d157a3 codetools: implemented function to simplify some types of compiler directives
git-svn-id: trunk@11754 -
2007-08-07 14:21:13 +00:00
mattias
029d4f6327 added package prettymessages - an IDE add-on to reduce FPC hints
git-svn-id: trunk@11002 -
2007-04-25 16:37:19 +00:00
mattias
07d40f291c IDE: codebrowser: added filter for packages, units and identifiers - ToDo: reg ex
git-svn-id: trunk@10747 -
2007-03-14 10:30:08 +00:00
mattias
787f9e814d added package SimpleIDEIntf to test IDE plugins easier
git-svn-id: trunk@10372 -
2007-01-04 19:51:33 +00:00
mattias
ff4f81d112 codetools: adding heuristic to scan the Makefile.fpc files of the FPC sources
git-svn-id: trunk@10363 -
2007-01-01 13:02:37 +00:00
mattias
bf557acf5b IDE: fixed open packages with underscores in filename
git-svn-id: trunk@10337 -
2006-12-16 11:55:07 +00:00
mattias
75f42392b4 h2paswizard: implemented redordering files, started tool to replace implicit types in parameters
git-svn-id: trunk@10309 -
2006-12-06 16:51:56 +00:00
mattias
421ec5b6aa codetools: removing doubles when collecting published methods
git-svn-id: trunk@10294 -
2006-12-04 16:51:19 +00:00
mattias
b49605526a IDE: renaming methods in source now skips string constants
git-svn-id: trunk@10174 -
2006-11-05 01:06:22 +00:00
mattias
cc71b7af9a h2pas: added tool to remove redefined pointer types and a tool to remove empty type/var/const sections
git-svn-id: trunk@9972 -
2006-09-23 16:34:00 +00:00
mattias
694d469e5e IDEIntf: added revert editor file function, h2pas gui: added tools for extern c and empty c macros
git-svn-id: trunk@9839 -
2006-09-08 15:24:58 +00:00
mattias
8783e0100d IDE: Find in Files: implemented multi line pattern and replacement, gtk intf: improved z ordering with modal forms
git-svn-id: trunk@9779 -
2006-09-01 14:38:07 +00:00
vincents
0a76e208e9 added {$inline on}
git-svn-id: trunk@9738 -
2006-08-20 20:12:42 +00:00
mattias
85de8ce1f8 Find in files: showing skipped results
git-svn-id: trunk@9693 -
2006-07-29 14:09:04 +00:00
mattias
34ec62a9ca fixed PChar typecasts
git-svn-id: trunk@9394 -
2006-06-04 09:35:45 +00:00
mattias
58e1fe7109 fixed synedit multi replace with overlapping results
git-svn-id: trunk@9341 -
2006-05-23 17:41:59 +00:00
micha
c3fada6d57 win64 fixes (from peter, modified)
git-svn-id: trunk@9222 -
2006-05-01 21:47:48 +00:00
mattias
1d9f747f93 delphi package conversion: implemented converting package units
git-svn-id: trunk@8978 -
2006-03-22 01:10:33 +00:00
mattias
0fdb95d4a6 improved Delphi project converter with reading .dof and .cfg file, multiple retries and fixing include filenames in .lpr
git-svn-id: trunk@8868 -
2006-03-05 23:55:40 +00:00
mattias
0466587d56 identifier completion for uses section now searches in unit links too
git-svn-id: trunk@8706 -
2006-02-04 18:19:30 +00:00
mattias
64b582dd8e fixed freeing nil
git-svn-id: trunk@8689 -
2006-02-03 15:49:59 +00:00
mattias
2499a88ad8 fixed GatherUnitFiles and implemented DirectoryAlreadySearched
git-svn-id: trunk@8551 -
2006-01-18 09:54:47 +00:00
mattias
a0733fde8c fixed CompareTextIgnoringSpace for space ahead in Txt1
git-svn-id: trunk@8550 -
2006-01-18 09:43:37 +00:00
mattias
6edfc6200b Makefile update only on change
git-svn-id: trunk@8477 -
2006-01-09 23:08:37 +00:00
mattias
7ffc2d0f43 implemented identifier completion for uses section
git-svn-id: trunk@8353 -
2005-12-21 19:13:06 +00:00
mattias
55b7e83e1c implemented codetools functions to collect search paths and to unitfiles in searchpaths
git-svn-id: trunk@8350 -
2005-12-21 11:47:03 +00:00
mattias
52b0862c32 extended MakeResourceString function to auto adjust at string constants boundaries
git-svn-id: trunk@7359 -
2005-07-15 17:42:45 +00:00
mattias
4e074259bb clean up
git-svn-id: trunk@6466 -
2005-01-03 11:41:28 +00:00
mattias
cf818e4584 implemented adding class header comment on class completion
git-svn-id: trunk@6455 -
2005-01-01 23:22:48 +00:00
marc
fee93ccea9 * fixed stronger fpc typing (and some real cast errors)
git-svn-id: trunk@6195 -
2004-11-04 01:26:47 +00:00
mattias
abacaa7cbf implemented Rename Identifier
git-svn-id: trunk@6075 -
2004-09-25 15:05:39 +00:00
mattias
62665cfd40 implemented Refactoring Tool: Find Identfier References
git-svn-id: trunk@6035 -
2004-09-20 20:22:13 +00:00
mattias
06702cefa4 implemented autofixing MainUnit IDE directive PathDelim by Vincent
git-svn-id: trunk@5989 -
2004-09-12 22:57:29 +00:00
mattias
730a67c8e1 fixed button return key
git-svn-id: trunk@5500 -
2004-05-22 14:35:33 +00:00
mattias
617948d9c8 removed unneeded units in uses sections
git-svn-id: trunk@5443 -
2004-05-02 12:01:15 +00:00
mattias
ce11f9f6e2 implemented mainunit hints for include files
git-svn-id: trunk@5393 -
2004-04-10 17:58:57 +00:00
mattias
bcf68cee11 implemented adding Application.Title:= statements
git-svn-id: trunk@5334 -
2004-03-20 12:55:48 +00:00
mattias
6d76f34810 using now fpc constant LineEnding from Vincent
git-svn-id: trunk@5073 -
2004-01-17 13:29:04 +00:00
mattias
77694e4aa0 codecompletion: forward proc body position now block sensitive
git-svn-id: trunk@4877 -
2003-12-06 19:20:46 +00:00
mattias
f0955a6093 implemented extract proc, check lfm and convert delphi unit
git-svn-id: trunk@4708 -
2003-10-15 18:01:10 +00:00
mattias
09f667c569 implemented Build+Run File
git-svn-id: trunk@4504 -
2003-08-20 15:06:57 +00:00
mattias
a27b3206fe implemented enclose selection
git-svn-id: trunk@4494 -
2003-08-18 11:52:51 +00:00
mattias
2e3f11e1ec fixed win32 lazconf and improved enclose selection
git-svn-id: trunk@4493 -
2003-08-18 10:02:37 +00:00
mattias
1fb4ee52a5 fixes for debugging lazarus
git-svn-id: trunk@4296 -
2003-06-23 09:42:09 +00:00
mattias
02dd1c8887 fixed inserting code in front of delphi comment
git-svn-id: trunk@4224 -
2003-06-02 17:55:55 +00:00
mattias
ec9835ce63 implemented datamodules
git-svn-id: trunk@4222 -
2003-06-01 21:09:09 +00:00
mattias
840b151bf7 added identcompletion context information and fixed win32 intf
git-svn-id: trunk@3919 -
2003-03-13 19:57:38 +00:00
mattias
b25b6d4dc1 finshed Make Resourcestring dialog and implemented TToggleBox
git-svn-id: trunk@3905 -
2003-03-09 17:44:12 +00:00
mattias
f7d50919ef code completion, local var completion now indents correct after var a:b;
git-svn-id: trunk@3865 -
2003-02-21 11:14:34 +00:00
mattias
c9b1c26eda added java syntax highlighter
git-svn-id: trunk@3807 -
2003-01-15 10:17:49 +00:00
mattias
a71800b3d9 added sort selection
git-svn-id: trunk@3778 -
2003-01-03 12:27:48 +00:00
mattias
ed24023cb0 identifier completion: basically working, still hidden
git-svn-id: trunk@3758 -
2002-12-29 18:13:38 +00:00
mattias
db006b69cb acceleration from Jeroen van Iddekinge
git-svn-id: trunk@3722 -
2002-12-22 23:04:03 +00:00
mattias
bec5c13181 Fixed codetools node cache and added icons
git-svn-id: trunk@3638 -
2002-11-15 15:07:11 +00:00
lazarus
feb9086ada MG: added smart hints in edit mode
git-svn-id: trunk@3618 -
2002-11-10 21:49:27 +00:00
lazarus
4b80bf49f0 MG: fixed searching units in fpc1.1 sources
git-svn-id: trunk@3538 -
2002-10-22 22:33:19 +00:00
lazarus
cfaaa10ef0 MG: codecompletion: added ForwardProcInsertPolicies
git-svn-id: trunk@3472 -
2002-10-06 09:03:28 +00:00
lazarus
b2bee3d6e7 MG: fixed editing empty resources
git-svn-id: trunk@3250 -
2002-08-27 08:55:29 +00:00
lazarus
674a9771d9 MG: fixed replacing form resources
git-svn-id: trunk@3249 -
2002-08-27 08:21:30 +00:00
lazarus
87302ee8a9 MG: method jumping with compilr directives in front
git-svn-id: trunk@3236 -
2002-08-23 12:52:24 +00:00
lazarus
b598a3b831 MG: started form renaming
git-svn-id: trunk@2741 -
2002-08-18 08:53:21 +00:00
lazarus
0e368232da MG: codecompletion now checks for filebreaks, savefile now checks for filedate
git-svn-id: trunk@1828 -
2002-08-07 09:55:31 +00:00
lazarus
f3d7a35da2 MG: fixes for saving resource files
git-svn-id: trunk@1648 -
2002-04-28 14:10:31 +00:00
lazarus
4409ebfe2d MG: fixed node cache search range calculation
git-svn-id: trunk@1616 -
2002-04-18 06:26:05 +00:00
lazarus
39b9f280f6 MG: added Event Assignment completion
git-svn-id: trunk@1602 -
2002-04-12 10:21:55 +00:00