Commit Graph

57243 Commits

Author SHA1 Message Date
maxim
fc4ab0cea8 LazUtils (Translations unit), POChecker: Introduced VirtualTranslation property to TPOFileItem. It allows to identify items whose empty translations (actually stored in the file) were replaced by some suggestions. Use it in POChecker in order to avoid false warnings about translation contents not yet present in the file.
git-svn-id: trunk@61302 -
2019-05-30 23:21:49 +00:00
dmitry
949c132c96 cocoa: debugging routines
git-svn-id: trunk@61301 -
2019-05-30 03:08:20 +00:00
dmitry
d884d16510 cocoa: focus switch update, calling SETFOCUS prior to KILLFOCUS. Preventing endless loop of focus switch
git-svn-id: trunk@61300 -
2019-05-29 13:42:57 +00:00
maxim
b04174617e LazUtils (Translations unit), POChecker: Store item's fuzzy flag state as read from file in a separate property. Use it where appropriate. This allows to simplify TPOFile constructors and makes code more clear.
git-svn-id: trunk@61299 -
2019-05-28 23:34:39 +00:00
dmitry
e80efec72a cocoa: invalidating tableview data after changing sort column info. #35642
git-svn-id: trunk@61298 -
2019-05-28 12:29:46 +00:00
dmitry
80def7d927 cocoa: fix typo 1028 to 128 for display bpp
git-svn-id: trunk@61297 -
2019-05-27 19:00:53 +00:00
dmitry
06e3b096ec cocoa: removing the use of the deprecated CGDisplayBitsPerPixel
git-svn-id: trunk@61296 -
2019-05-27 16:39:07 +00:00
juha
51dc36a761 LCL-Win32: Fix variable type in GetControlText. Issue #35637, patch from Pascal Riekenberg.
git-svn-id: trunk@61295 -
2019-05-27 09:40:00 +00:00
juha
383cc68489 LCL: Implement TreeView DisabledFontColor. Issue #35628, patch from Alexey Tor.
git-svn-id: trunk@61294 -
2019-05-27 09:39:54 +00:00
maxim
c38c503588 LazUtils, Translations unit: Removed TPOFile.CleanUp method. Unneeded PreviousID parts of items are now cleaned up when updating items both in .pot templates and .po translations.
git-svn-id: trunk@61293 -
2019-05-26 23:55:57 +00:00
juha
e7b3988409 LCL: Use a constant for Label width. Issue #35629.
git-svn-id: trunk@61292 -
2019-05-25 10:01:49 +00:00
juha
5b5ad75799 LazUtils: Add OnCompare func for TFreeTypeFont's AVLTree. Prevents adding glyphs many times. Issue #35627.
git-svn-id: trunk@61291 -
2019-05-25 09:36:51 +00:00
maxim
837b7ebe9c LazUtils, Translations unit: always remove Translation and PreviousID parts of items in .pot templates
git-svn-id: trunk@61290 -
2019-05-24 23:39:24 +00:00
juha
43b19b2c60 LCL: Do not raise a "division by zero" when accessing non-existing notebook tabs. TList already checks range. Issue #35588.
git-svn-id: trunk@61289 -
2019-05-24 21:12:34 +00:00
dmitry
95b9f913d4 treeview: calling UpdateScrollbars on resizing, expand, collapse or selection move. Removed UpdateScrollbars from the darwing. Prevents Cocoa drawing (upside down) glitch. #34334
git-svn-id: trunk@61288 -
2019-05-24 15:26:49 +00:00
dmitry
d4240fda12 cocoa: updating windowState. Patch by Zoë Peterson. #35622
git-svn-id: trunk@61287 -
2019-05-24 12:59:09 +00:00
dmitry
544969faaf cocoa: revert changes done with r61262 #006c5d25d5 (menuDidClose handling). #35625
git-svn-id: trunk@61286 -
2019-05-24 12:52:49 +00:00
jesus
8493dec6aa LCL, grids: fix default value for DisabledFontColor property.
git-svn-id: trunk@61285 -
2019-05-24 05:40:10 +00:00
maxim
f7571f5012 LazUtils, Translations unit: When copying found translation value to newly added item, do not copy flags from found item.
This can be confusing for translator (in case if e.g. no-object-pascal-format flag is copied) and desyncs flags in translation from flags in base file (this will cause all flags missing in base file to be removed from translation on next regeneration). Moreover, set of these flags can differ depending on translation in case they are copied from different items which have different flags (e.g. in partially translated files).

