Commit Graph

57 Commits

Author SHA1 Message Date
Mike Gelfand db3d40d0ed Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
Dmitry Serov af3a4d4557
Modern Objective-C syntax (#509)
* Update enabled complier warnings

* Convert to Modern Objective-C syntax using Xcode's tool

* Convert to modern objc syntax manually, fix some PR issues

* Remove unnecessary parentheses

* Use property syntax for all custom properties

* Use property syntax for all system properties

* Fix erroneously autoreleased values

* Revert VDKQueue to old objc syntax

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
Co-authored-by: Mitch Livingston <livings124@mac.com>
2021-08-07 10:27:56 +03:00
Mitchell Livingston 470ee010f2 Revert "Merge pull request #1039 from MaddTheSane/patch-4"
This reverts commit c0c463d660, reversing
changes made to cd2587a435.
2020-04-25 10:35:15 -04:00
C.W. Betts f1616c5065 Replace some instances of -UTF8String with -fileSystemRepresentation. 2019-07-20 13:40:33 -06:00
Dmitry Serov 845dfe6017 Transition to ARC 2017-07-29 23:14:22 +07:00
Dmitry Serov b743b64262 NSArray init literals 2017-07-08 15:23:05 +07:00
Mike Gelfand 4160743738 Convert tabs to spaces, remove trailing whitespace (Mac client) 2017-01-24 20:53:16 +03:00
Mike Gelfand 2248d3670f Get rid of $Id$ SVN keywords in source files 2016-09-02 23:10:15 +03:00
Mitchell Livingston c1f2085715 session_handle does not need to be a global variable in the prefs controller 2012-05-29 01:03:21 +00:00
Mitchell Livingston 4252d0ca02 re-add non-ARC-specific changes from r13248-50, mainly to make re-adding ARC support easier in the future 2012-03-13 03:20:09 +00:00
Mitchell Livingston 2406572104 reverse r13248-r13250, since ARC doesn't support 32-bit. 2012-03-13 02:52:11 +00:00
Mitchell Livingston 21075ebd5d replace a method with GCD calls 2012-03-10 13:59:44 +00:00
Mitchell Livingston 11f57ccb18 #4822 Enable Automatic Reference Counting 2012-03-10 03:38:58 +00:00
Mitchell Livingston 34d9663139 replace NSAutoreleasePool objects with @autoreleasepool blocks 2012-02-11 05:13:46 +00:00
Mitchell Livingston 8ca8c76799 bump Mac copyright to 2012 2012-01-14 17:12:04 +00:00
Mitchell Livingston f6421bead4 update the help to note that blocklists may be compressed 2011-01-25 01:53:33 +00:00
Mitchell Livingston 21267cd145 #3928 Update blocklist download to handle archives (including ZIP) 2011-01-25 01:43:11 +00:00
Mitchell Livingston 25ee42d68d update the copyright years in the Mac code to 2011 2011-01-01 20:42:14 +00:00
Mitchell Livingston 6ea9179ca4 disable the blocklist's update button if no URL is entered 2010-11-13 16:07:27 +00:00
Mitchell Livingston a8db86b8f3 improve the message when no blocklist url is specified 2010-11-01 00:31:56 +00:00
Mitchell Livingston c6b0ee7c5c automatically upgrade the old blocklist file name to the new name 2010-11-01 00:06:40 +00:00
Mitchell Livingston c124077cce use the last attempted update of the blocklist for scheduling weekly updates 2010-10-31 19:24:26 +00:00
Mitchell Livingston 317349c13c #3697 make blocklist URL configurable in the Mac UI 2010-10-31 19:05:46 +00:00
Mitchell Livingston 6e66ec9f01 remove some excessive logging; --warnings 2010-06-18 03:11:22 +00:00
Mitchell Livingston 7949e4df47 more logging to try to smoke out #3041 2010-05-02 18:03:49 +00:00
Mitchell Livingston efb5a070c9 when downloading the blocklist, don't explicitly overwrite an existing file 2010-04-28 11:03:38 +00:00
Mitchell Livingston 1fec2fb2d0 happy new year! 2010-01-01 21:12:04 +00:00
Mitchell Livingston 98a9a9edd9 flipping autorelease pools' release over to drain 2009-08-04 01:53:51 +00:00
Eric Petit f8fbc13070 Fixes new blocklist URL 2009-03-08 13:23:17 +00:00
Mitchell Livingston dbaa8d5507 update "update" urls 2009-03-04 22:38:49 +00:00
Mitchell Livingston 055afd2d4d update the Mac code's copyright dates 2009-01-10 23:37:37 +00:00
Mitchell Livingston 333e226a3c so long Tiger support 2008-12-26 05:57:51 +00:00
Mitchell Livingston 14760b85f3 ability to auto-update the blocklist automatically weekly (mac) 2008-09-01 15:46:00 +00:00
Mitchell Livingston a4f6f04811 this should've been part of the last commit 2008-08-31 21:14:24 +00:00
Mitchell Livingston b9ca63e0d4 make sure the blocklist sheet's initial text matches the current download status (this will matter later on) 2008-08-31 21:10:45 +00:00
Mitchell Livingston 25c30650d6 some more streamlining of the blocklist code 2008-08-31 20:48:10 +00:00
Mitchell Livingston 3c997c92a7 cancel blocklist download when quitting; cleanup 2008-08-31 20:26:41 +00:00
Mitchell Livingston 8cf84293b5 some cleanup of the blocklist code, and store the date of the last blocklist update 2008-08-31 20:05:46 +00:00
Mitchell Livingston 0401e5a83a initial separation of blocklist downloader and the corresponding view 2008-08-31 19:47:11 +00:00
Mitchell Livingston 404dd4dee1 #1224 memory leak when updating blocklist: autoreleased with no pool 2008-08-22 22:59:20 +00:00
Mitchell Livingston 24ec4d2f94 the "Cancel" button in the blocklist download sheet resizes to fit the localized string 2008-07-28 00:49:15 +00:00
Mitchell Livingston d4345a40b8 fix 2 invalid return types; don't show notices when compiling the xib's 2008-06-30 23:28:17 +00:00
Mitchell Livingston 788ccd60d3 #948 - when processing the blocklist, don't block the gui (Leopard-only) 2008-05-16 00:25:09 +00:00
Mitchell Livingston d581251a18 the blocklist downloader should get the tr_handle from the prefs controller instead of needing it passed separately 2008-04-17 04:25:49 +00:00
Mitchell Livingston 92f5bec9a4 animate the blocklist download bar when first shown; update strings file 2008-04-08 15:45:01 +00:00
Mitchell Livingston 0663eb4dd4 trivial changes 2008-04-06 13:10:19 +00:00
Mitchell Livingston d6d430f1b0 disable the cancel button when the blocklist is being processed 2008-04-06 05:20:50 +00:00
Mitchell Livingston f63bebdc09 remove redundant release statements 2008-04-06 04:55:20 +00:00
Mitchell Livingston 12969e060d adjustments to the blocklist download window, including showing that the downloaded file is being processed 2008-04-06 04:49:39 +00:00
Mitchell Livingston b4c5e1450e actually cancel the blocklist download when hitting the cancel button - should fix a crasher 2008-04-06 03:47:03 +00:00