Commit Graph

1618 Commits

Author SHA1 Message Date
mattias
c3c453b7f6 codetools: fixed double remove
git-svn-id: trunk@15116 -
2008-05-13 10:05:57 +00:00
mattias
4058612e2e codetools: undo CompareLFMTreesByLFMBuffer, it should bomb if there is a nil pointer
git-svn-id: trunk@15114 -
2008-05-13 08:03:27 +00:00
paul
2ab9ba5790 fix crash on closing lazarus
git-svn-id: trunk@15108 -
2008-05-13 01:45:55 +00:00
mattias
2fa8db67b5 IDE: implemented finding missing classes in lfm
git-svn-id: trunk@15107 -
2008-05-12 22:55:44 +00:00
mattias
5d66571b44 IDE: implemented parsing LCLVersion from lfm, added ResourceBaseClass to TUnitInfo and TPkgFile
git-svn-id: trunk@15106 -
2008-05-12 16:59:43 +00:00
mattias
bbc1eb29ff codetools: extract proc: deleting a local var: keep a space between var and the next identifier, bug #11273
git-svn-id: trunk@15098 -
2008-05-12 10:25:36 +00:00
mattias
5f7d69844d codetools: implemented parsin unitname.identifier for function types results
git-svn-id: trunk@15097 -
2008-05-12 09:52:37 +00:00
mattias
1c51099541 IDE: implemented showing help for identifier completion
git-svn-id: trunk@15065 -
2008-05-06 21:37:25 +00:00
mattias
5122d3eaaf codetools: not reparsing when cursor in valid interface
git-svn-id: trunk@15064 -
2008-05-06 19:19:40 +00:00
mattias
2b9cb9182b codetools: improved running codetools while identifier completion is open
git-svn-id: trunk@15063 -
2008-05-06 17:45:18 +00:00
mattias
3864f806a5 designer: menu item align now enabled when one control is selected
git-svn-id: trunk@15049 -
2008-05-05 20:14:39 +00:00
mattias
b7b30e862a codetools: identifier completion can exists while rebuilding code trees
git-svn-id: trunk@15048 -
2008-05-05 20:06:28 +00:00
mattias
e473ecf7d5 IDE: remove empty methods: warning when caret not in a class
git-svn-id: trunk@15026 -
2008-05-01 17:15:13 +00:00
mattias
5e41e48a30 codetools: remove empty methods: implemented returning list of removed definitions
git-svn-id: trunk@14986 -
2008-04-26 19:18:57 +00:00
mattias
d9e860573f codetools: removing empty methods: ignore redefinitions
git-svn-id: trunk@14982 -
2008-04-26 09:30:39 +00:00
mattias
bb13c13e0d IDE: added refactoring tool: remove empty methods
git-svn-id: trunk@14975 -
2008-04-25 16:19:02 +00:00
mattias
cd87870685 codetools: removing empty methods: auto removing definition nodes
git-svn-id: trunk@14972 -
2008-04-25 13:43:49 +00:00
mattias
5399b1c322 codetools: removing empty methods: auto removing class completion comment
git-svn-id: trunk@14971 -
2008-04-25 13:31:19 +00:00
mattias
c0fef1b31e codetools: added function to remove empty method bodies
git-svn-id: trunk@14970 -
2008-04-25 12:35:55 +00:00
mattias
cc954306a9 codetools: added function to find empty method bodies
git-svn-id: trunk@14969 -
2008-04-25 12:11:17 +00:00
mattias
e2b3577222 codetools: fixed result of FindDeclarationOfIdentAtParam
git-svn-id: trunk@14935 -
2008-04-23 07:59:56 +00:00
mattias
08ee4f4862 codetools: missing semicolong in procedure modifiers now allowed for fpc too - sigh
git-svn-id: trunk@14875 -
2008-04-17 22:54:28 +00:00
mattias
46c8e9eed6 codetools: added vargars to procedure type modifiers
git-svn-id: trunk@14874 -
2008-04-17 22:41:17 +00:00
mattias
2a13760f82 codetools: fixed typo
git-svn-id: trunk@14870 -
2008-04-17 14:42:13 +00:00
mattias
e11870d2ee codetools: class completion: adding new parts behind GUID, bug #11158
git-svn-id: trunk@14850 -
2008-04-16 14:59:06 +00:00
paul
b70cfb3a82 ide: load unit source buffer if it was not loaded before in LoadDependencyHidden, improve verbosity
git-svn-id: trunk@14848 -
2008-04-16 08:28:44 +00:00
mattias
fdde79363f codetools: lfmtrees are now only updated if source changed
git-svn-id: trunk@14827 -
2008-04-15 12:51:14 +00:00
mattias
92e555f7da codetools: lfmtrees are now kept
git-svn-id: trunk@14826 -
2008-04-15 12:08:36 +00:00
marc
e07aec1513 * Updated Lithuanian translation by Valdas Jankunas
* Updated some po files not covered by the localize script

