Commit Graph

514 Commits

Author SHA1 Message Date
5514aca70f tvplanit: Fix sqlite3 and firebird datastores crashing due to non-specified database names. Fix double-click in VpWeekView to use correct date. Fix some compilation issues of demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6791 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-15 22:14:01 +00:00
85af6345aa tvplanit: Improved name extraction from vcards. Some improvements in the demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6788 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-10 10:10:16 +00:00
ac169056d0 tvplanit: Avoid scrolling of VpContactGrid in ScrollIntoView when new contact is already visible (issue #34641).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6747 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-06 10:56:05 +00:00
b52eca8685 tvplanit: Fix VpNavBar component editor (crashes, update issues, no delete prompt) - issues #34644 and #34645
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6746 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-05 20:22:46 +00:00
f474ac55d6 tvplanit: Fix VpContactButtons behavior when search contact does not exist.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6744 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-04 11:34:23 +00:00
fc5c783aef tvplanit: Fix keyboard behavior of TVpContactGrid (issue #34641)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6743 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-04 08:49:17 +00:00
f81256b351 tvplanit: Fix JSONDatastore deleting data file when started next time.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6669 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-09-29 23:00:35 +00:00
6467d8a2fe tvplanit: Add a string as a second datasource to the TVpJSONDatastore (see forum https://forum.lazarus.freepascal.org/index.php/topic,42712.msg298324)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6668 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-09-29 22:37:15 +00:00
50ebf97861 tvplanit: Fix compilation with Laz 1.6.4. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-06 18:56:08 +00:00
ecb135c238 tvplanit: Keep start-to-end-time interval when start time is changed by TimeDialog in event editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6516 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-20 21:13:53 +00:00
98d7c7e56c tvplanit: By default, new events in WeekView begin at the next full hour now (no longer ar noon). Some cosmetics.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6515 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-20 20:56:27 +00:00
da23bd4405 tvplanit: Cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6513 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-20 05:28:45 +00:00
aa6e70e006 tvplanit: Fix import of .ics files with recurring events to database-related datastores.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-18 21:54:25 +00:00
bdc2d6a2ba tvplanit: cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6510 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-18 21:08:26 +00:00
9853dac525 tvplanit: Fix xml datastore not saving custom recurrence interval.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6509 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-18 20:35:01 +00:00
bab84c3523 tvplanit: Fix compilation with Laz 1.8.4. Avoid crashes of import methods if no resource has been created.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6508 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-18 20:01:53 +00:00
53e2ca7944 tvplanit: Import tasks from VTODO section of iCalendar files (*.ics, *.ical)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6502 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-17 20:27:58 +00:00
5706fa833b tvplanit: Import event category from ical file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6501 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-16 23:07:26 +00:00
774f30a257 tvplanit: Activate iCal import also for TVpWeekView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6500 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-16 16:24:11 +00:00
8a9d5799a8 tvplanit: Implement import of events from iCal files (*.ics). Some issues left.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6499 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-15 23:40:18 +00:00
9d74bcd82d tvplanit: Split off re-usable code from unit VpVCard to VpBaseDatafiles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6497 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-14 15:15:18 +00:00
947657a4ac tvplanit: Add optional parameter "IsNewEvent" to VpDayView's and VpWeekView's EditSelectedEvent (issue #33854, modified patch by linux-man).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6489 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-12 16:40:51 +00:00
7b04d530a6 tvplanit: Fix contact editor form size in Linux.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6488 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-12 09:22:39 +00:00
dcffe6f0aa tvplanit: Fix compilation in Linux (issue #33852).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6487 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-12 09:22:00 +00:00
842ff47426 tvplanit: Improve keyboard handling of VpContactGrid. Some refactoring of painting code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6485 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-10 16:42:16 +00:00
66df4b25d4 tvplanit: Better sorting of contacts. Clean-up.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6484 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 22:57:50 +00:00
ac2f2a1cfd tvplanit: Improved positioning of VpContactGrid inplace editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6483 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 19:49:39 +00:00
3683bf9450 tvplanit: Add new property CaptionStyle (lowercase or uppercase) to TVpContactButtonBar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6482 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 17:53:33 +00:00
2c923b154e tvplanit: Improved rendering of VpContactGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6481 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 13:23:44 +00:00
ad07af3511 tvplanit: Fix VpDayView, VpWeekView and VpTaskList inplace editor to cancel input when ESC is pressed (like VpContactGrid, see prev commit).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6480 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 11:42:09 +00:00
5f0337539e tvplanig: Cancel contact inplace-editor with ESC key.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6479 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 11:21:35 +00:00
abf9796c82 tvplanit: Improved dragging of columns in VpContactGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6478 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 09:59:39 +00:00
ef8583487e tvplanit: Fix ContactGrid background painting issue introduced in previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6477 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 09:36:08 +00:00
64d3c247b1 tvplanit: Less hints and warnings, some cleanup
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6476 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 09:22:33 +00:00
820288c8ec tvplanit: Import contacts from vCards (*.vcf)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6475 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-08 20:03:23 +00:00
d63d52fda2 tvplanit: Fix compilation with Laz 1.8.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6472 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-07 10:01:49 +00:00
9ce59d21d5 tvplanit: Remove calls to DoubleBuffered in the units (flicker fixed in Laz trunk)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6455 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-04 10:36:57 +00:00
c35fa3e75e tvplanit: Set lower limit of VpDayView.RowHeight to 1 (discussion of issue #33763)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6440 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-19 22:57:26 +00:00
54a4101f8a tvplanit: Fix crash of VpDayViewPainter caused by deleting uncreated regions (issue #33763, idea by linux-man)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6439 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-19 22:05:59 +00:00
6629fa2cc6 tvplanit: activate Hi-DPI imagelist of Laz 1.9+ for DayView icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6438 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 22:55:29 +00:00
ec29b90757 tvplanit: VpDayView icons are painted side-by-side now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6437 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 15:52:16 +00:00
3043e953cc tvplanit: Provide image list for the dayview icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6436 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 09:47:36 +00:00
0dafc729e5 tvplanit: Publish the LCL property BorderSpacing for all visual TvPlanIt controls. Unpublish ChildSizing for TVpClock.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6435 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 07:43:44 +00:00
2e2acca4da tvplanit: Draw transparent category icons in VpDayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6434 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 22:51:07 +00:00
7ac9a7ca1b tvplanit: Cleaning up unit VpBase
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6433 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 22:21:23 +00:00
5502e43d53 tvplanit: Show category colors and icons in category combobox of event editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6432 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 21:21:16 +00:00
a38f491755 tvplanit: Fire OnAddEvent after DavView's/WeekView's/MonthView's event editor only in case of a new event (mentioned in the discussion of issue #33749).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6431 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 16:35:44 +00:00
451b6e0016 tvplanit: Remove unnecessary call to Datastore.PostEvents after closing VpDayView's event editor dialog (issue #33749).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6430 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 16:04:57 +00:00
4cb75a89cc tvplanit: Add additional parameters "IsNewEvent", "IsNewContact", "IsNewTask" to the events "OnOwnerEditEvent", "OnOwnerEditContact" and "OnOwnerEditTask" of TVpDayView/TVpWeekView/TVpMontView, TVpContactGrid and TVpTaskList, respectively (extended patch by linux-man, issue #33750).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 15:37:37 +00:00
64aaca1c1d tvplaint: Rename the new VpDayView property CustomRowHeight to RowHeight.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6426 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 08:09:21 +00:00