Erick Pérez Castellanos
aa20a71ca9
gcal-day-view: initial implementation of view API
...
Implemented:
#GcalView:get_initial_date
#GcalView:get_final_date
#GcalView:contains_date
#GcalView:get_left_header
#GcalView:get_right_header
#GcalView:get_by_uuid
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos
f3afda6584
gcal-event-widget: added :date-end property
...
Added get/set accesors methods.
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos
0c03de1631
docs: fixed docs string
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
cd60f84bb8
gcal-days-grid: added :get_by_uuid method
...
Added GcalView:get_by_uuid like method to use from GcalDayView and GcalWeekView
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
8644ad8921
gcal-all-day-grid: added :get_by_uuid method
...
Added GcalView:get_by_uuid like method to use from GcalDayView and GcalWeekView
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
05c2d6064b
gcal-all-day-grid: make it reactive
...
Missing to communicate click actions
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
7bb3381b6b
gcal-event-widget: fix retrieve :summary property
...
Formatting fixes.
Added functions docs.
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
ca4dc4f739
gcal-manager: fixed memory leak
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
765331cb4a
gcal-viewport: add vertical scroll capability
...
Added function docs.
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
800ecf938c
gcal-view: add some API implementation
...
Added GcalView:get_left_header and GcalView:get_right_header
implementations to GcalMonthView and GcalYearView
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
d3c07fdf3d
build: move docs out of source tree.
...
TODO file left as developer guide
I plan to host the docs on a web apart, not decision on it yet,
maybe a projects.gnome.org site.
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
c22792e65e
gcal-view: reworked a little more the API
...
Added API to get the headers for update GcalNavBar
Updated GcalMonthView, GcalWeekView and GcalYearView implementations
Updated calls in GcalWindow
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos
3327207c9d
gcal-window: fixed memory leak when handling date
...
Fixed construction method
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
a71491377e
gcal-window: updated to new GtkSearchBar API
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
09f6261550
ui: integrated GcalDayView in GcalWindow
...
Initial work. Added option to GcalApplication action.
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
42ff2e76da
ui: added GcalDayView widget
...
Initial approach, it doesn't do anything but painting the background.
Still missing to handle chidlren allocation.
Integrated GcalAllDayGrid, GcalViewport and GcalDaysGrid.
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
728ea4db16
ui: added GcalDaysGrid widget
...
The widget for keeping event widgets. It will be used in DayView and WeekView
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
ac596a960b
gcal-all-day-grid: minor fixes
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
984b65780a
ui: added GcalViewport widget.
...
Basically a Viewport with overlaying scrollbars, for using inside the views
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
03af4df286
gcal-view: GcalViewChild struct field renamed
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
3c1a1b89c1
gcal-month-view: removed unnecessary function split
...
Reordered some functions.
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
0177641993
gcal-nav-bar: removed #GcalNavBar:move signal
...
Use back/forward buttons :clicked signal
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
72a4981965
ui: upddated GcalYearView to new UI
...
Missing: make it compliant with new GcalView API
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
b9d111fd42
ui: updated GcalMonthView to new UI
...
Missing make it compliant with the new GcalView API
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
beb17fadca
misc: formatting issues
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
65326c0d05
misc: cleaned unused include directive
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
be1358313d
gcal-view: added safety check to every vfunc call
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
bfa996b982
ui: added GcalAllDayGrid widget.
...
GcalAllDayGrid will work for day and week view.
This is the initial implementation, that doesn't respond
to events (mouse clicks)
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
7888bcc872
docs: updated TODO
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
3dd88ba829
gcal-view: started API migration
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
34aa3d3922
build: fixed warning
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos
b248a049dd
misc: A bunch minor fixes.
...
libgd: Removed unused widgets from compilation
gitignore: Update to skip resources
gcal-window: Removed warning about non-use vars
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
b5b4076b21
docs: Updated to reflect UI changes
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
c8b155270b
ui: Added GcalNavBar widget.
...
GcalNavBar widget is composited using templates.
Great work of Tristan Van Berkom <tristanvb@openismus.com > on
using this.
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
6f42fc093a
build: Added gresources to binary
...
GcalNavBar ui added as a resource.
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
72358c7ca4
ui: Removed Clutter from GcalEventOverlay
...
This commit got mixed in, and that's why you will
see warnings. Future commits will fix this.
This one builds, though.
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
c19ce22e73
ui: Updating to GtkSearchBar new API
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
a2306981f0
ui: reverting hack made for GdHeaderBar
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
131aa97d92
ui: use GtkStack instead of GdStack
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
dd969cf14d
ui: migrating from GdHeaderBar to GtkHeaderBar
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
d2a5b20d9d
docs: updated
...
Removed stuff already done.
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
d434daa35f
ui: connected new-event button
...
It's just the connection what has been updated, since the
widget is still working with clutter there's no visible
effect when clicking [New Event] button
[New Event] button changed to text button, and updated
style
Removed non-needed code
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
a30fcfc59a
app: Fixed string in --version handle
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
453f6a9e17
ui: Removed GcalToolbar and GcalSearchbar
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
603a41f424
Removed internal copy of Notification widget.
...
Use GdNotification
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
ed4da78a6b
Updated Notification system to new UI
...
Still mising here some way to solve the stacked notifications issue.
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
21b7e3d42e
Removed ClutterActor from main UI
...
Use GtkSearchbar
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
bb37d27250
Updated docs: Planning
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
ccd014c820
Initial GdHeaderBar migration
2014-12-04 17:10:18 -05:00
Erick Pérez Castellanos
63a0bc2bab
Updated authors
2014-12-04 17:10:18 -05:00
Erick Pérez Castellanos
d8e902ee0a
Added initial changes to GcalWindow
...
Replaced GcalToolbar for GdHeaderBar
Commented out code for ensure building
2014-12-04 17:10:18 -05:00
Erick Pérez Castellanos
daeeed6af5
Updated docs to reflect the changes.
2014-12-04 17:10:18 -05:00
Erick Pérez Castellanos
96b5c26926
Added libgd submodule
2014-12-04 17:10:18 -05:00
Erick Pérez Castellanos
262a50a32f
gcal-application: save window position and size
...
Format fixes in gcal-application.h
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=700039
2013-05-17 14:42:21 -04:00
Erick Pérez Castellanos
95461213a5
Added command line handling.
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=700041
2013-05-17 14:42:21 -04:00
Erick Pérez Castellanos
01145b8916
Migrated to Gtk+-3.8
2013-05-17 14:41:12 -04:00
Erick Pérez Castellanos
34d512f5ec
Forcing the app to use always the light theme.
...
Formatting fixes.
2013-05-11 11:32:17 -04:00
Erick Pérez Castellanos
d68f0fbf68
Replaced demo-code for GcalSearchbar in GcalWindow.
2013-05-11 11:32:17 -04:00
Erick Pérez Castellanos
afb51b6452
Added GcalSearchbar initial implementation.
2013-05-11 11:32:16 -04:00
Erick Pérez Castellanos
6ed56ba819
Migrated get_icon_margin to gcal-utils.
...
Moved to use it later on GcalSearchbar.
2013-05-11 11:32:16 -04:00
Erick Pérez Castellanos
ec5a40cd17
Updated TODO.
2013-05-11 11:32:16 -04:00
Erick Pérez Castellanos
703754e164
Fixed "New Event" click behavior when on year-view.
2012-12-06 11:39:17 -05:00
Erick Pérez Castellanos
26cc28fcdb
Implemented create_event_on_current_unit in GcalMonthView.
...
Clicking on "New Event" works now for month-view.
2012-12-06 11:38:05 -05:00
Erick Pérez Castellanos
8f2786a5cb
Reworked drawing of GcalMonthView.
...
Internals changed. The drawing now requires more calculus, yet, there's a
lot of places where optimizations can be made. Let's wait for performance
issues. I'm still not entirely happy but the work is taking shape.
The drawing code is broken into pieces, so it can be read (not executed
optimally).
2012-12-05 16:55:31 -05:00
Erick Pérez Castellanos
5a5d01a4d7
Fixed ordering of dates in New Event Dialog.
...
When the user selected the months backward the dates on the header
of the "New Event" dialog was wrong. The dialog shown "from October 31 to March 01"
2012-12-05 16:55:31 -05:00
Erick Pérez Castellanos
3e84d62a8c
Marked current month in GcalYearView
...
Added docs about it.
2012-12-01 15:29:04 -05:00
Erick Pérez Castellanos
8b6f11d743
Bump version to 0.0.3.
2012-12-01 15:29:04 -05:00
Erick Pérez Castellanos
9d83840f96
Stolen code for making toolbar buttons square.
...
The code is extracted from Cosimo's libgd.
Eventually I might migrated my toolbar and notifications
to use libgd instead of my own copy.
2012-12-01 15:29:04 -05:00
Erick Pérez Castellanos
4ae3f77c0f
Added drawings for new_event mark when click "New Event" button.
2012-12-01 15:29:03 -05:00
Erick Pérez Castellanos
85634c79df
Added input handling to GcalYearView.
...
Added drawing primitives from marking the range of dates.
This code is almost the same of the one in GcalMonthView.
2012-12-01 15:29:03 -05:00
Erick Pérez Castellanos
8a5d1ba4fb
GcalYearView implementation of GcalView::create_event_on_current_unit.
...
Added code to connect the event from GcalToolbar in GcalWindow.
2012-12-01 15:29:02 -05:00
Erick Pérez Castellanos
c72b37433c
Added GcalView::create_event_on_current_unit.
...
this method is to be called whenever someone click on
the "New Event" button of the toolbar. It will instruct the active
view to generate a GcalView::create-event signal with the parametes
of the current unit (a month for GcalYearView, a day for GcalMonthView, etc)
It will allow the view to mark the current unit cell for the event creation.
2012-12-01 15:29:02 -05:00
Erick Pérez Castellanos
72278de44b
Format and documentation changes.
2012-12-01 15:29:02 -05:00
Erick Pérez Castellanos
1d04d68c52
Debug instrucions and comments removed.
2012-12-01 15:29:02 -05:00
Erick Pérez Castellanos
4d31236ea7
Changed event-created signal emission.
...
GcalManager::event-created signal emission changed.
The new code isn't reentrant so eventually has to be fixed.
2012-12-01 15:29:01 -05:00
Erick Pérez Castellanos
8e0de96520
Added accelerators to GcalApplication actions.
2012-12-01 15:29:00 -05:00
Erick Pérez Castellanos
44ddbdbf88
Added mark of the actual month to GcalYearView.
2012-12-01 15:29:00 -05:00
Erick Pérez Castellanos
a3e7f9a360
Implemented GcalView::reposition_child in GcalYearView.
...
Fixed the same method in GcalMonthView.
2012-12-01 15:28:59 -05:00
Erick Pérez Castellanos
f24e1a1dfa
Updated docs and fixed formatting issues.
2012-12-01 15:28:58 -05:00
Erick Pérez Castellanos
ef08a2a45f
Optimized size_allocate method in views.
...
Removed some debug instructions.
2012-12-01 15:28:58 -05:00
Erick Pérez Castellanos
14fe503ece
Fixed bug on location change notification.
2012-12-01 15:28:57 -05:00
Erick Pérez Castellanos
0a34a40722
Added allocating of children in the GcalYearView.
...
Reordered months in the grid.
2012-12-01 15:28:57 -05:00
Erick Pérez Castellanos
ddae6624a3
Keeping event widget sorted inside views.
...
Still missing to fix GcalWeekView, but that one needs reworking.
2012-12-01 15:28:56 -05:00
Erick Pérez Castellanos
0e39c4f618
Added gcal_compare_event_widget_by_date function.
...
Method added so I can sort the widgets by its start date on
the views.
2012-12-01 15:28:56 -05:00
Erick Pérez Castellanos
ee66a85e4d
Moved GcalViewChild to GcalView.
...
This struct contains the child data the views needs to know
about it's (event-widget) children.
2012-12-01 15:28:56 -05:00
Erick Pérez Castellanos
9f4a97d536
Renamed widget data structure to GcalWeekChildData.
...
I will GcalViewChild to gcal-view.h and since GcalWeekView
includes GcalView the will be names clashes.
Anyway, GcalWeekView need a full rework.
2012-12-01 15:28:55 -05:00
Erick Pérez Castellanos
fe22adc977
Improved update of toolbar when changing view.
...
Whenever we change the view through the AppMenu the code for
changing the view in GcalWindow was executed twice. Fixed to execute
it only once.
2012-12-01 15:28:54 -05:00
Erick Pérez Castellanos
9b4e13f1fc
Added constraint to minimum window size.
...
In fair play I should implement get_preferred_width/width_for_height and
friends methods on the views, but since I'm lazy and these days I doubt
someone using calendar will have less than 800x600 pixels.
2012-12-01 15:28:54 -05:00
Erick Pérez Castellanos
d9a3b7ae11
Bug: Not updating toolbar when changing view through AppMenu.
2012-12-01 15:28:54 -05:00
Erick Pérez Castellanos
1fbcfeb303
Fixed text formatting issues.
2012-12-01 15:28:54 -05:00
Erick Pérez Castellanos
1b0312f653
Minor fixes and comments review.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos
a00ec9edc2
Hooked GcalYearView into GcalWindow and GcalApplication.
...
This works amost flawlessly since GcalView interface and it's methods
take care of almost everything.
Yet, this made me realize some toolbar bug.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos
bb7e518fa4
Added initial GcalYearView implementation.
...
First approach to GcalYearView implementation.
The code is missing yet a lot of the others views functionality,
well, almost every view is missing something, but...
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos
a3aa2fc664
Fixed indexing of month_names array.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos
4b35ffe8c8
Updated docs and TODO.
...
Added initial GcalYearView sketches to Drawing
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos
cc14e10d36
Get month names and weekdays from locale.
...
Added modification to extract month names from locale instead
of localization files.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos
1062d3e435
Debarshi's suggestion about g_clear_object use.
...
Removed if (pointer != null) condition when using
g_clear_object.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos
e1be309095
Added source change notification connections.
...
Added code to GcalWindow to connect notification of change from
GcalEditDialog to GcalManager methods.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos
6ada73c619
Added support for moving events between sources.
...
Added support in GcalManager for moving events.
The implementation is pretty simplistic. It doesn't handle
any errors, but since I'm lazy I'm planning to let it that
way till the day bugs start appearing.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos
21ab796fb3
Added source change notification.
...
Added support in GcalEditDialog to notify when the source
of an event has changed.
2012-12-01 15:28:53 -05:00