summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [libical-glib] Use libical-glib enums in the code and developer comments of ↵tintou/libical-glib-fixesMilan Crha2019-04-301-60/+60
| | | | i-cal-recurrence.xml
* [libical-glib] Remove langbind as it is already covered by the introspection ↵Corentin Noël2019-04-303-84/+0
| | | | | | itself All the langbind methods are helpers for the bindings in libical, here the GObject Introspection already covers all the features.
* [libical-glib] Respect the gobject naming conventionsCorentin Noël2019-04-3027-167/+203
| | | | | | | Make sure that ICalFoo methods are prefixed i_cal_foo. Always start method name with `new' when it is a creation method. Clone method are not creation methods, remove the `new' prefix. Remove _r suffix of methods returning ical strings as it is already clear.
* [libical-glib] Add annotations and delegates to the mime parserCorentin Noël2019-04-301-6/+15
| | | | Add documentation to the delegate and provide the right annotations.
* [libical-glib] Add annotations and delegates to the parserCorentin Noël2019-04-301-15/+16
| | | | | | This allows bindings to fully use the method with user_data. i_cal_parser_string_line_generator is removed as it relies on internal structures. i_cal_parser_set_gen_data is removed as it is directly called by the wrappers.
* [libical-glib] Add annotations for i_cal_memory_ functionsCorentin Noël2019-04-301-7/+7
| | | | Add array and array length annotations
* [libical-glib] Allow to create ICalAttach from GBytesCorentin Noël2019-04-301-0/+18
|
* [libical-glib] Use metadata file for Vala bindingsCorentin Noël2019-04-302-0/+11
| | | | Covers the things that the introspection fails to cover
* icalproperty.c - use location as TZID fallback in ↵Allen Winter2019-04-283-0/+47
| | | | icalproperty_get_datetime_with_component
* cmake/modules/FindICU.cmake - fix a minor CMake warningAllen Winter2019-04-261-1/+1
|
* vcomponent_cxx.cpp - no need to check for NULL before 'delete'Allen Winter2019-04-261-3/+1
|
* Address some issues reported by static analyzers (Coverity Scan, clang)Milan Crha2019-04-263-16/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error: REVERSE_INULL: src/libical-glib/i-cal-object.c:355: deref_ptr: Directly dereferencing pointer "iobject". src/libical-glib/i-cal-object.c:365: check_after_deref: Null-checking "iobject" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 363| 364| if (is_global_memory) { 365|-> if (iobject) { 366| GlobalData *gd; 367| ------------------------------------------------------------------ Error: ALLOC_FREE_MISMATCH: src/libical/vcomponent_cxx.cpp:922: alloc: Allocation of memory which must be freed using "operator delete". src/libical/vcomponent_cxx.cpp:922: assign: Assigning: "related_param" = "trigger_prop->get_first_parameter(icalparameter_kind const(ICAL_RELATED_PARAMETER))". src/libical/vcomponent_cxx.cpp:979: free: Calling "free" frees "related_param" using "free" but it should have been freed using "operator delete". 977| 978| if (related_param != NULL) { 979|-> free(related_param); 980| } 981| ------------------------------------------------------------------ Error: IDENTIFIER_TYPO: libical-3.0.5/src/python/Component.py:796: identifier_typo: Using "properites" appears to be a typo: * Identifier "properites" is only known to be referenced here, or in copies of this code. * Identifier "properties" is referenced elsewhere at least 18 times. src/python/Component.py:796: remediation: Should identifier "properites" be replaced by "properties"? src/python/Component.py:138: identifier_use: Example 2: Using identifier "properties". src/python/Component.py:674: identifier_use: Example 3: Using identifier "properties". src/python/test.py:274: identifier_use: Example 4: Using identifier "properties" (9 total uses in this function). src/python/test.py:393: identifier_use: Example 5: Using identifier "properties". 794| def duration(self, value=None): 795| if value != None: 796|-> due = self.properites('DUE') 797| for d in due: 798| self.remove_property(d) # Clear DUE properties Signed-off-by: Allen Winter <allen.winter@kdab.com>
* Mark ICalTimezone arguments in ICalTime as nullableMilan Crha2019-04-231-9/+9
| | | | | | | The ICalTime functions which use ICalTimezone can have the zone set to NULL, thus mark it as such in libical-glib as well. Signed-off-by: Allen Winter <allen.winter@kdab.com>
* various - doc for icalproperty_get_datetime_with_component()Allen Winter2019-04-204-3/+33
|
* no longer use or discuss LIBICAL_GLIB_UNSTABLE_APIAllen Winter2019-04-132-9/+0
| | | | the plan is for libical-glib to be stable in the 3.1 release
* [libical-glib] Add icalrecur_iterator_set_end() wrapper definitionMilan Crha2019-04-101-0/+6
|
* Merge branch 'tapkey-iterator-performance-next_year'Allen Winter2019-04-081-5/+4
|\
| * icalrecur.c - minor compile warning and coding styleAllen Winter2019-04-081-5/+4
| |
| * Merge branch 'iterator-performance-next_year' of ↵Allen Winter2019-04-081-2/+65
| |\ | | | | | | | | | https://github.com/tapkey/libical into tapkey-iterator-performance-next_year
* | | ReleaseNotes.txt - mention improved recurrence iterator performanceAllen Winter2019-04-081-0/+1
| | |
* | | Merge pull request #336 from tapkey/iterator-performance-next_yearAllen Winter2019-04-081-2/+65
|\ \ \ | |/ / |/| / | |/ Improve iterator performance by avoiding linear search
| * Improved next_yearday() (icalrecur.c) performance. Finding next day in ↵Markus Minichmayr2018-03-291-2/+65
| | | | | | | | impl->days bit field was improved by skipping empty words completely and doing a b-search within non-empty words.
* | [libical-glib] Correct some annotations and a property.py testMilan Crha2019-04-052-6/+7
| |
* | [libical-glib] Let yes/no functions return and expect gboolean instead of gintMilan Crha2019-03-2810-30/+30
| | | | | | | | | | While the core libical functions use 'int' and 0/1 values, the glib has a dedicated type gboolean, which can be used here.
* | [libical-glib] Minor cleanup in parameter naming in i-cal-duration.xmlMilan Crha2019-03-271-36/+36
| |
* | remove unused structs icaltimezonetype, icaltimezonephaseAllen Winter2019-03-266-206/+4
| |
* | Change the order of the libdirs in the GtkDoc.cmakeMilan Crha2019-03-251-5/+6
| | | | | | | | | | This makes sure the just built libraries are found before those installed in the system.
* | [libical-glib] Correct various developer documentation referencesMilan Crha2019-03-255-11/+11
| |
* | [libical-glib] Rename bare structure wrapper objectsMilan Crha2019-03-2226-901/+901
| | | | | | | | | | | | The object names contained a 'Type' word, which is redundant for GLib objects, thus that had been removed together with the related API changes.
* | [libical-glib] Replace ICalGLib.Timetype with ICalGLib.TimeMilan Crha2019-03-2221-454/+415
| | | | | | | | | | Also removed some redundant functions and added i_cal_time_normalize_inplace().
* | [libical-glib] Introduce i_cal_time_convert_to_zone_inplace()Milan Crha2019-03-222-2/+32
| | | | | | | | It modifies the inner native object, with no need to allocate a new ICalObject.
* | [libical-glib] Correct typo in the i_cal_time_timezone_expand_vtimezone() nameMilan Crha2019-03-221-1/+1
| |
* | [libical-glib] Add missing I_CAL_COLOR_PROPERTY enum and functionsMilan Crha2019-03-201-0/+16
| |
* | [libical-glib] Correct return type of i_cal_timezone_get_utc_offset functionsMilan Crha2019-03-191-0/+2
| | | | | | | | | | Both i_cal_timezone_get_utc_offset() and i_cal_timezone_get_utc_offset_of_utc_time() had been declared as returning 'void', but they return 'int', the value of the UTC offset.
* | src/libical-glib/tools/generator.c - don't copy garbageAllen Winter2019-03-171-1/+1
| | | | | | | | | | in get_upper_snake_from_lower_snake() found by clang analyzer
* | Merge branch '3.0'Allen Winter2019-03-173-5/+2
|\ \
| * | src/libicalss/icalbdbset.c - remove a free of used memoryAllen Winter2019-03-171-4/+0
| | | | | | | | | | | | clang analyzer found a bad free in icalbdbset_commit()
| * | src/libical/icalproperty_cxx.cpp - quiet clang-tidyAllen Winter2019-03-171-1/+1
| | | | | | | | | | | | | | | although clang-tidy is correct, we should pass by const ref let's provide a new signature in v3.1
| * | src/libicalss/icalgauge.c - assert on NULL argumentAllen Winter2019-03-171-0/+1
| | |
| * | scripts/buildtests.sh - deal with improved static checkersAllen Winter2019-03-161-3/+3
| | | | | | | | | | | | | | | cppcheck, clang analyzer, clang-tidy are getting better don't complaing about gtk deprecated stuff
| * | libicalss/icalset.c - recode the load() functionAllen Winter2019-03-161-4/+10
| | | | | | | | | | | | | | | making cppcheck a bit happier no big deal since noone compiles with _DLOPEN_TEST defined
| * | icalss/icalgauge - handle NULL arg to icalgauge_get_expandAllen Winter2019-03-162-1/+8
| | | | | | | | | | | | don't crash on a NULL arg. found by cppcheck
| * | src/libical/icalenums.h - fix minor typoAllen Winter2019-03-161-1/+1
| | | | | | | | | | | | Issue#369
| * | scripts/buildtests.sh - add more settings for the MacAllen Winter2019-01-131-2/+7
| | |
* | | src/libical-glib - minor coding styleAllen Winter2019-03-162-37/+36
| | |
* | | scripts/buildtests.sh - deal with improved static checkersAllen Winter2019-03-161-3/+3
| | | | | | | | | | | | | | | cppcheck, clang analyzer, clang-tidy are getting better don't complaing about gtk deprecated stuff
* | | libicalss/icalset.c - recode the load() functionAllen Winter2019-03-161-4/+10
| | | | | | | | | | | | | | | making cppcheck a bit happier no big deal since noone compiles with _DLOPEN_TEST defined
* | | icalss/icalgauge - handle NULL arg to icalgauge_get_expandAllen Winter2019-03-162-1/+8
| | | | | | | | | | | | don't crash on a NULL arg. found by cppcheck
* | | src/libical/icalenums.h - fix minor typoAllen Winter2019-03-161-1/+1
| | | | | | | | | | | | Issue#369
* | | [libical-glib] Add 'nullable' annotation to some functionsMilan Crha2019-02-153-36/+36
| | |