Commit Graph

19104 Commits

Author SHA1 Message Date
zeljko
6df375142a Qt5: make ws snappier under x11.
git-svn-id: trunk@54115 -
2017-02-07 17:22:58 +00:00
zeljko
8bf0337321 Qt5: check for dangling handle.
git-svn-id: trunk@54114 -
2017-02-07 17:11:38 +00:00
zeljko
f439ee0b2f Qt5: better check for dangling handle pointer.
git-svn-id: trunk@54113 -
2017-02-07 16:56:47 +00:00
zeljko
5e538a8053 Qt: make Qt4 interface snappy under X11.
git-svn-id: trunk@54111 -
2017-02-07 16:31:14 +00:00
zeljko
9405275f19 Gtk2: implemented WS Repaint.
git-svn-id: trunk@54110 -
2017-02-07 14:50:27 +00:00
zeljko
75baa379fa Qt5: implemented WSRepaint
git-svn-id: trunk@54109 -
2017-02-07 14:34:10 +00:00
zeljko
56d6de1240 Qt: implemented WSRepaint
git-svn-id: trunk@54108 -
2017-02-07 14:27:52 +00:00
zeljko
0b2fc88171 LCL: added WSWinControl.Repaint, since all widgetsets except win32 calls update twice in TWinControl.Repaint. Default method calls Invalidate and Update like it was in TWinControl.Repaint, now widgetsets can implement it's own way of Repaint method. eg for Qt QWidget_repaint() - one call for immediate repaint.
git-svn-id: trunk@54107 -
2017-02-07 11:53:35 +00:00
freq
0570e97c82 cocoa: No longer needed. App meanwhile closing without memory leaks. Global NSAutoReleasePool in init / finalization is dangerous for libraries and leads to crash during host shut down.
git-svn-id: trunk@54093 -
2017-02-05 07:00:11 +00:00
freq
01a2998a5a cocoa: Fix #0031253: Project with TShape component compiled with Cocoa WidgetSet crashes in TCocoaContext.SaveDC.
git-svn-id: trunk@54092 -
2017-02-05 06:48:32 +00:00
ondrej
ede622b2a3 LCL: TComboBox: keep Items sorted on handle destroy. Issue #31303
git-svn-id: trunk@54090 -
2017-02-04 20:10:08 +00:00
juha
8a458937da LCL: Publish TArrow.Enabled. Issue #31326.
git-svn-id: trunk@54088 -
2017-02-04 19:58:05 +00:00
bart
fb917eb8cd EditBtn: publish property Contsraints of TCustomControlFilterEdit. Issue #0031345.
git-svn-id: trunk@54087 -
2017-02-04 13:06:46 +00:00
bart
46dd6e700d TprogressBar: publish properties Font and ParentFont. Issue #0031330.
git-svn-id: trunk@54086 -
2017-02-04 13:00:02 +00:00
jesus
6a6c4c33d5 LCL, grids: fix Clipping Region Error in TCustomGrd Descendents, patch from Tony Whyman, issue #30892
git-svn-id: trunk@54084 -
2017-02-03 18:53:45 +00:00
zeljko
25b81795dc Qt5: do not set modality, but use active modal window as parent of TQtHintWindow. part of issue #30235
git-svn-id: trunk@54080 -
2017-02-03 16:29:58 +00:00
zeljko
64119b2b0f Qt: do not set modality, but use active modal window as parent of TQtHintWindow. part of issue #30235
git-svn-id: trunk@54079 -
2017-02-03 16:29:44 +00:00
michl
94630704fa LCL: TWinControl: Win32: Revert revision 53791 #019b8c5c6b because after this PaintTo only work for TForm, not for other controls. Issue #25448
git-svn-id: trunk@54077 -
2017-02-02 19:59:36 +00:00
bart
e4b8fbdc91 FileListBox: publish properties Color, ParentColor and Enabled. Issues #0031328 and #0031329.
git-svn-id: trunk@54074 -
2017-02-02 12:17:15 +00:00
bart
8ede8a7f5f EditBtn: publish property Contstraints for TFilenameEdit, TDirectoryEdit and TCalcEdit. Issue #0031327.
git-svn-id: trunk@54073 -
2017-02-02 12:09:47 +00:00
bart
a5ccd76c24 TTimeEdit: publish properties ButtonCaption, ButtonCursor and ButtonHint. Issue #0031338.
git-svn-id: trunk@54072 -
2017-02-02 12:00:34 +00:00
bart
b83fd2e5a2 TStaticText: publish properties Enabled, ParentShowHint and PopupMenu. Issues #0031313, #0031315 and #0031333.
git-svn-id: trunk@54071 -
2017-02-02 11:52:30 +00:00
bart
8ce29506c5 TDateEdit: Don't change empty Text when toggling DirectInput in designer. Part of Issue #0030425.
git-svn-id: trunk@54070 -
2017-02-02 11:33:18 +00:00
juha
3884b8e05a LCL: Publish TSpinEdit/TFloatSpinEdit property ParentColor. Issue #31325.
git-svn-id: trunk@54064 -
2017-02-02 10:29:59 +00:00
juha
9705eb5334 LCL: Publish TButtonPanel properties Constaints, Enabled. Issue #31323.
git-svn-id: trunk@54063 -
2017-02-02 10:13:22 +00:00
juha
759a2a64b2 LCL: Publish TProgressBar properties Color, ParentColor. Issue #31321.
git-svn-id: trunk@54062 -
2017-02-01 23:55:04 +00:00
juha
058ff4064c LCL: Publish TTrackBar properties Color, Font, ParentColor, ParentFont. Issues #31319, #31320.
git-svn-id: trunk@54061 -
2017-02-01 23:55:02 +00:00
juha
15f7e0a61c LCL: Publish TUpDown properties Align, Color, ParentColor. Issues #31317, #31322.
git-svn-id: trunk@54060 -
2017-02-01 23:55:01 +00:00
juha
c5246ca16f LCL: Publish CheckListBox.ParentColor. Issue #31316.
git-svn-id: trunk@54059 -
2017-02-01 23:54:58 +00:00
marcus
5f54b4f238 MUI: Exception if MUIObject fails to create
git-svn-id: trunk@54057 -
2017-02-01 19:33:22 +00:00
michl
2f58813eed LCL: TComboBox: Make keys Delphi compatible with AutoDropDown = True. Issue #31331
git-svn-id: trunk@54056 -
2017-02-01 19:16:06 +00:00
michl
f09fd93cc5 LCL: TComboBox: Fixed closing app with <Alt> + <F4> when AutoDropDown = True, make it Delphi compatible. Issue #31247
git-svn-id: trunk@54055 -
2017-02-01 14:15:37 +00:00
michl
b0ed0adb4d LCL: TComboBox: Win32: Fixed deleting a char not all text with AutoDropDown = True. Issue #31247
git-svn-id: trunk@54054 -
2017-02-01 11:20:07 +00:00
michl
27e3118627 LCL: TComboBox: prevent hiding dropdown window, like Delphi. Issue #31247
git-svn-id: trunk@54053 -
2017-02-01 11:08:53 +00:00
zeljko
8e6b6a8bac Gtk2: fixed Constraints setting. Patch by C Western. issue #31291
git-svn-id: trunk@54051 -
2017-02-01 09:44:21 +00:00
zeljko
1f626ab147 LCL: published Align property for TDBEdit. issue #31292
git-svn-id: trunk@54050 -
2017-02-01 09:41:54 +00:00
zeljko
f6098d0714 Qt: removed TabWidth and TabHeight from issues
git-svn-id: trunk@54049 -
2017-02-01 09:29:00 +00:00
zeljko
c9b8224d6a Qt5: removed TabWidth and TabHeight from issues.
git-svn-id: trunk@54048 -
2017-02-01 09:28:27 +00:00
zeljko
ecdd26adf7 Qt5: implemented tabsize
git-svn-id: trunk@54047 -
2017-02-01 09:27:30 +00:00
zeljko
c247c22013 Qt: implemented tabsize
git-svn-id: trunk@54046 -
2017-02-01 09:27:16 +00:00
michl
7650468f69 LCL: TComboBox: make tabbing Delphi compatible. Issue #31247
git-svn-id: trunk@54045 -
2017-01-31 20:17:42 +00:00
michl
7cc7749739 LCL: Win32: fixed PaintTo for not themes enabled controls and older OS then Windows 7. Issue #25448
git-svn-id: trunk@54033 -
2017-01-30 06:48:05 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
michl
0d6c6db645 LCL: TCalcEdit: Fixed SelectNext doesn't work after revision 44623 #bee933f2ab for derivated TCustomEditButtons.
git-svn-id: trunk@54027 -
2017-01-29 14:28:01 +00:00
mattias
4bba532865 lcl: less hints
git-svn-id: trunk@54026 -
2017-01-29 09:05:23 +00:00
bart
739663d456 FileListBox:
- do not display normal files if ftNormal is not specified in FileType (Delphi compatibility)
- do not display filenames if FileType only includes ftDirectory or ftVolumeID. Issue #0031281

