Commit Graph

11171 Commits

Author SHA1 Message Date
Philipp Hörist 33041619ee Dont depend on win32api for getting HOME dir 2017-01-03 23:08:51 +01:00
Philipp Hörist f1693fa5a6 Remove unused code 2017-01-03 23:08:51 +01:00
Philipp Hörist d5bb5d4034 Remove old GTK2 code 2017-01-03 23:08:51 +01:00
Philipp Hörist 1c8f08a3c8 Remove PID code, GApp should be single instance 2017-01-03 23:08:50 +01:00
Philipp Hörist 0443d5a69a Ignore warnings on windows when not in dev mode 2017-01-03 23:08:50 +01:00
Philipp Hörist 079b5346fe Set application name in init
Remove unnecessary error catching
- on missing gi libs we fail earlier
- 'could not open display' is good enough
2017-01-03 23:08:49 +01:00
Philipp Hörist 2676d7ea94 Add commandline option for logging on windows
Redirect all output to one log file or if -w is
provided do not redirect output
2017-01-03 23:08:49 +01:00
Philipp Hörist 815ecdcf47 Handle start of second instance
We bring the Roster Window to the front
Gtk exits on return immediately
2017-01-03 23:08:48 +01:00
Philipp Hörist e7812cbd85 Move startup code into Gtk.Application() 2017-01-03 23:08:48 +01:00
Emmanuel Gil Peyrot 9d2223ea3b Add a -V/--version option, printing the version 2017-01-03 23:08:48 +01:00
Emmanuel Gil Peyrot 2298af9dd9 Handle CommandLine inputs with GtkApplication 2017-01-03 23:08:47 +01:00
Philipp Hörist 42d4aa2ab4 Test required version of all GTK libs at start 2017-01-03 23:08:32 +01:00
Yann Leboulanger 4e7bd1fc39 Merge branch 'version-trailing-whitespace' into 'master'
Remove extraneous whitespace after git hash

See merge request !18
2017-01-03 22:20:30 +01:00
Emmanuel Gil Peyrot 21df33993b Remove extraneous whitespace after git hash. 2017-01-03 21:17:30 +00:00
Emmanuel Gil Peyrot 0eec41ee89 Simplify nbxmpp import error checking to exit(1).
There was no reason for distutils’ version support to fail.
2017-01-03 21:14:27 +00:00
Philipp Hörist 430c4b1536 Merge branch 'printline' into 'master'
print_conversation_line() refactoring

See merge request !3
2017-01-03 21:20:32 +01:00
Philipp Hörist d129abbed6 Catch exceptions on invalid URLs
Closes #8494

Conflicts:
	src/common/helpers.py
2017-01-03 20:17:14 +01:00
Philipp Hörist 39216af2de print_conversation_line() refactoring
It now orders all messages with the given timestamp
this also includes inserting messages at the correct
point

The timestamp precision for incoming and outgoing messages
was raised to include fractions of a second
2017-01-02 19:09:06 +01:00
Emmanuel Gil Peyrot 03446bb74f Make sure strings don’t contain unescaped backslashes. 2017-01-01 21:48:44 +00:00
Philipp Hörist c52046f565 Merge branch 'formatting-menu' into 'master'
Make the formatting menu declarative.

See merge request !10
2016-12-24 09:01:39 +01:00
Philipp Hörist 8212bc250b Merge branch 'use-glib-directories' into 'master'
Use GLib to retrieve the pictures directory.

See merge request !12
2016-12-24 08:50:35 +01:00
Emmanuel Gil Peyrot bd07478574 Use GLib to retrieve the pictures directory.
Also remove an unused function.
2016-12-24 04:58:30 +01:00
Emmanuel Gil Peyrot c1c2a5162c Replace formatting button with declarative menu.
This prevents Gajim from having to regenerate the menu everytime it is
clicked on.
2016-12-24 02:51:55 +01:00
Philipp Hörist b43811df88 Fix getting commit hash for version info 2016-12-23 20:52:24 +01:00
Thilo Molitor f15497b0c0 Merge branch 'master' of dev.gajim.org:gajim/gajim 2016-12-23 15:21:03 +01:00
Philipp Hörist ac4859fb87 Remove unused imports 2016-12-22 18:19:24 +01:00
Thilo Molitor c48f0419f2 Merge branch 'master' of dev.gajim.org:gajim/gajim 2016-12-18 04:22:08 +01:00
Yann Leboulanger 458d1083bc do not list all keys when we want to know if we have a key. Fixes #8477 2016-12-17 14:06:36 +01:00
Yann Leboulanger d9efb31b2e don't crash when gnupg doesn't have a status attribute. 2016-12-17 13:32:35 +01:00
Yann Leboulanger 58341e9742 correctly check if python-gnupg is installed 2016-12-17 13:31:37 +01:00
Thilo Molitor 55eaf70f9f Correctly search for chat_control when message receipts are received (XEP-0184) and chat_control is not currently bound to a session 2016-12-16 21:53:51 +01:00
Philipp Hörist 82cfcbff8b Merge branch 'keyring' into 'master'
Store passwords in Windows Credential Vault Fixes #8367

