git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [EGIT PATCH 0/9] Repository change listeners
@ 2008-07-10 22:40 Robin Rosenberg
  2008-07-10 22:40 ` [EGIT PATCH 1/9] Create a listener structure for changes to refs and index Robin Rosenberg
  2008-07-11  5:26 ` [EGIT PATCH 0/9] Repository change listeners Shawn O. Pearce
  0 siblings, 2 replies; 19+ messages in thread
From: Robin Rosenberg @ 2008-07-10 22:40 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git, Marek Zawirski, Robin Rosenberg

We want to make the UI react on changes to the repo, but the parts
of the code that makes the changes doesn't know who wants to react
on them. This adds a publish-subcribe mechanism, including detection
of externally made changes, e.g. by C Git.

-- robin

Robin Rosenberg (9):
  Create a listener structure for changes to refs and index
  Cached modification times for symbolic refs too
  Connect the history page to the refs update subscription mechanism
  Add a method to listen to changes in any repository
  Add a job to periodically scan for repository changes
  Change GitHistoryPage to listen on any repository.
  Add a job to refresh projects when the index changes.
  Make git dectected changes depend on the automatic refresh setting
  Attach the resource decorator to the repository change event
    mechanism

 .../src/org/spearce/egit/ui/Activator.java         |  155 ++++++++++++++++++++
 .../internal/decorators/GitResourceDecorator.java  |   29 ++++-
 .../egit/ui/internal/history/GitHistoryPage.java   |   43 +++++-
 .../src/org/spearce/jgit/lib/GitIndex.java         |    3 +
 .../org/spearce/jgit/lib/IndexChangedEvent.java    |   55 +++++++
 .../src/org/spearce/jgit/lib/RefDatabase.java      |   63 ++++++---
 .../src/org/spearce/jgit/lib/RefsChangedEvent.java |   55 +++++++
 .../src/org/spearce/jgit/lib/Repository.java       |   74 ++++++++++
 .../org/spearce/jgit/lib/RepositoryAdapter.java    |   54 +++++++
 .../spearce/jgit/lib/RepositoryChangedEvent.java   |   64 ++++++++
 .../org/spearce/jgit/lib/RepositoryListener.java   |   63 ++++++++
 11 files changed, 635 insertions(+), 23 deletions(-)
 create mode 100644 org.spearce.jgit/src/org/spearce/jgit/lib/IndexChangedEvent.java
 create mode 100644 org.spearce.jgit/src/org/spearce/jgit/lib/RefsChangedEvent.java
 create mode 100644 org.spearce.jgit/src/org/spearce/jgit/lib/RepositoryAdapter.java
 create mode 100644 org.spearce.jgit/src/org/spearce/jgit/lib/RepositoryChangedEvent.java
 create mode 100644 org.spearce.jgit/src/org/spearce/jgit/lib/RepositoryListener.java

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2008-07-11 12:30 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10 22:40 [EGIT PATCH 0/9] Repository change listeners Robin Rosenberg
2008-07-10 22:40 ` [EGIT PATCH 1/9] Create a listener structure for changes to refs and index Robin Rosenberg
2008-07-10 22:40   ` [EGIT PATCH 2/9] Cached modification times for symbolic refs too Robin Rosenberg
2008-07-10 22:40     ` [EGIT PATCH 3/9] Connect the history page to the refs update subscription mechanism Robin Rosenberg
2008-07-10 22:40       ` [EGIT PATCH 4/9] Add a method to listen to changes in any repository Robin Rosenberg
2008-07-10 22:40         ` [EGIT PATCH 5/9] Add a job to periodically scan for repository changes Robin Rosenberg
2008-07-10 22:40           ` [EGIT PATCH 6/9] Change GitHistoryPage to listen on any repository Robin Rosenberg
2008-07-10 22:40             ` [EGIT PATCH 7/9] Add a job to refresh projects when the index changes Robin Rosenberg
2008-07-10 22:40               ` [EGIT PATCH 8/9] Make git dectected changes depend on the automatic refresh setting Robin Rosenberg
2008-07-10 22:40                 ` [EGIT PATCH 9/9] Attach the resource decorator to the repository change event mechanism Robin Rosenberg
2008-07-11  4:33               ` [EGIT PATCH 7/9] Add a job to refresh projects when the index changes Shawn O. Pearce
2008-07-11  9:32                 ` [PATCH 7/7] " Robin Rosenberg
2008-07-11  4:28         ` [EGIT PATCH 4/9] Add a method to listen to changes in any repository Shawn O. Pearce
2008-07-11  9:48           ` [PATCH 4/4] " Robin Rosenberg
2008-07-11 12:24             ` jgit (was: [PATCH 4/4] Add a method...) Andreas Ericsson
2008-07-11 12:24               ` Robin Rosenberg
2008-07-11  4:22   ` [EGIT PATCH 1/9] Create a listener structure for changes to refs and index Shawn O. Pearce
2008-07-11  9:27     ` [PATCH] " Robin Rosenberg
2008-07-11  5:26 ` [EGIT PATCH 0/9] Repository change listeners Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).