Commit Graph

174 Commits

Author SHA1 Message Date
juha
a2b0762abd IdeIntf: Use CompareText.
git-svn-id: trunk@56154 -
2017-10-22 22:25:29 +00:00
juha
82ea3d79fe IdeIntf: Fix TVariantPropertyEditor. Issue #19324.
git-svn-id: trunk@56146 -
2017-10-22 16:01:36 +00:00
juha
cf2c1e8b43 IdeIntf: Replace a test + exception with an assertion in PropEdits.
git-svn-id: trunk@56027 -
2017-10-11 14:04:35 +00:00
juha
002248b374 IdeIntf: Less hints. Formatting.
git-svn-id: trunk@55907 -
2017-09-23 23:09:02 +00:00
juha
e1b03f485c IdeIntf: Refactoring for PropEdits code.
git-svn-id: trunk@55903 -
2017-09-23 14:33:15 +00:00
juha
2016ffc4e0 IdeIntf, EnumPropertyEditor: Make '(Invalid)' a resource string. Reorder other strings.
git-svn-id: trunk@55902 -
2017-09-23 14:33:13 +00:00
juha
2e97bb8617 IdeIntf: Show '(Invalid)' in OI when an invalid enum value was typed.
git-svn-id: trunk@55832 -
2017-09-10 18:10:17 +00:00
juha
3c4942286a IdeIntf: Exit from TEnumPropertyEditor.SetValue when invalid value is given. Prevents an AV later. Reverts r185 from 2001-02-19.
git-svn-id: trunk@55831 -
2017-09-10 09:48:04 +00:00
ondrej
0cd8ed04e5 LCL: combobox, listbox: fix drawing of customdrawn items. Change TOwnerDrawStateType.odPainted to odBackgroundPainted
git-svn-id: trunk@55304 -
2017-06-10 11:43:19 +00:00
ondrej
7a420f8326 IdeIntf: PropEdits: fix painting of value combobox in QT
git-svn-id: trunk@55303 -
2017-06-10 10:39:19 +00:00
mattias
f387f6f8a2 IDE: method property editor: fixed rename
git-svn-id: trunk@55261 -
2017-06-06 11:03:42 +00:00
mattias
b2679b7d0d IDE: TMainIDE.OnPropHookCreateMethod: fixed creating JITMethod for ancestor
git-svn-id: trunk@55240 -
2017-06-05 13:30:55 +00:00
mattias
92ef27e2f4 IDE: method property editor: fixed creating new event
git-svn-id: trunk@55225 -
2017-06-04 21:55:17 +00:00
juha
e27232d4cc Fix uninitialized variables based on compiler warnings got with dfa (data flow analysis) enabled.
git-svn-id: trunk@55211 -
2017-06-04 15:14:29 +00:00
mattias
b29915c159 IDE: method property editor: edit: ask whether jump to inherited or add override
git-svn-id: trunk@55206 -
2017-06-04 09:21:06 +00:00
mattias
4975382c55 codetools: TEventsCodeTool.FindClassOfInstance: search unit in unitpath, the uses section is not enough
git-svn-id: trunk@55204 -
2017-06-04 07:30:15 +00:00
ondrej
a08eb48d76 IdeIntf: propedits: fix call stored method with index parameter if needed. Issue #31923
git-svn-id: trunk@55098 -
2017-05-26 11:50:41 +00:00
juha
94be804f66 IDEIntf: Fix a stupid copy/paste error in r55015 #61beca02f9.
git-svn-id: trunk@55071 -
2017-05-24 13:03:21 +00:00
juha
61beca02f9 IDEIntf: Restore the backwards compatible event TPropHookModified. Add a new event TPropHookModifiedWithName.
git-svn-id: trunk@55015 -
2017-05-19 17:54:10 +00:00
ondrej
3a7e2ee5dd IdeIntf: propedits: fix highlighting default (=not stored) properties.
git-svn-id: trunk@54955 -
2017-05-17 18:27:55 +00:00
ondrej
697a3ee6fa IdeIntf: propedits: always write property values to objects. The property setter method has to decide about the need of update, not the propedit code.
git-svn-id: trunk@54954 -
2017-05-17 14:57:07 +00:00
mattias
99b5de9bd3 IDEIntf: added TInterfacePropertyEditor, issue #31324, from Michal Gawrycki
git-svn-id: trunk@54067 -
2017-02-02 11:13:45 +00:00
juha
73aa9aa4bb Order uses sections again to see dependencies better.
git-svn-id: trunk@53738 -
2016-12-20 16:26:44 +00:00
mattias
36882d29bb IDEIntf: object inspector: support unicodestring properties, added Filter property
git-svn-id: trunk@53348 -
2016-11-11 18:53:12 +00:00
mattias
48ab9d2cbb IDEIntf: TPasswordStringPropertyEditor: draw empty field on empty password and allow to override value, patch #30842, from Silvio Clécio
git-svn-id: trunk@53313 -
2016-11-08 14:59:32 +00:00
mattias
42ea23f324 IDEIntf: TPasswordStringPropertyEditor: show fixed amount of *
git-svn-id: trunk@53286 -
2016-11-02 12:42:26 +00:00
mattias
c08ab12276 IDEINtf: added TPasswordStringPropertyEditor and TPasswordWideStringPropertyEditor, from Silvio Clécio, issue #30842
git-svn-id: trunk@53279 -
2016-11-02 10:31:07 +00:00
juha
e008aa5d53 IDEIntf: Add a functional TNoteBook.Pages property editor. Issue #30710, patch from Michl.
git-svn-id: trunk@53267 -
2016-10-30 18:16:52 +00:00
juha
dc5c4b535c Packager: Support dotted package names. Issue #30467.
git-svn-id: trunk@52813 -
2016-08-17 10:40:39 +00:00
juha
9367da0ae5 Remove extra checks for empty strings together with IsValidIdent. It already handles an empty string.
git-svn-id: trunk@52812 -
2016-08-17 10:40:29 +00:00
mattias
96b2691e94 IDEIntf: less hints
git-svn-id: trunk@52699 -
2016-07-16 08:09:13 +00:00
juha
d5d8e2f420 IdeIntf: Improve and harmonize the drawing of Boolean Checkboxes.
git-svn-id: trunk@52622 -
2016-07-04 18:13:11 +00:00
mattias
4c9d5e70ca IDEIntf: less hints
git-svn-id: trunk@52557 -
2016-06-22 14:26:48 +00:00
bart
2a41a0e2f4 Fix spelling errors. Issue #0030258. Patch by Paul Gevers.
git-svn-id: trunk@52489 -
2016-06-12 16:07:57 +00:00
juha
1236d8fbe8 LCL: Implement WriteVariant for TLRSObjectWriter. Fix variant property editor. Issue #28040, patch from Michal Gawrycki.
git-svn-id: trunk@52328 -
2016-05-19 08:15:02 +00:00
juha
e692bb38fe Revert r52227 #672ab540ee. TStringsPropertyEditor.Edit is actually used. Issue #30046.
git-svn-id: trunk@52235 -
2016-04-22 11:49:24 +00:00
juha
618bfe6da9 IdeIntf: Support multi-line text in property editors also in Carbon. Issue #27867, patch from Hans Luijten.
git-svn-id: trunk@52234 -
2016-04-22 11:34:44 +00:00
juha
672ab540ee IdeIntf: Remove unused code from TStringsPropertyEditor.Edit.
git-svn-id: trunk@52227 -
2016-04-21 20:39:53 +00:00
juha
6060f5b9ab IdeIntf: Create default event handlers without assertion failure. Issue #30027.
git-svn-id: trunk@52212 -
2016-04-18 11:05:11 +00:00
juha
bb389f40bf IdeIntf: Add PropName param to PropertyEditor.Modified. Do not redraw comp tree after prop change. Issue #29574.
git-svn-id: trunk@52209 -
2016-04-18 11:05:06 +00:00
juha
2355da2c35 IdeIntf: Create proper name for Constraints.OnChange handler in Object Inspector. Issue #29562.
git-svn-id: trunk@52192 -
2016-04-14 10:02:12 +00:00
juha
a9f11cacba IdeIntf: Formatting
git-svn-id: trunk@52191 -
2016-04-14 10:02:07 +00:00
juha
2ab7a2e3f5 Object Inspector: Prevent infinite recursive loop in property name filter. Issue #29921, patch from shobits1.
git-svn-id: trunk@52190 -
2016-04-14 10:00:07 +00:00
mattias
72163698e7 IDEIntf: clean up
git-svn-id: trunk@52158 -
2016-04-10 17:43:20 +00:00
juha
a1f09debb2 IdeIntf: Prevent a recursive loop in IsInteresting, IsPropInClass function. Issue #29921.
git-svn-id: trunk@52128 -
2016-04-06 22:15:56 +00:00
juha
9e0eaa8431 IdeIntf: Simplify sub-functions of IsInteresting used by OI. The same value was used always for parameters.
git-svn-id: trunk@52115 -
2016-04-06 13:42:40 +00:00
juha
54e12af225 Object Inspector: Fix memory leaks caused by the new property name filter. Issue #29921, patch from shobits1.
git-svn-id: trunk@52097 -
2016-04-01 09:36:48 +00:00
juha
f0030ec7cd IdeIntf: Optimize function IsInteresting used by OI. Convert APropNameFilter to uppercase only once. Don't use Unicode for prop names.
git-svn-id: trunk@52093 -
2016-03-31 12:14:21 +00:00
juha
faa105a248 Object Inspector: Implement FilterEdit also for property names. Issue #29921, patch from shobits1.
git-svn-id: trunk@52092 -
2016-03-31 12:14:19 +00:00
juha
71d5d7517e IdeIntf: formatting.
git-svn-id: trunk@52091 -
2016-03-31 12:14:12 +00:00
juha
8423094db4 Partly revert r52070 #66bc82cf72. Caused side-effects when creating new event handlers. Issue #25954.
git-svn-id: trunk@52089 -
2016-03-30 17:57:15 +00:00
juha
9aab2a374d Object Inspector: Differentiate multi-selected properties which have different values using background color. Issue #23151.
git-svn-id: trunk@52075 -
2016-03-28 10:37:25 +00:00
juha
66bc82cf72 IDE: Show Action Execute method also when in another unit/form. Improve on earlier r52020 #75791c984b. Issue #25954.
git-svn-id: trunk@52070 -
2016-03-27 10:39:15 +00:00
juha
e5845a0818 Formatting
git-svn-id: trunk@52021 -
2016-03-22 21:57:06 +00:00
juha
75791c984b IDE: Show methods when clicked in OI also when they are in another unit/form. Issue #25954.
git-svn-id: trunk@52020 -
2016-03-22 21:57:01 +00:00
bart
623ef8e528 OI: Use normal CheckBoxThemed as Boolean editor again by default.
git-svn-id: trunk@52018 -
2016-03-22 21:31:02 +00:00
juha
db51e758b5 Cleanup and comments
git-svn-id: trunk@51470 -
2016-02-01 21:04:59 +00:00
juha
deeef8296e IdeIntf: Create also Constraints.OnChange handler when clicked in Object Inspector. Issue #29562.
git-svn-id: trunk@51469 -
2016-02-01 21:04:53 +00:00
juha
468a5a31d3 IdeIntf: Reduce debug msgs in TPropertyEditorHook. Rename a variable.
git-svn-id: trunk@51417 -
2016-01-25 20:04:49 +00:00
juha
30a53a3bb8 OI: Use normal CheckBox as Boolean editor until problems with CheckBoxThemed are solved. Issues #29406 and #29412.
git-svn-id: trunk@51304 -
2016-01-16 12:14:46 +00:00
bart
2adb9b25c1 IDEIntf: use decimal point always in property editor for floating point values.
git-svn-id: trunk@51253 -
2016-01-11 15:36:52 +00:00
ondrej
56e2b65b29 ideintf: fix autosize ShortCutPropertyEditor. Issue #29266
git-svn-id: trunk@51173 -
2016-01-03 20:38:23 +00:00
ondrej
7fcc772645 designer, ideintf: rename TPropHookType htMouse* to htDesignerMouse*
git-svn-id: trunk@51156 -
2016-01-03 13:35:38 +00:00
ondrej
cdfb590aee ideintf, designer: add MouseDown and MouseUp event handlers for designer
git-svn-id: trunk@51144 -
2016-01-03 12:06:07 +00:00
juha
f4b38428a6 Allow to use any class with RTTI for RunTimeTypeInfoControls (previously only using descendants of TPersistent was legal). Now is possible to use any ORM system with RTTI controls like mORMot. From Maciej.
git-svn-id: trunk@51089 -
2015-12-31 09:07:46 +00:00
ondrej
175c0031c0 ideintf: set PopupMode/PopupParent for collection editor and actions editor. Issue #24711
git-svn-id: trunk@51051 -
2015-12-27 13:06:05 +00:00
juha
db5c09e762 IdeIntf: Add checks to TPropertyEditorHook.GetComponentName and match the return type with Component.Name's type.
git-svn-id: trunk@50940 -
2015-12-19 15:28:40 +00:00
mattias
a416d683ab IDEIntf: Object Inspector: added HideClassNames, from Gabor Boros
git-svn-id: trunk@50394 -
2015-11-18 15:10:16 +00:00
juha
f86c5c935c IdeIntf: Show values in OI Combobox Boolean editor. Using the themed Checkbox broke it. Issue #28790.
git-svn-id: trunk@49976 -
2015-10-07 16:38:47 +00:00
mattias
81d84416e9 IDEIntf: less hints
git-svn-id: trunk@49942 -
2015-10-05 18:53:52 +00:00
juha
ac56c10378 Object inspector: Set "Checkbox for Booleans" as the default. Also use the themed Checkbox, can be changed with define UseOINormalCheckBox.
git-svn-id: trunk@49914 -
2015-10-02 13:27:18 +00:00
mattias
3333661fda IDEIntf: clean up
git-svn-id: trunk@49697 -
2015-08-20 09:23:11 +00:00
juha
7ef382f0bd IdeIntf: Use TCheckBoxThemed as a Boolean property editor in OI. Issue #28518, patch from Vojtech Cihak.
git-svn-id: trunk@49677 -
2015-08-15 21:40:16 +00:00
juha
c242431af9 PropEdits: Don't create lists in InitPropEdits. Created in other funcs which are called from many initialization sections.
git-svn-id: trunk@49548 -
2015-07-14 18:39:52 +00:00
juha
140203ca19 PropEdits: New event TPropHookPersistentDeleted (called after component deletion). r49377 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49531 -
2015-07-12 23:05:17 +00:00
juha
fe64bb3834 OI: Revert r49480 #27f9198058 and update text value in OI control in a better way. Issue #23918.
git-svn-id: trunk@49489 -
2015-07-02 18:50:29 +00:00
juha
27f9198058 OI: Update text value also when the control is changed but property remains the same. Remove useless paAutoUpdate flag. Issue #23918.
git-svn-id: trunk@49480 -
2015-06-30 19:57:01 +00:00
juha
23077a602f IdeIntf: Minor changes in Key Grab dialog. Issue #28353, patch from Alexey Torgashin.
git-svn-id: trunk@49461 -
2015-06-28 12:27:54 +00:00
maxim
58a102b2c5 IDEIntf: improved i18n, regenerated translations and updated Russian translation, bug #28067
git-svn-id: trunk@49002 -
2015-05-12 21:30:53 +00:00
mattias
7688e7b21f IDE: OI: implemented Revert to inherited for some base types of TComponent properties
git-svn-id: trunk@48682 -
2015-04-08 20:50:17 +00:00
juha
2368d8ad9a IdeIntf: Prevent invalid shortcut entries in TCustomShortCutGrabBox. Issue #27705, patch from Howard Page-Clark.
git-svn-id: trunk@48506 -
2015-03-25 21:21:19 +00:00
juha
abe573b42d Initialize variables based on compiler warnings around Lazarus and libs. Contains ToDo items.
git-svn-id: trunk@48481 -
2015-03-24 17:52:23 +00:00
juha
d15ee98ee4 IdeIntf: Support restoring default value in Object Inspector for Set types. Issue #18734.
git-svn-id: trunk@48023 -
2015-02-26 18:10:46 +00:00
juha
307f5059e3 IdeIntf: Use CheckBox as boolean editor also for Set elements.
git-svn-id: trunk@48014 -
2015-02-26 09:28:38 +00:00
juha
66daecb69a IdeIntf: Show Meta- menuitem shortcuts in Object Inspector only for Mac. Issue #27456, patch from Howard Page-Clark.
git-svn-id: trunk@47850 -
2015-02-17 00:12:22 +00:00
maxim
e2866a78a0 Object Inspector: i18nalize '(Mixed)' value
git-svn-id: trunk@47441 -
2015-01-20 22:13:57 +00:00
juha
3151750571 OI: show '(Mixed)' for Checkbox caption when multiselect and values are mixed.
git-svn-id: trunk@47410 -
2015-01-17 00:05:03 +00:00
juha
b4de0f46fc IdeIntf: Draw a grey CheckBox for Boolean property editor when multi-selection has mixed values.
git-svn-id: trunk@47311 -
2015-01-05 21:36:34 +00:00
juha
174e17c841 IdeIntf: Check every time if Boolean Checkbox property editor is needed. Was wrong when component changed and value differed.
git-svn-id: trunk@47291 -
2015-01-04 14:10:49 +00:00
blikblum
b7962c5068 IDE: register TValueListPropertyEditor only for TValueListEditor Strings property to prevent be used in other TStrings properties (TitleCaptions)
git-svn-id: trunk@47288 -
2015-01-04 13:42:03 +00:00
juha
304f54dde0 IdeIntf: one more tweak for the Boolean Checkbox editor position.
git-svn-id: trunk@47010 -
2014-11-27 20:31:44 +00:00
juha
d9b6126447 IdeIntf: comment
git-svn-id: trunk@46999 -
2014-11-27 20:31:22 +00:00
juha
80fc1404b6 IdeIntf: Make a compromise for Boolean property editor Checkbox left position. Actually depends on widgetset and theme.
git-svn-id: trunk@46992 -
2014-11-26 09:23:48 +00:00
juha
7d9296fe56 Object Inspector: Fix the alignment of Checkbox editor.
git-svn-id: trunk@46991 -
2014-11-26 00:35:13 +00:00
juha
8e8d5a2fdf Object Inspector: Show parenthesis around True and False when using the Checkbox Boolean editor.
git-svn-id: trunk@46989 -
2014-11-25 19:48:33 +00:00
juha
63400d9ec8 IDE: Add an option GUI for using CheckBox for Booleans in Object Inspector.
git-svn-id: trunk@46881 -
2014-11-18 23:40:20 +00:00
juha
f66d606172 Object Inspector: use theme services to draw the new CheckBox Boolean editor.
git-svn-id: trunk@46877 -
2014-11-18 14:00:21 +00:00
mattias
e09f10816f IDE: object inspector: show error if integer out of range
git-svn-id: trunk@45620 -
2014-06-23 16:23:51 +00:00
juha
a2742e90b3 IdeIntf: Hard-coded quotations in resourcestrings.
git-svn-id: trunk@45523 -
2014-06-15 11:52:37 +00:00
mattias
fba12fd265 IDEIntf: fixed TPropertyEditorHook compiling with -CR
git-svn-id: trunk@44897 -
2014-05-03 09:00:32 +00:00