Commit Graph

28 Commits (21ae6cb9b00a17eb084ab994e5e6d4bed462f980)

Author SHA1 Message Date
lakshyacis 21ae6cb9b0
curses fixes 4 years ago
lakshyacis 4c7f9487e2
init file fixes for pylint 4 years ago
Dmitri Bogomolov 5b5ec2b63d
shared.connectedHostsList is obsolete 5 years ago
NourEddine K. Yassine 0cd6e687c9
Fixed Typo that prevented bitmessagecurses from running! 5 years ago
f97ada87 be0e724b23
implement stealth ack objects 6 years ago
Peter Šurda ae97f7abd8
Typo 6 years ago
Peter Šurda 9f4a1fa0a4
Config file defaults and address unification
- bmconfigpaser.py now allows to put default values for a specific
option in the file
- addresses as sections are now detected by "BM-" rather than
just ignoring bitmessagesettings. There can now be other sections
with a cleaner config file
6 years ago
Peter Šurda 6062277d60
Rename configparser.py to bmconfigparser.py
- it was causing problems with py2app because the source of python's own
  CongigParser is also configparser.py
7 years ago
Peter Šurda 2cc4435cfc
Imports, typos, syntax errors
- remove obsolete imports
- add missing imports
- fix typos
- fix syntax errors
- thanks to landscape.io for report
7 years ago
Peter Šurda 59f3a2fbe7
Reduce cyclic dependencies
- rearranged code to reduce cyclic dependencies
- doCleanShutdown is separated in shutdown.py
- shared queues are separated in queues.py
- some default values were moved to defaults.py
- knownnodes partially moved to knownnodes.py
7 years ago
Peter Šurda 8cb0953401
Moved writeKeysFile into configparser
- shared.writeKeysFile -> BMConfigParser().save
- makes it easier to get rid of circular imports
7 years ago
Peter Šurda ac348e4e6b
Fixes and refactoring
- fixes errors introduced in the earlier refactoring
- more variables moved to state.py
- path finding functions moved to paths.py
- remembers IPv6 network unreachable (in the future can be used to skip
  IPv6 for a while)
7 years ago
Peter Šurda 8bcfe80ad0
Refactoring of config parser and shared.py
- got rid of shared config parser and made it into a singleton
- refactored safeConfigGetBoolean as a method of the config singleton
- refactored safeConfigGet as a method of the config singleton
- moved softwareVersion from shared.py into version.py
- moved some global variables from shared.py into state.py
- moved some protocol-specific functions from shared.py into protocol.py
7 years ago
Peter Šurda e84b19613e
Inventory refactoring
- minor refactoring, made it into singleton instead of a shared global
  variable. This makes it a little bit cleaner and moves the class into
a separate file
- removed duplicate inventory locking
- renamed singleton.py to singleinstance.py (this is the code that
  ensures only one instance of PyBitmessage runs at the same time)
7 years ago
Peter Šurda e5c9e6d383
Curses fixes
- curses interface should now work with older versions of dialog
- Fixes #711
7 years ago
Jonathan Warren ce9480ab57 forgot a question mark character in a sql query 9 years ago
Jonathan Warren cc712cb8ff finished work on specifyTTL 9 years ago
Jonathan Warren 50c392c197 resolve merge conflict 9 years ago
Yuri 34824c044e Moved all keys.dat writing code into writeKeysFile in shared.py 9 years ago
Jonathan Warren c306062282 Bitmessage Protocol Version Three 9 years ago
bmng-dev 269506ff8f New localization module (l10n)
Resolves #691
9 years ago
Luke Montalvo cc5301327c * A few minor changes including accidentally unappended code
* Fix sending as a chan address
10 years ago
Luke Montalvo d4327cef81 + Add text wrapping to message viewer
* Move global variable declaration to prevent warnings
* Fix Address Book and Subscriptions entry prepending
* Fix shared.fixPotentiallyInvalidUTF8Data() corrupting sent subjects and message bodies
10 years ago
Luke Montalvo 196047b2ed + Add Sent, Subscription, and Blacklist tab functionality
+ Add code to delete address from Your Identities
+ Add code to load Sentbox, Subscriptions, and Blacklist
* Lengthen column width from 30 to 40 to better fit unlabeled addresses and long subject lines
* Fix row overflow support
* Reorder Dialog initialization to remove duplicate code
* Add reply argument to sendMessage()
* Add newline to Move to Trash message
* Replace Your Identities address copy option with an option to send a message
10 years ago
Luke Montalvo c3feb54b7b + Add lists for each tab requiring a large table
+ Add function ascii() to strip non-ASCII characters
+ Add Inbox, Send, and Address Book tabs support
+ Add Home and End key handling to allow skipping to the top or bottom of tables
+ Add sendMessage() function so replies are easier and code is not duplicated
+ Add screen clear before initial draw in order to get rid of the default background color
* Fix resetlookups() by allowing access to global inventorydata
* Shorten resetlookups() Timer to 1 second
* Fix table display when output requires scrolling
* Change table column width from 50 to 30
- Remove conditional naptime by using blocking input with 1 second timeout
- Remove stderr capturing for development purposes
10 years ago
Luke Montalvo 7d10d2aa2a + Fix CPU hogging by implementing tab-based refresh improvements
* Make tables more distinct with horizontal lines
- Remove start_color() because wrapper() does it anyway
10 years ago
Luke Montalvo 813f4c7ed9 + Add dependency list
+ Add stderr capturing
+ Add identities and network status tabs
+ Add dialogs to configure identities
+ Add color pair definitions
+ Add the '-c' flag to use the curses interface
* Reorganize imports
* Switch logger to file_only mode when running with curses
10 years ago
Luke Montalvo 63c9f751a9 + Add beginning code for an alternative curses interface 10 years ago