Commit Graph

65950 Commits

Author SHA1 Message Date
rich2014
b65ca17223 Cocoa: MainPool is divided into two stages, covering the whole cycle, fix resources leak 2023-08-26 23:56:18 +08:00
rich2014
7f00662152 Cocoa: BeginMessageProcess/EndMessageProcess implemented, fix resources leak 2023-08-26 23:55:51 +08:00
rich2014
2d1027253f LCL: WidgetSet.BeginMessageProcess/EndMessageProcess added 2023-08-26 23:48:04 +08:00
Bart
5aab1a7b18 TTaskDialog: Start implement TTaskDialog.ProgressBar for emulated dialog: Range, Position and Style. 2023-08-26 13:20:42 +02:00
Željan Rikalo
12e313d41b Qt5: Fixed compiling qt56.pas with -Sy option. 2023-08-26 10:35:06 +02:00
dsiders
6c177bc5b2 Docs: LCL/forms. Modifies content in the TApplication.GetControlAtPos topic. 2023-08-26 02:44:42 +01:00
Maxim Ganetsky
895c80c4ea LCL: optimized TApplication.GetControlAtMouse (no functional changes), patch by Rika, issue #40465 2023-08-26 02:50:48 +03:00
Željan Rikalo
f27a50f74e Qt5: improve string conversions by removing unneeded GetUtf8Str internal function. 2023-08-25 19:49:26 +02:00
Bart
a397741a99 TTaskDialog: Start implementing TTaskDialog.ProgressBar for emulated dialog. 2023-08-25 19:12:26 +02:00
Bart
f8ee1f55bb TTaskDialog: remove commented out code. 2023-08-25 18:49:11 +02:00
Bart
9e2aabba9d TTaskDialog: TTaskDialog.ProgressBar:
- FMin and FMax must be in range 0.High(Word).
- Adjust FPosition when setting range.
- Define const for default min/max instead of using magic numbers.
- Simplify SetMin/SetMax.
2023-08-25 18:47:43 +02:00
Željan Rikalo
d06d98e830 Gtk3: fixed TGtk3WidgetSet.GetWindowRect() bounds, patch by Anton Kavalenka.Part of issue #40461 2023-08-25 17:21:44 +02:00
dsiders
67fd5eb194 Docs: DateTimeCtrls/datetimepicker. Updates external referenences for changes in f83b8b4c. 2023-08-25 15:16:09 +01:00
mattias
f83b8b4cc3 datetimectrls: simplified unit dependencies 2023-08-25 12:49:44 +02:00
mattias
53db93de09 lcl: gtk2: simplified unit dependencies 2023-08-25 12:30:53 +02:00
mattias
58ed236c84 lcl: gtk2: simplified unit dependencies 2023-08-25 12:20:35 +02:00
mattias
4cd036d871 lcl: gtk2: simplified unit dependencies 2023-08-25 12:09:09 +02:00
Bart
f596f54321 TTaskDialog: progress on TTaskDialog.ProgressBar: setting type, range, position, range and marqueespeed, now work for native Vista+ dialog. 2023-08-24 23:41:26 +02:00
Bart
679e55e191 TTaskDialog: fix unintentionally left over writelln() statements. 2023-08-24 20:01:58 +02:00
Juha
dfbe6ad23d LCL-GTK3: Support TFrame as a MenuItem's owner. Issue #40446, patch by haword. 2023-08-24 11:00:19 +03:00
zeljan1
805a8817ed Qt6: fixed crash while processing wheelscroll event inside mdiarea window. 2023-08-23 19:51:33 +02:00
Bart
8a60ec04de TTaskDialog: partially implemented TTaskDialogProgressBar.Initialize. 2023-08-23 15:23:43 +02:00
Ondrej Pokorny
d556038c01 TaskDialog: do not write to console (fix) 2023-08-23 14:55:05 +02:00
Ondrej Pokorny
e6fc6dca77 TaskDialog: do not write to console 2023-08-23 14:49:10 +02:00
Bart
fe0ed266ce TTaskDialog: start implementing TTaskDialogProgressBar: skeleton only, does not communicate with the dialog yet. 2023-08-23 13:10:52 +02:00
Željan Rikalo
2885935b2d Qt,Qt5,Qt6: do not create dummy widget if wm name is empty or we are running under wayland. issue #40413 2023-08-23 09:18:10 +02:00
Željan Rikalo
e2f0b349f4 Gtk2: do not create dummy widget if WM name is empty, also reduce looping on slow systems. issue #40413 2023-08-23 09:09:06 +02:00
dsiders
10f65ee4fd Docs: LCL/controls. Fixes typos in See Also links. 2023-08-23 02:01:32 +01:00
dsiders
60b8ad9d52 Docs: LCL/controls. Updates content in TWinControl.SetChildZPosition to reflect changes in 853461fe. 2023-08-23 01:28:16 +01:00
Bart
7c055798ef Revert "Win32: Vista dialogs: reverse the logic of applying FOS_STRICTFILETYPES to IFileDialog."
It causes a regression in the IDE.
The old logic is still wrong, but must be fixed in a different way, yet to be discussed.
This reverts commit ed3e261065.
2023-08-22 23:51:06 +02:00
Željan Rikalo
853461fed6 LCL: fixed TWinControl.SetChildZPosition, WS must be informed about change of order in any case. issue #40450 2023-08-22 19:50:19 +02:00
Željan Rikalo
2a339f8cb1 Qt,Qt5,Qt6: fixed borderless popup over parent form with FormStyle = fsStayOnTop. issue #40440 2023-08-22 19:28:56 +02:00
wp_xyz
24e996ddef fpvectorial: Add new pdf writer to package. Modify fpvTextWriteTest demo to support pdfwriter. 2023-08-22 18:49:35 +02:00
Werner Pamler
4a653549e1 Merge branch 'fpvectorial_pdfwriter' into 'main'
fpVectorial PDF writer for text documents

