Commit graph

602 commits

Author SHA1 Message Date
Iñigo Martínez c876e0e255 build: Port to meson build system
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=788796
2017-10-16 13:40:57 +02:00
Iñigo Martínez d5a822ddc5 Rename gsettings-desktop-schemas VAPI file
Vala recommends using the same name used in the pkg-config .pc file
for the VAPI file. This implies that the gsettings-desktop-schemas
VAPI file should be called gsettings-desktop-schemas.vapi instead of
gdesktop-enums-3.0.vapi.

This patch changes the file accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=789045
2017-10-16 12:18:01 +02:00
Rico Tzschichholz f029e7333e Fix vala warnings 2017-03-01 14:47:45 +01:00
Ignacio Casal Quinteiro 86cc68589e Fix for libgit2-glib api change 2017-02-04 22:40:59 +01:00
Ignacio Casal Quinteiro 30938ff514 Do not duplicate the fds 2017-02-04 22:36:05 +01:00
Jesse van den Kieboom 2971ffd28c Use same callbacks instance during remote connection life cycle 2016-08-29 19:32:33 +02:00
Jesse van den Kieboom c0c44a9563 Fix side-by-side alignment in the case of a single image 2016-08-29 05:43:43 +02:00
Jesse van den Kieboom 2b8f2e1175 Fix size calculation if there is no old pixbuf 2016-08-29 05:43:43 +02:00
Jesse van den Kieboom b2ed43d22d Add diff renderer for images 2016-08-27 12:26:43 +02:00
Jesse van den Kieboom 05d78b14ac Use private bookmarks file instead of recent manager
This avoids the tie-in of GtkRecentManager with the global gnome
privacy settings.

https://bugzilla.gnome.org/show_bug.cgi?id=766473
2016-08-25 23:21:26 +02:00
Jesse van den Kieboom e4be0eaec6 Add context menu for file in diff view
Adds:
  - Open file
  - Open containing folder
  - Copy file path

https://bugzilla.gnome.org/show_bug.cgi?id=761699
2016-08-19 10:55:25 +02:00
Jesse van den Kieboom 73d6b6e61b Show extended git message as part of the scrolled area
https://bugzilla.gnome.org/show_bug.cgi?id=769239
2016-08-19 09:05:37 +02:00
Jesse van den Kieboom c8a12f6a28 Fix toggle line selection
- Clicking now toggles again (removed alt modifier behavior)
- Shift click will extend selection