git-svn-id: trunk@61284 -
2019-05-23 23:30:27 +00:00
maxim
cc4f34a35e LazUtils, Translations unit: Simplified ModifyFlag method. Now we treat space character as a flag delimiter in all cases, thus improving parsing of flags in case of missing comma characters.
git-svn-id: trunk@61283 -
2019-05-23 22:52:31 +00:00
wp
a772554251 TAChart: Fix drawing issues in TBarSeries for extremely narrow bars. Issue #35623.
git-svn-id: trunk@61282 -
2019-05-23 20:56:48 +00:00
maxim
a620891184 LazUtils, Translations unit: added comment
git-svn-id: trunk@61281 -
2019-05-22 23:13:33 +00:00
maxim
ff409fc05d Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #35619
git-svn-id: trunk@61280 -
2019-05-22 22:56:02 +00:00
maxim
8078feaa66 LazUtils, Translations unit: When setting flags for an item in .po file, omit double quote (") characters in order to avoid regeneration instability. These characters are not meant to be present in flags anyway according to examples in gettext documentation.
git-svn-id: trunk@61279 -
2019-05-22 22:43:57 +00:00
jesus
4f7d5ba062 LCL, grids: DisabledFontColor for grids, from Alexey Tor. with changes, issue #35621
git-svn-id: trunk@61278 -
2019-05-22 22:40:30 +00:00
dmitry
f83dd217ca cocoa: update mouse handling for disabed views and controls. Traversing the hierarchy to make sure there's no disabled parent. #34326
git-svn-id: trunk@61277 -
2019-05-22 21:16:28 +00:00
dmitry
76d0eb7757 cocoa: update combobox to prevent double mouseup events. Preventing mouseMove events when poup is down for combobox
git-svn-id: trunk@61276 -
2019-05-22 18:39:44 +00:00
dmitry
0bc3bc49ef cocoa: update selected not focused color selection
git-svn-id: trunk@61275 -
2019-05-22 15:38:13 +00:00
juha
79b8e496b5 IDE: Use proper case for Target OS names. Issue #35589, patch from Alexey Tor.
git-svn-id: trunk@61274 -
2019-05-22 14:41:36 +00:00
juha
0ba03cbbc3 LCL: Refactor for Grids a little more. Issue #35561, patch from Alexey Tor.
git-svn-id: trunk@61273 -
2019-05-22 14:41:34 +00:00
juha
9528c8e182 LCL: Support high-dpi for InputBox. Issue #35601, patch from Alexey Tor.
git-svn-id: trunk@61272 -
2019-05-22 14:41:23 +00:00
dmitry
47e78c92f8 cocoa: adding the system timer to the most common loop modes (thus it would fire if menu is openned or a modal dialog is up)
git-svn-id: trunk@61271 -
2019-05-22 14:13:37 +00:00
wp
01762d1065 TAChart: Change TAnimatedChartSource Extent properties to be like those of TSortedChartSource. Issue #35612, patch by Marcin Wiazowski.
git-svn-id: trunk@61270 -
2019-05-22 10:47:26 +00:00
wp
b9b93e077d TAChart: Revert r61263 #aa69a266b0 for TADiagramDrawing.pas.
git-svn-id: trunk@61269 -
2019-05-22 09:57:30 +00:00
wp
95ca9460ab TAChart: Exit public series methods when series is empty. Issue #35618, patch by Marcin Wiazowski.
git-svn-id: trunk@61268 -
2019-05-22 09:32:35 +00:00
maxim
592a9daf42 LazUtils, Translations unit: ensure uniqueness of flags in .po file items, ignore empty flags
git-svn-id: trunk@61267 -
2019-05-21 23:50:58 +00:00
wp
e3851a436a TAChart: Add method AddXListY to TListChartSource. Issue #35613, patch by Marcin Wiazowski.
git-svn-id: trunk@61266 -
2019-05-21 22:55:32 +00:00
wp
465e3213cc TAChart: Make incidentally published methods of TSortedChartSource public. Issue #35611, patch by Marcin Wiazowski.
git-svn-id: trunk@61265 -
2019-05-21 22:47:16 +00:00
wp
b232cf46c0 TAChart: Publish "forgotten" properties (Visible, BorderSpacing) for TChartNavPanel and TChartLegendPanel (Issue #35615).
git-svn-id: trunk@61264 -
2019-05-21 22:39:44 +00:00
wp
aa69a266b0 TAChart: Don't check class types twice (issue #35614).
git-svn-id: trunk@61263 -
2019-05-21 22:26:14 +00:00
dmitry
006c5d25d5 cocoa: adding submenu invalidation, so the menuNeedsUpdate is called
git-svn-id: trunk@61262 -
2019-05-21 17:53:06 +00:00
dmitry
473ea12b96 cocoa: restore LM_ACTIVE sending for menus, when menuNeedsUpdate is called. #30808
git-svn-id: trunk@61261 -
2019-05-21 17:40:09 +00:00
dmitry
79e367e184 cocoa: send activate message (Onclick event) whenever a submenu opens up. #30808
git-svn-id: trunk@61260 -
2019-05-21 17:27:58 +00:00
dmitry
d3116a25f7 cocoa: additional support for processing PostMessage during TrackingEvent loop
git-svn-id: trunk@61259 -
2019-05-21 17:15:40 +00:00
dmitry
66422a9b19 cocoa: always expect an application defined event
git-svn-id: trunk@61258 -
2019-05-21 17:08:27 +00:00
dmitry
c33f7b3553 cocoa: splitting up comboboxlist box for ROCMB and CMB (oop approach). Implementing text change for RO item. #35607
git-svn-id: trunk@61257 -
2019-05-21 13:10:48 +00:00
wp
0df144030a TAChart: Avoid exception of savedemo by svg drawer in IDE when a font file cannot be loaded by EasyLazFreeType (https://forum.lazarus.freepascal.org/index.php/topic,45461.0.html)
git-svn-id: trunk@61256 -
2019-05-20 23:18:19 +00:00
wp
52f5821504 TAChart: Add palette icon for TSortedChartSource.
git-svn-id: trunk@61255 -
2019-05-20 23:14:43 +00:00
wp
a0499530b5 TAChart: Publish properties XCount and YCount for TUserDefinedChartSource.
git-svn-id: trunk@61254 -
2019-05-20 23:13:29 +00:00
wp
bab9f23e1d TAChart: Add demo for SortedChartSource. Based on code by Marcin Wiazowski (issue #35356). Some cosmetic changes in the chartsourcedemo.
git-svn-id: trunk@61253 -
2019-05-20 21:56:17 +00:00