Commit Graph

5973 Commits

Author SHA1 Message Date
tombo
c44f23e18d Carbon intf:
- patch #0008537 by Philip J. Hess - Adds basic TOpenDialog, TSaveDialog and TSelectDirectoryDialog
- debug and tracing info, OSError for checking Carbon calls as Philip J. Hess proposed
- started TMainMenu, TPopupMenu, Hints
- TabOrder, TabStop, focusing
- TGraphicControl and TCustomControl descendants improved 

git-svn-id: trunk@10828 -
2007-03-29 13:50:41 +00:00
mattias
a46e0d0b54 LCL: changed TApplication.AddOnIdleHandler to use TIdleEvent instead of TNotifyEvent, IDE: codebrowser: added resourcestrings
git-svn-id: trunk@10823 -
2007-03-28 19:01:27 +00:00
andrew
12580dd206 Fixed TGtk2WSComboBox.SetFont - Broken since r10238 #e280cbf19f. Notably made the Search Results window in lazarus gtk2 cause an exception and not display
git-svn-id: trunk@10822 -
2007-03-28 18:13:54 +00:00
andrew
0931fdcd4f applied patch from Valdas Jank for bug #8581. correctly detects maximized forms now
git-svn-id: trunk@10821 -
2007-03-28 17:14:29 +00:00
paul
d90cad2972 - moved DoShow, DoHide, OnShow, OnHide from TTabSheet to TCustomPage (ancestor)
- fireing OnShow and OnHide on page changing