git-svn-id: trunk@14823 -
2008-04-14 21:55:00 +00:00
mattias
3d48fcca42 IDE: implemented experimental TPersistentPropertyEditor.GetValues for multi forms
git-svn-id: trunk@14751 -
2008-04-04 16:25:44 +00:00
vincents
9f9ab8fcfb codetools: copy is a function, not a procedure (bug #11038)
git-svn-id: trunk@14716 -
2008-04-01 14:02:29 +00:00
vincents
abafe7aa85 codetools, lcl: added support for toWString from Giulio Bernardi
git-svn-id: trunk@14698 -
2008-03-31 21:39:52 +00:00
mattias
4c8e1097d5 codetools: h2p: implemented typedef enum
git-svn-id: trunk@14684 -
2008-03-28 16:02:57 +00:00
mattias
2fcacdb967 codetools: h2p: fixed inserting implicit types in front of current declaration
git-svn-id: trunk@14683 -
2008-03-28 15:14:40 +00:00
mattias
a31259b22c codetools: h2p: workaround for fpc var/const string bug
git-svn-id: trunk@14682 -
2008-03-28 15:10:26 +00:00
mattias
f0bbffbdde codetools: h2p: implemented converting typedef variable
git-svn-id: trunk@14681 -
2008-03-28 14:36:05 +00:00
mattias
554a5e5ce0 codetools: h2p: added more c types
git-svn-id: trunk@14680 -
2008-03-28 13:19:09 +00:00
mattias
d27123529d codetools: h2p: auto renaming names with pascal keywords
git-svn-id: trunk@14679 -
2008-03-28 13:17:50 +00:00
mattias
a202dc6d57 codetools: h2p: creating unique pascal names for macro constants
git-svn-id: trunk@14678 -
2008-03-28 12:24:29 +00:00
mattias
1ba748c317 codetools: h2p: implemented parsing hex and octal numbers for array bounds
git-svn-id: trunk@14677 -
2008-03-28 10:10:06 +00:00
mattias
a2808c4536 codetools: h2p: commenting too large hex numbers
git-svn-id: trunk@14676 -
2008-03-28 09:59:41 +00:00
mattias
58a80bb376 codetools: h2p: inserting auto generated nodes in front of current
git-svn-id: trunk@14675 -
2008-03-28 09:56:00 +00:00
mattias
2c7cc21649 codetools: h2p: added more standard c types
git-svn-id: trunk@14674 -
2008-03-28 09:44:40 +00:00
mattias
a7ea084059 codetools: h2p example: writing output unit to disk
git-svn-id: trunk@14673 -
2008-03-28 09:44:14 +00:00
mattias
eeeb05193c codetools: h2p: converting __BYTE_ORDER macro
git-svn-id: trunk@14672 -
2008-03-28 00:25:32 +00:00
mattias
f5b5cdd091 codetools: h2p: fixed test if ifdef block is empty
git-svn-id: trunk@14671 -
2008-03-27 23:38:56 +00:00
mattias
61d830f202 codetools: h2p: fixed updating neighborhood when removing IFDEF
git-svn-id: trunk@14670 -
2008-03-27 23:21:32 +00:00
mattias
3c07a0a998 codetools: h2p: marking read macros
git-svn-id: trunk@14669 -
2008-03-27 23:12:05 +00:00
mattias
69027e680e codetools: h2p: implemented removing unused defines
git-svn-id: trunk@14668 -
2008-03-27 20:40:57 +00:00
mattias
cf5329f598 codetools: h2p: removing redefiend macros
git-svn-id: trunk@14667 -
2008-03-27 20:18:27 +00:00
mattias
f02bfe9efa codetools: h2p: implemented converting && and || in macro values
git-svn-id: trunk@14666 -
2008-03-27 19:12:51 +00:00
mattias
bdeca6f19c codetools: h2p: updated comments
git-svn-id: trunk@14665 -
2008-03-27 11:40:42 +00:00
mattias
54398675ff codetools: h2p: implemented converting | and & in macro values
git-svn-id: trunk@14664 -
2008-03-27 11:25:21 +00:00
mattias
635062877c codetools: c parser: fixed parsing numbers
git-svn-id: trunk@14663 -
2008-03-27 11:10:46 +00:00
mattias
fc6e52e515 codetools: h2p: added safety check
git-svn-id: trunk@14660 -
2008-03-26 17:52:58 +00:00
mattias
dce2481e79 codetools: c parser: fixed mem leak
git-svn-id: trunk@14659 -
2008-03-26 17:42:58 +00:00
mattias
ab2e97512f codetools: h2p: fixed creating nested procedure types
git-svn-id: trunk@14658 -
2008-03-26 17:37:05 +00:00
mattias
66c97d67f0 codetools: h2p: implemented nested function types
git-svn-id: trunk@14657 -
2008-03-26 17:25:57 +00:00
mattias
33fceb4802 codetools: c parser: clean up
git-svn-id: trunk@14656 -
2008-03-26 16:26:47 +00:00
mattias
a0fb82a994 codetools: h2p: implemented parsing struct parameters and fixed simplifying if elseif else endif
git-svn-id: trunk@14655 -
2008-03-26 15:48:48 +00:00
mattias
f6717eb256 codetools: h2p: implemented simplifying empty ifdefs
git-svn-id: trunk@14652 -
2008-03-26 14:41:04 +00:00
mattias
3b57267fa1 codetools: h2p: implemented recognizing (void*)0
git-svn-id: trunk@14651 -
2008-03-26 13:44:43 +00:00
mattias
74426aae84 codetools: h2p: implemented recognizing constant identifiers in macro values
git-svn-id: trunk@14650 -
2008-03-26 13:29:28 +00:00
mattias
aeceb42992 codetools: h2p: implemented converting c octal numbers
git-svn-id: trunk@14649 -
2008-03-26 11:30:17 +00:00
mattias
647adc1d77 codetools: h2p: implemented converting c hex numbers
git-svn-id: trunk@14648 -
2008-03-26 11:24:46 +00:00
mattias
271e95a54b codetools: h2p: implemented converting simple macro constants to pascal constants
git-svn-id: trunk@14647 -
2008-03-26 10:25:39 +00:00
mattias
2fc48743e4 codetools: h2p: auto replacing special macro chars
git-svn-id: trunk@14646 -
2008-03-26 09:45:36 +00:00
mattias
e159c54b13 codetools: h2p: clean up
git-svn-id: trunk@14645 -
2008-03-26 09:33:43 +00:00
mattias
00936481e1 codetools: h2p: started simplify directives#
git-svn-id: trunk@14641 -
2008-03-25 17:55:57 +00:00
mattias
f36a751b57 codetools: h2p: implemented macro values and stati
git-svn-id: trunk@14640 -
2008-03-25 15:43:07 +00:00
mattias
29a732e300 codetools: h2p: implemented writing directives as pascal
git-svn-id: trunk@14639 -
2008-03-25 14:07:54 +00:00
mattias
2e78fdbf51 codetools: h2p: implemented writing error directives as pascal
git-svn-id: trunk@14638 -
2008-03-25 13:58:25 +00:00
mattias
36cbdb7c58 codetools: h2p: implemented building directives tree
git-svn-id: trunk@14637 -
2008-03-25 13:44:01 +00:00
mattias
4e86ff8611 codetools: h2p: started directive nodes
git-svn-id: trunk@14636 -
2008-03-25 12:36:39 +00:00
mattias
d4d10d65ce codetools: h2p: implemented writing record case as pascal
git-svn-id: trunk@14635 -
2008-03-25 11:27:38 +00:00
mattias
8b66effeab codetools: h2p: implemented writing procedure types as pascal
git-svn-id: trunk@14634 -
2008-03-25 10:50:56 +00:00
mattias
b7829c6cc9 codetools: h2p: writing line numbers for skipped items
git-svn-id: trunk@14633 -
2008-03-25 10:28:59 +00:00
mattias
04d285bc25 codetools: h2p: implemented wrinting simple records as pascal
git-svn-id: trunk@14632 -
2008-03-25 10:19:57 +00:00
mattias
2241f84b14 codetools: h2p: implemented writing enums as pascal
git-svn-id: trunk@14630 -
2008-03-25 09:45:07 +00:00
mattias
0187d5938a codetools: h2p: implemented writing simple procedure param lists as pascal
git-svn-id: trunk@14619 -
2008-03-22 22:33:33 +00:00
mattias
fde5bd6197 codetools: h2p: implemented writing simple procedures as pascal
git-svn-id: trunk@14618 -
2008-03-22 22:27:21 +00:00
mattias
df6b850e40 codetools: h2p: implemented writing simple types as pascal
git-svn-id: trunk@14616 -
2008-03-22 21:58:49 +00:00
mattias
3e15890632 IDE: checking package Makefile.fpc changes ignoring comments and empty lines
git-svn-id: trunk@14613 -
2008-03-22 21:39:34 +00:00
mattias
5c76657004 codetools: h2p: writing global pascal variables
git-svn-id: trunk@14609 -
2008-03-21 21:52:52 +00:00
mattias
9b34769c83 codetools: h2p: implemented writing variables as pascal code
git-svn-id: trunk@14608 -
2008-03-21 21:36:58 +00:00
mattias
6a65fad10e codetools: updated defines for fpgui widgetset
git-svn-id: trunk@14602 -
2008-03-20 17:30:28 +00:00
mattias
bcc1df0450 codetools: h2p: implemented parsing defines
git-svn-id: trunk@14586 -
2008-03-19 14:39:07 +00:00
mattias
baebd44d83 codetools: h2p: implemented parsing #if and #elif expressions
git-svn-id: trunk@14585 -
2008-03-19 14:18:59 +00:00
mattias
d3f729367b codetools: h2p: parsing ifdef, undef, ifndef
git-svn-id: trunk@14582 -
2008-03-19 12:38:51 +00:00
mattias
2db3882300 codetools: c parser: implemented parsing directives
git-svn-id: trunk@14581 -
2008-03-19 12:33:53 +00:00
mattias
46bfc75db8 codetools: h2p: implemented #endif
git-svn-id: trunk@14580 -
2008-03-19 09:55:05 +00:00
mattias
70de988f83 codetools: h2p: implemented typedef function pointers
git-svn-id: trunk@14577 -
2008-03-18 17:35:31 +00:00
mattias
ad20039e2e codetools: h2p: implemented struct alias
git-svn-id: trunk@14576 -
2008-03-18 16:58:12 +00:00
mattias
ff62c04c02 codetools: h2p: implemented union
git-svn-id: trunk@14575 -
2008-03-18 16:40:41 +00:00
mattias
fcb2e8f8cb codetools: h2p: implemented typedef struct
git-svn-id: trunk@14574 -
2008-03-18 16:02:33 +00:00
mattias
f483eda4a5 codetools: h2p: implemented parameter type ...
git-svn-id: trunk@14572 -
2008-03-18 15:09:39 +00:00
mattias
b8caa1a665 codetools: h2p: implemented function list parameters
git-svn-id: trunk@14571 -
2008-03-18 14:57:47 +00:00
mattias
229b2913b9 codetools: c parser: implemented parsing function parameter names
git-svn-id: trunk@14570 -
2008-03-18 14:05:40 +00:00
mattias
fb6acb3313 codetools: c parser: implemented parsing function parameters
git-svn-id: trunk@14569 -
2008-03-18 13:38:22 +00:00
mattias
261b5cdc0f codetools: h2p: ignore function modifiers for result type
git-svn-id: trunk@14568 -
2008-03-18 12:26:04 +00:00