Commit Graph

16030 Commits

Author SHA1 Message Date
bart
c5115fb647 ValEdit: TValueListStrings.GetItemProp: return nil when strings are updating.
git-svn-id: trunk@40329 -
2013-02-16 18:15:47 +00:00
jesus
a8b95e3a2f LCL, dbgrids checks for keydown while dataset is inactive, issue #23598
git-svn-id: trunk@40323 -
2013-02-15 15:08:35 +00:00
mattias
37915accc5 LCL: fixed lclproc mode
git-svn-id: trunk@40322 -
2013-02-15 07:41:23 +00:00
mattias
577bc9d322 LCL: gtk2: disabled optimization REMOVEEMPTYPROCS for fpc 2.7.1
git-svn-id: trunk@40321 -
2013-02-14 23:34:15 +00:00
bart
e436bede0d ValEdit: TValueListStrings.Assign: Assign also ItemProps if Source is TValueListStrings.
git-svn-id: trunk@40319 -
2013-02-14 22:55:12 +00:00
jesus
3d1bfbe763 LCL, save grid color when doing SaveToFile
git-svn-id: trunk@40316 -
2013-02-14 15:11:17 +00:00
mattias
e1f38d1a0b LCL: added mergesort for parts of TFPList
git-svn-id: trunk@40304 -
2013-02-13 19:00:05 +00:00
bart
db4e29e1d9 ValEdit: Remove unneeded overridden SetTextStr.
git-svn-id: trunk@40299 -
2013-02-13 15:19:02 +00:00
bart
f074778ce7 ValEdit: Ignore epmty cells when validating.
git-svn-id: trunk@40298 -
2013-02-13 15:14:44 +00:00
bart
ba23bf1705 ValEdit: do not store '=' in Strings is "key" and "value" cell is empty.
git-svn-id: trunk@40297 -
2013-02-13 15:08:52 +00:00
bart
354039f2b0 ValEdit: Update Modified when Strings are changed.
git-svn-id: trunk@40296 -
2013-02-13 14:24:33 +00:00
bart
6b04227c32 ValEdit: Implement CustomSort so it keeps ItemProps in sync.
git-svn-id: trunk@40295 -
2013-02-13 14:14:53 +00:00
bart
5acb32b369 ValEdit: Refactoring. Store ItemProps in TFPObjectList, so it's easier
to Insert, Exchange, Clear and keep it in sync with Strings.

git-svn-id: trunk@40294 -
2013-02-13 13:05:23 +00:00
bart
7ce04606cc TCustomLabeledEdit: don't set Text to empty string when changing Name in designtime,
make it behave like other TControls. Fixes issue #0023881

git-svn-id: trunk@40293 -
2013-02-13 11:14:11 +00:00
sekelsenmat
1fa926c402 Patches from bugs #23866 and #23864, fixes 64 bits and fpc 2.7.1 issues
git-svn-id: trunk@40287 -
2013-02-13 07:11:48 +00:00
sekelsenmat
593c4d27df Patch from bug #23867 - fix compilation in fpc 2.7.1
git-svn-id: trunk@40286 -
2013-02-13 07:03:49 +00:00
bart
e233a67124 ValEdit: Fix not updating cell in TValueListStrings.Put when goAlwaysShowEditor in Options.
Fixes issue #0023875.

git-svn-id: trunk@40282 -
2013-02-12 22:16:47 +00:00
jesus
efee6e8c99 LCL, grids and dbgrids implemented RowHightlight option, from Marcus Müller, issue #18581
git-svn-id: trunk@40276 -
2013-02-12 03:35:29 +00:00
mattias
e579fe52a4 lcl: clean up
git-svn-id: trunk@40268 -
2013-02-11 21:15:42 +00:00
mattias
8d124948d7 LCL: comments
git-svn-id: trunk@40265 -
2013-02-11 17:14:14 +00:00
mattias
f46f4ab4f4 LCL: gtk2: check if gtk_window
git-svn-id: trunk@40262 -
2013-02-11 17:04:10 +00:00
mattias
a8fa92ac7f lcl: gtk2: fixed showing form modal, close, showing non modal, bug #23876
git-svn-id: trunk@40261 -
2013-02-11 16:54:50 +00:00
mattias
fcc1d83bb8 lcl: fixed compilation with fpc 2.7.1
git-svn-id: trunk@40258 -
2013-02-10 21:44:09 +00:00
bart
bb1447887f ValEdit: don't hide/show editor inside TValueListStrings.Put (otherwise you cannot type anymore).
git-svn-id: trunk@40253 -
2013-02-10 15:09:50 +00:00
mattias
434dcee856 LCL: fixed compilation fpc 2.6.0
git-svn-id: trunk@40249 -
2013-02-10 14:04:29 +00:00
bart
b74e586846 ValEdit: Make OnButtonClick and OnEditButtonClick published.
git-svn-id: trunk@40242 -
2013-02-10 12:41:12 +00:00
mattias
5ee38f3ce4 lcl: using fpcanvas JoinStyle
git-svn-id: trunk@40240 -
2013-02-10 12:26:35 +00:00
mattias
9860bb1ef1 lcl: using fpcanvas EndCap
git-svn-id: trunk@40239 -
2013-02-10 12:22:05 +00:00
mattias
aaca1d064d openglcontrol: red,green,bluebits for carbon
git-svn-id: trunk@40231 -
2013-02-09 21:31:10 +00:00
bart
ada0f52f3c ValEdit: remove unused redeclared OnEditButtonClick property.
(Maybe in future need to override DoEditButtonClick?)
Fixes issue #0023846.

