summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libical-glib: Create i_cal_time_formattintou/ical-time-formatCorentin Noël2021-11-128-0/+1524
| | | | | Directly adapted from g_date_time_format, this allows to create a formatted string from a ICalTime object.
* generator.c - Handle the optional parameterCorentin Noël2021-11-111-1/+32
| | | | | Do not return if the value is null for optional parameters as it is explicitly allowed.
* libical-glib: Get rid of all the allow-none annotationsCorentin Noël2021-11-112-5/+4
| | | | allow-none has been deprecated and replaced by either nullable or optional.
* Merge branch '3.0'Allen Winter2021-11-091-1/+1
|\
| * appveyor.yml - move Ubuntu first in the images listAllen Winter2021-11-091-1/+1
| |
* | fix compile from merge mistakeMilan Crha2021-11-091-11/+13
| | | | | | | | 828cec0 removed the priv member on the master branch only.
* | Merge branch '3.0'Allen Winter2021-11-0712-62/+220
|\ \ | |/
| * buildsystem - use native FindPackageHandleStandardArgsAllen Winter2021-11-073-654/+1
| |
| * .krazy - skip cmake/KitwareAllen Winter2021-11-071-0/+1
| |
| * Copy in and Use the Kitware FindICU.cmake from CMake 3.21Allen Winter2021-11-0712-158/+1204
| | | | | | | | | | | | | | | | | | Rather than increase the CMake version requirement to 3.7, in order to upgrade from our less-than-perfect home-grown FindICU we copy in the official CMake version and use that. This seems to fix static linking problems with ICU on Windows. It may also fix static linking on other platforms.
| * Merge pull request #515 from mcrha/3.0Allen Winter2021-11-074-15/+155
| |\ | | | | | | libical-glib: Simplify memory management around ICalCompIter
| | * libical-glib: Simplify memory management around ICalCompIterMilan Crha2021-11-044-15/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, before this change, the components returned from the ICalCompIter structures did not hold the reference to the parent component, thus the parent component could be freed before the returned instance, effectively destroying the internal libical native structure. There was required to set the owner manually before, but it breaks abstraction and is easy to forget. This change makes all these things transparent. The old code does not need to be changed, because it should set the same owner anyway, thus the call results in no change on the ownership of the returned components.
| * | appveyor - try again to setup msvc envAllen Winter2021-11-072-22/+9
| | |
| * | appveyor.yml - attempt to fix using msvc on WindowsAllen Winter2021-11-071-1/+18
| | | | | | | | | | | | otherwise it uses clang
| * | src/test/regression.c - fix some conversion warningsAllen Winter2021-11-071-13/+13
| | | | | | | | | | | | conversion from size_t to unsigned long
| * | appveyor.yml - gobject-introspection build fails on MacAllen Winter2021-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | FAILED: src/libical/ICal-3.0.gir /Users/appveyor/projects/libical/build/src/libical/ICal-3.0.gir cd /Users/appveyor/projects/libical/build/src/libical && /Applications/CMake.app/Contents/bin/cmake -E env "CC='/Applications/Xcode-12.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc'" /usr/local/Cellar/gobject-introspection/1.70.0_1/bin/g-ir-scanner --c-include=libical/ical.h --pkg-export libical --identifier-prefix=ical -I/Users/appveyor/projects/libical/src/libical /Users/appveyor/projects/libical/build/src/libical/ical.h --namespace=ICal --nsversion=3.0 --no-libtool --library=ical --include=GObject-2.0 -L/Users/appveyor/projects/libical/build/lib --output /Users/appveyor/projects/libical/build/src/libical/ICal-3.0.gir --accept-unprefixed In file included from /Users/appveyor/projects/libical/build/src/libical/g-ir-cpp-sqp1qszx.c:4: /Users/appveyor/projects/libical/build/src/libical/ical.h:137:10: fatal error: 'time.h' file not found ^~~~~~~~ 1 error generated.
| * | appveyor.yml - on Mac, try specifying the PKG_CONFIG_PATHAllen Winter2021-11-071-1/+1
| | | | | | | | | | | | an attempt to fix finding gobject-introspection-1.0
| * | scripts/buildtests.sh - explictly this is a bash scriptAllen Winter2021-11-071-1/+1
| | | | | | | | | | | | ubuntu uses dart as default sh
| * | libical-glib: Enhance comments on i_cal_time_get_timezoneCorentin Noël2021-11-061-2/+2
| | | | | | | | | | | | This ICalTimezone lifetime is a little bit special to reduce the allocated memory.
| * | appveyor.yml - install pkg-config on MacAllen Winter2021-11-061-1/+1
| | |
| * | appveyor.yml - try again with GOBJECT_INTROSPECTION and ICAL_GLIB_VAPIAllen Winter2021-11-061-4/+2
| | |
| * | ConfigureChecks.cmake - Look for GetNumberFormat on Windows onlyAllen Winter2021-11-061-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to paweljonskim "Resolve GetNumberFormat only on windows GetNumberFormat is not implemented on wine correctly (https://forum.winehq.org/viewtopic.php?t=27809) which results in error when building. That means - if any linux user has installed wine, the build of libical will fail."
| * | appveyor.yml - disable Vala againAllen Winter2021-11-061-2/+2
| | |
| * | appveyor.yml - againAllen Winter2021-11-061-6/+3
| | |
| * | appveyor.yml - disable GOBJECT_INTROSPECTION and GLIB_VAPIAllen Winter2021-11-061-1/+3
| | | | | | | | | | | | | | | | | | pkgconfig reports: No package 'gobject-introspection-1.0' found need to investigate this
| * | appveyor.yml - install gobject-introspectionAllen Winter2021-11-061-1/+1
| | | | | | | | | | | | on Linux and Mac
| * | appveyor.yml - build more features on Linux and MacAllen Winter2021-11-061-3/+3
| | |
| * | appveyor.yml - restore Ninja on WindowsAllen Winter2021-11-061-1/+1
| | |
| * | appveyor.yml - Ninja build on Windows isn't working.Allen Winter2021-11-061-2/+2
| | | | | | | | | | | | temporarily switch to using NMake Makefiles on Windows
| * | appveyor.yml - more fixesAllen Winter2021-11-061-3/+6
| | |
| * | appveyor.yml - deal with gtk-docAllen Winter2021-11-061-2/+2
| | | | | | | | | | | | | | | disable on Windows install gtk-doc packages on Mac and Ubuntu
| * | appveyor.yml - add more configs and platforms. modernizeAllen Winter2021-11-061-15/+19
| |/
| * libical-glib: Fix annotation of i_cal_time_get_timezoneCorentin Noël2021-10-181-1/+1
| | | | | | | | | | It returns a reference of the newly create ICalTimezone so the caller has to actually unref it.
* | Merge pull request #516 from tintou/tintou/revert_get_timezoneAllen Winter2021-11-061-2/+2
|\ \ | | | | | | Revert "libical-glib: Fix annotation of i_cal_time_get_timezone"
| * | libical-glib: Enhance comments on i_cal_time_get_timezoneCorentin Noël2021-11-051-1/+1
| | | | | | | | | | | | This ICalTimezone lifetime is a little bit special to reduce the allocated memory.
| * | Revert "libical-glib: Fix annotation of i_cal_time_get_timezone"Corentin Noël2021-11-051-1/+1
|/ / | | | | | | | | | | | | | | There is a newly created TimeZone object but it is owned by the internal cache. We need to call `i_cal_object_free_global_objects` to free it. This reverts commit 81c933297c2c6a0430f19fa14acf47ba1acce96a.
* | CMakeLists.txt - fix DEF_USE_BUILTIN_TZDATAAllen Winter2021-11-011-2/+2
| | | | | | | | DEF_USE_BUILTIN_TZDATA is True on Windows; False otherwise
* | Merge pull request #513 from tintou/tintou/get_timezoneAllen Winter2021-10-181-1/+1
|\ \ | | | | | | libical-glib: Fix annotation of i_cal_time_get_timezone
| * | libical-glib: Fix annotation of i_cal_time_get_timezoneCorentin Noël2021-10-181-1/+1
|/ / | | | | | | | | It returns a reference of the newly create ICalTimezone so the caller has to actually unref it.
* | Merge branch '3.0'Allen Winter2021-10-09596-1233/+1246
|\ \ | |/
| * CMakeLists.txt, ReleaseNotes.txt - this is v3.0.12 nowAllen Winter2021-10-092-1/+5
| |
| * ReleaseNotes.txt - update for 3.0.11 releasev3.0.11Allen Winter2021-10-091-2/+2
| |
| * update zoneinfo to tzdata2021cAllen Winter2021-10-09596-1232/+1241
| |
* | Merge branch '3.0'Allen Winter2021-09-263-4/+21
|\ \ | |/
| * buildsystem - adjust libdir and includedir in generated pkgconfigAllen Winter2021-09-263-4/+21
| | | | | | | | | | | | | | | | The lib and include dirs can be set at CMake time by passing LIB_INSTALL_DIR and INCLUDE_INSTALL_DIR values. Additionally, on 64-bit linux the libdir default is "lib64". Issue#508
* | Merge branch '3.0'Allen Winter2021-09-221-0/+1
|\ \ | |/
| * ReleaseNotes.txt - updateAllen Winter2021-09-221-0/+1
| |
| * icalrecur.c: look harder for tzid and protect against not finding itKen Murchison2021-09-221-3/+12
| |
| * ReleaseNotes.txt - mention recent vcal fixesAllen Winter2021-09-181-0/+2
| |
| * libicalvcal: Cast EOF to 'char' to ensure matching its value against itMilan Crha2021-09-183-20/+105
| | | | | | | | | | | | Some arches (like aarch64, ppc64le and s390x) may not match the EOF constant against its value cast to 'char'. That breaks the parser and can cause an indefinite read of the content, with growing memory use.