Commit Graph

64777 Commits

Author SHA1 Message Date
Maxim Ganetsky
c2bcc21d9f Merge branch 'FPC-39988' into 'main'
Issue #39988: Added support for .typelib files.

See merge request freepascal.org/lazarus/lazarus!152
2023-05-10 22:09:52 +00:00
Abou Al Montacir
8a7116f248 Issue #39988: Added support for .typelib files.
Debian ships .gir files in a compressed binary format with .typelib
extension. We use `g-it-generate`to decompress them on the fly.
2023-05-10 22:00:29 +00:00
Maxim Ganetsky
2318979c4d Merge branch 'lcl/cocoa/textfield' into 'main'
FIX: Cocoa: SecureTextField crashed

See merge request freepascal.org/lazarus/lazarus!151
2023-05-10 12:08:16 +00:00
rich2014
769dc338bc FIX: Cocoa: SecureTextField crashed 2023-05-10 11:59:34 +00:00
dsiders
90c5cbd130 Docs: LCL/various. Standardizes tagging for file names in unit overview topics. 2023-05-10 08:55:40 +01:00
dsiders
19e4020609 Docs: LazUtils/various. Standardizes tagging for file names in unit overview topics. 2023-05-10 08:55:11 +01:00
dsiders
d6c2ae28f5 Docs: LazFreeType/various. Standardizes tagging for file names in unit overview topics. 2023-05-10 08:54:36 +01:00
dsiders
b4f9ac5380 Docs: LazControls/various. Standardizes tagging for file names in unit overview topics. 2023-05-10 08:53:29 +01:00
Maxim Ganetsky
cb57e3f187 Merge branch 'lcl/cocoa/combobox' into 'main'
FIX: LCL/Cocoa: in TCocoaReadOnlyComboBox.dealloc(), Free list as in TCocoaComboBox.dealloc()

See merge request freepascal.org/lazarus/lazarus!150
2023-05-09 10:30:19 +00:00
rich2014
b94903074c FIX: LCL/Cocoa: in TCocoaReadOnlyComboBox.dealloc(), Free list as in TCocoaComboBox.dealloc() 2023-05-09 09:50:16 +00:00
Juha
e36a1b4633 IDE: Fix ComponentList adding comp with [Ctrl+Enter] on an empty form. Issue #40245, patch by n7800. 2023-05-09 11:28:44 +03:00
mattias
2d059ffef4 updated lpl 2023-05-09 09:05:24 +02:00
mattias
5bcd4dfcc9 lazdelphi: register parser 2023-05-09 09:01:22 +02:00
mattias
2bff2330c6 buildintf: debug 2023-05-09 09:01:22 +02:00
Juha
d4ab7a94a5 IDE: Apply global DropDownCount to TCustomComboBox derivatives in options dialog. Issue #40250, patch by n7800. 2023-05-08 19:21:30 +03:00
Željan Rikalo
4e6acc2a82 Qt5,Qt6: do not trigger OnClick when popup is closing. issue #40249 2023-05-08 10:26:22 +02:00
Željan Rikalo
88c2f85b5d Qt6: disable QtUseNativeEventLoop by default. issue #40206 2023-05-08 09:52:45 +02:00
mattias
f6f00f6001 compilers: started dcc parser 2023-05-07 17:28:00 +02:00
mattias
0c7e76c0a0 anchordocking: fixed typos 2023-05-07 15:26:24 +02:00
Juha
3dbc6bbeda IDE: Improve ComponentList. Issue #40245, patch by n7800. 2023-05-07 09:35:19 +03:00
Martin
27bf5d2ba7 IDE: Workaround for source-edit popup menu under QT. Issue #40161
The editor-toolbar code (or related ide-intf changes) triggers an additional popup interfering with the menu.
2023-05-06 19:49:47 +02:00
Juha
02ea8eb6a1 Revert the last commit. Options dialog must not close with OK button if CheckValues fails. 2023-05-06 20:05:43 +03:00
Juha
968612bcd9 IDE: Make sure the options dialog is closed with OK button. 2023-05-06 19:54:53 +03:00
wp_xyz
e8f8aa16ce TAChart: Fix crash when a ListChartSource contains a single point and that has X=NaN. Add corresponding unit test. 2023-05-06 13:03:59 +02:00
wp_xyz
06c1648f61 TAChart: Fix unit test error due to incomplete TChartDataItem.CopyFrom 2023-05-06 12:58:35 +02:00
Juha
fa797bd286 IDE: Save the last page of options dialog also when "Apply" button is clicked. Issue #40234. 2023-05-06 13:57:20 +03:00
Juha
c5ffb2e914 ExamplesWindow: Minor fixes, remove debug lines and timing code. Issue #40190, patch by dbannon. 2023-05-06 13:27:36 +03:00
Juha
ffa9a8a233 Jedi Code Format: Fix identation of preprocessor directives. Issue #40242, patch by Domingo Galmés. 2023-05-06 13:19:38 +03:00
Maxim Ganetsky
82cfcc3d84 AnchorDocking: properly initialize CheckNode result and somewhat simplify its logic, issue #39742 2023-05-05 22:03:10 +03:00
Željan Rikalo
192ccb4693 Qt5: disable fallbackSessionManagement if defined QT_NO_SESSIONMANAGER. issue #40247 2023-05-05 20:34:17 +02:00
zeljan1
46e20db82d Qt5: fixed problem with setting readOnly property under darwin. issue #40246 2023-05-05 20:15:25 +02:00
Željan Rikalo
5e2ba5934a Qt5: proper context for messages processing. 2023-05-05 16:38:37 +02:00
Željan Rikalo
471c1d64d4 Qt5: disable QtUseNativeEventLoop by default, issue #40206 2023-05-05 16:38:01 +02:00
mattias
0f4347b03f ide: added ideopteditorintf.lfm, call register lazcontrolsdsgn in main 2023-05-05 09:09:00 +02:00
mattias
4446dac739 codetools: added lazcontrolsdesign path for ide folder 2023-05-05 09:07:07 +02:00
Željan Rikalo
d35e81595b Qt6: fixed build with define QT_NATIVE_DIALOGS. 2023-05-04 17:46:26 +02:00
Željan Rikalo
22d005974b Qt5: reduced widestring conversions, simplified code. 2023-05-04 16:58:26 +02:00
Juha
dbd71d7e98 IDE: Clean up uses section in IDEOptionsDlg. 2023-05-04 12:51:38 +03:00
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