Commit Graph

16698 Commits

Author SHA1 Message Date
andrew
fbc2b77b80 renamed xlib2 to lazxlib2
git-svn-id: trunk@43674 -
2014-01-08 04:03:42 +00:00
andrew
bf725981ef gtk3 Added remove implementation for tpagecontrol
git-svn-id: trunk@43673 -
2014-01-08 03:18:11 +00:00
andrew
9a1fb28534 gtk3 fixed tpages caption being set on create
git-svn-id: trunk@43672 -
2014-01-08 02:37:48 +00:00
andrew
3751b5d0a1 Added function to retrieve TNotebook Tab text
git-svn-id: trunk@43670 -
2014-01-07 22:42:04 +00:00
andrew
de64e0a5e3 added setText for gtk3 TPage. still need to set initial page value correctly
git-svn-id: trunk@43669 -
2014-01-07 05:55:09 +00:00
andrew
733f28950f Set TColortoTGdkRGBA alpha to 1 by default
git-svn-id: trunk@43668 -
2014-01-07 04:33:09 +00:00
paul
6617df26ff cocoa: fix formatting
git-svn-id: trunk@43667 -
2014-01-07 04:25:04 +00:00
andrew
2c26fb1733 Converted some gtk3 color stuff using GdkRGBA
git-svn-id: trunk@43665 -
2014-01-06 22:16:12 +00:00
andrew
be58776d84 added TColorToGdkRGBA and GdkRGBAtoTColor. converted gtk3 code to use the new widget.override_* colors correctly
git-svn-id: trunk@43664 -
2014-01-06 20:34:35 +00:00
andrew
66d5951e59 Updated gtk3 bindings to 3.8.6. Also bindings now include the missing error: PPGError on all needed procedures
git-svn-id: trunk@43663 -
2014-01-06 19:43:08 +00:00
freq
cc30f43ab4 Fix Cocoa window move and resize update and control anchor align problems
git-svn-id: trunk@43662 -
2014-01-06 17:35:10 +00:00
maxim
18a463791b LCL: fixed TComboBox autocompletion with numeric (non-numpad) keys, patch from Gilson Nunes, bug #25495
git-svn-id: trunk@43660 -
2014-01-06 15:05:48 +00:00
maxim
229d28ca58 Translations: corrected hotkey in LCL Slovak translation, bug #25496
git-svn-id: trunk@43654 -
2014-01-06 13:56:31 +00:00
paul
849077bfc5 gtk2: fix potential bug in TGtkDeviceContext.SelectBitmap
git-svn-id: trunk@43653 -
2014-01-06 09:34:05 +00:00
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
paul
39872a9b0a lcl: simplify DrawText for empty strings (maybe fixes mantis #0025458)
git-svn-id: trunk@43648 -
2014-01-05 11:16:30 +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
bart
26611f46f0 Dialogs: Do not show an icon in MessageDlg is DialogType = mtCustom.
Reason: Delphi compatibility. Resolves issue #0025475.

git-svn-id: trunk@43621 -
2013-12-31 14:47:40 +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
blikblum
0b22143078 lcl: only reset controldatalink after listsource changes when controldatalink is active. Issue #25454
git-svn-id: trunk@43595 -
2013-12-26 18:15:47 +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
juha
64c608bdfe Hungarian translation. Originally from Fehér Dávid (dfeher), Gábor, Athomas and others.
git-svn-id: trunk@43581 -
2013-12-22 12:15:22 +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
juha
8b432a262d Minor improvements to Finnish translation
git-svn-id: trunk@43575 -
2013-12-21 13:00:22 +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
bart
614130f5b7 ValEdit: Remove duplicate line in TItemProp.AssignTo
git-svn-id: trunk@43545 -
2013-12-15 22:30:36 +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
bart
5ee42804bb LCLType: Fix typo: MB_ICONASTERICK -> MB_ICONASTERISK
git-svn-id: trunk@43532 -
2013-12-10 21:59:45 +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
bart
60b306caa2 ValEdit: In TValueListEditor.ValidateEntry when validation fails, don't continue searching for more violations.
Issue #0025161.

git-svn-id: trunk@43521 -
2013-12-07 17:32:54 +00:00
blikblum
bf893993a5 lcl: update lookup list in DatasetChanged event. Fix issue #25400
git-svn-id: trunk@43512 -
2013-12-07 10:40:43 +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
marc
29108eb545 LCLgraphics:
* Fix possible buffer overflow

git-svn-id: trunk@43497 -
2013-11-29 08:36:53 +00:00
marc
820bd64580 LCLgraphics:
* Rewrite RLE4 code. Fixes #0025366
* Updated RLE8 to be consistent with RLE4 code

git-svn-id: trunk@43496 -
2013-11-28 23:51:37 +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
juha
b99a80c49f LCL: New method ForceFilter for FilterEdit. Issue #25258, patch from Cyrax.
git-svn-id: trunk@43482 -
2013-11-26 22:12:08 +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
blikblum
8c91bab6ee lcl: call RecordChanged in TFieldDataLink.LayoutChanged to match Delphi behavior
git-svn-id: trunk@43479 -
2013-11-25 18:33:17 +00:00
blikblum
b9a242e94c lcl: reset controldatalink after listsource changes in lookup controls to ensure proper sync between control display and dataset content
git-svn-id: trunk@43478 -
2013-11-25 00:06:18 +00:00
blikblum
f8ca4d297e lcl: remove dbctrls.ExtractFieldName since it is not needed anymore (db.ExtractFieldName already implemented)
git-svn-id: trunk@43477 -
2013-11-24 23:42:57 +00:00
blikblum
e35c0db3e2 lcl: do not try to open closed dataset in lookup controls since the moment of opening is unpredictable and can lead to crashes. See http://forum.lazarus.freepascal.org/index.php/topic,17355.msg96112.html
git-svn-id: trunk@43476 -
2013-11-24 23:38:58 +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
paul
222560f8b8 lcl: fix types for GDI objects by accSone
git-svn-id: trunk@43456 -
2013-11-18 01:10:28 +00:00
bart
1031a1b63d TCustomForm: save Sreen.Cursor before ShowModal and restore it afterwards.
Resolves issue #0023374.

git-svn-id: trunk@43448 -
2013-11-17 14:32:01 +00:00
zeljko
a54cbc502f LCL: TControlCanvas: do not flood terminal about painting outside of paint event for widgetsets which actually supports painting outside of paint event.
git-svn-id: trunk@43443 -
2013-11-14 07:05:53 +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
maxim
11833752c5 Translations: Polish translation update by Tomasz Wieckowski, bug #25308
git-svn-id: trunk@43433 -
2013-11-12 21:29:53 +00:00
mattias
82085e2c7d LCL: TToolBar: when BidiMode righttoleft put controls rightmost
git-svn-id: trunk@43420 -
2013-11-11 12:47:22 +00:00
mattias
4cc7a3f380 IDE: cut handles when starting applications
git-svn-id: trunk@43391 -
2013-11-07 12:52:03 +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
bart
c77e5896f2 THintWindow: adjust for BidiMode in CalcHintRect.
Slight improvement on r43367 #9e3191112e.

git-svn-id: trunk@43373 -
2013-11-04 17:33:48 +00:00
bart
2937458fa6 TApplication: adjust position of THintWindow depending on LTR or RTL alignment.
git-svn-id: trunk@43368 -
2013-11-03 23:13:54 +00:00
bart
9e3191112e THintWindow: adjust for BidiMode in CalcHintRect.
Issue #0025275.

git-svn-id: trunk@43367 -
2013-11-03 22:39:34 +00:00