| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
And also simplify some cases with `g_clear_error`.
Testing Done:
Compiled and ran tests in valgrind, though it never noticed these anyway.
Reviewed at https://reviews.imfreedom.org/r/2384/
|
|
|
|
|
|
|
| |
Testing Done:
Compiled and ran tests in valgrind.
Reviewed at https://reviews.imfreedom.org/r/2374/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
That is:
* when the variable is set to `NULL` right after freeing
* when the variable is checked for non-`NULL` before freeing
* when the variable is a global (because they should be set to `NULL`, even if we don't really claim that things can be re-init'd)
Testing Done:
Compiled, and ran tests in valgrind.
Reviewed at https://reviews.imfreedom.org/r/2369/
|
|
|
|
|
|
|
| |
Testing Done:
Touched all source files and compiled; saw no new warnings.
Reviewed at https://reviews.imfreedom.org/r/2122/
|
|
|
|
|
|
|
|
|
| |
Don't know about Pidgin yet.
Testing Done:
Compiled on Linux and with mingw cross-compile.
Reviewed at https://reviews.imfreedom.org/r/2015/
|
|
|
|
|
|
|
|
|
| |
See [this development thread for a future Fedora change](https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/) or [the proposed change page](https://fedoraproject.org/wiki/Changes/PortingToModernC). These may be made stronger errors in GCC 14.
Testing Done:
Configured with `-Dc_args='-Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=strict-prototypes -Werror=old-style-definition'` and compiled.
Reviewed at https://reviews.imfreedom.org/r/1974/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Auto-replies only work if the protocol supports them, and at the time of this
writing the only protocol that sets that flag is Zephyr which is barely used.
Testing Done:
Opened the preferences and verified the away page loaded fine.
Bugs closed: PIDGIN-17684
Reviewed at https://reviews.imfreedom.org/r/1867/
|
|
|
|
|
|
|
|
|
|
|
| |
These were added for Instantbird which is no longer maintained and we're moving
to GSettings anyways. So this just makes the code easier to understand in the
meantime.
Testing Done:
Compiled
Reviewed at https://reviews.imfreedom.org/r/1815/
|
|
|
|
|
|
|
| |
Testing Done:
Compiled, but didn't test on windows. As such I left all the networking stuff untouched as that's where windows will really need it and that can be done in another rr.
Reviewed at https://reviews.imfreedom.org/r/1764/
|
|
|
|
|
|
| |
This does nothing by itself yet.
Reviewed at https://reviews.imfreedom.org/r/1733/
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first step in cleaning these up and using separate directories for
each libpurple based client.
Testing Done:
Ran with no config directory and added an account. Verified that all of the config files were correctly created.
Also ran the unit tests without issue.
Reviewed at https://reviews.imfreedom.org/r/1192/
|
|
|
|
|
|
|
|
|
| |
preferences
Testing Done:
Ran the debian-bookworm-amd64 container and verified that this fixed the unit tests failing.
Reviewed at https://reviews.imfreedom.org/r/1086/
|
|
|
|
|
|
|
|
|
| |
It's safe to pass `NULL` as `user_data` if the copy function takes only one argument.
Testing Done:
Compile and run.
Reviewed at https://reviews.imfreedom.org/r/527/
|
|
|
|
|
|
|
| |
Testing Done:
Compiled locally.
Reviewed at https://reviews.imfreedom.org/r/321/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all traces of the old sound api from pidgin
Remove all traces of the old sound api from finch
Remove all references to the old sound api from libpurple
Remove the old sound files
Update ChangeLog.API for all the removals
Testing Done:
Compile tested finch. Ran pidgin, verified the preferences window works, the pounce window dies on something talkatu related but that will be addressed separately.
Reviewed at https://reviews.imfreedom.org/r/58/
|
|
|
|
| |
some pieces to purpleprivate.h
|
| |
|
|
|
|
|
|
| |
This also fixes the possible use-after-free that scan-build seems to
think is there.
|
|
|
|
|
|
| |
This removes the need for extra compatibility macros, and thus hacks to
_undo_ the macro too.
|
| |
|
|\
| |
| |
| |
| |
| | |
Use g_list_free_full instead of g_list_foreach+g_list_free.
Approved-by: Gary Kramlich
|
| | |
|
|/
|
|
|
| |
Some redundant assignment, missing NULL-check, and missing frees.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the purple_timeout_* functions internally just use their
GLib equivalents, we can just replace them with the GLib equivalents.
This patch replaces purple_timeout_* functions with
g_timeout_add{_seconds}() and g_source_remove() functions.
There are probably places in this which could use g_timeout_add_full()
or g_idle_add{_full}(), but this was a straight replacement to keep
the functionality identical for now. Further patches can update to use
these instead if desired.
|
| |
|
|\ |
|
| |
| |
| |
| | |
wpurple_rename
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
They were called observers in instantbird, but since that's a mozilla specific
term, I made it generic. Most of the code checks if connect_callback is defined
to call the functions that implement callback handling for the UI.
The main difference is that when the UI overrides the handling of the
preferences, find_pref() won't work, and the callbacks have to be stored
elsewhere.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows overriding the prefs.xml storage with anything else.
The instantbird version had fewer methods, things like add_string_list or
rename_boolean_toggle which are rarely used in libpurple and that instantbird
just removed from their fork.
The add_observer and remove_observer methods are not implemented yet.
|
|\ \ |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
|
| |\ \ |
|
| | |\ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | |\ \ |
|
| | | |\ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Renamed /plugins/prpl prefs to /protocols
|
| | | | | | | |
|
| | | | | | | |
|