martin
93d8287c3e
SynEdit: Fixed crash in MarkTextAsSaved. Issue #0035635
...
git-svn-id: trunk@61309 -
2019-06-01 11:27:36 +00:00
wp
bd29c5ea1e
TAChart: Minor speed-up of source sorting. Issue #35630 , patch by Marcin Wiazowski
...
git-svn-id: trunk@61305 -
2019-05-31 11:34:43 +00:00
wp
c754e91aae
TAChart: Paint series shadow to have a constant pixel distance to original position. Issue #35640 , patch by Marcin Wiazowski.
...
git-svn-id: trunk@61304 -
2019-05-31 09:48:33 +00:00
maxim
81b06ad0e5
LazUtils, Translations unit: calculate translation statistics based on actual file contents, ignoring any corrections made when reading it
...
git-svn-id: trunk@61303 -
2019-05-30 23:45:14 +00:00
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
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
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
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
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
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
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
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
wp
3992921b51
TAChart: Optimized floating point compare routine for sorting. Issue #35356 , patch by Marcin Wiazowski
...
git-svn-id: trunk@61252 -
2019-05-20 21:03:24 +00:00
wp
adc9225cec
TAChart: New TSortedChartSource. Issue #35356 , patch by Marcin Wiazowski.
...
git-svn-id: trunk@61251 -
2019-05-20 20:54:41 +00:00
jesus
83f87d971d
CairoCanvas: implements SetPenMode, from Anton Kavalenka, issue #35425
...
git-svn-id: trunk@61249 -
2019-05-20 19:35:05 +00:00
wp
0fce68a18e
TAChart: Rework of sorting by TCustomChartSource and TListChartSource. Issue #35356 , patch by Marcin Wiazowski
...
git-svn-id: trunk@61248 -
2019-05-20 17:32:47 +00:00
martin
71fad749a4
GdbmiDebugger, test: Prevent error pop ups.
...
git-svn-id: trunk@61247 -
2019-05-19 21:23:37 +00:00
martin
a6a89eba31
GdbmiDebugger: Ignore warning by gdb 8.3
...
git-svn-id: trunk@61246 -
2019-05-19 21:23:35 +00:00
wp
31de6345cf
LazUtils: Use exception class EFreeType instead of general Exception in EasyLazFreeType.
...
git-svn-id: trunk@61244 -
2019-05-18 23:23:11 +00:00
wp
a0c1900d66
TAChart: Fix demo of svg drawer on non-Windows systems.
...
git-svn-id: trunk@61243 -
2019-05-18 23:08:18 +00:00
martin
6f4a672236
Revert "Revert "GdbmiDebugger, Windows: Improved speed."" / WaitForSingleObject did not wait.
...
git-svn-id: trunk@61241 -
2019-05-18 22:03:35 +00:00
wp
5014b158a4
TAChart: Fix svg drawer not finding fonts on Mac ( https://forum.lazarus.freepascal.org/index.php/topic,45461.msg321532.html ).
...
git-svn-id: trunk@61240 -
2019-05-18 21:53:16 +00:00
martin
636383149c
GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, using WaitForSingleObject
...
git-svn-id: trunk@61239 -
2019-05-18 14:26:24 +00:00
martin
6dc1e4fd75
Revert "GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, with less sleep calls (increase cpu usage) / Option to disable for laptops/etc."
...
This reverts commit 61132 #ef247de448, 61130 #d6a6435a9c, 61117 #a08b1f9560
git-svn-id: trunk@61238 -
2019-05-18 14:26:22 +00:00
maxim
dd661a10de
Translations: regenerated all relevant translation files after r61231 #5b72fe1d56
...
git-svn-id: trunk@61233 -
2019-05-16 23:10:15 +00:00
maxim
e27c505be2
LazUtils, Translations unit: treat items with no-object-pascal-format flag as having correct formatting (never mark them with fuzzy and badformat flags for the formatting reasons)
...
git-svn-id: trunk@61232 -
2019-05-16 23:05:04 +00:00
maxim
5b72fe1d56
LazUtils, Translations unit: fixed/improved propagation logic of translation items user flags:
...
In base .pot file (template):
- Newly created item has no user flags.
- Existing updated item has its user flags kept intact.
In translation .po file:
- Newly created item gets user flags copied from base file (all flags missing in base file are removed).
- Existing updated item gets user flags copied from base file (all flags missing in base file are removed except fuzzy flag, whose state is kept).
After copying user flags, object-pascal-format, badformat and fuzzy flags are set automatically for each item (if needed).
This makes flags in translations (.po files) follow the ones from base file (.pot file) when they are added or removed in all cases (even when an item in .pot file gets its last flag deleted).
git-svn-id: trunk@61231 -
2019-05-16 22:49:46 +00:00
jesus
c61b928517
CairoCanvas: Fix cairocanvas example and add note for windows
...
git-svn-id: trunk@61228 -
2019-05-15 01:55:16 +00:00
maxim
b68407fc52
Translations: regenerated all relevant translation files after r61225 #75a8b1b83c
...
git-svn-id: trunk@61226 -
2019-05-13 23:21:39 +00:00
maxim
75a8b1b83c
LazUtils: .pot/.po file generation and update improvements by Yuriy Sydorov, bug #35543 :
...
- Automatically set the "object-pascal-format" flag for strings containing format chars. It allows tracking of format errors by external tools such as Poedit.
- The "no-object-pascal-format" flag can be specified for a string in the main .pot file if needed.
- It is possible to specify flags in the main .pot file for particular strings and these flags will be preserved and propagated to language specific .po files during the update.
- Fixed delimiter for flags. At least Poedit expects that flags are separated by comma and space, not just comma.
- TPOFileItem.ModifyFlag() can accept the comma separated list of flags and returns true if the Flags property has been modified.
git-svn-id: trunk@61225 -
2019-05-13 23:19:17 +00:00
maxim
117265f357
LazUtils: removed unused stale translation files
...
git-svn-id: trunk@61224 -
2019-05-13 23:09:38 +00:00
hnb
298236df33
Patch from jmpessoa for IDE crash when closing some forms (highly visible for LAMW)
...
git-svn-id: trunk@61223 -
2019-05-13 23:03:33 +00:00
juha
eda8d749c2
Project Groups: Allow adding multiple projects to a group at one go. Issue #34989 .
...
git-svn-id: trunk@61217 -
2019-05-13 10:53:07 +00:00
michael
0edb6832bf
* Improve compilation experience under 3.0.4
...
git-svn-id: trunk@61215 -
2019-05-13 06:59:46 +00:00