Commit Graph

3454 Commits

Author SHA1 Message Date
1aaa90008d tvplanit: Fix hang of prev commit. Minor refactoring.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4875 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 21:29:02 +00:00
c847f138e6 tvplanit: Undo previous commit (resorting by time) - it causes a hang.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4874 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 20:26:14 +00:00
f268a8663b tvplanit: Fix recurring events being hidden or in wrong order because DayView's and WeekViews' temporary event lists are not correctly sorted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4873 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 18:45:39 +00:00
8804d54e20 RxFPC:RxDBGridPrint - fix print fillcolor for data cell
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4872 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 07:28:58 +00:00
4f83704448 tvplanit: Fix Event Editor if start and end times are in reverse order. Some cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4871 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 22:24:10 +00:00
3767e20c54 tvplanit: Use PointInRect function instead of huge "if" monsters
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4870 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 21:46:53 +00:00
454c96067c tvplanit: Fix incorrect handling of overnight events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4869 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 21:34:45 +00:00
de22b0fbbd tvplanit: Fix weekview displaying repeated events to begin at midnight after the second event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4868 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 20:32:12 +00:00
82e258bdb7 tvplanit: Call notification when City-state-zip format is changed. Some improvements in "demo" projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 13:55:10 +00:00
9be9d8a4b8 tvplanit: New TVpControlLink property CityStateZip defining the country-dependant order and structure of the city-state-zip part of the address.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4866 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 13:22:33 +00:00
ae8fecb42d tvplanit: Display birthdate in contact edit dialog. Fix localization file not being found if its name contains the wrong path delimiter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4865 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 11:02:25 +00:00
08d356fd9f tvplant: Call ForcePathDelims in relation to media and localization file names.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4864 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 10:06:52 +00:00
7348cfd58a tvplanit: Fix TVpGeneralFilenameProperty (renamed from TVpGenericFilenameProperty). Register TVpLocalizeFilenameProperty and TVpWavFilenameProperty (instead of TVpWavFileProperty).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 09:51:37 +00:00
10325574c0 tvplanit: Improved automatic layout of contact editor dialog. Some cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4862 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 22:49:33 +00:00
e445237ac3 tvplanit: Activate localization file in sample project "demo" (note: vplocalize.xml must be copied to project folder).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 22:48:44 +00:00
438cc9dcb3 tvplanit: Fix xml parser crashing when reading localization file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4860 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 22:46:36 +00:00
92ef54e789 tvplanit: Fix height of contact editor form being calculated too large.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4859 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 20:08:51 +00:00
3282ed81e8 tvplanit: Remove unused string resource RSDaysOverdue
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4858 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 20:02:03 +00:00
f2d0a36d2a tvplanit: In contact editor, split combined name field into separate fields for first and last names
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4857 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 19:50:19 +00:00
e575855f93 tvplanit: Fix incorrect sorting of events in case of ini datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4856 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 19:28:31 +00:00
a804344102 tvplanit: Fix enabled state of day view popup menu.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4855 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 16:50:32 +00:00
7c6fd7b8e4 tvplanit: Fix demo program storing only one task and one contact in case of inifile datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4854 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 14:03:35 +00:00
e2c8f958b2 tvplanit: declare IDs as Integer again, not Int64 - causing too much trouble with TVpIniDataStore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4853 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 13:43:32 +00:00
ad9d8a833d tvplanit: In ini datastore, write zero dates as empty strings to ini file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4852 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 11:23:30 +00:00
716c478549 tvplanit: Some clean-up in VpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4851 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 11:08:29 +00:00
7ead55c111 tvplanit: Fix line breaks in Notes fields used by ini datastore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4850 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 10:18:32 +00:00
9f385a2fb1 tvplanit: Fix deleting of records from ini datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4849 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 09:36:30 +00:00
dac023e5ee tvplanit: Use "random(High(Int64))" instead of "random($7FFFFFFF)" in ID generator for IniDatastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4848 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 23:17:07 +00:00
cf5e6362ef tvplanit: Use some margin when drawing the day view event icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4847 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 23:00:17 +00:00
5bbb50a408 tvplanit: Clean up package requirements of demo projects
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4846 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 22:49:26 +00:00
723aa23ea5 tvplanit: Initial commit of an inifile datastore (working only partially at the moment). Add a demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4845 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 22:43:15 +00:00
7ec6f3104d tvplanit: Fix linewrapping in DayView cells. Fix DayView event display if recurring event is edited.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4844 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 22:21:39 +00:00
b108ef2f7a tvplanit: Cosmetic changes in vpcanvasutils.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4843 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 20:44:06 +00:00
e85a111716 tvplanit: More refactoring of event painting in TVpDayViewPainter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4842 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 16:27:01 +00:00
a7ea8489dd tvplanit: Fix painting of thick edit frame in DayView if level > 0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4841 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 14:19:55 +00:00
564a84a7d6 tvplanit: More refactoring of event painting in TVpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4840 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 13:52:59 +00:00
4af15415ad tvplanit: More refactoring of event painting in TVpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4839 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 11:37:20 +00:00
48bdc3b5c6 tvplanit: Remove a few unused variables in DayViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4838 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 08:14:09 +00:00
d6961421d3 tvplanit: Add missing {$I vp.inc} in some of the new painter units. (Had caused a compilation issue).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4837 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-25 23:46:00 +00:00
8025160806 tvplanit: Fix compilation of package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4836 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-25 21:13:10 +00:00
bbb235eec8 tvplanit: Fix demo not showing DayView when switching from MonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4835 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-25 10:56:48 +00:00
e704901b0e tvplanit: Extract event drawing code from TVpDayViewPainter.DrawEvents. Some more refactoring.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4834 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-25 10:08:36 +00:00
448f4b8027 tvplanit: Remove some old debugging code from DayViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 22:44:13 +00:00
852270b0c2 tvplanit: Fix missing popup translation of task list and contact grid. Fix demo changing view when language is changed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 22:34:38 +00:00
2b22eefdca tvplanit: Fix delete confirmation messages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4831 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 21:55:47 +00:00
281124bc97 tvplanit: Fix alarm and recurrance icons in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4830 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 21:41:24 +00:00
31056b3ac8 tvplanit: Add comment that GetWeekOfYear (in VpMisc) calculates week number according to ISO specification.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4829 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 20:03:19 +00:00
70233a6fc4 tvplanit: Use DateUtils functions IncYear etc instead of those implemented in TvPlanIt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4828 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 20:00:32 +00:00
b0d583d8a9 tvplanit: Fix incomplete painting of thick edit frame around focused event in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4827 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 19:37:53 +00:00
4f2302a941 tvplanit: Fix DayView in-place editor reaching into adjacent column
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4826 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 19:10:59 +00:00