Commit Graph
5113 Commits
Author SHA1 Message Date
Erick Pérez Castellanos de0902028f gcal-window: fixed initialization on DayView mode 2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos 005dd5e917 gcal-viewport: added :scroll_to method
GcalViewport:scroll_to will scroll to a point of it
children accordingly to a value passed
2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos deb21b8297 docs: added HACKING file 2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos 4330859ae0 gcal-view: removed unused methods 2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos a5157748bc gcal-view: cleaned GcalView API
Removed GcalView:remove_by_uuid method.
Reordered gcal-view header file.
2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos f4179ec990 build: removed unused code from gcal-utils
Removed enums and one function
2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos 044654dab4 build: removed Clutter dependency 2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos 85a2002e76 gcal-window: changed transition-type between views
Requires master from Gtk+
2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos def8cf720b gcal-days-grid: fixed corner case in allocation
Fixed allocation of events place around midnight.
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos 1c27bb35ff gcal-month-view: added #GcalView implementations
Added #GcalView:get_left_header and #GcalView:get_right_header
Reorded #GcalView vfuncs implementatiob in the source file
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos 2cfe30d795 docs: updated TODO 2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos 9b828b39be gcal-window: added new application flow
gcal-window changes:
  1. Added #GtkStackSwitcher for view-switching handling
  2. Reworked view switching behavior
  3. Added window states: search-mode, new-event-mode
  4. Implemented search using #GtkSearchBar, allowing to handle [Esc] keys closing the search
  5. Removed temporally SourcesView

gcal-application changes:
  1. Added actions for [Search] and [New Event] with its keyboard-shorcut

A lot of ground work is set here, the code is fill with FIXMEs and comment
for stuff-TODO
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos 32cd17c8e8 gcal-day-view: added #GtkContainer:add implementation
gcal-days-grid: added #GtkWidget:size-allocate implementation

These implementations are initial approaches, there's a lot
fo FIXME around the code with some fixes still needed.
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos d54556a030 gcal-days-grid: make it reactive.
Added #GdkWindow for catching button events.
2014-12-04 17:10:24 -05:00
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