See merge request !4
2016-12-11 15:37:51 +01:00
Philipp Hörist 9d13631731 Store passwords in Windows Credential Vault 2016-12-11 01:20:16 +01:00
Yann Leboulanger 995a154c59 Remove gnupg from our sources and optionnaly depend on it. Fixes #8475 2016-12-10 17:32:04 +01:00
Philipp Hörist fc0be965f5 Remove demandimport 2016-12-09 18:19:39 +01:00
Philipp Hörist 7db4d6c0cb Update files for appveyor Windows build 2016-12-08 21:52:35 +01:00
Yann Leboulanger 7b3d595665 fix time.time() call. Fixes #8446 2016-11-28 22:23:42 +01:00
Yann Leboulanger 471329a0e0 prevent too long tooltips. Fixes #8465 2016-11-28 21:52:40 +01:00
Yann Leboulanger 6fbb4ce6cb fix sending zeroconf messages 2016-11-24 22:44:52 +01:00
Yann Leboulanger 25fb8c9a3a don't crash when we get a wrong feature negotiation form 2016-11-24 22:42:33 +01:00
Emmanuel Gil Peyrot 13a61d7618 Remove support for GNOME Keyring and KWalletCLI, instead always use libsecret. 2016-11-20 21:56:26 +00:00
lovetox f10566f435 Dont use super() fpr Gtk.Window init, fixes deprecated msg 2016-11-19 17:25:48 +01:00
lovetox 3296c23e32 Refactor Roster Tooltip 2016-11-17 03:29:18 +01:00
lovetox ec99e93a7c Create GCTooltip window only when parent is available 2016-11-18 03:41:37 +01:00
Emmanuel Gil Peyrot d4f3488abe Remove the SRV feature, since the switch to Gio it’s always enabled. 2016-11-13 02:32:38 +00:00
lovetox 7a278d9123 Refactor GC Roster tooltip 2016-11-13 21:06:37 +01:00
Emmanuel Gil Peyrot ec0a11fe1a Replace ServiceDiscoveryTooltip with gtk_tree_view.set_tooltip_column(). 2016-11-12 23:54:33 +00:00
lovetox c64ad72cae Dont use translated strings for MAM Preference command 2016-11-13 12:51:29 +01:00
Emmanuel Gil Peyrot 3c48d59ed5 Remove unused xdg code and make it check for absolute paths
The xdg module has never been imported due to a catchall except clause,
so we can safely assume it was unused and untested.
2016-11-05 14:49:38 +00:00
Emmanuel Gil Peyrot 85aa5efb12 Rename typo s/fb/fd/ in remote_control. 2016-11-05 15:37:30 +00:00
Emmanuel Gil Peyrot 6b22dd6ade Replace gtk.gdk with GdkPixbuf in gui_interface. 2016-11-05 15:36:27 +00:00
Emmanuel Gil Peyrot 314b5797f3 Import reduce from functools, it isn’t a builtin anymore in python3. 2016-11-05 15:31:01 +00:00
Emmanuel Gil Peyrot f32e99b748 Fix unknown variables in htmltextview. 2016-11-05 15:30:34 +00:00
Emmanuel Gil Peyrot 0e929b7777 Add forgotten import dialogs in history_window. 2016-11-05 15:22:59 +00:00
Emmanuel Gil Peyrot 5ec56a05a0 Add forgotten logging setup in dialogs. 2016-11-05 15:22:03 +00:00
Emmanuel Gil Peyrot 20637b2ef1 Fix Bonjour code to not rely on undeclared variables. 2016-11-05 15:16:20 +00:00
Emmanuel Gil Peyrot 32db80c7ef Replace NameError SSL with correctly-imported OpenSSL.SSL. 2016-11-05 15:07:08 +00:00
Emmanuel Gil Peyrot 2dffaa7d75 Fix NameError in Avahi code. 2016-11-05 15:06:08 +00:00
Emmanuel Gil Peyrot 73e6edd3ed Move previously-dead code in passwords. 2016-11-05 15:04:39 +00:00
Emmanuel Gil Peyrot 0bdd592e4d Fix wrong variable names and forgotten imports in message_archiving. 2016-11-05 15:02:46 +00:00
Emmanuel Gil Peyrot f25590d212 Use the correct ctx variable name in jingle_xtls. 2016-11-05 14:58:34 +00:00
Emmanuel Gil Peyrot 9440512f2b Add forgotten variable declaration in except. 2016-11-05 14:57:13 +00:00
Emmanuel Gil Peyrot 6f1bad3eb5 Fix NameError in DataForms with a media type. 2016-11-05 14:55:48 +00:00
Emmanuel Gil Peyrot 71c01ad03e Remove unreachable code, and simplify is_valid_bool. 2016-11-05 14:53:48 +00:00
lovetox f961e0be9a Add MAM Preference Dialog 2016-10-31 02:11:46 +01:00
lovetox 7cb31512c6 Add no-store hint to ChatStates 2016-10-18 16:26:03 +02:00
lovetox 705206cf83 Fix syntax error 2016-10-17 02:44:58 +02:00
Yann Leboulanger c841c7973d prevent traceback when a wrong timezone arrive. 2016-10-16 22:40:41 +02:00
lovetox 9db1ba1d05 Correctly restore disabled status for emoticons in pref window 2016-10-16 10:37:08 +02:00
lovetox 14054cc0df Dont leak presence with ChatStates 2016-10-13 02:07:34 +02:00
lovetox 194508d405 Workaround for strftime bug on Windows
see: http://bugs.python.org/issue8304
2016-10-13 01:43:26 +02:00
lovetox b434130060 Add additional_data to ChatEvent 2016-10-13 00:40:02 +02:00
Linus Heckemann 17cd14a5fa Allow startup even with malformed plugin manifests 2016-10-11 09:51:31 +01:00
lovetox 0e6f7908c9 Support old print_status tag in Bookmarks 2016-10-10 20:54:15 +02:00
lovetox 4c482cbfe8 Store optional fields correctly in Bookmarks 2016-10-10 19:10:18 +02:00
Yann Leboulanger e5b69fae5c start running tests 2016-10-10 15:22:51 +02:00
Linus Heckemann 3dcdee70ba Fix fuzzy time 2016-10-10 13:47:56 +01:00
lovetox e7479c52e2 [pitchum] Fix datetime parsing - Fixes #8444 2016-10-08 17:38:10 +02:00
lovetox bc3210ec65 Fix layout in AddNewContact window 2016-10-05 22:51:06 +02:00
lovetox 80de2e45c6 Fix layout in Plugins Window 2016-10-05 21:34:00 +02:00
lovetox b9ae874a32 Add transient to overwrite status message dialog 2016-10-05 20:26:25 +02:00
lovetox 43129638c4 Move status message TreeView code into glade file, fix layout 2016-10-05 20:20:42 +02:00
lovetox 9c29b32384 Fix layout in manage sounds window and add transient 2016-10-05 11:30:18 +02:00
lovetox 6891cc49f4 Format ChangeNick message
without \newlines the input dialog gets really big
2016-10-04 23:54:52 +02:00
lovetox 7151fef0ec Fix NoneType Error introduced in a10e0df42f31 2016-10-04 22:25:44 +02:00
lovetox 922762afa5 Default to RosterWindow as transient for CommonInputDialog 2016-10-04 22:05:18 +02:00
lovetox a3fc0b6f5c Better alignment for elements in ChatWindow and GroupChatWindow 2016-10-04 18:50:59 +02:00
lovetox 16fd31ca37 Restore correct window size in single window mode 2016-10-03 22:43:17 +02:00
lovetox a8586ec20a Fix missing time reference - Fixes #8399 2016-10-03 16:34:16 +02:00
lovetox fa75bdeddd Display version/os information correctly in VCard window
On contacts with multiple resources, not all information was displayed.
2016-10-01 17:35:10 +02:00
Linus Heckemann 1b4360a94e Fix resolver test code 2016-10-02 14:15:15 +01:00
Linus Heckemann 17c482205e Remove other resolvers 2016-10-02 14:09:06 +01:00
Linus Heckemann a2e5924146 Default to GioResolver 2016-10-02 14:02:04 +01:00
Linus Heckemann e4eb2d98e0 Add GIO-based resolver 2016-10-02 14:01:12 +01:00
lovetox 506e3f285b Fix alignment in VCard window and add LinkButtons for email 2016-10-01 14:51:22 +02:00
lovetox 1e073b622f Add timeout to progressbar in VCard window
The progressbar was looping forever when someone sent us an invalid time result
2016-09-30 19:38:00 +02:00
lovetox b7932e15ea Use UTF-8 to store VCards
If we dont specify the encoding, the system default is used which leads to encoding/decoding errors, depending on what the actual system default encoding is.
2016-09-30 17:03:30 +02:00
Yann Leboulanger d0ace18434 default connection is now only done with TLS. No more legacy SSL or plain connection. Fixes #8390 2016-09-18 15:18:30 +02:00
Yann Leboulanger 57b2f234c1 Limit time to reconnect to 5 minutes. Fixes #8393 2016-09-18 15:15:10 +02:00
tmolitor d306a39e1e Correctly append shown value to list 2016-09-28 01:20:17 +02:00