Commit Graph

711 Commits

Author SHA1 Message Date
paul
6e2e2c1ff2 lcl: update visibility of methods to prevent compiler warnings
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
  - move some descendants methods from lower visibility to higher
  - fix use of protected KeyDown, Paint inside few ide units

git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
mattias
d778c5fb8e gtk2: fixed reading gtk width/height by manually updating allocation.width/height
git-svn-id: trunk@17449 -
2008-11-19 17:12:26 +00:00
paul
f9249c9272 gtk2: use gtk_widget_set_size_request instead of gtk_widget_set_usize since last is deprecated in gtk2
git-svn-id: trunk@16783 -
2008-09-29 05:39:50 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
marc
ce312d71a9 * Introduced Rasterimage.Masked property to distinguish between Alpha transparency and Masked transparency (fixes #0011850)
git-svn-id: trunk@16216 -
2008-08-24 22:56:56 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
75d4901a35 added lazdbexport-0.lpl
git-svn-id: trunk@16035 -
2008-08-12 13:11:31 +00:00
mattias
b5c52f240b gtk1+2: fixed reference count for style widget tooltip
git-svn-id: trunk@16002 -
2008-08-08 14:45:23 +00:00
paul
9a68acdbec - gtk1: dont realize GtkTooltip window
git-svn-id: trunk@15986 -
2008-08-07 15:52:53 +00:00
paul
988a36252e gtk: return drawing of clInfoBk with styled box
git-svn-id: trunk@15985 -
2008-08-07 15:42:08 +00:00
paul
d15814e550 gtk2: further fix filling with clInfoBk
git-svn-id: trunk@15984 -
2008-08-07 14:47:31 +00:00
paul
aaa5a7a953 - gtk: fix few errors related to brush fill with system color
- formating

git-svn-id: trunk@15909 -
2008-07-29 11:22:27 +00:00
mattias
6e27134bc2 gtk intf: enabled updating syscolormap
git-svn-id: trunk@15895 -
2008-07-27 21:21:11 +00:00
mattias
64237acc87 IDE+codetools: moved code browser parts to codetools
git-svn-id: trunk@15871 -
2008-07-25 23:01:08 +00:00
mattias
5f699ac8b2 gtk2: implemented TCanvas.ClipRect during paint, improved hiding/drawing caret with double buffer
git-svn-id: trunk@15865 -
2008-07-25 14:42:09 +00:00
mattias
e5805aab68 gtk/gtk2 intf: combobox: toggle selection mode to support ItemIndex=-1, fixed ReadOnly, updating intf ItemIndex cache on Delete/Insert/Change, refactoring for WS classes, from Luiz
git-svn-id: trunk@15842 -
2008-07-23 08:17:39 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
b26fda5243 gtk+gtk2+win32 intf: TComboBox: fixed LM_CHANGED, LM_SELCHANGED events, now LM_CHANGED are sent, whenever the text changes, from Luiz
git-svn-id: trunk@15831 -
2008-07-21 21:29:07 +00:00
paul
dabde77f8b lcl (from me and Marc):
- create bitmaps for icon in with icon description instead of alpha bitmaps (fixes #0011514, #0011539)
- add support for gtk mono cursors
- fix gtk2 shifts on pixbufs (gtk2 bug)
- misc graphic fixes

git-svn-id: trunk@15557 -
2008-06-24 03:45:36 +00:00
paul
db26dddf06 gtk1, gtk2: Add CreateIconIndirect implementation which returns pixbuf. Move CreateCursor code there and remove its declaration.
git-svn-id: trunk@15457 -
2008-06-18 09:14:27 +00:00
mattias
63efcb6dec gtk1 intf: workaround for popupmenu of TEdit/TComboBox mouse capture release bug #9452
git-svn-id: trunk@15423 -
2008-06-14 13:20:10 +00:00
mattias
e3520a6d50 gtk intf: reduced warnings/notes - use -dVerboseLCLTodos and -dVerboseGtkTodos to see them
git-svn-id: trunk@15422 -
2008-06-14 12:04:46 +00:00
paul
2c757eff9a lcl: make TToolButton TGraphicControl instead of TCustomControl. This is: a) delphi compatible b) eats less system resources
git-svn-id: trunk@15091 -
2008-05-11 06:57:49 +00:00
mattias
961e74cd37 gtk2 intf: fixed mem leak OpenDialog filter list
git-svn-id: trunk@14978 -
2008-04-25 22:09:23 +00:00
sekelsenmat
7d21f43d3b Fixes crash in PageControls in invisible pages. Fixes #9343.
git-svn-id: trunk@14902 -
2008-04-19 20:52:48 +00:00
sekelsenmat
87798ed1c2 Improves the window border and decoration code on gtk.
git-svn-id: trunk@14809 -
2008-04-12 18:13:02 +00:00
vincents
f769821d63 gtk interface: fixed compilation with fpc 2.3.1 (bug #11091)
git-svn-id: trunk@14738 -
2008-04-02 21:19:34 +00:00
paul
360224df38 small typo
git-svn-id: trunk@14594 -
2008-03-20 07:54:33 +00:00
paul
845a1c761d statusbar: implement SizeGrip for gtk2
git-svn-id: trunk@14593 -
2008-03-20 07:47:20 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
mattias
e4cad5b120 gtk intf: fixed RealizeAccelerate
git-svn-id: trunk@14300 -
2008-02-28 13:05:18 +00:00
mattias
d992ea6cf8 gtk intf: cleanup
git-svn-id: trunk@14188 -
2008-02-19 08:43:28 +00:00
mattias
a7e5a68b2c gtk2 intf: fixed checking accelerator vs 0 not vs obsolete GDK_VOIDSYMBOL
git-svn-id: trunk@14184 -
2008-02-18 15:51:55 +00:00
paul
4725a4fdfe more formatting
git-svn-id: trunk@13989 -
2008-02-06 06:51:46 +00:00
paul
df37b768a1 formatting
git-svn-id: trunk@13988 -
2008-02-06 06:36:10 +00:00
paul
dff1565eb1 gtk2:
- enable GetObject for HFont
- use MulDiv in font size calculation instead of *, div (as in font.inc) (Grzegorz Zakrzewski)
- use PixelsPerInchY instead of PixelsPerInchX (Grzegorz Zakrzewski)
- minor formatting

git-svn-id: trunk@13985 -
2008-02-06 04:37:06 +00:00
paul
b66fdb0bab gtk: remove LM_INTERNALPAINT and related things
git-svn-id: trunk@13848 -
2008-01-24 01:37:40 +00:00
paul
e48133ad74 gtk: perform erasing background on non opaque controls
git-svn-id: trunk@13842 -
2008-01-23 10:21:20 +00:00
paul
c60d5a52dd minor formatting
git-svn-id: trunk@13814 -
2008-01-21 01:39:54 +00:00
mattias
d49945c877 gtk intf: using translated strings for menu item short cuts
git-svn-id: trunk@13770 -
2008-01-15 21:59:26 +00:00
mattias
4f6a0dcd48 gtk2 intf: shrink close buttons of TNoteBook tabs, bug #9856
git-svn-id: trunk@13699 -
2008-01-09 21:13:01 +00:00
paul
c8d52d15d6 gtk:
- remove FinishComponentCreate: code moved to appropriate ws classes
- remove HookSignals (same reason)

git-svn-id: trunk@13537 -
2007-12-30 18:15:53 +00:00
paul
6c90924c4c gtk:
- remove obsoleted code
- fix mem leak in TGtkWSCustomControl.CreateHandle

git-svn-id: trunk@13494 -
2007-12-28 04:18:53 +00:00
paul
2f0de90ec1 gtk: move CreateComponent code for TPairSplitter, TScrollBox, TScrollBar to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13467 -
2007-12-26 08:52:02 +00:00
mattias
1816c3aa0a gtk intf: improved debugging
git-svn-id: trunk@13432 -
2007-12-23 10:25:21 +00:00
paul
5f4c1f9e2c gtk: offset should be added only if fixed widget also have no window (fixes something in lazreport)
git-svn-id: trunk@13366 -
2007-12-18 06:06:57 +00:00
jesus
58ba924d19 LCL, fix gtk intf compile with fpc r9485 #cb1741aade or later
git-svn-id: trunk@13359 -
2007-12-18 00:04:10 +00:00
paul
2611c3b386 lcl: reduce amount of hints and warnings from fpc
git-svn-id: trunk@13335 -
2007-12-15 06:39:19 +00:00
paul
b53639f2f0 fix problems after r13327 #7fe9f6360b with menu images
git-svn-id: trunk@13334 -
2007-12-15 05:42:39 +00:00
paul
7fe9f6360b gtk:
- ask TCustomPage imageindex through TCustomNotebook.GetImageIndex(..)
- fix imagelist drawing on widgets that are placed on fixed without window (issue #0010243)

git-svn-id: trunk@13327 -
2007-12-14 09:02:21 +00:00
mattias
2261662fc3 gtk2 intf: removed some unused variables and fixed TNoteBook.ClientOrigin
git-svn-id: trunk@13109 -
2007-12-01 23:33:54 +00:00
paul
b45bfc8cb3 - menu item icon drawing with effect for gtk1/2
- cleanup of win32 menu drawing

git-svn-id: trunk@12989 -
2007-11-23 18:34:55 +00:00
paul
7e9d843fe8 gtk2: invert define GtkNoWindowFixed to GtkFixedWithWindow (and enable code for fixed w/o window by default). As result TCustomPage and TGroupBox will look nicer under gtk2
git-svn-id: trunk@12979 -
2007-11-23 10:04:16 +00:00
mattias
8f7f9fbebb gtk2 intf: GtkNoWindowFixed: removed gdkwindows for groupboxes and notebooks
git-svn-id: trunk@12976 -
2007-11-23 00:37:28 +00:00
marc
28578c3a91 * Started with object based GDI
* More splitup of gtk1/gtk2 code
* Fixed restore of GC after linedrawing
* Enabled desktop grabbing for gtk1

git-svn-id: trunk@12975 -
2007-11-23 00:07:45 +00:00
paul
893bd9f7c6 gtk2: SetWidgetSizeAndPosition for widgets on fixed w/o window
git-svn-id: trunk@12965 -
2007-11-22 03:30:31 +00:00
paul
537357d7ed gtk2: GetWidgetRelativePosition for fixed w/o window
git-svn-id: trunk@12964 -
2007-11-22 03:08:26 +00:00
paul
7309af00e9 gtk2: playing around transparent GtkFixed (no window + eventbox)
git-svn-id: trunk@12933 -
2007-11-20 03:21:36 +00:00
paul
deb98c5756 change formatting a bit
git-svn-id: trunk@12922 -
2007-11-19 10:19:27 +00:00
paul
20cd4d14f7 improve gtk2 themed header drawing (used in THeaderControl, build lazarus dialog is nicer now)
git-svn-id: trunk@12921 -
2007-11-19 08:39:54 +00:00
marc
d8e27704a6 * gtk pixbuf from drawable: don't pass system colormap as default
git-svn-id: trunk@12910 -
2007-11-17 19:30:32 +00:00
mattias
588977d5a3 gtk intf: fixed lgsToolButton
git-svn-id: trunk@12897 -
2007-11-16 17:32:30 +00:00
paul
b5b7109b34 gtk: improve toolbar elements painting
git-svn-id: trunk@12889 -
2007-11-16 05:55:16 +00:00
mattias
09342edb8f gtk intf: fixed GetClientRect for notebook
git-svn-id: trunk@12694 -
2007-11-02 10:58:55 +00:00
paul
2b06109c9b gtk: change formatting a bit
git-svn-id: trunk@12674 -
2007-11-01 03:25:21 +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
paul
9604f97caa gtk2: clHighlightText changed to more apropriate
git-svn-id: trunk@12665 -
2007-10-31 12:59:53 +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
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
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
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
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
cdad49e2bd gtk: simplify UpdateStatusBarPanel and reduce gtk warings in console
git-svn-id: trunk@12582 -
2007-10-25 01:53:16 +00:00
mattias
87a572d2ad gtk2 intf: only removing ythickness from gtk_button, not from descendants
git-svn-id: trunk@12484 -
2007-10-15 23:33:32 +00:00
mattias
2a5042eef4 gtk2 intf: removed ythickness from preferred sizes of gtk_button
git-svn-id: trunk@12482 -
2007-10-15 22:37:37 +00:00
mattias
bcd769c266 clean up
git-svn-id: trunk@12405 -
2007-10-10 12:00:40 +00:00
andrew
f48817397c Applied patch from Ales Katona for bug #9875 which fixes sizing and autosizing a gtk2 SpinEdit
git-svn-id: trunk@12360 -
2007-10-07 18:15:12 +00:00
paul
ead709d041 gtk1/gtk2: try to reduce amount of gtk warnings when you are drawing custom controls with themes
git-svn-id: trunk@12210 -
2007-09-28 08:01:22 +00:00
paul
b864b14f3d - change some formatting
- fix some verbose strings

git-svn-id: trunk@12207 -
2007-09-28 06:19:02 +00:00
paul
544849a53e gtk: remove unneeded $ifdef HasX
git-svn-id: trunk@12195 -
2007-09-27 07:54:52 +00:00
mattias
4f8d2a8022 IDE: added package option Provides - needed by KOL, gtk intf: reduced warnings, fixed wrong type cast calling gdk_text_extends (crashing Label.OptimalFill=true and miscalculation of width)
git-svn-id: trunk@12080 -
2007-09-19 17:58:52 +00:00
paul
d762d100d9 Gtk:
- vary widget default cursors (default edit cursor is IBeam, others are arrow)
- remove unused cursor map global variable and related stuff

git-svn-id: trunk@12039 -
2007-09-16 05:42:37 +00:00
marc
04b4e27b62 * Implemented basic alpha support
* Implemented LCL side of imagelist
* restructured rawimage to more OO

Merged revisions 11289-11617 via svnmerge from 
http://svn.freepascal.org/svn/lazarus/branches/marc-lcl

........
  r11289 | marc | 2007-06-06 22:50:05 +0200 (Wed, 06 Jun 2007) | 1 line
  
  private branch for bitmap rework
........
  r11290 | marc | 2007-06-06 23:30:09 +0200 (Wed, 06 Jun 2007) | 2 lines
  
  * Initial linux and win32 implementation
........
  r11291 | paul | 2007-06-07 03:20:11 +0200 (Thu, 07 Jun 2007) | 3 lines
  
  - fix compilation with fpc 2.3.1
  - remove unneded code for converting cursor mask
  - enabled loading of standard windows status icons instead of LCL
........
  r11292 | paul | 2007-06-07 11:03:27 +0200 (Thu, 07 Jun 2007) | 1 line
  
  - some bugs with mask and alpha
........
  r11299 | marc | 2007-06-08 00:59:26 +0200 (Fri, 08 Jun 2007) | 2 lines
  
  * force alpha channel when PNG has alpha
........
  r11302 | paul | 2007-06-09 04:45:12 +0200 (Sat, 09 Jun 2007) | 1 line
  
  - fix black rectangles instead of manu item images
........
  r11303 | paul | 2007-06-09 04:46:14 +0200 (Sat, 09 Jun 2007) | 1 line
  
  formatting
........
  r11309 | marc | 2007-06-11 02:25:07 +0200 (Mon, 11 Jun 2007) | 3 lines
  
  * Added alpha premultiply
  * Published Colorbox selection property
........
  r11310 | paul | 2007-06-11 19:10:18 +0200 (Mon, 11 Jun 2007) | 1 line
  
  misc
........
  r11312 | marc | 2007-06-12 01:44:03 +0200 (Tue, 12 Jun 2007) | 2 lines
  
  * start with carbon
........
  r11313 | paul | 2007-06-12 14:02:48 +0200 (Tue, 12 Jun 2007) | 1 line
  
  - BitBtn glyph transparency
........
  r11315 | paul | 2007-06-13 05:20:40 +0200 (Wed, 13 Jun 2007) | 1 line
  
  - problems with internal bitmap saving/loading (is was 24bpp when 32bpp needed)
........
  r11319 | paul | 2007-06-14 06:32:04 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - More LCL way of painting images through ThemeServices
........
  r11320 | paul | 2007-06-14 06:32:56 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - ability to override bitbtn glyph to nothing
........
  r11321 | paul | 2007-06-14 06:34:49 +0200 (Thu, 14 Jun 2007) | 1 line
  
  painting headercontrol images through ThemeServices
........
  r11325 | paul | 2007-06-17 10:14:27 +0200 (Sun, 17 Jun 2007) | 1 line
  
  fixing painting of 32bpp bitmaps with no Alpha
........
  r11326 | paul | 2007-06-17 10:16:00 +0200 (Sun, 17 Jun 2007) | 1 line
  
  missed file
........
  r11337 | paul | 2007-06-20 03:44:47 +0200 (Wed, 20 Jun 2007) | 3 lines
  
  - revert previous commit
  - create 24bpp bitmaps by default
........
  r11342 | marc | 2007-06-21 01:47:30 +0200 (Thu, 21 Jun 2007) | 3 lines
  
  * Added Alpha support on Carbon
  * Simplified win32 rawimage_fromdevice
........
  r11343 | paul | 2007-06-21 04:36:28 +0200 (Thu, 21 Jun 2007) | 1 line
  
  - adopt gtk2 code
........
  r11344 | paul | 2007-06-21 04:41:41 +0200 (Thu, 21 Jun 2007) | 1 line
  
  make gtk2 work
........
  r11353 | paul | 2007-06-22 10:12:19 +0200 (Fri, 22 Jun 2007) | 1 line
  
  - default WS imagelist implementation
........
  r11358 | marc | 2007-06-23 13:29:06 +0200 (Sat, 23 Jun 2007) | 2 lines
  
  * Implemented MaskBlit
........
  r11359 | paul | 2007-06-23 20:02:52 +0200 (Sat, 23 Jun 2007) | 1 line
  
  draw new imagelist bitmap on widget canvas
........
  r11371 | marc | 2007-06-25 23:50:13 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  * Rawimage rework
........
  r11372 | marc | 2007-06-25 23:51:00 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  + Added header
........
  r11373 | marc | 2007-06-26 00:05:55 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * Swapped RGBA <-> ARGB defualt format since most widgetsets use ARGB
........
  r11374 | marc | 2007-06-26 00:09:36 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * added
........
  r11462 | marc | 2007-07-12 00:16:02 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  + added header
........
  r11463 | marc | 2007-07-12 00:18:49 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * Added alpha/masked strechblt support
........
  r11464 | marc | 2007-07-12 00:21:27 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * create DIBSection instead of DIBitmap
........
  r11502 | marc | 2007-07-14 00:23:42 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  * Fixed transparentcolor after loading bitmap
........
  r11505 | marc | 2007-07-14 15:10:56 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  - Removed ARGB dataconversion, internal format is by default the same now
........
  r11531 | marc | 2007-07-17 01:23:34 +0200 (Tue, 17 Jul 2007) | 2 lines
  
  * changed TRawImage into object
........
  r11533 | paul | 2007-07-17 05:10:31 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init
  - change imagelist defines to use old imagelist (new is crashes ide)
  - change TWin32ThemeServices to use old imagelist
........
  r11534 | paul | 2007-07-17 05:19:02 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in Qt widgetset
  - change TRawImageDescription.IsEqual and TRawImage.IsEqual
........
  r11535 | paul | 2007-07-17 05:23:53 +0200 (Tue, 17 Jul 2007) | 1 line
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in wince widgetset
........
  r11554 | marc | 2007-07-18 00:10:11 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation on 2.0.4
........
  r11555 | marc | 2007-07-18 00:10:44 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation
........
  r11556 | marc | 2007-07-18 00:11:43 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed fillchar on TRawImage object
........
  r11572 | marc | 2007-07-19 01:41:35 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * fixed crash when object has vmt
........
  r11573 | marc | 2007-07-19 01:42:14 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * Made TRawimage compatible with record again
........
  r11580 | marc | 2007-07-20 01:33:20 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * enabled newimagelist
........
  r11581 | marc | 2007-07-20 01:33:48 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * fixed font
........

git-svn-id: trunk@11861 -
2007-08-25 01:49:40 +00:00
mattias
576644f062 memcheck: updated for fpc 2.3.1
git-svn-id: trunk@11846 -
2007-08-22 21:31:28 +00:00
mattias
85bb631db4 codetools: implemented topological sort for code graphs
git-svn-id: trunk@11838 -
2007-08-20 18:02:41 +00:00
mattias
f9f7d157a3 codetools: implemented function to simplify some types of compiler directives
git-svn-id: trunk@11754 -
2007-08-07 14:21:13 +00:00
vincents
8025a708bc gtk widgetset: remove use of NoGdkPixbufLib define
git-svn-id: trunk@11750 -
2007-08-06 18:48:29 +00:00
mattias
eb0b50db3e gtk1 intf: fixed UTF-8 keypress character override
git-svn-id: trunk@11734 -
2007-08-03 22:51:32 +00:00
mattias
3b69506329 gtk2 intf: added focus events for combobox, ideintf: textconverter now supports codetool buffers, h2pas wiz: added tool to remove redfinitions, reduced warnings
git-svn-id: trunk@11733 -
2007-08-03 22:38:11 +00:00
mattias
de83f713f2 gtk intf: implemented changing keys via OnUTF8KeyPress
git-svn-id: trunk@11725 -
2007-08-03 11:00:35 +00:00
mattias
e81f58a39e gtk2 intf: fixed GetTextExtentIgnoringAmpersands checking for line end
git-svn-id: trunk@11724 -
2007-08-03 10:07:18 +00:00
mattias
8fdda10624 gtk intf: clWindow now maps to background of a list
git-svn-id: trunk@11723 -
2007-08-03 09:49:56 +00:00
mattias
0f906599f6 LCL: fixed DoAutoSize endless loop, h2pas: small improvements, fixed range check errors
git-svn-id: trunk@11717 -
2007-08-02 18:51:03 +00:00
mattias
63a8c982ad gtk intf: fixed crash on paste for 64 bit
git-svn-id: trunk@11697 -
2007-07-31 23:13:06 +00:00
mattias
2d3019ded3 gtk: fixed pasting from other apps: reason was an uninitialized stack value
git-svn-id: trunk@11693 -
2007-07-31 17:17:14 +00:00
mattias
13b70fb444 IDE: compiler tests: added check for ambiguous units in project/package unit search path
git-svn-id: trunk@11690 -
2007-07-31 16:25:24 +00:00
mattias
95f4b69572 gtk2 intf: using a gtk_im_multicontext_new to use the gtk input method handling - e.g. dead keys for UTF8KeyPress
git-svn-id: trunk@11687 -
2007-07-31 13:49:36 +00:00
mattias
dbdbc446b0 synedit: fixed caret position when searching within tabs and UTF-8 strings
git-svn-id: trunk@11679 -
2007-07-30 17:25:16 +00:00
tombo
e480c8112a GTK: replaced FileInFilenameMasks with MatchesMaskList
git-svn-id: trunk@11593 -
2007-07-22 14:19:32 +00:00
mattias
6d3cb78cf0 gtk intf: changed default of showing a form in taskbar
git-svn-id: trunk@11553 -
2007-07-17 21:41:16 +00:00
mattias
8f7f42ab15 gtk2 intf: disabled hiding forms from taskbar, because you loose many comfort functions in many window managers
git-svn-id: trunk@11552 -
2007-07-17 21:25:41 +00:00
sekelsenmat
469476cde9 Fixed identation and moved attachment of Gtk2 window state change callback setter to the correct location.
git-svn-id: trunk@11544 -
2007-07-17 12:47:33 +00:00
vincents
2566bffceb gtk interface: fixed memory corruption when pasting from clipboard fails and the sanity check is invoked
git-svn-id: trunk@11438 -
2007-07-06 14:27:04 +00:00
mattias
1ddf9fb8f9 gtk1 intf: improved clHighlighttext using bg_gc instead of text_g
git-svn-id: trunk@11406 -
2007-07-01 13:07:24 +00:00
mattias
801d3a0023 IDE: project options form: anchoring notebook to okbutton, gtk intf: color clHighlightText, gtk2 intf: dummy page now without gdkwindow - not eating events, LCL: treeview: removed RecreateWnd call
git-svn-id: trunk@11385 -
2007-06-27 07:44:01 +00:00
andrew
783b29fd27 Fixed gtk2 bug #7923 where lazarus would lockup when right clicking in a open/save dialog
git-svn-id: trunk@11307 -
2007-06-09 19:58:09 +00:00
mattias
0d0427f294 gtk2 intf: moved menuitem handle creation code from CreateComponent, gtk2 intf: handling menu underscore shortcuts of Application.MainForm
git-svn-id: trunk@11255 -
2007-06-01 16:55:15 +00:00
mattias
20a3fd2a24 gtk2 intf: moving a widget without resizing now sets the allocation.x/y
git-svn-id: trunk@11246 -
2007-05-31 23:43:23 +00:00
mattias
fe1ca96a65 LCL: implemented TStaticText.DialogChar to focus FocusControl, gtk2 intf: shortcuts of buttons, radiobuttons, checkboxes are now handled by the LCL
git-svn-id: trunk@11245 -
2007-05-31 21:38:56 +00:00
mattias
a2feb66dce gtk1 intf: fixed compilation
git-svn-id: trunk@11243 -
2007-05-31 17:36:24 +00:00
mattias
0154d0a518 gtk2 intf: fixed setting callbacks if no combobox items count=0, gtk2 intf: not setting gtk accelerators for buttons, gtk2 intf: fixed GetClientOrigin for TNoteBook
git-svn-id: trunk@11241 -
2007-05-31 17:34:17 +00:00
mattias
f9c873cd97 gtk2 intf: forced resizing visible windows, IDE: using ReleaseComponent to free synedits - fixing crash when quickly closing editors with shortcuts
git-svn-id: trunk@11229 -
2007-05-30 17:40:30 +00:00
mattias
26b03893db gtk2 intf: fixed reading gtkwindow position
git-svn-id: trunk@11220 -
2007-05-29 19:39:52 +00:00
mattias
1eff85d939 gtk2 intf: improved resizing code to not need the caching trick
git-svn-id: trunk@11212 -
2007-05-29 00:30:26 +00:00
mattias
78509220c9 LCL: TSpeedButton: if mouse capture lost then update state, fixed state when invoking Click which triggers ShowModal
git-svn-id: trunk@11211 -
2007-05-28 12:12:51 +00:00
mattias
d45e62cd1b gtk2 intf: disabled removing callbacks, added GetDefaultClientRect for TPage and TNoteBook
git-svn-id: trunk@11189 -
2007-05-23 23:24:14 +00:00
mattias
759a269ca6 gtk intf: resize messages for fixed/client widgets are now kept back and sent for main widgets
git-svn-id: trunk@11184 -
2007-05-23 17:32:10 +00:00
mattias
efaec13a02 codetools, TSynPasSyn: aded bitpacked keyword
git-svn-id: trunk@11173 -
2007-05-21 10:09:46 +00:00
mattias
f1ddc29682 LCL: added BeginAlign/EndAlign in TWinControl.Loaded to reduce overhead, gtk2 intf: added GetDefaultClientRect for TGroupBox, doing some resizes now immediately
git-svn-id: trunk@11160 -
2007-05-17 21:43:48 +00:00
mattias
9fdf9fcfdf gtk intf: made creation/freeing of GDI objects more consistent and more strict. gtk2 intf: brush and pen are now created on demand
git-svn-id: trunk@11128 -
2007-05-11 16:52:05 +00:00
mattias
0f2b6b8e44 gtk2 intf: fonts of device contexts are now created on demand
git-svn-id: trunk@11121 -
2007-05-10 08:44:03 +00:00
mattias
6a41acd5f4 gtk2 intf: the GC of device contexts are now created only when needed
git-svn-id: trunk@11106 -
2007-05-08 16:24:44 +00:00
mattias
2b64f5d099 gtk intf: renamed TDeviceContext.Wnd to TDeviceContext.DCWidget to save many typecasts
git-svn-id: trunk@11104 -
2007-05-08 12:58:13 +00:00
mattias
0d2a3b970c gtk intf: fixed mouse events for TListBox
git-svn-id: trunk@11084 -
2007-05-05 16:05:37 +00:00
paul
920d0c3b8e - fixed painting of imagelist images on menuitems under gtk2
git-svn-id: trunk@11065 -
2007-05-03 16:04:34 +00:00
mattias
6eae1fc091 gtk2 intf: fixed compilation under fpc 2.3.1
git-svn-id: trunk@11060 -
2007-05-03 07:42:15 +00:00
mattias
501538a5df gtk intf: fixed compilation under fpc 2.3.1
git-svn-id: trunk@11059 -
2007-05-03 07:40:22 +00:00
mattias
c902aecea7 gtk2 intf: fixed resizing windows, fixed creation and position of hint windows
git-svn-id: trunk@11017 -
2007-04-27 14:25:19 +00:00
mattias
0cbf3340ac gtk2 intf: fixed connecting events of TListBox
git-svn-id: trunk@11012 -
2007-04-27 09:30:50 +00:00
marc
b681f94950 * Step 1 of the native imagelist implementation
git-svn-id: trunk@10875 -
2007-04-05 00:00:37 +00:00
andrew
578459f760 applied patch from Valdas Janka for bug #8498 to fix pixmap scaling
git-svn-id: trunk@10874 -
2007-04-04 23:02:38 +00:00
mattias
05fa424bb7 gtk2 intf: fixed codetools include paths, fixed double painting
git-svn-id: trunk@10870 -
2007-04-04 18:08:37 +00:00
paul
78187ac487 - added WsWinControl.CanFocus that inform about ability of control to be focused with default widgetset value = True (overrided for gtk)
- changed CanTab of TWinControl to use TWSWinControlClass.CanFocus
- published TRadioGroup.TabStop

git-svn-id: trunk@10829 -
2007-03-30 05:22:36 +00:00
mattias
f107b6226b gtk intf: fixed sending LM_CHAR
git-svn-id: trunk@10803 -
2007-03-26 09:43:02 +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
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
mattias
769478772a gtk intf: fixed sending keypress event twice
git-svn-id: trunk@10737 -
2007-03-10 22:38:35 +00:00
marc
de4fb4771b * Fixed setting keyinfo flags
git-svn-id: trunk@10724 -
2007-03-08 23:57:13 +00:00
mattias
e77c31ed38 codetools: searching include file of include file in directory of first include file
git-svn-id: trunk@10723 -
2007-03-08 23:35:58 +00:00
marc
231cfe8497 * Fix for 7892 by Paul Ishenin
git-svn-id: trunk@10682 -
2007-02-25 16:53:37 +00:00
mattias
49242c3818 gtk intf: using default when gdk does not know the physical screen size
git-svn-id: trunk@10642 -
2007-02-14 11:09:42 +00:00
mattias
0362114bc2 gtk intf: added custom mouse cursor images from Marc
git-svn-id: trunk@10616 -
2007-02-09 17:42:52 +00:00
marc
6737a6ef3d * cursor patch from Paul Ishenin
+ added extra handle checks
* enabled some gtk2.2 code for getting cursorpos

git-svn-id: trunk@10597 -
2007-02-06 01:34:29 +00:00
mattias
2b1083e359 LCL: SetTempCursor is now called on every mouse move, cursors of TControls
git-svn-id: trunk@10595 -
2007-02-05 23:24:03 +00:00
mattias
5afdbd9657 gtk intf: added menu items short cut labels, popup sub menu of menu bar shortcuts
git-svn-id: trunk@10591 -
2007-02-05 19:47:39 +00:00
marc
92e3d63d75 * Cursor patch from Paul Ishenin
* Disabled setting cursors for gtk2, since it is broken

git-svn-id: trunk@10544 -
2007-01-31 01:11:00 +00:00