Skip to content

Commit

Permalink
updated to v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
creator committed Mar 17, 2001
1 parent a62bc27 commit 7642de2
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 53 deletions.
2 changes: 1 addition & 1 deletion ecb-layout.el
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
;; Contains functions for settings the ECB layout.
;;
;; This file is part of the ECB package which can be found at:
;; http://home.swipnet.se/mayhem/javabrowser.html
;; http://home.swipnet.se/mayhem/ecb.html

;;; Patches:

Expand Down
2 changes: 1 addition & 1 deletion ecb-util.el
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
;; Contains misc utility functions for ECB.
;;
;; This file is part of the ECB package which can be found at:
;; http://home.swipnet.se/mayhem/javabrowser.html
;; http://home.swipnet.se/mayhem/ecb.html

;;; Code:

Expand Down
14 changes: 7 additions & 7 deletions ecb.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Maintainer: Jesper Nordenberg <mayhem@home.se>
;; Keywords: java, class, browser
;; Created: Jul 2000
;; Version: 0.04
;; Version: 1.0

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
Expand All @@ -27,8 +27,7 @@
;;
;; The Emacs code browser (ECB) creates four buffers: *ECB Directories*,
;; *ECB Sources*, *ECB Methods* and *ECB History*. These buffers can be
;; used to navigate through source code by clicking the left mouse
;; button.
;; used to navigate through source code with the mouse.
;;
;; To use the Emacs code browser add the ECB files to your load path
;; and add the following line to your .emacs file:
Expand All @@ -37,7 +36,7 @@
;;
;; ECB requires version 1.2.1 or higher of Eric's semantic bovinator
;; (http://www.ultranet.com/~zappo/semantic.shtml).
;; If you are working with Java ECB works best when the JDE package
;; If you are working with Java, ECB works best when the JDE package
;; (http://sunsite.auc.dk/jde) is installed.
;;
;; ECB is activated by calling:
Expand All @@ -63,10 +62,11 @@
;; - Fix XEmacs incompatibilities (I need help on this one!)
;; - More layouts
;; - More functions on the pop-up menus. Suggestions are welcome!
;; - Convert the code to EIEIO
;; - Lots more...
;;
;; The latest version of the ECB is available at
;; http://home.swipnet.se/mayhem/javabrowser.html
;; http://home.swipnet.se/mayhem/ecb.html

;;; Code:

Expand Down Expand Up @@ -181,8 +181,8 @@ list. The value of this variable should be a regular expression."
:group 'ecb-directories
:type 'regexp)

(defcustom ecb-source-file-regexp ".*\\.\\(java\\|el\\|c\\|cc\\|h\\|hh\\|txt\\|html\\)$"
"*Files matching this regular expression will be added to the source
(defcustom ecb-source-file-regexp "\\(\\(M\\|m\\)akefile\\|.*\\.\\(java\\|el\\|c\\|cc\\|h\\|hh\\|txt\\|html\\|mk\\)\\)$"
"*Files matching this regular expression will be shown in the source
buffer."
:group 'ecb-sources
:type 'regexp)
Expand Down
19 changes: 17 additions & 2 deletions history.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
Version 0.05 (2000-11-07):
--------------------------
Version 1.0 (2001-03-17):
-------------------------

- Changed name from JCB to ECB and prefix from "jde-jcb-" to "ecb-".

- Works with semantic 1.3.1 and higher.

- Fixed a couple of bugs when creating and deleting files.

- Grouped customization variables.


Contributed by Klaus Berndl <klaus.berndl@sdm.de>:

Expand All @@ -14,6 +18,17 @@ Contributed by Klaus Berndl <klaus.berndl@sdm.de>:

- The package expanded symbol can optionally be placed before the package name.

- Syntax highlighting of the methods buffer.

- Show argument names and return type in the methods buffer.

- History clear function: ecb-clear-history.

- Added pop-up menu to the history buffer.

- Fixed edit buffer sync bug.



Version 0.04 (2000-11-07):
--------------------------
Expand Down
Binary file added html/ecb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions html/javabrowser.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<html><head><title>Java Class Browser for Emacs</title></head>
<body bgcolor='white'><h2>Java Class Browser (JCB) for Emacs</h2><p>Updated: 2000-12-05</p><p><b>Download the latest version: <a href='jde-jcb-0.04.zip'>jde-jcb-0.04.zip</a></b></p><p><b>This project is hosted by <a href='http://sourceforge.net/projects/jcb'><img src='http://sourceforge.net/sflogo.php?group_id=jcb&type=1' width='88' height='31' border='0' alt='SourceForge Logo'></a></b></p><p><b>The CVS tree can be accessed <a href='http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/?cvsroot=jcb'>here</a>.</b></p><h3>About</h3><p>JCB is a Java class browser for Emacs. It can be used to browse directories of Java source files and browse methods in the classes. It's not limited to just Java source files, you can browse any type of source file. Currently only Java, C and Lisp files is parsed for methods though.</p><h3>Dependencies</h3><p>JCB requires version 1.2.x of <a href='http://www.ultranet.com/~zappo/semantic.shtml'>Eric Ludlam's semantic bovinator</a> (version 1.3 will be supported in the next version). To parse Java files, and to do any serious Java development in Emacs, you also need version 2.1.9 or higher of <a href='http://sunsite.auc.dk/jde/'>JDE</a>.</p><h3>Installation and Setup</h3><p>1. Download and unzip the latest version of JCB.</p><p>2. Put the directory 'jde-jcb-0.04' in your Emacs load path.</p><p>3. Add "(require 'jde-jcb)" to your .emacs file.</p><p>4. Optionally bind a key to your favorite JCB layout (0-8). This is my setup:<br>(global-set-key [f1] '(lambda() (interactive) (jde-jcb-set-layout 0 t) (split-window-horizontally)))</p><p>5. Re-start Emacs and press the key you chose. If you get an error when setting the layout, try making your Emacs window bigger or choose a "smaller" layout (for example 1). Your Emacs frame should now look something like this: <a href='jcb.png'>JCB screen capture</a>.</p><p>6. Select the '*JCB Packages*' window (usually top-left) and press F2. This will open the customization buffer for JCB.</p><p>7. Add the paths to your source files under 'Jde Jcb Source Path'.</p><p>8. Save the settings. Done!</p><h3>Usage</h3><h4>Packages Buffer</h4><p>Select packages (directories), and if enabled class files, in the "*JCB Packages*" buffer by clicking the left mouse button on the package name or by hitting ENTER/RETURN when the cursor is placed on the item line. Package names with a "[+]" symbol after them can be expanded/collapsed by left-clicking on the symbol or by pressing the TAB key when the cursor is placed on the package line. Right clicking on a package or class name will open a popup menu where different operations on the item under the mouse cursor can be performed.</p><p>Pressing F1 in the packages buffer will update it. Pressing F2 will open the jde-jcb customization group in the edit window.</p><h4>Classes and History Buffer</h4><p>Class files can be select by clicking the left mouse button or hitting ENTER/RETURN on the class row in the "*JCB Classes*" or "*JCB History*" windows. Clicking on the class with the middle mouse button will open the class file in another window. Right clicking on a class row will open a popup menu where different operation on the class under the mouse cursor can be performed.</p><h4>Methods Buffer</h4><p>The "*JCB Methods*" buffer contains the methods in the selected class file. Currently only Java, C and Lisp files are parsed for methods. When a method is selected with the left mouse button or ENTER/RETURN the edit buffer will jump to the method. Right clicking on a method will jump to the method in another window.</p><h3>Emacs Tips</h3><p>It's easier to navigate and scroll the JCB buffers if you install <a href='http://www.deja.com/getdoc.xp?AN=610250245&fmt=raw'>follow-mouse.el</a> and activate your <a href='ftp://ftp.cs.indiana.edu/pub/elisp/mwheel.el'>wheel mouse</a> in Emacs.</p><h3>Download</h3><p>The latest version: <a href='jde-jcb-0.04.zip'>jde-jcb-0.04.zip</a></p><p>Older versions:<br><a href='jde-jcb-0.03.zip'>jde-jcb-0.03.zip</a><br><a href='jde-jcb-0.02.zip'>jde-jcb-0.02.zip</a><br><a href='jde-jcb-0.01.zip'>jde-jcb-0.01.zip</a></p><h3>Comments, Suggestions etc.</h3><p>Please feel free to contact me if you find the browser useful, if you have found some bugs or if you some suggestions on how to improve it.
<a href='mailto:mayhem@home.se'>Jesper Nordenberg</a></p><p>The page's WebCounter count says that you are visitor number <img src='http://counter.digits.com/wc/-d/4/javabrowser' ALIGN=middle WIDTH=60 HEIGHT=20 BORDER=0 HSPACE=4 VSPACE=2> since 2000-07-28.</p></body></html>
<html>
<head>
<title>Page has moved</title>
</head>

<body bgcolor='white'>
<p><b><a href='ecb.html'>This page has moved.</a></b></p>

</body>
</html>
59 changes: 32 additions & 27 deletions html/main.el
Original file line number Diff line number Diff line change
@@ -1,60 +1,65 @@
(require 'html-helper)

(setq version "0.04")
(setq dirname (concat "jde-jcb-" version))
(setq version "1.0")
(setq dirname (concat "ecb-" version))
(setq zipname (concat dirname ".zip"))
(setq date "2000-12-05")
(setq date "2001-03-17")

(h-doc
"javabrowser.html"
"Java Class Browser for Emacs"
(h-h2 "Java Class Browser (JCB) for Emacs")
"ecb.html"
"ECB - Emacs Code Browser"
(h-h2 "ECB - Emacs Code Browser")
(h-p "Updated: " date)
(h-p (h-b "Download the latest version: " (h-link zipname)))

(h-p (h-b "This project is hosted by " (h-link "http://sourceforge.net/projects/jcb" (h-img "http://sourceforge.net/sflogo.php?group_id=jcb&type=1" "width='88' height='31' border='0' alt='SourceForge Logo'"))))
(h-p (h-b "The CVS tree can be accessed " (h-link "http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/?cvsroot=jcb" "here") "."))
(h-p (h-b "This project is hosted by " (h-link "http://sourceforge.net/projects/ecb" (h-img "http://sourceforge.net/sflogo.php?group_id=17484&type=1" "width='88' height='31' border='0' alt='SourceForge Logo'"))))
(h-p (h-b "The CVS tree can be accessed " (h-link "http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/?cvsroot=ecb" "here") "."))

(h-h3 "About")
(h-p "JCB is a Java class browser for Emacs. It can be used to browse directories of Java source files and browse methods in the classes. It's not limited to just Java source files, you can browse any type of source file. Currently only Java, C and Lisp files is parsed for methods though.")
(h-h3 "About")
(h-p "ECB is source code browser for Emacs. It displays a few windows that can be used to browse directories, files and methods. It supports method parsing for Java, C, C++, Elisp etc. " (h-link "ecb.png" "Here's") " a screenshot of the browser in action.")

(h-h3 "Dependencies")
(h-p "JCB requires version 1.2.x of " (h-link "http://www.ultranet.com/~zappo/semantic.shtml" "Eric Ludlam's semantic bovinator") " (version 1.3 will be supported in the next version). To parse Java files, and to do any serious Java development in Emacs, you also need version 2.1.9 or higher of " (h-link "http://sunsite.auc.dk/jde/" "JDE") ".")
(h-p "ECB requires version 1.2.x of " (h-link "http://cedet.sourceforge.net/semantic.shtml" "Eric Ludlam's semantic bovinator") ". If you use ECB for Java development you also need version 2.1.9 or higher of " (h-link "http://sunsite.auc.dk/jde/" "JDE") ".")

(h-h3 "Installation and Setup")
(h-p "1. Download and unzip the latest version of JCB.")
(h-p "2. Put the directory '" dirname "' in your Emacs load path.")
(h-p "3. Add \"(require 'jde-jcb)\" to your .emacs file.")
(h-p "4. Optionally bind a key to your favorite JCB layout (0-8). This is my setup:" h-br "(global-set-key [f1] '(lambda() (interactive) (jde-jcb-set-layout 0 t) (split-window-horizontally)))")
(h-p "5. Re-start Emacs and press the key you chose. If you get an error when setting the layout, try making your Emacs window bigger or choose a \"smaller\" layout (for example 1). Your Emacs frame should now look something like this: " (h-link "jcb.png" "JCB screen capture") ".")
(h-p "6. Select the '*JCB Packages*' window (usually top-left) and press F2. This will open the customization buffer for JCB.")
(h-p "7. Add the paths to your source files under 'Jde Jcb Source Path'.")
(h-p "8. Save the settings. Done!")
(h-numbered-list
"Download and unzip the latest version of ECB."
(concat "Put the directory '" dirname "' in your Emacs load path.")
"Add \"(require 'ecb)\" to your .emacs file."
"Call \"ecb-activate\"."
"Select the '*ECB Directories*' window (usually top-left) and press F2. This will open the customization buffer for ECB."
"Add the paths to your source files under 'Ecb Directories' -> 'Ecb Source Path'."
"Save the settings. Done!")

(h-h3 "Usage")

(h-h4 "Packages Buffer")
(h-p "Select packages (directories), and if enabled class files, in the \"*JCB Packages*\" buffer by clicking the left mouse button on the package name or by hitting ENTER/RETURN when the cursor is placed on the item line. Package names with a \"[+]\" symbol after them can be expanded/collapsed by left-clicking on the symbol or by pressing the TAB key when the cursor is placed on the package line. Right clicking on a package or class name will open a popup menu where different operations on the item under the mouse cursor can be performed.")
(h-p "Pressing F1 in the packages buffer will update it. Pressing F2 will open the jde-jcb customization group in the edit window.")
(h-h4 "Directories Buffer")
(h-p "Select directories and, if enabled, source files, in the \"*ECB Directories*\" buffer by clicking the left mouse button on the package name or by hitting ENTER/RETURN when the cursor is placed on the item line. Package names with a \"[+]\" symbol after them can be expanded/collapsed by left-clicking on the symbol, pressing the TAB key when the cursor is placed on the package line or clicking the middle mouse button on the item. Right clicking on an item will open a popup menu where different operations on the item under the mouse cursor can be performed.")
(h-p "Pressing F1 in the packages buffer will update it. Pressing F2 will open the ECB customization group in the edit window.")

(h-h4 "Classes and History Buffer")
(h-p "Class files can be select by clicking the left mouse button or hitting ENTER/RETURN on the class row in the \"*JCB Classes*\" or \"*JCB History*\" windows. Clicking on the class with the middle mouse button will open the class file in another window. Right clicking on a class row will open a popup menu where different operation on the class under the mouse cursor can be performed.")
(h-h4 "Source and History Buffer")
(h-p "Source files can be select by clicking the left mouse button or hitting ENTER/RETURN on the class row in the \"*ECB Sources*\" or \"*ECB History*\" windows. Clicking on the source file with the middle mouse button will open the class file in the other edit window. Right clicking on a source file will open a popup menu where different operation on the item under the mouse cursor can be performed.")

(h-h4 "Methods Buffer")
(h-p "The \"*JCB Methods*\" buffer contains the methods in the selected class file. Currently only Java, C and Lisp files are parsed for methods. When a method is selected with the left mouse button or ENTER/RETURN the edit buffer will jump to the method. Right clicking on a method will jump to the method in another window.")
(h-p "The \"*ECB Methods*\" buffer contains the methods in the selected source file. When a method is selected with the left mouse button or ENTER/RETURN the edit buffer will jump to the method. Clicking on a method with the middle mouse button will jump to the method in the other edit window.")

(h-h3 "Emacs Tips")
(h-p "It's easier to navigate and scroll the JCB buffers if you install " (h-link "http://www.deja.com/getdoc.xp?AN=610250245&fmt=raw" "follow-mouse.el") " and activate your " (h-link "ftp://ftp.cs.indiana.edu/pub/elisp/mwheel.el" "wheel mouse") " in Emacs.")
(h-p "It's easier to navigate and scroll the ECB buffers if you install " (h-link "http://www.deja.com/getdoc.xp?AN=610250245&fmt=raw" "follow-mouse.el") " and activate your " (h-link "ftp://ftp.cs.indiana.edu/pub/elisp/mwheel.el" "wheel mouse") " in Emacs.")

(h-h3 "Download")
(h-p "The latest version: " (h-link zipname))
(h-p "Older versions:" h-br
(h-link "jde-jcb-0.04.zip") h-br
(h-link "jde-jcb-0.03.zip") h-br
(h-link "jde-jcb-0.02.zip") h-br
(h-link "jde-jcb-0.01.zip"))

(h-h3 "Developers")
(h-p (h-email "mayhem@home.se" "Jesper Nordenberg") h-br
(h-email "klaus.berndl@sdm.de" "Klaus Berndl"))

(h-h3 "Comments, Suggestions etc.")
(h-p "Please feel free to contact me if you find the browser useful, if you have found some bugs or if you some suggestions on how to improve it.\n"
(h-p "Please feel free to contact me if you find the code browser useful, if you have found some bugs or if you some suggestions on how to improve it.\n"
(h-email "mayhem@home.se" "Jesper Nordenberg"))

(h-p "The page's WebCounter count says that you are visitor number "
Expand Down
6 changes: 6 additions & 0 deletions html/old.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(require 'html-helper)

(h-doc
"javabrowser.html"
"Page has moved"
(h-p (h-b (h-link "ecb.html" "This page has moved."))))
23 changes: 12 additions & 11 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ Readme for the Emacs Code Browser (ECB) v1.0
About
-----

This package contains a code browser for several languages for Emacs. For
instructions on how to use the browser read the jde-jcb.el file. The latest
version of this package ca be found at:
This package contains a code browser for several languages for
Emacs. For instructions on how to use the browser read the ecb.el
file. The latest version of this package can be found at:

http://home.swipnet.se/mayhem/javabrowser.html
http://home.swipnet.se/mayhem/ecb.html


Requirements
------------

ECB requires version 1.2.1 or higher of Eric's semantic bovinator
(http://www.ultranet.com/~zappo/semantic.shtml).
If java-code is edited the ECB works best when the JDE package
(http://www.ultranet.com/~zappo/semantic.shtml). If Java code is
edited the ECB works best when the JDE package
(http://sunsite.auc.dk/jde) is installed.


Expand All @@ -26,14 +26,15 @@ Installation
1. Unpack the ECB archive.
2. Add the new directory to your load-path.
3. Add to your .emacs or site-start.el file the line:
(require 'jde-jcb)
(require 'ecb)

Optional compilation steps:

1. Check the makefile in the ECB directory if the semantic-path is correct.
By default the makefile assumes that semantic is placed in the directory
where ECB was unpacked. But you always have to check the correct
semantic-version!
1. Check the makefile in the ECB directory if the semantic-path is
correct. By default the makefile assumes that semantic is placed
in the directory where ECB was unpacked. But you always have to
check the correct semantic-version!

2. Call "make all" to byte-compile the ECB. You can savely ignore the
messages.

Expand Down
2 changes: 1 addition & 1 deletion tree-buffer.el
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
;; Functions for tree buffers.
;;
;; This file is part of the ECB package which can be found at:
;; http://home.swipnet.se/mayhem/javabrowser.html
;; http://home.swipnet.se/mayhem/ecb.html

;;; Code:

Expand Down

0 comments on commit 7642de2

Please sign in to comment.