git-svn-id: trunk@54025 -
2017-01-28 15:16:13 +00:00
bart
dd81ed3150 LCL: TDateEdit: fix not calling OnEditingDone (bug introduced in r53938 #afa3922372 by me). Issue #0031278.
git-svn-id: trunk@54010 -
2017-01-26 17:29:07 +00:00
michl
076beac6c5 LCL: TCustomTabControl: Remove doubled, since revision 33537 #fa02b703f1 deprecated, types.
git-svn-id: trunk@54004 -
2017-01-25 21:13:49 +00:00
michl
49bfaecb78 LCL: TPageControl: Showing correct tab for a page with TabVisible = False. Issue #21723
git-svn-id: trunk@54003 -
2017-01-25 20:38:27 +00:00
michl
6a9b9d4d9e LCL: TCustomTabControl: Win32: Allow setting tab width and tab height. Issue #31109, patch from AlexeyT.
git-svn-id: trunk@54002 -
2017-01-25 17:42:06 +00:00
jesus
14145bdd4a LCL, grids: do not quote copied cell when the text contain a quote,issue #30623
git-svn-id: trunk@54001 -
2017-01-25 15:14:20 +00:00
jesus
90a4a40c23 LCL, Grids: fix focus rect painting issue #31268
git-svn-id: trunk@54000 -
2017-01-25 14:57:04 +00:00
jesus
14660d80cd LCL, grids: fix OnHeaderSized not called on DblClicked AutoSized column, patch from Janusz Tomczak, issue #31226
git-svn-id: trunk@53998 -
2017-01-24 21:53:16 +00:00
jesus
7723412ce7 LCL, fix autoadjust column width for columns with images
git-svn-id: trunk@53997 -
2017-01-24 21:45:04 +00:00
wp
24077d3218 LCL (TimeEdit): Centered cell text in hours and minutes grid of TimePopupForm
git-svn-id: trunk@53996 -
2017-01-24 18:46:46 +00:00
ondrej
df696ddabc LCL: forms: call AutoAdjustLayout in Show if necessary - it doesn't receive LM_DPICHANGED if the form is moved to a different monitor while being invisible.
git-svn-id: trunk@53993 -
2017-01-24 12:12:18 +00:00
ondrej
ae58211303 grids: always scale FDefColWidth and FDefRowHeight (without chicking IsDefRowHeightStored).
git-svn-id: trunk@53992 -
2017-01-24 12:07:30 +00:00
jesus
fad73bb819 LCL, fix for index out of range when using DbGrid's OnRowMoved, see issue #31061
git-svn-id: trunk@53986 -
2017-01-23 20:20:34 +00:00
juha
b831bae1aa LCL: Fix TimeEdit popup visual problems. Issue #31225, patch from AlexeyT.
git-svn-id: trunk@53985 -
2017-01-23 14:35:42 +00:00
juha
738e927a6c LCL-Carbon: Fix FontDialog chosen font size. Issue #31213, patch from AlexeyT.
git-svn-id: trunk@53983 -
2017-01-23 00:25:58 +00:00
michl
0c438b980e LCL: TTabControl: make tabs drag- and dropable. Issue #24022
git-svn-id: trunk@53981 -
2017-01-22 22:21:02 +00:00
michl
95a697d5a2 LCL: TCustomTabControl: cleaning up, making only needed methods visible for derivative
git-svn-id: trunk@53980 -
2017-01-22 19:14:21 +00:00
michl
87c8c7df49 LCL: TTabControl: make mouse messages working in tabs. Issue #27467
git-svn-id: trunk@53978 -
2017-01-21 22:17:58 +00:00
freq
b282cf4de5 cocoa: fixes a couple of memory leaks in special with TCocoaBitmap as its Destructor was not called on Free. Pls. review
git-svn-id: trunk@53977 -
2017-01-21 17:05:28 +00:00
marcus
53c292bb51 MUI: adjusted Scrollbar behavior
git-svn-id: trunk@53975 -
2017-01-19 20:52:16 +00:00
marcus
85b6fc0bc3 MUI: Basename should not contain ':','/', raise exception if application object fails to create.
git-svn-id: trunk@53970 -
2017-01-18 19:18:58 +00:00
marcus
fec575ae2b MUI: Missing Makefile.compiled
git-svn-id: trunk@53969 -
2017-01-18 16:25:11 +00:00
mattias
de4b901bdd lcl: fixed typo and formatting
git-svn-id: trunk@53967 -
2017-01-18 11:36:17 +00:00
michl
26c080e5a4 IDE: replace TabIndexAtClientPos with IndexOfPageAt to hide compiler warnings, after r53950 #f723ac55cd
git-svn-id: trunk@53953 -
2017-01-15 22:40:10 +00:00
michl
684c92d6d4 LCL: TCustomTabControl: overload IndexOfTabAt and IndexOfPageAt to further use TPoint
git-svn-id: trunk@53952 -
2017-01-15 22:31:18 +00:00
michl
f723ac55cd LCL: TPageControl: fixed TabIndexAtClientPos page index after invisible tab. Issue #30343
git-svn-id: trunk@53950 -
2017-01-15 20:50:35 +00:00
mattias
71eb26a0bc lcl: fixed default LCL interface, bug #31228
git-svn-id: trunk@53949 -
2017-01-15 18:11:58 +00:00
mattias
2ab8713e2a lcl: updated make file
git-svn-id: trunk@53948 -
2017-01-15 18:01:52 +00:00
bart
dccf31997b LCL: Make fix for Issue #0031227 a bit more safe (don't rely on implementation details of TryParseInput).
git-svn-id: trunk@53947 -
2017-01-15 12:27:08 +00:00
bart
8af43e0c0b LCL: Try to derive Time from the text in the control in TTimeEdit.GetTime, if DirectInput is True. Issue #0031227.
git-svn-id: trunk@53944 -
2017-01-14 17:14:48 +00:00
freq
437e9605f2 cocoa: fix crash on mouse click
git-svn-id: trunk@53942 -
2017-01-14 15:10:08 +00:00
juha
63f9efed4e LCL: Add support for MUI widgetset (AmigaOS, MorphOS, AROS) by Marcus Sackrow.
git-svn-id: trunk@53941 -
2017-01-14 09:55:59 +00:00
bart
afa3922372 LCL:
- Allow NullDate in TDateEdit when user clears the text.
- Always set Text to a proper value when leaving the control.
Issue #0031217

git-svn-id: trunk@53938 -
2017-01-13 15:20:53 +00:00
juha
b2658d37bc LCL: Temporary fix for focus jumping on Arrow keys between controls. Will be moved to WS code. Issue #22191, patch from AlexeyT.
git-svn-id: trunk@53933 -
2017-01-12 15:44:56 +00:00
juha
84f6fb1761 LCL-Carbon: Extend Carbon font support. Issue #21751, patch from David Jenkins.
git-svn-id: trunk@53931 -
2017-01-11 20:41:06 +00:00
juha
9dbedaa490 LCL: Show minimize button on form with borderstyle single also with XFCE. Issue #31207, patch from AlexeyT.
git-svn-id: trunk@53927 -
2017-01-11 15:49:16 +00:00
bart
f5c261f560 LCL: start implementing AllocPatternBitmap function (Delphi compatibility). Resolves Issue #0010587.
git-svn-id: trunk@53926 -
2017-01-11 13:30:07 +00:00
michl
a7a61d5156 LCL: Win32: TStaticText, TGroupBox: fixed right aligned caption
git-svn-id: trunk@53916 -
2017-01-10 16:47:20 +00:00
michl
72427c9f1b LCL: ThemeServices: draw better themed disabled text
git-svn-id: trunk@53915 -
2017-01-10 16:15:35 +00:00
michl
18ed0a8978 LCL: TLabel, TPanel: draw themed grayed caption if disabled
git-svn-id: trunk@53914 -
2017-01-10 16:14:08 +00:00
michl
53014c52ff LCL: Win32: TStaticText: draw themed disabled caption
git-svn-id: trunk@53913 -
2017-01-10 16:10:17 +00:00
michl
43f4250bb3 LCL: Win32: TStaticText: Formating
git-svn-id: trunk@53912 -
2017-01-10 16:07:02 +00:00
juha
c993ba74ff LCL-GTK2: Don't change parameters of method TGtk2WidgetSet.Polyline. Use a temp variable. Issue #31205, patch from C Western.
git-svn-id: trunk@53908 -
2017-01-10 10:31:09 +00:00
michl
76d8018a03 LCL: GroupBox: Win32: drawing a grayed caption if groupbox is disabled. Issue #27491
git-svn-id: trunk@53906 -
2017-01-09 16:55:49 +00:00
michl
e34a8ccba3 Menu designer: Fixed MainMenu top items doesn't draw in Windows XP. Issue #31163
git-svn-id: trunk@53900 -
2017-01-08 20:56:43 +00:00
michl
751e771242 LCL: Fixed of changing StaticText caption increase memory. Issue #31204
git-svn-id: trunk@53898 -
2017-01-08 11:45:08 +00:00
ondrej
5f5df812af LCL, win32: TMemo: remove Lines.BeginUpdate/EndUpdate for win32 for Delphi compatibility
git-svn-id: trunk@53888 -
2017-01-06 11:03:11 +00:00
michl
98625cfd74 LCL: TEdit/TMemo: use UTF8ToUTF16 instead of string magic to be FPC 2.6.4 compatible. Issue #8657
git-svn-id: trunk@53887 -
2017-01-06 07:12:54 +00:00
michl
b310cb9b16 LCL: TMemo: Fixed SetSelText scroll memo. Issue #8665 Modified patch from AlexeyT
git-svn-id: trunk@53886 -
2017-01-05 19:11:01 +00:00
sekelsenmat
207f8493e1 lazcanvas: Implements some abstract routines to avoid warnings
git-svn-id: trunk@53869 -
2017-01-03 15:51:43 +00:00
juha
a8646edc09 LCL: Take care of empty stream in TPortableAnyMapGraphic.IsStreamFormatSupported. Issue #31160, patch from José Mejuto.
git-svn-id: trunk@53867 -
2017-01-03 14:37:25 +00:00
blikblum
c4b93b0b50 gtk2: add notes for future investigation regarding mouse events
git-svn-id: trunk@53866 -
2017-01-03 14:09:07 +00:00
blikblum
b6cd220e6d gtk2: remove GTKMap (not used)
git-svn-id: trunk@53865 -
2017-01-03 14:09:00 +00:00
blikblum
9304de70c0 gtk2: simplify GetWinControlWidget
git-svn-id: trunk@53864 -
2017-01-03 14:08:53 +00:00
blikblum
eb69e77541 gtk2: remove remaining code used to supress warnings
git-svn-id: trunk@53863 -
2017-01-03 14:08:46 +00:00