Commit Graph

64739 Commits

Author SHA1 Message Date
Juha
fb1eca2a70 IDE: Optimize the Apply button logic in options dlg. Restore return value of TMainIDE.DoOpenIDEOptions. Issue #40234. 2023-05-04 11:27:25 +03:00
Željan Rikalo
488d6fae4c Qt5, Qt6: fixed compilation on macos. Patch by Giuliano Colla, issue #40244 2023-05-04 09:04:43 +02:00
Maxim Ganetsky
a85903e67d CI: explicitly clear Qt bindings caches in a separate jobs if any files in their directories are changed
Cache actually contains all files from bindings directory (both source
and object ones) and is extracted after checkout, so it overwrites
checked out sources, and thus prevents correct cache update.

Note that sources should be kept in cache, as removing them will cause
bindings to be always recomiled (both in bindings and IDE compile jobs).
It takes long time and thus undesirable.

So now a separate cache clearing job is automatically run if (and only
if) any file in bindings is changed.

Such two-job architecture allows to automatically update cache and at
the same time populate it in case of its absence (e. g. in new merge
requests).

Note that simply doing full cache rebuild if any file in bindings is
changed is not enough as this job will not be triggered e. g. for a new
merge request (if it does not modify bindings) and will cause IDE
compile jobs for it to fail. GitLab CI currently does not support
conditions for triggering a job if a cache is missing.
2023-05-03 19:26:51 +03:00
Maxim Ganetsky
c19c4b20b9 Merge branch 'cocoa/control/combobox' into 'main'
FIX #39965: COCOA: the issue of Items in ComboBox released too early, fixed to release in dealloc

See merge request freepascal.org/lazarus/lazarus!117
2023-05-03 14:04:03 +00:00
rich2014
f3b4d160b5 FIX: COCOA: the issue of Items in ComboBox released too early, fixed to release in dealloc 2023-05-03 13:54:46 +00:00
Maxim Ganetsky
a5d0de824e Merge branch 'cocoa/control/textfield' into 'main'
FIX #39959: COCOA: TEdit (TCocoaTextField): line-breaks are not removed when pasting multi-line text, and offset display error

See merge request freepascal.org/lazarus/lazarus!118
2023-05-03 13:53:23 +00:00
rich2014
829a697dc8 FIX: COCOA: NSTextField: text offset display error (based on previous commits with line-break removed) 2023-05-03 13:44:19 +00:00
rich2014
e31f4333cf FIX: COCOA: TCocoaWSCustomEdit.SetText: detect and remove line-break when text is changed programmatically 2023-05-03 13:44:19 +00:00
rich2014
64b389f43f FIX: COCOA: TCocoaTextField: detect and remove line-break when entering text 2023-05-03 13:44:19 +00:00
Maxim Ganetsky
a96c7af5e8 Merge branch 'cocoa/control/synedit' into 'main'
ADD  #40008: COCOA: MacOS IME fully supported

See merge request freepascal.org/lazarus/lazarus!121
2023-05-03 13:42:36 +00:00
rich2014
a2ec18bfe4 LCL/SynEdit: ADD: MacOS IME fully supported 2023-05-03 21:31:25 +08:00
rich2014
4def4177ba LCL: COCOA: ADD IME fully support (2/2): create TCocoaFullControlEdit in TCocoaWSCustomControl.CreateHandle() 2023-05-03 21:31:25 +08:00
rich2014
2089bc515d LCL: COCOA: ADD IME fully support (1/2): implements NSTextInputClient in TCocoaFullControlEdit 2023-05-03 21:31:25 +08:00
Maxim Ganetsky
0ce2f51ddf Merge branch 'cocoa/event' into 'main'
FIX #39978/#39981: COCOA: IME input state issue & FocusChange related events are not sent at the right time

