gnome-calendar:mcatanzaro/one-at-a-time

Last commit made on 2020-04-14
Get this branch:
git clone -b mcatanzaro/one-at-a-time https://git.launchpad.net/gnome-calendar

Branch merges

Branch information

Name:
mcatanzaro/one-at-a-time
Repository:
lp:gnome-calendar

Recent commits

cb0c35b... by Michael Catanzaro

Add missing blank line

28496c9... by Michael Catanzaro

new-calendar-page: don't add local calendar if remote address is given

If the user has entered a remote address, then adding a new empty local
calendar is definitely not desired. So stop doing it. Create the
local_source only if the user has clicked the Add button and no remote
sources are available. Rename the relevant widgets accordingly, and
update the add button's sensitivity check to account for the fact that
self->local_source no longer exists.

See #566, but note this does not solve #566 as there is an
additional bug somewhere else causing multiple remote calendars to be
added at the same time when only a single ical file is used as the data
source. This dialog does support adding multiple calendars (ESources)
from a single URL, but that shouldn't be happening when the URL points
to a single ical file. That bug appears to be in a different level of
the code, not GcalNewCalendarPage.

Also note that we require further changes to the strings on this dialog
to conform to this new behavior, in a future commit. This commit is
designed to not break string freeze.

98e6ac2... by Georges Basile Stavracas Neto

event: Remove unused method

Comparing ranges is so easy now that we don't need this
helper anymore.

fd32492... by Georges Basile Stavracas Neto

timeline, calendar-monitor: Remove useless event range checks

GcalRange is now smart enough to compare correctly with other ranges.

d4a6cd0... by Georges Basile Stavracas Neto

timeline: Process events in batches

A batch size of 5 doesn't seem to impact the mainloop
any more than a batch of size 1, but it reduces the
amount of time spinning the loop quite considerably.

16c1569... by Georges Basile Stavracas Neto

calendar-monitor: Use GcalRange

f3c3bbf... by Georges Basile Stavracas Neto

event: Use GcalRange in public API

12fd607... by Georges Basile Stavracas Neto

utils: Make date comparison follow time comparison semantics

Right now, comparing dates with gcal_date_time_compare_date() gives
the exact opposite result of when comparing using g_date_time_compare().

As shown by this patch, this was a source of *many* bugs.

bed8e10... by Georges Basile Stavracas Neto

range-tree: Add print utility

Useful for debugging

3efbc24... by Georges Basile Stavracas Neto

range-tree: Use GcalRange