Implement PurpleFileTransferManager

Review Request #2874 — Created Dec. 12, 2023 and submitted

Information

pidgin/pidgin
default

Reviewers

This is a pretty simple manager as duplicates are allowed and
PurpleFileTransfer all property driven which means we only need to propagate
the notify signal.

This doesn't persist across restarts as we have some other issues that are
making that harder than it needs to be.

Ran the unit tests under valgrind.

Summary ID
Implement PurpleFileTransferManager
This is a pretty simple manager as duplicates are allowed and PurpleFileTransfer all property driven which means we only need to propagate the notify signal. This doesn't persist across restarts as we have some other issues that are making that harder than it needs to be.
fef1bda8f72c5785264504145cbae1cc401a1956
Description From Last Updated

its

QuLogicQuLogic

This should be g_ptr_array_new_with_free_func(g_object_unref), I think, as we add refs to all added transfers, and it's not unrefed when removed.

QuLogicQuLogic

Contact manager has two separate counters for this, which might be safer?

QuLogicQuLogic
QuLogic
  1. 
      
  2. libpurple/purplefiletransfermanager.h (Diff revision 1)
     
     
    Show all issues

    its

  3. libpurple/purplefiletransfermanager.c (Diff revision 1)
     
     
    Show all issues

    This should be g_ptr_array_new_with_free_func(g_object_unref), I think, as we add refs to all added transfers, and it's not unrefed when removed.

  4. libpurple/tests/test_file_transfer_manager.c (Diff revision 1)
     
     
     
     
     
     
     
    Show all issues

    Contact manager has two separate counters for this, which might be safer?

  5. 
      
grim
QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed
Status:
Completed