summaryrefslogtreecommitdiff
path: root/libpurple/roomlist.c
Commit message (Collapse)AuthorAgeFilesLines
* Bump C standard to C99 for libpurple files and fix warningsElliott Sales de Andrade2022-12-111-1/+1
| | | | | | | Testing Done: Touched all source files and compiled; saw no new warnings. Reviewed at https://reviews.imfreedom.org/r/2122/
* Create PurpleProtocolWhiteboard and remove PurpleProtocolFactoryGary Kramlich2022-09-201-1/+0
| | | | | | | Testing Done: Compiled Reviewed at https://reviews.imfreedom.org/r/1809/
* Stop including internal.h everywhere when we really don't need it.Gary Kramlich2022-09-121-2/+0
| | | | | | | 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/
* Fix new warnings in room listElliott Sales de Andrade2022-05-031-3/+3
| | | | | | | Testing Done: Compiled. Reviewed at https://reviews.imfreedom.org/r/1409/
* Rework the way roomlists work so we can more easily port them to GTK4Gary Kramlich2022-05-021-321/+25
| | | | | | | Testing Done: Joined rooms on XMPP via the buttons, double clicking, and the context menu. Reviewed at https://reviews.imfreedom.org/r/1293/
* Remove PurpleProtocolFactory->roomlist_new as no one is using itGary Kramlich2021-11-021-23/+4
| | | | | | | | | Remove PurpleProtocolFactory->roomlist_new as no one is implementing it Testing Done: Compiled Reviewed at https://reviews.imfreedom.org/r/1116/
* Separate PurpleProtocolRoomlist into its own file and modernize it.Gary Kramlich2021-08-141-71/+16
| | | | | | | | | Separate `PurpleProtocolRoomlist` into its own file and modernize it. Testing Done: Verified the roomlist still works for irc and xmpp. Reviewed at https://reviews.imfreedom.org/r/887/
* Cleanup RoomList UI opsElliott Sales de Andrade2021-07-021-33/+2
| | | | | | | | | | | | | | | | | | * Mark unused parameters, and remove unnecessary widgets passed to callbacks. * Remove unused `purple_roomlist_[gs]et_protocol_data`. * Remove unused list of `PurpleRoomList`s. * Inline `update_roomlist` using GObject macros. * Remove use of `PurpleRoomListUiOps->destroy`. This can be achieved through object destruction notifiers. I'm not sure how the room list would ever get destroyed in Finch though, as the widget seems to hold a ref to it, which is cleared when the list is destroyed. But the list can't be destroyed until said ref is dropped. * Replace `PurpleRoomlistUiOps->in_progress` with notify signals. Testing Done: Compile only. Might have done some tests, but I wrote this a while back and don't remember. Reviewed at https://reviews.imfreedom.org/r/785/
* Replace purple_roomlist_[gs]et_ui_data with g_object_[gs]et_dataGary Kramlich2021-05-301-14/+0
| | | | | | | Testing Done: Verified the room list still works in Pidgin but couldn't test Finch as I couldn't add an account. Reviewed at https://reviews.imfreedom.org/r/687/
* Port libpurple from purple_protocols_ to purple_protocol_manager_Gary Kramlich2021-03-021-1/+1
| | | | | | | | | Testing Done: Compiled and ran locally. Bugs closed: PIDGIN-17472 Reviewed at https://reviews.imfreedom.org/r/538/
* Pull PurpleProtocolFactory out to it's own file.Gary Kramlich2020-03-191-3/+7
| | | | This also removes the nasty macros for the dispatcher functions and uses the glib macros.
* Remove glibcompat.h from all the files that don't actually need it.Gary Kramlich2019-11-151-1/+0
|
* Use purple_roomlist_room_free to reduce duplicationqarkai2019-11-031-3/+2
|
* Use g_list_free_full instead of g_list_foreach+g_list_free.Elliott Sales de Andrade2019-10-011-2/+1
|
* Move Protocol Roomlist API into roomlist.[ch].Elliott Sales de Andrade2019-08-061-0/+64
|
* Fix broken `priv != NULL` checks in libpurple.Elliott Sales de Andrade2019-08-071-37/+40
| | | | | | The `*_get_instance_private` function just returns input value + offset, so it is impossible for `priv` to be `NULL`.
* Rename *_GET_*_IFACE to more standard *_GET_IFACE.Elliott Sales de Andrade2019-08-061-1/+1
| | | | | | | Two sed's of `s/_GET_\([A-Za-z0-9_]\+\)_IFACE/_\1_GET_IFACE/g` and `s/\(PURPLE_PROTOCOL_IMPLEMENTS.\+\)_IFACE/\1/g`, plus a small fix in `PURPLE_PROTOCOL_IMPLEMENTS`.
* libpurple: Port self-contained code from g_type_class_add_private()Mike Ruprecht2018-11-011-51/+39
| | | | | | This patch ports the self-contained libpurple GObjects away from the deprecated g_type_class_add_private() function in favor of the G_DEFINE_TYPE_WITH_PRIVATE() macro.
* Merged default branchAnkit Vani2014-02-231-29/+31
|\
| * Merged default branchAnkit Vani2014-02-151-29/+31
| |\
| | * Merge gtkdoc-conversionAnkit Vani2014-02-101-29/+31
| | |\
| | | * Merge gtkdoc-conversionAnkit Vani2014-02-071-29/+31
| | | |\
| | | | * Merge gtkdoc-conversionAnkit Vani2014-02-061-29/+31
| | | | |\
| | | | | * Merge gtkdoc-conversionAnkit Vani2014-02-061-29/+31
| | | | | |\
| | | | | | * Merge gtkdoc-conversionAnkit Vani2014-02-041-29/+31
| | | | | | |\
| | | | | | | * Merged default branchAnkit Vani2013-12-061-29/+31
| | | | | | | |\
| | | | | | | | * Merged soc.2013.gobjectification branchAnkit Vani2013-11-241-29/+31
| | | | | | | | |\
| | | | | | | | | * Merged soc.2013.gobjectification branchAnkit Vani2013-11-171-3/+6
| | | | | | | | | |\
| | | | | | | | | * \ Merged soc.2013.gobjectification branchAnkit Vani2013-11-161-6/+6
| | | | | | | | | |\ \
| | | | | | | | | * \ \ Merged soc.2013.gobjectification branchAnkit Vani2013-10-121-29/+31
| | | | | | | | | |\ \ \
| | | | | | | | | | * \ \ Merged soc.2013.gobjectification branchAnkit Vani2013-10-111-29/+31
| | | | | | | | | | |\ \ \
| | | | | | | | | | | * \ \ Merged soc.2013.gobjectification branchAnkit Vani2013-10-011-14/+4
| | | | | | | | | | | |\ \ \
| | | | | | | | | | | * | | | Check for valid PurpleProtocolsAnkit Vani2013-10-011-1/+1
| | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | Merged soc.2013.gobjectification branchAnkit Vani2013-10-011-6/+6
| | | | | | | | | | | |\ \ \ \
| | | | | | | | | | | * | | | | Use the protocol factory interface functionsAnkit Vani2013-09-151-4/+18
| | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | Updated protocol iface callsAnkit Vani2013-09-141-3/+3
| | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | Merged roomlist_[gs]et_protocol_data rename from soc.2013.gobjectification ↵Ankit Vani2013-09-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | branch
| | | | | | | | | | | * | | | | Backed out changeset 7cf0bf5b9a40Ankit Vani2013-09-131-0/+21
| | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | Backed out changeset 7b1fefd1e2eeAnkit Vani2013-09-131-18/+4
| | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | Removed protocol data member from connection, roomlist, whiteboard and xferAnkit Vani2013-09-071-21/+0
| | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | Added protocol interface methods connection_new, roomlist_new, ↵Ankit Vani2013-09-071-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | whiteboard_new, xfer_new. These functions can be used to return protocol-specific derived types. 'state' from PurpleWhiteboard has been removed since only yahoo uses it. Yahoo's whiteboard subclass can handle this.
| | | | | | | | | | | * | | | | Merged soc.2013.gobjectification branchAnkit Vani2013-09-061-25/+13
| | | | | | | | | | | |\ \ \ \ \
| | | | | | | | | | | | * | | | | Renamed some prpl stuff to protocol stuff.Ankit Vani2013-09-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed /plugins/prpl prefs to /protocols
| | | | | | | | | | | | * | | | | Refactored the rest of libpurple to use the new protocol APIAnkit Vani2013-09-011-3/+3
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | * | | | | Renamed purple_connection_get_protocol_info() to ↵Ankit Vani2013-08-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | purple_connection_get_protocol()
| | | | | | | | | | | | * | | | | Use the purple_protocol_iface_* API instead of protocol->function()Ankit Vani2013-08-291-3/+3
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | * | | | | Renamed PurplePluginProtocolInfo to PurpleProtocolAnkit Vani2013-08-171-12/+12
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | * | | | | Refactored roomlist, server, sslconn, whiteboard to use the initial GObject ↵Ankit Vani2013-07-291-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | plugin API
| | | | | | | | | | | | * | | | | Replaced purple_connection_get_prpl() with ↵Ankit Vani2013-07-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | purple_connection_get_protocol_info(). Changed its return type from PurplePlugin * to PurplePluginProtocolInfo *
* | | | | | | | | | | | | | | | | Use g_free as UiOps structures GBoxed free functionAnkit Vani2014-02-231-9/+1
|/ / / / / / / / / / / / / / / /