Codebase list oysttyer / e2a240a
Import Upstream version 2.10.0 Thorsten Alteholz 5 years ago
3 changed file(s) with 19 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
00 #CHANGELOG
1
2 ##Changes in Version 2.10
3
4 - Default to using extended tweet display ([#143](https://github.com/oysttyer/oysttyer/issues/143))
5 - Support new tweet size ([#131](https://github.com/oysttyer/oysttyer/issues/131))
6 - Print a separator between refreshes with the `separator` option ([#141](https://github.com/oysttyer/oysttyer/issues/141))
17
28 ## Version 2.9.1
39
11 # TODO: Eventually we should use Getopt::Long and go back to #!/usr/bin/env perl
22 #########################################################################
33 #
4 # oysttyer v2.9 (c)2016- oysttyer organisation
4 # oysttyer v2.10 (c)2016- oysttyer organisation
55 # (c)2007-2012 cameron kaiser (and contributors).
66 # all rights reserved.
77 #
3232 }
3333
3434 $command_line = $0; $0 = "oysttyer";
35 $oysttyer_VERSION = "2.9";
36 $oysttyer_PATCH_VERSION = 1;
35 $oysttyer_VERSION = "2.10";
36 $oysttyer_PATCH_VERSION = 0;
3737 $oysttyer_RC_NUMBER = 0; # non-zero for release candidate
3838 # this is kludgy, yes.
3939 $LANG = $ENV{'LANG'} || $ENV{'GDM_LANG'} || $ENV{'LC_CTYPE'} ||
108108 statusliurl followliurl leaveliurl dmidurl nostreamreplies
109109 frupdurl filterusers filterats filterrts filterflags
110110 filteratonly nofilter rtsofmeurl largeimages origimages extended
111 video_bitrate
111 video_bitrate separator
112112 ); %opts_others = map { $_ => 1 } qw(
113113 lynx curl seven silent maxhist noansi hold status
114114 daemon timestamp twarg user anonymous script readline
588588 # set up track tags
589589 if (length($tquery) && $tquery ne '0') {
590590 my $xtquery = &tracktags_tqueryurlify($tquery);
591 die("** custom tquery is over 140 length: $xtquery\n")
592 if (length($xtquery) > 139);
591 die("** custom tquery is over $linelength length: $xtquery\n")
592 if (length($xtquery) >= $linelength);
593593 @trackstrings = ($xtquery);
594594 } else {
595595 &tracktags_makearray;
656656 $lat ||= undef;
657657 $long ||= undef;
658658 $location ||= 0;
659 $linelength ||= 140;
660 $quotelinelength ||= 116;
659 $linelength ||= 280;
660 $quotelinelength ||= 256;
661661 $tco_length ||= 23; # The number of characters that t.co links require
662662 $dm_text_character_limit ||= 10000;
663663 $oauthbase ||= $apibase || "${http_proto}://api.twitter.com";
770770 $largeimages ||= 0;
771771 $origimages ||= 0;
772772 $doublespace ||= 0;
773 $extended ||= 0;
773 $extended ||= 1;
774774 $video_bitrate ||= 'highest';
775775 if ($extended) {
776776 $tweet_mode = "extended";
779779 $tweet_mode = "compatibility";
780780 $display_mode = "text";
781781 }
782 $separator ||= 0;
782783
783784 # synch overrides these options.
784785 if ($synch) {
62916292 print $stdout "-- (filtered $filtered tweets)\n";
62926293 $filtered = 0;
62936294 }
6295 print $separator . "\n" if ( $separator );
62946296 }
62956297
62966298 sub defaultdmhandle {
67726774 # virtual keys
67736775 } elsif ($key eq 'tquery') {
67746776 my $ivalue = &tracktags_tqueryurlify($value);
6775 if (length($ivalue) > 139) {
6777 if (length($ivalue) >= $linelength) {
67766778 print $stdout
67776779 "*** custom query is too long (encoded: $ivalue)\n";
67786780 return 1;
0 oysttyer;2.9.1;;;https://raw.githubusercontent.com/oysttyer/oysttyer/2.9.1/oysttyer.pl;
0 oysttyer;2.10.0;;;https://raw.githubusercontent.com/oysttyer/oysttyer/2.10.0/oysttyer.pl;
11 --__--
22 --__--
33 --__--