Commit Graph

89 Commits

Author SHA1 Message Date
dmiller dbedc5838b Fixes for Windows Zenmap build 2024-04-01 22:32:49 +00:00
dmiller f999182d0f Bump date and reapply header templates 2024-02-28 18:46:45 +00:00
dmiller a182e963b9 Zenmap bugs go to Github, not dev@nmap.org 2024-01-29 22:29:10 +00:00
dmiller d4ee92478e Update calls to gtk.TextBuffer.get_text to include all args. Fixes #2739. Closes #2740. 2024-01-29 18:31:37 +00:00
dmiller 6f6b2de214 Apply new license templates, bump copyright date 2023-04-14 17:11:46 +00:00
dmiller 5fd12db129 Remove unneeded use of deprecated imp module 2023-03-17 16:51:38 +00:00
dmiller 4a41125fbc Fix DeprecationWarnings about string escapes in regex 2023-02-03 23:12:45 +00:00
dmiller 7162b00788 Un-localize things like 'IPv4', 'PDF', etc. 2023-01-31 23:06:30 +00:00
dmiller 9e4d6f5f5c Fix encoding issues related to Python 3 upgrade.
Python 3 str() is a unicode already, so can't be decoded.
subprocess.Popen needs to be in text mode (universal_newlines is the
oldest compatible kwarg for this) in order to do line-based buffering.
In general, all the filesystem encoding stuff we were doing is done by
Python itself now.
2022-12-07 20:34:07 +00:00
dmiller 24b26317c7 Merge #2088: Update Zenmap to Python 3 and PyGObject
Note: Ndiff build will be broken until subsequent changes are made.
Deprecation warnings will need to be addressed in future changes.
Closes #2088
2022-12-07 20:34:03 +00:00
dmiller dd690b3e0b Bump copyright date and update some links [ci skip] 2022-02-18 17:38:46 +00:00
fyodor 3aec3f3a07 Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
dmiller 82be54a353 Convert exception to string first; Fixes #2157 2020-11-01 03:24:17 +00:00
dmiller e3262d33d6 Fix crash due to missing import. Fixes #2148 2020-10-08 19:28:32 +00:00
dmiller ef8213a36c Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +00:00
dmiller ef52628bbc Remove unused variable. #1834 2020-01-01 23:04:52 +00:00
dmiller c89035b6dd Avoid 'import *' where __all__ not defined. #1834 2019-12-30 15:54:34 +00:00
dmiller d75e255113 Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834 2019-12-30 06:46:36 +00:00
dmiller 02212559d2 Delete unused variables and unreachable statements. #1834 2019-12-30 06:46:33 +00:00
dmiller 33aca7c8f5 Avoid using for/else when loop doesn't break. #1834 2019-12-30 06:46:32 +00:00
dmiller d3267a93c4 Fix a crash, config_parser referenced before assignment. 2019-12-30 05:05:39 +00:00
dmiller 085cd7fd34 Suppress unused import LGTM.com alert for I18N
I18N installs the `_` function into the builtin namespace, so it looks
like it's unused when it's not. #1834
2019-12-30 00:53:25 +00:00
dmiller 92270f313e Fix some 'import *' messiness. #1834 2019-12-29 19:56:26 +00:00
dmiller 2a0c1eca5c Remove unused variables. #1834 2019-12-29 19:28:56 +00:00
dmiller fa7cdb2c9f Remove unneeded delete (var goes out of scope). #1834 2019-12-29 15:57:31 +00:00
dmiller 92bf83aaba Remove unused imports 2019-12-28 02:42:14 +00:00
dmiller 162aa15d25 Delete unreferenced file. 2019-12-20 19:37:40 +00:00
dmiller 6a971163ac Fix calls to super from old-style classes. 2019-12-20 19:36:48 +00:00
dmiller d0c61b9cbb Avoid DeprecationWarning due to accessing BaseException.message 2019-12-19 05:25:21 +00:00
dmiller 260fa12cce Fix up some unused test code to silence LGTM. See #1834 2019-12-16 05:55:46 +00:00
dmiller fa0353badd Fix 'Missing call to __init__ during object initialization' from LGTM. See #1834 2019-12-16 05:55:45 +00:00
dmiller ff61845ce2 Avoid encoding errors in exception handler. See #1839 2019-12-10 20:51:56 +00:00
dmiller d639a53088 Bump copyright date in license headers 2019-05-28 21:36:04 +00:00
dmiller bff7dcad4e Avoid crashing when PATH contains non-ascii/utf-8. Decode if possible 2018-11-15 16:23:32 +00:00
dmiller adfc39f4f3 Fix crash when using dir: operator 2018-11-15 05:03:46 +00:00
dmiller f45da78f5b Catch a file error when saving recent scans. Fixes #1177 2018-04-09 16:17:09 +00:00
fyodor ff62300249 Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text 2018-01-28 21:18:17 +00:00
dmiller 9c7ea727a7 Update license terms for 2017 2017-06-07 12:32:38 +00:00
dmiller 4a42504cc2 Fix a crash with non-ascii paths. Fixes #638 2017-02-05 05:56:20 +00:00
dmiller 7760fdf7b4 Zenmap: catch error when no temp directory is found. Fixes #639. Closes #640. Closes #641 2017-01-12 14:53:06 +00:00
dmiller cb8904ebae Update license headers 2016-12-29 17:18:02 +00:00
dmiller 20de140ae6 Fix file permissions again for zenmap.conf. Handle it in one place only. 2016-10-17 16:14:58 +00:00
dmiller fd37e977c9 Avoid crashing if we can't write to zenmap.conf. Fixes #449 2016-08-31 15:21:23 +00:00
vincent d0774e7ed5 Closes #342 by thebinarymutant: Fix semantic for python3 2016-07-01 10:37:25 +00:00
dmiller 6e33d6ac3c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
dmiller 30e9e9fd84 Optionally repair broken zenmap.conf
First, make sure we don't have residual junk configs, resulting in ConfigParser
values coming back as lists instead of strings. Then offer the user the option
to copy the global config file, which should be uncorrupted.
2016-03-29 14:26:38 +00:00
dmiller 3567d72b17 Fix pep8 errors in all of zenmap 2015-12-11 23:11:47 +00:00
dmiller 24f5f35d3e Remember zenmap window geometry. Closes #247. Closes #239. 2015-12-11 23:11:45 +00:00
dmiller f4619edece Update http urls for nmap.org to https 2015-11-05 20:41:05 +00:00
dmiller 15eb10e9fb Fix a crash in Zenmap Compare Results. 2015-09-23 20:23:00 +00:00