Commit Graph

55426 Commits

Author SHA1 Message Date
mattias
04ac9df67c LCL-GTK3: Fix Splitter and its related code. Issue #34106
git-svn-id: branches/fixes_2_0@59366 -
2018-10-27 09:44:01 +00:00
mattias
4ae5a2c2ad debian: renamed debian package name from fpc to fpc-laz to avoid nameclash with ubuntu repos
git-svn-id: branches/fixes_2_0@59365 -
2018-10-27 09:43:02 +00:00
mattias
46a767dfc3 lazutils: fixed ExpandFileNameUTF8 for \\?\
git-svn-id: branches/fixes_2_0@59364 -
2018-10-27 09:41:50 +00:00
maxim
8ef8549968 Merged revision(s) 59334-59337 #56476fb45a-#56476fb45a from trunk:
LCL: wince: Minimize and Maximize buttons are not shown in window titlebar. Bug #34093
........
LCL: wince: add support for biHelp (CONTEXTHELP) border style (aligned with Win32 interface)
........
LCL: wince: use Windows unit instead of LCLTypes unit, because WS_MINIMIZEBOX and WS_MAXIMIZEBOX are defined differently for WinCE, LCLTypes and Win32
........
LCL: wince: Forms are not correctly centered, when used Position=poScreenCenter or poDesktopCenter (patch aligns WinCE implementation to Win32 implementation). Bug #33957
........

git-svn-id: branches/fixes_2_0@59348 -
2018-10-22 23:08:18 +00:00
maxim
8e4303862a Merged revision(s) 59327 #8efc263ae4, 59332 #5a23656f23 from trunk:
LCL: Do not store anchoring properties of TLabeledEdit.editLabel. It is controlled by property LabelPosition. Issue #34431.
........
TFloatSpinEditEx:
- When incrementing DecimalPlaces first truncate FValue to the correct current DecimalPlaces. Issue #0034370.
- DecimalPlaces cannot be < 0
........

git-svn-id: branches/fixes_2_0@59347 -
2018-10-22 23:05:42 +00:00
maxim
f7085ad022 Merged revision(s) 59325 #c8beaba5c1 from trunk:
LCL-GTK2: Fix icon scaling in menuitems. Patch from Ondrej.
........

git-svn-id: branches/fixes_2_0@59346 -
2018-10-22 23:04:21 +00:00
maxim
3055557bea Merged revision(s) 59324 #71dbce1d30, 59342 #63be8700c9 from trunk:
Finnish translation.
........
IDE: regenerated/fixed Finnish translation
........

