890 Commits

Author SHA1 Message Date
d1eec6730d TvPlanit: Improved rendering of TVpMonthView, more consistent with the other planner controls.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9101 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-22 23:36:57 +00:00
0866840b01 TvPlanIt: Guess encoding of imported ical files and convert to utf8 if needed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9091 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-18 12:24:15 +00:00
7548f46b4f tvplanit: Alternate solution for issue #39061
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9090 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-17 23:18:28 +00:00
58b00ac007 TvPlanIt: Fix ical events without end time and with zero duration running forever. GitLab issue #39061
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9089 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-16 23:30:40 +00:00
4e6e861a43 tvplanit: Improved handling of all-day events in ical files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9088 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-16 23:10:30 +00:00
6852677f7c TvPlanIt: Fix leaving orphan events, tasks and contacts in an ini datastore when a resource is deleted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8952 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-12 14:22:23 +00:00
ad75d24647 TvPlanIt: Fix leaving orphan events, tasks and contacts in a json datastore when a resource is deleted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8951 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-12 14:13:03 +00:00
85f217b38e TvPlanIt: Fix leaving orphan events, tasks and contacts in an xml datastore when a resource is deleted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-12 13:53:23 +00:00
45a8be0a99 TvPlanIt: Update Polish translation (by kkuba).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8949 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-12 10:51:43 +00:00
a29c223b23 TvPlanIt: Fix FlexDatastore crashing in Access demo when birthdate of a contact is not specified.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8948 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-10 23:12:26 +00:00
f0d8344fee TvPlanIt: Deletion of a resource deletes also the associated events, contacts and tasks. Tested with all database datastores. Update datastore sample projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8947 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-10 22:24:46 +00:00
e2ac13878a TvPlanit: Update Gantt demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8945 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-09 22:53:18 +00:00
d4fd4f420e TvPlanIt: Fix double-click on event in hour mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8944 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-09 22:46:32 +00:00
7de37ae043 tvplanit: Fix duplicate resource error when editing a resource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8941 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-09 16:32:38 +00:00
897e036a0c tvplanit: Fix painting of GanttView events in hour mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8940 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-09 15:47:05 +00:00
2871daa7c1 TvPlanIt: Update Polish translation (by kkuba)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8938 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-08 23:26:33 +00:00
a41f9dbdcb TvPlanIt: Extend GanttView by hour resolution
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8937 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-08 22:41:21 +00:00
cdda31aed5 TvPlanIt: Relax postgres check in previous commit ('postgres' rather than 'postgresql')
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8933 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-04 20:42:19 +00:00
23030c0377 TvPlanIt: Take care of different postgresql protocol names in zeos. (https://forum.lazarus.freepascal.org/index.php/topic,64787.msg493037.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8932 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-04 20:26:24 +00:00
e63e70d606 TvPlanIt: Revert r8918
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8919 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-10 17:38:46 +00:00
4fb54451c0 TvPlanIt: Allow to select TVpNavBar folders in form designer at design-time.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8918 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-10 11:27:30 +00:00
7805ba4569 TvPlanIt: Minor improvements.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8917 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-07 22:10:44 +00:00
ab24065d59 TvPlanIt: Fix drag-and-drop in TNavBar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8916 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-07 13:32:47 +00:00
110ffd365b tvplanit/Drag&Drop: Introduce DragMarkerColor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8915 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-07 11:55:05 +00:00
67b5df031c TvPlanIt: Fix TVpNavBar not painting the first button text if IconSize is small. Issue #39055
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8904 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-29 18:01:02 +00:00
96e0ace939 TvPlanIt: Improved inplace editor. Scaling of event images in Category combobox if they are too high
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8897 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 17:41:38 +00:00
45d2ee6485 TvPlanit: Fix clipping of too-large event images.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8896 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 15:47:53 +00:00
ad1cd546a6 TvPlanIt: Fix writable data file location of DayViewWrapStyleDemo for cocoa.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8895 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 15:03:31 +00:00
9f444a7a30 TvPlanIt: Minor improvement in wrapped text margins.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8894 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 14:34:45 +00:00
b211e27180 TvPlanIt: Use array of rectangle, rather than combined regions, to draw event text wrapped around event icons. (Supposed to fix rendering issue in cocoa).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8893 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 14:25:42 +00:00
a6b4323add TvPlanIt: Add example for DayView.WrapStyle
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8892 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 10:54:38 +00:00
6a736b0135 TvPlanIt: Add "Items" as default properties for TVpResources, TVpSchedule, TVpTasks, and TVpContacts
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8891 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 10:35:11 +00:00
72c05e3403 TvPlanIt: Fix compilation after previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8890 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-21 21:44:06 +00:00
64ad1bbe8c TvPlanIt: More compatibile calculation of average character size, avoids crash in cocoa.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8889 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-21 21:41:21 +00:00
d9d497757b TvPlanIt: Avoid windows-like messages in printing routines (fixes crashes in cocoa related to PrintPreview).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8888 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-21 20:18:22 +00:00
d5965cb872 TvPlanIt: Fix cocoa crashing due to windows-like message VP_DatastoreChanged.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-20 22:43:28 +00:00
839adfaf80 TvPlanIt: Fix painting of text in VpNavBar on Cocoa.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8839 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-16 10:43:39 +00:00
d060e53a49 TvPlanIt: Increment version number to 1.8.2 for new release.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8837 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-15 10:26:20 +00:00
b84bdf27e1 TvPlanIt: Fix compilation after Laz/main commit 74446557f6825c4ddadd9f6321a80147798dbf99. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8836 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-15 10:20:49 +00:00
670eceeb88 JVCL, mbColorLib, TvPlanIt: Fix compilation with Laz/main
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8827 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-06 18:23:57 +00:00
a09c467161 tvplanit: New property KBNavigation for TVpDayView and TVpMonthView to disable keyboard navigation, like in TVpMonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8766 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-15 22:39:29 +00:00
0ceb87ed80 tvplanit: Fix truncated focus rectangle in bottom row of TVpMonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8765 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-15 21:59:53 +00:00
eec167171d tvplanit: Fix incorrect VpMonthView painting when date is 0 (Dec 30, 1899).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-15 21:32:14 +00:00
0d61deccb6 tvplanit: Fix IDE crashing when a TVpResourceCombo is dropped on a form when there is already a datastore on the form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8714 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-19 14:15:24 +00:00
3f96acc701 tvplanit: Clear TVpMonthView's event array before painting. See https://forum.lazarus.freepascal.org/index.php/topic,62366.msg471573.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8713 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-19 12:30:17 +00:00
df81462d09 tvplanit: Increment version number to 1.8.1 for OPM VpCalendar bugfix release.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8700 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-09 22:01:18 +00:00
ad4dc0e99a TvPlanIt: Fix missing initialization of TVpCalendar.IsHoliday function result.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8699 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-09 21:40:26 +00:00
7a5f4c73db TvPlanIt: Fix TVpCalendar crashing due to painting Feb 29, 2023
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8698 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-09 21:37:59 +00:00
98b7bb2e30 TvPlanIt: Workaround for opaque labels issue in Laz 2.2.4.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8692 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-18 10:55:52 +00:00
19b469917e tvplanit: Fix minor details for v1.8.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8691 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-18 10:29:45 +00:00