Commit Graph

214 Commits

Author SHA1 Message Date
Noah Goldsmid aa129b9c9b Fix small compiling problem 2018-07-17 17:14:21 +02:00
Noah Goldsmid 1a45df6f82
Merge pull request #83 from thp/fix-build-rpi
Fix building against ncursesw on Linux
2018-03-29 22:04:06 +02:00
Thomas Perl 82f3638458 Fix building against ncursesw on Linux 2018-03-19 15:50:38 +01:00
Noah Goldsmid fc4f823eec
Merge pull request #82 from Gamer1120/patch-1
Update README.md to add some code blocks
2018-02-24 03:16:45 +01:00
Gamer1120 38bf8e83c1
Update README.md to add some code blocks 2018-02-22 19:57:57 +01:00
Noah Goldsmid dd60bbe062 Delete .main.c.swp 2016-11-12 23:46:35 +01:00
cotix 6e62b3839b Important security fix. Using execvp now instead of system 2016-09-07 21:51:55 +02:00
Noah Goldsmid a41a8c988d Merge pull request #80 from stoicism2323/master
Fix bug with 'L' key not working. Fix up/down to just report score
2016-07-23 23:56:42 +02:00
stoicism2323 5aea848c68 Fix bug with 'L' key not working. Fix up/down to just report score 2016-07-23 13:49:21 -07:00
Noah Goldsmid c8f6ce816b Merge pull request #79 from stoicism2323/master
add switching between RedditListTypes. Add linkScreenSetup helper function
2016-05-04 20:49:34 +02:00
stoicism2323 c1f5fdf2a5 add switching between RedditListTypes. Add linkScreenSetup helper function 2016-04-29 15:22:05 -07:00
Noah Goldsmid 15bdab0a1f Merge pull request #78 from stoicism2323/master
update on-screen help to reflect README.md
2016-04-29 23:38:58 +02:00
stoicism2323 4c491e5bb7 update on-screen help to reflect README.md 2016-04-29 05:57:36 -07:00
Noah Goldsmid 7d7cbe8b6a Merge pull request #77 from stoicism2323/master
Fix some errors in README file regarding scrolling text
2016-04-28 00:06:47 +02:00
stoicism2323 422d842ee0 fix README.md keypresses 2016-04-27 14:37:02 -07:00
stoicism2323 e724742ba9 update README.md to reflect scrolling of link text 2016-04-27 14:33:02 -07:00
Noah Goldsmid 17b0293f0e Merge pull request #76 from stoicism2323/master
Adds scrolling to text in links/comments pane. Adds date to link and comment. Rebuild screen after closing opened link
2016-04-27 23:14:55 +02:00
stoicism2323 80264acd6c removing commentted out stuff... 2016-04-26 15:34:34 -07:00
stoicism2323 b712dbac7c update date display in comment to grab UTC time from the reddit api 2016-04-26 15:25:18 -07:00
stoicism2323 5181dcaeea update readme file to reflect scroll and pgup changes 2016-04-26 04:23:21 -07:00
stoicism2323 c43abd65b0 Merge remote-tracking branch 'upstream/master' 2016-04-25 08:34:25 -07:00
stoicism2323 a9434c5546 add date to links, try to fix post-link-open redraw, try to fix pageup/pagedown segfault 2016-04-25 07:59:02 -07:00
stoicism2323 bd9ae500b7 fix link scrolling for self posts 2016-04-24 17:24:39 -07:00
stoicism2323 fd2e56cdc1 better scrolling for comments 2016-04-24 17:12:44 -07:00
stoicism2323 0943602546 reddit link text scrolling 2016-04-23 14:22:12 -07:00
stoicism2323 4223088ab4 refactoring of switch statement for comment screen 2016-04-22 07:46:35 -07:00
stoicism2323 4907ebde38 Fixed a bug in scrolling feature. Looks like stacks/additional data not necessary, this is 100% doable with just searching for newlines. awesome 2016-04-22 07:13:59 -07:00
stoicism2323 edf66fa24f Fix double-scroll-up with newline newline scenario 2016-04-22 04:25:13 -07:00
stoicism2323 cb1629f075 update reddit.h 2016-04-22 04:06:08 -07:00
stoicism2323 49f514aa11 trying to get scrollup working without stack 2016-04-22 04:01:14 -07:00
stoicism2323 b447e977cd adds support for scrolling in comment text pane. Use arrow keys when comment text pane is open 2016-04-20 18:20:10 -07:00
cotix a7b6cc625e Dynamic fix for pull request #70(helpscreen initialization out of bounds) 2016-04-20 08:56:49 +02:00
cotix ccf2d9af54 Fix segfault in scrolling 2016-04-20 01:35:32 +02:00
stoicism2323 18cd9186cd add functionality for displaying date in comment view 2016-04-19 13:56:52 -07:00
cotix b1cdda8524 Add tree navigation 2016-04-05 22:30:59 +02:00
cotix bc6f7acd34 Fix totalReplyCount - was not working before 2016-04-05 22:24:05 +02:00
cotix ce91016746 Not sure why this wasn't there.. Compiling on ubuntu did not work out of the box, does now. 2016-03-31 16:34:41 +02:00
Cotix accd51ff7f Merge pull request #66 from mikebolt/patch-1
Fix typo in Makefile
2014-02-22 09:37:40 +01:00
mikebolt 5cb660a197 Fix typo in Makefile
line 13 "tun" -> "turn"
2014-02-21 18:04:47 -08:00
Cotix ac76ff5b90 Merge pull request #65 from DSMan195276/anon-struct-fix
creddit: Remove anonymous structs/unions from optOption
2014-01-14 15:51:51 -08:00
Matt Kilgore bf677292eb creddit: Remove anonymous structs/unions from optOption
Origonally optOption was using an anonymous struct and union for
convience. However, GCC 4.2 (Which some OS's are currently stuck on)
doesn't support anonymous struct's and unions's. This patch simply
removes them completely from the structure (Since they were anonymous
before, removing them doesn't effect any other code).
2014-01-14 18:42:29 -05:00
Cotix a83fa4cb02 Merge pull request #64 from olof/topic/link_index_align
creddit: align index on LinkScreen to at least 2 digits
2013-12-21 04:07:52 -08:00
Olof Johansson 6383109428 creddit: align index on LinkScreen to at least 2 digits 2013-12-20 17:48:45 +01:00
Cotix 7637ccacda Merge pull request #63 from DSMan195276/open-link
creddit: Add keypress to open a link in the default browser
2013-12-18 08:06:39 -08:00
Matt Kilgore dcb3ca3eaa creddit: Add opening links in the default browser using 'o'
This patch adds functionality to the link-screen. It opens the url of
the current selected link in the default browser using xdg-open.
2013-12-17 14:30:49 -05:00
Matt Kilgore cae71b67e4 creddit: Add 'alloc_sprintf' function.
This patch adds a 'alloc_sprintf' function, which take the same
arguments as sprintf and returns a buffer allocated to the exact size
neeed by that sprintf. The buffer needs to be freed by using free().
2013-12-17 14:25:00 -05:00
Cotix 2d6cddcf3d Merge pull request #61 from DSMan195276/cplusplus-fix
libreddit: Allow header to be included with C++ code
2013-11-29 14:46:27 -08:00
Matt Kilgore e69ff440fb libreddit: Allow header to be included with C++ code
This patch allowed the reddit.h header to be used with C++ code, via the
addition of extern "C" {} around the code if the __cplusplus flag is
set.
2013-11-29 15:02:08 -05:00
Cotix 6f87f35267 Merge pull request #60 from DSMan195276/opt-system
creddit: Implement argument parsing system
2013-11-17 04:05:27 -08:00
Matt Kilgore f5d9b06859 creddit: Implement opt.h use in main.c
This patch simply replaces the old system of reading argc and argv
directly with using opt.h to handle parsing the arguments, and then
simply handles the output from it.
2013-11-16 15:29:08 -05:00