Commit Graph

57200 Commits

Author SHA1 Message Date
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
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
dmitry
475be67649 cocoa: automatic embedded form resizing. #35599
git-svn-id: trunk@61250 -
2019-05-20 19:38:54 +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
jesus
8e7198de43 LCL, DbControls: fix OnChange event not triggered in unbound dblookupcombobox reverting r61129 #97941ab395, issue #35419
git-svn-id: trunk@61245 -
2019-05-19 06:36:38 +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
jesus
482649c453 LCL, Grids: fix customgrid autoadjustcolumns, from AlexeyT
git-svn-id: trunk@61242 -
2019-05-18 22:35:20 +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
martin
09eb2b9368 Installer, Win: Include all ppu
git-svn-id: trunk@61237 -
2019-05-18 12:29:11 +00:00
dmitry
8ebc6ca82a cocoa: update placement of a window. Determining the screen based on the specified bounds rect, rather than current screen of the window (caused issues if height of monitors is different)
git-svn-id: trunk@61236 -
2019-05-17 04:50:27 +00:00
dmitry
6dfa26faa8 cocoa: adding theme update notification
git-svn-id: trunk@61235 -
2019-05-17 00:29:46 +00:00
dmitry
ab3b8df7cc cocoa: adding event expiration date into RunMessages method. To let a message wait as long as it needs to. #35593
git-svn-id: trunk@61234 -
2019-05-16 23:49:33 +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
dmitry
09ee334589 cocoa: update QuitApp processing. Patch by Zoë Peterson. #34798
git-svn-id: trunk@61230 -
2019-05-16 18:29:15 +00:00
dmitry
63be412f63 cocoa: removing mackeycodes.inc file. #35587
git-svn-id: trunk@61229 -
2019-05-16 14:09:51 +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
jesus
0348f7bc9a LCL: fix grid's column autoadjust size in win10 @ 150%, issue #35563
git-svn-id: trunk@61227 -
2019-05-14 18:58:43 +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
zeljko
f929b625af Qt: revert r61220 #73d58ce791 since it's wrong. There should not be any offset. issue #35568
git-svn-id: trunk@61222 -
2019-05-13 15:26:30 +00:00
zeljko
fb94a220bd LCL: LCLTaskDialog - fix for radio buttons offset with non win32 widgetsets. issue #35579
git-svn-id: trunk@61221 -
2019-05-13 13:36:30 +00:00
zeljko
73d58ce791 Qt: TQtWidgetset.Ellipse() offset by -1. issue #35568
git-svn-id: trunk@61220 -
2019-05-13 13:03:24 +00:00
zeljko
5981e87a6b LCL: added new LCL capability - lcNativeTaskDialog, defaults to true, on mswindows is false for qt/qt5. issue #35577
git-svn-id: trunk@61219 -
2019-05-13 12:57:11 +00:00
juha
416786fef1 Grids: Refactoring, add methods IsColumnIndexValid, IsRowIndexValid. Issue #35561, patch from Alexey Tor.
git-svn-id: trunk@61218 -
2019-05-13 11:06:32 +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
zeljko
ab671436ed LCL: lcltaskdialog must use DrawText() from LCLIntf under windows, so other WS wont' crash under windows. issue #35575
git-svn-id: trunk@61216 -
2019-05-13 09:41:44 +00:00
michael
0edb6832bf * Improve compilation experience under 3.0.4
git-svn-id: trunk@61215 -
2019-05-13 06:59:46 +00:00
maxim
8f24e15b5a Opkman: regenerated translations and updated Russian translation
git-svn-id: trunk@61214 -
2019-05-12 23:17:35 +00:00
maxim
a1312cc978 Opkman: improved question
git-svn-id: trunk@61213 -
2019-05-12 23:13:08 +00:00
dmitry
e714d64672 cocoa: using a single method to get unmodified character in a key event. based on the patch by Zoë Peterson. #35538
git-svn-id: trunk@61212 -
2019-05-12 21:53:23 +00:00
wp
1740585023 TAChart: Make sure that TCustomChartSource.IsSorted is true only when the source really is sorted. Issue #35356, patch by Marcin Wiazowski.
git-svn-id: trunk@61211 -
2019-05-12 20:21:17 +00:00
martin
e721ee16cc LCL: TRasterImage.LoadFromRawImage / revision 61202 #76b9420caf (fixed memleak): Fix check for source = target // Also means the behaviour is/stays as before rev 61202 #76b9420caf
git-svn-id: trunk@61210 -
2019-05-12 14:19:09 +00:00