[licq-im/licq] 85a688: licq: Move upgrade function to separate file

GitHub <[email protected]> Tue, 01 Jan 2013 06:35:00 -0800
Newsgroups gmane.network.licq.cvs
Message-ID <[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/licq-im/licq
  Commit: 85a688243a57ff170c1cf7f77a9cd7499baca4c4
      https://github.com/licq-im/licq/commit/85a688243a57ff170c1cf7f77a9cd7499baca4c4
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/src/CMakeLists.txt
    A licq/src/licq-upgrade.cpp
    M licq/src/licq.cpp
    M licq/src/licq.h

  Log Message:
  -----------
  licq: Move upgrade function to separate file


  Commit: 7998c76d308e51b7f9d378d1beafb8b7d2684967
      https://github.com/licq-im/licq/commit/7998c76d308e51b7f9d378d1beafb8b7d2684967
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M forwarder/src/forwarder.cpp
    M jabber/src/handler.cpp
    M licq/include/licq/userid.h
    M licq/src/contactlist/userhistory.cpp
    M licq/src/contactlist/usermanager.cpp
    M licq/src/fifo.cpp
    M licq/src/icq/chat.cpp
    M licq/src/icq/filetransfer.cpp
    M licq/src/icq/icq-srv.cpp
    M licq/src/icq/icq-tcp.cpp
    M licq/src/icq/icq.cpp
    M licq/src/icq/icq.h
    M licq/src/icq/oscarservice.cpp
    M licq/src/icq/packet-tcp.cpp
    M licq/src/icq/threads.cpp
    M licq/src/icq/user.h
    M licq/src/oneventmanager.cpp
    M licq/src/tests/conversationtest.cpp
    M msn/src/msn-sb.cpp
    M msn/src/msn-srv.cpp
    M qt4-gui/src/core/licqgui.cpp
    M qt4-gui/src/dialogs/adduserdlg.cpp
    M qt4-gui/src/dialogs/authdlg.cpp
    M qt4-gui/src/dialogs/ownereditdlg.cpp
    M qt4-gui/src/dialogs/randomchatdlg.cpp
    M qt4-gui/src/dialogs/searchuserdlg.cpp
    M rms/src/rms.cpp

  Log Message:
  -----------
  api: Include owner id in Licq::UserId

To support multiple owners per protocol, the protocol id can no longer
be used to uniquily identify which owner a user belongs to.
This also guarantees that each user id is unique even if the same
contact is added for two different accounts.


  Commit: b663412cc79a96eac2002c384fa08825c919edff
      https://github.com/licq-im/licq/commit/b663412cc79a96eac2002c384fa08825c919edff
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/src/contactlist/owner.cpp
    M licq/src/contactlist/user.cpp
    M licq/src/contactlist/usermanager.cpp
    M licq/src/licq-upgrade.cpp
    M licq/src/licq.cpp
    M licq/src/licq.h

  Log Message:
  -----------
  licq: Move user data files into subdirs per owner

User files for each owner is placed in users/<owner>.<ppid>/ so files
will be unique even if multiple owners exist with the same user added.

Note: The condition for performing the upgrade is the Licq version
number in licq.conf. As the dev version in git master is already set to
1.8.0, people already running with this version must edit licq.conf
manually to a lower value (for example "1079") before running Licq to
trigger the upgrade to be performed.


  Commit: 4e9eddf819d968c6f9267fd7cf7419729e3fd234
      https://github.com/licq-im/licq/commit/4e9eddf819d968c6f9267fd7cf7419729e3fd234
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/include/licq/contactlist/user.h
    M licq/src/contactlist/user.cpp
    M licq/src/contactlist/user.h
    M licq/src/contactlist/userhistory.cpp
    M licq/src/contactlist/userhistory.h
    M licq/src/licq-upgrade.cpp
    M qt4-gui/src/dialogs/historydlg.cpp

  Log Message:
  -----------
  licq: Move history files to users dir


  Commit: 851435fc25f69447fcfa1ec95b9a08796fe3d013
      https://github.com/licq-im/licq/commit/851435fc25f69447fcfa1ec95b9a08796fe3d013
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M jabber/src/owner.cpp
    M licq/src/contactlist/owner.cpp
    M licq/src/icq/owner.cpp
    M licq/src/licq-upgrade.cpp
    M msn/src/owner.cpp

  Log Message:
  -----------
  licq: Do owner data migration in big upgrade


  Commit: b46b22ba133f5bb16dbd2102c3fdb85b49c1066d
      https://github.com/licq-im/licq/commit/b46b22ba133f5bb16dbd2102c3fdb85b49c1066d
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/src/contactlist/usermanager.cpp
    M licq/src/licq-upgrade.cpp

  Log Message:
  -----------
  licq: Migrate users.conf with big upgrade


  Commit: 43e1621d80c09114715606c100032e11a4b7f0bc
      https://github.com/licq-im/licq/commit/43e1621d80c09114715606c100032e11a4b7f0bc
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/src/licq-upgrade.cpp
    M licq/src/oneventmanager.cpp

  Log Message:
  -----------
  licq: Save owner in onevent configuration


  Commit: a077f0112bc051d7be6f4ef0c7fc6214d9e718e8
      https://github.com/licq-im/licq/commit/a077f0112bc051d7be6f4ef0c7fc6214d9e718e8
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/src/filter.cpp
    M licq/src/licq-upgrade.cpp

  Log Message:
  -----------
  licq: Use protocol name in filter config


  Commit: 69873e630782f41a2c8d9b799ce9319bf3115fbc
      https://github.com/licq-im/licq/commit/69873e630782f41a2c8d9b799ce9319bf3115fbc
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/src/licq-upgrade.cpp
    M qt4-gui/src/core/licqgui.cpp

  Log Message:
  -----------
  qt4-gui: Save owner id with floaty configuration


  Commit: 81b81aba0355d2c13ec07921cc307d5673c06938
      https://github.com/licq-im/licq/commit/81b81aba0355d2c13ec07921cc307d5673c06938
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/src/licq-upgrade.cpp
    M rms/licq_rms.conf
    M rms/src/rms.cpp
    M rms/src/rms.h

  Log Message:
  -----------
  rms: Save owner id in configuration


  Commit: 6ef216b16ec3591231827d36b94ccfab6689f006
      https://github.com/licq-im/licq/commit/6ef216b16ec3591231827d36b94ccfab6689f006
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M forwarder/licq_forwarder.conf
    M forwarder/src/forwarder.cpp
    M licq/src/licq-upgrade.cpp

  Log Message:
  -----------
  forwarder: Save owner id in configuration


  Commit: ca8d96dde86786242addfbc812b0f2f1b3350dcf
      https://github.com/licq-im/licq/commit/ca8d96dde86786242addfbc812b0f2f1b3350dcf
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/include/licq/userid.h
    M licq/src/contactlist/user.cpp
    M licq/src/licq-upgrade.cpp

  Log Message:
  -----------
  api: Replace LICQ_PPID with ICQ_PPID


  Commit: f9716b43c39b28d8e9517f906858dd5410cc96e2
      https://github.com/licq-im/licq/commit/f9716b43c39b28d8e9517f906858dd5410cc96e2
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M forwarder/src/forwarder.cpp
    M licq/include/licq/contactlist/owner.h
    M licq/src/contactlist/user.cpp
    M licq/src/contactlist/usermanager.cpp
    M licq/src/fifo.cpp
    M licq/src/icq/icqprotocolplugin.cpp
    M licq/src/icq/user.cpp
    M licq/src/protocolmanager.cpp
    M osd/src/licq-osd.cpp
    M qt4-gui/src/core/licqgui.cpp
    M qt4-gui/src/dialogs/adduserdlg.cpp
    M qt4-gui/src/dialogs/authdlg.cpp
    M qt4-gui/src/dialogs/historydlg.cpp
    M qt4-gui/src/userdlg/info.cpp
    M qt4-gui/src/userevents/usersendevent.cpp
    M qt4-gui/src/widgets/historyview.cpp
    M rms/src/rms.cpp

  Log Message:
  -----------
  Use full owner id where possible


  Commit: 0303b08cba70aee2eb2501dba7c5ad0434725d3d
      https://github.com/licq-im/licq/commit/0303b08cba70aee2eb2501dba7c5ad0434725d3d
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M aosd/src/iface.cpp
    M auto-reply/src/autoreply.cpp
    M jabber/src/handler.cpp
    M jabber/src/owner.cpp
    M licq/include/licq/contactlist/user.h
    M licq/include/licq/contactlist/usermanager.h
    M licq/include/licq/icq/user.h
    M licq/src/contactlist/owner.cpp
    M licq/src/contactlist/user.cpp
    M licq/src/contactlist/usermanager.cpp
    M licq/src/contactlist/usermanager.h
    M licq/src/icq/icq-srv.cpp
    M licq/src/icq/icq-tcp.cpp
    M licq/src/icq/owner.cpp
    M licq/src/icq/packet-srv.cpp
    M licq/src/icq/user.cpp
    M licq/src/icq/user.h
    M licq/src/protocolmanager.cpp
    M msn/src/owner.cpp
    M msn/src/user.cpp
    M msn/src/user.h
    M osd/src/licq-osd.cpp
    M qt4-gui/src/contactlist/contactlist.cpp
    M qt4-gui/src/core/signalmanager.cpp
    M qt4-gui/src/dialogs/historydlg.cpp
    M qt4-gui/src/dialogs/historydlg.h
    M qt4-gui/src/userdlg/userdlg.cpp
    M qt4-gui/src/userevents/usereventcommon.cpp

  Log Message:
  -----------
  api: Remove redundant isOwner from UserManager


  Commit: 8a553f2ce115863d8bfd037624cfeba0517faf3f
      https://github.com/licq-im/licq/commit/8a553f2ce115863d8bfd037624cfeba0517faf3f
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M licq/src/CMakeLists.txt
    A licq/src/icq-public.cpp
    M licq/src/icq/owner.cpp
    M licq/src/icq/user.cpp

  Log Message:
  -----------
  icq: Move IcqUser and IcqOwner to daemon

Due to the virtual inheritance dynamic_cast must be used which requires
the vtables to be present in the daemon so GUI can find symbols even if
the ICQ protocol isn't loaded.


  Commit: 53c7d5d525c2f498eff88d4264ad0e5fc1db288d
      https://github.com/licq-im/licq/commit/53c7d5d525c2f498eff88d4264ad0e5fc1db288d
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    A icq/src/buffer.cpp
    A icq/src/buffer.h
    A icq/src/chat.cpp
    A icq/src/chat.h
    A icq/src/codes.cpp
    A icq/src/defines.h
    A icq/src/filetransfer.cpp
    A icq/src/filetransfer.h
    A icq/src/gettext.h
    A icq/src/icq-srv.cpp
    A icq/src/icq-tcp.cpp
    A icq/src/icq.cpp
    A icq/src/icq.h
    A icq/src/icqprotocolplugin.cpp
    A icq/src/icqprotocolplugin.h
    A icq/src/oscarservice.cpp
    A icq/src/oscarservice.h
    A icq/src/owner.cpp
    A icq/src/owner.h
    A icq/src/packet-srv.cpp
    A icq/src/packet-srv.h
    A icq/src/packet-tcp.cpp
    A icq/src/packet-tcp.h
    A icq/src/protocolsignal.cpp
    A icq/src/protocolsignal.h
    A icq/src/rtf.cc
    A icq/src/rtf.ll
    A icq/src/socket.cpp
    A icq/src/socket.h
    A icq/src/threads.cpp
    A icq/src/user.cpp
    A icq/src/user.h
    A icq/src/userclients.cpp
    R licq/src/icq/buffer.cpp
    R licq/src/icq/buffer.h
    R licq/src/icq/chat.cpp
    R licq/src/icq/chat.h
    R licq/src/icq/codes.cpp
    R licq/src/icq/defines.h
    R licq/src/icq/filetransfer.cpp
    R licq/src/icq/filetransfer.h
    R licq/src/icq/gettext.h
    R licq/src/icq/icq-srv.cpp
    R licq/src/icq/icq-tcp.cpp
    R licq/src/icq/icq.cpp
    R licq/src/icq/icq.h
    R licq/src/icq/icqprotocolplugin.cpp
    R licq/src/icq/icqprotocolplugin.h
    R licq/src/icq/oscarservice.cpp
    R licq/src/icq/oscarservice.h
    R licq/src/icq/owner.cpp
    R licq/src/icq/owner.h
    R licq/src/icq/packet-srv.cpp
    R licq/src/icq/packet-srv.h
    R licq/src/icq/packet-tcp.cpp
    R licq/src/icq/packet-tcp.h
    R licq/src/icq/protocolsignal.cpp
    R licq/src/icq/protocolsignal.h
    R licq/src/icq/rtf.cc
    R licq/src/icq/rtf.ll
    R licq/src/icq/socket.cpp
    R licq/src/icq/socket.h
    R licq/src/icq/threads.cpp
    R licq/src/icq/user.cpp
    R licq/src/icq/user.h
    R licq/src/icq/userclients.cpp

  Log Message:
  -----------
  icq: Move code files from daemon to plugin


  Commit: 25eb02b04a7ba75d1f114d55de09bf62989f85eb
      https://github.com/licq-im/licq/commit/25eb02b04a7ba75d1f114d55de09bf62989f85eb
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    A icq/CMakeLists.txt
    A icq/README
    A icq/src/CMakeLists.txt
    M icq/src/icqprotocolplugin.cpp
    A icq/version.cmake
    M licq/doc/CHANGELOG
    A licq/plugins/icq
    M licq/src/CMakeLists.txt
    M licq/src/licq-upgrade.cpp
    M licq/src/licq.cpp
    M licq/src/plugin/pluginmanager.cpp
    M licq/src/plugin/pluginmanager.h
    M scripts/create-licq-tarball

  Log Message:
  -----------
  icq: Build as protocol plugin

- Remove hacks to build and run ICQ from within daemon
- Add files to build ICQ as an Licq protocol plugin
- Add migration code to automatically load ICQ on first run


Compare: https://github.com/licq-im/licq/compare/6721bd48da89...25eb02b04a7b