Commit Graph

57178 Commits

Author SHA1 Message Date
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
dmitry
f256ae1065 cocoa: sanity check before calling ProcessAsyncCallQueue
git-svn-id: trunk@61209 -
2019-05-12 01:27:48 +00:00
dmitry
daa05e2732 cocoa: getting rid of code duplication in event processing
git-svn-id: trunk@61208 -
2019-05-12 01:20:44 +00:00
dmitry
e1fb95fb10 cocoa: update event loops handling. Suppressing the explicit LCL sync message. Internal handling of PostAsyncCallQueue. Patch by David Jenkins. #35547
git-svn-id: trunk@61207 -
2019-05-12 01:16:12 +00:00
michael
96567e8916 * Refresh list of recent files when MRUManager is restored.
git-svn-id: trunk@61206 -
2019-05-11 20:06:25 +00:00
martin
0f27442368 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@61205 -
2019-05-11 20:03:28 +00:00
michael
91d5a3d033 * Lazwebextra no longer needed (since a long time)
git-svn-id: trunk@61204 -
2019-05-11 17:06:52 +00:00
michael
47e62d674c * Move SQLDB REST bridge functionality to separate directory, as per Mattias' request
git-svn-id: trunk@61203 -
2019-05-11 16:03:10 +00:00
martin
76b9420caf LCL: fix mem-leak in TRasterImage.LoadFromRawImage Issue #0035372 / Behaviour change: if source and dest are equal, then data is kept as it is.
Previously new mem of the same size was allocated, but no data written to it. Previous behaviour appears to be buggy since it did NOT load anything, so new behaviour is fine.
(Only affects ADataOwner=False.)

git-svn-id: trunk@61202 -
2019-05-11 11:26:34 +00:00
martin
057100e30e LCL: optimize fix for mem-leak in TCustomIcon.AssignImage / Temporary mask is not freed. Issue #0035562
git-svn-id: trunk@61201 -
2019-05-11 11:26:33 +00:00
martin
5f6aa28d51 LCL: fix mem-leak in TCustomIcon.AssignImage / Temporary mask is not freed. Issue #0035562
git-svn-id: trunk@61200 -
2019-05-11 11:26:31 +00:00
balazs
3fbcfaafe5 Opkman: Hide Options->OpenSSL on non windows systems.
git-svn-id: trunk@61199 -
2019-05-11 06:41:54 +00:00
mattias
7906467427 codetools: sourcecloser: keep implementation keyword
git-svn-id: trunk@61197 -
2019-05-10 13:18:14 +00:00
mattias
e408bd979a IDE: fixed adding event, when property unit has no implementation section
git-svn-id: trunk@61195 -
2019-05-10 13:11:43 +00:00
mattias
2248ddea17 codetools: added option -M syntaxmode
git-svn-id: trunk@61193 -
2019-05-10 08:23:03 +00:00
dmitry
416f2defec cocoa: datepicker code cleanup. Added mouse handling events, aspect ratio maintenance - keeping ratio at all times, even if too small
git-svn-id: trunk@61192 -
2019-05-10 03:55:40 +00:00
dmitry
48ed31da02 cocoa: update TCocoaDatePicker to work on macOS 10.6
git-svn-id: trunk@61191 -
2019-05-10 03:20:04 +00:00
wp
868bbcd076 TAChart: Micro-optimization by declaring (some) parameters as "const". Issue #35356, modified patch by Marcin Wiazowski.
git-svn-id: trunk@61190 -
2019-05-09 12:42:23 +00:00
wp
68f8ce110e TAChart: Move TCustomSortedChartSource to TACustomSource units. Issue #35356, modified patch by Marcin Wiazowski.
git-svn-id: trunk@61189 -
2019-05-09 12:22:17 +00:00
wp
cf39c4e02a TAChart: Improved implementation of IsEquivalent. Issue #35537, patch by Marcin Wiazowski.
git-svn-id: trunk@61188 -
2019-05-09 10:32:43 +00:00
balazs
be344c2282 Opkman: OptionsFrm more meaningful description.
git-svn-id: trunk@61187 -
2019-05-09 09:56:45 +00:00
balazs
b8b713f458 Opkman: Ask to download openssl, if it is missing (Win), issue #35545
git-svn-id: trunk@61186 -
2019-05-09 09:42:31 +00:00
jesus
123a22f231 LazReport: removed old, inactive code.
git-svn-id: trunk@61185 -
2019-05-09 04:56:13 +00:00