Commit Graph

7165 Commits

Author SHA1 Message Date
marc
ee3d4895ef * fixed compilation with fpc 2.2 on win64
git-svn-id: trunk@12717 -
2007-11-03 16:49:08 +00:00
mattias
59f3b4944b gtk intf: fixed TGtkWidgetSet.GetControlConstraints
git-svn-id: trunk@12714 -
2007-11-03 13:42:06 +00:00
mattias
22b7128760 LCL: fixing endless loop in win32: TWinControl.IsControlMouseMsg recognizes overlapping TWinControl, but will ignore them
git-svn-id: trunk@12713 -
2007-11-03 10:46:54 +00:00
marc
31f9b02560 * fixed compilation on fpc 2.0.4
git-svn-id: trunk@12711 -
2007-11-03 02:41:12 +00:00
marc
efe7d0f7c6 * Enabled bitmap.TransparentMode (fixes #10100)
git-svn-id: trunk@12706 -
2007-11-03 00:26:48 +00:00
mattias
985c21b33b LCL: TWinControl.IsControlMouseMsg checking for wincontrol childs - in case they overlap
git-svn-id: trunk@12704 -
2007-11-02 20:21:39 +00:00
mattias
81829658cf IDE: fixed run params FormResize code, LCL: using basebounds for computing order of align controls
git-svn-id: trunk@12700 -
2007-11-02 17:39:39 +00:00
mattias
cfaf975984 IDE: added flag to not compile IDE when just installing a package
git-svn-id: trunk@12699 -
2007-11-02 16:59:04 +00:00
mattias
09342edb8f gtk intf: fixed GetClientRect for notebook
git-svn-id: trunk@12694 -
2007-11-02 10:58:55 +00:00
mattias
ef2d81ca2c LCL: reduced debug output
git-svn-id: trunk@12693 -
2007-11-02 10:03:36 +00:00
paul
1c0de89202 gtk: TGtkWidgetSet.FillRect should not fill whole DC if rect is empty
git-svn-id: trunk@12691 -
2007-11-02 09:07:22 +00:00
paul
2f77419302 gtk: make TGtkWidgetSet.GetSystemMetrics more safe
git-svn-id: trunk@12690 -
2007-11-02 08:30:05 +00:00
paul
367e41cd19 qt: TCustomControl cannot have PreferredSize (fix ToolBar autosize)
git-svn-id: trunk@12689 -
2007-11-02 08:22:05 +00:00
paul
4c440ab33d qt: correct TQtWidgetSet.DrawFocusRect
git-svn-id: trunk@12688 -
2007-11-02 05:49:31 +00:00
paul
af5c0eef84 qt: make TQtWidgetSet.GetSystemMetrics more safe
git-svn-id: trunk@12687 -
2007-11-02 05:34:12 +00:00
paul
d59531f75d gtk: make TGtkWidgetSet.GetSystemMetrics more safe
git-svn-id: trunk@12686 -
2007-11-02 04:06:10 +00:00
paul
cf1ef4b245 gtk: remove 2 WriteLns from code
git-svn-id: trunk@12685 -
2007-11-02 03:55:03 +00:00
paul
ad65de5bd4 gtk2: load custom cursor workaround for windows
git-svn-id: trunk@12684 -
2007-11-02 03:39:56 +00:00
marc
8702a324fd * Forced graphic to be transparent when TImage is transparent (fixes #10084)
git-svn-id: trunk@12683 -
2007-11-02 01:28:32 +00:00
mattias
e258ad4d35 LCL: fixed updating pending AutoSize requests after EableAutoSizing
git-svn-id: trunk@12681 -
2007-11-01 15:42:48 +00:00
mattias
1a09783017 LCL: TScrollingWinControl: using ClientWidth/Height as minimums for GetLogicalClientRect if no ranges are specified
git-svn-id: trunk@12680 -
2007-11-01 14:46:29 +00:00
mattias
112a347fa5 LCL: autosizing now uses logical clienrect, so Align<>alNone controls now fills the whole logical area
git-svn-id: trunk@12679 -
2007-11-01 14:32:15 +00:00
mattias
6157d8c8b3 LCL: TScrollBox: fixed calculating ranges - it no longer uses controls sides that depends on parents clientrect
git-svn-id: trunk@12678 -
2007-11-01 13:44:26 +00:00
mattias
7a6eecdba3 gtk intf: set min constraints for controls to 1x1
git-svn-id: trunk@12676 -
2007-11-01 12:49:24 +00:00
mattias
6b5f9e4f97 codetools: added dbgs overload for int64
git-svn-id: trunk@12675 -
2007-11-01 11:40:27 +00:00
paul
2b06109c9b gtk: change formatting a bit
git-svn-id: trunk@12674 -
2007-11-01 03:25:21 +00:00
paul
7bcafcc8d0 gtk: change formatting a bit
git-svn-id: trunk@12673 -
2007-11-01 03:11:55 +00:00
paul
687b185129 gtk2:
- change formatting a bit (remove spaces between identifier and type, decapitalize words 'Case', 'Function', 'End')
- correct bsNone for windows - now form with this flag have no 3d border around (hintWindow and splash screen looks nicer)

git-svn-id: trunk@12672 -
2007-11-01 03:03:01 +00:00
mattias
77f041d1b0 IDE: imporved env opts dlg
git-svn-id: trunk@12670 -
2007-11-01 02:30:39 +00:00
mattias
178543e288 LCL: reduced number of TWSWinControlClass.SetBounds calls
git-svn-id: trunk@12668 -
2007-11-01 02:05:47 +00:00
paul
9604f97caa gtk2: clHighlightText changed to more apropriate
git-svn-id: trunk@12665 -
2007-10-31 12:59:53 +00:00
vincents
9781c17c6f LCL: use owning form as owner of a color dialog for a colorbutton, fixes bug #10070.
git-svn-id: trunk@12664 -
2007-10-31 12:37:05 +00:00
mattias
3938965642 LCL: added compile flag VerboseResizeFlicker
git-svn-id: trunk@12663 -
2007-10-31 12:10:27 +00:00
vincents
273b5da323 LCL: keep selected item list of a treeview ordered (#9951), fixes also bug #9750 from Gerard Visent
git-svn-id: trunk@12661 -
2007-10-31 09:55:33 +00:00
mattias
419f5911b4 LCL: reduced notes
git-svn-id: trunk@12658 -
2007-10-31 09:41:58 +00:00
paul
d6b46fcbb5 decapitalize keywords Procedure, Function, Begin, End
git-svn-id: trunk@12655 -
2007-10-31 03:38:04 +00:00
paul
24ed6d4373 qt:
- make preferredSize virtual member of TQtWidget
- reimplement preferredSize for TQtPushButton to make autosized buttons look better (ide dialogs are nicer now)

git-svn-id: trunk@12654 -
2007-10-31 03:05:54 +00:00
paul
4cd7b9125b gtk:
- simplify TGtkWSWinControl.SetBorderStyle
- correct TGTKAPIWidget for gtk2-win32
- set border according to borderStyle for gtk2

git-svn-id: trunk@12653 -
2007-10-31 02:18:41 +00:00
marc
f30ed6d999 * fix issue #10047, crash when masked image is stretched
git-svn-id: trunk@12649 -
2007-10-30 22:32:04 +00:00
tombo
2c861e8f39 Carbon intf: fixed align on TPage
git-svn-id: trunk@12646 -
2007-10-30 10:36:41 +00:00
tombo
236ee9a8bb Carbon intf: implemented TMemo.Alignment
* last panel of TStatusBar fills it to right

git-svn-id: trunk@12644 -
2007-10-30 09:50:15 +00:00
vincents
43cd1b77bd win32 interface: removed stock brushes and statusfont and message font; they are not used.
git-svn-id: trunk@12642 -
2007-10-30 09:09:05 +00:00
mattias
fe3cf23b63 LCL: ClientRect Left<=Top, Top<=Bottom check
git-svn-id: trunk@12641 -
2007-10-30 02:53:20 +00:00
mattias
9436edc31c LCL: constraints min size is 0
git-svn-id: trunk@12640 -
2007-10-30 02:48:47 +00:00
mattias
10a44b7cd4 LCL: prepared debugging
git-svn-id: trunk@12639 -
2007-10-30 02:36:52 +00:00
paul
a1e7edc076 win32: prevent combobox height resizing since windows combobox has fixed height (by Mattias instructions)
git-svn-id: trunk@12638 -
2007-10-30 02:18:01 +00:00
mattias
7cfea46dc7 LCL: reduced debugging output
git-svn-id: trunk@12635 -
2007-10-29 23:46:18 +00:00
mattias
e3da21c00b IDE: compiler optts dlg: fixed flickering in code page
git-svn-id: trunk@12633 -
2007-10-29 23:09:21 +00:00
mattias
0d29c31f7c gtk2 intf: implemented selection change for file dialogs
git-svn-id: trunk@12632 -
2007-10-29 22:47:46 +00:00
paul
4dfe601068 qt:
- add qtdefines.inc (place for global qt defines)
- force qt 4.3 under windows

git-svn-id: trunk@12630 -
2007-10-29 15:11:49 +00:00
sekelsenmat
91d7364451 Small fix for events on Qt.
git-svn-id: trunk@12624 -
2007-10-29 09:10:25 +00:00
paul
2ea31e1d92 qt:
- fix previous error in StrechMaskBlt formula (r12581) {Thanks to Felipe and Mattias}
- take transform matrix of Source DC into account while Blitting (issue #0010018)

git-svn-id: trunk@12622 -
2007-10-29 06:42:13 +00:00
paul
92057d6f41 rename previously introduced method 'GetMouseInteractiveInDesigner' to 'GetDesignInteractive'
git-svn-id: trunk@12620 -
2007-10-28 16:38:49 +00:00
mattias
c639191753 IDE: compiler opts dlg: fixd lblCompiler spacing, LCL: fixed consistency using GetSpace instead of GetSideSpace
git-svn-id: trunk@12619 -
2007-10-28 12:50:46 +00:00
mattias
223e59af66 LCL: fixed AlignControls when ClientRect changes during update, LCL: AutoSize now uses WithThemeSpace as default, gtk1 intf: implemented GetPreferredSize for WithThemeSpace, LCL: changed TButton/TBitBtn.BorderSpacing.InnerBorder from 4 to 0, IDE: removed InnerBorder values from IDE dialogs
git-svn-id: trunk@12615 -
2007-10-28 00:33:23 +00:00
mattias
61848f6cad LCL: published TRadioGroup.AutoSize - the bugs are fixed :)
git-svn-id: trunk@12614 -
2007-10-27 18:31:23 +00:00
mattias
1d517decaf IDE: fixed auto code templates to not always add the typed character, IDE: fixed resetting IDE ToolStatus, fixing crash when double clicking on install package button, IDEIntf: added property OpenEditorsOnCodeToolChange to allow tools to cleanly change sources (this fixes the bug of quickfix items not working with temporary files)
git-svn-id: trunk@12613 -
2007-10-27 18:26:35 +00:00
mattias
79add3b56e LCL: TButtonPanel: minor clean up and reduced overhead while aligning and loading
git-svn-id: trunk@12607 -
2007-10-27 18:09:00 +00:00
marc
be31650df1 * Enabled alpha loading for 32bpp bitmaps
git-svn-id: trunk@12604 -
2007-10-27 01:15:32 +00:00
marc
86ade33658 * Improved bitswapping
git-svn-id: trunk@12603 -
2007-10-27 00:36:56 +00:00
marc
2b918a0dba * Removed gtk1 ifdefs
git-svn-id: trunk@12602 -
2007-10-26 23:34:14 +00:00
paul
5a22410984 gtk2:
- TGtk2WSCustomEdit.SetSelStart, TGtk2WSCustomEdit.SetSelLength
- replace some 'if not HandleAllocated then' with 'if not WSCheckHandleAllocated then'

git-svn-id: trunk@12599 -
2007-10-26 16:17:18 +00:00
vincents
78c0168346 LCL: clean up of defaulttranslator from Luis Rodrigues (#9942)
git-svn-id: trunk@12598 -
2007-10-26 14:32:11 +00:00
paul
5242f5d1c4 lcl: prevent removing neighbor Tab on changing TabVisible
git-svn-id: trunk@12596 -
2007-10-26 09:21:07 +00:00
paul
8039ec242a lcl: TabVisible should not affect control in designer (issue #0009997)
git-svn-id: trunk@12595 -
2007-10-26 06:11:40 +00:00
andrew
a924505277 Fixed gtk2 combobox OnDropDown and OnCloseUp to be more reliable
git-svn-id: trunk@12594 -
2007-10-26 04:07:33 +00:00
andrew
aa3499494a fixed gtk1 some more
git-svn-id: trunk@12593 -
2007-10-26 03:31:49 +00:00
andrew
d20f251adf Fixed compiliation for gtk1
git-svn-id: trunk@12592 -
2007-10-26 03:27:50 +00:00
andrew
a9d5aa40ef Fixed crash for linux 64bit. also will compile for fpc 2.0.4
git-svn-id: trunk@12591 -
2007-10-26 03:12:48 +00:00
paul
d9d3e3ca2a gtk: fix compilation of gdk_pixbuf_get_alpha under fpc > 2.0.4
git-svn-id: trunk@12590 -
2007-10-26 03:01:03 +00:00
paul
003f4e5ac2 gtk2 for windows: reorder combobox event sequence
git-svn-id: trunk@12589 -
2007-10-26 02:14:16 +00:00
paul
fcf15718e0 carbon: make pen shapes the same as windows has
git-svn-id: trunk@12588 -
2007-10-26 01:39:39 +00:00
marc
9313297b28 * Fixed rowstride rounding
* Fixed bitmap endianes on bigendian displays
* Fixed pixbuf alpha loading on bigendian displays
(fixes #9740)

git-svn-id: trunk@12587 -
2007-10-26 00:08:10 +00:00
paul
0f0f03df6f gtk:
- change PenStyle shapes to be the same as in windows (since gtk has no predefined pen shapes)
- add coefficient depended on platform to make gtk2-windows pen dash sizes be the same as under linux

git-svn-id: trunk@12586 -
2007-10-25 08:27:47 +00:00
paul
227e90ee24 publish visible property for TButtonPanel (from Aleksey Lagunov)
git-svn-id: trunk@12584 -
2007-10-25 02:17:13 +00:00
paul
14ee2d706e win32: Partial implementation of TWin32WSCustomPage.UpdateProperties from Anton Kavalenka
git-svn-id: trunk@12583 -
2007-10-25 02:00:46 +00:00
paul
cdad49e2bd gtk: simplify UpdateStatusBarPanel and reduce gtk warings in console
git-svn-id: trunk@12582 -
2007-10-25 01:53:16 +00:00
paul
72c2520711 qt: slightly change formula in StretchMaskBlt to prevent unneeded stretching (issue #10011)
git-svn-id: trunk@12581 -
2007-10-25 00:54:45 +00:00
paul
d7545c1a27 move TmSchema to implementation (will it fix anything?)
git-svn-id: trunk@12578 -
2007-10-24 08:47:22 +00:00
michael
e22b210485 * renamed to avoid conflict with gtkobject.inc of gtk2 units in packages
git-svn-id: trunk@12577 -
2007-10-24 08:03:07 +00:00
paul
86b2cfaab0 gtk2: use 'popup-shown' property listening to identify dropDown and closeUp combobox events under windows
git-svn-id: trunk@12575 -
2007-10-24 06:52:27 +00:00
paul
6afb960278 gtk: fix reading of bitmap mask under non-X systems
git-svn-id: trunk@12574 -
2007-10-24 02:43:28 +00:00
andrew
56ff3fad9c fixed combobox memory leak - found by Paul
git-svn-id: trunk@12573 -
2007-10-24 01:09:47 +00:00
andrew
4060692692 fixed gtk2 compilation for windows(hopefully)
git-svn-id: trunk@12572 -
2007-10-24 00:40:45 +00:00
andrew
35e76c1971 fixed gtk2 combobox to use only one gtkrenderertext and not one for each item. It should improve loading a large list of items into a combobox
git-svn-id: trunk@12571 -
2007-10-24 00:33:52 +00:00
paul
0c359236ac themes: add size of drop down part of toolbutton
git-svn-id: trunk@12570 -
2007-10-23 22:59:41 +00:00
tombo
7ac17a32e0 Carbon intf: Patch #0009952: Patch to add SetCursorPos function to LCL CarbonWidgetSet from James Chandler Jr.
git-svn-id: trunk@12568 -
2007-10-23 15:34:01 +00:00
andrew
5ba8252275 Fixed some gtk2 memory leaks where GtkTreePath's were not freed
git-svn-id: trunk@12565 -
2007-10-23 14:47:19 +00:00
paul
4480d1ed60 lcl: draw ToolBar using themes (through -dUseThemes switch). only for manifested winxp at moment
git-svn-id: trunk@12562 -
2007-10-23 12:11:26 +00:00
paul
8649f4eda1 fix gtk LoadBitmapData for images with Width not divided by 8
git-svn-id: trunk@12561 -
2007-10-23 09:01:50 +00:00
paul
7d152dfb5b little speedup for previous commit from giantm
git-svn-id: trunk@12560 -
2007-10-23 08:10:49 +00:00
paul
b9e61a07f7 lcl, win32: fix 2 bitmap mask problems
git-svn-id: trunk@12559 -
2007-10-23 07:11:18 +00:00
paul
3be134f57d ide: fix memory leak in imagelist editor
git-svn-id: trunk@12558 -
2007-10-23 02:47:38 +00:00
vincents
3e3e217a58 fixed gtk2 Makefile
git-svn-id: trunk@12557 -
2007-10-23 01:45:41 +00:00
andrew
71cb81c8b0 Fixed gtk2 bug #9974. Now Gtk2 Memo will scroll correctly for sure when Selstart is set or the Cursor is at the insertion point when text is added
git-svn-id: trunk@12556 -
2007-10-22 22:44:31 +00:00
vincents
6c588075a8 regenerated makefile for better cross compilation support (#9924)
git-svn-id: trunk@12554 -
2007-10-22 21:33:01 +00:00
mattias
5fa66be34e IDE: fixed i18n flags for packages
git-svn-id: trunk@12547 -
2007-10-21 22:16:26 +00:00
andrew
6911f11c59 Reworked gtk1 TTrayIcon. Now we don't use a TForm hack but instead use a GtkPlug
git-svn-id: trunk@12546 -
2007-10-21 20:56:27 +00:00
paul
a2c91cf4a1 fix: checkbox click: was called more than needed in one case and was not called at all in another
git-svn-id: trunk@12541 -
2007-10-21 06:00:46 +00:00
mattias
b75d65f8d7 IDE: improved various dialogs using the new LCL bugfixes
git-svn-id: trunk@12539 -
2007-10-20 22:53:55 +00:00