From 758120cc2fcd577488dd5e1ff866e66a6ffbd51c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 5 Mar 2014 20:36:13 +0000 Subject: [PATCH 1/3] Exclude debian directory from orig.tar.gz #651 --- Makefile | 3 + debian.sh | 2 +- debian/changelog | 149 ++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 152 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 457bd128..d3818f4d 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ PREFIX?=/usr/local all: debug: +sourcedeb: + tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs --exclude 'debian' + gzip -f9n ../${APP}_${VERSION}.orig.tar source: tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs gzip -f9n ../${APP}_${VERSION}.orig.tar diff --git a/debian.sh b/debian.sh index d80d9db9..bae8ab76 100755 --- a/debian.sh +++ b/debian.sh @@ -33,7 +33,7 @@ make mv ../${APP} ../${DIR} # Create a source archive -make source +make sourcedeb # Build the package dpkg-buildpackage -F diff --git a/debian/changelog b/debian/changelog index a8f35473..b32b5830 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,53 +1,166 @@ +pybitmessage (0.4.2-1) saucy; urgency=low + + * Exclude debian directory from orig.tar.gz + + * Added Norwegian, Chinese, and Arabic translations + + * sock.sendall function isn't atomic. + Let sendDataThread be the only thread which sends data. + + * Moved API code to api.py + + * Populate comboBoxSendFrom when replying + + * Added option to show recent broadcasts when subscribing + + * Fixed issue: If Windows username contained an international character, + Bitmessage wouldn't start + + * Added some code for FreeBSD compatibility + + * Moved responsibility for processing network objects + to the new ObjectProcessorThread + + * Refactored main QT module + Moved popup menus initialization to separate methods + Simplified inbox loading + Moved magic strings to the model scope constants so they won't + be created every time. + + * Updated list of defaultKnownNodes + + * Fixed issue: [Linux] When too many messages arrive too quickly, + exception occurs: "Exceeded maximum number of notifications" + + * Fixed issue: creating then deleting an Address in short time crashes + class_singleWorker.py + + * Refactored code which displays messages to improve code readability + + * load "Sent To" label from subscriptions if available + + * Removed code to add chans to our address book as it is no longer necessary + + * Added identicons + + * Modified addresses.decodeAddress so that API command decodeAddress + works properly + + * Added API commands createChan, joinChan, leaveChan, deleteAddress + + * In pyelliptic, check the return value of RAND_bytes to make sure enough + random data was generated + + * Don't store messages in UI table (and thus in memory), pull from SQL + inventory as needed + + * Fix typos in API commands addSubscription and getInboxMessagesByAddress + + * Add feature in settings menu to give up resending a message after a + specified period of time + + -- Bob Mottram (4096 bits) Sat, 29 June 2013 11:23:00 +0100 + +pybitmessage (0.4.1-1) raring; urgency=low + + * Fixed whitelist bug + + * Fixed chan bug + Added addressversion field to pubkeys table + Sending messages to a chan no longer uses anything in the pubkeys table + Sending messages to yourself is now fully supported + + * Change _verifyAddress function to support v4 addresses + + -- Bob Mottram (4096 bits) Sat, 29 June 2013 11:23:00 +0100 + pybitmessage (0.4.0-1) raring; urgency=low * Raised default demanded difficulty from 1 to 2 for new addresses + * Added v4 addresses: pubkeys are now encrypted and tagged in the inventory + * Use locks when accessing dictionary inventory + * Refactored the way inv and addr messages are shared + * Give user feedback when disk is full + * Added chan true/false to listAddresses results + * When replying using chan address, send to whole chan not just sender + * Refactored of the way PyBitmessage looks for interesting new objects in large inv messages from peers + * Show inventory lookup rate on Network Status tab + * Added SqlBulkExecute class so we can update inventory with only one commit + * Updated Russian translations + * Move duplicated SQL code into helper + * Allow specification of alternate settings dir via BITMESSAGE_HOME environment variable + * Removed use of gevent. Removed class_bgWorker.py + * Added Sip and PyQt to includes in build_osx.py + * Show number of each message type processed in the API command clientStatus + * Use fast PoW unless we're explicitly a frozen (binary) version of the code + * Enable user-set localization in settings + * Fix Archlinux package creation + * Fallback to language only localization when region doesn't match + * Fixed brew install instructions + * Added German translation + * Made inbox and sent messages table panels read-only + * Allow inbox and sent preview panels to resize + * Count RE: as a reply header, just like Re: so we don't chain Re: RE: + * Fix for traceback on OSX + * Added backend ability to understand shorter addresses + * Convert 'API Error' to raise APIError() + * Added option in settings to allow sending to a mobile device (app not yet done) + * Added ability to start daemon mode when using Bitmessage as a module + * Improved the way client detects locale + * Added API commands: getInboxMessageIds, getSentMessageIds, listAddressBookEntries, trashSentMessageByAckData, addAddressBookEntry, deleteAddressBookEntry, listAddresses2, listSubscriptions + * Set a maximum frequency for playing sounds + * Show Invalid Method error in same format as other API errors + * Update status of separate broadcasts separately even if the sent data is identical + * Added Namecoin integration + * Internally distinguish peers by IP and port + * Inbox message retrieval API functions now also returns read status @@ -56,28 +169,50 @@ pybitmessage (0.4.0-1) raring; urgency=low pybitmessage (0.3.5-1) raring; urgency=low * Inbox message retrieval API functions now also returns read status + * Added right-click option to mark a message as unread + * Prompt user to connect at first startup + * Install into /usr/local by default + * Add a missing rm -f to the uninstall task. + * Use system text color for enabled addresses instead of black + * Added support for Chans + * Start storing msgid in sent table + * Optionally play sounds on connection/disconnection or when messages arrive + * Adding configuration option to listen for connections when using SOCKS + * Added packaging for multiple distros (Arch, Puppy, Slack, etc.) + * Added Russian translation + * Added search support in the UI + * Added 'make uninstall' + * To improve OSX support, use PKCS5_PBKDF2_HMAC_SHA1 if PKCS5_PBKDF2_HMAC is unavailable + * Added better warnings for OSX users who are using old versions of Python + * Repaired debian packaging + * Altered Makefile to avoid needing to chase changes + * Added logger module + * Added bgWorker class for background tasks + * Added use of gevent module + * On not-Windows: Fix insecure keyfile permissions + * Fix 100% CPU usage issue -- Bob Mottram (4096 bits) Mon, 29 July 2013 22:11:00 +0100 @@ -86,8 +221,11 @@ pybitmessage (0.3.4-1) raring; urgency=low * Switched addr, msg, broadcast, and getpubkey message types to 8 byte time. Last remaining type is pubkey. + * Added tooltips to show the full subject of messages + * Added Maximum Acceptable Difficulty fields in the settings + * Send out pubkey immediately after generating deterministic addresses rather than waiting for a request @@ -96,10 +234,14 @@ pybitmessage (0.3.4-1) raring; urgency=low pybitmessage (0.3.3-1) raring; urgency=low * Remove inbox item from GUI when using API command trashMessage + * Add missing trailing semicolons to pybitmessage.desktop + * Ensure $(DESTDIR)/usr/bin exists + * Update Makefile to correct sandbox violations when built via Portage (Gentoo) + * Fix message authentication bug -- Bob Mottram (4096 bits) Sat, 29 June 2013 11:23:00 +0100 @@ -209,7 +351,8 @@ pybitmessage (0.3.0-1) raring; urgency=low * Swapped out the v2 announcements subscription address for a v3 announcements subscription address - * Vacuum the messages.dat file once a month: will greatly reduce the file size + * Vacuum the messages.dat file once a month: + will greatly reduce the file size * Added a settings table in message.dat @@ -289,9 +432,13 @@ pybitmessage (0.2.8-1) unstable; urgency=low pybitmessage (0.2.7-1) unstable; urgency=low * Added debian packaging + * Script to generate debian packages + * SVG icon for Gnome shell, etc + * Source moved int src directory for debian standards compatibility + * Trailing carriage return on COPYING LICENSE and README.md -- Bob Mottram (4096 bits) Tue, 1 Apr 2013 17:12:14 +0100 From 6bfc563f750e3d4fc5c4406b7aeba17e09eee252 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 6 Mar 2014 09:21:06 +0000 Subject: [PATCH 2/3] Fix 'bogus' dates which otherwise prevent package creation --- debian/changelog | 4 +-- debian/copyright | 4 +-- debian/rules | 1 + rpmpackage/pybitmessage.spec | 53 ++++++++++++++++++++++++++++++++++-- 4 files changed, 55 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index b32b5830..b1871d37 100644 --- a/debian/changelog +++ b/debian/changelog @@ -384,7 +384,7 @@ pybitmessage (0.3.0-1) raring; urgency=low * Bug fix: can't delete address from address book - -- Bob Mottram (4096 bits) Tue, 6 May 2013 12:06:00 +0100 + -- Bob Mottram (4096 bits) Mon, 6 May 2013 12:06:00 +0100 pybitmessage (0.2.8-1) unstable; urgency=low @@ -441,4 +441,4 @@ pybitmessage (0.2.7-1) unstable; urgency=low * Trailing carriage return on COPYING LICENSE and README.md - -- Bob Mottram (4096 bits) Tue, 1 Apr 2013 17:12:14 +0100 + -- Bob Mottram (4096 bits) Mon, 1 Apr 2013 17:12:14 +0100 diff --git a/debian/copyright b/debian/copyright index 32f13f19..55863ba1 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,11 +3,11 @@ Upstream-Name: Source: Files: * -Copyright: Copyright 2013 Bob Mottram (4096 bits) +Copyright: Copyright 2014 Bob Mottram (4096 bits) License: MIT Files: debian/* -Copyright: Copyright 2013 Bob Mottram (4096 bits) +Copyright: Copyright 2014 Bob Mottram (4096 bits) License: MIT License: MIT diff --git a/debian/rules b/debian/rules index 5b29d243..fc50f30f 100755 --- a/debian/rules +++ b/debian/rules @@ -37,6 +37,7 @@ binary-indep: build install dh_md5sums dh_builddeb + dh_python2 binary-arch: build install binary: binary-indep binary-arch diff --git a/rpmpackage/pybitmessage.spec b/rpmpackage/pybitmessage.spec index a33fac72..4e6759a8 100644 --- a/rpmpackage/pybitmessage.spec +++ b/rpmpackage/pybitmessage.spec @@ -69,6 +69,52 @@ make install -B DESTDIR=%{buildroot} PREFIX=/usr %attr(644,root,root) /usr/share/icons/hicolor/24x24/apps/%{name}.png %changelog +* Sat Jun 29 2013 Bob Mottram (4096 bits) - 0.4.2-1 +- Exclude debian directory from orig.tar.gz +- Added Norwegian, Chinese, and Arabic translations +- sock.sendall function isn't atomic. + Let sendDataThread be the only thread which sends data. +- Moved API code to api.py +- Populate comboBoxSendFrom when replying +- Added option to show recent broadcasts when subscribing +- Fixed issue: If Windows username contained an international character, + Bitmessage wouldn't start +- Added some code for FreeBSD compatibility +- Moved responsibility for processing network objects + to the new ObjectProcessorThread +- Refactored main QT module + Moved popup menus initialization to separate methods + Simplified inbox loading + Moved magic strings to the model scope constants so they won't + be created every time. +- Updated list of defaultKnownNodes +- Fixed issue: [Linux] When too many messages arrive too quickly, + exception occurs: "Exceeded maximum number of notifications" +- Fixed issue: creating then deleting an Address in short time crashes + class_singleWorker.py +- Refactored code which displays messages to improve code readability +- load "Sent To" label from subscriptions if available +- Removed code to add chans to our address book as it is no longer necessary +- Added identicons +- Modified addresses.decodeAddress so that API command decodeAddress + works properly +- Added API commands createChan, joinChan, leaveChan, deleteAddress +- In pyelliptic, check the return value of RAND_bytes to make sure enough + random data was generated +- Don't store messages in UI table (and thus in memory), pull from SQL + inventory as needed +- Fix typos in API commands addSubscription and getInboxMessagesByAddress +- Add feature in settings menu to give up resending a message after a + specified period of time + +* Sat Jun 29 2013 Bob Mottram (4096 bits) - 0.4.1-1 +- Fixed whitelist bug +- Fixed chan bug + Added addressversion field to pubkeys table + Sending messages to a chan no longer uses anything in the pubkeys table + Sending messages to yourself is now fully supported +- Change _verifyAddress function to support v4 addresses + * Sat Sep 28 2013 Bob Mottram (4096 bits) - 0.4.0-1 - Raised default demanded difficulty from 1 to 2 for new addresses - Added v4 addresses: @@ -212,7 +258,7 @@ make install -B DESTDIR=%{buildroot} PREFIX=/usr - Changed Debian install directory and run script name based on Github issue #135 -* Tue May 6 2013 Bob Mottram (4096 bits) - 0.3.0-1 +* Mon May 6 2013 Bob Mottram (4096 bits) - 0.3.0-1 - Added new API function: getStatus - Added error-handling around all sock.sendall() functions in the receiveData thread so that if there is a problem @@ -229,7 +275,8 @@ make install -B DESTDIR=%{buildroot} PREFIX=/usr let the sendDataThreads do it - Swapped out the v2 announcements subscription address for a v3 announcements subscription address -- Vacuum the messages.dat file once a month: will greatly reduce the file size +- Vacuum the messages.dat file once a month: + will greatly reduce the file size - Added a settings table in message.dat - Implemented v3 addresses: pubkey messages must now include two var_ints: nonce_trials_per_byte @@ -278,7 +325,7 @@ make install -B DESTDIR=%{buildroot} PREFIX=/usr address book, subscriptions, and blacklist. - Improved the display of the time for foreign language users. -* Tue Apr 1 2013 Bob Mottram (4096 bits) - 0.2.7-1 +* Mon Apr 1 2013 Bob Mottram (4096 bits) - 0.2.7-1 - Added debian packaging - Script to generate debian packages - SVG icon for Gnome shell, etc From f0c76f003a36b3405dcd03e3ee8f2a20511a9c7c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 6 Mar 2014 21:12:26 +0000 Subject: [PATCH 3/3] Changelog must be in chronological order --- debian/changelog | 4 ++-- debian/rules | 1 - rpmpackage/pybitmessage.spec | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index b1871d37..6677ea9d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -59,7 +59,7 @@ pybitmessage (0.4.2-1) saucy; urgency=low * Add feature in settings menu to give up resending a message after a specified period of time - -- Bob Mottram (4096 bits) Sat, 29 June 2013 11:23:00 +0100 + -- Bob Mottram (4096 bits) Thu, 6 March 2014 20:23:00 +0100 pybitmessage (0.4.1-1) raring; urgency=low @@ -72,7 +72,7 @@ pybitmessage (0.4.1-1) raring; urgency=low * Change _verifyAddress function to support v4 addresses - -- Bob Mottram (4096 bits) Sat, 29 June 2013 11:23:00 +0100 + -- Bob Mottram (4096 bits) Sun, 29 September 2013 09:54:00 +0100 pybitmessage (0.4.0-1) raring; urgency=low diff --git a/debian/rules b/debian/rules index fc50f30f..5b29d243 100755 --- a/debian/rules +++ b/debian/rules @@ -37,7 +37,6 @@ binary-indep: build install dh_md5sums dh_builddeb - dh_python2 binary-arch: build install binary: binary-indep binary-arch diff --git a/rpmpackage/pybitmessage.spec b/rpmpackage/pybitmessage.spec index 4e6759a8..c30bbe0d 100644 --- a/rpmpackage/pybitmessage.spec +++ b/rpmpackage/pybitmessage.spec @@ -69,7 +69,7 @@ make install -B DESTDIR=%{buildroot} PREFIX=/usr %attr(644,root,root) /usr/share/icons/hicolor/24x24/apps/%{name}.png %changelog -* Sat Jun 29 2013 Bob Mottram (4096 bits) - 0.4.2-1 +* Thu Mar 6 2014 Bob Mottram (4096 bits) - 0.4.2-1 - Exclude debian directory from orig.tar.gz - Added Norwegian, Chinese, and Arabic translations - sock.sendall function isn't atomic. @@ -107,7 +107,7 @@ make install -B DESTDIR=%{buildroot} PREFIX=/usr - Add feature in settings menu to give up resending a message after a specified period of time -* Sat Jun 29 2013 Bob Mottram (4096 bits) - 0.4.1-1 +* Sun Sep 29 2013 Bob Mottram (4096 bits) - 0.4.1-1 - Fixed whitelist bug - Fixed chan bug Added addressversion field to pubkeys table