Commit Graph

4196 Commits

Author SHA1 Message Date
mattias
49cf41da94 codetools: fixed buffer overflow
git-svn-id: trunk@20310 -
2009-05-30 14:02:43 +00:00
mattias
7a864a4be6 codetools: clean up
git-svn-id: trunk@20309 -
2009-05-30 14:02:03 +00:00
mattias
baa2686a42 codetools: indentations: made parser more generic
git-svn-id: trunk@20308 -
2009-05-30 13:54:51 +00:00
mattias
124bcb7012 codetools: fixed FindUnitInUsesSection
git-svn-id: trunk@20302 -
2009-05-30 09:41:32 +00:00
mattias
e50a4f4556 LCL: TAnchorSide.GetSidePosition check always for circles
git-svn-id: trunk@20298 -
2009-05-29 14:24:23 +00:00
mattias
8ac8d4e9f9 codetools: indentations: considering tabs
git-svn-id: trunk@20297 -
2009-05-29 10:40:52 +00:00
mattias
3c38e445f7 codetools: added class section to indentation parser
git-svn-id: trunk@20294 -
2009-05-29 10:19:25 +00:00
mattias
4cfb35e54c codetools: more examples
git-svn-id: trunk@20292 -
2009-05-29 08:02:22 +00:00
mattias
65968ad5bf codetools: complete block: insert needed spaces in front of first line
git-svn-id: trunk@20291 -
2009-05-29 07:59:13 +00:00
mattias
178f494111 codetools: complete block: use first atom for inner indent
git-svn-id: trunk@20280 -
2009-05-28 11:43:48 +00:00
mattias
9938f293e5 codetools: clean up
git-svn-id: trunk@20279 -
2009-05-28 11:38:34 +00:00
mattias
daf4fa8599 codetools: added test while begin
git-svn-id: trunk@20278 -
2009-05-28 11:37:18 +00:00
mattias
4c328019d2 codetools: added example to test complete block
git-svn-id: trunk@20277 -
2009-05-28 11:24:53 +00:00
mattias
00d6ae5915 codetools: added test for complete block
git-svn-id: trunk@20276 -
2009-05-28 11:23:40 +00:00
mattias
faabdd53fd codetools: fixed crash on checking position in funcresultytoe
git-svn-id: trunk@20274 -
2009-05-28 05:28:25 +00:00
mattias
40586875a2 IDE: code help: allow result type
git-svn-id: trunk@20264 -
2009-05-27 13:38:40 +00:00
mattias
802d6ef059 codetools: FindDeclarationAndOverload return function result type when cursor on colon
git-svn-id: trunk@20263 -
2009-05-27 13:04:04 +00:00
mattias
f23aae7dab codetools: added option to not search for overloads when cursor on definition
git-svn-id: trunk@20262 -
2009-05-27 12:31:36 +00:00
mattias
cd986dfe6c codetools: codecache extended for non identifiers
git-svn-id: trunk@20261 -
2009-05-27 12:05:51 +00:00
mattias
568ae66df6 codetools: added FindStartOfAtom
git-svn-id: trunk@20260 -
2009-05-27 11:57:49 +00:00
mattias
6ed092dce1 codetools: fixed crash rename published method, bug #13840
git-svn-id: trunk@20251 -
2009-05-26 21:20:29 +00:00
mattias
673877bf9e dbexport: fixed compilation
git-svn-id: trunk@20247 -
2009-05-26 16:43:13 +00:00
martin
c73fc17107 SynEdit: Added ability for highlighter to specify color for the area past the "end of line". Based on a patch by Brad Campbell
git-svn-id: trunk@20244 -
2009-05-26 14:32:08 +00:00
martin
b57eb768dc SynEdit: Added ability for highlighter to specify color for the area past the "end of line". Based on a patch by Brad Campbell
git-svn-id: trunk@20243 -
2009-05-26 14:13:22 +00:00
martin
1c82e7f370 SynEdit: Fix Caret issue. A hidden, non-focused SynEdit could sometimes steal the Caret from the current SynEdit. Bug #13796
git-svn-id: trunk@20241 -
2009-05-26 12:49:54 +00:00
martin
691b65e142 SynEdit: Clean-up, removed a couple of IFDEF SYN_LAZARUS
git-svn-id: trunk@20240 -
2009-05-26 11:59:58 +00:00
mattias
6d68236e14 codetools: added * operator to const set terms
git-svn-id: trunk@20236 -
2009-05-26 11:00:47 +00:00
mattias
a59838731e codetools: indentation parser: fixed
git-svn-id: trunk@20234 -
2009-05-26 10:57:02 +00:00
mattias
935bef95d4 codetools: indentation parser
git-svn-id: trunk@20233 -
2009-05-26 10:52:59 +00:00
mattias
de7660d56f IDE: codeexplorer: fixed crash on incomplete property
git-svn-id: trunk@20231 -
2009-05-26 10:39:46 +00:00
ask
e2b7a80b5e TAChart: Remove MirrorX property. Add ClearSeries procedure.
* Independent changes extracted from patch by Andrei Kupreitchik (issue #13832)

git-svn-id: trunk@20230 -
2009-05-26 10:18:45 +00:00
ask
bef2d937fd TAChart: Re-add BackColor property (issue #13831)
* Patch by Andrei Kupreitchik
* Update a demo

git-svn-id: trunk@20225 -
2009-05-26 07:23:46 +00:00
ask
f3dd9d641d TAChart: Add Margins instead of built-in fixed margin (issue #13830)
* Based on patch by Andrei Kupreitchik
* Used Margins in a demo

git-svn-id: trunk@20224 -
2009-05-26 07:07:54 +00:00
ask
9a999ed80e TAChart: Add TLineSeries.LinePen property. Update demo.
git-svn-id: trunk@20222 -
2009-05-26 03:10:27 +00:00
ask
e80e98c3cc TAChart: Sort class members
git-svn-id: trunk@20221 -
2009-05-26 02:59:54 +00:00
ask
7ee8494e64 TAChart: Set default values correctly in db-aware chart source
git-svn-id: trunk@20220 -
2009-05-26 02:54:49 +00:00
ask
62cc5113b7 TAChart: Add support for chart source caching
* Add TListChartSource.CopyForm procedure
* Make TChart.ListSource public
* Update demo

git-svn-id: trunk@20219 -
2009-05-26 02:49:08 +00:00
ask
2ba755f1ef TAChart: Add a demo for db-aware chart
git-svn-id: trunk@20218 -
2009-05-26 02:40:24 +00:00
ask
dedefbbe48 TAChart: Add icon for TDbChartSource
git-svn-id: trunk@20217 -
2009-05-26 02:38:27 +00:00
ask
421cb0e7aa TAChart: Correctly refresh db-aware chart after dataset changes.
* Add BeforeDraw/AfterDraw procedures to series and sources
* Preserve dataset cursor position while drawing db-aware Series
* Update chart after deleting a record

git-svn-id: trunk@20216 -
2009-05-26 02:21:39 +00:00
ask
ed14f938e7 TAChart: Add db-aware chart source.
git-svn-id: trunk@20215 -
2009-05-26 01:53:46 +00:00
mattias
20fca2cad7 codetools: complete blocks for inner blocks
git-svn-id: trunk@20210 -
2009-05-25 14:13:39 +00:00
mattias
57a49573b6 codetools: fixed error message when expecting identifier at eof
git-svn-id: trunk@20208 -
2009-05-25 14:01:27 +00:00
mattias
103696b790 codetools: indentation parser: case
git-svn-id: trunk@20206 -
2009-05-25 13:50:26 +00:00
mattias
56d71374e0 codetools: added debugging output for indentation parser
git-svn-id: trunk@20203 -
2009-05-25 12:22:11 +00:00
ask
2f572b341b TAChart: Add license header to TASources unit.
git-svn-id: trunk@20201 -
2009-05-25 11:59:32 +00:00
mattias
2363d05000 codetools: fixed skipping missing endif
git-svn-id: trunk@20200 -
2009-05-25 11:52:53 +00:00
mattias
dc7e254692 codetools: indentation procedures
git-svn-id: trunk@20199 -
2009-05-25 11:35:26 +00:00
mattias
5c4cc7cb58 codetools: complete block: fixed parsing try..finally, if..else
git-svn-id: trunk@20196 -
2009-05-25 09:41:06 +00:00
mattias
0b64430386 IDE: code context hints: compute size with bold
git-svn-id: trunk@20177 -
2009-05-24 21:26:51 +00:00
mattias
295dbd896e codetools: indentation parser: added identifier sections
git-svn-id: trunk@20176 -
2009-05-24 21:20:41 +00:00
ask
326dadbb51 TAChart: Use TUserDefinedChartSource in function demo
git-svn-id: trunk@20173 -
2009-05-24 13:12:43 +00:00
ask
ea1dd89ad9 TAChart: Add TUserDefinedChartSource.
git-svn-id: trunk@20171 -
2009-05-24 13:11:01 +00:00
ask
104cd2a598 TAChart: Add icons for chart sources
git-svn-id: trunk@20170 -
2009-05-24 12:38:06 +00:00
mattias
a1856b3cee codetools: local var assignment completion: implemented set types
git-svn-id: trunk@20165 -
2009-05-24 11:09:05 +00:00
mattias
03444247d7 codetools: started learning indentation
git-svn-id: trunk@20160 -
2009-05-24 09:43:42 +00:00
ask
2f19160d24 TAChart: Use random source in demos.
git-svn-id: trunk@20159 -
2009-05-24 07:18:18 +00:00
ask
28d862e408 TAChart: Do not crash after removing a referenced chart source.
git-svn-id: trunk@20158 -
2009-05-24 07:17:39 +00:00
ask
39ae87f65f TAChart: Minor cleanups and fixes
git-svn-id: trunk@20157 -
2009-05-24 06:47:06 +00:00
ask
1245e6e6ed TAChart: Default color for list source data points should be clTAColor, not 0.
git-svn-id: trunk@20156 -
2009-05-24 06:35:53 +00:00
ask
029339a761 TAChart: Add demo for chart sources.
git-svn-id: trunk@20155 -
2009-05-24 06:34:22 +00:00
ask
c17a63df84 TAChart: Notify series about chart source changes.
* Add minimal Model-View style infrastructure
* Properly support many series with same source

git-svn-id: trunk@20154 -
2009-05-24 06:19:54 +00:00
ask
932b2a5392 TAChart: Improve color handling for individual data points.
git-svn-id: trunk@20153 -
2009-05-24 02:35:11 +00:00
ask
0697177d28 TAChart: Add random series source.
* Move Extent and ValuesTotal logic to TCustomChartSource
* Add TMWCRandomGenerator class
* Add TRandomChartSource class

git-svn-id: trunk@20152 -
2009-05-24 01:40:52 +00:00
ask
e93779cdaa TAChart: Move clTAColor to TAChartUtils. Fix error message.
git-svn-id: trunk@20151 -
2009-05-24 01:38:30 +00:00
mattias
608612c9e0 clean up
git-svn-id: trunk@20150 -
2009-05-23 23:55:49 +00:00
mattias
f2e68dee8c codetools: complete block: use existing semicolon
git-svn-id: trunk@20149 -
2009-05-23 23:52:09 +00:00
mattias
244a75d53f codetools: indentation: clean up
git-svn-id: trunk@20147 -
2009-05-23 19:50:57 +00:00
mattias
fafb745f2d codetools: example for indentation parser
git-svn-id: trunk@20144 -
2009-05-23 11:03:33 +00:00
mattias
5ae268758c codetools: added example
git-svn-id: trunk@20142 -
2009-05-23 10:40:19 +00:00
mattias
fef4a6e9b8 codetools: fixed ignoring alias functions in classes
git-svn-id: trunk@20141 -
2009-05-23 10:14:26 +00:00
mattias
602f48c153 codetools: improved class end not found position
git-svn-id: trunk@20139 -
2009-05-23 09:13:41 +00:00
mattias
1363bdab7f codetools: removed AtomToWord
git-svn-id: trunk@20138 -
2009-05-23 08:59:16 +00:00
ask
1421f1836b TAChart: Fix bugs in processing of empty extents.
git-svn-id: trunk@20137 -
2009-05-23 04:13:01 +00:00
ask
d8bc38d03f TAChart: Improve Extent processing for series.
* Move Extent calculation and caching to TListChartSource class.
* Replace TChartSeries.{X/Y}Graph{Min/Max} by Extent property.
* Various fixes related to extent cache coherence.

git-svn-id: trunk@20136 -
2009-05-23 04:01:13 +00:00
ask
5210783530 TAChart: Make TListChartSource a component.
* Move TChart and TListChartSource to a separate component page
* Initial crude implementation of design-time data point editing

git-svn-id: trunk@20135 -
2009-05-22 23:36:57 +00:00
mattias
31e07d16b5 codetools: started indentation analysis
git-svn-id: trunk@20134 -
2009-05-22 21:16:28 +00:00
mattias
ec7adf6c05 codetools: complete record block
git-svn-id: trunk@20132 -
2009-05-22 17:50:39 +00:00
mattias
e97ed3191c codetools: complete class interface block
git-svn-id: trunk@20131 -
2009-05-22 17:45:56 +00:00
mattias
06da713f1e codetools: complete class block
git-svn-id: trunk@20130 -
2009-05-22 17:40:23 +00:00
mattias
af800dd81b project templates: improved layout, from Graeme, bug #13793
git-svn-id: trunk@20128 -
2009-05-22 15:50:39 +00:00
mattias
aba18655f4 codetools: fixed mem leak
git-svn-id: trunk@20125 -
2009-05-22 14:23:42 +00:00
mattias
b2377c0c8b codetools: started fully automatic indentation
git-svn-id: trunk@20124 -
2009-05-22 14:19:54 +00:00
mattias
da88c7b562 codetools: completeblock: complete case colon semicolons
git-svn-id: trunk@20122 -
2009-05-22 09:10:52 +00:00
mattias
ffb32090a1 codetools: completeblock: do not complete if cursor on start of first block, bug #13784
git-svn-id: trunk@20121 -
2009-05-22 08:59:13 +00:00
paul
2ab7776d76 ide: rearrange source editor popup menu items
git-svn-id: trunk@20119 -
2009-05-22 06:25:27 +00:00
ask
c6677a7a40 TAChart: Add mouse events demo
git-svn-id: trunk@20118 -
2009-05-22 05:34:25 +00:00
ask
1b34be4add TAChart: Simplify and fix TLineSeries.Set{X/Y}Value
git-svn-id: trunk@20117 -
2009-05-22 05:29:02 +00:00
ask
3857c71b89 TAChart: Call OnMouse{Down,Move,Up} events. Minor refactoring.
git-svn-id: trunk@20116 -
2009-05-22 05:12:46 +00:00
ask
8a09a8257c TAChart: Move ValuesTotal logic from TChartSeries to TListChartSource
git-svn-id: trunk@20114 -
2009-05-22 03:52:53 +00:00
ask
b7c121c677 TAChart: Extract former CoordList into TCustomChartSource class in TASource unit.
git-svn-id: trunk@20112 -
2009-05-22 01:46:43 +00:00
ask
3f07c0e517 TAChart: Update lfm files for demo projects.
git-svn-id: trunk@20111 -
2009-05-22 01:44:25 +00:00
mattias
9bd290d86e IDE+codetools: implemented complete blocks in statements
git-svn-id: trunk@20108 -
2009-05-21 16:49:01 +00:00
mattias
f8012d194e IDE: fixed result of SaveSourceEditorChangesToCodeCache, codetools: started complete block
git-svn-id: trunk@20107 -
2009-05-21 13:24:15 +00:00
ask
69156f088b TAChart: Set correct brushes for TLine and TAreaSeries.
git-svn-id: trunk@20097 -
2009-05-21 08:51:31 +00:00
ask
148f7ce9be TAChart: Fix for r20095 #453a046de9.
git-svn-id: trunk@20096 -
2009-05-21 08:42:25 +00:00
ask
453a046de9 TAChart: If Chart.Extent.Use{X/Y}{Min/Max} is set, use corresponding boundary unconditionally.
Previously it was not used if some series expanded beyond it.
This fixes issue #13681.

git-svn-id: trunk@20095 -
2009-05-21 08:37:16 +00:00
ask
a0897c76f4 TAChart: Add chart extent demo.
In particular, it is useful to test issue #13681.

git-svn-id: trunk@20091 -
2009-05-21 07:55:56 +00:00
ask
ff15f8408c TAChart: Add TLine.UseBounds property. Minor refactoring.
git-svn-id: trunk@20090 -
2009-05-21 07:48:50 +00:00
ask
f0b1c740fd TAChart: Change default for TChartPen.Visible to true
git-svn-id: trunk@20089 -
2009-05-21 07:26:24 +00:00