Commit Graph

3293 Commits

Author SHA1 Message Date
82953d2169 КRxDBGrid - copy cell values for multiselect mode
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2895 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-02-04 16:58:30 +00:00
4b7b914d2a RxDBGrid.Columns[].EditButtons[].Style=ebsPlusRx - show UpDown buttorn for edit current numeric field
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2894 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-02-02 11:14:10 +00:00
acb193861d RxDBGrid - property OnEditingDone now is published
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2893 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-02-02 06:02:22 +00:00
d7ae172c98 RxDBGrid - try to fix work on MAC
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2892 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-25 16:15:23 +00:00
bfd340e043 RxVerInfo - fix compile on non Linux or Windows OS
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2891 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-25 14:56:15 +00:00
400bf62aba * OpenDocument/OpenOffice/LibreOffice date/time read fix; code adapted from curtisnewton, thanks a lot! Fixes mantis issue #25585
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2890 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-24 10:32:23 +00:00
7f1dc5a82e RxDateEdit - fix calendar popup windows position on multimonitor configuration
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2889 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-20 06:54:10 +00:00
1e13eb1c2d RxDBGrid - fix error display last data line with active Footer row
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2888 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-19 18:47:05 +00:00
6975302d15 RxDBGrid - add Collumn.Constraints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-15 12:18:24 +00:00
b94045e9d1 RxDBGrid - russian translate
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2886 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-15 12:04:11 +00:00
3716b6a895 RxDBGrid - add new KeyStroke - Copy cell value. Default - Ctrl+C
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2885 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-15 11:35:25 +00:00
498fd01a38 RxMDI - fix change active window after hide active control
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2882 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-09 19:00:14 +00:00
48751408f2 RxLibFpc - small ToDo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2881 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-09 18:53:11 +00:00
c3161bff2b Explicitly specify test source file codepage as UTF8. Only works on FPC trunk. Tested on FPC trunk and FPC 2.6.2 x86, Windows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2880 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-08 15:41:43 +00:00
de918f9d48 * Register components on different pages
* When a control on a view is unknown, show a UIxcodePlaceholder component
 * Redraw after changing the title of a UISegmentedControl
 * Removed commented code


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2874 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-29 12:58:57 +00:00
f76acb185e * Correction for r2871: less ugly, more efficient code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2873 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-28 16:01:15 +00:00
0368dda4a8 + Expanded fpsgrid example to be able to load/save first sheet of spreadsheet files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2872 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-28 15:29:22 +00:00
9351660d56 * Correct color output for background colors, see thread
http://forum.lazarus.freepascal.org/index.php/topic,19887.0.html
  and testmanual.xls from test suite.

  To do: needs verification on big-endian systems.
  To do: scWheat etc (the colors after grayx%) still don't work.



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2871 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-27 18:01:59 +00:00
86a42c6c02 * Tests: cosmetic/slight tightening file exist test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2870 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-27 13:55:56 +00:00
449252cbe6 * tests: test WriteToFile AOverwriteExisting, hopefully catches error reported in
http://forum.lazarus.freepascal.org/index.php/topic,23051.msg137012.html#msg137012



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2869 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-27 09:32:10 +00:00
75b5c4188f * Test suite: fix r2863 invalid sheet name (at least when opening with Excel) for formatted text test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2868 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-23 13:39:30 +00:00
018f05324b + Initial write date/time cell support for opendocument/OpenOffice/Libreoffice
To do: adjust test suite for .ods files



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-23 13:35:36 +00:00
93206c37ca * Cosmetic/comments
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2866 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-23 13:16:32 +00:00
6a4ff4c1c2 * Correction to r2863: use ISO 8601 format for WriteDateTime text output (currently every format except BIFF8 xls).
Ensures resulting files are interoperable regardless of OS locale settings, conforming to date/time cell support in BIFF8.



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2865 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-23 12:11:20 +00:00
f7dfeba208 * Excel8write.lpr demo compile fix for r2863 by wp
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2864 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-22 18:09:55 +00:00
7f7d07f151 + Add support for text/number/date formats in BIFF8/xls.
+ Add support for writing out date/time to non-BIFF8 xls (though as text only for now)
  Slightly modified patch by wp, thanks a lot. 
  See
  http://forum.lazarus.freepascal.org/index.php/topic,22940.msg136761.html#msg136761