https://bugzilla.gnome.org/show_bug.cgi?id=765726
2016-08-18 17:46:01 +02:00
Jesse van den Kieboom 109e47eb8d Avoid use of deprecated pointer API 2016-08-18 13:58:25 +02:00
Jesse van den Kieboom 06c1c4a245 Cancel update diff on dispose 2016-08-18 13:58:07 +02:00
Jesse van den Kieboom 5513ae5b5b Allow null repository during deconstruction 2016-08-18 13:08:18 +02:00
Jesse van den Kieboom 7848a4c1e5 Fix assumptions on existing working directory 2016-08-18 13:02:33 +02:00
Jesse van den Kieboom 3c6fd2de18 Avoid submodule iteration on bare repositories due to libgit2 bug 2016-08-18 11:04:31 +02:00
Jesse van den Kieboom b05523fc15 Wire up newly cloned repository 2016-08-18 11:00:52 +02:00
Jesse van den Kieboom f018233a37 Add support for clone url in ssh short form
https://bugzilla.gnome.org/show_bug.cgi?id=767064
2016-08-18 10:40:03 +02:00
Jesse van den Kieboom f9ecad6db9 Fix diff index against empty repository
https://bugzilla.gnome.org/show_bug.cgi?id=769996
2016-08-17 16:04:59 +02:00
Jesse van den Kieboom 411c5743ce Improve support for binary file detection in diff views
https://bugzilla.gnome.org/show_bug.cgi?id=768650
2016-08-16 18:01:55 +02:00
Jesse van den Kieboom 9af17f32ae Fix getting id of parent of there is no parent
This would happen for the first commit in the repo
2016-08-14 10:30:38 +02:00
Jesse van den Kieboom f37ff72ea0 Only walk first tree level looking for .doap 2016-08-14 10:26:09 +02:00
Jesse van den Kieboom 2b9fade23b Disconnect/reconnect model on clear
https://bugzilla.gnome.org/show_bug.cgi?id=768651
2016-08-14 10:25:57 +02:00
Jesse van den Kieboom 83fc596a02 Fix incremental loading on large repositories 2016-08-11 18:07:02 +02:00
Ignacio Casal Quinteiro d43cada63a libgitg: show the complete message, not only the subject
https://bugzilla.gnome.org/show_bug.cgi?id=767891
2016-06-22 15:37:12 +02:00
Jesse van den Kieboom 3e5fc07c97 Reduce hot area for action bar to mitigate horizontal scrolling issue
https://bugzilla.gnome.org/show_bug.cgi?id=764003
2016-06-05 12:23:17 +02:00
Jesse van den Kieboom 1da1acfb1c Fix style of language label in dark theme
https://bugzilla.gnome.org/show_bug.cgi?id=766532
2016-06-05 11:47:10 +02:00
Jesse van den Kieboom e3dc6142ca Increase row spacing in for project item details 2016-06-05 11:37:41 +02:00
Jesse van den Kieboom f891fc4e43 Hide description label if there is no description 2016-06-05 11:37:30 +02:00
Ignacio Casal Quinteiro d55ce1608d Bump libgit2-glib to 0.23.11 and fix api break 2016-03-15 00:07:58 +01:00
Ignacio Casal Quinteiro 10d0b62e10 diff-stat: use set_css_name to get it renderered properly
In new gtk we need to set the css name for custom widgets
2016-02-14 19:03:13 +01:00
Jesse van den Kieboom 6ecb54ca15 Make commit details labels copyable with Ctrl+C 2016-02-14 17:31:12 +01:00
Jesse van den Kieboom 3ca15914e5 Remove carriage returns in diff view 2016-02-14 16:15:57 +01:00
Jesse van den Kieboom aa41ac052c Allow focus on diff renderer text
Fixes copy using Ctrl+C
2016-02-14 11:58:51 +01:00
Ignacio Casal Quinteiro 9c917dc469 listboxrow: use baseline for the languages and the branch name 2016-02-13 15:39:10 +01:00
Ignacio Casal Quinteiro 076e5df5b6 diff-view: get the selection notification from the renderer 2016-02-04 18:31:20 +01:00
Ignacio Casal Quinteiro 0625efe752 Rework dash view
This makes the dash view a bit more similar to gnome builder.
It is still not complete on features but it gives already
a good way to continue improving it.
2016-01-25 08:40:53 +01:00
Ignacio Casal Quinteiro 8809c20f90 renderer-text: add missing transform_to_window calls 2016-01-22 14:33:19 +01:00
Ignacio Casal Quinteiro 3fd4e11515 Fix assertion when loading a repo from the dash
The repository might be null
2016-01-11 20:58:42 +01:00
Jesse van den Kieboom 68a9c4bd3e Add missing cairo includes
Bug https://bugzilla.gnome.org/show_bug.cgi?id=760173.
2016-01-05 19:54:47 +01:00
Jesse van den Kieboom f291802654 Sepearate out diff renderer types 2016-01-04 15:04:31 +01:00
Jesse van den Kieboom e013c2a9a7 Show untracked content 2016-01-03 22:22:20 +01:00
Jesse van den Kieboom a8eda0f312 Add diff highlight preference 2016-01-03 20:46:23 +01:00
Jesse van den Kieboom 0573e0756b Merge branch 'highlighting' 2015-12-31 13:04:06 +01:00
Jesse van den Kieboom b5efd19070 Preserve expanded state when reloading diff 2015-12-31 12:32:42 +01:00
Jesse van den Kieboom f490f980a4 Delay populating recent info until dash is shown 2015-12-31 01:32:13 +01:00
Jesse van den Kieboom 67e5877849 Avoid disconnecting signal during handlers destroy 2015-12-31 01:30:51 +01:00
Jesse van den Kieboom c8d8a0ef8c Add revealer with diff options 2015-12-30 23:29:19 +01:00
Jesse van den Kieboom e17a3c58f4 Only add recent info when mapped 2015-12-30 18:26:34 +01:00
Jesse van den Kieboom d96671ddb5 Disconnect mapped signal in handler 2015-12-30 18:26:23 +01:00
Jesse van den Kieboom 041e0786ae Fix use of NSURLConnection 2015-12-30 13:55:06 +01:00
Jesse van den Kieboom 524f6d27db Use NSURLConnection instead of NSURLSessionDataTask 2015-12-30 13:06:48 +01:00
Jesse van den Kieboom 71a22144b2 Fix os x platform paths 2015-12-30 11:15:31 +01:00
Jesse van den Kieboom 1ac57cec3e Use https to get avatars 2015-12-30 11:15:30 +01:00
Jesse van den Kieboom c2282eb13e Adjust expander margins 2015-12-23 17:37:50 +01:00
Jesse van den Kieboom 4ea660ac1b Tidy up the commit details 2015-12-23 15:45:15 +01:00
Ignacio Casal Quinteiro 82337a0bd0 Add missing includes
This happens for developing on linux something that is for windows
2015-12-23 08:53:57 +01:00
Jesse van den Kieboom d578ad0b25 Do not print cancelled errors 2015-12-23 01:03:48 +01:00
Jesse van den Kieboom a0dcca6257 Read highlighting from workdir when diffing against workdir 2015-12-23 00:59:48 +01:00
Jesse van den Kieboom 01b6823414 Enable experimental diff highlightingo 2015-12-23 00:12:45 +01:00
Jesse van den Kieboom f68ce19609 Increase spacing between author and date 2015-12-22 21:51:06 +01:00
Jesse van den Kieboom 1daf01a93b Dim default avatar image 2015-12-22 21:47:18 +01:00
Jesse van den Kieboom f3b039e4d0 Cleanup properties 2015-12-22 21:47:18 +01:00
Ignacio Casal Quinteiro e46658768b Add application_support_prepare_startup
This is implemented on windows to deal with the console output
of the application
2015-12-22 18:37:36 +01:00
Jesse van den Kieboom 0b774ca381 Add expand_home_dir utility 2015-12-22 09:57:41 +01:00
Jesse van den Kieboom a0d448304d Add platform support for getting user home directory 2015-12-22 09:57:41 +01:00
Jesse van den Kieboom 7d6524c011 Do not color removed/added when nothing removed and nothing added 2015-12-21 22:38:25 +01:00
Jesse van den Kieboom 377563a2ad Check also for GTK_THEME to determine dark theme 2015-12-21 22:33:54 +01:00
Jesse van den Kieboom df2c6cdcf8 Fix dark style of diff-stat widget 2015-12-21 22:33:46 +01:00
Ignacio Casal Quinteiro ffb1622e5a Add platform support methods to get the right dirs 2015-12-21 16:08:26 +01:00
Ignacio Casal Quinteiro 4fc83c3a13 Add a platform support method to get a stream from a fd 2015-12-21 14:53:33 +01:00
Ignacio Casal Quinteiro 2ca8c5d3dc Add win32 platform support code 2015-12-21 14:35:42 +01:00
Ignacio Casal Quinteiro 3cd321d46b Use the right gio-unix or gio-win32 depending on the platform 2015-12-21 11:20:39 +01:00
Jesse van den Kieboom c415a0982c Render gutter separators externally to fill all expanded area 2015-12-21 11:08:05 +01:00
Jesse van den Kieboom c5ce8ba7a2 Expand last diff view to fill parent 2015-12-21 11:08:05 +01:00
Ignacio Casal Quinteiro c1c862b907 sidebar: fixes for new gtk to avoid style context warnings 2015-12-21 09:30:46 +01:00
Ignacio Casal Quinteiro e25ecbc82e Color were swapped on the dark theme 2015-12-21 08:51:03 +01:00
Ignacio Casal Quinteiro 29df9f6a15 Show hunk on the gutter using dots 2015-12-21 08:48:52 +01:00
Ignacio Casal Quinteiro 227a60e185 Make the hunk color like github's one and improve dark version 2015-12-21 08:35:29 +01:00
Jesse van den Kieboom e05d6b67bf Fix updating selection when crossing up 2015-12-21 07:55:22 +01:00
Jesse van den Kieboom 4192eb5f8c Update selection on enter/leave events 2015-12-21 07:55:09 +01:00
Jesse van den Kieboom aad2027ceb Implement generating patchset from selection 2015-12-20 23:03:24 +01:00
Jesse van den Kieboom 8eb368de9e Remove unneeded selection style overrides 2015-12-20 21:33:44 +01:00
Jesse van den Kieboom 146900b2bc Do not move to next line if already at line end 2015-12-20 21:33:32 +01:00
Jesse van den Kieboom 17c3d47e0b Fix getting iter at location 2015-12-20 19:40:41 +01:00
Ignacio Casal Quinteiro b801f79ee0 Fix crash if the cursor surface is null 2015-12-20 19:36:24 +01:00
Ignacio Casal Quinteiro bd32f7cbea Fix build 2015-12-20 19:20:50 +01:00
Jesse van den Kieboom fe148bac39 Do not auto-unexpand diff in diff only mode 2015-12-20 19:10:53 +01:00
Jesse van den Kieboom 36d63f1889 Implement hunk select/deselect 2015-12-20 19:10:32 +01:00
Jesse van den Kieboom 4a8c1fa02c Remove unused state monitoring 2015-12-20 18:41:45 +01:00
Jesse van den Kieboom 98e49eb09e Rework diff selection for improved rubber banding
This changes the behavior to selection being always additive, unless
pressing alt (mod1).
2015-12-20 17:47:22 +01:00
Jesse van den Kieboom 739302b380 Move diff selection handling into separate file 2015-12-20 14:07:35 +01:00
Jesse van den Kieboom 2d09ac2cf0 Only update selection attributes/tag when handle_selection 2015-12-20 13:24:48 +01:00
Jesse van den Kieboom 1c4ea3543e Use theme bg/fg colors for selection 2015-12-20 13:18:29 +01:00
Ignacio Casal Quinteiro 59c2de3044 lines-renderer: use a list instead of a map
The map was actually useless here since were were iterating either
the values or the keys
2015-12-20 12:25:28 +01:00
Jesse van den Kieboom 2f3740d167 Fix diff view styles 2015-12-20 10:34:32 +01:00
Ignacio Casal Quinteiro 1e78dab056 Add missing copyright and modeline 2015-12-19 23:03:02 +01:00
Ignacio Casal Quinteiro 2fe0726b4c Fix build 2015-12-19 23:02:01 +01:00