Commit graph

144 commits

Author SHA1 Message Date
Techlive Zheng 58fe8ce084 Move all view related code into the view 2013-06-03 13:22:31 +08:00
Techlive Zheng ff70730e0b Use the method from the base class 2013-06-03 13:22:31 +08:00
Techlive Zheng 0a4ec605a1 Set up all the tree models at the begining 2013-06-03 13:22:31 +08:00
Techlive Zheng a22d174cf1 Clean up code make it more organized 2013-06-03 13:22:31 +08:00
Techlive Zheng f5435be71b Give the variable a more meaningful name 2013-06-03 13:22:30 +08:00
Techlive Zheng 671d2f7a2b Make the view's stack_panel property nullable 2013-05-30 20:20:08 +02:00
Techlive Zheng 5e35e3a67a Revert changes made in commit ed7abdb for building with libgd
After porting to GtkStack, we do not need them any more.
2013-05-30 20:20:08 +02:00
Ignacio Casal Quinteiro 7f7b24645e Port to GtkStack 2013-05-30 20:20:03 +02:00
Techlive Zheng d1278a24b3 Port gee from version 1.0 to 0.8 2013-05-27 10:02:46 +02:00
Techlive Zheng ed7abdb90c Let GitgExtView decide where should GitgExtPanels be placed 2013-05-27 09:22:10 +02:00
Techlive Zheng ad335d08b2 Add a 'on_panel_activated()' method into the panel interface
We have added 'on_view_activated()' method into view interface
previously, so for consistency, we do the same for panel. Let
the panel have a chance to do some work after activated.
2013-05-27 09:21:26 +02:00
Techlive Zheng ed3e11efc3 Let current view handle reloading when repository changes
This way is really cheap and quick without going throhgh all the user
interface rebuilding process, just let the view handle the reloading
itself, the view should know what is best.
2013-05-27 09:21:26 +02:00
Techlive Zheng dd1cfbe730 Avoid reloading the navigation panel on dash view 2013-05-27 09:21:26 +02:00
Techlive Zheng 01b8ee2ccc Notify the navigation when repository changes 2013-05-27 09:21:26 +02:00
Techlive Zheng 47f6acdd33 Populate the navigation tree model internally 2013-05-27 09:21:26 +02:00
Techlive Zheng 523909d7f7 Move navigation panel into history plugin
Resolve #700541
2013-05-27 09:21:26 +02:00
Techlive Zheng 9da6254865 Clean up 'plugins/diff/icons/Makefile' 2013-05-27 09:21:26 +02:00
Techlive Zheng 92a410d1b1 Small changes 2013-05-21 10:40:43 +02:00
Ignacio Casal Quinteiro 126dc37a44 history: use is_head from GgitBranch 2013-03-30 21:24:21 +01:00
Daniel Mustieles cbe87a5674 Removed markup from UI files 2013-03-28 17:26:19 +01:00
Ignacio Casal Quinteiro 5c7f0ceb56 history: expand main column and make bigger the date column 2013-03-19 12:32:01 +01:00
Ignacio Casal Quinteiro f93c6e8b36 Use a styled text renderer for name and date 2013-03-18 22:34:46 +01:00
Ignacio Casal Quinteiro 6531c14d34 Show readable time in the commit list 2013-03-17 18:46:58 +01:00
Ignacio Casal Quinteiro 11dbccf635 Remove content-view style from commit list 2013-03-17 11:41:54 +01:00
Paolo Borelli 2e46aad049 Add gsettings schemas to DISTCLEAN 2013-03-17 10:30:57 +01:00
Paolo Borelli d438550cef Set a thin border on the sidepane 2013-03-16 19:51:23 +01:00
Ignacio Casal Quinteiro e4741b1512 Show the checked out branch 2013-03-11 16:47:08 +01:00
Jesse van den Kieboom be24d53a6c Remove remotes icon in history navigation 2013-03-01 22:31:57 +01:00
Jesse van den Kieboom e46ec3f74d Set style of navigation tree view more like in nautilus 2013-03-01 22:31:42 +01:00
Jesse van den Kieboom 2e4590d396 Only update panels when mapped 2013-03-01 16:11:53 +01:00
Jesse van den Kieboom 6f45205047 Remove dash from autotools 2013-03-01 13:05:05 +01:00
Jesse van den Kieboom 86b8dc043a Remove dash plugin 2013-03-01 12:58:21 +01:00
Ignacio Casal Quinteiro 0e2bd426c3 Use GdStackSwitcher to handle stack elements 2013-02-25 21:57:52 +01:00
Ignacio Casal Quinteiro 89a415912e Set content-view style for the commits list 2013-02-22 12:55:55 +01:00
Ignacio Casal Quinteiro 04d2510552 No shadow, not needed with the headerbar.
Although we might want to add some custom css to just add
a border on the left
2013-02-22 12:52:25 +01:00
Ignacio Casal Quinteiro 919cf1dcb1 files: put the tree view on the right depending of the layout 2013-02-20 16:43:11 +01:00
Ignacio Casal Quinteiro 071377e49b Add missing shadows 2013-02-18 13:55:19 +01:00
Ignacio Casal Quinteiro 66dcb15393 files: remove source in dispose 2013-02-16 15:54:37 +01:00
Ignacio Casal Quinteiro 04799a8f5e files: another minor optimization 2013-02-16 15:37:47 +01:00
Ignacio Casal Quinteiro 04249d8fbe files: optimization to avoid o(n^2) iteration 2013-02-16 14:50:07 +01:00
Ignacio Casal Quinteiro 827a5e9110 files: populate items in an idle 2013-02-16 14:14:40 +01:00
Ignacio Casal Quinteiro 898dbd6889 files: no need for sentinel 2013-02-15 22:13:45 +01:00
Ignacio Casal Quinteiro c0f2051a8c Fix also api breaks in history plugin 2013-02-13 12:47:41 +01:00
Ignacio Casal Quinteiro 325c1306d9 Fix for api breaks in libgit2-glib 2013-02-13 12:42:20 +01:00
Jesse van den Kieboom f5791a9cef Merge branch 'webkit2' 2012-10-29 17:00:05 +01:00
Jesse van den Kieboom 10cd83fbbb Bind available/enabled ui element properties 2012-10-28 18:25:08 +01:00
Ignacio Casal Quinteiro 0481bd3c58 Compression and stripping of resources 2012-10-23 13:28:47 +02:00
Ignacio Casal Quinteiro 2c08e9af56 files: add icon to the list elements 2012-10-18 15:41:33 +02:00
Ignacio Casal Quinteiro 78abff4d8c files: walk tree in pre order
In post order we seem to have the folders after the files
so we can't correctly set the parent in the tree store.
2012-10-18 12:50:08 +02:00
Ignacio Casal Quinteiro 3a725e641b files: add missing sentinel 2012-10-18 12:49:37 +02:00
Ignacio Casal Quinteiro 9ac488a5dd Use GgitFileMode instead of POSIX 2012-10-17 14:35:16 +02:00
Ignacio Casal Quinteiro 6de7863af4 Missing end_header call 2012-10-17 14:15:08 +02:00
Ignacio Casal Quinteiro d81a864dbc Use AM_VALAFLAGS 2012-10-17 08:38:37 +02:00
Jesse van den Kieboom 6fb216bd73 Switch to using webkit2 for the diff view
https://bugs.webkit.org/show_bug.cgi?id=94313
https://bugs.webkit.org/show_bug.cgi?id=94314
https://bugs.webkit.org/show_bug.cgi?id=94315
2012-10-16 23:58:27 +02:00
Jesse van den Kieboom d881e36feb List 'All' as top most in history navigation 2012-10-16 21:23:38 +02:00
Jesse van den Kieboom df267aa4b0 Sort remote refs 2012-10-16 21:10:17 +02:00
Jesse van den Kieboom 6aa2958ee8 Use Gee.LinkedList for remote refs
It's easier to use the Gee.LinkedList class since it's properly reffed
2012-10-16 21:10:10 +02:00
Ignacio Casal Quinteiro fcf25a45fc Fix the api break by libgit2-glib 2012-10-03 09:06:48 +02:00
Jesse van den Kieboom fb0a809aeb Bind topological-order setting to model sort mode 2012-07-19 10:28:02 +02:00
Jesse van den Kieboom acf00552e0 Added history preference panel 2012-07-18 17:36:24 +02:00
Jesse van den Kieboom 9b3ec06aea Use new helper function for building ui 2012-07-18 17:35:53 +02:00
Jesse van den Kieboom 33368f1f27 Added support for plugin command line options
The history plugin now implements the --all flag
2012-07-18 11:03:45 +02:00
Jesse van den Kieboom fc0a8b72f5 Added history of all branches 2012-07-18 10:08:54 +02:00
Jesse van den Kieboom eff97b8a12 Automatically select branch in history 2012-07-18 09:35:53 +02:00
Jesse van den Kieboom 5aa2577aa4 Fix negotiate order ids 2012-07-18 09:35:28 +02:00
Jesse van den Kieboom f303cfa551 Implemented order negotiation for ui elements 2012-07-17 22:52:27 +02:00
Jesse van den Kieboom 1ccd4c9fee Made is_available and is_enabled properties 2012-07-17 22:52:06 +02:00
Jesse van den Kieboom aaf07ed67e Check if there is a selection or show empty file 2012-07-17 17:04:36 +02:00
Jesse van den Kieboom 853d61b65b Added support for preview images in files listing 2012-07-17 17:01:38 +02:00
Jesse van den Kieboom 89cff84667 Update diff view when constructed from selection 2012-07-17 16:41:12 +02:00
Jesse van den Kieboom 59dcccd3d5 Implemented basic file listing plugin for commit 2012-07-17 16:41:01 +02:00
Jesse van den Kieboom 492aa7fcd3 Reuse id variable 2012-07-17 15:16:37 +02:00
Jesse van den Kieboom 28c8348da1 Fix parsing ref id for lightweight tag 2012-07-17 13:56:09 +02:00
Jesse van den Kieboom ffb202d76e Fix check for branch being currently checked out 2012-07-17 11:26:42 +02:00
Jesse van den Kieboom c0ca6cca32 Marked translatable strings in dash plugin 2012-07-17 11:07:29 +02:00
Jesse van den Kieboom 349521d2d5 Mark translatable strings in diff plugin 2012-07-17 10:59:28 +02:00
Jesse van den Kieboom e2b8ec4e2c Mark translatable strings in history plugin 2012-07-17 10:52:59 +02:00
Jesse van den Kieboom 929efac370 Implemented diff commit panel 2012-07-17 09:55:09 +02:00
Jesse van den Kieboom 75b28d0de7 Temporarily disable the dash plugin 2012-07-17 09:54:30 +02:00
Jesse van den Kieboom c97ab74795 Update history to implement GitgExt.UIElement and GitgExt.ObjectSelection 2012-07-17 09:54:00 +02:00
Jesse van den Kieboom 62fb7bf34c Update construct/set application navigation property 2012-07-17 09:53:37 +02:00
Jesse van den Kieboom 6a2410aadd Properly resolve tag objects that point to commits 2012-07-06 19:36:47 +02:00
Jesse van den Kieboom c79872a8c1 Implemented filtering of history based on history navigation selection 2012-07-06 18:50:48 +02:00
Jesse van den Kieboom 89a54c247b Added vala stamp files to clean files 2012-07-06 18:50:48 +02:00
Jesse van den Kieboom 33f1075d9a Added GPL license stub in all vala files 2012-07-02 20:02:34 +02:00
Jesse van den Kieboom f35267ba92 Increase a bit the width of the subject in the history view 2012-06-02 16:04:22 +02:00
Jesse van den Kieboom c6b2494ea0 Show tags in history navigation 2012-06-02 16:04:03 +02:00
Ignacio Casal Quinteiro 7264c0b042 Hide list headers.
We don't need to reorder elements so there is no need to show the
headers. (Spotted by aday)
2012-06-01 17:15:27 +02:00
Ignacio Casal Quinteiro c39feb6380 Remove shadow in the history plugin 2012-05-30 22:18:00 +02:00
Ignacio Casal Quinteiro 8e76c08ce4 history: no need of grid, use directly the scrolled window 2012-05-30 22:04:14 +02:00
Jesse van den Kieboom a4431dbcb9 Show remotes in history navigation 2012-05-04 17:11:03 +02:00
Jesse van den Kieboom 8d539256dc Use GitgGtkCommitListView in history plugin 2012-04-22 15:13:46 +02:00
Jesse van den Kieboom 7ed1ba943d Add most basic history view support 2012-04-15 14:58:36 +02:00
Jesse van den Kieboom a74c5661a6 Initial porting to vala 2012-04-14 13:46:39 +02:00