| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/276
|
| |
|
|
|
|
|
|
| |
This can be used by code which doesn't need to use an ECalComponent
wrapper just to get to the categories.
The change also sanitizes the categories by removing trailing white-spaces
and ignores empty strings.
|
| |
|
|
|
|
| |
This helps to read properties related only to certain language/locale.
Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/876
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/393
|
| |
|
|
|
|
| |
These are available only on certain component types, thus test for it.
Let the getters return NULL silently, but warn when the setter is used
with an invalid component type (though still allow to do it).
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/371
|
| |
|
|
|
|
| |
The `g_assert()` can be disabled by `G_DISABLE_ASSERT` when compiling,
which is not desired for the unit tests, thus use the `g_assert_true()`
in the tests instead.
|
| |
|
|
|
|
|
|
| |
The ECalComponent needs to read/write the range kind, thus it's preserved.
The backends need to read the kind and update the local components properly,
when an update of the component is received.
Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1527
|
| |
|
|
| |
Related to https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/144
|
| | |
|
| |
|
|
|
| |
Can be used to limit the data transfer for simple events where
the whole history of the timezone shifts doesn't matter.
|
| |
|
|
|
|
|
|
| |
Touches the 'file' and the 'CalDAV' backends, storing the current time
when the reminder had been dismissed. The reminder watcher ignores
any reminders, which are scheduled before the acknowledged time.
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/295
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/282
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/194
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/162
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/148
|
| |
|
|
|
|
|
| |
Even with the previous commit there still could happen some issue
with D-Bus property change notifications, thus add a workaround to
the related book and calendar tests, because it's not a problem
on the evolution-data-server side, but somewhere deeper.
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/33
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Couple changes in the test:
1) add also a component into the calendar, thus the returned
Free/Busy component is not empty
2) let the sync variant wait for the D-Bus signal with Free/Busy
data again
3) wait for the D-Bus signal in case it's not received in time
of the method execution finish.
Especially the 3) is important, because the D-Bus signal can be delivered
after the method invocation is received, which could break the test.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
notification
The test had been mostly working, except cases when the delivery
of a D-Bus property change signal had been delayed. Then the value
on the client side was not the same as the value on the server side.
There's a very similar test for EBookClient, which does slightly more
things, which gives D-Bus enough time to deliver the property change
to the client, thus this change adds the component removal to address it.
|
| | |
|
| |
|
|
|
|
| |
The main loop should be passed always as a user_data, because
the function called from the callback expects it and there is
no guarantee in which order the callbacks will be called.
|
| |
|
|
|
|
| |
The upcoming libical release can have the deprecated symbol removed
and the replacement is available in the requested minimum version
of the libical already, thus no dependency change by replacing it.
|
| | |
|
| |
|
|
|
| |
Let's have it as it's common to be, which means top level src/ for
sources, single data/ for data, and so on.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I also added license information to source files where it was
missing and changed the way the license block is organized. All
the sources' license information comments follow the same pattern:
/* [ Optional short file description ]
*
* [ Optional copyright notices]
*
* License information block
*
* [ Optional 'Authors:' section ]
*/
The LGPL is references consistently now; source files with main()
function, like tests or D-Bus services, use 'program' in the license
information block, while the other sources use 'library' word.
|
| | |
|
| | |
|
| |
|
|
| |
Avoid naming conflicts when installing tests into ${pkglibexecdir}/installed-tests
|
| |
|
|
|
| |
This commit adds the usage of EDS_INSTALLED_TESTS and a few lines
to all the test directories which can run installed.
|
| |
|
|
|
| |
- Remove trailing tabs.
- Add terminators to multi-line lists.
|
| | |
|
| |
|
|
| |
g_type_init() is deprecated in GLib 2.36.
|
| |
|
|
| |
Not sure how this is passing again, but it is.
|
| | |
|
| | |
|
| |
|
|
|
| |
Needed to unref the views in async tests on calendar views,
not releasing the views cause the client to fail to finalize.
|
| |
|
|
|
| |
Removed old test scripts, obsolete tests, and some functions
from ecal-test-utils.[ch]
|
| |
|
|
|
| |
Fixed typo, BROKEN_TEST was meant to be BROKEN_TESTS, now the broken
tests build, at least.
|
| |
|
|
|
| |
Also managed to completely remove client-test-utils from this
directory.
|
| |
|
|
|
|
|
|
| |
o Disabled the get-free-busy test, it wont pass as the API is broken by design
o Disabled test-client-get-revision, this is not passing for now and should
be reenabled once the backend property fetches are fixed to be explicit
D-Bus methods again instead of property push notifications, see bug:
https://bugzilla.gnome.org/show_bug.cgi?id=693464
|
| | |
|
| |
|
|
|
| |
Silence compiler warnings in tests which are already partially disabled.
Most of these still haven't been updated since the ESource API changes.
|
| |
|
|
|
|
|
|
|
|
| |
Deprecate both CalObjModType and EDataCalObjModType.
Introduce ECalObjModType with equivalent but properly namespaced enum
values, generate a GType for this enum, and swap out CalObjModType for
ECalObjModType throughout the calendar API.
Trying not to break the API here, but this is a freakin mess.
|
| |
|
|
| |
This always returns TRUE now.
|
| |
|
|
|
|
|
|
|
| |
Similar to test-ecal-create-object, this test was comparing a component
built from scratch (with no UID) against a component fetched from
the calendar (with a UID).
Fixed test case to compare the components in the returned list against
a component fetched from the calendar (both with UIDs).
|
| |
|
|
|
|
|
|
| |
The old assertions were broken in that it compares the scratch component
with no UID with the newly created and fetched component.
Now simply check that the newly created component can be fetched and that
it is 'valid'.
|