Commit Graph

737 Commits

Author SHA1 Message Date
Mike Gelfand ea48360212 #5663: Rework directory watching in daemon
Implement BSD/Darwin (kqueue) and Windows (ReadDirectoryChanges) mechanisms
for receiving directory change notifications. Use events instead of polling
for changes. Retry file parsing up to 3 times before giving up.

Huge thanks to missionsix for preparing first two versions of the patch.
2016-01-02 14:28:59 +00:00
Mike Gelfand 232778b11a Use default encoding (UTF-8) for all the source files; convert two more .strings files to UTF-8 2015-12-21 17:03:07 +00:00
Mike Gelfand 29165ac00b Remove duplicate and unused languages from OS X client project 2015-12-21 08:58:53 +00:00
Mike Gelfand ccf99c68ac Update all XIBs to latest format (Xcode 7), set deployment target to OS X 10.7 2015-12-21 05:11:40 +00:00
Mike Gelfand 2bab67cb06 Add libcrypto library for Xcode 7 support (complements r14567) 2015-11-03 19:28:05 +00:00
Mike Gelfand 1fd7c46bfa Support compiling Mac client with Xcode 7
Latest Mac OS X SDK (10.11) doesn't include OpenSSL headers, but still
provides the libraries. Bundle our own copy of OpenSSL headers for now
(taken from running 10.10 system).
2015-10-05 00:25:13 +00:00
Mike Gelfand 5b1b22321c #5910: Fix autotools and Xcode build 2015-04-04 18:21:34 +00:00
Mike Gelfand e8d1d8db87 Fix Mac build (make libtransmission depend on libb64) 2015-01-01 22:00:02 +00:00
Mike Gelfand 81c3c00b0f Fix Mac build (add libb64 to Xcode project) 2015-01-01 21:49:21 +00:00
Mike Gelfand 627555f47b #4400, #5462: Fix Mac build by adding new crypto-utils files to Xcode project. 2014-12-05 23:41:09 +00:00
Mitchell Livingston 953780f38e Improve the looks a bit on Yosemite. The app must now be compiled with the 10.10 SDK. 2014-10-16 13:01:17 +00:00
Jordan Lee a59d3392b6 (trunk, libT) #4160: apply mike.dld's patch: 4160-05a-file-fmt.patch 2014-09-21 17:58:22 +00:00
Jordan Lee 60a5c793d9 (trunk, libT) mike.dld's 4160-02a-path.patch: portability wrapper around file paths. 2014-07-03 21:58:39 +00:00
Mitchell Livingston 084273c106 Use built-in __APPLE__ macro instead of SYS_DARWIN and MACOSX 2014-07-03 19:20:12 +00:00
Jordan Lee 92daae473e mike.dld's portability improvements to libtransmission, pt 1 2014-06-23 02:38:53 +00:00
Mitchell Livingston 6503bec3f1 remove Portuguese localization 2014-05-18 19:30:29 +00:00
Mitchell Livingston 6be3af35b3 #5584 Share option in File menu and context menu 2014-01-10 17:50:05 +00:00
Mitchell Livingston 7f3385010b #5533 Turkish localization 2014-01-09 16:35:44 +00:00
Mitchell Livingston ac45921cb4 #5576 Share Button (to iMessage, email, etc) for torrent file 2014-01-09 16:23:54 +00:00
Mitchell Livingston 371cf46151 partial Turkish localization (#5533) 2014-01-09 01:04:08 +00:00
Mitchell Livingston 4ecbb29137 #5304 daemon fails to build on mac 2013-10-27 19:31:36 +00:00
Mitchell Livingston 7a766efe7b add platform-quota.[ch] to the projects file 2013-07-09 04:02:22 +00:00
Mitchell Livingston 794a0c1d80 rearrange the renamer files in the project file 2013-02-08 23:35:56 +00:00
Mitchell Livingston 94a329b38a update Mac code for logging changes in r13868 2013-01-26 19:17:58 +00:00
Mitchell Livingston 9236571f1c #1220 Initial Mac support for changing file and folder names. Not fully complete. 2013-01-22 00:09:48 +00:00
Mitchell Livingston bc574a559a #5223 Use VDKQueue for watching for torrent files 2013-01-19 05:03:00 +00:00
Mitchell Livingston b5cc6b5a4f #5221 Switch to DWARF with dSYM File (STABS debug information format prevents source-level debuging in LLDB) 2013-01-14 00:23:45 +00:00
Mitchell Livingston 68d68d9420 add new quark files to the project file, and update the libtransmission initialization constants 2012-12-23 03:17:18 +00:00
Mitchell Livingston 1dc8c47059 mac build compiles with r13667 2012-12-14 23:28:49 +00:00
Mitchell Livingston 9fd56f6c76 update project file to work with new json files 2012-11-11 07:14:57 +00:00
Mitchell Livingston 645ffe9717 perform some surgery to remove Chinese from the Xcode project 2012-09-22 16:28:56 +00:00
Mitchell Livingston b860a9455a update project file for updated localization 2012-09-22 16:26:15 +00:00
Mitchell Livingston 369adbbc0c update French localization for 2.7 2012-09-20 13:02:34 +00:00
Mitchell Livingston 1acd97b55d update Brazilian Portuguese localization for 2.7 2012-09-09 00:31:09 +00:00
Mitchell Livingston 1b65933da1 update Russian localization for 2.7 2012-09-07 11:54:14 +00:00
Mitchell Livingston 05355c876f tweak project file 2012-09-06 03:29:15 +00:00
Mitchell Livingston 9e7e64fe04 Revert r13468 for now. 2012-09-06 03:21:03 +00:00
Mitchell Livingston 4935b91e3a convert the Quick Look plugin to ARC 2012-09-06 03:09:49 +00:00
Mitchell Livingston d3def60514 ensure that NSApp is loaded for the QuickLook plugin 2012-09-06 01:15:31 +00:00
Mitchell Livingston fdb29936ba update Dutch localization for 2.7, part 2 2012-09-06 00:10:49 +00:00
Mitchell Livingston 83703fb008 update Italian localization for 2.7, part 2 2012-09-04 22:53:49 +00:00
Mitchell Livingston 261e54ad27 update Danish localization for 2.7 2012-09-04 22:49:46 +00:00
Mitchell Livingston 8f3cc932d4 German localization for 2.7 2012-09-02 16:48:52 +00:00
Mitchell Livingston 13f10ef70e set the flag for when compiling the Quick Look plugin: -read_only_relocs suppress 2012-08-12 16:46:34 +00:00
Mitchell Livingston 99912b48b5 main.c is relative to project 2012-08-12 16:19:36 +00:00
Mitchell Livingston 3d4f9a140c modify the Quick Look plugin's main.c 2012-08-12 16:19:06 +00:00
Mitchell Livingston 1d58e9df1b don't link against some libraries unnecessarily in the Quick Look plugin 2012-08-12 15:03:53 +00:00
Mitchell Livingston 920b94d040 link the Quick Look plugin with AppKit 2012-08-12 14:50:12 +00:00
Mitchell Livingston ae63fcdc51 use the curl we supply when compiling the Quick Look plugin 2012-08-12 14:38:10 +00:00
Mitchell Livingston 093d968b95 #4998 Support Quick Look of .torrent files in the Finder 2012-08-12 12:11:33 +00:00
Mitchell Livingston 1052095e7b bump our sdk to 10.8 2012-07-25 12:44:20 +00:00
Mitchell Livingston f489e8778e #4775 Sign the app with my local build scripts, instead of setting the code signing identity in the Xcode project itself. 2012-07-05 02:29:12 +00:00
Mitchell Livingston d855870cac #4775 When building in Release mode, code sign the app for Gatekeeper (the identity is of course not available publicly) 2012-07-04 22:53:19 +00:00
Mitchell Livingston b830e8cba2 #4749 When accessing images using imageNamed:, don't include the .png. This fixes the app not using the @2x images in HiDPI mode. 2012-06-10 02:35:58 +00:00
Mitchell Livingston 35104824e4 #4749 Add the Retina 2x images, and the updated 1x images, provided by Kibo. 2012-06-10 02:04:55 +00:00
Mitchell Livingston 8b32be67f3 #4929 libminiupnp fails to compile on Mac OS 2012-06-01 01:46:08 +00:00
Mitchell Livingston 4ddc3582d0 silence 2 warnings 2012-05-29 00:53:44 +00:00
Mitchell Livingston bcde8ebef6 #4920 On Lion, use window restoration on the message log and stats window 2012-05-27 22:31:58 +00:00
Mitchell Livingston a83630baf5 Add Danish localization 2012-05-14 11:34:00 +00:00
Mitchell Livingston 491a98cf87 #4875 "Web Seeds" field should allow copying 2012-04-29 00:53:34 +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 11f57ccb18 #4822 Enable Automatic Reference Counting 2012-03-10 03:38:58 +00:00
Mitchell Livingston a107ad81ab Mac build compiles again 2012-02-04 02:17:51 +00:00
Mitchell Livingston d7d173052a Change the C Language Dialect to Compiler Default, which is the recommended setting 2012-01-21 15:31:46 +00:00
Mitchell Livingston c264f9d366 experimented with updated priority images 2011-10-22 20:45:20 +00:00
Mitchell Livingston 995d754baf Silence some new warnings with LLVM 3.0/Xcode 4.2 2011-10-18 02:30:22 +00:00
Mitchell Livingston 6baef94d4f cli, daemon, and remote can compile again 2011-10-10 11:25:46 +00:00
Mitchell Livingston fda1a85724 use our own curl instead of the systems, since 10.6 and 10.7 curls don't get along 2011-10-10 11:17:59 +00:00
Mitchell Livingston 17958e083d remove redundant copies of libcurl and lib crypto 2011-10-09 18:19:47 +00:00
Mitchell Livingston 96c5f9ea15 fix Xcode builds of the cli, daemon, and remote 2011-10-06 12:35:52 +00:00
Mitchell Livingston 0808bdd2fe We now require Mac OS X 10.6 or later. Make that change and all the nice little adjustments that go with it. 2011-10-06 00:30:40 +00:00
Mitchell Livingston e4dabdc5ec Remove duplicate "Copy bundle resources" for PriorityNone.png, again 2011-09-25 01:55:48 +00:00
Mitchell Livingston bfd9d7ce76 update Dutch localization for 2.4 2011-09-25 01:53:16 +00:00
Mitchell Livingston a565627389 update French localization for 2.4 2011-09-17 18:08:12 +00:00
Mitchell Livingston 9f30587258 update Portuguese (Portugal) localization for 2.4 2011-09-10 04:52:39 +00:00
Mitchell Livingston 55a42ff777 Remove duplicate "Copy bundle resources" for PriorityNone.png 2011-09-10 00:04:28 +00:00
Mitchell Livingston 846155d7f3 update Russian localization for 2.4 2011-09-08 22:14:00 +00:00
Mitchell Livingston 2d147b01e3 update Italian localization for 2.4 2011-09-06 11:28:36 +00:00
Mitchell Livingston d2e7fce15d update German localization for 2.4 2011-09-05 23:39:09 +00:00
Mitchell Livingston 651bc99ad8 update Spanish localization for 2.40 2011-09-04 13:54:49 +00:00
Mitchell Livingston 64cb08c169 get rid of build warning "Multiple build commands for output file…" 2011-08-31 03:38:18 +00:00
Mitchell Livingston fd2eb5e2ec update Brazilian Portuguese localization 2011-08-31 03:16:13 +00:00
Mitchell Livingston b3a334c81f update the Chinese localization for 2.4 2011-08-29 03:31:18 +00:00
Mitchell Livingston 1a4f4c5812 as of revision 41 of our libevent checkout, we no longer need to include our own evutil_rand.c 2011-08-09 12:34:09 +00:00
Mitchell Livingston d7ab7d9012 #4387 Update miniupnpc to 1.6 2011-07-26 01:36:30 +00:00
Mitchell Livingston 4c63a00490 add colons to "Limit Up/Download" 2011-07-23 19:18:35 +00:00
Mitchell Livingston 4cdb84aa0d #4379 Lion: Use popovers for global gear button 2011-07-23 15:54:02 +00:00
Mitchell Livingston a42d42bf59 change the base SDK to 10.7 2011-07-21 02:33:41 +00:00
Mitchell Livingston 68dd9c5ccd add a temporary custom version of evutil_rand.c 2011-07-21 02:22:56 +00:00
Mitchell Livingston 8eacadb85d bump version to 2.33+ 2011-07-21 00:01:52 +00:00
Mitchell Livingston 104a42333f #4245 Disable Quick Look space key in the inspector 2011-06-04 13:17:56 +00:00
Mitchell Livingston 486679d11c whoops - re-add libz.dylib to the targets 2011-05-31 23:28:17 +00:00
Mitchell Livingston a1973747a1 move libz.dylib into the Libraries directory, and remove duplicates 2011-05-31 23:26:31 +00:00
Mitchell Livingston bab6334a64 compile the Mac executables with libz support 2011-05-31 23:17:03 +00:00
Mitchell Livingston 44a13d7803 instead of displaying a star for multiple priorities, display all relevant icons 2011-05-30 00:09:22 +00:00
Mitchell Livingston d1388e4c51 compile NSMutableArrayAdditions 2011-05-23 01:05:52 +00:00
Mitchell Livingston 64b2cd64fa #4104 Drop Mac PPC support 2011-04-16 22:10:24 +00:00
Jordan Lee 033845babc (trunk mac) delete bitset.[ch] from the xcode file. No, I don't know what I'm doing, but what's the worst that could happen, it could break the build... :) 2011-03-28 16:46:57 +00:00
Mitchell Livingston a69effcf4b Remove the miniupnp framework from the Transmission.app linked frameworks 2011-03-16 03:51:01 +00:00
Mitchell Livingston b9ae5e1fb7 fix Mac build 2011-03-13 08:03:44 +00:00
Mitchell Livingston 03d35fa06b left out a 'p' 2011-03-12 03:50:17 +00:00
Mitchell Livingston 93b72674ac #4104 temporarily reenable PPC support for the development period 2011-03-12 03:46:55 +00:00
Mitchell Livingston d0aafd1352 remove a bunch of unnecessary target-level build settings 2011-03-11 22:58:34 +00:00
Mitchell Livingston 799facb919 fix Mac build 2011-03-11 11:53:21 +00:00
Mitchell Livingston 1aff001fe7 silence more warning by explicitly setting some file encodings 2011-03-11 02:29:42 +00:00
Mitchell Livingston e9f09524b4 Remove PPC support; remove a whole bunch of unneeded build settings. 2011-03-11 00:22:51 +00:00
Mitchell Livingston 15394498b0 add a button to the bottom-left of the main window to clean up all completed transfers 2011-03-10 01:36:51 +00:00
Mitchell Livingston 6f25b97f9e update xcodeproj 2011-03-03 22:54:55 +00:00
Mitchell Livingston 5ecebd1bea Mac build compiles with r12003 2011-02-21 01:42:17 +00:00
Mitchell Livingston 6d10cd2c9c move the filter bar into its own xib 2011-02-20 03:58:50 +00:00
Mitchell Livingston 543063b4b8 move the status bar into its own xib file 2011-02-20 00:22:55 +00:00
Mitchell Livingston f69027249d enable the utp flag when compiling on Mac in Release 2011-02-18 01:40:13 +00:00
Mitchell Livingston cbb0c2ad45 enable the utp flag when compiling on Mac 2011-02-18 01:37:57 +00:00
Mitchell Livingston a75b15187a Mac build compiles again 2011-02-18 01:27:46 +00:00
Mitchell Livingston 9c1281c43c move the "open torrent URL" sheet into its own xib file 2011-02-10 00:51:25 +00:00
Mitchell Livingston 22afd589d0 have miniupnp use the project's flags 2011-02-08 00:41:01 +00:00
Mitchell Livingston ec3d029883 #3994 don't compile assert statements in Release mode 2011-02-08 00:36:57 +00:00
Mitchell Livingston e5eed4bd05 #3962 Update the inspector's button bar's look 2011-01-30 02:01:05 +00:00
Mitchell Livingston 1e84b07ed4 fix Mac build 2011-01-09 21:56:06 +00:00
Mitchell Livingston 4b190aa0c2 separate the code for the filter and status bars 2011-01-02 17:11:41 +00:00
Mitchell Livingston f3e089a56e remove more "third-party/libevent" search paths 2010-12-25 01:23:17 +00:00
Mitchell Livingston 6134758afb remove some libevent header search paths 2010-12-24 14:18:39 +00:00
Mitchell Livingston f0d8930a1e get the daemon and remote compiling on Mac 2010-12-23 19:02:07 +00:00
Mitchell Livingston 705b8ec884 update the Mac project and libevent files 2010-12-20 02:16:56 +00:00
Mitchell Livingston 925db2041b add extra IBOutlets to the preferences 2010-11-22 00:03:57 +00:00
Mitchell Livingston 5d54074d26 add the libiconv library to the Xcode project 2010-07-08 01:27:24 +00:00
Mitchell Livingston 0d671d5a15 try llvm as the compiler again 2010-06-19 17:38:52 +00:00
Mitchell Livingston f223bda8d0 make the mac build work with the last commit 2010-06-19 14:43:06 +00:00
Mitchell Livingston bab5d73dc5 make the mac build work with the new cache code 2010-06-19 14:26:54 +00:00
Mitchell Livingston e03fe7cc37 remove zh_CH files from Xcode and update Makefile for missing localizations 2010-06-16 01:18:18 +00:00
Mitchell Livingston 7a1e05a1ee update Simplified Chinese for 2.0 2010-06-15 22:33:45 +00:00
Mitchell Livingston 5f6365e9e4 remove unused ggets.[ch] from xcode 2010-06-15 00:38:36 +00:00
Mitchell Livingston 8b23681730 update Dutch localization for 2.0 2010-06-12 13:09:59 +00:00
Mitchell Livingston 9704a8637e update French localization for 2.00 2010-06-07 11:44:59 +00:00
Mitchell Livingston 149549f3c5 new localization European Portuguese 2010-05-31 18:13:52 +00:00
Mitchell Livingston 544f962939 update (Brazilian) Portuguese localization for 2.0 2010-05-31 00:11:43 +00:00
Mitchell Livingston 6ea50f14ec update Russian localization for 2.0 2010-05-28 21:51:40 +00:00
Mitchell Livingston 3ff7e0f09a update Spanish localization for 2.0 2010-05-27 19:56:18 +00:00
Mitchell Livingston 55e5edc4ad update Italian localization for 2.0 2010-05-24 23:15:50 +00:00
Mitchell Livingston 272dc1a391 update German localization for 2.0 2010-05-22 16:50:29 +00:00
Charles Kerr 2b9ab542cb (trunk) #3060 "Local Peer Discovery" -- in the code, rename LDS as LPD for Local Peer Discovery 2010-05-08 08:42:45 +00:00
Mitchell Livingston 87e15871d3 Mac build compiles again 2010-05-01 16:11:21 +00:00
Mitchell Livingston b3af34d53d #2612 Display a neutered add window for magnet links 2010-04-12 00:55:31 +00:00
Mitchell Livingston 62ceb344f6 update miniupnp to 20100405 2010-04-05 22:44:14 +00:00
Mitchell Livingston efce4e9759 add a protocol for the info view controllers, and as a result eliminate some excessive code 2010-03-14 01:42:49 +00:00
Mitchell Livingston 3a0626f1fe add history.[ch] to xcode project 2010-03-08 04:32:20 +00:00
Mitchell Livingston 5279b0f9da the info window itself no longer needs to be localized 2010-03-06 23:24:42 +00:00
Mitchell Livingston d5f4c15fb8 Refactor the info window, so that each view is in a separate xib and view controller. This should make future localizations simpler and the code more modular/readable. 2010-03-06 23:12:30 +00:00
Mitchell Livingston b9a256fac8 mac build, compile! 2010-01-22 02:47:30 +00:00
Mitchell Livingston 18272e65a1 flatten nibs regardless of build setting 2010-01-21 02:48:14 +00:00