Commit Graph

1629 Commits

Author SHA1 Message Date
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
3db28fa6a8 richmemo: forcing handle allocation on set* operations (including load), to make sure that RichMemo system specific operations can be executed, #19662
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-08 03:02:45 +00:00
6df495c1af richmemo: #21103 #23614 - TEditStream record changed to packed in order by be 64-bit compatible. Found by: Arndt Wills and gillesfr14
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2831 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-07 18:22:58 +00:00
005d47e24a richmemo: fix for #23042, the patch by teejaydub - fixes hangs on win32 setrangeparams
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2830 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-07 17:55:12 +00:00
468fe8a4a5 Add ftFMTBCD support to TJDBGridControl. Thanks to Sergey Golubev for the reminder
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2829 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-05 19:16:31 +00:00
e0105c9c37 trial to fix libsmpeg loading (mpeg support)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2828 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-02 07:56:42 +00:00
60fbe07caa fix cdripper example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2827 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-01 23:44:04 +00:00
01d685203b fix recorder example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2826 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-01 23:42:51 +00:00
d6f80b1ca7 fix mixer example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2825 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-01 23:41:17 +00:00
9423e11d6c fix fileconverter example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2824 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-01 23:38:17 +00:00
91722ff2a9 fix cdplayer example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2823 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-01 23:36:22 +00:00
c9d65fa82e fix linerecord example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2822 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-01 23:33:58 +00:00
1e4133108f fix alsa loading
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2821 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-01 23:10:36 +00:00
b827644c2a fixed compiling player
fixed alsa driver



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2820 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-01 17:05:54 +00:00
5d957a8c60 removed libc dependency
fixed compiling



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2819 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-01 16:14:55 +00:00