Commit Graph

9273 Commits

Author SHA1 Message Date
andrew
a597438a7e Fixed error where an uninitialzed value was passed to cairo
git-svn-id: trunk@43652 -
2014-01-05 17:26:14 +00:00
andrew
dbfb74e2ae Fixed gtk3 binding error in g_application_register. The Gio-1.0.gir file does not have the third parameter so it's not a bug with gir2pascal.
git-svn-id: trunk@43651 -
2014-01-05 17:24:05 +00:00
bart
f4f2a396d1 win32 intf: documented that TColorDialog.Title cannot be set (Issue #0022491).
git-svn-id: trunk@43650 -
2014-01-05 15:49:10 +00:00
paul
06375fba9b cocoa: fix formatting
git-svn-id: trunk@43649 -
2014-01-05 11:38:57 +00:00
juha
a76c5900bc LCL: Fix GTK2 image transparency issues for common cases. Issue #25491, patch from Kostas Michalopoulos
git-svn-id: trunk@43644 -
2014-01-04 21:05:19 +00:00
juha
dfd9836690 LCL, ObjectInspector: Prevent triggering double-click when expanding ComboBox quickly. Issue #19918, patch from Flávio Etrusco
git-svn-id: trunk@43642 -
2014-01-04 14:17:24 +00:00
juha
c30eb3edd3 Clean outdated DEFINEs from the code, like old compiler versions and FPC_HAS_CONSTREF.
git-svn-id: trunk@43628 -
2014-01-02 18:16:19 +00:00
juha
ff218c978f Qt: one more minor optimization for TQtBitBtn.preferredSize.
git-svn-id: trunk@43627 -
2014-01-02 18:15:56 +00:00
juha
adf5bddf8b Qt: clean up TQtBitBtn.preferredSize after earlier change.
git-svn-id: trunk@43625 -
2014-01-01 12:04:45 +00:00
juha
ff965d788d Qt: remove a useless test for AWinControl.HandleAllocated in TQtWSWinControl.GetPreferredSize.
git-svn-id: trunk@43624 -
2013-12-31 20:58:10 +00:00
juha
1678af5484 Qt: Calculate the preferred size of BitBtn correctly in TQtBitBtn.preferredSize even if AutoSize=False.
git-svn-id: trunk@43623 -
2013-12-31 20:57:31 +00:00
maxim
8865d059e8 LCL, GTK2: don't link cairo-gobject, it breaks linking on older systems and shouldn't be necessary anymore since r26213 #f6f6a3aaea in FPC trunk; fixes bug #25460
git-svn-id: trunk@43622 -
2013-12-31 16:17:15 +00:00
freq
3fed2c1e38 Remove layout flickering on resizing Cocoa window
git-svn-id: trunk@43603 -
2013-12-27 19:11:41 +00:00
freq
22f271c161 Make Cocoa NSButton text changeable
git-svn-id: trunk@43602 -
2013-12-27 16:49:43 +00:00
bart
835bae06f5 CustomDrawn: fix incorrect {%MainUnit } header, which prevented codetools from working correctly.
git-svn-id: trunk@43601 -
2013-12-27 15:53:53 +00:00
bart
f2acb6b73f CustomDrawn: fix compilation on Windows. Issue #0024329.
git-svn-id: trunk@43600 -
2013-12-27 15:24:31 +00:00
freq
340c0f0266 Correct missing line - TCocoaWidgetSet.AppTerminate;
git-svn-id: trunk@43599 -
2013-12-27 10:52:05 +00:00
freq
cd6227e4c9 Fix memory leaks on hint windows and popup menu
git-svn-id: trunk@43598 -
2013-12-27 10:47:23 +00:00
freq
ea591448aa Fix memory leak
git-svn-id: trunk@43597 -
2013-12-27 10:46:26 +00:00
freq
14cfd3b843 Remove NSApp.terminate to enable lcl cleanup and unit finalization calls. Application.terminate still works.
git-svn-id: trunk@43596 -
2013-12-27 10:44:52 +00:00
bart
34e4585370 StatusBar: First try to implement BiDi support on Windows. Issue #0019671.
git-svn-id: trunk@43594 -
2013-12-26 00:31:14 +00:00
freq
012589fe57 Cocoa context has to be set first
git-svn-id: trunk@43593 -
2013-12-25 18:01:02 +00:00
maxim
8109841ef9 LCL, TCheckListBox: Change text direction in accordance with BiDiMode, bug #25450
git-svn-id: trunk@43587 -
2013-12-24 22:01:07 +00:00
freq
8db86f24e7 Add masking in TCocoaContext.StretchDraw
git-svn-id: trunk@43586 -
2013-12-23 17:08:57 +00:00
maxim
3ffbdeb81a LCL: BiDiMode and FlipChildren fixes for TRadioGroup, TCheckGroup and TCheckListbox, patch by wp, bug #25408
git-svn-id: trunk@43576 -
2013-12-21 14:20:20 +00:00
freq
b0287567ee Fix unassigned Rect value in Cocoa window creation and changed to constant in setlevel call during Cocoa hint window creation
git-svn-id: trunk@43570 -
2013-12-20 15:55:11 +00:00
paul
2868e7ee39 cocoa: formatting after freq commit
git-svn-id: trunk@43569 -
2013-12-19 01:46:36 +00:00
freq
60b3cbce65 Cocoa popup menu rework with IMenuItemCallback and TLCLMenuItemCallback
git-svn-id: trunk@43565 -
2013-12-18 16:44:54 +00:00
paul
125883d7bf cocoa: fix formatting and add several todo items for freq
git-svn-id: trunk@43539 -
2013-12-14 00:52:07 +00:00
freq
2cf7f3b363 Apply Popupcontextmenu close event
git-svn-id: trunk@43538 -
2013-12-13 14:18:55 +00:00
freq
2a38757de3 fix #0025393 Popup Menu doen't work with Cocoa widgetset
fix #0025390 Hint window doesn't work with Cocoa Widgetset

git-svn-id: trunk@43537 -
2013-12-13 13:59:24 +00:00
freq
42921b3dcb fix #0025407: MouseMove with pressed mouse button is not received in TFrame with Cocoa Widgetset
git-svn-id: trunk@43536 -
2013-12-13 09:58:50 +00:00
paul
0c0c60cfd9 cocoa: comment debugln
git-svn-id: trunk@43528 -
2013-12-09 13:09:52 +00:00
paul
ef8cb05ec6 cocoa: don't start endless focus loop
git-svn-id: trunk@43526 -
2013-12-09 01:28:56 +00:00
paul
51dd379665 cocoa: fix SetFocus result, part of mantis #25362
git-svn-id: trunk@43525 -
2013-12-09 00:28:44 +00:00
paul
112d8280f2 cocoa: forgotten file
git-svn-id: trunk@43524 -
2013-12-08 23:46:46 +00:00
paul
8628351055 cocoa: add initial dialogs implementation from accSone (mantis #0025409)
git-svn-id: trunk@43523 -
2013-12-08 23:42:07 +00:00
dmitry
1ae6ca0ef4 carbon: dropfiles on form fixed, the patch by Dr.Theopolis, #18486. Thank you, Doc!
git-svn-id: trunk@43511 -
2013-12-03 04:37:59 +00:00
dmitry
0a62d8b17e win32: updated the popup menu creation flag by using TPM_LAYOUTRTL for RtL mode. #25330
git-svn-id: trunk@43510 -
2013-12-02 05:11:48 +00:00
dmitry
a137955dff cocoa: fix the visibility of ListBox #25362, based on patch provided by accSone
git-svn-id: trunk@43494 -
2013-11-28 04:40:50 +00:00
dmitry
03aca40d68 cocoa: fix the implementation of ShowWindow function - checking the type of a handle passed
git-svn-id: trunk@43493 -
2013-11-28 03:40:07 +00:00
paul
67ecc37e5a cocoa: fix typo
git-svn-id: trunk@43492 -
2013-11-28 03:10:07 +00:00
dmitry
af918a5f9f cocoa: changed in window visiblity management
git-svn-id: trunk@43491 -
2013-11-28 03:04:12 +00:00
dmitry
9a8ce3c257 cocoa: change the initial allocation of the window. if parent mode is specified only a content control is created
git-svn-id: trunk@43485 -
2013-11-27 04:51:45 +00:00
dmitry
69a47e1ae7 cocoa: applying lcl formatting to the latest commit changed
git-svn-id: trunk@43484 -
2013-11-27 04:15:18 +00:00
dmitry
863c0b7125 cocoa: revise window creation approach. the handle returned from CreateHandle method is now window content, rather than window itself. to be done: create either window or panel based on the border style
git-svn-id: trunk@43481 -
2013-11-26 05:14:46 +00:00
maxim
faa6ee5f53 LCL, win32: make UpdateWindowsVersion detect Windows 8, patch by Tomasz Wieckowski, bug #25374
git-svn-id: trunk@43480 -
2013-11-25 22:19:52 +00:00
paul
4cb8725f1f cocoa: set window level on creation, disable hides on deactivate. Based on patch and finding of accSone, issue #25340
git-svn-id: trunk@43475 -
2013-11-23 10:32:17 +00:00
paul
6f8d2278a7 cocoa: invert bitmap coordintes
git-svn-id: trunk@43474 -
2013-11-23 09:43:58 +00:00
dmitry
c78384ddba cocoa: revising the structure of cocoa widgetset. for practice added cocoa progress bar to fullfill #22557
git-svn-id: trunk@43473 -
2013-11-23 05:24:29 +00:00
dmitry
2ff9c62e4a carbon: fix for freez if wakemainthread is called from the main thread prior to event loop initialization. #23393
git-svn-id: trunk@43469 -
2013-11-21 05:08:08 +00:00
paul
99e8e0f47f cocoa: fix BitBlt painting, based on patch of accSone, mantis #25336
git-svn-id: trunk@43468 -
2013-11-21 00:21:40 +00:00
paul
5bcb702049 cocoa: fix Rectangle painting based on patch of accSone, mantis #25338
git-svn-id: trunk@43467 -
2013-11-20 23:42:01 +00:00
paul
e3530b497b cocoa: fixed TMemo creation by accSone (issue #0025328)
git-svn-id: trunk@43461 -
2013-11-19 00:42:53 +00:00
paul
e700e2df51 cocoa: commit accSone patch which moves default gdi object creation/destruction to widgetset constructor/destructor. This makes them live inside autorelease pool. (issue #0025321)
git-svn-id: trunk@43457 -
2013-11-18 12:01:51 +00:00
zeljko
0d9f12f364 Qt: changed defines for TQtFloatSpinEdit and CPU64
git-svn-id: trunk@43442 -
2013-11-14 06:47:14 +00:00
zeljko
727508df80 Qt: cleanup
git-svn-id: trunk@43441 -
2013-11-14 06:38:07 +00:00
zeljko
b25aa3842e Qt: fixed another regression introduced with r43385 and r43386 #3af257647d
git-svn-id: trunk@43387 -
2013-11-07 10:20:22 +00:00
zeljko
3af257647d Qt: restore pen color if we change it during draw themed text. regression of r43385 #957507fca6. issue #25253
git-svn-id: trunk@43386 -
2013-11-07 07:33:44 +00:00
zeljko
957507fca6 Qt: fixed changing font color of themed text draw. issue #25253
git-svn-id: trunk@43385 -
2013-11-07 07:14:58 +00:00
zeljko
cd29849872 carbon: fix selecting an item in a TListView on Carbon when OwnerDraw is true.patch by Joost van der Sluis. issue #25274
git-svn-id: trunk@43384 -
2013-11-07 06:20:19 +00:00
mattias
19fb55dd6e LCL: gtk2: link with libcairo-gobject on Linux and fpc 2.7.1
git-svn-id: trunk@43336 -
2013-10-28 12:56:57 +00:00
zeljko
daca74abed Qt: implemented SWP_SHOWWINDOW and SWP_HIDEWINDOW in TQtWidgetSet.SetWindowPos.
git-svn-id: trunk@43333 -
2013-10-28 08:32:52 +00:00
zeljko
40b4393fe1 Qt: workaround for Qt raster engine bug when rectangle is drawn and pen is cosmetic. issue #25227
git-svn-id: trunk@43315 -
2013-10-24 07:08:33 +00:00
zeljko
b24e7d2f1b Qt: added note about spotted bug in Qt-4.8.5 lib when using raster graphicssystem.
git-svn-id: trunk@43308 -
2013-10-23 18:51:33 +00:00
jesus
9fb861018a LCL, qt, fix duplicated entries in comboboxes, listboxes when compiled with recent 2.6.3
git-svn-id: trunk@43275 -
2013-10-18 18:09:41 +00:00
zeljko
f62bd642a5 Qt: fixed sizing of autosized forms by ignoring sizepolicy for centralwidget when QTSCROLLABLEFORMS is enabled.
git-svn-id: trunk@43274 -
2013-10-18 07:39:35 +00:00
jesus
339bd86f13 LCL, carbon, implements CreateEllipticRgn
git-svn-id: trunk@43270 -
2013-10-18 00:54:12 +00:00
jesus
f4a8e84331 LCL, carbon, fix CombineRgn when op=diff and dst=src2, dst(src2) ended with a copy of src1 and result is src1 op src1
git-svn-id: trunk@43269 -
2013-10-18 00:33:43 +00:00
zeljko
f6fa81d118 LCL: TCustomListView: implemented SelectAll & ClearSelection for delphi compatibility. issue #19812
git-svn-id: trunk@43244 -
2013-10-14 07:35:34 +00:00
zeljko
6471321801 Qt: do not invalidate client rect cache in scrollable form viewport if we are embedded form (eg. docked).
git-svn-id: trunk@43243 -
2013-10-14 06:47:44 +00:00
zeljko
cda819b2eb Qt: do not loop with LCL when designing TPageControl, keep LCL sizes when InUpdate.
git-svn-id: trunk@43242 -
2013-10-14 06:28:24 +00:00
zeljko
108e9a59dc Qt: invalidate clientrect cache when viewport of scrollable form is resized.QTSCROLLABLEFORMS part.
git-svn-id: trunk@43241 -
2013-10-14 06:21:35 +00:00
zeljko
7185e1ba7d Qt: fixed QPainter assertion when QTSCROLLABLEFORMS is enabled.part of issue #24715
git-svn-id: trunk@43238 -
2013-10-13 12:48:39 +00:00
zeljko
ccf61e6739 Qt: fixed problem with clientrect sizes when QTSCROLLABLEFORMS are enabled.part of issue #24715
git-svn-id: trunk@43236 -
2013-10-13 12:22:11 +00:00
zeljko
87d90e960c Qt: fixed crash when QTSCROLLABLEFORMS are enabled and reparenting form with mouse (eg undock).part of issue #24715
git-svn-id: trunk@43234 -
2013-10-13 09:42:52 +00:00
zeljko
50760cf759 Qt: implemented scrollbars on forms (scrollable forms).Currently it works only if QTSCROLLABLEFORMS define is enabled in qtdefines.inc. issue #24715
git-svn-id: trunk@43218 -
2013-10-12 14:27:43 +00:00
zeljko
216a903513 Gtk3: implemented TCustomListView.ItemDelete, fixed crash in gtk3cellrenderer
git-svn-id: trunk@43200 -
2013-10-11 08:17:51 +00:00
zeljko
d29e9fa0b6 Qt: fixed regression in owner drawn combobox from rev.43135. issue #25172
git-svn-id: trunk@43180 -
2013-10-08 18:44:41 +00:00
zeljko
7c7a6705e6 Gtk2: pass TCheckListBox.OnDrawItem when Style <> lbStandard.issue #14071
git-svn-id: trunk@43178 -
2013-10-08 18:33:12 +00:00
zeljko
3c9d406abd Gtk2: fixed combobox themed paint (separated combo button from combo root).issue #25151
git-svn-id: trunk@43176 -
2013-10-08 13:51:50 +00:00
zeljko
95168b007a Qt: fixed drawer for themed TGroupBox.
git-svn-id: trunk@43175 -
2013-10-08 13:24:50 +00:00
zeljko
0a07967377 Gtk2: Gtk2Themes: return correct size value for checkbox and radiobutton
git-svn-id: trunk@43174 -
2013-10-08 13:03:12 +00:00
zeljko
3019dd8e23 Qt: fixed behaviour of checkable items when key space is pressed in TQtAbstractItemView.OwnerDraw mode.
git-svn-id: trunk@43173 -
2013-10-08 12:24:07 +00:00
zeljko
1d7b37b596 Qt: fixed wrong DrawState param for TQtListWidget when OnDrawItem is assigned (ownerdraw).
git-svn-id: trunk@43172 -
2013-10-08 12:12:12 +00:00
zeljko
c99e8695fb Qt: TQtTreeWidget: added odChecked to drawstate when OnDrawItem is assigned and we are checkable listview.
git-svn-id: trunk@43171 -
2013-10-08 12:09:32 +00:00
zeljko
8f366c15fc Qt: fixed checked item state and custom painting cdsChecked when TQtTreeWidget is ownerdrawn (assigned OnCustomDrawXXX).
git-svn-id: trunk@43170 -
2013-10-08 12:03:46 +00:00
zeljko
5ea4dab4d5 Qt: fixed TQtListWidget behaviour when it's owner drawn and checkable = true.
git-svn-id: trunk@43169 -
2013-10-08 10:43:34 +00:00
zeljko
5fcfa99343 Qt: improved teTreeView theme drawer, trigger IntfDoOnThemeChange when theme is changed.
git-svn-id: trunk@43168 -
2013-10-08 09:55:04 +00:00
zeljko
027ded12bd Qt: improved QtThemes.GetDetailSize by returning sizes of checkbox and radiobutton.
git-svn-id: trunk@43167 -
2013-10-08 09:19:05 +00:00
zeljko
407932aa7d Qt: fixed TQtCheckListBox triggering OnItemClick when TCheckListBox.Style <> lbStandard.
git-svn-id: trunk@43166 -
2013-10-08 09:02:44 +00:00
zeljko
3bc8a27299 Qt: TQtListWidget, TQtTreeWidget.itemDelegatePaint() draw background of item by default.related to issue #24941
git-svn-id: trunk@43158 -
2013-10-07 14:38:16 +00:00
zeljko
aaf99d7581 win32: implemented TListView.OwnerDraw. issue #25149
git-svn-id: trunk@43157 -
2013-10-07 13:40:26 +00:00
zeljko
8fd5d00b1b Gtk2: implemented themed draw of combobox.issue #25151
git-svn-id: trunk@43156 -
2013-10-07 12:08:08 +00:00
zeljko
11680d18c7 Qt: implemented teSpin in qt themes.
git-svn-id: trunk@43154 -
2013-10-07 10:05:19 +00:00
zeljko
c0da5619bc Qt: partially implemented teListView in qt themes
git-svn-id: trunk@43152 -
2013-10-07 09:37:00 +00:00
zeljko
0060290893 Qt: implemented teProgress in qt themes.
git-svn-id: trunk@43150 -
2013-10-07 09:25:55 +00:00
zeljko
88d5245c95 Qt: improved qt themes text drawer.
git-svn-id: trunk@43149 -
2013-10-07 08:56:36 +00:00
zeljko
9477d73519 Qt: improved Qt themes. Added tab drawing.
git-svn-id: trunk@43146 -
2013-10-07 08:34:18 +00:00
zeljko
891efd2ffd Qt: implemented TCustomListView OnCustomDraw, OnCustomDrawItem, OnCustomDrawSubItem. part of issue #7059
git-svn-id: trunk@43135 -
2013-10-06 17:22:53 +00:00