Commit Graph

21722 Commits

Author SHA1 Message Date
juha
a3272084cf LCL-GTK2: Improve setting a shaped form. Issue #30385, patch from Anton Kavalenka.
git-svn-id: trunk@63897 -
2020-09-20 09:56:39 +00:00
juha
2e27713e66 LCL-GTK3: Improve menu position and RadioItems. Issue #37740, patch from Anton Kavalenka.
git-svn-id: trunk@63896 -
2020-09-20 09:56:38 +00:00
juha
54661a2a36 LCL: Fix changing TForm's bounds and WindowState etc. Issue #36127, patch from Joeny Ang.
git-svn-id: trunk@63888 -
2020-09-18 09:33:43 +00:00
juha
09aece8f24 Revert r63842 #475bc75d3e because of a regression. Issue #37732.
git-svn-id: trunk@63882 -
2020-09-11 18:01:55 +00:00
juha
2f35763ff4 LCL-GTK3: Implement Button.OnClick handler. Fix Tab behavior. Issue #37718, patch from Anton Kavalenka.
git-svn-id: trunk@63874 -
2020-09-08 14:37:01 +00:00
dmitry
6910915e33 cocoa: avoid using LayoutManager while measuring text for a better performance.
git-svn-id: trunk@63871 -
2020-09-07 04:03:49 +00:00
dmitry
c8f3c6f723 cocoa: replacing the setting of nil color to controlTextColor to prevent crashes on MacOSX 10.6
git-svn-id: trunk@63870 -
2020-09-07 00:14:53 +00:00
dmitry
796f05d611 cocoa: fix compilation for fpc 3.0.4
git-svn-id: trunk@63868 -
2020-09-05 19:12:43 +00:00
wp
b4cc95fc28 LCL: Fix inability to resize the height of a TCombobox having style csSimple at designtime in order to show the item listbox. Issue #37679. Patch by mgr.inz.Player.
git-svn-id: trunk@63857 -
2020-09-01 13:41:11 +00:00
wp
afa0f73049 LCL: Fix unchangeable Combobox.DropDownCount when Style = csDropDownList. Issue #37670.
git-svn-id: trunk@63856 -
2020-09-01 10:35:55 +00:00
juha
55553eded7 LCL-GTK3: Fix ImageList icon paiting. Issue #37600, patch from Anton Kavalenka.
git-svn-id: trunk@63848 -
2020-08-30 20:47:02 +00:00
juha
55d0c7bc3a LCL: Raise TCustomForm.OnShow event always. Didn't happen on Windows in certain cases. Issue #37647.
git-svn-id: trunk@63847 -
2020-08-30 20:29:55 +00:00
juha
49a3adfab7 LCL-GTK3: Prevent a range error in function ButtonClicked.
git-svn-id: trunk@63844 -
2020-08-29 16:15:27 +00:00
juha
bce7246f36 LCL: Formatting, indent with the same style as other code in unit.
git-svn-id: trunk@63843 -
2020-08-29 14:40:19 +00:00
juha
475bc75d3e LCL: Improve TForm's bounds events. Issue #36127, patch from Joeny Ang.
git-svn-id: trunk@63842 -
2020-08-29 14:40:17 +00:00
juha
3f80506401 LCL-GTK3: Make Screen.WorkArea work. Issue #36946, patch from Anton Kavalenka.
git-svn-id: trunk@63837 -
2020-08-26 19:33:47 +00:00
wp
09ee5f1c56 LCL-Grids and VirtualTreeView: Move "FixDesignFontsPPI" for the basic components to "public". Declare as "override" for VTV.
git-svn-id: trunk@63831 -
2020-08-26 14:36:34 +00:00
juha
b420c52946 LCL-GTK2 & GTK3: Repaint MenuItem when changing ImageIndex. Issue #37607, patch from Anton Kavalenka.
git-svn-id: trunk@63823 -
2020-08-25 08:31:30 +00:00
dmitry
f0b7aadfd8 cocoa: proper detection of the dark theme. patch by Zoë Peterson. bug #37617
git-svn-id: trunk@63818 -
2020-08-23 22:44:35 +00:00
dmitry
babee456cf cocoa: update handling of key event characters for non-latin based layouts
git-svn-id: trunk@63814 -
2020-08-23 02:22:13 +00:00
juha
52b4b42968 IDE, LCL: Fix the search results scrollbar issue in a generic way in TreeView. Issue #37582, patch from BrunoK.
git-svn-id: trunk@63797 -
2020-08-20 08:10:52 +00:00
pascal
e9f700554a fixed missing brackets
git-svn-id: trunk@63789 -
2020-08-19 08:19:13 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
wp
7924956a5a LCL: Add procedure for high-quality image scaling, by Roland Hahn
git-svn-id: trunk@63766 -
2020-08-17 21:41:42 +00:00
joost
3547e13299 fpmake: regenerated
git-svn-id: trunk@63765 -
2020-08-17 19:40:29 +00:00
juha
3fa7867154 LCL-Win32: Support TComboBox.TextHint also in older versions of Windows. Issue #30682, patch from Serge Anvarov.
git-svn-id: trunk@63745 -
2020-08-15 10:25:55 +00:00
juha
b8d20c837f LCL: Formatting of TCustomMemo code. Remove useless setters.
git-svn-id: trunk@63744 -
2020-08-15 09:10:06 +00:00
juha
298d6ab8fb LCL-GTK3: Remove duplicate procedure FreeStrings. Already in generic WS code.
git-svn-id: trunk@63743 -
2020-08-15 09:10:05 +00:00
juha
52a2cdbb1b LCL-Win32: Implement native Combobox.TextHint support for Windows.
git-svn-id: trunk@63735 -
2020-08-14 14:35:53 +00:00
juha
dc8ca7a17f LCL: Restore type TEmulatedTextHintStatus. The state thsChanging was needed after all.
git-svn-id: trunk@63734 -
2020-08-13 17:34:01 +00:00
juha
728e2b9639 LCL: Move function CreateEmulatedTextHintFont to unit StdCtrls as a global function.
git-svn-id: trunk@63733 -
2020-08-13 17:33:59 +00:00
juha
c5dd93a0e4 LCL-GTK2: Apply DisplaySettings properties of TCalendar also during runtime. Issue #37450, patch from Cyrax.
git-svn-id: trunk@63732 -
2020-08-13 15:32:45 +00:00
juha
0011948d52 LCL: Implement TextHint for TComboBox. Issue #30682.
git-svn-id: trunk@63731 -
2020-08-13 11:23:38 +00:00
juha
32e975d46c LCL: Formatting for TCustomEdit code. Remove useless comments.
git-svn-id: trunk@63730 -
2020-08-13 11:23:36 +00:00
juha
953b2ef2b1 LCL: Move function CreateEmulatedTextHintFont to TWinControl for future. Replace emulated hint status with a boolean.
git-svn-id: trunk@63729 -
2020-08-13 11:23:33 +00:00
wp
0ba97f3388 LCL/EditBtn: Fix detection of incorrect center date string element by ParseDate(). https://forum.lazarus.freepascal.org/index.php/topic,51008.msg373806/
git-svn-id: trunk@63728 -
2020-08-13 08:20:57 +00:00
juha
5b171a067d LCL: Fix adding lines to Memo. Disable emulated TextHint for TMemo. Issue #37553.
git-svn-id: trunk@63726 -
2020-08-12 09:29:20 +00:00
juha
06d242ff81 LCL: Simplify code for emulated TEdit.TextHint.
git-svn-id: trunk@63725 -
2020-08-11 22:57:17 +00:00
juha
933a4c9f98 LCL-Qt5/Qt4: Show correct icon in MessageBox. Issue #37270, patch from CudaText man.
git-svn-id: trunk@63724 -
2020-08-11 22:57:14 +00:00
martin
a5841ef7d9 LCL: TWSClassesList.Search, improve search
git-svn-id: trunk@63719 -
2020-08-11 17:17:53 +00:00
juha
496414be63 LCL: Update emulated TEdit.TextHint correctly. Issue #37506.
git-svn-id: trunk@63718 -
2020-08-11 15:13:53 +00:00
dmitry
e66fb29c19 cocoa: reverting unintended change in cocoa_exta for NSTextInputClientProtocol
git-svn-id: trunk@63711 -
2020-08-10 01:41:16 +00:00
dmitry
d459164217 cocoa: update the use of textinputclient to be compatible with fpc3.0.4 headers
git-svn-id: trunk@63710 -
2020-08-10 01:40:07 +00:00
martin
53e492ccd2 LCL: Fix result of TWSClassesList.Search Issue #37360 Note 0124690 Patch by BrunoK
git-svn-id: trunk@63707 -
2020-08-09 13:56:39 +00:00
juha
acc57c654f LCL-GTK2: Remove debug output from TGtk2WidgetSet.PeekMessage(). Issue #37521.
git-svn-id: trunk@63704 -
2020-08-09 06:16:08 +00:00
dmitry
e698ec471b cocoa: adding a dummy NSTextInputClient protocol implementation. The implementation allows to receive a text from emoji dialog introduced with macOS 10.14. bug #37497
git-svn-id: trunk@63703 -
2020-08-09 04:35:08 +00:00
dmitry
f6796707ef cocoa: re-applying current pen and brush, after clearing clipping. bug #37520
git-svn-id: trunk@63702 -
2020-08-09 04:04:21 +00:00
dmitry
62196c0992 cocoa: respecting bundle info.plist setting to create the proper applicaiton instance
git-svn-id: trunk@63693 -
2020-08-06 04:06:42 +00:00
juha
909fb619f4 LCL: Reset TBitBtn.Caption when DefaultCaption=True. Issue #37472, patch from Joeny Ang.
git-svn-id: trunk@63692 -
2020-08-04 20:10:17 +00:00
martin
c1d49b5369 LCL: NewInstance, search for WsClass, always call RegisterNewWSComp(Self). Issue #37360 Note 0124494
git-svn-id: trunk@63689 -
2020-08-04 11:20:05 +00:00
martin
dff5dd0577 LCL: Simplify NewInstance, search for WsClass. Issue #37360 Note 0124494
git-svn-id: trunk@63688 -
2020-08-04 11:20:03 +00:00
martin
17af06e4e4 More WSRegister changes by BrunoK. Issue #37360
git-svn-id: trunk@63687 -
2020-08-04 11:20:02 +00:00
dmitry
c357dd3692 cocoa: using system menu, if such menu is provided (by cocoa) and LCL doesn't have its own menu assigned. bug #37446
git-svn-id: trunk@63685 -
2020-08-03 23:41:03 +00:00
dmitry
a693e55128 cocoa: prevent a mouse event from double handling the same mouse event twice. bug #36621. Allow text field to handle mouseUp separately, is the field is not selectable
git-svn-id: trunk@63673 -
2020-08-02 05:53:33 +00:00
wp
0c285d6eb9 LCL/ButtonPanel: Fix showing/hiding of button glyphs. Issue #37455, patch by Joeny Ang.
git-svn-id: trunk@63672 -
2020-07-31 20:01:35 +00:00
juha
8abfe4423f LCL: Refactor RegisterWSComponent parameter ANewRegistration into a procedure RegisterNewWSComp.
git-svn-id: trunk@63671 -
2020-07-29 18:28:57 +00:00
juha
d8c4121c4f LCL: Refactoring, move nested function GetNode out and rename as GetPClassNode.
git-svn-id: trunk@63670 -
2020-07-29 18:28:56 +00:00
juha
f57a7803db LCL-GTK2: Remove an extra private registration for TCustomEdit.
git-svn-id: trunk@63669 -
2020-07-29 18:28:55 +00:00
juha
bfe9847b24 LCL-GTK2: Cleanup.
git-svn-id: trunk@63668 -
2020-07-29 18:28:53 +00:00
martin
853bf8e189 Fix FontDialog: Issue #37435 / Broken by rev 63619 #efdce59d90, patch from Issue #37360 "improvements for TLCLComponent.NewInstance"
git-svn-id: trunk@63667 -
2020-07-29 10:40:06 +00:00
martin
4076cca667 LCL: RegisterWsClass, make sure list is created
git-svn-id: trunk@63666 -
2020-07-29 10:23:14 +00:00
juha
bcfa936e39 LCL-GTK2: Improve TextRect and regions. Issue #37219, patch from Joeny Ang.
git-svn-id: trunk@63665 -
2020-07-28 20:55:55 +00:00
juha
4f228a7831 LCL-GTK2: Fix PeekMessage, check if g_main_context_acquire returns True. Issue #37406.
git-svn-id: trunk@63655 -
2020-07-26 07:42:32 +00:00
juha
5da70017ac LCL-GTK2: Prevent dialogs becoming resizable after changing dimensions by code. Issue #37418, patch from Joeny Ang.
git-svn-id: trunk@63652 -
2020-07-25 08:44:25 +00:00
juha
5fa1cdcfb0 LCL-GTK2: Fix TGtk2WidgetSet.GetWindowRect() with an invisible TForm. Issue #37414, patch from Joeny Ang.
git-svn-id: trunk@63641 -
2020-07-24 11:14:36 +00:00
mattias
b45ee007da lcl gtk: fixed mem leak
git-svn-id: trunk@63635 -
2020-07-23 16:27:10 +00:00
juha
d1d2789c49 LCL: Strip <...> when searching resources for a generic form. Issue #37396, patch from Imants Gulbis.
git-svn-id: trunk@63628 -
2020-07-22 20:16:23 +00:00
juha
efdce59d90 LCL: Optimize component registration and TLCLComponent.NewInstance. Issue #37360, patch from BrunoK.
git-svn-id: trunk@63619 -
2020-07-22 08:34:07 +00:00
juha
e9adb1add4 LCL-GTK3: Improve messageboxes and collect them to a new unit. Issue #37269, patch from Anton Kavalenka.
git-svn-id: trunk@63604 -
2020-07-20 14:57:12 +00:00
dmitry
ee626c0196 cocoa: not using BOOLFIX anymore for fpc versions 3.2.0 and later. OBJCBOOL is the compiler native type now
git-svn-id: trunk@63602 -
2020-07-19 20:18:15 +00:00
dmitry
58c0aab466 cocoa: fix the compiler version check
git-svn-id: trunk@63601 -
2020-07-19 19:55:05 +00:00
dmitry
8dde6e879f cocoa: update cocoa_extra declaration to be friendly to the coming fpc 3.2.2
git-svn-id: trunk@63599 -
2020-07-19 17:32:57 +00:00
juha
727eb0ef72 LCL: Prevent DBGrid raising exception after enabled and hiding inplace editor. Issue #37385, patch from Zdravko Gabrovski.
git-svn-id: trunk@63596 -
2020-07-18 21:58:11 +00:00
juha
08fb55efbb LCL-GTK3: Improve messageboxes. Issue #37269, patch from Anton Kavalenka.
git-svn-id: trunk@63594 -
2020-07-17 17:42:48 +00:00
mattias
8846344e66 freeptype: updated lpl
git-svn-id: trunk@63583 -
2020-07-17 07:41:29 +00:00
pascal
c66efeda3a freetype: fixed name clash
git-svn-id: trunk@63582 -
2020-07-17 05:32:31 +00:00
juha
1edc4cf4b9 LCL: Prevent calling Form.OnResize() and OnChangeBounds() twice. Issue #36127, patch from Joeny Ang.
git-svn-id: trunk@63577 -
2020-07-16 23:00:30 +00:00
bart
8df0af1ab0 LCL: take CharCase into account in TCustomEdit.RealSetText. Previous commit r63542 #b3ba26f89d had the fix commented out ;-(. Issue #0037313.
git-svn-id: trunk@63575 -
2020-07-16 21:26:26 +00:00
juha
6d6cea00e9 LCL-GTK2: Fix dragging TLabel/TPanel with TDockImageWindow. Issue #37371, patch from Joeny Ang.
git-svn-id: trunk@63572 -
2020-07-16 10:28:52 +00:00
juha
e2840b9665 LCL: Fix a regression in TSTringGrid caused by r63541 #1f0ff07dc2. Test for Editor.Parent instead of Editor.Owner.
git-svn-id: trunk@63571 -
2020-07-16 09:26:39 +00:00
juha
9592ee63e9 LCL-GTK3: Prevent access violation when showing hint window.
git-svn-id: trunk@63559 -
2020-07-14 18:43:54 +00:00
mattias
61c53d6f41 LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
2020-07-14 18:09:17 +00:00
bart
2dd7c76531 MaskEdit: simplify handling CharCase.
git-svn-id: trunk@63555 -
2020-07-14 09:34:26 +00:00
mattias
6dc2b54e1a make: set default lcl widgetset from carbon to cocoa
git-svn-id: trunk@63553 -
2020-07-13 09:21:07 +00:00
bart
b3ba26f89d LCL: take CharCase into account in TCustomEdit.RealSetText. Prevents unneccessary OnChanges and fixes infinite OnChange loop. Issue #0037313.
git-svn-id: trunk@63542 -
2020-07-11 10:16:10 +00:00
juha
1f0ff07dc2 LCL: Prevent a crash when closing a form with an active in-place cell editor of a grid. Issue #37202.
git-svn-id: trunk@63541 -
2020-07-11 09:07:35 +00:00
martin
4fd90b6fad LCL: Windows, protect wincontrol via Inc/DecLclRefCount while in DoWindProc / see issue #0028404 / see rev 63507 #d031209b99
git-svn-id: trunk@63529 -
2020-07-08 13:28:32 +00:00
dmitry
a507da5cb2 cocoa: updating groupbox font. bug #63488
git-svn-id: trunk@63522 -
2020-07-07 03:59:57 +00:00
juha
86a4cd2add LCL-GTK1: Cleanup GTK2 code.
git-svn-id: trunk@63520 -
2020-07-06 09:41:48 +00:00
juha
d49e476396 LCL-GTK2: Fix Control + Backspace in TEdit. Issue #37116, patch from Joeny Ang.
git-svn-id: trunk@63519 -
2020-07-06 09:41:46 +00:00
juha
c8da630845 Revert r60679 #f9b4f6ae8d, LCL-Win32 calling OnClick of a parent menuitem. Issue #37210.
git-svn-id: trunk@63518 -
2020-07-06 09:02:06 +00:00
martin
d031209b99 LCL: detect wincontrol destroy during WindProc / fixes issue #0028404
git-svn-id: trunk@63507 -
2020-07-04 17:28:40 +00:00
mattias
50121a266d lcl: cocoa no longer beta
git-svn-id: trunk@63497 -
2020-07-03 10:40:59 +00:00
maxim
8a7112535d Translations: Chinese translation update by robsean, bug #37290
git-svn-id: trunk@63485 -
2020-07-01 21:39:48 +00:00
zeljko
c5a7d9fb5f Qt5: fixed cbindings support for Haiku. issue #37288
git-svn-id: trunk@63484 -
2020-07-01 09:45:55 +00:00
bart
02ae498e8e Grids: fix decoding HTML entities when pasting HTML. Issue #0037258.
git-svn-id: trunk@63457 -
2020-06-28 13:49:54 +00:00
juha
4a8869480b LCL-GTK3: Fix default button in AskUser(). Issue #37225, patch from Anton Kavalenka.
git-svn-id: trunk@63441 -
2020-06-26 21:56:44 +00:00
juha
6c83a6da9e LCL-GTK2: Improve TextRect and regions. Issue #37219, patch from Joeny Ang.
git-svn-id: trunk@63436 -
2020-06-24 09:13:05 +00:00
juha
edd19698a4 LCL-GTK2: Fix default button index in AskUser(). Issue #37224, patch from Anton Kavalenka.
git-svn-id: trunk@63430 -
2020-06-23 17:58:03 +00:00
juha
e569548620 LCL-GTK3: Implement AskUser(). Issue #37225, patch from Anton Kavalenka.
git-svn-id: trunk@63424 -
2020-06-23 11:25:19 +00:00