| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
i-cal-recurrence.xml
|
|
|
|
|
|
| |
itself
All the langbind methods are helpers for the bindings in libical, here the GObject Introspection already covers all the features.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add documentation to the delegate and provide the right annotations.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add array and array length annotations
|
| |
|
|
|
|
| |
Covers the things that the introspection fails to cover
|
|
|
|
| |
icalproperty_get_datetime_with_component
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
the plan is for libical-glib to be stable in the 3.1 release
|
| |
|
|\ |
|
| | |
|
| |\
| | |
| | |
| | | |
https://github.com/tapkey/libical into tapkey-iterator-performance-next_year
|
| | | |
|
|\ \ \
| |/ /
|/| /
| |/ |
Improve iterator performance by avoiding linear search
|
| |
| |
| |
| | |
impl->days bit field was improved by skipping empty words completely and doing a b-search within non-empty words.
|
| | |
|
| |
| |
| |
| |
| | |
While the core libical functions use 'int' and 0/1 values, the glib
has a dedicated type gboolean, which can be used here.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This makes sure the just built libraries are found before those
installed in the system.
|
| | |
|
| |
| |
| |
| |
| |
| | |
The object names contained a 'Type' word, which is redundant for
GLib objects, thus that had been removed together with the related
API changes.
|
| |
| |
| |
| |
| | |
Also removed some redundant functions and added
i_cal_time_normalize_inplace().
|
| |
| |
| |
| | |
It modifies the inner native object, with no need to allocate a new ICalObject.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
in get_upper_snake_from_lower_snake()
found by clang analyzer
|
|\ \ |
|
| | |
| | |
| | |
| | | |
clang analyzer found a bad free in icalbdbset_commit()
|
| | |
| | |
| | |
| | |
| | | |
although clang-tidy is correct, we should pass by const ref
let's provide a new signature in v3.1
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
cppcheck, clang analyzer, clang-tidy are getting better
don't complaing about gtk deprecated stuff
|
| | |
| | |
| | |
| | |
| | | |
making cppcheck a bit happier
no big deal since noone compiles with _DLOPEN_TEST defined
|
| | |
| | |
| | |
| | | |
don't crash on a NULL arg. found by cppcheck
|
| | |
| | |
| | |
| | | |
Issue#369
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
cppcheck, clang analyzer, clang-tidy are getting better
don't complaing about gtk deprecated stuff
|
| | |
| | |
| | |
| | |
| | | |
making cppcheck a bit happier
no big deal since noone compiles with _DLOPEN_TEST defined
|
| | |
| | |
| | |
| | | |
don't crash on a NULL arg. found by cppcheck
|
| | |
| | |
| | |
| | | |
Issue#369
|
| | | |
|