d5e7867abd
fpspreadsheet: Introduce read/write flag to indicate that workbook is currently being read or written. Avoid calculation of formulas during reading (--> signficant speed-up of reading of large files)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4030 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-14 22:23:43 +00:00
0195417270
fpspreadsheet: Set correct output folder for opendocread demo.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4029 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-14 22:11:46 +00:00
b406d1e64d
fpspreadsheet: Add measurement of file loading time to fpsctrls/demo_ctrl
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4028 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-14 22:10:29 +00:00
6a263081e6
fpspreadsheet: Fix biff8 reader not attaching file protocol to absolute path hyperlink
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4027 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-14 22:02:34 +00:00
d258e13e1f
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4026 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-14 10:16:51 +00:00
032850517e
richmemo: fix style check for boldness of the default font
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4025 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-14 00:24:13 +00:00
18e94d29b1
fpspreadsheet: Add settings dialogs from shared examples folder to fpsctrls/demo_ctrls demo project.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4024 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-13 22:54:42 +00:00
0f0f3e8651
richmemo: the package unit shouldn't be attached to the project
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4023 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-13 20:12:25 +00:00
f94692451c
fpspreadsheet: Fix duplicate unit issues for examples requiring installed visual package
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4022 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-13 17:49:33 +00:00
31bd092955
fpspreadsheet: Fix WorksheetGrid not calculating formulas in current cell
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4021 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-13 14:54:55 +00:00
6a56fc20c9
fpspreadsheet: Modify the define which deactivates multi-selection in the grid (old way not working for old Laz 1.3)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4020 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-13 14:33:55 +00:00
380ac8247c
fpspreadsheet: Rearrange most of the demos into folders "read_write" and "visual"
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4019 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-13 00:08:44 +00:00
1ded103b39
fpspreadsheet: Add function TEXT() and fix function VALUE() to make the provided test files of the test suite readable by fpspreadsheet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4018 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-12 13:11:33 +00:00
26fef957ec
richmemo: simplify flag checks for byte type. corrected gtk2 style read for default font
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4017 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-12 04:08:37 +00:00
47109b3dd8
richmemo: fix color assignment when generating TFontParams from TFont. Introduced RMGetFontData to cover the issue with LCL GetFontData. todo: patch LCL Graphics.GetFontData
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4016 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-12 03:46:49 +00:00
c7c8d73179
fpspreadsheet: optimize workbook font infrastructure to avoid that missing font 4 dictated by Excel. Remove UsedFormattingField uffBold (obsolete since supporting fonts).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4015 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-11 22:28:07 +00:00
24b49277c1
fpspreadsheet: Fix incorrect assignment of cell format to hyperlinks when reading ods files (and some more bugs). Extend TsSpreadsheetInspector to display font and cell format lists of the workbook.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4014 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-10 23:48:30 +00:00
7169bfbc64
chelper: updated the parsing (use includes first) and then parse the body. Added IgnoreDirectives option to force skipping of directives
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-09 18:39:18 +00:00
9bdc865712
chelper: fixed parsing standard C "signed" type names
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4012 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-09 04:19:46 +00:00
6f05506393
richmemo: gtk2 fix gettextattribute function, implement WSGetFontParams
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4011 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-09 03:11:02 +00:00
896ff5fe08
richmemo: added wsgetfontparams to handle missing informations
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4010 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-09 03:10:06 +00:00
9f26fd4b79
fpspreadsheet: Fix test suite to pass all tests in Linux
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4009 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 22:13:15 +00:00
072efe0a95
fpspreadsheet: Fix hyperlinks tests under Linux
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4008 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 17:27:52 +00:00
d16e0915f5
fpspreadsheet: Fix hyperlink unit tests.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4007 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 17:04:25 +00:00
928a3c8a17
chelper: extended parsing of mulitple header files
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4006 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 02:37:29 +00:00
4bd67b966e
chelper: extended support for variables/constants parsing by reading its initial value.
...
added support for function body parsing. Removed a deprecated function.
fixed the preprocess handling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 02:36:47 +00:00
9de53b2440
chelper: improved objc support:
...
Categories now can have protocol support.
Added parameter method direction modified (in, byref, inout .. etc)
Parsing of non-class entities (typedef, vars and funcs) within class declaration
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4004 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 02:29:00 +00:00
7c169b576f
fpspreadsheet: Forgot to add hyperlinktests.pas
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4003 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 00:51:39 +00:00
2d76afb541
fpspreadsheet: Unit tests for hyperlinks. Some issues left.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4002 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 00:50:10 +00:00
6d2e993c22
richmemo:
...
* introduced GetFontParams(TFont) to convert TFont to TFontParams (resolving font data). Using GetFontData(AFont.Reference.Handle) to resolve the passed font information (to handle uninitialized fonts). TFont.Handle is deprecated.
* corrected the TFontParams parameter passing in InsertFontText function
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4001 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-06 16:41:17 +00:00
115e6a7557
chelper: updated preprocess expression valuation - using macors values. Renamed the valuation function name.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4000 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-06 14:08:16 +00:00
fdd08738ef
richmemo: initialize font params structure SetTextAttributes method with TFont
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3999 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-06 14:04:42 +00:00
9365a1dff2
fpspreadsheet: Reduce support for shared formulas (too many problems...), only reading from xls and xlsx files supported.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3998 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-06 12:12:45 +00:00
1af6c4c6f1
chelper: improve expression parsing detection of typecast vs (expression) - added standard set of c types and ctypeinfo library
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-06 04:32:31 +00:00
7dc4fd2a7e
fpspreadsheet: Fix 2nd parameter of formula HYPERLINK
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3996 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 21:47:27 +00:00
52515073d2
fpspreadsheet: Add spreadsheet function "=HYPERLINK(link, cell_text)"
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3995 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 20:07:15 +00:00
016c43335d
chelper: added defined() function valuation
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3994 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 18:20:40 +00:00
679a1c6762
chelper: added handling of c-preprocessor condition directives
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3993 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 15:27:26 +00:00
2c63f357de
fpspreadsheet: Move InitFormatRecord from unit fpstypes to fpsutils. Add enumeratortests to spreadtestcli.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3992 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 10:54:06 +00:00
c5f6cbe82d
fpspreadsheet: Replace for-to loops by for-in loops if possible. Update example demos.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3991 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 10:35:32 +00:00
75b09e07c3
chelper: further changes to match c-preprocess text processing. added precompiler evaluation
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3990 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 05:01:11 +00:00
d51ddefe7d
chelper: revising c preprocess handling. added new routines to prepare and collection preprocessing information
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3989 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-04 18:15:02 +00:00
7e52faa49f
fpspreadsheet: In fpspreadsheet.pas, extract cells AVLTree to fpsclasses.pas. Implement enumerator for the avl trees. Add unit tests for cell and comment enumeration.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3988 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-04 17:30:59 +00:00
e85c36df87
* cleanup unused variables
...
* added processing for C++ sections (extern "C")
* added additional error comment
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3987 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 14:43:23 +00:00
fb4365096d
chelper: modified the parsing approach of the unit. currently breaks compatibility with chelper
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3986 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:45:41 +00:00
ca3c9c7339
chelper: additional functions for the new parsing aproach
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3985 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:44:46 +00:00
4759c5fcdd
chelper: extended log functions with overload counterparts
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3984 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:43:40 +00:00
3a121294b0
chelper: cleanup error message generator. added obj-c class bit sized fields support
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3983 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:42:45 +00:00
bacca9d664
chelper: support for macros with variable arguments. end offset of a comment
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:06:50 +00:00
23d6bdc557
fpspreadsheet: Fix writing of empty strings to cell. Fix biff8 stream read error of hyperlinks.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3981 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 00:06:15 +00:00