git-svn-id: branches/fixes_2_0@59345 -
2018-10-22 23:01:10 +00:00
maxim
5e27136d28 Merged revision(s) 59318 #858369838e, 59320 #1af1c96e32 from trunk:
lhelp: some formatting changes
........
TAChart: Fix numlib issue of returning 0 for exp() function (https://forum.lazarus.freepascal.org/index.php/topic,42913.msg299793)
........

git-svn-id: branches/fixes_2_0@59344 -
2018-10-22 22:56:12 +00:00
maxim
066d0f5953 Merged revision(s) 59314 #27b8c9d719, 59319 #179cc59ee6, 59321-59323 #436c27ee90-#436c27ee90, 59328 #a313fc1796 from trunk:
IDE/LCL: Modify some high-DPI icons for more consistent style (Roland Hahn)
........
IDE: Add high-DPI images for propertygrid and widgetset issues (by Roland Hahn).
........
IDE: Improve visibility of high-dpi issue_carbon icons on dark background (by Roland Hahn).
........
IDE/Restriction Browser: Fix visibility of icon on customdrawn button.
........
IDE/ObjectInspector: Fix size of widgetset icons on high-dpi screens.
........
IDE: Add high-dpi icons to images/lazdoc (by Roland Hahn)
........

git-svn-id: branches/fixes_2_0@59343 -
2018-10-22 22:54:41 +00:00
maxim
b96819b0f3 Merged revision(s) 59309-59310 #c2985cfefc-#c2985cfefc from trunk:
Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #34426
........
Translations: French translation update by Gilles Vasseur, bug #34428
........

git-svn-id: branches/fixes_2_0@59313 -
2018-10-16 22:55:16 +00:00
maxim
60370b2cca Merged revision(s) 59307-59308 #6f6877ac67-#6f6877ac67 from trunk:
IDE: Add mssing High-DPI icons to images/actions (by Roland Hahn)
........
IDE: Replace icon "actions/preferences" (by Roland Hahn)
........

git-svn-id: branches/fixes_2_0@59312 -
2018-10-16 22:53:23 +00:00
maxim
fc5edd8410 Merged revision(s) 59253 #fdf9177fb1, 59285-59286 #8e4a89db86-#8e4a89db86, 59288 #8a6bcba75f, 59293 #83a10f8e11 from trunk:
Qt5: make opengl compileable under qt5 widgetset
........
Qt,Qt5: make opengl useable on modern OpenGL implementations.Patch by Chris Rorden, modified by me. issue #34401
........
Qt5: glqtcontext - make opengl useable under Qt5. issue #32498
........
Qt5: must return to lcl event loop for X11 targets.issue #34369
........
Qt,Qt5: added GLX_SAMPLE_BUFFERS and GLX_SAMPLES to glxContext attributes if multisampling > 0. issue  #34401
........

git-svn-id: branches/fixes_2_0@59311 -
2018-10-16 22:52:03 +00:00
maxim
4023d94066 Merged revision(s) 59297-59300 #6769e903a6-#6769e903a6 from trunk:
SynEdit: Pas HL, fix folding/markup for code containing "case", if "case" is not enabled for fold/markup. Part 1 of Issue #0034410
........
SynEdit: Pas HL, fix markup if "procedure" is outlined, but top level "begin" is not. Part 2 of Issue #0034410
........
SynEdit: Pas HL, fixes for outline, if only some elements are outlined
........
SynEdit: Pas HL, fixes for fold, detecting "else" in "case", when previous if is nested in other commands
........

git-svn-id: branches/fixes_2_0@59306 -
2018-10-15 22:04:39 +00:00
maxim
8c9fb38e30 Merged revision(s) 59290-59292 #34a979b362-#34a979b362, 59295-59296 #90325d8064-#90325d8064, 59301-59302 #cc70ccdd3e-#cc70ccdd3e from trunk:
ideintf: Add high-DPI icons (provided by Roland Hahn)
........
IDE: Add missing high-dpi icons to folder images/menu (kindly provided by Roland Hahn)
........
IDE: Minor revisions of existing high-DPI icons (by Roland Hahn)
........
IDE: Add new (debugger) and revised High-DPI icons by Roland Hahn
........
IDE: Add forgotten icons from previous commits
........
IDE: Better alignment of Run icon on toolbar (Roland Hahn)
........
IDE: New High-DPI icons for Delphi-to-Lazarus conversion (by Roland Hahn).
........

git-svn-id: branches/fixes_2_0@59305 -
2018-10-15 22:02:32 +00:00
maxim
90240b1f40 Merged revision(s) 59289 #f3da779450 from trunk:
chmhelp: Fix memory leak in TLHelpConnector (see forum https://forum.lazarus.freepascal.org/index.php/topic,42832.msg299208.html).
........

git-svn-id: branches/fixes_2_0@59304 -
2018-10-15 21:58:19 +00:00
maxim
927cae76d1 Merged revision(s) 59287 #1fa1c72584 from trunk:
LCL: Avoid SegFault of freshly created TCustomListview with owner-data (issue #34407, patch by Charles Grunwald).
........

git-svn-id: branches/fixes_2_0@59303 -
2018-10-15 21:57:05 +00:00
maxim
a64bd10183 Merged revision(s) 59275-59276 #e26f6ff3ca-#e26f6ff3ca from trunk:
Translations: Hungarian translation update by Péter Gábor, bug #34397
........
Translations: French translation update by Gilles Vasseur, bug #34403
........

git-svn-id: branches/fixes_2_0@59284 -
2018-10-09 23:19:49 +00:00
maxim
5c19fb1a39 Merged revision(s) 59259 #10690a117f, 59271 #9fd194d243 from trunk:
TurboPower_iPro: Implement css function rgb().
........
TurboPower_iPro: Implement css function hsl().
........

git-svn-id: branches/fixes_2_0@59283 -
2018-10-09 23:09:02 +00:00
maxim
1febde22cd Merged revision(s) 59254 #f52f6cc5ec, 59262 #82083bfa92, 59270 #37f0823e7f from trunk:
LCL-Gtk2: Don't mix resizing a column with drag-and-drop. Issue #34393, patch from accorp.
........
LCL-GTK3: Fix TRadioGroup. It did not work at all. Issue #34396, patch from Anton Kavalenka.
........
LCL: Fix TBitBtn ignoring the Margin property on Windows (issue #34379)
........

git-svn-id: branches/fixes_2_0@59282 -
2018-10-09 23:07:37 +00:00
maxim
d21641edc4 Merged revision(s) 59244-59246 #e0503fa7ed-#e0503fa7ed, 59248 #7c1bbdaa10, 59263 #e720b191ee, 59266-59267 #cf7cf15624-#cf7cf15624, 59272 #e1b2a50f19 from trunk:
IDE: Always create project's main icon file when saving it. Keeps its size down. Issue #27287.
........
IDE: Add initial directory for loading project icon in App options. Use IconImage.Picture.Icon everywhere.
........
IDE: Remove resource generation from DoBuildProject. They have been generated earlier. Issue #15915.
........
IDE: Support running external tool with parsers, needed when used through IDE interface. Reported by Anton.
........
IDE: Reduce DebugLn() calls in Publish Module code. It seems to work.
........
IDE: New High-DPI images in folders images/items and images/packages. Kindly provided by Roland Hahn.
........
IDE: Use scaled images in trees of Install/Uninstall package form.
........
IDE: Center icon and text vertically for each item in ViewUnit dialog. Issue #34402, patch from Vojtech Cihak.
........

git-svn-id: branches/fixes_2_0@59281 -
2018-10-09 23:04:04 +00:00
maxim
849d9c6d70 Merged revision(s) 59240 #8026ce28ae from trunk:
Packager: Allow overwriting existing unit files in New Component dialog. Error was shown AFTER a file was overwritten. Issue #26928.
........

git-svn-id: branches/fixes_2_0@59280 -
2018-10-09 23:00:53 +00:00
maxim
6834296d12 Merged revision(s) 59228-59230 #53541c694b-#53541c694b, 59239 #baeca2e0d7, 59241 #b94a7193a0, 59243 #a0a5e9d8cd from trunk:
AnchorDocking: Prevent crash on drag-and-dock tab page. Issue #34371, patch from accorp.
........
LazReport: Delete old deprecated UTF8 functions.
........
TAChart: Remove old deprecated code.
........
TAChart: Check and fix all demos (mostly layout issues)
........
TAChart: Fix TChartImageList demo.
........
TAChart: Extend dragdrop demo to show horizontal dragging of bars.
........

git-svn-id: branches/fixes_2_0@59279 -
2018-10-09 22:59:00 +00:00
maxim
1e121f8765 Merged revision(s) 59227 #baad25dec4, 59268 #6ab3884744 from trunk:
IdeIntf: Delete old deprecated methods and properties.
........
IdeIntf: Improve timestamp updates of TLazCompilationToolOptions + inherited classes. Issue #34283.
........

git-svn-id: branches/fixes_2_0@59278 -
2018-10-09 22:55:25 +00:00
maxim
ad20e93541 Merged revision(s) 59225-59226 #d6624128a1-#d6624128a1 from trunk:
LazControls: Improve and optimize the filter controls. Issue #34057, patch from AlexeyT.
........
LazControls: Call DoFilterItem instead of DoDefaultFilterItem in TTreeFilterBranch.SortAndFilter.
........

git-svn-id: branches/fixes_2_0@59277 -
2018-10-09 22:52:47 +00:00
maxim
135c04027b Merged revision(s) 59222-59223 #a02df1166a-#a02df1166a from trunk:
Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #34367
........
Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #34368
........

git-svn-id: branches/fixes_2_0@59224 -
2018-10-01 23:12:12 +00:00
mattias
7906160bf3 lcl: gtk2: less hints
git-svn-id: branches/fixes_2_0@59221 -
2018-10-01 15:16:18 +00:00
mattias
d55942443c turbopower_ipro: less hints
git-svn-id: branches/fixes_2_0@59219 -
2018-10-01 15:14:54 +00:00
mattias
810cf7be40 lazutils: less hints
git-svn-id: branches/fixes_2_0@59217 -
2018-10-01 15:14:11 +00:00
mattias
15eb97402b lazdebuggers: less hints
git-svn-id: branches/fixes_2_0@59215 -
2018-10-01 15:13:23 +00:00
mattias
7e03c50e07 ideintf: less hints
git-svn-id: branches/fixes_2_0@59213 -
2018-10-01 15:12:08 +00:00
mattias
8d07f3907c fpdebug: less hints
git-svn-id: branches/fixes_2_0@59211 -
2018-10-01 15:11:14 +00:00
mattias
c154a7a6f7 debuggerintf: less hints
git-svn-id: branches/fixes_2_0@59209 -
2018-10-01 15:09:36 +00:00
maxim
2f7d13cd91 Merged revision(s) 59197 #a88125b782 from trunk:
TAChart: deprecate all reticule-related methods and properties (was incomplete). Less hints and warnings.
........

git-svn-id: branches/fixes_2_0@59204 -
2018-09-30 22:49:09 +00:00
maxim
c24c009636 Merged revision(s) 59168 #03042bfb7d from trunk:
Split command line parameters also when "Run without Debugging". Patch by Ondrej.
........

git-svn-id: branches/fixes_2_0@59203 -
2018-09-30 22:48:17 +00:00
maxim
31dc6d2f42 Merged revision(s) 59149 #a7ce6e3055, 59167 #20eaebb8b3 from trunk:
LCL: Add support for custom font of TSpeedButton (see https://forum.lazarus.freepascal.org/index.php/topic,42635.msg297800.html#msg297800, patch by Ondrej)
........
LCL: Fix incorrect checked state after deleting an item of a TCheckGroup (issue #34327).
........

git-svn-id: branches/fixes_2_0@59202 -
2018-09-30 22:47:26 +00:00
maxim
e796cd5ba9 Merged revision(s) 59118 #2b512b893e, 59125 #70f0e3209a, 59169 #571647e302, 59175 #c9e4614e17, 59177 #75d1f28106 from trunk:
Docs: Fix short description for function StringToColor.
........
LazUtf8: leftpad escaped characters in Utf8EscapeControlChars if EscapeMode = emPascal. Prevents ambiguity when reading the result.
........
LazUtils: Move ExtractFileNameWithoutExt to LazFileUtils. Rhymes with ExtractFileNameOnly.
........
Delete old deprecated methods.
........
LazUtils: Move more functions from FileUtils to LazFileUtilities, deprecate the old ones.
........

git-svn-id: branches/fixes_2_0@59201 -
2018-09-30 22:45:40 +00:00
maxim
30c3eb15e6 Merged revision(s) 59111 #2ee72166e4, 59190-59191 #6febd8c78e-#6febd8c78e from trunk:
LCL-GTK2: Prevent flickering in TOpenGLControl. Turn DoubleBuffered off. Issue #33864, patch from accorp.
........
LCL-GTK3: Add typecasts for Color types. The code may still be wrong but can be tested with Range checks on.
........
LCL-GTK3: Fix menu radio group. Issue #34350, patch from Anton Kavalenka.
........

git-svn-id: branches/fixes_2_0@59200 -
2018-09-30 22:41:14 +00:00
maxim
4f6f135dbb Merged revision(s) 59092 #6cc32369e2 from trunk:
MainInspector: Fix a typo.
........

git-svn-id: branches/fixes_2_0@59199 -
2018-09-30 22:38:54 +00:00
maxim
d100a1daee Merged revision(s) 59089 #71029bd79e, 59091 #32ab98357d, 59147 #04c36eeea0, 59156 #57d56b4303, 59170 #24f8569925, 59172-59173 #0af5bf1620-#0af5bf1620, 59176 #33374c2b95 from trunk:
IDE: Bug fix: Deleting newly added CoolBar leads to error, issue #34302
........
IDE: Check package name validity correctly.
........
IDE: Improve logic for updating Application.Title statement. Now it gets removed, too. Issue #34318.
........
IDE: Add new Application.Title and .Scale statements after Application.Create line. Issue #34318.
........
IDE: Support 3 icons with different resolutions in "New Component" dialog. Improve the GUI.
........
IDE: cleaned up unused resource string
........
IDE: regenerated translations and updated Russian translation
........
IDE: In "New Component" dialog resize the buttons based on icon image size. Improve initial dir for selecting icon.
........

git-svn-id: branches/fixes_2_0@59198 -
2018-09-30 22:37:23 +00:00
mattias
118e182b08 lazutils: removed duplicate code, issue #34320
git-svn-id: branches/fixes_2_0@59143 -
2018-09-23 06:43:40 +00:00
maxim
b2067ac916 Merged revision(s) 59110 #fd64c39c73 from trunk:
Opkman: Fix memory leak.
........

git-svn-id: branches/fixes_2_0@59120 -
2018-09-21 22:25:04 +00:00
maxim
14c57a58c6 Merged revision(s) 59095-59096 #0e98465e3a-#0e98465e3a from trunk:
Translations: Turkish translation update by Hakan KIZILHAN, bug #34296
........
Translations: Spanish translation update by Alonso Cárdenas Márquez, bug #34304
........

git-svn-id: branches/fixes_2_0@59101 -
2018-09-20 22:47:10 +00:00
maxim
38363b434c Merged revision(s) 59083 #406ae30f3b, 59085 #463c8bb943, 59094 #7bcf1cc533 from trunk:
TFindDialog/TReplaceDialog: show dialog poScreenCenter in IDE; fix erratic behaviour of TReplaceDialog in IDE (wrong parent). Issue #0034297.
........
LCL: Improved layout of TFindDialog and TReplaceDialog, fix TabOrder.
........
LCL: Fix TCustomListbox not releasing Canvas handle in DestroyWnd (issue #34249).
........

git-svn-id: branches/fixes_2_0@59100 -
2018-09-20 22:45:56 +00:00
maxim
4d2a63f942 Merged revision(s) 59081 #0d01822dfb from trunk:
IDE: Add package name to hints for component palette icons.
........

git-svn-id: branches/fixes_2_0@59099 -
2018-09-20 22:39:08 +00:00
maxim
51abe9c120 Merged revision(s) 59046-59047 #62c05b07e0-#62c05b07e0 from trunk:
LCL-GTK2: Do not truncate Groupbox caption (fix for previous). Issue #32621, patch from accorp.
........
LCL-GTK2: Fix TListView column widths. Issue #34044, patch from accorp.
........

git-svn-id: branches/fixes_2_0@59098 -
2018-09-20 22:37:21 +00:00
maxim
a0b6a9e8c9 Merged revision(s) 59041-59044 #aaef9c6884-#aaef9c6884 from trunk:
IDE: Use safe typecast for TProjectCompilationToolOptions when building project.
........
Revert r59006 #b06f6da4af "IdeIntf: Add API for ExecuteCommand in CompOptsIntf." Must be done better.
........
IdeIntf: A new interface class TLazCompilationToolOptions with a Command and CompileReasons. Issue #34283.
........
IdeIntf: Improve the CompilationTool stuff. Remove and clean code. Issue #34283.
........

git-svn-id: branches/fixes_2_0@59097 -
2018-09-20 22:35:47 +00:00
mattias
9849f88090 IDE: less hints
git-svn-id: branches/fixes_2_0@59080 -
2018-09-19 09:24:40 +00:00
mattias
5fe27864e1 IDE: fixed abstract method
git-svn-id: branches/fixes_2_0@59078 -
2018-09-19 09:23:06 +00:00
mattias
bbe6d6932e Opkman: Bug fix: remove package compiling restriction
git-svn-id: branches/fixes_2_0@59076 -
2018-09-19 09:11:17 +00:00
mattias
73e27bc41f TFindDialog: save FFindForm position upon close
git-svn-id: branches/fixes_2_0@59075 -
2018-09-19 09:10:50 +00:00