git-svn-id: trunk@10816 -
2007-03-28 04:48:30 +00:00
vincents
1df50a5823 fixed building gtk2 on win64 (I haven't found win64 gtk2 dlls though).
git-svn-id: trunk@10814 -
2007-03-27 13:38:48 +00:00
vincents
85a311aa33 LCL: made DrawFrameRect declaration the same as in the windows unit (bug #8468)
git-svn-id: trunk@10813 -
2007-03-27 10:36:49 +00:00
paul
1158d39fd8 - publishing TMemo.OnDblClick event
git-svn-id: trunk@10812 -
2007-03-27 09:33:50 +00:00
paul
7cbd5a47d5 - publishing TMemo.OnClick event
git-svn-id: trunk@10811 -
2007-03-27 07:47:33 +00:00
vincents
8ac2f8b036 win32 interface: fixed several range errors
* create app window without caption, so that GetWindowSize doesn't return a negative size
* prevent usage of uninitialized array similar to r10798 #eaf391320b

git-svn-id: trunk@10810 -
2007-03-26 19:02:29 +00:00
vincents
4e8826349b LCL: read Form.RestoredLeft from the Left property if the from in wsNormal state.
Handeling WM_MOVE doesn't work, because windows sends WM_MOVE before WM_SIZE when a form becomes maximized and we have no information to ignore that WM_MOVE message.
same for RestoredTop
Fixes bug #8077.

git-svn-id: trunk@10806 -
2007-03-26 14:57:16 +00:00
vincents
d69e8e388f LCL: commented debug output of TWinControl.WMChar
git-svn-id: trunk@10804 -
2007-03-26 10:01:08 +00:00
mattias
f107b6226b gtk intf: fixed sending LM_CHAR
git-svn-id: trunk@10803 -
2007-03-26 09:43:02 +00:00
paul
d1bb7723c4 - forgotten file
git-svn-id: trunk@10800 -
2007-03-25 16:40:39 +00:00
paul
7e597d9d71 - added missed property TCustomListBox.Count for Delphi compatability
git-svn-id: trunk@10799 -
2007-03-25 16:12:00 +00:00
micha
eaf391320b * prevent usage of uninitialized array (found by Vincent)
git-svn-id: trunk@10798 -
2007-03-25 12:38:07 +00:00
vincents
358efe1c14 LCL: fixed range errors in FileNameIsTrimmed
git-svn-id: trunk@10797 -
2007-03-25 11:50:14 +00:00
paul
b561945e53 LCL: implemented setting default button using MB_DEFBUTTONx constants (bug #8517)
git-svn-id: trunk@10796 -
2007-03-25 08:09:10 +00:00
vincents
f657802132 LCL: FileListBox mask defaults to '*' on windows too, so directories without . in the name can be found too.
git-svn-id: trunk@10795 -
2007-03-24 22:06:47 +00:00
micha
45a076d5b7 remove unnecessary units due to r10793 #dfb4fe7303
git-svn-id: trunk@10794 -
2007-03-24 16:24:04 +00:00
micha
dfb4fe7303 replace Add/RemoveSocketEventHandler with simpler win32 specific interface
git-svn-id: trunk@10793 -
2007-03-24 16:17:33 +00:00
paul
4756aea65c - Default property affected only first button
git-svn-id: trunk@10787 -
2007-03-23 13:52:07 +00:00
paul
7ce330fb4c - removed double freeing
git-svn-id: trunk@10786 -
2007-03-23 01:47:55 +00:00
marc
e4fbd77e28 * cursor improvement
git-svn-id: trunk@10785 -
2007-03-23 01:02:26 +00:00
micha
4a2154935d win32 intf: use rtl unit instead of package, use new Remove method
git-svn-id: trunk@10784 -
2007-03-22 20:54:06 +00:00
micha
c05d288360 initial implementation of gui loop socket event handler (needed for win32 msg loop)
git-svn-id: trunk@10783 -
2007-03-22 20:41:38 +00:00
vincents
27409f3080 gtk interface: made Rectangle winapi compatible (bug #8342)
git-svn-id: trunk@10782 -
2007-03-22 19:10:10 +00:00
mattias
bb7d1e7f50 LCL: TCustomComboBox: do not fire OnSelect if ItemIndex is changed to -1
git-svn-id: trunk@10780 -
2007-03-22 10:44:01 +00:00
paul
aec06c66dd - fixed error in cursor reading previously introduced by me
- fixed cursor creating code in widgetsets

git-svn-id: trunk@10779 -
2007-03-22 02:24:41 +00:00
mattias
a2ffc321b3 implemented TPointerToPointerTree.Remove
git-svn-id: trunk@10777 -
2007-03-21 21:49:34 +00:00
vincents
ba7e804254 LCL: fixed drawing of [+] and [-] icons of a treeview item (bug #8531).
This will break it for gtk, but to fix that, the gtk implementation of TCanvas.Rectangle needs to be adjusted (bug #8342).

git-svn-id: trunk@10776 -
2007-03-21 21:41:39 +00:00
mattias
aa3864119c translations: german: updates from Joerg Braun
git-svn-id: trunk@10775 -
2007-03-21 08:26:18 +00:00
paul
3a609120e4 - new RawImageDescription from Tom. After last commit it works on LE too.
git-svn-id: trunk@10774 -
2007-03-21 02:14:32 +00:00
marc
8bd32dba70 * fixed bitsperpixel, bitorder and byteorder for included alpha
git-svn-id: trunk@10773 -
2007-03-21 01:11:13 +00:00
mattias
94552293bc rpm: using relativ paths for desktop menu item
git-svn-id: trunk@10772 -
2007-03-20 18:28:48 +00:00
paul
eb6c6b8985 typo in datasize calculation
git-svn-id: trunk@10770 -
2007-03-20 01:59:52 +00:00
paul
55da96e64c Hotspot fix for BE systems
git-svn-id: trunk@10769 -
2007-03-20 01:58:25 +00:00
paul
0362cde314 - forgotten cursor (crHelp - missed in carbon)
- cursors.lrs regenerated

git-svn-id: trunk@10768 -
2007-03-19 14:22:16 +00:00
mattias
5969cf4b03 gtk intf: omitting TComboBoxBox LM_CHANGED events during popup
git-svn-id: trunk@10767 -
2007-03-18 23:01:41 +00:00
mattias
91e8c58c50 LCL: TCanvas.DrawText: changing and restoring BKMode when Style.Opaque=false
git-svn-id: trunk@10766 -
2007-03-18 21:57:25 +00:00
paul
38e76eb55b - added missed carbon cursors
- regenerated cursors.lrs

git-svn-id: trunk@10762 -
2007-03-18 18:21:54 +00:00
vincents
597ac330fc LCL: use cl3DHilight and cl3DShadow instead of clWhite and clGray to match theme coloring better (bug #8519) from Valdas
git-svn-id: trunk@10760 -
2007-03-17 21:12:01 +00:00
mattias
407997bc6f gtk intf: TListBox: single selection mode: when selected item is deleted switch to mode SINGLE, when item is selected switch to BROWSE mode, issue #1428
git-svn-id: trunk@10758 -
2007-03-16 14:23:31 +00:00
marc
d50417ed40 * Fixed alphashift
git-svn-id: trunk@10755 -
2007-03-16 08:59:12 +00:00
marc
78aee44612 * Patch #8453 by Tom Gregorovic: UTF8ToUTF16 and UTF16ToUTF8 implementation
+ Added UTF16String
~ todo: use it and remove original conversion code from carbon

git-svn-id: trunk@10754 -
2007-03-16 00:00:08 +00:00
marc
957622e38c * Patch #8526 by Tom Gregorovic: Carbon interface modified to object approach like Qt and other improvements
git-svn-id: trunk@10753 -
2007-03-15 23:52:29 +00:00
marc
b5df97096a * patch from Paul Ishenin:
1. paritial implemented TCarbonCursor (without custom cursor)
  2. implemented TCarbonWidgetSet [CreateCursor (only stub to TCarbonCursor), CreateStandardCursor, DestroyCursor, SetCursor]
  3. implemented handling control cursors
  todo: custom cursor, but I should look at bitmaps, pixmaps, ... first

git-svn-id: trunk@10751 -
2007-03-14 23:08:14 +00:00
vincents
c8c9280862 LCL: don't round Font.Size (is integer anyway), fixes IE309991 given by fpc 2.3.1
git-svn-id: trunk@10750 -
2007-03-14 20:02:56 +00:00
jesus
c1e14d850d dbgrid: update field textusing text property so field's OnSetText event can be used (from Aleksey Lagunov)
git-svn-id: trunk@10746 -
2007-03-13 23:56:32 +00:00
marc
7db0d40c31 * fixed compilation of win32-gtk2 (doesn't run yet)
* fixed use of correct gtk in pairsplitter
* some cleanup

git-svn-id: trunk@10745 -
2007-03-13 23:53:11 +00:00