Still to do: add test cases for invalid format strings



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-22 14:02:04 +00:00
b0c00c63e4 * Added UISegmentedControl
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2862 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-17 21:03:56 +00:00
f1c9fb3597 * TsWorksheet.ReadAsUTF8Text: readasdate also reads time values unless sure cell is date-only. Thanks wp for the suggestions!
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-10 12:23:02 +00:00
da12b16bb5 * tests: fix testsutility.pas file type.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2860 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-10 12:10:28 +00:00
a98a75327e Tests:
+ added test for GetSheetByName function
+ Added TSpreadInternalTests.ReadDateAsUTF8 to test wp's ReadAsUTF8 forum problem report with date/time cells
* Fixed displaying sheet+column where problems occur (CellNotation function)



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2859 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-10 12:06:12 +00:00
abd8d0bea8 + Add date/time/datetime read/write support for BIFF8 xls format. No plans for earlier formats though the code could be adapted
+ XLS BIFF8: added DATE and TIME worksheet functions to RPN formula
* Allow writing formulas,numbers etc using cardinals increasing row/column limits for formats that support it.
* Add checks for text cell size limits when writing xls, xml. If exceeded, cell text will be truncated (better than corrupting the xls file - e.g. try to open it with Excel 2002 - as happens now with xls format)
* Formats that use fpspreadsheet zip have extra checks to prevent crashes for invalid zip dates
+ Use FPC built-in zip format when using FPC 2.7.1+ as it has fixes/improvements (e.g. zip64 support)
+ Added FPCUnit test suite to test reading and reading writing files. For now uses BIFF8 xls; contributions for other formats and more tests welcome. See the tests subdirectory.
+ Add link to msodumper tool for reference/debugging/troubleshooting .xls output

Fixes Mantis bugtracker issue #25388



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2857 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-07 13:42:22 +00:00
08230c6ccb * Added component icons
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2856 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-04 20:40:42 +00:00
6aa1ad039d * Fixed sigint by closing/re-opening resource
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2855 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-01 16:37:25 +00:00
94144e9e61 Improving detection of default date display order.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2854 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-27 13:55:36 +00:00
625cb24459 Fix bugs and code refactoring
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2853 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-27 11:27:42 +00:00
e43cc06e92 Fixed: incorrect format display
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2852 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-27 10:33:53 +00:00
eda11d6bf8 Added: AllowNull property to TJLabeledIntegerEdit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2851 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-27 10:01:09 +00:00
b2b2c69c87 Changed: Call to OnEditingDone after field value has been set
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2850 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-27 09:04:13 +00:00
f687422a13 RxLockupCombo - fix SetFocus after close popup box
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2849 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-26 11:10:34 +00:00
e40dc498be Added russian translation by Sergey Golubev
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2848 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-23 15:28:33 +00:00
60a5a4279b Added: TJDBLabeledFloatEdit and TJDBLabeledCurrencyEdit null value support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2847 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-23 12:47:14 +00:00
db4eec3283 Convert system month names to utf8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2846 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-23 06:22:41 +00:00
63f2b8fae4 Added: JDBLabeledIntegerEdit support for null values
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2845 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-22 09:23:34 +00:00
2172ae9c6e fpspreadsheet: Minor bug fix from forum http:\/\/forum.lazarus.freepascal.org\/index.php\/topic,22667.0.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2844 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-21 16:13:02 +00:00
ac388ad3f8 month names allowed now
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2838 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-15 21:32:47 +00:00
c5aea14eb1 [-] Better detection for Form Constraint handling on Linux
(by: DSA and Galló Gábor)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2837 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-14 22:46:47 +00:00
2ed97da49a RxDBGrid - remove depricated property AllowedOperations
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2836 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-09 16:56:32 +00:00
0eaf0d46c4 Added EditFormat property to JDBGridControl
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2835 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-08 15:44:57 +00:00
8023e253b0 Added: EditFormat property to FloatEdit components
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2834 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-08 12:52:19 +00:00
4f5803ff74 Fix wrong conversion
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-08 11:41:55 +00:00