Commit Graph

285 Commits

Author SHA1 Message Date
sekelsenmat
9d1b80451a Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
jesus
731b768329 LCL, fixes for dbgrid indicator problems, issues #14139,#14160
git-svn-id: trunk@20912 -
2009-07-21 06:10:20 +00:00
jesus
1e8e729e45 LCL, implements fixedcols in dbgrid, patch from funky beast (with changes), issue #13139
git-svn-id: trunk@20801 -
2009-07-06 18:43:06 +00:00
jesus
8c3b6ed0f1 LCL, fix stringgrid columns autosize AV, issue #14055
git-svn-id: trunk@20746 -
2009-06-25 20:44:46 +00:00
paul
44affd588e lcl: cleanup
git-svn-id: trunk@20739 -
2009-06-25 01:32:53 +00:00
jesus
3b2702a0e1 LCL, implements DbGrid's dgAutoSizeColumns option
git-svn-id: trunk@20735 -
2009-06-24 21:14:29 +00:00
jesus
803987e295 LCL, grid, take in count column title in autosizecolumn
git-svn-id: trunk@20665 -
2009-06-18 17:03:22 +00:00
paul
2544382402 lcl: publish TStringGrid.Constraints
git-svn-id: trunk@20472 -
2009-06-06 15:12:44 +00:00
martin
083fce06ef Fixed Exception when sorting grid with no free columns or no free rows.
git-svn-id: trunk@20443 -
2009-06-05 16:05:36 +00:00
paul
597eb84d8c lcl: Themes
- redo TThemeServices.GetDetailSize to return TSize instead of Integer
  - improve toolbutton drawing