See merge request freepascal.org/lazarus/lazarus!230
2023-08-22 16:47:16 +00:00
wp_xyz
e32f823789 LHelp: Fix duplicate hint windows, issue #40456 2023-08-22 18:16:28 +02:00
Moritz Lamprecht
0fafee823a added pdf document writer 2023-08-22 15:10:38 +00:00
mattias
b59196e223 ide: fixed search ancestor lfm for lfm with unitnames 2023-08-22 16:25:59 +02:00
mattias
5763fb14c6 codetools: added AnsiChar 2023-08-22 16:25:59 +02:00
Martin
2234c02716 IdeDebugger: Watches, fix updating array-nav-bar while scrolling 2023-08-22 12:45:34 +02:00
Michaël Van Canneyt
a3566d0f8e * Remove actions for which there is no tag 2023-08-22 08:41:47 +02:00
Bart
cf5777a164 TTaskDialog: implement property Handle. Makes it possible to send messages to the dialog.
This is needed to implement e.g. progressbar and can be used to update on-the-fly the contents of the dialog.
2023-08-21 22:11:25 +02:00
ACTom
dde185549b Translations: Chinese translation update, merge request !229 2023-08-21 01:45:06 +03:00
Martin
ab8f817be8 IdeDebugger: Watches, hide array-nav-bar when collapsing 2023-08-20 15:55:37 +02:00
Martin
7def84841a IdeDebugger: fix crash in watches (changing watch, with open children) 2023-08-20 15:54:24 +02:00
Bart
7bf0a50a7b TTaskDialog: remove outdated comments. 2023-08-20 15:15:10 +02:00
Bart
ab5d084ade TTaskDialog: publish properties CustomFooterIcon and CustomMainIcon. 2023-08-20 14:54:50 +02:00
Bart
86c3d72d4d TTaskDialog: Win32 WS: prevent possible crash when accessing CustomMainIcon/CustomFooterIcon. 2023-08-20 14:33:19 +02:00
Bart
e975ddddf5 TTaskDialog: implement flags tfUseHIconMain and tfUseHIconFooter for emulated dialog as well.
Resolves issue #40449.
2023-08-20 14:29:25 +02:00
Bart
d7801adb2a TTaskDialog: implement CustomMainIcon and CustomFooterIcon, needed for flags tfUseHIconMain and tfUseHIconFooter respectively.
The flags now work on Windows Vista+ native dialog.
Partly resolves issue #40449.
2023-08-20 13:48:50 +02:00
mattias
fe4a986145 ide: fixed parsing fpc linker error ld.bfd and file:linenumber: msg 2023-08-20 11:06:29 +02:00