See merge request freepascal.org/lazarus/lazarus!116
2023-05-03 13:20:15 +00:00
rich2014
f4acf204fb FIX: COCOA: send KillFocus/SetFocus messages to LCL at the right time, adapt to LCL, just like Win32 (by TCocoaWindow.makeFirstResponder() issues with infinite loops fixed) 2023-05-03 13:11:30 +00:00
rich2014
467026508f FIX: COCOA: improved key event handling mechanism by NSTextInputClientProtocol.hasMarkedText() in IME input state 2023-05-03 13:11:30 +00:00
Juha
f1c87cd5ae IDE: Add an "Apply" button in options dialog. Issue #40234, patch by n7800. 2023-05-03 09:45:25 +03:00
dsiders
b72c97a8f6 Docs: LCL/controls. Adds parameter descriptions, content for various topics. 2023-05-02 03:25:42 +01:00
Martin
06270bef5c IDE: Add keymap defaults for ecGoto/ToggleBookmark on Mac. Patch by Giuliano 2023-05-01 21:55:28 +02:00
Željan Rikalo
43db2a961a Qt5: added 2 static QTimer_singleShot() overloads. 2023-05-01 20:33:31 +02:00
Željan Rikalo
7125c37be8 Qt6: added 2 static QTimer_singleShot() overloads. 2023-05-01 20:33:06 +02:00
Martin
0b441dd73b FpDebug: disable peephole opt when using fpc 3.2.2 => otherwise fpc generates wrong code 2023-05-01 17:43:22 +02:00
wp_xyz
06d0731b07 IDE: New FPGUI, MUI, and NoGUI icons in RestrictionBrowser, improved for rendering in dark mode. By Roland Hahn. 2023-05-01 12:56:34 +02:00
Maxim Ganetsky
5f433647d6 ProjectGroups: add the ability to automatically create project groups from all project / package files found in a directory and its subdirectories.
Based on merge request !56.
2023-05-01 02:32:54 +03:00
Maxim Ganetsky
eda5c7d41c ProjectGroups: regenerated translations and updated Russian translation 2023-05-01 02:24:03 +03:00
Akira13641
3624425779 ProjectGroups: add the ability to automatically create project groups from all project / package files found in a directory and its subdirectories 2023-05-01 02:24:03 +03:00
Maxim Ganetsky
cf749db637 README.md: provided link to Lazarus Wiki for installation instructions 2023-04-30 19:01:32 +00:00
wp_xyz
6df4b8d6db Images: New modified motifs of general-purpose images by Roland Hahn (Print, Window). 2023-04-29 20:00:24 +02:00
wp_xyz
5f2a5145cb LCL/Restrictions: Remove "TColorDialog.Title" from the issues.xml for win32. Issue #40238. 2023-04-29 19:09:52 +02:00
Juha
f99bd70b72 Improve scaling of DateTimePicker. Leave GetDetailSize in places which are not fully tested yet. 2023-04-29 19:44:23 +03:00
Juha
bd40a6028e LCL: Remove a redundant test in TThemeServices.DrawElement. 2023-04-29 19:44:23 +03:00
wp_xyz
77ae9452b9 Misc: Switch x and y loops at several places. Issue #40231 2023-04-29 16:38:00 +02:00
wp_xyz
7c60b62155 IDE/RestrictionBrowser: Replace qt6 restriction icons by versions which are compatible with dark mode (provided by Roland Hahn). Related to issue #40236. 2023-04-29 14:07:55 +02:00
wp_xyz
0ce794be43 IDE/Restrictions: Add issues.xml to lcl.lpk for qt5, qt6, gtk3 and cocoa widgetsets. Issue #40236. 2023-04-29 14:04:24 +02:00
wp_xyz
c8d373b13e IDE/Restriction browser: Add missing qt6 icon. Issue #40236, patch by Don Siders. Restore missing laz_multipaste icons. 2023-04-29 11:08:45 +02:00
Maxim Ganetsky
8debfce05d AnchorDocking: also update header caption when pages are inserted and removed, issue #36008 2023-04-28 17:46:25 +03:00
mattias
e13a030d63 weblaz: html, js, css file: do not apply pascal conventions 2023-04-28 10:51:09 +02:00
mattias
d20e7ffb5f weblaz: fixed menu item selection option 2023-04-28 10:41:32 +02:00
mattias
40c1982764 pas2js: clean up 2023-04-28 10:41:32 +02:00
dsiders
2d7ae0a9c1 Docs: LCL/forms. Corrections content for magnetic window manager and related topics. 2023-04-28 02:41:51 +01:00
dsiders
305ac17c42 Docs: LazControls/checkboxthemed. Updates topics for theme services changes in c1493476. 2023-04-28 02:41:25 +01:00
dsiders
82928b42c1 Docs: LCL/themes. Adds deprecation notice to TThemeServies.GetDetailSize for changes in c1493476. 2023-04-28 02:41:07 +01:00
dsiders
4db382d762 Docs: LCL/buttonpanel. Updates TCustomButtonPanel.UpdateSizes for theme services changes in c1493476. 2023-04-28 02:40:49 +01:00
Maxim Ganetsky
fa4316125a AnchorDocking: implemented showing name in header of a docking site with multiple tabs, issue #36008 2023-04-28 02:43:41 +03:00
Maxim Ganetsky
711d5765fd IDE: adjust size of restriction browser to fit filter speed buttons, patch by Don Siders, issue #40235 2023-04-27 19:55:45 +03:00
Martin
405b9d2a29 IDE, SourceEditor: prevent ShowAloneMenu inside normal menu. Issue #40161 and #39540 2023-04-27 17:34:06 +02:00
Maxim Ganetsky
491800a694 Merge branch 'lcl/qt6' into 'main'
Lcl/Qt6: fixed ClientRect & MainMenu Strategy (exactly the same as Qt5)

See merge request freepascal.org/lazarus/lazarus!149
2023-04-27 15:28:20 +00:00
Juha
059aca597e LCL: Call lTarget.IntfUTF8KeyPress instead of LCLSendUTF8KeyPress in procedure CallbackKeyChar. Issue #40233. 2023-04-27 17:59:19 +03:00
rich2014
1e9f9dc078 DockedFormEditor: remove the special treatment for Qt6 (for !139) 2023-04-27 14:51:16 +00:00
rich2014
48fe9db698 Qt6: Adjust Form's MainMenu strategy at Design Time, to be consistent with other Interfaces 2023-04-27 14:51:16 +00:00