Commit Graph

3495 Commits

Author SHA1 Message Date
Jesse van den Kieboom
f85815c435 Added branches drop down combo box 2008-06-30 15:30:02 +02:00
Jesse van den Kieboom
9fe98f268d Fixed stopping condition for finding dot git dir 2008-06-30 12:28:37 +02:00
Jesse van den Kieboom
411efa13d1 Fixed off by one with passing argc 2008-06-30 12:28:10 +02:00
Jesse van den Kieboom
44332768cc Added current working directory fallback for repository
This enables you to do gitg --all, instead of interpreting --all as
the working directory, it will try the current directory since
--all fails as a git directory
2008-06-30 11:54:19 +02:00
Jesse van den Kieboom
0557354b34 Fixed problem with non-existing lane due to revision without children 2008-06-30 11:33:01 +02:00
Jesse van den Kieboom
d3b88ba872 Fixed hash comparison bug
Hashes were compared with strncmp, but since they can perfectly
contain 0 values, the comparison wasn't done for the full 20
bytes if a 0 value was encountered. Fixed by using memcpy
2008-06-30 11:20:55 +02:00
Jesse van den Kieboom
84e9d5b9b7 Added command argument passing to repository loading
Trailing command line arguments are now passed to the repository
loader (appended to git log) so `gitg . --all` should work for
example
2008-06-30 11:19:42 +02:00
Jesse van den Kieboom
eeb076a145 Implemented bottom half of path rendering
Path rendering is now mostly complete, still needs to be tested properly
2008-06-30 10:22:18 +02:00
Jesse van den Kieboom
0b5f628fd9 Implemented top half of path rendering 2008-06-30 09:12:20 +02:00
Jesse van den Kieboom
d5b99843ba Adapted code for rendering graph (unfinished) 2008-06-30 01:38:49 +02:00
Jesse van den Kieboom
57a98cec32 Added basic graph rendering (unfinished)
There is some rendering code, but it's not yet fully working
2008-06-30 01:31:12 +02:00
Jesse van den Kieboom
6352f0c689 Fixed escaping markup for subject label 2008-06-29 17:58:23 +02:00
Jesse van den Kieboom
4cb717ae62 Unset tree model when window is destroyed
For large models, destroying the model while still attached to a view
takes a _very_ long time. By removing it first, the application exits
normally again
2008-06-29 15:22:49 +02:00
Jesse van den Kieboom
cee375945b Add new line after inserting diff line 2008-06-29 15:21:43 +02:00
Jesse van den Kieboom
0813ef02f3 Added encoding conversion
Tries to convert output from git to UTF-8 from ISO-8859-15 or if that
fails from ASCII. Also terminating newlines are now removed from the
buffer
2008-06-29 15:21:20 +02:00
Jesse van den Kieboom
55360d4c92 Make sure to return false in delete-event 2008-06-29 15:19:35 +02:00
Jesse van den Kieboom
1fe9bbb43a Do not block button-release event on parent label 2008-06-29 14:06:07 +02:00
Jesse van den Kieboom
9309f3ba4d Implemented dragging files from the tree view 2008-06-29 13:18:38 +02:00
Jesse van den Kieboom
e5399f7f2a Added basic dnd for exporting files from a revision
The DND doesn't actually work yet, but something is being dragged
2008-06-29 11:34:29 +02:00
Jesse van den Kieboom
3cf9bd56e9 Implemented tree view loading
Revision tree showing all objects for a specific revision is
implemented. This is also able to show the contents of the file at
that revision
2008-06-27 20:37:38 +02:00
Jesse van den Kieboom
fc977f1bfd Removed gitg.glade, additional builder ui is used 2008-06-27 15:12:17 +02:00
Jesse van den Kieboom
3c92d2f522 Fixed problem with hash being marshalled as string instead of pointer
Since the hash is the byte representation, and not SHA1, it can contain 0
values which messed up the hash being marshalled as a string in the
signal emission.

Also removed the boolean return value of the signal
2008-06-27 15:08:03 +02:00
Jesse van den Kieboom
a2852278f7 Fill repository by 5000 instead of 1000 2008-06-27 15:06:32 +02:00
Jesse van den Kieboom
4edfff76a6 Factored window stuff in new GitgWindow
GitgWindow now provides most of the control (moved from gitg.c). The
main gitg.c now just handles parsing arguments and creating the
main window
2008-06-27 13:25:09 +02:00
Jesse van den Kieboom
b52ff4053c Factored revision detail view in separate GitgRevisionView class
All revision details (sha, author, date, subject, diff) now resides
in GitgRevisionView (subclass of GtkVBox). It is instantiated
automatically by GtkBuilder from the ui definition.
2008-06-27 01:57:23 +02:00
Jesse van den Kieboom
b12df7994e Removed obsolete GitgLoader 2008-06-27 00:51:03 +02:00
Jesse van den Kieboom
1a20665965 Renamed GitgRvModel to GitgRepository 2008-06-26 22:42:47 +02:00
Jesse van den Kieboom
489917a0b7 Updated ignore files 2008-06-26 22:18:29 +02:00
Jesse van den Kieboom
e2a8e6102d Updated ignore files 2008-06-26 22:16:59 +02:00
Jesse van den Kieboom
dda98d7a16 Changed RvModel to proper Repository object
GitgRepository is now a custom GtkTreeModel instead of GtkListStore
Added git path utility functions to gitg-utils
2008-06-26 22:15:18 +02:00
Jesse van den Kieboom
917413b931 Updated UI layout (removed raw tab) 2008-06-26 22:14:47 +02:00
Jesse van den Kieboom
aaddcae846 Added empty m4 directory 2008-06-26 12:08:30 +02:00
Jesse van den Kieboom
f6be63409d Added searching for hash 2008-06-24 14:07:46 +02:00
Jesse van den Kieboom
98359f026d Added accelerator Ctrl+F to focus search entry 2008-06-24 13:50:49 +02:00
Jesse van den Kieboom
246f3c7fe3 Fixed problem with syncing thread 2008-06-24 13:31:15 +02:00
Jesse van den Kieboom
424c86d696 Added custom search function which searches inside strings instead of only beginning 2008-06-24 13:31:05 +02:00
Jesse van den Kieboom
c4637425f9 Use proper radio actions instead of toggle actions 2008-06-24 13:30:25 +02:00
Jesse van den Kieboom
1f0db518ac Added gitignore 2008-06-24 12:30:44 +02:00
Jesse van den Kieboom
2efd3c855d Added UTF-8 encoding to git cmd 2008-06-24 12:27:54 +02:00
Jesse van den Kieboom
e2199aa8f1 Find .git directory automatically 2008-06-24 12:27:40 +02:00
Jesse van den Kieboom
7bb71a8ffe Added popup menu to select search column 2008-06-24 02:06:36 +02:00
Jesse van den Kieboom
f8250724e3 Added separate search entry 2008-06-24 01:01:20 +02:00
Jesse van den Kieboom
d43c13ffae Added hash table to fast find revisions by hash
Added sorting function, but it's not fast enough yet
2008-06-24 01:00:51 +02:00
Jesse van den Kieboom
41b916a824 Added cast to prevent warning 2008-06-24 01:00:04 +02:00
Jesse van den Kieboom
11fc353c7b Initial import 2008-06-24 00:04:20 +02:00