git-svn-id: trunk@40227 -
2013-02-09 16:56:36 +00:00
bart
619097177e ValEdit: Refactoring: remove SelectValueEditor and override SelectEditor instead.
git-svn-id: trunk@40226 -
2013-02-09 16:42:33 +00:00
bart
b48441883c ValEdit: fix bug in SetOptions (once goColMoving was set, it wasn't possible to change options anymore).
git-svn-id: trunk@40225 -
2013-02-09 16:09:25 +00:00
bart
b3c2eafeb0 ValEdit: remove calls to Changing and Changed in override TValueListStrings methods,
since they are already called in the invoked inherited methods.

git-svn-id: trunk@40224 -
2013-02-09 14:13:11 +00:00
bart
938dfb12e9 ValEdit: Fix FItemProps getting out of sync when Inserting, Deleting or Assigning strings,
which caused a crash on Delete(), and memory leaks.
Fixes issue #0023851

git-svn-id: trunk@40209 -
2013-02-08 17:29:28 +00:00
bart
98b1126b93 ValEdit: fix not updating active cell contents when changing Strings property (Assign, Add, Delete, Set Text, Clear) which
happens when goAlwaysShowEditor is in Options.

git-svn-id: trunk@40204 -
2013-02-07 19:15:05 +00:00
juha
248c598499 LCL: check also for csDestroying component state in Grid when setting edit test.
git-svn-id: trunk@40198 -
2013-02-06 15:59:10 +00:00
bart
eab5aa8fb5 ValEdit: also release the memory of the TValueListStrings.FItemProps array itself, not only the items.
git-svn-id: trunk@40197 -
2013-02-06 15:29:04 +00:00
juha
218c95590c LCL: delete also ItemProps when deleting strings.
git-svn-id: trunk@40195 -
2013-02-06 14:43:25 +00:00
bart
9ce1fac44c ValEdit: free TValueListStrings.FItemProps in TValueListStrings.Destroy.
Resolves issue #0023841.

git-svn-id: trunk@40194 -
2013-02-06 14:21:07 +00:00
juha
053dfd2a1a LCL: Fix a bug in ValueListEditor when reading / writing value by key (Values['Key'])
git-svn-id: trunk@40193 -
2013-02-06 10:53:57 +00:00
juha
1dd55f7ae0 LCL: Don't access first element of ImageList if length=0. Issue #23834, patch from wp
git-svn-id: trunk@40192 -
2013-02-05 21:39:16 +00:00
mattias
f8c92431ec TUpDown: nicer UpdateOrientation filling up
git-svn-id: trunk@40189 -
2013-02-05 09:12:31 +00:00
mattias
2eb5e390be TUpDown: fixed unconnecting associate on free, independent if handle is allocated
git-svn-id: trunk@40188 -
2013-02-05 09:09:27 +00:00
mattias
2f4f9f1f8f TUpDown: clean up, fixed UpdateOrientation filling up
git-svn-id: trunk@40187 -
2013-02-05 09:08:38 +00:00
zeljko
28dff08465 Qt: keep state of forms hidden from taskbar under X11. Fixes issue #23825.
git-svn-id: trunk@40180 -
2013-02-04 15:49:04 +00:00
juha
a3d9027f52 LCL, CoolBar: Use InsertControl to add bands automatically when a control is dropped to CoolBar
git-svn-id: trunk@40167 -
2013-02-03 23:34:11 +00:00
maxim
caf6b21874 LCL, DefaultTranslator: translate Frame owned components too, patch by wp with minor changes, bug #23820
git-svn-id: trunk@40164 -
2013-02-03 21:52:11 +00:00
bart
f85cc1c351 Implement TApplication.IsRightToLeft (Reason: Delphi compatibility).
git-svn-id: trunk@40155 -
2013-02-03 12:03:49 +00:00
juha
453863e7a7 LCL, CoolBar: Cleanup
git-svn-id: trunk@40154 -
2013-02-03 12:01:07 +00:00
juha
dc40f49c0c LCL, CoolBar: Improve OnIdle handler. add a band+control only if control's parent is Self. Notification is sent wrongly from any component on form.
git-svn-id: trunk@40151 -
2013-02-03 11:05:07 +00:00