git-svn-id: trunk@20213 -
2009-05-26 01:32:38 +00:00
jesus
47e7115c4d LCL, store cell widths also for autofilled grid
git-svn-id: trunk@20051 -
2009-05-19 16:17:33 +00:00
vincents
4c1b0307f9 LCL: grids: don't autosize string editor, fixes issue #13760
git-svn-id: trunk@20047 -
2009-05-19 09:59:52 +00:00
jesus
9d7d926126 LCL, fix grid handling F2 when it's not editable, from Daniel Simões de Almeida, issue #13591
git-svn-id: trunk@19626 -
2009-04-26 04:16:34 +00:00
jesus
df15c64cf9 Grids, if grid.font is modified while painting, do affect canvas.font directly to avoid repainting cycles due invalidates
git-svn-id: trunk@19434 -
2009-04-15 05:22:41 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
jesus
2d20e4ef95 LCL, grids, removed check for windows/linux in InternalNeedBorder, using IntersetctRect in BoxRect
git-svn-id: trunk@19159 -
2009-03-30 06:13:53 +00:00
jesus
26c62d75eb LCL, made grid's BoxRect method protected
git-svn-id: trunk@19157 -
2009-03-29 18:56:52 +00:00
jesus
f2b575d55c LCL, implemented grid's BoxRect method
git-svn-id: trunk@19156 -
2009-03-29 18:38:21 +00:00
jesus
bf50f029e1 LCL, fix mousescrolling a fixed grid, issue #13360
git-svn-id: trunk@19041 -
2009-03-20 08:06:36 +00:00
jesus
6a269eed85 LCL, fixed grid changed user cursor when col/row sizing/moving, issue #13335
git-svn-id: trunk@19039 -
2009-03-20 04:46:57 +00:00
jesus
79f72e92e9 LCL, fix stringgrid editor position when mouse wheel scrolling, issue #13309
git-svn-id: trunk@18976 -
2009-03-13 04:58:29 +00:00
jesus
85a175e084 LCL, make getcells and setcells virtual in TCustomStringGrid
git-svn-id: trunk@18823 -
2009-02-26 00:52:10 +00:00
paul
68603b956b lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
jesus
8cee5efb85 LCL, fix stringgrid's autosizecolumn crash, issue #12812
git-svn-id: trunk@18486 -
2009-01-29 08:04:55 +00:00
jesus
3a48aa228b LCL, grids, fix app freeze (windows) when stringeditor is focused and grid handle is being destroyed
git-svn-id: trunk@18223 -
2009-01-09 16:53:43 +00:00
jesus
067b4e1f38 LCL, fix grid MouseWheel scrolling when there are hidden cols/rows, fix scrolling range. Issues #12925 and #12927
git-svn-id: trunk@18180 -
2009-01-07 07:26:53 +00:00
jesus
cf5fd331cf LCL, implemented mousewheel scrolling grid, issue #12860
git-svn-id: trunk@18125 -
2009-01-05 07:20:30 +00:00
jesus
e600258955 LCL, grids, skipped VisibleColCount and VisibleRowCount properties, issue #10293
git-svn-id: trunk@18003 -
2008-12-31 05:58:55 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
jesus
6cb56909ad LCL, makes cells in cbsColumnCheckbox column editable
git-svn-id: trunk@17839 -
2008-12-15 05:17:49 +00:00
jesus
2ad9a36af2 LCL, implements cbsColumnCheckbox in TDrawGrid/TStringGrid, issue #8682
git-svn-id: trunk@17837 -
2008-12-15 04:18:02 +00:00
jesus
ce47c40c3d LCL, allow editing of lookup columns via picklist patch from Alexander Klenin, issue #12347
git-svn-id: trunk@17810 -
2008-12-12 01:24:02 +00:00
jesus
50f6ae6046 LCL, fixed some grids default properties
git-svn-id: trunk@17705 -
2008-12-07 02:21:35 +00:00
jesus
4d0dfb40f0 LCL, fix grid exeption after removing all rows and adding a new row, issue #12666
git-svn-id: trunk@17655 -
2008-12-01 23:34:14 +00:00
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
jesus
c3ad1a6e38 LCL, fix ignoring columns with readonly=true from Michael V.C., issue #12617
git-svn-id: trunk@17479 -
2008-11-20 20:42:33 +00:00
jesus
f77fb72b40 LCL, don't draw focusrect if defaultdrawing=false, from Serggey Smirnov issue #12526
git-svn-id: trunk@17183 -
2008-11-02 06:22:46 +00:00
jesus
2dd7a9a855 LCL, grids, added ImageLayout property and title image demo from Alexander S. Klenin (with small changes)
git-svn-id: trunk@17057 -
2008-10-19 19:06:21 +00:00
jesus
47bf617f69 LCL, add images to grid columns by Alexander S. Klenin, issue #12419
git-svn-id: trunk@17046 -
2008-10-18 23:52:22 +00:00
jesus
6cdc2c62ff LCL, make grid's InvalidateCell and InvalidateColumn public
git-svn-id: trunk@16994 -
2008-10-14 21:07:47 +00:00
jesus
e05845d0f4 LCL, fix exception when trying to focus editor, issue #12326
git-svn-id: trunk@16948 -
2008-10-10 16:52:43 +00:00
jesus
ed57405eeb LCL, don't paste to or cut from grid if it's not editable, issue #12163
git-svn-id: trunk@16625 -
2008-09-17 14:30:27 +00:00
jesus
427ef13a50 LCL, fix stringgrid removing of last custom column, issue #12152
git-svn-id: trunk@16596 -
2008-09-15 14:56:08 +00:00
jesus
a081ba2890 LCL, check that grid editors do show or hide on some special situations
git-svn-id: trunk@16584 -
2008-09-13 21:25:16 +00:00
paul
3374c666b8 lcl: publish OnUTF8KeyPress
git-svn-id: trunk@16520 -
2008-09-10 09:22:59 +00:00
paul
fb4e50d0fe grids: don't intersect with window messages which are > WM_USER (UDM_SETBUDDY, etc). fixes #0012112
git-svn-id: trunk@16518 -
2008-09-10 03:09:55 +00:00
jesus
bef0e71b34 LCL, fix resizing column issue #12098 (topleft calc failed because new columns have accumwidth=0)
git-svn-id: trunk@16505 -
2008-09-09 17:59:23 +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
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
jesus
d6717344a2 LCL, fix grids scrolling bug #11833
git-svn-id: trunk@16019 -
2008-08-10 23:40:10 +00:00