jsxe-cvs Mailing List for jsXe (Page 4)
Status: Inactive
Brought to you by:
ian_lewis
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(29) |
Dec
(63) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(4) |
Feb
(23) |
Mar
(19) |
Apr
(102) |
May
(88) |
Jun
(30) |
Jul
(42) |
Aug
(43) |
Sep
(17) |
Oct
(19) |
Nov
(41) |
Dec
(46) |
2005 |
Jan
(32) |
Feb
(8) |
Mar
(110) |
Apr
(102) |
May
(139) |
Jun
(45) |
Jul
(5) |
Aug
(1) |
Sep
(9) |
Oct
(30) |
Nov
(18) |
Dec
|
2006 |
Jan
(10) |
Feb
(85) |
Mar
(9) |
Apr
(64) |
May
(24) |
Jun
(95) |
Jul
(107) |
Aug
(123) |
Sep
(37) |
Oct
(15) |
Nov
(1) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ian...@us...> - 2006-08-29 16:06:25
|
Revision: 1197 Author: ian_lewis Date: 2006-08-29 09:06:10 -0700 (Tue, 29 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1197&view=rev Log Message: ----------- Merge from 05pre3 branch rev. 1195 Modified Paths: -------------- trunk/jsxe/Changelog trunk/jsxe/build.xml trunk/jsxe/src/net/sourceforge/jsxe/ActionManager.java trunk/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java trunk/jsxe/src/net/sourceforge/jsxe/gui/menu/WrappingMenu.java Modified: trunk/jsxe/Changelog =================================================================== --- trunk/jsxe/Changelog 2006-08-29 16:05:55 UTC (rev 1196) +++ trunk/jsxe/Changelog 2006-08-29 16:06:10 UTC (rev 1197) @@ -1,3 +1,9 @@ +08/29/2006 Ian Lewis <Ian...@me...> + + * Fixed a memory leak with JMenuItems. ActionManager kept a cache of + Wrapper Action objects. JMenu items register listeners with those Actions + so the JMenuItems would never be Garbage collected. + 08/28/2006 Ian Lewis <Ian...@me...> * Changed the messages files to be named the standard ResourceBundle way. Modified: trunk/jsxe/build.xml =================================================================== --- trunk/jsxe/build.xml 2006-08-29 16:05:55 UTC (rev 1196) +++ trunk/jsxe/build.xml 2006-08-29 16:06:10 UTC (rev 1197) @@ -278,6 +278,15 @@ </fileset> </copy> + <!-- copy the lib directory so that the jsXe.exe can be run + from the build dir --> + <mkdir dir="${build.lib}"/> + <copy todir="${build.lib}"> + <fileset dir="${lib.dir}"> + <include name="**/*"/> + </fileset> + </copy> + <!-- set the build properties --> <propertyfile comment="${app.name}'s build properties" file="${build.dest}/net/sourceforge/jsxe/build.properties"> <entry key="application.name" value="${app.name}"/> @@ -340,13 +349,6 @@ <!-- }}} --> <!-- {{{ ============ Prepares for a build ============================= --> <target depends="init" name="prepare-build"> - <!-- lib --> - <mkdir dir="${build.dir}/lib"/> - <copy todir="${build.dir}/lib"> - <fileset dir="${lib.dir}"> - <include name="**/*"/> - </fileset> - </copy> <!-- bin --> <mkdir dir="${build.dir}/bin"/> <copy todir="${build.dir}/bin"> @@ -621,15 +623,6 @@ <!-- {{{ create the win tar.bz2 file --> - <!-- copy the lib directory so that the jsXe.exe can be run - from the build dir --> - <mkdir dir="${build.dir}/lib"/> - <copy todir="${build.dir}/lib"> - <fileset dir="${build.lib}"> - <include name="**/*"/> - </fileset> - </copy> - <!-- create the windows exe --> <taskdef name="launch4j" classname="net.sf.launch4j.ant.Launch4jTask" Modified: trunk/jsxe/src/net/sourceforge/jsxe/ActionManager.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/ActionManager.java 2006-08-29 16:05:55 UTC (rev 1196) +++ trunk/jsxe/src/net/sourceforge/jsxe/ActionManager.java 2006-08-29 16:06:10 UTC (rev 1197) @@ -118,8 +118,11 @@ * @param name the name of the action. */ public static Action getAction(String name) { - Action action = (Action)m_actionMap.get(name); - if (action == null) { + // We can't keep a cache of Wrappers because JMenuItems register + //listeners with them and would never be GCed. + Action action = null; + // Action action = (Action)m_actionMap.get(name); + // if (action == null) { LocalizedAction editAction = getLocalizedAction(name); if (editAction != null) { action = new Wrapper(name); @@ -135,11 +138,11 @@ action.putValue(Action.ACCELERATOR_KEY, KeyEventTranslator.getKeyStroke(keyBinding)); } - m_actionMap.put(name, action); + // m_actionMap.put(name, action); } else { Log.log(Log.WARNING,ActionManager.class,"Unknown action: "+ name); } - } + // } return action; }//}}} @@ -326,7 +329,7 @@ /** * This is an name to Wrapper mapping. */ - private static HashMap m_actionMap = new HashMap(); + // private static HashMap m_actionMap = new HashMap(); private static ArrayList m_actionSets = new ArrayList(); private static boolean initialized = false; Modified: trunk/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java 2006-08-29 16:05:55 UTC (rev 1196) +++ trunk/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java 2006-08-29 16:06:10 UTC (rev 1197) @@ -462,17 +462,16 @@ m_recentFilesMenu.removeAll(); ArrayList historyEntries = jsXe.getBufferHistory().getEntries(); int index = 0; - JMenu addMenu = m_recentFilesMenu; Iterator historyItr = historyEntries.iterator(); while (historyItr.hasNext()) { BufferHistory.BufferHistoryEntry entry = (BufferHistory.BufferHistoryEntry)historyItr.next(); - addMenu.add(new JMenuItem(new OpenRecentFileAction(this, entry))); + m_recentFilesMenu.add(new JMenuItem(new OpenRecentFileAction(this, entry))); index++; } - if (addMenu.getItemCount() == 0) { + if (m_recentFilesMenu.getMenuComponentCount() == 0) { JMenuItem nullItem = new JMenuItem(Messages.getMessage("File.Recent.None")); nullItem.setEnabled(false); - addMenu.add(nullItem); + m_recentFilesMenu.add(nullItem); } }//}}} @@ -671,7 +670,7 @@ //Add recent files menu m_recentFilesMenu = new WrappingMenu(Messages.getMessage("File.Recent"), jsXe.getIntegerProperty("menu.spill.over", 20)); - m_fileMenu.add(m_recentFilesMenu); + m_fileMenu.add(m_recentFilesMenu.getJMenu()); m_fileMenu.addSeparator(); menuItem = new JMenuItem(ActionManager.getAction("save-file")); Modified: trunk/jsxe/src/net/sourceforge/jsxe/gui/menu/WrappingMenu.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/gui/menu/WrappingMenu.java 2006-08-29 16:05:55 UTC (rev 1196) +++ trunk/jsxe/src/net/sourceforge/jsxe/gui/menu/WrappingMenu.java 2006-08-29 16:06:10 UTC (rev 1197) @@ -28,7 +28,6 @@ //{{{ jsXe classes import net.sourceforge.jsxe.gui.Messages; -import net.sourceforge.jsxe.EBListener; //}}} //{{{ Java classes @@ -47,15 +46,14 @@ * @author Ian Lewis (<a href="mailto:Ian...@me...">Ian...@me...</a>) * @version $Id$ */ -public class WrappingMenu extends JMenu { +public class WrappingMenu { //{{{ WrappingMenu constructor /** * Constructs a WrappingMenu without an "invoker" and the default wrap count of 20. */ public WrappingMenu() { - super(); - m_addToMenus.push(this); + m_addToMenus.push(new JMenu()); }//}}} //{{{ WrappingMenu constructor @@ -66,9 +64,8 @@ * it wraps. */ public WrappingMenu(int wrapCount) { - super(); m_wrapCount = wrapCount; - m_addToMenus.push(this); + m_addToMenus.push(new JMenu()); }//}}} //{{{ WrappingMenu constructor @@ -80,9 +77,8 @@ * it wraps. */ public WrappingMenu(String label, int wrapCount) { - super(label); m_wrapCount = wrapCount; - m_addToMenus.push(this); + m_addToMenus.push(new JMenu(label)); }//}}} //{{{ add() @@ -91,11 +87,7 @@ maybeAddMenu(); JMenuItem r; JMenu menu = getCurrentMenu(); - if (menu == this) { - r = super.add(a); - } else { - r = menu.add(a); - } + r = menu.add(a); m_menuHash.put(r, getCurrentMenu()); return r; }//}}} @@ -106,11 +98,7 @@ maybeAddMenu(); Component r; JMenu menu = getCurrentMenu(); - if (menu == this) { - r = super.add(c); - } else { - r = menu.add(c); - } + r = menu.add(c); m_menuHash.put(r, getCurrentMenu()); return r; }//}}} @@ -126,11 +114,7 @@ int addIndex = (int)(index / m_wrapCount); int addSubIndex = (index % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - r = super.add(c, addSubIndex); - } else { - r = menu.add(c, addSubIndex); - } + r = menu.add(c, addSubIndex); updateSubMenus(); } return r; @@ -145,11 +129,7 @@ } JMenuItem r; JMenu menu = getCurrentMenu(); - if (menu == this) { - r = super.add(menuItem); - } else { - r = menu.add(menuItem); - } + r = menu.add(menuItem); return r; }//}}} @@ -159,11 +139,7 @@ maybeAddMenu(); JMenuItem r; JMenu menu = getCurrentMenu(); - if (menu == this) { - r = super.add(s); - } else { - r = menu.add(s); - } + r = menu.add(s); m_menuHash.put(r, getCurrentMenu()); return r; }//}}} @@ -179,11 +155,7 @@ int addIndex = (int)(pos / m_wrapCount); int addSubIndex = (pos % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - r = super.insert(a, addSubIndex); - } else { - r = menu.insert(a, addSubIndex); - } + r = menu.insert(a, addSubIndex); updateSubMenus(); } return r; @@ -200,17 +172,13 @@ int addIndex = (int)(pos / m_wrapCount); int addSubIndex = (pos % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - r = super.insert(mi, addSubIndex); - } else { - r = menu.insert(mi, addSubIndex); - } + r = menu.insert(mi, addSubIndex); updateSubMenus(); } return r; }//}}} - //{{{ insert + //{{{ insert() public void insert(String s, int pos) { if (pos == -1) { @@ -220,11 +188,7 @@ int addIndex = (int)(pos / m_wrapCount); int addSubIndex = (pos % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - super.insert(s, addSubIndex); - } else { - menu.insert(s, addSubIndex); - } + menu.insert(s, addSubIndex); updateSubMenus(); } }//}}} @@ -233,12 +197,7 @@ public void remove(Component c) { JMenu menu = (JMenu)m_menuHash.get(c); - if (menu == this) { - super.remove(c); - } else { - menu.remove(c); - } - + menu.remove(c); m_menuHash.remove(c); updateSubMenus(); }//}}} @@ -253,11 +212,7 @@ public void remove(JMenuItem item) { JMenu menu = (JMenu)m_menuHash.get(item); - if (menu == this) { - super.remove(item); - } else { - menu.remove(item); - } + menu.remove(item); m_menuHash.remove(item); updateSubMenus(); }//}}} @@ -265,10 +220,11 @@ //{{{ removeAll() public void removeAll() { + JMenu menu = getJMenu(); + menu.removeAll(); m_menuHash = new HashMap(); m_addToMenus = new Stack(); - m_addToMenus.push(this); - super.removeAll(); + m_addToMenus.push(menu); }//}}} //{{{ getMenuComponent() @@ -280,14 +236,10 @@ int addIndex = (int)(n / m_wrapCount); int addSubIndex = (n % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - return super.getMenuComponent(addSubIndex); - } else { - return menu.getMenuComponent(addSubIndex); - } + return menu.getMenuComponent(addSubIndex); }//}}} - //{{{ getMenuComponentCount + //{{{ getMenuComponentCount() /** * Gets the total number of components in this menu * and submenus. @@ -297,6 +249,14 @@ return m_menuHash.keySet().size(); }//}}} + //{{{ getJMenu() + /** + * Gets the JMenu that is used by Swing for this WrappingMenu. + */ + public JMenu getJMenu() { + return (JMenu)m_addToMenus.get(0); + }//}}} + //{{{ MoreMenu class /** * A submenu used by the <code>WrappingMenu</code>. Classes that extend @@ -328,18 +288,6 @@ //{{{ Private members - //{{{ getTrueMenuItemCount() - /** - * Gets the true item count for a sub-menu - */ - private int getTrueMenuItemCount(JMenu menu) { - if (menu == this) { - return super.getMenuComponentCount(); - } else { - return menu.getMenuComponentCount(); - } - }//}}} - //{{{ getCurrentMenu() /** * Gets the current menu that we are adding to. @@ -358,7 +306,7 @@ JMenu menu = (JMenu)m_addToMenus.get(i); //greater than wrap count + 1 because of the "More" menu item. - while (getTrueMenuItemCount(menu) > m_wrapCount + 1) { + while (menu.getMenuComponentCount() > m_wrapCount + 1) { //If we need another menu then make one. JMenu nextMenu; @@ -371,25 +319,21 @@ nextMenu = moreMenu; } - int index = getTrueMenuItemCount(menu)-2; + int index = menu.getMenuComponentCount()-2; Component menuComponent = menu.getComponent(index); menu.remove(index); nextMenu.add(menuComponent, 0); } //while there are less than we want in the menu and it's not the last menu - while (getTrueMenuItemCount(menu) < m_wrapCount + 1 && i+1 < m_addToMenus.size()) { + while (menu.getMenuComponentCount() < m_wrapCount + 1 && i+1 < m_addToMenus.size()) { JMenu nextMenu = (JMenu)m_addToMenus.get(i+1); Component menuComponent = nextMenu.getMenuComponent(0); nextMenu.remove(0); - if (menu == this) { - super.add(menuComponent, getTrueMenuItemCount(this)-1); - } else { - menu.add(menuComponent, getTrueMenuItemCount(menu)-1); - } + menu.add(menuComponent, menu.getMenuComponentCount()-1); - if (getTrueMenuItemCount(nextMenu) == 0) { + if (nextMenu.getMenuComponentCount() == 0) { menu.remove(nextMenu); m_addToMenus.pop(); //if it's empty it must be the last menu. } @@ -402,7 +346,7 @@ * Updates the menu that we are truly adding to. */ private void maybeAddMenu() { - int componentCount = getTrueMenuItemCount(getCurrentMenu()); + int componentCount = getCurrentMenu().getMenuComponentCount(); if (componentCount >= m_wrapCount) { MoreMenu menu = createMoreMenu(); ((JMenu)m_addToMenus.peek()).add(menu); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-29 16:06:04
|
Revision: 1196 Author: ian_lewis Date: 2006-08-29 09:05:55 -0700 (Tue, 29 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1196&view=rev Log Message: ----------- Merge from 05pre3 branch rev. 1195 Modified Paths: -------------- trunk/treeview/src/treeview/TreeViewTree.java Modified: trunk/treeview/src/treeview/TreeViewTree.java =================================================================== --- trunk/treeview/src/treeview/TreeViewTree.java 2006-08-29 16:00:13 UTC (rev 1195) +++ trunk/treeview/src/treeview/TreeViewTree.java 2006-08-29 16:05:55 UTC (rev 1196) @@ -451,8 +451,8 @@ if (selectedNode.getNodeType() == Node.ELEMENT_NODE) { - JMenu addElement = new WrappingMenu(Messages.getMessage("xml.element"), 20); - addNodeItem.add(addElement); + WrappingMenu addElement = new WrappingMenu(Messages.getMessage("xml.element"), 20); + addNodeItem.add(addElement.getJMenu()); addElement.add(ActionManager.getAction("treeview.add.element.node")); Iterator allowedElements = selectedNode.getAllowedElements().iterator(); @@ -463,8 +463,8 @@ //Add the allowed entities even if no matter what - JMenu addEntity = new WrappingMenu(Messages.getMessage("xml.entity.reference"), 20); - addNodeItem.add(addEntity); + WrappingMenu addEntity = new WrappingMenu(Messages.getMessage("xml.entity.reference"), 20); + addNodeItem.add(addEntity.getJMenu()); Iterator allowedEntities = ownerDocument.getAllowedEntities().iterator(); while (allowedEntities.hasNext()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-29 16:00:38
|
Revision: 1195 Author: ian_lewis Date: 2006-08-29 09:00:13 -0700 (Tue, 29 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1195&view=rev Log Message: ----------- Fixed memory leak bug 1548245 and 1548210 Modified Paths: -------------- tags/05pre3/treeview/src/treeview/TreeViewTree.java Modified: tags/05pre3/treeview/src/treeview/TreeViewTree.java =================================================================== --- tags/05pre3/treeview/src/treeview/TreeViewTree.java 2006-08-29 15:59:28 UTC (rev 1194) +++ tags/05pre3/treeview/src/treeview/TreeViewTree.java 2006-08-29 16:00:13 UTC (rev 1195) @@ -451,8 +451,8 @@ if (selectedNode.getNodeType() == Node.ELEMENT_NODE) { - JMenu addElement = new WrappingMenu(Messages.getMessage("xml.element"), 20); - addNodeItem.add(addElement); + WrappingMenu addElement = new WrappingMenu(Messages.getMessage("xml.element"), 20); + addNodeItem.add(addElement.getJMenu()); addElement.add(ActionManager.getAction("treeview.add.element.node")); Iterator allowedElements = selectedNode.getAllowedElements().iterator(); @@ -463,8 +463,8 @@ //Add the allowed entities even if no matter what - JMenu addEntity = new WrappingMenu(Messages.getMessage("xml.entity.reference"), 20); - addNodeItem.add(addEntity); + WrappingMenu addEntity = new WrappingMenu(Messages.getMessage("xml.entity.reference"), 20); + addNodeItem.add(addEntity.getJMenu()); Iterator allowedEntities = ownerDocument.getAllowedEntities().iterator(); while (allowedEntities.hasNext()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-29 16:00:31
|
Revision: 1194 Author: ian_lewis Date: 2006-08-29 08:59:28 -0700 (Tue, 29 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1194&view=rev Log Message: ----------- Fixed memory leak bug 1548245 and 1548210 Modified Paths: -------------- tags/05pre3/jsxe/Changelog tags/05pre3/jsxe/build.xml tags/05pre3/jsxe/src/net/sourceforge/jsxe/ActionManager.java tags/05pre3/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java tags/05pre3/jsxe/src/net/sourceforge/jsxe/gui/menu/WrappingMenu.java Modified: tags/05pre3/jsxe/Changelog =================================================================== --- tags/05pre3/jsxe/Changelog 2006-08-29 14:42:52 UTC (rev 1193) +++ tags/05pre3/jsxe/Changelog 2006-08-29 15:59:28 UTC (rev 1194) @@ -1,3 +1,9 @@ +08/29/2006 Ian Lewis <Ian...@me...> + + * Fixed a memory leak with JMenuItems. ActionManager kept a cache of + Wrapper Action objects. JMenu items register listeners with those Actions + so the JMenuItems would never be Garbage collected. + 08/28/2006 Ian Lewis <Ian...@me...> * Fixed default key binding for exit. Modified: tags/05pre3/jsxe/build.xml =================================================================== --- tags/05pre3/jsxe/build.xml 2006-08-29 14:42:52 UTC (rev 1193) +++ tags/05pre3/jsxe/build.xml 2006-08-29 15:59:28 UTC (rev 1194) @@ -266,6 +266,15 @@ </fileset> </copy> + <!-- copy the lib directory so that the jsXe.exe can be run + from the build dir --> + <mkdir dir="${build.lib}"/> + <copy todir="${build.lib}"> + <fileset dir="${lib.dir}"> + <include name="**/*"/> + </fileset> + </copy> + <!-- set the build properties --> <propertyfile comment="${app.name}'s build properties" file="${build.dest}/net/sourceforge/jsxe/build.properties"> <entry key="application.name" value="${app.name}"/> @@ -328,13 +337,6 @@ <!-- }}} --> <!-- {{{ ============ Prepares for a build ============================= --> <target depends="init" name="prepare-build"> - <!-- lib --> - <mkdir dir="${build.dir}/lib"/> - <copy todir="${build.dir}/lib"> - <fileset dir="${lib.dir}"> - <include name="**/*"/> - </fileset> - </copy> <!-- bin --> <mkdir dir="${build.dir}/bin"/> <copy todir="${build.dir}/bin"> @@ -571,15 +573,6 @@ <!-- {{{ create the win tar.bz2 file --> - <!-- copy the lib directory so that the jsXe.exe can be run - from the build dir --> - <mkdir dir="${build.dir}/lib"/> - <copy todir="${build.dir}/lib"> - <fileset dir="${build.lib}"> - <include name="**/*"/> - </fileset> - </copy> - <!-- create the windows exe --> <taskdef name="launch4j" classname="net.sf.launch4j.ant.Launch4jTask" Modified: tags/05pre3/jsxe/src/net/sourceforge/jsxe/ActionManager.java =================================================================== --- tags/05pre3/jsxe/src/net/sourceforge/jsxe/ActionManager.java 2006-08-29 14:42:52 UTC (rev 1193) +++ tags/05pre3/jsxe/src/net/sourceforge/jsxe/ActionManager.java 2006-08-29 15:59:28 UTC (rev 1194) @@ -118,8 +118,11 @@ * @param name the name of the action. */ public static Action getAction(String name) { - Action action = (Action)m_actionMap.get(name); - if (action == null) { + // We can't keep a cache of Wrappers because JMenuItems register + //listeners with them and would never be GCed. + Action action = null; + // Action action = (Action)m_actionMap.get(name); + // if (action == null) { LocalizedAction editAction = getLocalizedAction(name); if (editAction != null) { action = new Wrapper(name); @@ -135,11 +138,11 @@ action.putValue(Action.ACCELERATOR_KEY, KeyEventTranslator.getKeyStroke(keyBinding)); } - m_actionMap.put(name, action); + // m_actionMap.put(name, action); } else { Log.log(Log.WARNING,ActionManager.class,"Unknown action: "+ name); } - } + // } return action; }//}}} @@ -326,7 +329,7 @@ /** * This is an name to Wrapper mapping. */ - private static HashMap m_actionMap = new HashMap(); + // private static HashMap m_actionMap = new HashMap(); private static ArrayList m_actionSets = new ArrayList(); private static boolean initialized = false; Modified: tags/05pre3/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java =================================================================== --- tags/05pre3/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java 2006-08-29 14:42:52 UTC (rev 1193) +++ tags/05pre3/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java 2006-08-29 15:59:28 UTC (rev 1194) @@ -462,17 +462,16 @@ m_recentFilesMenu.removeAll(); ArrayList historyEntries = jsXe.getBufferHistory().getEntries(); int index = 0; - JMenu addMenu = m_recentFilesMenu; Iterator historyItr = historyEntries.iterator(); while (historyItr.hasNext()) { BufferHistory.BufferHistoryEntry entry = (BufferHistory.BufferHistoryEntry)historyItr.next(); - addMenu.add(new JMenuItem(new OpenRecentFileAction(this, entry))); + m_recentFilesMenu.add(new JMenuItem(new OpenRecentFileAction(this, entry))); index++; } - if (addMenu.getItemCount() == 0) { + if (m_recentFilesMenu.getMenuComponentCount() == 0) { JMenuItem nullItem = new JMenuItem(Messages.getMessage("File.Recent.None")); nullItem.setEnabled(false); - addMenu.add(nullItem); + m_recentFilesMenu.add(nullItem); } }//}}} @@ -667,7 +666,7 @@ //Add recent files menu m_recentFilesMenu = new WrappingMenu(Messages.getMessage("File.Recent"), jsXe.getIntegerProperty("menu.spill.over", 20)); - m_fileMenu.add(m_recentFilesMenu); + m_fileMenu.add(m_recentFilesMenu.getJMenu()); m_fileMenu.addSeparator(); menuItem = new JMenuItem(ActionManager.getAction("save-file")); Modified: tags/05pre3/jsxe/src/net/sourceforge/jsxe/gui/menu/WrappingMenu.java =================================================================== --- tags/05pre3/jsxe/src/net/sourceforge/jsxe/gui/menu/WrappingMenu.java 2006-08-29 14:42:52 UTC (rev 1193) +++ tags/05pre3/jsxe/src/net/sourceforge/jsxe/gui/menu/WrappingMenu.java 2006-08-29 15:59:28 UTC (rev 1194) @@ -28,7 +28,6 @@ //{{{ jsXe classes import net.sourceforge.jsxe.gui.Messages; -import net.sourceforge.jsxe.EBListener; //}}} //{{{ Java classes @@ -47,15 +46,14 @@ * @author Ian Lewis (<a href="mailto:Ian...@me...">Ian...@me...</a>) * @version $Id$ */ -public class WrappingMenu extends JMenu { +public class WrappingMenu { //{{{ WrappingMenu constructor /** * Constructs a WrappingMenu without an "invoker" and the default wrap count of 20. */ public WrappingMenu() { - super(); - m_addToMenus.push(this); + m_addToMenus.push(new JMenu()); }//}}} //{{{ WrappingMenu constructor @@ -66,9 +64,8 @@ * it wraps. */ public WrappingMenu(int wrapCount) { - super(); m_wrapCount = wrapCount; - m_addToMenus.push(this); + m_addToMenus.push(new JMenu()); }//}}} //{{{ WrappingMenu constructor @@ -80,9 +77,8 @@ * it wraps. */ public WrappingMenu(String label, int wrapCount) { - super(label); m_wrapCount = wrapCount; - m_addToMenus.push(this); + m_addToMenus.push(new JMenu(label)); }//}}} //{{{ add() @@ -91,11 +87,7 @@ maybeAddMenu(); JMenuItem r; JMenu menu = getCurrentMenu(); - if (menu == this) { - r = super.add(a); - } else { - r = menu.add(a); - } + r = menu.add(a); m_menuHash.put(r, getCurrentMenu()); return r; }//}}} @@ -106,11 +98,7 @@ maybeAddMenu(); Component r; JMenu menu = getCurrentMenu(); - if (menu == this) { - r = super.add(c); - } else { - r = menu.add(c); - } + r = menu.add(c); m_menuHash.put(r, getCurrentMenu()); return r; }//}}} @@ -126,11 +114,7 @@ int addIndex = (int)(index / m_wrapCount); int addSubIndex = (index % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - r = super.add(c, addSubIndex); - } else { - r = menu.add(c, addSubIndex); - } + r = menu.add(c, addSubIndex); updateSubMenus(); } return r; @@ -145,11 +129,7 @@ } JMenuItem r; JMenu menu = getCurrentMenu(); - if (menu == this) { - r = super.add(menuItem); - } else { - r = menu.add(menuItem); - } + r = menu.add(menuItem); return r; }//}}} @@ -159,11 +139,7 @@ maybeAddMenu(); JMenuItem r; JMenu menu = getCurrentMenu(); - if (menu == this) { - r = super.add(s); - } else { - r = menu.add(s); - } + r = menu.add(s); m_menuHash.put(r, getCurrentMenu()); return r; }//}}} @@ -179,11 +155,7 @@ int addIndex = (int)(pos / m_wrapCount); int addSubIndex = (pos % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - r = super.insert(a, addSubIndex); - } else { - r = menu.insert(a, addSubIndex); - } + r = menu.insert(a, addSubIndex); updateSubMenus(); } return r; @@ -200,17 +172,13 @@ int addIndex = (int)(pos / m_wrapCount); int addSubIndex = (pos % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - r = super.insert(mi, addSubIndex); - } else { - r = menu.insert(mi, addSubIndex); - } + r = menu.insert(mi, addSubIndex); updateSubMenus(); } return r; }//}}} - //{{{ insert + //{{{ insert() public void insert(String s, int pos) { if (pos == -1) { @@ -220,11 +188,7 @@ int addIndex = (int)(pos / m_wrapCount); int addSubIndex = (pos % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - super.insert(s, addSubIndex); - } else { - menu.insert(s, addSubIndex); - } + menu.insert(s, addSubIndex); updateSubMenus(); } }//}}} @@ -233,12 +197,7 @@ public void remove(Component c) { JMenu menu = (JMenu)m_menuHash.get(c); - if (menu == this) { - super.remove(c); - } else { - menu.remove(c); - } - + menu.remove(c); m_menuHash.remove(c); updateSubMenus(); }//}}} @@ -253,11 +212,7 @@ public void remove(JMenuItem item) { JMenu menu = (JMenu)m_menuHash.get(item); - if (menu == this) { - super.remove(item); - } else { - menu.remove(item); - } + menu.remove(item); m_menuHash.remove(item); updateSubMenus(); }//}}} @@ -265,10 +220,11 @@ //{{{ removeAll() public void removeAll() { + JMenu menu = getJMenu(); + menu.removeAll(); m_menuHash = new HashMap(); m_addToMenus = new Stack(); - m_addToMenus.push(this); - super.removeAll(); + m_addToMenus.push(menu); }//}}} //{{{ getMenuComponent() @@ -280,14 +236,10 @@ int addIndex = (int)(n / m_wrapCount); int addSubIndex = (n % m_wrapCount); JMenu menu = (JMenu)m_addToMenus.get(addIndex); - if (menu == this) { - return super.getMenuComponent(addSubIndex); - } else { - return menu.getMenuComponent(addSubIndex); - } + return menu.getMenuComponent(addSubIndex); }//}}} - //{{{ getMenuComponentCount + //{{{ getMenuComponentCount() /** * Gets the total number of components in this menu * and submenus. @@ -297,6 +249,14 @@ return m_menuHash.keySet().size(); }//}}} + //{{{ getJMenu() + /** + * Gets the JMenu that is used by Swing for this WrappingMenu. + */ + public JMenu getJMenu() { + return (JMenu)m_addToMenus.get(0); + }//}}} + //{{{ MoreMenu class /** * A submenu used by the <code>WrappingMenu</code>. Classes that extend @@ -328,18 +288,6 @@ //{{{ Private members - //{{{ getTrueMenuItemCount() - /** - * Gets the true item count for a sub-menu - */ - private int getTrueMenuItemCount(JMenu menu) { - if (menu == this) { - return super.getMenuComponentCount(); - } else { - return menu.getMenuComponentCount(); - } - }//}}} - //{{{ getCurrentMenu() /** * Gets the current menu that we are adding to. @@ -358,7 +306,7 @@ JMenu menu = (JMenu)m_addToMenus.get(i); //greater than wrap count + 1 because of the "More" menu item. - while (getTrueMenuItemCount(menu) > m_wrapCount + 1) { + while (menu.getMenuComponentCount() > m_wrapCount + 1) { //If we need another menu then make one. JMenu nextMenu; @@ -371,25 +319,21 @@ nextMenu = moreMenu; } - int index = getTrueMenuItemCount(menu)-2; + int index = menu.getMenuComponentCount()-2; Component menuComponent = menu.getComponent(index); menu.remove(index); nextMenu.add(menuComponent, 0); } //while there are less than we want in the menu and it's not the last menu - while (getTrueMenuItemCount(menu) < m_wrapCount + 1 && i+1 < m_addToMenus.size()) { + while (menu.getMenuComponentCount() < m_wrapCount + 1 && i+1 < m_addToMenus.size()) { JMenu nextMenu = (JMenu)m_addToMenus.get(i+1); Component menuComponent = nextMenu.getMenuComponent(0); nextMenu.remove(0); - if (menu == this) { - super.add(menuComponent, getTrueMenuItemCount(this)-1); - } else { - menu.add(menuComponent, getTrueMenuItemCount(menu)-1); - } + menu.add(menuComponent, menu.getMenuComponentCount()-1); - if (getTrueMenuItemCount(nextMenu) == 0) { + if (nextMenu.getMenuComponentCount() == 0) { menu.remove(nextMenu); m_addToMenus.pop(); //if it's empty it must be the last menu. } @@ -402,7 +346,7 @@ * Updates the menu that we are truly adding to. */ private void maybeAddMenu() { - int componentCount = getTrueMenuItemCount(getCurrentMenu()); + int componentCount = getCurrentMenu().getMenuComponentCount(); if (componentCount >= m_wrapCount) { MoreMenu menu = createMoreMenu(); ((JMenu)m_addToMenus.peek()).add(menu); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-29 14:43:00
|
Revision: 1193 Author: ian_lewis Date: 2006-08-29 07:42:52 -0700 (Tue, 29 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1193&view=rev Log Message: ----------- Merge from 05pre3 branch Modified Paths: -------------- trunk/jsxe/bin/jsXe.bat trunk/jsxe/bin/jsXe.sh Modified: trunk/jsxe/bin/jsXe.bat =================================================================== --- trunk/jsxe/bin/jsXe.bat 2006-08-29 14:36:25 UTC (rev 1192) +++ trunk/jsxe/bin/jsXe.bat 2006-08-29 14:42:52 UTC (rev 1193) @@ -1,7 +1,7 @@ @ECHO OFF set JSXEDIR=. -set CLASSPATH=%JSXEDIR%/jsXe.jar;%JSXEDIR%/lib/xml-apis.jar;%JSXEDIR%/lib/xercesImpl.jar;%JSXEDIR%/lib/resolver.jar -set JSXE=net.sourceforge.jsxe.jsXe +rem set CLASSPATH=%JSXEDIR%/jsXe.jar;%JSXEDIR%/lib/xml-apis.jar;%JSXEDIR%/lib/xercesImpl.jar;%JSXEDIR%/lib/resolver.jar +rem set JSXE=net.sourceforge.jsxe.jsXe set JAVA_HEAP_SIZE=32 -java -mx%JAVA_HEAP_SIZE%m -cp %CLASSPATH% %JSXE% %1 %2 %3 %4 %5 %6 %7 %8 %9 -if errorlevel 1 pause +javaw -server -mx%JAVA_HEAP_SIZE%m -Djava.endorsed.dirs=%JSXEDIR%/lib -jar %JSXEDIR%/jsXe.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 +if errorlevel 1 pause \ No newline at end of file Modified: trunk/jsxe/bin/jsXe.sh =================================================================== --- trunk/jsxe/bin/jsXe.sh 2006-08-29 14:36:25 UTC (rev 1192) +++ trunk/jsxe/bin/jsXe.sh 2006-08-29 14:42:52 UTC (rev 1193) @@ -1,6 +1,5 @@ #!/bin/sh +# Java heap size, in megabytes JSXEDIR=. -CLASSPATH=$JSXEDIR/jsXe.jar:$JSXEDIR/lib/xml-apis.jar:$JSXEDIR/lib/xercesImpl.jar:$JSXEDIR/lib/resolver.jar -JSXE=net.sourceforge.jsxe.jsXe JAVA_HEAP_SIZE=32 -exec java -mx${JAVA_HEAP_SIZE}m -cp $CLASSPATH $JSXE $@ +exec java -server -mx${JAVA_HEAP_SIZE}m -Djava.endorsed.dirs=${JSXEDIR}/lib ${JSXE} -jar ${JSXEDIR}/jsXe.jar $@ \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-29 14:36:37
|
Revision: 1192 Author: ian_lewis Date: 2006-08-29 07:36:25 -0700 (Tue, 29 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1192&view=rev Log Message: ----------- updated run scripts for jsxe Modified Paths: -------------- tags/05pre3/jsxe/bin/jsXe.bat tags/05pre3/jsxe/bin/jsXe.sh Modified: tags/05pre3/jsxe/bin/jsXe.bat =================================================================== --- tags/05pre3/jsxe/bin/jsXe.bat 2006-08-29 02:13:58 UTC (rev 1191) +++ tags/05pre3/jsxe/bin/jsXe.bat 2006-08-29 14:36:25 UTC (rev 1192) @@ -1,7 +1,7 @@ @ECHO OFF set JSXEDIR=. -set CLASSPATH=%JSXEDIR%/jsXe.jar;%JSXEDIR%/lib/xml-apis.jar;%JSXEDIR%/lib/xercesImpl.jar;%JSXEDIR%/lib/resolver.jar -set JSXE=net.sourceforge.jsxe.jsXe +rem set CLASSPATH=%JSXEDIR%/jsXe.jar;%JSXEDIR%/lib/xml-apis.jar;%JSXEDIR%/lib/xercesImpl.jar;%JSXEDIR%/lib/resolver.jar +rem set JSXE=net.sourceforge.jsxe.jsXe set JAVA_HEAP_SIZE=32 -java -mx%JAVA_HEAP_SIZE%m -cp %CLASSPATH% %JSXE% %1 %2 %3 %4 %5 %6 %7 %8 %9 -if errorlevel 1 pause +javaw -server -mx%JAVA_HEAP_SIZE%m -Djava.endorsed.dirs=%JSXEDIR%/lib -jar %JSXEDIR%/jsXe.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 +if errorlevel 1 pause \ No newline at end of file Modified: tags/05pre3/jsxe/bin/jsXe.sh =================================================================== --- tags/05pre3/jsxe/bin/jsXe.sh 2006-08-29 02:13:58 UTC (rev 1191) +++ tags/05pre3/jsxe/bin/jsXe.sh 2006-08-29 14:36:25 UTC (rev 1192) @@ -1,6 +1,5 @@ #!/bin/sh +# Java heap size, in megabytes JSXEDIR=. -CLASSPATH=$JSXEDIR/jsXe.jar:$JSXEDIR/lib/xml-apis.jar:$JSXEDIR/lib/xercesImpl.jar:$JSXEDIR/lib/resolver.jar -JSXE=net.sourceforge.jsxe.jsXe JAVA_HEAP_SIZE=32 -exec java -mx${JAVA_HEAP_SIZE}m -cp $CLASSPATH $JSXE $@ +exec java -server -mx${JAVA_HEAP_SIZE}m -Djava.endorsed.dirs=${JSXEDIR}/lib ${JSXE} -jar ${JSXEDIR}/jsXe.jar $@ \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-29 02:16:49
|
Revision: 1191 Author: ian_lewis Date: 2006-08-28 19:13:58 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1191&view=rev Log Message: ----------- Added base support for building documentation for jsXe Modified Paths: -------------- trunk/jsxe/Changelog trunk/jsxe/INSTALL trunk/jsxe/build.xml Added Paths: ----------- trunk/jsxe/buildlib/avalon.jar trunk/jsxe/buildlib/batik.jar trunk/jsxe/buildlib/docbook/ trunk/jsxe/buildlib/docbook/VERSION trunk/jsxe/buildlib/docbook/catalog.xml trunk/jsxe/buildlib/docbook/common/ trunk/jsxe/buildlib/docbook/common/ChangeLog trunk/jsxe/buildlib/docbook/common/af.xml trunk/jsxe/buildlib/docbook/common/ar.xml trunk/jsxe/buildlib/docbook/common/autoidx-ng.xsl trunk/jsxe/buildlib/docbook/common/bg.xml trunk/jsxe/buildlib/docbook/common/bn.xml trunk/jsxe/buildlib/docbook/common/bs.xml trunk/jsxe/buildlib/docbook/common/ca.xml trunk/jsxe/buildlib/docbook/common/common.xsl trunk/jsxe/buildlib/docbook/common/cs.xml trunk/jsxe/buildlib/docbook/common/da.xml trunk/jsxe/buildlib/docbook/common/de.xml trunk/jsxe/buildlib/docbook/common/el.xml trunk/jsxe/buildlib/docbook/common/en.xml trunk/jsxe/buildlib/docbook/common/es.xml trunk/jsxe/buildlib/docbook/common/et.xml trunk/jsxe/buildlib/docbook/common/eu.xml trunk/jsxe/buildlib/docbook/common/fa.xml trunk/jsxe/buildlib/docbook/common/fi.xml trunk/jsxe/buildlib/docbook/common/fr.xml trunk/jsxe/buildlib/docbook/common/gentext.xsl trunk/jsxe/buildlib/docbook/common/he.xml trunk/jsxe/buildlib/docbook/common/hr.xml trunk/jsxe/buildlib/docbook/common/hu.xml trunk/jsxe/buildlib/docbook/common/id.xml trunk/jsxe/buildlib/docbook/common/it.xml trunk/jsxe/buildlib/docbook/common/ja.xml trunk/jsxe/buildlib/docbook/common/ko.xml trunk/jsxe/buildlib/docbook/common/l10n.dtd trunk/jsxe/buildlib/docbook/common/l10n.xml trunk/jsxe/buildlib/docbook/common/l10n.xsl trunk/jsxe/buildlib/docbook/common/la.xml trunk/jsxe/buildlib/docbook/common/labels.xsl trunk/jsxe/buildlib/docbook/common/lt.xml trunk/jsxe/buildlib/docbook/common/nl.xml trunk/jsxe/buildlib/docbook/common/nn.xml trunk/jsxe/buildlib/docbook/common/no.xml trunk/jsxe/buildlib/docbook/common/olink.xsl trunk/jsxe/buildlib/docbook/common/pi.xsl trunk/jsxe/buildlib/docbook/common/pl.xml trunk/jsxe/buildlib/docbook/common/pt.xml trunk/jsxe/buildlib/docbook/common/pt_br.xml trunk/jsxe/buildlib/docbook/common/ro.xml trunk/jsxe/buildlib/docbook/common/ru.xml trunk/jsxe/buildlib/docbook/common/sk.xml trunk/jsxe/buildlib/docbook/common/sl.xml trunk/jsxe/buildlib/docbook/common/sr.xml trunk/jsxe/buildlib/docbook/common/sr_Latn.xml trunk/jsxe/buildlib/docbook/common/subtitles.xsl trunk/jsxe/buildlib/docbook/common/sv.xml trunk/jsxe/buildlib/docbook/common/table.xsl trunk/jsxe/buildlib/docbook/common/targetdatabase.dtd trunk/jsxe/buildlib/docbook/common/targets.xsl trunk/jsxe/buildlib/docbook/common/th.xml trunk/jsxe/buildlib/docbook/common/titles.xsl trunk/jsxe/buildlib/docbook/common/tr.xml trunk/jsxe/buildlib/docbook/common/uk.xml trunk/jsxe/buildlib/docbook/common/vi.xml trunk/jsxe/buildlib/docbook/common/xh.xml trunk/jsxe/buildlib/docbook/common/zh_cn.xml trunk/jsxe/buildlib/docbook/common/zh_tw.xml trunk/jsxe/buildlib/docbook/dtd/ trunk/jsxe/buildlib/docbook/dtd/calstblx.dtd trunk/jsxe/buildlib/docbook/dtd/catalog trunk/jsxe/buildlib/docbook/dtd/catalog.xml trunk/jsxe/buildlib/docbook/dtd/dbcentx.mod trunk/jsxe/buildlib/docbook/dtd/dbgenent.mod trunk/jsxe/buildlib/docbook/dtd/dbhierx.mod trunk/jsxe/buildlib/docbook/dtd/dbnotnx.mod trunk/jsxe/buildlib/docbook/dtd/dbpoolx.mod trunk/jsxe/buildlib/docbook/dtd/docbookx.dtd trunk/jsxe/buildlib/docbook/dtd/ent/ trunk/jsxe/buildlib/docbook/dtd/ent/ISOamsa.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOamsb.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOamsc.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOamsn.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOamso.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOamsr.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISObox.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOcyr1.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOcyr2.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOdia.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOgrk1.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOgrk2.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOgrk3.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOgrk4.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOlat1.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOlat2.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOnum.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOpub.ent trunk/jsxe/buildlib/docbook/dtd/ent/ISOtech.ent trunk/jsxe/buildlib/docbook/dtd/ent/catalog trunk/jsxe/buildlib/docbook/dtd/ent/catalog.xml trunk/jsxe/buildlib/docbook/dtd/htmltblx.mod trunk/jsxe/buildlib/docbook/dtd/soextblx.dtd trunk/jsxe/buildlib/docbook/fo/ trunk/jsxe/buildlib/docbook/fo/ChangeLog trunk/jsxe/buildlib/docbook/fo/admon.xsl trunk/jsxe/buildlib/docbook/fo/autoidx-ng.xsl trunk/jsxe/buildlib/docbook/fo/autoidx.xsl trunk/jsxe/buildlib/docbook/fo/autotoc.xsl trunk/jsxe/buildlib/docbook/fo/axf.xsl trunk/jsxe/buildlib/docbook/fo/biblio.xsl trunk/jsxe/buildlib/docbook/fo/block.xsl trunk/jsxe/buildlib/docbook/fo/callout.xsl trunk/jsxe/buildlib/docbook/fo/component.xsl trunk/jsxe/buildlib/docbook/fo/division.xsl trunk/jsxe/buildlib/docbook/fo/docbook.xsl trunk/jsxe/buildlib/docbook/fo/docbookng.xsl trunk/jsxe/buildlib/docbook/fo/ebnf.xsl trunk/jsxe/buildlib/docbook/fo/fo-patch-for-fop.xsl trunk/jsxe/buildlib/docbook/fo/fo-rtf.xsl trunk/jsxe/buildlib/docbook/fo/fo.xsl trunk/jsxe/buildlib/docbook/fo/footnote.xsl trunk/jsxe/buildlib/docbook/fo/fop.xsl trunk/jsxe/buildlib/docbook/fo/formal.xsl trunk/jsxe/buildlib/docbook/fo/glossary.xsl trunk/jsxe/buildlib/docbook/fo/graphics.xsl trunk/jsxe/buildlib/docbook/fo/htmltbl.xsl trunk/jsxe/buildlib/docbook/fo/index.xsl trunk/jsxe/buildlib/docbook/fo/info.xsl trunk/jsxe/buildlib/docbook/fo/inline.xsl trunk/jsxe/buildlib/docbook/fo/keywords.xsl trunk/jsxe/buildlib/docbook/fo/lists.xsl trunk/jsxe/buildlib/docbook/fo/math.xsl trunk/jsxe/buildlib/docbook/fo/pagesetup.xsl trunk/jsxe/buildlib/docbook/fo/param.ent trunk/jsxe/buildlib/docbook/fo/param.xml trunk/jsxe/buildlib/docbook/fo/param.xsl trunk/jsxe/buildlib/docbook/fo/param.xweb trunk/jsxe/buildlib/docbook/fo/passivetex.xsl trunk/jsxe/buildlib/docbook/fo/pdf2index trunk/jsxe/buildlib/docbook/fo/pi.xsl trunk/jsxe/buildlib/docbook/fo/profile-docbook.xsl trunk/jsxe/buildlib/docbook/fo/qandaset.xsl trunk/jsxe/buildlib/docbook/fo/refentry.xsl trunk/jsxe/buildlib/docbook/fo/sections.xsl trunk/jsxe/buildlib/docbook/fo/synop.xsl trunk/jsxe/buildlib/docbook/fo/table.xsl trunk/jsxe/buildlib/docbook/fo/task.xsl trunk/jsxe/buildlib/docbook/fo/titlepage.templates.xml trunk/jsxe/buildlib/docbook/fo/titlepage.templates.xsl trunk/jsxe/buildlib/docbook/fo/titlepage.xsl trunk/jsxe/buildlib/docbook/fo/toc.xsl trunk/jsxe/buildlib/docbook/fo/verbatim.xsl trunk/jsxe/buildlib/docbook/fo/xep.xsl trunk/jsxe/buildlib/docbook/fo/xref.xsl trunk/jsxe/buildlib/docbook/html/ trunk/jsxe/buildlib/docbook/html/ChangeLog trunk/jsxe/buildlib/docbook/html/admon.xsl trunk/jsxe/buildlib/docbook/html/autoidx-ng.xsl trunk/jsxe/buildlib/docbook/html/autoidx.xsl trunk/jsxe/buildlib/docbook/html/autotoc.xsl trunk/jsxe/buildlib/docbook/html/biblio.xsl trunk/jsxe/buildlib/docbook/html/block.xsl trunk/jsxe/buildlib/docbook/html/callout.xsl trunk/jsxe/buildlib/docbook/html/changebars.xsl trunk/jsxe/buildlib/docbook/html/chunk-code.xsl trunk/jsxe/buildlib/docbook/html/chunk-common.xsl trunk/jsxe/buildlib/docbook/html/chunk.xsl trunk/jsxe/buildlib/docbook/html/chunker.xsl trunk/jsxe/buildlib/docbook/html/chunkfast.xsl trunk/jsxe/buildlib/docbook/html/chunktoc.xsl trunk/jsxe/buildlib/docbook/html/component.xsl trunk/jsxe/buildlib/docbook/html/division.xsl trunk/jsxe/buildlib/docbook/html/docbook.xsl trunk/jsxe/buildlib/docbook/html/docbookng.xsl trunk/jsxe/buildlib/docbook/html/ebnf.xsl trunk/jsxe/buildlib/docbook/html/footnote.xsl trunk/jsxe/buildlib/docbook/html/formal.xsl trunk/jsxe/buildlib/docbook/html/glossary.xsl trunk/jsxe/buildlib/docbook/html/graphics.xsl trunk/jsxe/buildlib/docbook/html/html-rtf.xsl trunk/jsxe/buildlib/docbook/html/html.xsl trunk/jsxe/buildlib/docbook/html/htmltbl.xsl trunk/jsxe/buildlib/docbook/html/index.xsl trunk/jsxe/buildlib/docbook/html/info.xsl trunk/jsxe/buildlib/docbook/html/inline.xsl trunk/jsxe/buildlib/docbook/html/keywords.xsl trunk/jsxe/buildlib/docbook/html/lists.xsl trunk/jsxe/buildlib/docbook/html/maketoc.xsl trunk/jsxe/buildlib/docbook/html/manifest.xsl trunk/jsxe/buildlib/docbook/html/math.xsl trunk/jsxe/buildlib/docbook/html/oldchunker.xsl trunk/jsxe/buildlib/docbook/html/onechunk.xsl trunk/jsxe/buildlib/docbook/html/param.ent trunk/jsxe/buildlib/docbook/html/param.xml trunk/jsxe/buildlib/docbook/html/param.xsl trunk/jsxe/buildlib/docbook/html/param.xweb trunk/jsxe/buildlib/docbook/html/pi.xsl trunk/jsxe/buildlib/docbook/html/profile-chunk-code.xsl trunk/jsxe/buildlib/docbook/html/profile-chunk.xsl trunk/jsxe/buildlib/docbook/html/profile-docbook.xsl trunk/jsxe/buildlib/docbook/html/profile-onechunk.xsl trunk/jsxe/buildlib/docbook/html/qandaset.xsl trunk/jsxe/buildlib/docbook/html/refentry.xsl trunk/jsxe/buildlib/docbook/html/sections.xsl trunk/jsxe/buildlib/docbook/html/synop.xsl trunk/jsxe/buildlib/docbook/html/table.xsl trunk/jsxe/buildlib/docbook/html/task.xsl trunk/jsxe/buildlib/docbook/html/titlepage.templates.xml trunk/jsxe/buildlib/docbook/html/titlepage.templates.xsl trunk/jsxe/buildlib/docbook/html/titlepage.xsl trunk/jsxe/buildlib/docbook/html/toc.xsl trunk/jsxe/buildlib/docbook/html/verbatim.xsl trunk/jsxe/buildlib/docbook/html/xref.xsl trunk/jsxe/buildlib/docbook/lib/ trunk/jsxe/buildlib/docbook/lib/ChangeLog trunk/jsxe/buildlib/docbook/lib/lib.xml trunk/jsxe/buildlib/docbook/lib/lib.xsl trunk/jsxe/buildlib/docbook/lib/lib.xweb trunk/jsxe/buildlib/fop.jar trunk/jsxe/doc/ trunk/jsxe/doc/manual/ trunk/jsxe/doc/manual/manual.xml Modified: trunk/jsxe/Changelog =================================================================== --- trunk/jsxe/Changelog 2006-08-28 21:56:21 UTC (rev 1190) +++ trunk/jsxe/Changelog 2006-08-29 02:13:58 UTC (rev 1191) @@ -2,6 +2,7 @@ * Changed the messages files to be named the standard ResourceBundle way. * Fixed default key binding for exit. + * Added some new processing for generating jsXe's manual. 08/27/2006 Ian Lewis <Ian...@me...> Modified: trunk/jsxe/INSTALL =================================================================== --- trunk/jsxe/INSTALL 2006-08-28 21:56:21 UTC (rev 1190) +++ trunk/jsxe/INSTALL 2006-08-29 02:13:58 UTC (rev 1191) @@ -2,6 +2,7 @@ Java >= 1.4.2 Xerces >= 2.8.0 +Xalan >= 2.7.0 (for building jsXe's documentation) launch4j >= 3.0.0pre1 (for building the installer from source) GETTING jsXe @@ -50,9 +51,12 @@ Xerces (A Xerces 2.8.0 binary distribution is not included in the CVS source tree. You can aquire it at at http://xml.apache.org/) The jar files xercesImpl.jar, xml-apis.jar, and resolver.jar from the 2.8.0 distribution are -required. These should be placed in a directory called lib in jsXe's root folder -(where you installed jsXe's source) or in the jre/lib/ext or lib/ext in your -JVM. These jar files will be included with jsXe distributions for convenience. +required. These should already be in a directory called lib in jsXe's root folder +(where you installed jsXe's source) but you will need to copy them in +the jre/lib/endorsed directory in your JVM. You will also need to put the +xalan.jar in the jre/lib/endorsed directory in order to build jsXe's +documentation. xalan.jar is not currently included with jsXe so you need to +download it from http://xml.apache.org/ In order to build jsXe's installer or a windows distribution of jsXe you will need to install launch4j (http://launch4j.sourceforge.net/). You can install it Modified: trunk/jsxe/build.xml =================================================================== --- trunk/jsxe/build.xml 2006-08-28 21:56:21 UTC (rev 1190) +++ trunk/jsxe/build.xml 2006-08-29 02:13:58 UTC (rev 1191) @@ -46,7 +46,7 @@ <property name="bin.dir" value="${root.dir}/bin"/> <property name="messages.dir" value="${root.dir}/messages"/> <property name="build.messages" value="${build.dir}/messages"/> - <property name="docs.dir" value="${src.dir}/doc"/> + <property name="docs.dir" value="${root.dir}/doc"/> <property name="plugin.dir" value="${root.dir}/jars"/> <property name="jsxe.jar" value="${build.dir}/${app.name}.jar"/> <!-- jar file needs to be relative to the exe --> @@ -63,6 +63,7 @@ <property name="build.javadocs" value="${build.dir}/api"/> <property name="build.help" value="${build.docs}/help"/> <property name="buildlib.dir" value="${root.dir}/buildlib"/> + <property name="docbook.dir" value="${buildlib.dir}/docbook"/> <!--<property name="app.version" value="${major.version}.${minor.version} beta"/>--> <!--<property name="app_version" value="${major.version}_${minor.version}beta"/>--> <property name="distbin.dir" value="${build.dir}/${app.name}-${app_version}-bin"/> @@ -193,6 +194,14 @@ <!-- }}} --> + <!-- {{{ catalog used for building docs --> + <xmlcatalog id="docbook-catalog"> + <catalogpath> + <pathelement location="${docbook.dir}/catalog.xml"/> + </catalogpath> + </xmlcatalog> + <!-- }}} --> + <echo message="${app.name} ${app.version}"/> <echo message="----------------------------------------------------------"/> </target> @@ -349,6 +358,14 @@ <!-- }}} --> <!-- {{{ ============ Generates the documentation ====================== --> <target depends="prepare-doc, prepare-src" name="doc" description="Build documentation"> + <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"> + <classpath> + <pathelement location="${buildlib.dir}\fop.jar"/> + <pathelement location="${buildlib.dir}\avalon.jar"/> + <pathelement location="${buildlib.dir}\batik.jar"/> + </classpath> + </taskdef> + <copy file="${root.dir}/COPYING" tofile="${build.docs}/COPYING"/> <copy file="${root.dir}/README" tofile="${build.docs}/README"/> <copy file="${root.dir}/AUTHORS" tofile="${build.docs}/AUTHORS"/> @@ -358,6 +375,36 @@ <copy file="${root.dir}/THANKS" tofile="${build.docs}/THANKS"/> <copy file="${root.dir}/NEWS" tofile="${build.docs}/NEWS"/> + <!-- generate the html manual --> + <mkdir dir="${build.docs}/manual"/> + <xslt basedir="${docs.dir}/manual" + destdir="${build.docs}/manual" + includes="**/manual.xml" + style="${docbook.dir}/html/docbook.xsl"> + <outputproperty name="encoding" value="UTF-8"/> + <mapper type="glob" from="*.xml" to="*.html"/> + <xmlcatalog refid="docbook-catalog"/> + </xslt> + + <!-- generate the pdf manual --> + <mkdir dir="${build.dir}/manual"/> + <xslt basedir="${docs.dir}/manual" + destdir="${build.dir}/manual" + includes="**/manual.xml" + style="${docbook.dir}/fo/docbook.xsl"> + <outputproperty name="encoding" value="UTF-8"/> + <mapper type="glob" from="*.xml" to="*.fo"/> + <xmlcatalog refid="catalog"/> + </xslt> + + <fop format="application/pdf" + outdir="${build.dir}" + messagelevel="warn"> + <fileset dir="${build.dir}/manual"> + <include name="*.fo"/> + </fileset> + </fop> + <javadoc author="true" destdir="${build.javadocs}" doctitle="${app.name} ${app.version} API" locale="en_US" packagenames="*" sourcepath="${build.src}" version="true" windowtitle="${app.name} ${app.version} API"> <link href="${java.javadoc.link}"/> <link href="${xerces.javadoc.link}"/> Added: trunk/jsxe/buildlib/avalon.jar =================================================================== (Binary files differ) Property changes on: trunk/jsxe/buildlib/avalon.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsxe/buildlib/batik.jar =================================================================== (Binary files differ) Property changes on: trunk/jsxe/buildlib/batik.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsxe/buildlib/docbook/VERSION =================================================================== --- trunk/jsxe/buildlib/docbook/VERSION (rev 0) +++ trunk/jsxe/buildlib/docbook/VERSION 2006-08-29 02:13:58 UTC (rev 1191) @@ -0,0 +1,85 @@ +<?xml version='1.0'?> <!-- -*- nxml -*- --> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/" + xmlns:sf="http://sourceforge.net/" + exclude-result-prefixes="fm sf" + version='1.0'> + +<xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/> +<xsl:param name="sf-relid" select="0"/> +<xsl:strip-space elements="fm:*"/> + +<fm:project> + <fm:Project>DocBook</fm:Project> + <fm:Branch>XSL Stylesheets</fm:Branch> + <fm:Version>1.68.1</fm:Version> +<!-- + <fm:License>MIT/X Consortium License</fm:License> +--> + <fm:Release-Focus> + <!-- Initial freshmeat announcement --> + <!-- Documentation --> + <!-- Code cleanup --> + <!-- Minor feature enhancements --> + <!-- Major feature enhancements --> + Minor bugfixes + <!-- Major bugfixes --> + <!-- Minor security fixes --> + <!-- Major security fixes --> + </fm:Release-Focus> + <fm:Home-Page-URL>http://sourceforge.net/projects/docbook/</fm:Home-Page-URL> + <fm:Gzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/docbook-xsl-{VERSION}.tar.gz?download</fm:Gzipped-Tar-URL> + <fm:Zipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/docbook-xsl-{VERSION}.zip?download</fm:Zipped-Tar-URL> + <fm:Bzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/docbook-xsl-{VERSION}.bz2?download</fm:Bzipped-Tar-URL> + <fm:Changelog-URL>http://sourceforge.net/project/shownotes.php?release_id={SFRELID}</fm:Changelog-URL> + <fm:CVS-URL>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/xsl/</fm:CVS-URL> + <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook-apps/</fm:Mailing-List-URL> + <fm:Changes>This is a minor bug-fix update to the 1.68.0 release. +</fm:Changes> +</fm:project> + +<xsl:template match="/" priority="-100"> + <xsl:if test="$sf-relid = 0"> + <xsl:message terminate="yes"> + <xsl:text>You must specify the sf-relid as a parameter.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:apply-templates select="//fm:project"/> +</xsl:template> + +<xsl:template match="fm:project"> + <xsl:text> </xsl:text> + <xsl:apply-templates/> + <xsl:text> </xsl:text> + <xsl:apply-templates select="fm:Changes" mode="text"/> +</xsl:template> + +<xsl:template match="fm:Changes"/> + +<xsl:template match="fm:Gzipped-Tar-URL|fm:Zipped-Tar-URL|fm:Bzipped-Tar-URL"> + <xsl:value-of select="local-name(.)"/> + <xsl:text>: </xsl:text> + <xsl:value-of select="substring-before(., '{VERSION}')"/> + <xsl:value-of select="$VERSION"/> + <xsl:value-of select="substring-after(., '{VERSION}')"/> + <xsl:text> </xsl:text> +</xsl:template> + +<xsl:template match="fm:Changelog-URL"> + <xsl:value-of select="local-name(.)"/> + <xsl:text>: </xsl:text> + <xsl:value-of select="substring-before(., '{SFRELID}')"/> + <xsl:value-of select="$sf-relid"/> + <xsl:value-of select="substring-after(., '{SFRELID}')"/> + <xsl:text> </xsl:text> +</xsl:template> + +<xsl:template match="fm:*"> + <xsl:value-of select="local-name(.)"/> + <xsl:text>: </xsl:text> + <xsl:value-of select="normalize-space(.)"/> + <xsl:text> </xsl:text> +</xsl:template> + +</xsl:stylesheet> Added: trunk/jsxe/buildlib/docbook/catalog.xml =================================================================== --- trunk/jsxe/buildlib/docbook/catalog.xml (rev 0) +++ trunk/jsxe/buildlib/docbook/catalog.xml 2006-08-29 02:13:58 UTC (rev 1191) @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.0//EN" + "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> + +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> + +<!-- ==== Local Catalog for docbook-xsl ==== --> + + <rewriteURI + uriStartString="http://docbook.sourceforge.net/release/xsl/1.68.1/" + rewritePrefix="file://./docbook/"/> + + <rewriteURI + uriStartString="http://docbook.sourceforge.net/release/xsl/current/" + rewritePrefix="file://./docbook/"/> + + <rewriteSystem + systemIdStartString="http://docbook.sourceforge.net/release/xsl/1.68.1/" + rewritePrefix="file://./docbook/"/> + + <rewriteSystem + systemIdStartString="http://docbook.sourceforge.net/release/xsl/current/" + rewritePrefix="file://./docbook/"/> + + <group id="DocbookDTD" prefer="public"> + <system + systemId="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" + uri="file://./docbook/dtd/docbookx.dtd"/> + </group> +</catalog> Added: trunk/jsxe/buildlib/docbook/common/ChangeLog =================================================================== --- trunk/jsxe/buildlib/docbook/common/ChangeLog (rev 0) +++ trunk/jsxe/buildlib/docbook/common/ChangeLog 2006-08-29 02:13:58 UTC (rev 1191) @@ -0,0 +1,819 @@ +2005-02-12 Michael Smith <xm...@us...> + + * .cvsignore: fa.xml, ignore + +2005-02-11 Michael Smith <xm...@us...> + + * Makefile: fa.xml added; ported from trunk + +2005-02-11 Robert Stayton <bob...@us...> + + * Makefile, l10n.xml: Added new fa.xml for Farsi language. + +2005-01-25 Robert Stayton <bob...@us...> + + * labels.xsl: Fixed bug in sect1 label.markup mode that could output the + component label without the section label. + +2005-01-19 Norman Walsh <nw...@us...> + + * titles.xsl: Support refdescriptor + + * titles.xsl: Support title in info for figure, example, and equation. This only occurs in DocBook V5 which is still pretty sporadically supported, but... + +2004-12-11 Robert Stayton <bob...@us...> + + * common.xsl: Minor fixes for itemizedlist symbols. + +2004-12-07 Robert Stayton <bob...@us...> + + * titles.xsl: Fixed bug #1079453, title attribute being added to non-existant element. + +2004-12-02 Michael Smith <xm...@us...> + + * Makefile: New file. + +2004-11-18 Robert Stayton <bob...@us...> + + * l10n.xsl: Fixed bug in lang selection from ancestor-or-self predicate. + +2004-11-17 Robert Stayton <bob...@us...> + + * common.xsl: Fixed bug in strippath template that stripped leading double dots. + +2004-11-16 Michael Smith <xm...@us...> + + * labels.xsl: issue #924251 Wrong numbering of Qandaset entries + applied patch from Harald Joerg. + +2004-10-28 Norman Walsh <nw...@us...> + + * titles.xsl: Fix bug #663552: handle xref correctly when it appears in titles. + +2004-10-24 Jirka Kosek <ko...@us...> + + * table.xsl: Fixed bug #1005990. Column spans are now working also in entrytbl element, not only in table elements. However due to complexity of table code I am not completely sure whether I fixed it on all places. + +2004-10-22 Norman Walsh <nw...@us...> + + * labels.xsl: Bug #1035656: the label for a listitem in an orderedlist must account for the possibility of continuations or alternate starting numbers + +2004-09-22 Robert Stayton <bob...@us...> + + * olink.xsl: Fixed bug where olink.base.uri parameter was being used in the wrong place. + +2004-09-20 Michael Smith <xm...@us...> + + * .cvsignore: Added bs.xml to ignore list. Also, re-sorted list. + (Committed while riding on a train between Yokohama and Tokyo.) + +2004-09-18 Robert Stayton <bob...@us...> + + * targetdatabase.dtd: Changed the page element to an attribute. + +2004-09-17 Peter Eisentraut <pet...@us...> + + * Makefile: branches: 1.22.2; + Bosnian translation by Kemal Skripic + + * l10n.xml: Bosnian translation by Kemal Skripic + +2004-09-17 Robert Stayton <bob...@us...> + + * l10n.xml: Added &bs; entity reference. + + * pi.xsl: Fix Xalan date-time bug. + +2004-09-13 Robert Stayton <bob...@us...> + + * olink.xsl: Fixed bug in olink resolution. + +2004-09-09 Robert Stayton <bob...@us...> + + * common.xsl: Fixed bug in xml:base resolution not recursing through the ancestors. + +2004-09-06 Robert Stayton <bob...@us...> + + * olink.xsl: remove duplicate make.gentext.template and substitute.markup templates. + +2004-08-26 Robert Stayton <bob...@us...> + + * labels.xsl: Added component.label.includes.part.label parameter to appendices and + other component elements. + + * labels.xsl: Add component.label.includes.part.label parameter to add + part number to chapter labels when $label.from.part is nonzero. + +2004-08-19 Jirka Kosek <ko...@us...> + + * l10n.xsl: Fixed variable name + +2004-08-15 Robert Stayton <bob...@us...> + + * l10n.xsl: Another select optimization. + + * l10n.xsl: lang attribute select statement optimized. + +2004-08-11 Robert Stayton <bob...@us...> + + * titles.xsl: In no.anchor.mode, test for any link descendants and switch to + normal formatting if there are none. This preserves formatting + in titleabbrev for TOC and headers. + +2004-08-09 Robert Stayton <bob...@us...> + + * Makefile: Make each locale file dependent on en.xml to pick up any new items + so that all locale files at least have all items, even if not yet + translated. + + * gentext.xsl: Added olink docname placeholder to substitute.markup and make.gentext.template. + +2004-08-08 Robert Stayton <bob...@us...> + + * olink.xsl: New file. + +2004-07-20 Robert Stayton <bob...@us...> + + * titles.xsl: titleabbrev.markup mode was not getting a book's titleabbrev in bookinfo. + +2004-06-26 Robert Stayton <bob...@us...> + + * common.xsl: Added helper templates to resolve xml:base attributes. + + * common.xsl: Changed @fileref processing to support xml:base. + +2004-06-20 Robert Stayton <bob...@us...> + + * gentext.xsl, labels.xsl: Added support for new section.autolabel.max.depth to turn off + section numbering below a certain depth. + +2004-06-16 Robert Stayton <bob...@us...> + + * common.xsl: Removed 'entry' from xsl:strip-space element list because it + can contain #PCDATA. + +2004-06-14 Robert Stayton <bob...@us...> + + * gentext.xsl: Add support for xrefstyle attrib in olinks. + +2004-06-11 Robert Stayton <bob...@us...> + + * l10n.xml: Added missing ar.xml and hr.xml. + +2004-05-28 Robert Stayton <bob...@us...> + + * gentext.xsl, targets.xsl, titles.xsl: Eliminated spurious error messages when collecting olink targets. + +2004-05-19 Jirka Kosek <ko...@us...> + + * gentext.xsl: Fixed misplaced " + +2004-04-26 Robert Stayton <bob...@us...> + + * gentext.xsl: For procedure object.title.template, use formal only if title + actually present. + +2004-04-21 Jirka Kosek <ko...@us...> + + * labels.xsl: Template label.this.section controls whole section label, not only sub-label which corresponds to particular label. Former behaviour was IMHO bug as it was not usable. + +2004-04-12 Robert Stayton <bob...@us...> + + * table.xsl: Fixed bug #880044 in which rowsep or colsep attributes on the + table or informaltable element had no effect. + +2004-04-11 Robert Stayton <bob...@us...> + + * targets.xsl: Another bad parameter name fixed. + + * targets.xsl: Bug # 907582: incorrect parameter name fixed. + +2004-03-10 Robert Stayton <bob...@us...> + + * targets.xsl: Fixed bug whereby bibliography entries were not getting into + the olink database. + +2004-02-18 Robert Stayton <bob...@us...> + + * labels.xsl: Turn off procedure number when formal.procedures = 0. + +2004-01-29 Norman Walsh <nw...@us...> + + * subtitles.xsl, titles.xsl: Support 'info' + +2004-01-26 Robert Stayton <bob...@us...> + + * targets.xsl: Pass empty doctype parameters to write.chunk so the + output can be used as an entity without DOCTYPE. + +2003-12-31 Jirka Kosek <ko...@us...> + + * autoidx-ng.xsl, l10n.dtd: Added support for new i18n friendly indexing method + +2003-12-15 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile: Support sr_Latn locale + +2003-12-13 Robert Stayton <bob...@us...> + + * l10n.xml: Added sr_Latn.xml for Serbian in Latin script. + +2003-12-06 Robert Stayton <bob...@us...> + + * common.xsl: Fixed bug #851603 infinite recursion in copyright.year when + no <year> elements at all. + +2003-12-05 Robert Stayton <bob...@us...> + + * common.xsl: section.level now computes refentry sections relative to container element. + +2003-11-30 Robert Stayton <bob...@us...> + + * gentext.xsl, labels.xsl, subtitles.xsl, table.xsl, targets.xsl, titles.xsl: + Added CVS $Id$ comment. + +2003-11-17 Robert Stayton <bob...@us...> + + * labels.xsl: Fixed bug where sect1 generated infinite loop when root element + and $section.label.includes.component.label is non zero. + +2003-10-12 Robert Stayton <bob...@us...> + + * gentext.xsl: Fixed cut-and-paste typo in substitute.markup template. + +2003-09-23 Robert Stayton <bob...@us...> + + * pi.xsl: Fixed dbdatetime PI, which was using context + datetime-abbrev for format "B" rather than datetime-full. + +2003-08-27 Norman Walsh <nw...@us...> + + * titles.xsl: Support HTML tables + +2003-08-18 Norman Walsh <nw...@us...> + + * .cvsignore: Ignore generate XML documents for Latin and Bangla + + * Makefile, l10n.xml: Add support for Latin + +2003-07-31 Jirka Kosek <ko...@us...> + + * Makefile: Update Makefile to new gentext mechanism + +2003-07-31 Robert Stayton <bob...@us...> + + * gentext.xsl: Added template for question in object.xref.markup mode + to handle case of defaultlabel = qanda. + + * labels.xsl: Removed processing of @label on qandadiv since that is + not an allowed attribute of qandadiv. + +2003-07-25 Robert Stayton <bob...@us...> + + * Makefile, l10n.xml: Added bn.xml Bangla language. + + * gentext.xsl: Handles new xref contexts and the new xrefstyle attribute + on xref elements. + + * pi.xsl: Now uses new datetime-full and datetime-abbrev gentext + contexts for certain date components. + +2003-07-08 Robert Stayton <bob...@us...> + + * l10n.xsl: Removed extraneous variable l10n.name which is not used. + +2003-06-24 Robert Stayton <bob...@us...> + + * l10n.xsl: Fixed bug in l10n.language template where $target parameter + was missing from xpath expression. + +2003-06-21 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile: Added Croatian + +2003-05-19 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile: Added Arabic + +2003-05-08 Norman Walsh <nw...@us...> + + * titles.xsl: Support 'title.markup' on glossentry + +2003-04-29 Jirka Kosek <ko...@us...> + + * pi.xsl: Added localization support for datetime PI + +2003-04-27 <dc...@us...> + + * common.xsl: Added level 6 to test for section depth in section.level template so that section.title.level6.properties will be used for sections that are 6 deep or deeper. This should also cause a h6 to be created in html output. + +2003-04-16 Jirka Kosek <ko...@us...> + + * pi.xsl: Changed PI name from <?timestamp?> to <?dbtimestamp?> + +2003-04-14 Jirka Kosek <ko...@us...> + + * pi.xsl: New file. + +2003-04-13 Norman Walsh <nw...@us...> + + * table.xsl: A few bug fixes for the colsep/rowsep code + +2003-04-12 Norman Walsh <nw...@us...> + + * common.xsl: Don't use SVG graphics if use.svg=0 + + * table.xsl: Support template to find out if there are more columns in the current row of a table + +2003-04-05 Robert Stayton <bob...@us...> + + * gentext.xsl: Now uses number-and-title-template for sections only + if $section.autolabel is not zero. + +2003-03-02 Jirka Kosek <ko...@us...> + + * common.xsl: Fixed several errors related to TeX math processing + +2003-02-25 Robert Stayton <bob...@us...> + + * l10n.dtd: Added missing 'english-language-name' attribute to the l10n + element, and the missing 'style' attribute to the template + element so the current gentext documents will validate. + +2003-01-30 Robert Stayton <bob...@us...> + + * common.xsl: Corrected several references to parameter $qanda.defaultlabel + that were missing the "$". + +2003-01-23 Adam Di Carlo <adi...@us...> + + * Makefile: make use of cvstools/Makefile.incl + +2003-01-20 Norman Walsh <nw...@us...> + + * gentext.xsl: Support experimental parameter to specify that number-and-title xrefs should be used even when things are numbered + + * gentext.xsl: Added object.titleabbrev.markup for consistency + + * l10n.xsl: Added gentext.template.exists to test if a gentext template exists. Clever name, huh? + + * titles.xsl: Expanded support for obtaining titleabbrevs + +2003-01-10 Norman Walsh <nw...@us...> + + * .cvsignore, l10n.xml: Added bg.xml + + * Makefile: Add Bulgarian + +2003-01-02 Norman Walsh <nw...@us...> + + * labels.xsl, titles.xsl: Support setindex (there were all sorts of things wrong with it) + +2003-01-01 Norman Walsh <nw...@us...> + + * table.xsl: CALS says the default for colsep and rowsep is 1. + + * table.xsl: Fix variable scoping problem + + * titles.xsl: Support titleabbrev (outside of info elements anyway) + +2002-12-18 Robert Stayton <bob...@us...> + + * common.xsl: The select.mediaobject.index template now uses the + $stylesheet.result.type parameter to choose the role + value, with xhtml falling back to html if needed. + +2002-12-17 Robert Stayton <bob...@us...> + + * common.xsl: Changed selection of mediaobject to be more consistent using + a separate select.mediaobject.index template. Also added + text-align to block containing external-graphic in fo output. + +2002-11-23 Robert Stayton <bob...@us...> + + * common.xsl: Fixed bug in orderedlist-starting-number test when + @continuation not set. + +2002-11-14 Norman Walsh <nw...@us...> + + * common.xsl: Handle nested refsections in section.level + + * gentext.xsl: Pass full xpath name to gentext.template instead of just the local-name + + * l10n.xsl: Make gentext.template search through /-separated names + +2002-10-19 Norman Walsh <nw...@us...> + + * l10n.xsl: Support output of language attribute + +2002-10-09 Norman Walsh <nw...@us...> + + * l10n.xsl: Make 3166 language codes work in upper or lowercase + +2002-10-02 Norman Walsh <nw...@us...> + + * common.xsl: Added orderedlist-starting-number and orderedlist-item-number templates + +2002-10-01 Robert Stayton <bob...@us...> + + * common.xsl: Changed the section.level template to return a number that matches + the section level (sect1 = 1, etc.). + +2002-09-27 Norman Walsh <nw...@us...> + + * l10n.xml: Add Thai + +2002-09-15 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile, l10n.xml: Added LT and VI localizations + +2002-09-04 Norman Walsh <nw...@us...> + + * common.xsl: Refactor person.name templates so that it's easy to override them + + * l10n.xsl: Move l10n.* parameters into ../params so they can be properly documented; made l10n.gentext.use.xref.language a numeric boolean parameter instead of a proper boolean + +2002-09-03 Norman Walsh <nw...@us...> + + * common.xsl: Remove spurious character on line 432 + + * table.xsl: Make sure row-level colsep and rowsep values are 'inherited' onto missing cells + +2002-09-02 Norman Walsh <nw...@us...> + + * common.xsl: Support person-name style from localization data in personal names + +2002-08-28 Norman Walsh <nw...@us...> + + * table.xsl: Make inherited attributes work for 'missing' table cells + +2002-07-29 Robert Stayton <bob...@us...> + + * targetdatabase.dtd: Forgot to fix the attribute on the <obj> element + as well. + + * targetdatabase.dtd: Changed the targetptr attribute from #REQUIRED to #IMPLIED + since it is not required on all objects. + + * targetdatabase.dtd: Replaced targetid attribute on document with targetptr + per the decision of the DocBook Technical Committee. + +2002-07-17 Norman Walsh <nw...@us...> + + * labels.xsl: Fixed thinko + + * labels.xsl: Don't count equations without titles when labelling equations + +2002-07-13 Robert Stayton <bob...@us...> + + * targets.xsl: Fixed output encoding to utf-8 so a targets database + can handle mixed languages. + Added omit-xml-declaration to get around the standalone + attribute in the XML declaration not being permitted + in system entities. + +2002-07-09 Norman Walsh <nw...@us...> + + * labels.xsl: Bug #558333: use containing section for the label of a bridgehead if section.autolabel is non-zero + +2002-07-07 Robert Stayton <bob...@us...> + + * common.xsl: Changed the name of the second-order itemizedlist mark + from 'round' (not supported in browsers' <ul> 'type' attribute) + to 'circle', which is supported. + Both are already supported in FO stylesheet. + +2002-07-06 Norman Walsh <nw...@us...> + + * targets.xsl: The default.encoding parameter has been renamed chunker.output.encoding + +2002-07-05 Robert Stayton <bob...@us...> + + * labels.xsl, titles.xsl: Added 'verbose' parameter to default templates in + title.markup mode and label.markup mode, and made + the error message conditional on that parameter. The + default value is 1, so the message will still be + there for normal usage. But the targets.xsl + stylesheet sets verbose to 0 when trolling for + cross reference targets to eliminate useless noise + on elements that have an id attribute but no title or label. + + * targetdatabase.dtd: New file. + + * targets.xsl: New file. + +2002-06-11 Norman Walsh <nw...@us...> + + * common.xsl: Augmented debugging message (commented out) + + * gentext.xsl: Experimental support for xrefstyle; support for %d in templates + + * l10n.xsl: Experimental support for xrefstyle + + * titles.xsl: Support refsynopsisdiv in title.markup mode + +2002-05-23 Norman Walsh <nw...@us...> + + * common.xsl: Support for SVG in HTML + +2002-05-21 Norman Walsh <nw...@us...> + + * gentext.xsl: Whitespace + + * labels.xsl: Don't generate '. ' after QandA labels + +2002-05-12 Norman Walsh <nw...@us...> + + * common.xsl: Fix bugs in extension checking in mediaobject.filename + + * l10n.xsl: Reworked test in gentext.template; should have no user-visible changes + + * table.xsl: Removed some obsolete templates; reworked inheritance for improved border support (still implements old DocBook semantics which aren't quite CALS) + + * titles.xsl: Improved error message + +2002-04-21 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile, l10n.xml: Add support for Hebrew localization + +2002-03-24 Norman Walsh <nw...@us...> + + * common.xsl: Change comment: personname is no longer experimental + +2002-03-18 Norman Walsh <nw...@us...> + + * common.xsl: Replace generate.*.toc and generate.*.lot with single generate.toc parameter. + +2002-03-18 Robert Stayton <bob...@us...> + + * gentext.xsl: Replaced the substitute-markup template with one + using simpler logic. Added params for the content + to be substituted so it can be used with olinks + where the content is supplied from a data file. + +2002-03-14 Norman Walsh <nw...@us...> + + * common.xsl: Handle revisionflag a little better on copyrights + + * common.xsl, gentext.xsl, l10n.xsl, labels.xsl, subtitles.xsl, table.xsl, titles.xsl: + Whitespace only: change CR/LF back to LF. Norm was a total moron. + + * common.xsl, gentext.xsl, l10n.xsl, labels.xsl, subtitles.xsl, table.xsl, titles.xsl: + Whitespace changes only: use PC-style CR/LF because Unix clients choke on this far less often than PC clients choke on the reverse. Grrr. + +2002-03-07 Robert Stayton <bob...@us...> + + * titles.xsl: refentry title in title.markup mode now follows $allow-anchors setting + to prevent index entries from appearing in the TOC. + +2002-01-28 Norman Walsh <nw...@us...> + + * l10n.dtd, l10n.xml: Tweaks to the l10n.dtd to make it as namespace aware as DTDs can be + +2002-01-25 Norman Walsh <nw...@us...> + + * table.xsl: Fix bug that caused rowsep and colsep to be ignored on empty cells + +2002-01-10 Norman Walsh <nw...@us...> + + * l10n.xsl: Don't rely on the order of attribute nodes cause they don't have one + +2002-01-03 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile: Added Thai localization + + * common.xsl: Calculate itemized list symbol based on depth analagous to orderedlist numeration + + * gentext.xsl: Use unnumbered gentext keys appropriately + +2001-12-15 Jirka Kosek <ko...@us...> + + * common.xsl: Improved support for TeX math inside equations. + +2001-12-04 Norman Walsh <nw...@us...> + + * labels.xsl: Bug #435320: Poor enumeration of LoTs and LoFs + + * titles.xsl: Bug! Can't put HTML here. But what does this break? + +2001-12-02 Norman Walsh <nw...@us...> + + * titles.xsl: Make no.anchor.mode 'sticky'. This is really necessary because otherwise title inlines effectively turn it off + +2001-12-01 Norman Walsh <nw...@us...> + + * labels.xsl: Improve FAQ labeling + +2001-11-29 Robert Stayton <bob...@us...> + + * l10n.xsl: Fixed error message for missing localization so that if + missing in en.xml, it doesn't say 'using en'. + +2001-11-28 Norman Walsh <nw...@us...> + + * common.xsl: Added punct.honorific parameter + + * l10n.xsl: Removed crufty gentext.xref.text template + +2001-11-15 Norman Walsh <nw...@us...> + + * common.xsl: Support experimental personname wrapper + +2001-11-14 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile, l10n.xml: Added Basque + +2001-11-12 Norman Walsh <nw...@us...> + + * common.xsl: Support well-formed documents, use key() instead of id() + +2001-11-09 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile, l10n.xml: Added Nynorsk + +2001-11-06 Norman Walsh <nw...@us...> + + * labels.xsl: Why did I assume sections should always be labelled in articles? + +2001-11-02 Norman Walsh <nw...@us...> + + * common.xsl: Support FAMILY Given style personal names + +2001-10-30 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile, l10n.xml: Added Xhosa + +2001-10-16 Norman Walsh <nw...@us...> + + * table.xsl: Table support improvements + +2001-10-15 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile, l10n.xml: Added Ukranian + + * table.xsl: Fix calculation of rowsep and colsep; added experimental support for table.borders.with.css in HTML; calculation of alignments needs to be added along the same lines + +2001-10-14 Norman Walsh <nw...@us...> + + * table.xsl: New file. + +2001-09-25 Norman Walsh <nw...@us...> + + * common.xsl: Support automatic collation of year ranges in copyright + + * l10n.xsl: Fix gentext.nav.* templates + +2001-09-22 Norman Walsh <nw...@us...> + + * gentext.xsl: Rewrote substitute-markup to support %p + + * gentext.xsl, labels.xsl: Bug #463033: allow xref to list items (in orderedlists) and varlistentrys + + * titles.xsl: Support title.markup for legal notices + +2001-08-29 Norman Walsh <nw...@us...> + + * common.xsl: Fix orderedlist numerations + +2001-08-14 Norman Walsh <nw...@us...> + + * l10n.xsl: Calculation of the dingbat nodeset was simply broken + +2001-08-13 Norman Walsh <nw...@us...> + + * Makefile: Added stylesheet as a dependency + +2001-08-04 Norman Walsh <nw...@us...> + + * l10n.dtd: Rename internationalization to i18n, localization to l10n + + * l10n.xml: Rename internationalization to i18n, localization to l10n, add namespace declaration + + * l10n.xsl: Support a local i18n override, rename internationalization to i18n, localization to l10n, add namespace declaration + + * labels.xsl: PartIntros never get a label + +2001-08-01 Norman Walsh <nw...@us...> + + * gentext.xsl: Pass allow-anchors through properly + + * labels.xsl: Fix question labelling + + * titles.xsl: Output anchors for titles if the titles have ids + +2001-07-31 Robert Stayton <bob...@us...> + + * l10n.xsl: Reverted the change from [last()] to [1] back to [last()] + because that is the correct code. + + * l10n.xsl: Added code to the "l10n.language" template to fall + back to the two-letter lang code if a longer lang + does not have a <lang>.xml localization file. + And it falls back to the default lang if it can't + find that either. + + Also fixed a bug for finding the lang attribute. + It was using the last() function, but in an + ancestor-or-self node set you want the first ancestor + (closest) with a lang value. + + 49c49 + < |ancestor-or-self::*/@xml:lang)[last()]"/> + --- + > |ancestor-or-self::*/@xml:lang)[1]"/> + +2001-07-17 Jirka Kosek <ko...@us...> + + * common.xsl: Fixed bug #442160. Parameter graphic.default.extension is now used also for <graphic> and <inlinegraphic> not only for <imagedata>. + +2001-07-08 Norman Walsh <nw...@us...> + + * gentext.xsl, titles.xsl: Support xref to bridgehead + +2001-07-04 <uid...@us...> + + * .cvsignore, Makefile, l10n.xml: Added support for Turkish + + * .cvsignore, Makefile, l10n.xml: Added Afrikaans + + * common.xsl, titles.xsl: Bug #429011, fix xref to qandset elements + + * labels.xsl: Bug #426188, fix question/answer labels + +2001-06-21 Norman Walsh <nw...@us...> + + * common.xsl, gentext.xsl, labels.xsl, titles.xsl: Use common code to calculate step numbers; support xref to procedures and steps; added formal.procedures parameter + +2001-06-20 Norman Walsh <nw...@us...> + + * l10n.xsl: Xalan debugging; harmless changes + +2001-06-14 Norman Walsh <nw...@us...> + + * subtitles.xsl: Support subtitle on article + +2001-05-23 Norman Walsh <nw...@us...> + + * common.xsl: Fix dup. template bug with is.graphic.* + + * gentext.xsl: Workaround article/appendix formatting bug (HACK) + + * labels.xsl: Label appendixes correctly in books and articles + +2001-05-21 Norman Walsh <nw...@us...> + + * labels.xsl: Tweak for section labels in articles + +2001-05-12 Norman Walsh <nw...@us...> + + * common.xsl: Added refsect* to the section.level template + +2001-05-04 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile, l10n.xml: Add Serbian localization + +2001-04-21 Norman Walsh <nw...@us...> + + * common.xsl: My first crude attempts at support for qandaset + +2001-04-19 Norman Walsh <nw...@us...> + + * gentext.xsl, titles.xsl: Fix bug #417193, make sure allow-anchors is properly propagated through substitute-markup + +2001-04-18 Norman Walsh <nw...@us...> + + * titles.xsl: Suppress indexterms in no.anchor.mode + +2001-04-17 Norman Walsh <nw...@us...> + + * labels.xsl: Move label.from.part parameter into param.xsl; default it to 0 so that chapters and appendixes are numbered monotonically throughout a book by default. Moved param.xsl up in the include list, just for good measure + +2001-04-16 Norman Walsh <nw...@us...> + + * gentext.xsl: Fix bug in processing of subtitle content + + * labels.xsl: Only label.from.part if there actually is a part + + * titles.xsl: Don't put ulink, link, olink, or xref in titles if anchor's aren't allowed + +2001-04-15 Norman Walsh <nw...@us...> + + * gentext.xsl: Localize the textonly calculations by creating a object.title.markup.textonly mode + +2001-04-03 Norman Walsh <nw...@us...> + + * gentext.xsl, labels.xsl, titles.xsl: Fix bug 412487, make XSL-generated callout marks honor callout mark parameters + + * titles.xsl: Restore no.anchor.mode and suppress footnotes in no.anchor.mode + +2001-04-02 Norman Walsh <nw...@us...> + + * .cvsignore, Makefile: Make common files + + * common.xsl, gentext.xsl, l10n.xml, l10n.xsl, labels.xsl, subtitles.xsl, titles.xsl: + New file. + + * gentext.xsl: Commented out debugging messages + + * l10n.dtd: New file. + Added: trunk/jsxe/buildlib/docbook/common/af.xml =================================================================== --- trunk/jsxe/buildlib/docbook/common/af.xml (rev 0) +++ trunk/jsxe/buildlib/docbook/common/af.xml 2006-08-29 02:13:58 UTC (rev 1191) @@ -0,0 +1,1161 @@ +<?xml version="1.0" encoding="US-ASCII"?> +<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="af" english-language-name="Afrikaans"> + +<!-- This file is generated automatically. --> +<!-- Do not edit this file by hand! --> +<!-- See http://docbook.sourceforge.net/ --> +<!-- To update this file: edit the corresponding document at --> +<!-- http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/gentext/locale/ --> + + <l:gentext key="Abstract" text="Samevatting"/> + <l:gentext key="abstract" text="samevatting"/> + <l:gentext key="Answer" text="Antwoord:"/> + <l:gentext key="answer" text="antwoord:"/> + <l:gentext key="Appendix" text="Aanhangsel"/> + <l:gentext key="appendix" text="aanhangsel"/> + <l:gentext key="Article" text="Artikel"/> + <l:gentext key="article" text="artikel"/> + <l:gentext key="Bibliography" text="Bibliografie"/> + <l:gentext key="bibliography" text="bibliografie"/> + <l:gentext key="Book" text="Boek"/> + <l:gentext key="book" text="boek"/> + <l:gentext key="CAUTION" text="PAS OP"/> + <l:gentext key="Caution" text="Pas op"/> + <l:gentext key="caution" text="pas op"/> + <l:gentext key="Chapter" text="Hoofdstuk"/> + <l:gentext key="chapter" text="hoofdstuk"/> + <l:gentext key="Colophon" text="Kolifon"/> + <l:gentext key="colophon" text="kolifon"/> + <l:gentext key="Copyright" text="Kopie reg"/> + <l:gentext key="copyright" text="kopie reg"/> + <l:gentext key="Dedication" text="Opgedra aan"/> + <l:gentext key="dedication" text="opgedra aan"/> + <l:gentext key="Edition" text="Uitgawe"/> + <l:gentext key="edition" text="uitgawe"/> + <l:gentext key="Equation" text="Vergelyking"/> + <l:gentext key="equation" text="vergelyking"/> + <l:gentext key="Example" text="Voorbeeld"/> + <l:gentext key="example" text="voorbeeld"/> + <l:gentext key="Figure" text="Figuur"/> + <l:gentext key="figure" text="figuur"/> + <l:gentext key="Glossary" text="Woordlys"/> + <l:gentext key="glossary" text="woordlys"/> + <l:gentext key="GlossSee" text="WoordelysSien"/> + <l:gentext key="glosssee" text="woordelyssien"/> + <l:gentext key="GlossSeeAlso" text="WoordelysSienOok"/> + <l:gentext key="glossseealso" text="woordelyssienook"/> + <l:gentext key="IMPORTANT" text="BELANGRIK"/> + <l:gentext key="important" text="belangrik"/> + <l:gentext key="Important" text="Belangrik"/> + <l:gentext key="Index" text="Indeks"/> + <l:gentext key="index" text="indeks"/> + <l:gentext key="ISBN" text="ISBN"/> + <l:gentext key="isbn" text="isbn"/> + <l:gentext key="LegalNotice" text="RegsKennisgewing"/> + <l:gentext key="legalnotice" text="regskennisgewing"/> + <l:gentext key="MsgAud" text="Teikengroep"/> + <l:gentext key="msgaud" text="teikengroep"/> + <l:gentext key="MsgLevel" text="Vlak"/> + <l:gentext key="msglevel" text="vlak"/> + <l:gentext key="MsgOrig" text="Herkoms"/> + <l:gentext key="msgorig" text="herkoms"/> + <l:gentext key="NOTE" text="OPMERKING"/> + <l:gentext key="Note" text="Opmerking"/> + <l:gentext key="note" text="opmerking"/> + <l:gentext key="Part" text="Deel"/> + <l:gentext key="part" text="deel"/> + <l:gentext key="Preface" text="Voorwoord"/> + <l:gentext key="preface" text="voorwoord"/> + <l:gentext key="Procedure" text="Prosedure"/> + <l:gentext key="procedure" text="prosedure"/> + <l:gentext key="ProductionSet" text="ProduksieStel"/> + <l:gentext key="PubDate" text="Publication Date" lang="en"/> + <l:gentext key="pubdate" text="Publication date" lang="en"/> + <l:gentext key="Published" text="Uitgegee"/> + <l:gentext key="published" text="uitgegee"/> + <l:gentext key="Qandadiv" text="Q & A" lang="en"/> + <l:gentext key="qandadiv" text="Q & A" lang="en"/> + <l:gentext key="Question" text="Vraag:"/> + <l:gentext key="question" text="vraag:"/> + <l:gentext key="RefEntry" text="Verwysingslemma"/> + <l:gentext key="refentry" text="verwysingslemma"/> + <l:gentext key="Reference" text="Verwysing"/> + <l:gentext key="reference" text="verwysing"/> + <l:gentext key="RefName" text="Verwysingsnaam"/> + <l:gentext key="refname" text="verwysingsnaam"/> + <l:gentext key="RefSection" text="Verwysingsparagraaf"/> + <l:gentext key="refsection" text="verwysingsparagraaf"/> + <l:gentext key="RefSynopsisDiv" text="Verwysingsamevatting"/> + <l:gentext key="refsynopsisdiv" text="verwysingsamevatting"/> + <l:gentext key="RevHistory" text="Hersiening geskiedenis"/> + <l:gentext key="revhistory" text="hersiening geskiedenis"/> + <l:gentext key="revision" text="hersiening"/> + <l:gentext key="Revision" text="Hersiening"/> + <l:gentext key="sect1" text="Paragraaf"/> + <l:gentext key="sect2" text="Paragraaf"/> + <l:gentext key="sect3" text="Paragraaf"/> + <l:gentext key="sect4" text="Paragraaf"/> + <l:gentext key="sect5" text="Paragraaf"/> + <l:gentext key="section" text="paragraaf"/> + <l:gentext key="Section" text="Paragraaf"/> + <l:gentext key="see" text="sien"/> + <l:gentext key="See" text="Sien"/> + <l:gentext key="seealso" text="sien ook"/> + <l:gentext key="Seealso" text="Sien ook"/> + <l:gentext key="SeeAlso" text="Sien Ook"/> + <l:gentext key="set" text="versameling"/> + <l:gentext key="Set" text="Versameling"/> + <l:gentext key="setindex" text="versamelingindeks"/> + <l:gentext key="SetIndex" text="VersamelingIndeks"/> + <l:gentext key="Sidebar" text="Kantbalk"/> + <l:gentext key="sidebar" text="kantbalk"/> + <l:gentext key="step" text="stap"/> + <l:gentext key="Step" text="Stap"/> + <l:gentext key="Table" text="Tabel"/> + <l:gentext key="table" text="tabel"/> + <l:gentext key="tip" text="leidraad"/> + <l:gentext key="TIP" text="LEIDRAAD"/> + <l:gentext key="Tip" text="Leidraad"/> + <l:gentext key="Warning" text="Waarskuwing"/> + <l:gentext key="warning" text="waarskuwing"/> + <l:gentext key="WARNING" text="WAARSKUWING"/> + <l:gentext key="and" text="en"/> + <l:gentext key="by" text="deur"/> + <l:gentext key="called" text="called" lang="en"/> + <l:gentext key="Edited" text="Geredigeer"/> + <l:gentext key="edited" text="geredigeer"/> + <l:gentext key="Editedby" text="Geredigeer deur"/> + <l:gentext key="editedby" text="geredigeer deur"/> + <l:gentext key="in" text="in"/> + <l:gentext key="lastlistcomma" text=","/> + <l:gentext key="listcomma" text=","/> + <l:gentext key="nonexistantelement" text="element bestaan nie"/> + <l:gentext key="notes" text="Notas"/> + <l:gentext key="Notes" text="notas"/> + <l:gentext key="Pgs" text="bl."/> + <l:gentext key="pgs" text="bl."/> + <l:gentext key="Revisedby" text="Hersien deur"/> + <l:gentext key="revisedby" text="hersien deur"/> + <l:gentext key="TableNotes" text="TabelOpmerking"/> + <l:gentext key="tablenotes" text="tabelopmerking"/> + <l:gentext key="TableofContents" text="Inhoudsopgawe"/> + <l:gentext key="tableofcontents" text="inhoudsopgawe"/> + <l:gentext key="the" text="" lang="en"/> + <l:gentext key="unexpectedelementname" text="onverwagte element naam"/> + <l:gentext key="unsupported" text="nie geondersteun"/> + <l:gentext key="xrefto" text="verwysing na"/> + <l:gentext key="listofequations" text="lys van vergelykings"/> + <l:gentext key="ListofEquations" text="Lys van vergelykings"/> + <l:gentext key="ListofExamples" text="Lys van voorbeelde"/> + <l:gentext key="listofexamples" text="lys van voorbeelde"/> + <l:gentext key="ListofFigures" text="Lys van figure"/> + <l:gentext key="listoffigures" text="lys van figure"/> + <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/> + <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/> + <l:gentext key="listoftables" text="lys van tabelle"/> + <l:gentext key="ListofTables" text="Lys van tabelle"/> + <l:gentext key="ListofUnknown" text="Lys van onbekende tipes"/> + <l:gentext key="listofunknown" text="lys van onbekende tipes"/> + <l:gentext key="nav-home" text="Begin"/> + <l:gentext key="nav-next" text="Volgende"/> + <l:gentext key="nav-next-sibling" text="Verder vooruit"/> + <l:gentext key="nav-prev" text="Terug"/> + <l:gentext key="nav-prev-sibling" text="Verder terug"/> + <l:gentext key="nav-up" text="Boontoe"/> + <l:gentext key="nav-toc" text="ToC" lang="en"/> + <l:gentext key="Draft" text="Proef"/> + <l:gentext key="above" text="bo"/> + <l:gentext key="below" text="onder"/> + <l:gentext key="sectioncalled" text="die seksie genaamd"/> + <l:gentext key="index symbols" text="indeks simbole"/> + <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> + <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> + <l:dingbat key="startquote" text="“"/> + <l:dingbat key="endquote" text="”"/> + <l:dingbat key="nestedstartquote" text="‘"/> + <l:dingbat key="nestedendquote" text="’"/> + <l:dingbat key="singlestartquote" text="‘" lang="en"/> + <l:dingbat key="singleendquote" text="’" lang="en"/> + <l:dingbat key="bullet" text="•"/> + <l:gentext key="hyphenation-character" text="-" lang="en"/> + <l:gentex... [truncated message content] |
From: <ian...@us...> - 2006-08-28 21:56:27
|
Revision: 1190 Author: ian_lewis Date: 2006-08-28 14:56:21 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1190&view=rev Log Message: ----------- merge from 05pre3 branch rev. 1189 Modified Paths: -------------- trunk/jsxe/Changelog trunk/jsxe/src/net/sourceforge/jsxe/properties Modified: trunk/jsxe/Changelog =================================================================== --- trunk/jsxe/Changelog 2006-08-28 21:53:57 UTC (rev 1189) +++ trunk/jsxe/Changelog 2006-08-28 21:56:21 UTC (rev 1190) @@ -1,6 +1,7 @@ 08/28/2006 Ian Lewis <Ian...@me...> * Changed the messages files to be named the standard ResourceBundle way. + * Fixed default key binding for exit. 08/27/2006 Ian Lewis <Ian...@me...> Modified: trunk/jsxe/src/net/sourceforge/jsxe/properties =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/properties 2006-08-28 21:53:57 UTC (rev 1189) +++ trunk/jsxe/src/net/sourceforge/jsxe/properties 2006-08-28 21:56:21 UTC (rev 1190) @@ -57,7 +57,7 @@ #{{{ Default key bindings open-file.shortcut=C+o -exit.shortcut=C+x +exit.shortcut=C+q close-file.shortcut=C+w new-file.shortcut=C+n save-file.shortcut=C+s This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 21:54:02
|
Revision: 1189 Author: ian_lewis Date: 2006-08-28 14:53:57 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1189&view=rev Log Message: ----------- Fixed default key binding for exit Modified Paths: -------------- tags/05pre3/jsxe/Changelog tags/05pre3/jsxe/src/net/sourceforge/jsxe/properties Modified: tags/05pre3/jsxe/Changelog =================================================================== --- tags/05pre3/jsxe/Changelog 2006-08-28 20:01:40 UTC (rev 1188) +++ tags/05pre3/jsxe/Changelog 2006-08-28 21:53:57 UTC (rev 1189) @@ -1,3 +1,7 @@ +08/28/2006 Ian Lewis <Ian...@me...> + + * Fixed default key binding for exit. + 08/27/2006 Ian Lewis <Ian...@me...> * Updated the launch4j script to set the absolute path of the lib directory Modified: tags/05pre3/jsxe/src/net/sourceforge/jsxe/properties =================================================================== --- tags/05pre3/jsxe/src/net/sourceforge/jsxe/properties 2006-08-28 20:01:40 UTC (rev 1188) +++ tags/05pre3/jsxe/src/net/sourceforge/jsxe/properties 2006-08-28 21:53:57 UTC (rev 1189) @@ -55,7 +55,7 @@ #{{{ Default key bindings open-file.shortcut=C+o -exit.shortcut=C+x +exit.shortcut=C+q close-file.shortcut=C+w new-file.shortcut=C+n save-file.shortcut=C+s This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 20:01:50
|
Revision: 1188 Author: ian_lewis Date: 2006-08-28 13:01:40 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1188&view=rev Log Message: ----------- Some more compatibility changes to the help viewer classes Modified Paths: -------------- trunk/jsxe/src/net/sourceforge/jsxe/help/HelpIndex.java Modified: trunk/jsxe/src/net/sourceforge/jsxe/help/HelpIndex.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/help/HelpIndex.java 2006-08-28 20:01:14 UTC (rev 1187) +++ trunk/jsxe/src/net/sourceforge/jsxe/help/HelpIndex.java 2006-08-28 20:01:40 UTC (rev 1188) @@ -23,26 +23,26 @@ from http://www.fsf.org/copyleft/gpl.txt */ -package org.gjt.sp.jedit.help; +package net.sourceforge.jsxe.help; //{{{ Imports import java.io.*; import java.net.*; import java.util.zip.*; import java.util.*; -import org.gjt.sp.jedit.io.*; -import org.gjt.sp.jedit.*; -import org.gjt.sp.util.Log; +//import org.gjt.sp.jedit.io.*; +//import org.gjt.sp.jedit.*; +import net.sourceforge.jsxe.util.Log; //}}} -class HelpIndex -{ +class HelpIndex { + //{{{ HelpIndex constructor - public HelpIndex() - { + public HelpIndex() { + words = new HashMap(); files = new ArrayList(); - + ignoreWord("a"); ignoreWord("an"); ignoreWord("and"); @@ -75,8 +75,7 @@ } //}}} /* //{{{ HelpIndex constructor - public HelpIndex(String fileListPath, String wordIndexPath) - { + public HelpIndex(String fileListPath, String wordIndexPath) { this(); } //}}} */ @@ -85,35 +84,25 @@ * Indexes all available help, including the jEdit user's guide, FAQ,] * and plugin documentation. */ - public void indexEditorHelp() - { - try - { - String jEditHome = jEdit.getJEditHome(); - if(jEditHome != null) - { - indexDirectory(MiscUtilities.constructPath(jEditHome,"doc","users-guide")); - indexDirectory(MiscUtilities.constructPath(jEditHome,"doc","FAQ")); - indexDirectory(MiscUtilities.constructPath(jEditHome,"doc","news42")); + public void indexEditorHelp() { + try { + String home = jsXe.getInstallDirectory(); + if (home != null) { + indexDirectory(MiscUtilities.constructPath(home,"doc","users-guide")); + indexDirectory(MiscUtilities.constructPath(home,"doc","FAQ")); + indexDirectory(MiscUtilities.constructPath(home,"doc","news42")); } - } - catch(Throwable e) - { + } catch(Throwable e) { Log.log(Log.ERROR,this,"Error indexing editor help"); Log.log(Log.ERROR,this,e); } PluginJAR[] jars = jEdit.getPluginJARs(); - for(int i = 0; i < jars.length; i++) - { - try - { + for (int i = 0; i < jars.length; i++) { + try { indexJAR(jars[i].getZipFile()); - } - catch(Throwable e) - { - Log.log(Log.ERROR,this,"Error indexing JAR: " - + jars[i].getPath()); + } catch(Throwable e) { + Log.log(Log.ERROR,this,"Error indexing JAR: "+ jars[i].getPath()); Log.log(Log.ERROR,this,e); } } @@ -126,13 +115,18 @@ * Indexes all HTML and text files in the specified directory. * @param dir The directory */ - public void indexDirectory(String dir) throws Exception - { - String[] files = VFSManager.getFileVFS() - ._listDirectory(null,dir,"*.{html,txt}",true,null); - - for(int i = 0; i < files.length; i++) - { + public void indexDirectory(String dir) throws Exception { + // String[] files = VFSManager.getFileVFS() + // ._listDirectory(null,dir,"*.{html,txt}",true,null); + File directory = new File(dir); + + ArrayList exts = new ArrayList(); + exts.add("html"); + exts.add("txt"); + + File[] files = directory.listFiles(new CustomFileFilter(exts, "Help Files")); + + for(int i = 0; i < files.length; i++) { indexURL(files[i]); } } //}}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 20:01:20
|
Revision: 1187 Author: ian_lewis Date: 2006-08-28 13:01:14 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1187&view=rev Log Message: ----------- Made CustomFileFilter implement java.io.FileFileter too Modified Paths: -------------- trunk/jsxe/src/net/sourceforge/jsxe/CustomFileFilter.java Modified: trunk/jsxe/src/net/sourceforge/jsxe/CustomFileFilter.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/CustomFileFilter.java 2006-08-28 19:41:57 UTC (rev 1186) +++ trunk/jsxe/src/net/sourceforge/jsxe/CustomFileFilter.java 2006-08-28 20:01:14 UTC (rev 1187) @@ -25,11 +25,6 @@ package net.sourceforge.jsxe; //{{{ imports -/* -All classes are listed explicitly so -it is easy to see which package it -belongs to. -*/ //{{{ Java Base classes import java.io.File; @@ -37,19 +32,15 @@ import java.util.Iterator; //}}} -//{{{ Swing Classes -import javax.swing.filechooser.FileFilter; //}}} -//}}} - /** * A custom class that implements the FileFilter interface. It simplifies * creating a file filter. * @author Ian Lewis (<a href="mailto:Ian...@me...">Ian...@me...</a>) * @version $Id$ */ -public class CustomFileFilter extends FileFilter { +public class CustomFileFilter extends javax.swing.filechooser.FileFilter implements java.io.FileFilter { //{{{ CustomFileFilter constructor /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 19:42:05
|
Revision: 1186 Author: ian_lewis Date: 2006-08-28 12:41:57 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1186&view=rev Log Message: ----------- Changed the file filter to use the standard contains() method in java Collections Modified Paths: -------------- trunk/jsxe/src/net/sourceforge/jsxe/CustomFileFilter.java Modified: trunk/jsxe/src/net/sourceforge/jsxe/CustomFileFilter.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/CustomFileFilter.java 2006-08-28 18:23:14 UTC (rev 1185) +++ trunk/jsxe/src/net/sourceforge/jsxe/CustomFileFilter.java 2006-08-28 19:41:57 UTC (rev 1186) @@ -76,12 +76,14 @@ return true; } String ext = getExtension(f); - Iterator iterator = extensions.iterator(); - while (iterator.hasNext()) { - if(iterator.next().toString().equals(ext)) { - return true; - } - } + return extensions.contains(ext); + + // Iterator iterator = extensions.iterator(); + // while (iterator.hasNext()) { + // if(iterator.next().toString().equals(ext)) { + // return true; + // } + // } } return false; }//}}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 18:23:34
|
Revision: 1185 Author: ian_lewis Date: 2006-08-28 11:23:14 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1185&view=rev Log Message: ----------- Added initial files for the help viewer Modified Paths: -------------- trunk/jsxe/build.xml trunk/jsxe/messages/messages.properties trunk/jsxe/src/net/sourceforge/jsxe/gui/GUIUtilities.java trunk/jsxe/src/net/sourceforge/jsxe/jsXe.java trunk/jsxe/src/net/sourceforge/jsxe/properties trunk/jsxe/src/net/sourceforge/jsxe/util/MiscUtilities.java Added Paths: ----------- trunk/jsxe/src/net/sourceforge/jsxe/gui/RolloverButton.java trunk/jsxe/src/net/sourceforge/jsxe/help/ trunk/jsxe/src/net/sourceforge/jsxe/help/HelpIndex.java trunk/jsxe/src/net/sourceforge/jsxe/help/HelpSearchPanel.java trunk/jsxe/src/net/sourceforge/jsxe/help/HelpTOCPanel.java trunk/jsxe/src/net/sourceforge/jsxe/help/HelpViewer.java trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowD.png trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowL.png trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowR.png trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowU.png Modified: trunk/jsxe/build.xml =================================================================== --- trunk/jsxe/build.xml 2006-08-28 15:50:38 UTC (rev 1184) +++ trunk/jsxe/build.xml 2006-08-28 18:23:14 UTC (rev 1185) @@ -221,6 +221,9 @@ <!--<include name="**/*.dtd"/>--> <include name="**/*.jpg"/> <include name="**/*.png"/> + + <!-- files in the source directory to ignore --> + <exclude name="net/sourceforge/jsxe/help/**/*"/> </fileset> </copy> <mkdir dir="${build.plugin}"/> Modified: trunk/jsxe/messages/messages.properties =================================================================== --- trunk/jsxe/messages/messages.properties 2006-08-28 15:50:38 UTC (rev 1184) +++ trunk/jsxe/messages/messages.properties 2006-08-28 18:23:14 UTC (rev 1185) @@ -297,4 +297,28 @@ ValidationErrors.message=Validation Errors #}}} +#}}} + +#{{{ Help viewer +helpviewer.title=jsXe Help +helpviewer.loading=Loading... +helpviewer.back.label=Back +helpviewer.forward.label=Forward + +helpviewer.toc.loading=Loading... +helpviewer.toc.label=Contents +helpviewer.toc.welcome=Welcome to jsXe +helpviewer.toc.readme=General Information +helpviewer.toc.changes=Detailed Change Log +helpviewer.toc.todo=To Do List and Known Bugs +helpviewer.toc.copying=GNU General Public License +helpviewer.toc.copying-doc=GNU Free Documentation License +helpviewer.toc.copying-apache=Apache License +helpviewer.toc.copying-plugins=Plugin Licensing Amendment +helpviewer.toc.plugins=Plugins + +helpviewer.search.label=Search +helpviewer.search.caption=Search for: +helpviewer.searching=Searching... +helpviewer.no-results=No results #}}} \ No newline at end of file Modified: trunk/jsxe/src/net/sourceforge/jsxe/gui/GUIUtilities.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/gui/GUIUtilities.java 2006-08-28 15:50:38 UTC (rev 1184) +++ trunk/jsxe/src/net/sourceforge/jsxe/gui/GUIUtilities.java 2006-08-28 18:23:14 UTC (rev 1185) @@ -90,7 +90,7 @@ * Loads an icon. * @param iconName The icon name */ - public static Icon loadIcon(String iconName) { + public static ImageIcon loadIcon(String iconName) { if (icons == null) { icons = new Hashtable(); } Added: trunk/jsxe/src/net/sourceforge/jsxe/gui/RolloverButton.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/gui/RolloverButton.java (rev 0) +++ trunk/jsxe/src/net/sourceforge/jsxe/gui/RolloverButton.java 2006-08-28 18:23:14 UTC (rev 1185) @@ -0,0 +1,207 @@ +/* + * RolloverButton.java - Class for buttons that implement rollovers + * :tabSize=8:indentSize=8:noTabs=false: + * :folding=explicit:collapseFolds=1: + * + * Copyright (C) 2002 Kris Kopicki + * Portions copyright (C) 2003 Slava Pestov + * + * 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 the Free Software Foundation; either version 2 + * of the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +package net.sourceforge.jsxe.gui; + +//{{{ Imports +import java.awt.*; +import java.awt.event.*; +import java.lang.reflect.Method; +import javax.swing.*; +import javax.swing.border.*; +import javax.swing.plaf.basic.BasicButtonUI; +import net.sourceforge.jsxe.OperatingSystem; +import net.sourceforge.jsxe.util.Log; +//}}} + +/** + * If you wish to have rollovers on your buttons, use this class. + * + * Unlike the Swing rollover support, this class works outside of + * <code>JToolBar</code>s, and does not require undocumented client + * property hacks or JDK1.4-specific API calls.<p> + * + * Note: You should not call <code>setBorder()</code> on your buttons, + * as they probably won't work properly. + * @author Kris Kopicki + * @author Slava Pestov + * @since jsXe 0.5 pre4 + * @version $Id$ + */ +public class RolloverButton extends JButton +{ + //{{{ RolloverButton constructor + /** + * Setup the border (invisible initially) + */ + public RolloverButton() + { + if(OperatingSystem.hasJava15()) + setContentAreaFilled(false); + + if(method != null) + { + try + { + method.invoke(this,new Boolean[] { Boolean.TRUE }); + } + catch(Exception e) + { + Log.log(Log.ERROR,this,e); + } + } + else + { + addMouseListener(new MouseOverHandler()); + } + } //}}} + + //{{{ RolloverButton constructor + /** + * Setup the border (invisible initially) + */ + public RolloverButton(Icon icon) + { + this(); + + setIcon(icon); + } //}}} + + //{{{ updateUI() method + public void updateUI() + { + if(OperatingSystem.isWindows()) + { + /* Workaround for uncooperative Windows L&F */ + setUI(new BasicButtonUI()); + } + else + super.updateUI(); + + setBorder(new EtchedBorder()); + setBorderPainted(false); + setMargin(new Insets(1,1,1,1)); + + setRequestFocusEnabled(false); + } //}}} + + //{{{ isOpaque() method + public boolean isOpaque() + { + return false; + } //}}} + + //{{{ setEnabled() method + public void setEnabled(boolean b) + { + super.setEnabled(b); + if(method == null) + { + setBorderPainted(false); + repaint(); + } + } //}}} + + //{{{ setBorderPainted() method + public void setBorderPainted(boolean b) + { + try + { + revalidateBlocked = true; + super.setBorderPainted(b); + } + finally + { + revalidateBlocked = false; + } + } //}}} + + //{{{ revalidate() method + /** + * We block calls to revalidate() from a setBorderPainted(), for + * performance reasons. + */ + public void revalidate() + { + if(!revalidateBlocked) + super.revalidate(); + } //}}} + + //{{{ paint() method + public void paint(Graphics g) + { + if(method != null || isEnabled()) + super.paint(g); + else + { + Graphics2D g2 = (Graphics2D)g; + g2.setComposite(c); + super.paint(g2); + } + } //}}} + + //{{{ Private members + private static AlphaComposite c = AlphaComposite.getInstance( + AlphaComposite.SRC_OVER, 0.5f); + + private static Method method; + + private boolean revalidateBlocked; + + static + { + /* if(OperatingSystem.hasJava14()) + { + try + { + method = RolloverButton.class + .getMethod("setRolloverEnabled",new Class[] + { boolean.class }); + Log.log(Log.DEBUG,RolloverButton.class, + "Java 1.4 setRolloverEnabled() method enabled"); + } + catch(Exception e) + { + Log.log(Log.ERROR,RolloverButton.class,e); + } + } */ + } //}}} + + //{{{ MouseHandler class + /** + * Make the border visible/invisible on rollovers + */ + class MouseOverHandler extends MouseAdapter + { + public void mouseEntered(MouseEvent e) + { + if (isEnabled()) + setBorderPainted(true); + } + + public void mouseExited(MouseEvent e) + { + setBorderPainted(false); + } + } //}}} +} Added: trunk/jsxe/src/net/sourceforge/jsxe/help/HelpIndex.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/help/HelpIndex.java (rev 0) +++ trunk/jsxe/src/net/sourceforge/jsxe/help/HelpIndex.java 2006-08-28 18:23:14 UTC (rev 1185) @@ -0,0 +1,398 @@ +/* +HelpIndex.java +:tabSize=4:indentSize=4:noTabs=true: +:folding=explicit:collapseFolds=1: + +Copyright (C) 2002 Slava Pestov +Portions Copyright (C) 2006 Ian Lewis (Ian...@me...) + +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 the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +Optionally, you may find a copy of the GNU General Public License +from http://www.fsf.org/copyleft/gpl.txt +*/ + +package org.gjt.sp.jedit.help; + +//{{{ Imports +import java.io.*; +import java.net.*; +import java.util.zip.*; +import java.util.*; +import org.gjt.sp.jedit.io.*; +import org.gjt.sp.jedit.*; +import org.gjt.sp.util.Log; +//}}} + +class HelpIndex +{ + //{{{ HelpIndex constructor + public HelpIndex() + { + words = new HashMap(); + files = new ArrayList(); + + ignoreWord("a"); + ignoreWord("an"); + ignoreWord("and"); + ignoreWord("are"); + ignoreWord("as"); + ignoreWord("be"); + ignoreWord("by"); + ignoreWord("can"); + ignoreWord("do"); + ignoreWord("for"); + ignoreWord("from"); + ignoreWord("how"); + ignoreWord("i"); + ignoreWord("if"); + ignoreWord("in"); + ignoreWord("is"); + ignoreWord("it"); + ignoreWord("not"); + ignoreWord("of"); + ignoreWord("on"); + ignoreWord("or"); + ignoreWord("s"); + ignoreWord("that"); + ignoreWord("the"); + ignoreWord("this"); + ignoreWord("to"); + ignoreWord("will"); + ignoreWord("with"); + ignoreWord("you"); + } //}}} + + /* //{{{ HelpIndex constructor + public HelpIndex(String fileListPath, String wordIndexPath) + { + this(); + } //}}} */ + + //{{{ indexEditorHelp() method + /** + * Indexes all available help, including the jEdit user's guide, FAQ,] + * and plugin documentation. + */ + public void indexEditorHelp() + { + try + { + String jEditHome = jEdit.getJEditHome(); + if(jEditHome != null) + { + indexDirectory(MiscUtilities.constructPath(jEditHome,"doc","users-guide")); + indexDirectory(MiscUtilities.constructPath(jEditHome,"doc","FAQ")); + indexDirectory(MiscUtilities.constructPath(jEditHome,"doc","news42")); + } + } + catch(Throwable e) + { + Log.log(Log.ERROR,this,"Error indexing editor help"); + Log.log(Log.ERROR,this,e); + } + + PluginJAR[] jars = jEdit.getPluginJARs(); + for(int i = 0; i < jars.length; i++) + { + try + { + indexJAR(jars[i].getZipFile()); + } + catch(Throwable e) + { + Log.log(Log.ERROR,this,"Error indexing JAR: " + + jars[i].getPath()); + Log.log(Log.ERROR,this,e); + } + } + + Log.log(Log.DEBUG,this,"Indexed " + words.size() + " words"); + } //}}} + + //{{{ indexDirectory() method + /** + * Indexes all HTML and text files in the specified directory. + * @param dir The directory + */ + public void indexDirectory(String dir) throws Exception + { + String[] files = VFSManager.getFileVFS() + ._listDirectory(null,dir,"*.{html,txt}",true,null); + + for(int i = 0; i < files.length; i++) + { + indexURL(files[i]); + } + } //}}} + + //{{{ indexJAR() method + /** + * Indexes all HTML and text files in the specified JAR file. + * @param jar The JAR file + */ + public void indexJAR(ZipFile jar) throws Exception + { + Enumeration e = jar.entries(); + while(e.hasMoreElements()) + { + ZipEntry entry = (ZipEntry)e.nextElement(); + String name = entry.getName(); + String lname = name.toLowerCase(); + if(lname.endsWith(".html")/* || lname.endsWith(".txt") */) + { + // only works for jEdit plugins + String url = "jeditresource:/" + + MiscUtilities.getFileName(jar.getName()) + + "!/" + name; + Log.log(Log.DEBUG,this,url); + indexStream(jar.getInputStream(entry),url); + } + } + } //}}} + + //{{{ indexURL() method + /** + * Reads the specified HTML file and adds all words defined therein to the + * index. + * @param url The HTML file's URL + */ + public void indexURL(String url) throws Exception + { + InputStream _in; + + if(MiscUtilities.isURL(url)) + _in = new URL(url).openStream(); + else + { + _in = new FileInputStream(url); + // hack since HelpViewer needs a URL... + url = "file:" + url; + } + + indexStream(_in,url); + } //}}} + + //{{{ lookupWord() method + public Word lookupWord(String word) + { + Object o = words.get(word); + if(o == IGNORE) + return null; + else + return (Word)o; + } //}}} + + //{{{ getFile() method + public HelpFile getFile(int index) + { + return (HelpFile)files.get(index); + } //}}} + + //{{{ Private members + // used to mark words to ignore (see constructor for the list) + private static Object IGNORE = new Object(); + private HashMap words; + private ArrayList files; + + //{{{ ignoreWord() method + private void ignoreWord(String word) + { + words.put(word,IGNORE); + } //}}} + + //{{{ indexStream() method + /** + * Reads the specified HTML file and adds all words defined therein to the + * index. + * @param _in The input stream + * @param file The file + */ + private void indexStream(InputStream _in, String fileName) + throws Exception + { + HelpFile file = new HelpFile(fileName); + files.add(file); + int index = files.size() - 1; + + StringBuffer titleText = new StringBuffer(); + + BufferedReader in = new BufferedReader( + new InputStreamReader(_in)); + + try + { + StringBuffer word = new StringBuffer(); + boolean insideTag = false; + boolean insideEntity = false; + + boolean title = false; + + int c; + while((c = in.read()) != -1) + { + char ch = (char)c; + if(insideTag) + { + if(ch == '>') + { + if(word.toString().equals("title")) + title = true; + insideTag = false; + word.setLength(0); + } + else + word.append(ch); + } + else if(insideEntity) + { + if(ch == ';') + insideEntity = false; + } + else if(ch == '<') + { + if(title) + title = false; + + if(word.length() != 0) + { + addWord(word.toString(),index,title); + word.setLength(0); + } + + insideTag = true; + } + else if(ch == '&') + insideEntity = true; + else if(title) + titleText.append(ch); + else if(!Character.isLetterOrDigit(ch)) + { + if(word.length() != 0) + { + addWord(word.toString(),index,title); + word.setLength(0); + } + } + else + word.append(ch); + } + } + finally + { + in.close(); + } + + if(titleText.length() == 0) + file.title = fileName; + else + file.title = titleText.toString(); + } //}}} + + //{{{ addWord() method + private void addWord(String word, int file, boolean title) + { + word = word.toLowerCase(); + + Object o = words.get(word); + if(o == IGNORE) + return; + + if(o == null) + words.put(word,new Word(word,file,title)); + else + ((Word)o).addOccurrence(file,title); + } //}}} + + //}}} + + //{{{ Word class + static class Word + { + // how much an occurrence in the title is worth + static final int TITLE_OCCUR = 10; + + // the word + String word; + + // files it occurs in + int occurCount = 0; + Occurrence[] occurrences; + + Word(String word, int file, boolean title) + { + this.word = word; + occurrences = new Occurrence[5]; + addOccurrence(file,title); + } + + void addOccurrence(int file, boolean title) + { + for(int i = 0; i < occurCount; i++) + { + if(occurrences[i].file == file) + { + occurrences[i].count += (title ? TITLE_OCCUR : 1); + return; + } + } + + if(occurCount >= occurrences.length) + { + Occurrence[] newOccur = new Occurrence[occurrences.length * 2]; + System.arraycopy(occurrences,0,newOccur,0,occurCount); + occurrences = newOccur; + } + + occurrences[occurCount++] = new Occurrence(file,title); + } + + static class Occurrence + { + int file; + int count; + + Occurrence(int file, boolean title) + { + this.file = file; + this.count = (title ? TITLE_OCCUR : 1); + } + } + } //}}} + + //{{{ HelpFile class + static class HelpFile + { + String file; + String title; + + HelpFile(String file) + { + this.file = file; + } + + public String toString() + { + return title; + } + + public boolean equals(Object o) + { + if(o instanceof HelpFile) + return ((HelpFile)o).file.equals(file); + else + return false; + } + } //}}} +} Added: trunk/jsxe/src/net/sourceforge/jsxe/help/HelpSearchPanel.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/help/HelpSearchPanel.java (rev 0) +++ trunk/jsxe/src/net/sourceforge/jsxe/help/HelpSearchPanel.java 2006-08-28 18:23:14 UTC (rev 1185) @@ -0,0 +1,298 @@ +/* +HelpSearchPanel.java +:tabSize=4:indentSize=4:noTabs=true: +:folding=explicit:collapseFolds=1: + +Copyright (C) 2002 Slava Pestov +Portions Copyright (C) 2006 Ian Lewis (Ian...@me...) + +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 the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +Optionally, you may find a copy of the GNU General Public License +from http://www.fsf.org/copyleft/gpl.txt +*/ + +package net.sourceforge.jsxe.help; + +//{{{ Imports +import javax.swing.*; +import java.awt.event.*; +import java.awt.*; +import java.util.*; + +import net.sourceforge.jsxe.gui.*; +import net.sourceforge.jsxe.jsXe; +import net.sourceforge.jsxe.Log; +//}}} + +/** + * The Search panel in the Help Viewer. + * + * @author Slava Pestov + * @author Ian Lewis (<a href="mailto:Ian...@me...">Ian...@me...</a>) + * @version $Id$ + * @since jsXe 0.5 pre4 + */ +class HelpSearchPanel extends JPanel { + + //{{{ HelpSearchPanel constructor + public HelpSearchPanel(HelpViewer helpViewer) { + super(new BorderLayout(6,6)); + + this.helpViewer = helpViewer; + + Box box = new Box(BoxLayout.X_AXIS); + box.add(new JLabel(Messages.getMessage("helpviewer.search.caption"))); + box.add(Box.createHorizontalStrut(6)); + box.add(searchField = new HistoryTextField("helpviewer.search")); + searchField.addActionListener(new ActionHandler()); + + add(BorderLayout.NORTH,box); + + results = new JList(); + results.addMouseListener(new MouseHandler()); + results.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); + results.setCellRenderer(new ResultRenderer()); + add(BorderLayout.CENTER,new JScrollPane(results)); + } //}}} + + //{{{ Private members + private HelpViewer helpViewer; + private HistoryTextField searchField; + private JList results; + private HelpIndex index; + + private HelpIndex getHelpIndex() + { + if(index == null) + { + index = new HelpIndex(); + try + { + index.indexEditorHelp(); + } + catch(Exception e) + { + index = null; + Log.log(Log.ERROR,this,e); + GUIUtilities.error(helpViewer,"helpviewer.search.error", + new String[] { e.toString() }); + } + } + + return index; + } //}}} + + //{{{ ResultIcon class + static class ResultIcon implements Icon + { + private static RenderingHints renderingHints; + + static + { + HashMap hints = new HashMap(); + + hints.put(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); + hints.put(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); + + renderingHints = new RenderingHints(hints); + } + + private int rank; + + ResultIcon(int rank) + { + this.rank = rank; + } + + public int getIconWidth() + { + return 40; + } + + public int getIconHeight() + { + return 9; + } + + public void paintIcon(Component c, Graphics g, int x, int y) + { + Graphics2D g2d = (Graphics2D)g.create(); + g2d.setRenderingHints(renderingHints); + + for(int i = 0; i < 4; i++) + { + if(rank > i) + g2d.setColor(UIManager.getColor("Label.foreground")); + else + g2d.setColor(UIManager.getColor("Label.disabledForeground")); + g2d.fillOval(x+i*10,y,9,9); + } + } + } //}}} + + //{{{ ResultRenderer class + class ResultRenderer extends DefaultListCellRenderer + { + public Component getListCellRendererComponent( + JList list, + Object value, + int index, + boolean isSelected, + boolean cellHasFocus) + { + super.getListCellRendererComponent(list,null,index, + isSelected,cellHasFocus); + + if(value instanceof String) + { + setIcon(null); + setText((String)value); + } + else + { + Result result = (Result)value; + setIcon(new ResultIcon(result.rank)); + setText(result.title); + } + + return this; + } + } //}}} + + //{{{ Result class + static class Result + { + String file; + String title; + int rank; + + Result(HelpIndex.HelpFile file, int count) + { + this.file = file.file; + this.title = file.title; + rank = count; + } + } //}}} + + //{{{ ResultCompare class + static class ResultCompare implements Comparator + { + public int compare(Object o1, Object o2) + { + Result r1 = (Result)o1; + Result r2 = (Result)o2; + if(r1.rank == r2.rank) + return r1.title.compareTo(r2.title); + else + return r2.rank - r1.rank; + } + } //}}} + + //{{{ ActionHandler class + class ActionHandler implements ActionListener { + + public void actionPerformed(ActionEvent evt) { + + final HelpIndex index = getHelpIndex(); + if (index == null) { + return; + } + + results.setListData(new String[] { Messages.getMessage("helpviewer.searching") }); + + final String text = searchField.getText(); + final Vector resultModel = new Vector(); + + VFSManager.runInWorkThread(new Runnable() { + + public void run() { + StringTokenizer st = new StringTokenizer(text,",.;:-? "); + + // we later use this to compute a relative ranking + int maxRank = 0; + + while (st.hasMoreTokens()) { + String word = st.nextToken().toLowerCase(); + HelpIndex.Word lookup = index.lookupWord(word); + if (lookup == null) { + continue; + } + + for (int i = 0; i < lookup.occurCount; i++) { + HelpIndex.Word.Occurrence occur = lookup.occurrences[i]; + + boolean ok = false; + + HelpIndex.HelpFile file = index.getFile(occur.file); + for (int j = 0; j < resultModel.size(); j++) { + Result result = (Result)resultModel.elementAt(j); + if (result.file.equals(file.file)) { + result.rank += occur.count; + result.rank += 20; // multiple files w/ word bonus + maxRank = Math.max(result.rank,maxRank); + ok = true; + break; + } + } + + if (!ok) { + maxRank = Math.max(occur.count,maxRank); + resultModel.addElement(new Result(file,occur.count)); + } + } + } + + if (maxRank != 0) { + // turn the rankings into relative rankings, from 1 to 4 + for (int i = 0; i < resultModel.size(); i++) { + Result result = (Result)resultModel.elementAt(i); + result.rank = (int)Math.ceil((double)result.rank * 4 / maxRank); + } + + Collections.sort(resultModel,new ResultCompare()); + } + } + }); + + VFSManager.runInAWTThread(new Runnable() { + public void run() { + if (resultModel.size() == 0) { + results.setListData(new String[] { Messages.getMessage("helpviewer.no-results") }); + + getToolkit().beep(); + } else { + results.setListData(resultModel); + } + } + }); + + } + } //}}} + + //{{{ MouseHandler class + public class MouseHandler extends MouseAdapter + { + public void mouseReleased(MouseEvent evt) + { + int row = results.locationToIndex(evt.getPoint()); + if(row != -1) + { + Result result = (Result)results.getModel() + .getElementAt(row); + helpViewer.gotoURL(result.file,true); + } + } + } //}}} +} Added: trunk/jsxe/src/net/sourceforge/jsxe/help/HelpTOCPanel.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/help/HelpTOCPanel.java (rev 0) +++ trunk/jsxe/src/net/sourceforge/jsxe/help/HelpTOCPanel.java 2006-08-28 18:23:14 UTC (rev 1185) @@ -0,0 +1,445 @@ +/* +HelpTOCPanel.java +:tabSize=4:indentSize=4:noTabs=true: +:folding=explicit:collapseFolds=1: + +Copyright (C) 1999, 2004 Slava Pestov +Portions Copyright (C) 2006 Ian Lewis (Ian...@me...) + +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 the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +Optionally, you may find a copy of the GNU General Public License +from http://www.fsf.org/copyleft/gpl.txt +*/ + +package net.sourceforge.jsxe.help; + +//{{{ Imports +import com.microstar.xml.*; +import javax.swing.*; +import javax.swing.border.*; +import javax.swing.tree.*; +import java.awt.*; +import java.awt.event.*; +import java.io.*; +import java.net.*; +import java.util.*; +//import org.gjt.sp.jedit.browser.FileCellRenderer; // for icons +//import org.gjt.sp.jedit.io.VFSManager; +import net.sourceforge.jsxe.jsXe; +import net.sourceforge.jsxe.util.Log; +//}}} + +class HelpTOCPanel extends JPanel { + + //{{{ HelpTOCPanel constructor + HelpTOCPanel(HelpViewer helpViewer) + { + super(new BorderLayout()); + + this.helpViewer = helpViewer; + nodes = new Hashtable(); + + toc = new TOCTree(); + + // looks bad with the OS X L&F, apparently... + if(!OperatingSystem.isMacOSLF()) + toc.putClientProperty("JTree.lineStyle", "Angled"); + + toc.setCellRenderer(new TOCCellRenderer()); + toc.setEditable(false); + toc.setShowsRootHandles(true); + + add(BorderLayout.CENTER,new JScrollPane(toc)); + + load(); + } //}}} + + //{{{ selectNode() method + void selectNode(String shortURL) + { + if(tocModel == null) + return; + + DefaultMutableTreeNode node = (DefaultMutableTreeNode)nodes.get(shortURL); + + if(node == null) + return; + + TreePath path = new TreePath(tocModel.getPathToRoot(node)); + toc.expandPath(path); + toc.setSelectionPath(path); + toc.scrollPathToVisible(path); + } //}}} + + //{{{ load() method + void load() { + DefaultTreeModel empty = new DefaultTreeModel( + new DefaultMutableTreeNode(Messages.getMessage("helpviewer.toc.loading"))); + toc.setModel(empty); + toc.setRootVisible(true); + + VFSManager.runInWorkThread(new Runnable() { + public void run() { + createTOC(); + tocModel.reload(tocRoot); + toc.setModel(tocModel); + toc.setRootVisible(false); + for (int i = 0; i <tocRoot.getChildCount(); i++) { + DefaultMutableTreeNode node = (DefaultMutableTreeNode)tocRoot.getChildAt(i); + toc.expandPath(new TreePath(node.getPath())); + } + if (helpViewer.getShortURL() != null) { + selectNode(helpViewer.getShortURL()); + } + } + }); + } //}}} + + //{{{ Private members + private HelpViewer helpViewer; + private DefaultTreeModel tocModel; + private DefaultMutableTreeNode tocRoot; + private JTree toc; + private Hashtable nodes; + + //{{{ createNode() method + private DefaultMutableTreeNode createNode(String href, String title) + { + DefaultMutableTreeNode node = new DefaultMutableTreeNode( + new HelpNode(href,title),true); + nodes.put(href,node); + return node; + } //}}} + + //{{{ createTOC() method + private void createTOC() { + + EditPlugin[] plugins = jEdit.getPlugins(); + Arrays.sort(plugins,new PluginCompare()); + tocRoot = new DefaultMutableTreeNode(); + + tocRoot.add(createNode("welcome.html", + Messages.getMessage("helpviewer.toc.welcome"))); + + tocRoot.add(createNode("README.txt", + Messages.getMessage("helpviewer.toc.readme"))); + tocRoot.add(createNode("CHANGES.txt", + Messages.getMessage("helpviewer.toc.changes"))); + tocRoot.add(createNode("TODO.txt", + Messages.getMessage("helpviewer.toc.todo"))); + tocRoot.add(createNode("COPYING.txt", + Messages.getMessage("helpviewer.toc.copying"))); + tocRoot.add(createNode("COPYING.DOC.txt", + Messages.getMessage("helpviewer.toc.copying-doc"))); + tocRoot.add(createNode("Apache.LICENSE.txt", + Messages.getMessage("helpviewer.toc.copying-apache"))); + tocRoot.add(createNode("COPYING.PLUGINS.txt", + Messages.getMessage("helpviewer.toc.copying-plugins"))); + + loadTOC(tocRoot,"news42/toc.xml"); + loadTOC(tocRoot,"users-guide/toc.xml"); + loadTOC(tocRoot,"FAQ/toc.xml"); + loadTOC(tocRoot,"api/toc.xml"); + + DefaultMutableTreeNode pluginTree = new DefaultMutableTreeNode( + Messages.getMessage("helpviewer.toc.plugins"),true); + + for (int i = 0; i < plugins.length; i++) { + EditPlugin plugin = plugins[i]; + + String name = plugin.getClassName(); + + String docs = jEdit.getProperty("plugin." + name + ".docs"); + String label = jEdit.getProperty("plugin." + name + ".name"); + if (docs != null) { + if (label != null && docs != null) { + String path = plugin.getPluginJAR() + .getClassLoader() + .getResourceAsPath(docs); + pluginTree.add(createNode( + path,label)); + } + } + } + + if (pluginTree.getChildCount() != 0) { + tocRoot.add(pluginTree); + } else { + // so that HelpViewer constructor doesn't try to expand + pluginTree = null; + } + + tocModel = new DefaultTreeModel(tocRoot); + } //}}} + + //{{{ loadTOC() method + private void loadTOC(DefaultMutableTreeNode root, String path) + { + TOCHandler h = new TOCHandler(root,MiscUtilities.getParentOfPath(path)); + XmlParser parser = new XmlParser(); + Reader in = null; + parser.setHandler(h); + + try + { + in = new InputStreamReader( + new URL(helpViewer.getBaseURL() + + '/' + path).openStream()); + parser.parse(null, null, in); + } + catch(XmlException xe) + { + int line = xe.getLine(); + String message = xe.getMessage(); + Log.log(Log.ERROR,this,path + ':' + line + + ": " + message); + } + catch(Exception e) + { + Log.log(Log.ERROR,this,e); + } + finally + { + try + { + if(in != null) + in.close(); + } + catch(IOException io) + { + Log.log(Log.ERROR,this,io); + } + } + } //}}} + + //}}} + + //{{{ HelpNode class + static class HelpNode + { + String href, title; + + //{{{ HelpNode constructor + HelpNode(String href, String title) + { + this.href = href; + this.title = title; + } //}}} + + //{{{ toString() method + public String toString() + { + return title; + } //}}} + } //}}} + + //{{{ TOCHandler class + class TOCHandler extends HandlerBase + { + String dir; + + //{{{ TOCHandler constructor + TOCHandler(DefaultMutableTreeNode root, String dir) + { + nodes = new Stack(); + node = root; + this.dir = dir; + } //}}} + + //{{{ attribute() method + public void attribute(String aname, String value, boolean isSpecified) + { + if(aname.equals("HREF")) + href = value; + } //}}} + + //{{{ charData() method + public void charData(char[] c, int off, int len) + { + if(tag.equals("TITLE")) + { + StringBuffer buf = new StringBuffer(); + for(int i = 0; i < len; i++) + { + char ch = c[off + i]; + if(ch == ' ' || !Character.isWhitespace(ch)) + buf.append(ch); + } + title = buf.toString(); + } + } //}}} + + //{{{ startElement() method + public void startElement(String name) + { + tag = name; + } //}}} + + //{{{ endElement() method + public void endElement(String name) + { + if(name == null) + return; + + if(name.equals("TITLE")) + { + DefaultMutableTreeNode newNode = createNode( + dir + href,title); + node.add(newNode); + nodes.push(node); + node = newNode; + } + else if(name.equals("ENTRY")) + node = (DefaultMutableTreeNode)nodes.pop(); + } //}}} + + //{{{ Private members + private String tag; + private String title; + private String href; + private DefaultMutableTreeNode node; + private Stack nodes; + //}}} + } //}}} + + //{{{ TOCTree class + class TOCTree extends JTree + { + //{{{ TOCTree constructor + TOCTree() + { + ToolTipManager.sharedInstance().registerComponent(this); + } //}}} + + //{{{ getToolTipText() method + public final String getToolTipText(MouseEvent evt) + { + TreePath path = getPathForLocation(evt.getX(), evt.getY()); + if(path != null) + { + Rectangle cellRect = getPathBounds(path); + if(cellRect != null && !cellRectIsVisible(cellRect)) + return path.getLastPathComponent().toString(); + } + return null; + } //}}} + + //{{{ getToolTipLocation() method + /* public final Point getToolTipLocation(MouseEvent evt) + { + TreePath path = getPathForLocation(evt.getX(), evt.getY()); + if(path != null) + { + Rectangle cellRect = getPathBounds(path); + if(cellRect != null && !cellRectIsVisible(cellRect)) + { + return new Point(cellRect.x + 14, cellRect.y); + } + } + return null; + } */ //}}} + + //{{{ processMouseEvent() method + protected void processMouseEvent(MouseEvent evt) + { + //ToolTipManager ttm = ToolTipManager.sharedInstance(); + + switch(evt.getID()) + { + /* case MouseEvent.MOUSE_ENTERED: + toolTipInitialDelay = ttm.getInitialDelay(); + toolTipReshowDelay = ttm.getReshowDelay(); + ttm.setInitialDelay(200); + ttm.setReshowDelay(0); + super.processMouseEvent(evt); + break; + case MouseEvent.MOUSE_EXITED: + ttm.setInitialDelay(toolTipInitialDelay); + ttm.setReshowDelay(toolTipReshowDelay); + super.processMouseEvent(evt); + break; */ + case MouseEvent.MOUSE_CLICKED: + TreePath path = getPathForLocation(evt.getX(),evt.getY()); + if(path != null) + { + if(!isPathSelected(path)) + setSelectionPath(path); + + Object obj = ((DefaultMutableTreeNode) + path.getLastPathComponent()) + .getUserObject(); + if(!(obj instanceof HelpNode)) + { + this.expandPath(path); + return; + } + + HelpNode node = (HelpNode)obj; + + helpViewer.gotoURL(node.href,true); + } + + super.processMouseEvent(evt); + break; + default: + super.processMouseEvent(evt); + break; + } + } //}}} + + //{{{ cellRectIsVisible() method + private boolean cellRectIsVisible(Rectangle cellRect) + { + Rectangle vr = TOCTree.this.getVisibleRect(); + return vr.contains(cellRect.x,cellRect.y) && + vr.contains(cellRect.x + cellRect.width, + cellRect.y + cellRect.height); + } //}}} + } //}}} + + //{{{ TOCCellRenderer class + class TOCCellRenderer extends DefaultTreeCellRenderer + { + EmptyBorder border = new EmptyBorder(1,0,1,1); + + public Component getTreeCellRendererComponent(JTree tree, + Object value, boolean sel, boolean expanded, + boolean leaf, int row, boolean focus) + { + super.getTreeCellRendererComponent(tree,value,sel, + expanded,leaf,row,focus); + setIcon(leaf ? FileCellRenderer.fileIcon + : (expanded ? FileCellRenderer.openDirIcon + : FileCellRenderer.dirIcon)); + setBorder(border); + + return this; + } + } //}}} + + //{{{ PluginCompare class + static class PluginCompare implements Comparator + { + public int compare(Object o1, Object o2) + { + EditPlugin p1 = (EditPlugin)o1; + EditPlugin p2 = (EditPlugin)o2; + return MiscUtilities.compareStrings( + jEdit.getProperty("plugin." + p1.getClassName() + ".name"), + jEdit.getProperty("plugin." + p2.getClassName() + ".name"), + true); + } + } //}}} +} Added: trunk/jsxe/src/net/sourceforge/jsxe/help/HelpViewer.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/help/HelpViewer.java (rev 0) +++ trunk/jsxe/src/net/sourceforge/jsxe/help/HelpViewer.java 2006-08-28 18:23:14 UTC (rev 1185) @@ -0,0 +1,402 @@ +/* +HelpViewer.java +:tabSize=4:indentSize=4:noTabs=true: +:folding=explicit:collapseFolds=1: + +Copyright (C) 1999, 2002 Slava Pestov +Portions Copyright (C) 2006 Ian Lewis (Ian...@me...) + +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 the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +Optionally, you may find a copy of the GNU General Public License +from http://www.fsf.org/copyleft/gpl.txt +*/ + +package net.sourceforge.jsxe.help; + +//{{{ Imports + +//{{{ jsXe classes +import net.sourceforge.jsxe.jsXe; +import net.sourceforge.jsxe.util.Log; +import net.sourceforge.jsxe.gui.RolloverButton; +import net.sourceforge.jsxe.gui.GUIUtilities; +//}}} + +//{{{ Swing classes +import javax.swing.*; +import javax.swing.border.*; +import javax.swing.event.*; +import javax.swing.text.html.*; +//}}} + +//{{{ AWT classes +import java.awt.*; +import java.awt.event.*; +//}}} + +//{{{ Java classes +import java.beans.*; +import java.io.*; +import java.net.*; +//}}} + +//}}} + +/** + * jsXe's searchable help viewer. It uses a Swing JEditorPane to display the HTML, + * and implements a URL history. + * @author Slava Pestov + * @author Ian Lewis (<a href="mailto:Ian...@me...">Ian...@me...</a>) + * @version $Id$ + * @since jsXe 0.5 pre4 + */ +public class HelpViewer extends JFrame { + + //{{{ HelpViewer constructor + /** + * Creates a new help viewer with the default help page. + */ + public HelpViewer() { + this("welcome.html"); + } //}}} + + //{{{ HelpViewer constructor + /** + * Creates a new help viewer for the specified URL. + * @param url The URL + */ + public HelpViewer(URL url) + { + this(url.toString()); + } //}}} + + //{{{ HelpViewer constructor + /** + * Creates a new help viewer for the specified URL. + * @param url The URL + */ + public HelpViewer(String url) { + super(Messages.getMessage("helpviewer.title")); + + setIconImage(jsXe.getIcon().getImage()); + + try { + baseURL = new File(MiscUtilities.constructPath(jsXe.getInstallDirectory(),"doc")).toURL().toString(); + } catch(MalformedURLException mu) { + Log.log(Log.ERROR,this,mu); + // what to do? + } + + history = new String[25]; + + ActionHandler actionListener = new ActionHandler(); + + JTabbedPane tabs = new JTabbedPane(); + tabs.addTab(Messages.getMessage("helpviewer.toc.label"), toc = new HelpTOCPanel(this)); + tabs.addTab(Messages.getMessage("helpviewer.search.label"), new HelpSearchPanel(this)); + tabs.setMinimumSize(new Dimension(0,0)); + + JPanel rightPanel = new JPanel(new BorderLayout()); + + JToolBar toolBar = new JToolBar(); + toolBar.setFloatable(false); + + toolBar.add(title = new JLabel()); + toolBar.add(Box.createGlue()); + + JPanel buttons = new JPanel(); + buttons.setLayout(new BoxLayout(buttons,BoxLayout.X_AXIS)); + buttons.setBorder(new EmptyBorder(0,12,0,0)); + back = new RolloverButton(GUIUtilities.loadIcon(jsXe.getProperty("helpviewer.back.icon"))); + back.setToolTipText(Messages.getMessage("helpviewer.back.label")); + back.addActionListener(actionListener); + toolBar.add(back); + forward = new RolloverButton(GUIUtilities.loadIcon(jsXe.getProperty("helpviewer.forward.icon"))); + forward.addActionListener(actionListener); + forward.setToolTipText(Messages.getMessage("helpviewer.forward.label")); + toolBar.add(forward); + back.setPreferredSize(forward.getPreferredSize()); + + rightPanel.add(BorderLayout.NORTH,toolBar); + + viewer = new JEditorPane(); + viewer.setEditable(false); + viewer.addHyperlinkListener(new LinkHandler()); + viewer.setFont(new Font("Monospaced",Font.PLAIN,12)); + viewer.addPropertyChangeListener(new PropertyChangeHandler()); + + rightPanel.add(BorderLayout.CENTER,new JScrollPane(viewer)); + + splitter = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, + tabs,rightPanel); + splitter.setBorder(null); + + getContentPane().add(BorderLayout.CENTER,splitter); + + gotoURL(url,true); + + setDefaultCloseOperation(DISPOSE_ON_CLOSE); + + getRootPane().setPreferredSize(new Dimension(750,500)); + + pack(); + GUIUtilities.loadGeometry(this,"helpviewer"); + + // EditBus.addToBus(this); + + setVisible(true); + + SwingUtilities.invokeLater(new Runnable() { + public void run() { + splitter.setDividerLocation(jsXe.getIntegerProperty("helpviewer.splitter",250)); + viewer.requestFocus(); + } + }); + } //}}} + + //{{{ gotoURL() method + /** + * Displays the specified URL in the HTML component. + * @param url The URL + * @param addToHistory Should the URL be added to the back/forward + * history? + */ + public void gotoURL(String url, boolean addToHistory) { + + // the TOC pane looks up user's guide URLs relative to the + // doc directory... + String shortURL; + if (MiscUtilities.isURL(url)) { + if(url.startsWith(baseURL)) { + shortURL = url.substring(baseURL.length()); + if (shortURL.startsWith("/")) { + shortURL = shortURL.substring(1); + } + } else { + shortURL = url; + } + } else { + shortURL = url; + if (baseURL.endsWith("/")) { + url = baseURL + url; + } else { + url = baseURL + '/' + url; + } + } + + // reset default cursor so that the hand cursor doesn't + // stick around + viewer.setCursor(Cursor.getDefaultCursor()); + + URL _url = null; + try { + _url = new URL(url); + + if (!_url.equals(viewer.getPage())) { + title.setText(Messages.getMessage("helpviewer.loading")); + } else { + /* don't show loading msg because we won't + receive a propertyChanged */ + } + + viewer.setPage(_url); + if (addToHistory) { + history[historyPos] = url; + if (historyPos + 1 == history.length) { + System.arraycopy(history,1,history,0,history.length - 1); + history[historyPos] = null; + } else { + historyPos++; + } + } + } catch(MalformedURLException mf) { + Log.log(Log.ERROR,this,mf); + String[] args = { url, mf.getMessage() }; + GUIUtilities.error(this,"badurl",args); + return; + } catch(IOException io) { + Log.log(Log.ERROR,this,io); + String[] args = { url, io.toString() }; + GUIUtilities.error(this,"read-error",args); + return; + } + + this.shortURL = shortURL; + + // select the appropriate tree node. + if (shortURL != null) { + toc.selectNode(shortURL); + } + } //}}} + + //{{{ dispose() method + public void dispose() { + // EditBus.removeFromBus(this); + jsXe.setIntegerProperty("helpviewer.splitter", splitter.getDividerLocation()); + GUIUtilities.saveGeometry(this,"helpviewer"); + super.dispose(); + } //}}} + + //{{{ handleMessage() method + public void handleMessage(EBMessage msg) + { + if(msg instanceof PluginUpdate) + { + PluginUpdate pmsg = (PluginUpdate)msg; + if(pmsg.getWhat() == PluginUpdate.LOADED + || pmsg.getWhat() == PluginUpdate.UNLOADED) + { + if(!pmsg.isExiting()) + { + if(!queuedTOCReload) + queueTOCReload(); + queuedTOCReload = true; + } + } + } + } //}}} + + //{{{ getBaseURL() method + public String getBaseURL() + { + return baseURL; + } //}}} + + //{{{ getShortURL() method + String getShortURL() + { + return shortURL; + } //}}} + + //{{{ Private members + + //{{{ Instance members + private String baseURL; + private String shortURL; + private JButton back; + private JButton forward; + private JEditorPane viewer; + private JLabel title; + private JSplitPane splitter; + private String[] history; + private int historyPos; + private HelpTOCPanel toc; + private boolean queuedTOCReload; + //}}} + + //{{{ queueTOCReload() method + public void queueTOCReload() + { + SwingUtilities.invokeLater(new Runnable() + { + public void run() + { + queuedTOCReload = false; + toc.load(); + } + }); + } //}}} + + //}}} + + //{{{ Inner classes + + //{{{ ActionHandler class + class ActionHandler implements ActionListener + { + //{{{ actionPerformed() class + public void actionPerformed(ActionEvent evt) + { + Object source = evt.getSource(); + if(source == back) + { + if(historyPos <= 1) + getToolkit().beep(); + else + { + String url = history[--historyPos - 1]; + gotoURL(url,false); + } + } + else if(source == forward) + { + if(history.length - historyPos <= 1) + getToolkit().beep(); + else + { + String url = history[historyPos]; + if(url == null) + getToolkit().beep(); + else + { + historyPos++; + gotoURL(url,false); + } + } + } + } //}}} + } //}}} + + //{{{ LinkHandler class + class LinkHandler implements HyperlinkListener + { + //{{{ hyperlinkUpdate() method + public void hyperlinkUpdate(HyperlinkEvent evt) + { + if(evt.getEventType() == HyperlinkEvent.EventType.ACTIVATED) + { + if(evt instanceof HTMLFrameHyperlinkEvent) + { + ((HTMLDocument)viewer.getDocument()) + .processHTMLFrameHyperlinkEvent( + (HTMLFrameHyperlinkEvent)evt); + } + else + { + URL url = evt.getURL(); + if(url != null) + gotoURL(url.toString(),true); + } + } + else if (evt.getEventType() == HyperlinkEvent.EventType.ENTERED) { + viewer.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); + } + else if (evt.getEventType() == HyperlinkEvent.EventType.EXITED) { + viewer.setCursor(Cursor.getDefaultCursor()); + } + } //}}} + } //}}} + + //{{{ PropertyChangeHandler class + class PropertyChangeHandler implements PropertyChangeListener + { + public void propertyChange(PropertyChangeEvent evt) + { + if("page".equals(evt.getPropertyName())) + { + String titleStr = (String)viewer.getDocument() + .getProperty("title"); + if(titleStr == null) + { + titleStr = MiscUtilities.getFileName( + viewer.getPage().toString()); + } + title.setText(titleStr); + } + } + } //}}} + + //}}} +} Added: trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowD.png =================================================================== (Binary files differ) Property changes on: trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowD.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowL.png =================================================================== (Binary files differ) Property changes on: trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowL.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowR.png =================================================================== (Binary files differ) Property changes on: trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowR.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowU.png =================================================================== (Binary files differ) Property changes on: trunk/jsxe/src/net/sourceforge/jsxe/icons/ArrowU.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/jsxe/src/net/sourceforge/jsxe/jsXe.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/jsXe.java 2006-08-28 15:50:38 UTC (rev 1184) +++ trunk/jsxe/src/net/sourceforge/jsxe/jsXe.java 2006-08-28 18:23:14 UTC (rev 1185) @@ -485,7 +485,7 @@ return jsXeIcon; }//}}} - //{{{ getHomeDirectory() method + //{{{ getInstallDirectory() method /** * Returns the path to where jsXe is installed */ @@ -1367,7 +1367,7 @@ private static ArrayList m_buffers = new ArrayList(); private static final String DefaultDocument = "<?xml version='1.0' encoding='UTF-8'?>\n<default_element>default_node</default_element>"; - private static final ImageIcon jsXeIcon = new ImageIcon(jsXe.class.getResource("/net/sourceforge/jsxe/icons/jsxe.jpg"), "jsXe"); + private static final ImageIcon jsXeIcon = GUIUtilities.loadIcon("jsxe.jpg"); private static final Properties buildProps = new Properties(); private static boolean m_exiting=false; Modified: trunk/jsxe/src/net/sourceforge/jsxe/properties =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/properties 2006-08-28 15:50:38 UTC (rev 1184) +++ trunk/jsxe/src/net/sourceforge/jsxe/properties 2006-08-28 18:23:14 UTC (rev 1185) @@ -69,3 +69,8 @@ undo.shortcut=C+z redo.shortcut=C+y #}}} + +#{{{ Help Viewer +helpviewer.back.icon=ArrowL.png +helpviewer.forward.icon=ArrowR.png +#}}} \ No newline at end of file Modified: trunk/jsxe/src/net/sourceforge/jsxe/util/MiscUtilities.java ======================... [truncated message content] |
From: <ian...@us...> - 2006-08-28 15:50:54
|
Revision: 1184 Author: ian_lewis Date: 2006-08-28 08:50:38 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1184&view=rev Log Message: ----------- Updated the messages files to me named the standard ResourceBundle way Added Paths: ----------- trunk/sourceview/messages/messages.properties trunk/sourceview/messages/messages_de.properties trunk/sourceview/messages/messages_en_GB.properties trunk/sourceview/messages/messages_ja.properties trunk/sourceview/messages/messages_ru.properties trunk/sourceview/messages/messages_sv.properties Removed Paths: ------------- trunk/sourceview/messages/messages trunk/sourceview/messages/messages.de trunk/sourceview/messages/messages.en_GB trunk/sourceview/messages/messages.ja trunk/sourceview/messages/messages.ru trunk/sourceview/messages/messages.sv Deleted: trunk/sourceview/messages/messages =================================================================== --- trunk/sourceview/messages/messages 2006-08-28 15:49:53 UTC (rev 1183) +++ trunk/sourceview/messages/messages 2006-08-28 15:50:38 UTC (rev 1184) @@ -1,33 +0,0 @@ -# JSXE source view English properties file -# $Id$ -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1 - -#{{{ Source View Options -SourceView.Options.Title=Source View -SourceView.Options.EndOfLineMarker=End of line markers -SourceView.Syntax.Object=Node Type -SourceView.Syntax.Style=Text Style -SourceView.ColorChooser.Title=Color Chooser -SourceView.Markup=Markup -SourceView.Invalid=Invalid -#}}} - -#{{{ Style Editor -SourceView.StyleEditor.Title=Style Editor -SourceView.StyleEditor.Color=Text Color -SourceView.StyleEditor.Bold=Bold -SourceView.StyleEditor.Italics=Italics -#}}} - -#{{{ Find Dialog -SourceView.Find.title and Replace -SourceView.Ignore.Case=Ignore Case -SourceView.Search.For=Search for: -SourceView.Replace.With=Replace With: -SourceView.Replace.And.Find=Replace&Find -SourceView.No.More.Matches.title=No More Matches -SourceView.No.More.Matches.message="No more matches were found. Continue search from the beginning?" -SourceView.Search.Error.title=Search Error -#}}} \ No newline at end of file Deleted: trunk/sourceview/messages/messages.de =================================================================== --- trunk/sourceview/messages/messages.de 2006-08-28 15:49:53 UTC (rev 1183) +++ trunk/sourceview/messages/messages.de 2006-08-28 15:50:38 UTC (rev 1184) @@ -1,30 +0,0 @@ -# JSXE source view German properties file -# $Id$ -# Maintained by Bianca Shöen -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -# ä Ä é ö Ö ü Ü ß - -#{{{ Source View Options -SourceView.Options.Title=Source View Optionen -SourceView.Syntax.Object=Knoten Typ -SourceView.Syntax.Style=Text Stil -SourceView.Syntax.ToolTip=Dieses Tool ermöglicht es, den Font für verschiedene Knoten zu setzen. -SourceView.ColorChooser.Title=Farbwähler -SourceView.Markup=Markup -SourceView.Invalid=Ungültig -#}}} - -#{{{ Style Editor -SourceView.StyleEditor.Title=Stil Editor -SourceView.StyleEditor.Color=Textfarbe -SourceView.StyleEditor.Color.ToolTip=<HTML>Die Farbe dieses Knoten Typs kann hier geändert werden. <BR>H�ckchen dieser Box entfernen setzten die Farbe zu schwarz zurück. <BR>Die rechteckige Box neben diesr Auswahl, kann<BR> benutzt werden um verschiedene Farben auszuwählen.</HTML> -SourceView.StyleEditor.Bold=Fett -SourceView.StyleEditor.Bold.ToolTip=schaltet Fettdruck an/aus -SourceView.StyleEditor.Italics=Kursiv -SourceView.StyleEditor.Italics.ToolTip=schaltet Kursivdruck an/aus - -#}}} - Deleted: trunk/sourceview/messages/messages.en_GB =================================================================== --- trunk/sourceview/messages/messages.en_GB 2006-08-28 15:49:53 UTC (rev 1183) +++ trunk/sourceview/messages/messages.en_GB 2006-08-28 15:50:38 UTC (rev 1184) @@ -1,13 +0,0 @@ -# JSXE source view British English properties file -# $Id: messages 996 2006-07-07 03:46:52Z ian_lewis $ -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1 - -#{{{ Source View Options -SourceView.ColorChooser.Title=Colour Chooser -#}}} - -#{{{ Style Editor -SourceView.StyleEditor.Color=Text Colour -#}}} Deleted: trunk/sourceview/messages/messages.ja =================================================================== --- trunk/sourceview/messages/messages.ja 2006-08-28 15:49:53 UTC (rev 1183) +++ trunk/sourceview/messages/messages.ja 2006-08-28 15:50:38 UTC (rev 1184) @@ -1,13 +0,0 @@ -# JSXE source view Japanese properties file -# $Id$ -# Maintained by Ian Lewis -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -#{{{ Source View Options -SourceView.Options.Title=ソース表示 -SourceView.Syntax.Object=ノードタイプ -SourceView.Markup=マーク付け -SourceView.Invalid=無効 -#}}} Copied: trunk/sourceview/messages/messages.properties (from rev 1181, trunk/sourceview/messages/messages) =================================================================== --- trunk/sourceview/messages/messages.properties (rev 0) +++ trunk/sourceview/messages/messages.properties 2006-08-28 15:50:38 UTC (rev 1184) @@ -0,0 +1,33 @@ +# JSXE source view English properties file +# $Id$ +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1 + +#{{{ Source View Options +SourceView.Options.Title=Source View +SourceView.Options.EndOfLineMarker=End of line markers +SourceView.Syntax.Object=Node Type +SourceView.Syntax.Style=Text Style +SourceView.ColorChooser.Title=Color Chooser +SourceView.Markup=Markup +SourceView.Invalid=Invalid +#}}} + +#{{{ Style Editor +SourceView.StyleEditor.Title=Style Editor +SourceView.StyleEditor.Color=Text Color +SourceView.StyleEditor.Bold=Bold +SourceView.StyleEditor.Italics=Italics +#}}} + +#{{{ Find Dialog +SourceView.Find.title and Replace +SourceView.Ignore.Case=Ignore Case +SourceView.Search.For=Search for: +SourceView.Replace.With=Replace With: +SourceView.Replace.And.Find=Replace&Find +SourceView.No.More.Matches.title=No More Matches +SourceView.No.More.Matches.message="No more matches were found. Continue search from the beginning?" +SourceView.Search.Error.title=Search Error +#}}} \ No newline at end of file Deleted: trunk/sourceview/messages/messages.ru =================================================================== --- trunk/sourceview/messages/messages.ru 2006-08-28 15:49:53 UTC (rev 1183) +++ trunk/sourceview/messages/messages.ru 2006-08-28 15:50:38 UTC (rev 1184) @@ -1,34 +0,0 @@ -# JSXE source view English properties file -# $Id: messages 1068 2006-07-26 16:57:45Z ian_lewis $ -# Maintained by Alexandr Gridnev (ale...@ya...) -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1 - -#{{{ Source View Options -SourceView.Options.Title=Отображение исходником -SourceView.Options.EndOfLineMarker=Отображать символы конца строки -SourceView.Syntax.Object=Тип узла -SourceView.Syntax.Style=Стиль текста -SourceView.ColorChooser.Title=Злобное устройство предназначенное для выбора цветов -SourceView.Markup=Элементы разметки -SourceView.Invalid=Неправильное -#}}} - -#{{{ Style Editor -SourceView.StyleEditor.Title=Редактор стилей -SourceView.StyleEditor.Color=Цвет текста -SourceView.StyleEditor.Bold=Жирный -SourceView.StyleEditor.Italics=Курсив -#}}} - -#{{{ Find Dialog -SourceView.Find.title=Найти и заменить -SourceView.Ignore.Case=Игнорировать регистр символов -SourceView.Search.For=Искать: -SourceView.Replace.With=Заменить на: -SourceView.Replace.And.Find=Найти и заменить -SourceView.No.More.Matches.title=Дальше не найдено :( -SourceView.No.More.Matches.message="Ничего не найдено. Искать с начала документа?" -SourceView.Search.Error.title=Ошибка поиска :( -#}}} Deleted: trunk/sourceview/messages/messages.sv =================================================================== --- trunk/sourceview/messages/messages.sv 2006-08-28 15:49:53 UTC (rev 1183) +++ trunk/sourceview/messages/messages.sv 2006-08-28 15:50:38 UTC (rev 1184) @@ -1,7 +0,0 @@ -# JSXE Swedish properties file -# $Id$ -# Currently maintained by Patrik Johansson <pa...@it...> -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - Copied: trunk/sourceview/messages/messages_de.properties (from rev 1181, trunk/sourceview/messages/messages.de) =================================================================== --- trunk/sourceview/messages/messages_de.properties (rev 0) +++ trunk/sourceview/messages/messages_de.properties 2006-08-28 15:50:38 UTC (rev 1184) @@ -0,0 +1,30 @@ +# JSXE source view German properties file +# $Id$ +# Maintained by Bianca Shöen +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +# ä Ä é ö Ö ü Ü ß + +#{{{ Source View Options +SourceView.Options.Title=Source View Optionen +SourceView.Syntax.Object=Knoten Typ +SourceView.Syntax.Style=Text Stil +SourceView.Syntax.ToolTip=Dieses Tool ermöglicht es, den Font für verschiedene Knoten zu setzen. +SourceView.ColorChooser.Title=Farbwähler +SourceView.Markup=Markup +SourceView.Invalid=Ungültig +#}}} + +#{{{ Style Editor +SourceView.StyleEditor.Title=Stil Editor +SourceView.StyleEditor.Color=Textfarbe +SourceView.StyleEditor.Color.ToolTip=<HTML>Die Farbe dieses Knoten Typs kann hier geändert werden. <BR>H�ckchen dieser Box entfernen setzten die Farbe zu schwarz zurück. <BR>Die rechteckige Box neben diesr Auswahl, kann<BR> benutzt werden um verschiedene Farben auszuwählen.</HTML> +SourceView.StyleEditor.Bold=Fett +SourceView.StyleEditor.Bold.ToolTip=schaltet Fettdruck an/aus +SourceView.StyleEditor.Italics=Kursiv +SourceView.StyleEditor.Italics.ToolTip=schaltet Kursivdruck an/aus + +#}}} + Copied: trunk/sourceview/messages/messages_en_GB.properties (from rev 1181, trunk/sourceview/messages/messages.en_GB) =================================================================== --- trunk/sourceview/messages/messages_en_GB.properties (rev 0) +++ trunk/sourceview/messages/messages_en_GB.properties 2006-08-28 15:50:38 UTC (rev 1184) @@ -0,0 +1,13 @@ +# JSXE source view British English properties file +# $Id: messages 996 2006-07-07 03:46:52Z ian_lewis $ +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1 + +#{{{ Source View Options +SourceView.ColorChooser.Title=Colour Chooser +#}}} + +#{{{ Style Editor +SourceView.StyleEditor.Color=Text Colour +#}}} Copied: trunk/sourceview/messages/messages_ja.properties (from rev 1130, trunk/sourceview/messages/messages.ja) =================================================================== --- trunk/sourceview/messages/messages_ja.properties (rev 0) +++ trunk/sourceview/messages/messages_ja.properties 2006-08-28 15:50:38 UTC (rev 1184) @@ -0,0 +1,13 @@ +# JSXE source view Japanese properties file +# $Id$ +# Maintained by Ian Lewis +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +#{{{ Source View Options +SourceView.Options.Title=ソース表示 +SourceView.Syntax.Object=ノードタイプ +SourceView.Markup=マーク付け +SourceView.Invalid=無効 +#}}} Copied: trunk/sourceview/messages/messages_ru.properties (from rev 1181, trunk/sourceview/messages/messages.ru) =================================================================== --- trunk/sourceview/messages/messages_ru.properties (rev 0) +++ trunk/sourceview/messages/messages_ru.properties 2006-08-28 15:50:38 UTC (rev 1184) @@ -0,0 +1,34 @@ +# JSXE source view English properties file +# $Id: messages 1068 2006-07-26 16:57:45Z ian_lewis $ +# Maintained by Alexandr Gridnev (ale...@ya...) +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1 + +#{{{ Source View Options +SourceView.Options.Title=Отображение исходником +SourceView.Options.EndOfLineMarker=Отображать символы конца строки +SourceView.Syntax.Object=Тип узла +SourceView.Syntax.Style=Стиль текста +SourceView.ColorChooser.Title=Злобное устройство предназначенное для выбора цветов +SourceView.Markup=Элементы разметки +SourceView.Invalid=Неправильное +#}}} + +#{{{ Style Editor +SourceView.StyleEditor.Title=Редактор стилей +SourceView.StyleEditor.Color=Цвет текста +SourceView.StyleEditor.Bold=Жирный +SourceView.StyleEditor.Italics=Курсив +#}}} + +#{{{ Find Dialog +SourceView.Find.title=Найти и заменить +SourceView.Ignore.Case=Игнорировать регистр символов +SourceView.Search.For=Искать: +SourceView.Replace.With=Заменить на: +SourceView.Replace.And.Find=Найти и заменить +SourceView.No.More.Matches.title=Дальше не найдено :( +SourceView.No.More.Matches.message="Ничего не найдено. Искать с начала документа?" +SourceView.Search.Error.title=Ошибка поиска :( +#}}} Copied: trunk/sourceview/messages/messages_sv.properties (from rev 1181, trunk/sourceview/messages/messages.sv) =================================================================== --- trunk/sourceview/messages/messages_sv.properties (rev 0) +++ trunk/sourceview/messages/messages_sv.properties 2006-08-28 15:50:38 UTC (rev 1184) @@ -0,0 +1,7 @@ +# JSXE Swedish properties file +# $Id$ +# Currently maintained by Patrik Johansson <pa...@it...> +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 15:50:15
|
Revision: 1183 Author: ian_lewis Date: 2006-08-28 08:49:53 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1183&view=rev Log Message: ----------- Updated the messages files to me named the standard ResourceBundle way Added Paths: ----------- trunk/treeview/messages/messages.properties trunk/treeview/messages/messages_de.properties trunk/treeview/messages/messages_ja.properties trunk/treeview/messages/messages_ru.properties trunk/treeview/messages/messages_sv.properties Removed Paths: ------------- trunk/treeview/messages/messages trunk/treeview/messages/messages.de trunk/treeview/messages/messages.ja trunk/treeview/messages/messages.ru trunk/treeview/messages/messages.sv Deleted: trunk/treeview/messages/messages =================================================================== --- trunk/treeview/messages/messages 2006-08-28 15:48:25 UTC (rev 1182) +++ trunk/treeview/messages/messages 2006-08-28 15:49:53 UTC (rev 1183) @@ -1,34 +0,0 @@ -# JSXE tree view English properties file -# $Id$ -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -TreeView.Options.Title=Tree View - -TreeView.Options.Show.Comments=Show comment nodes -TreeView.Options.Show.Comments.ToolTip=If this checkbox is checked then comment nodes will be shown in the tree. -TreeView.Options.Continuous.Layout=Continuous layout for split-panes -TreeView.Options.Continuous.Layout.ToolTip=<html>If this checkbox is checked then split panes will continuously repaint as you resize them.<br>Otherwise a black line is drawn to show the resize.</html> -TreeView.Options.Show.Attributes=Show element attributes in tree: -TreeView.Options.Show.Attributes.ToolTip=<html>This option specifies what attributes are shown in the tree.<ul><li><strong>None</strong> - No attrributes are shown.</li><li><strong>ID only</strong> - Only the attribute specified as the ID is shown.</li><li><strong>All</strong> - All attributes are shown.</li></ul></html> -Show.Attributes.None=None -Show.Attributes.ID.Only=ID only -Show.Attributes.All=All - -treeview.document.root=Document Root - -treeview.rename.node.label=Rename Node -treeview.remove.node.label=Remove Node -treeview.add.attribute.label=Add Attribute -treeview.remove.attribute.label=Remove Attribute -treeview.edit.node.label=Edit Node -TreeView.EditDocType.Title=Edit Document Type Definition -Edit.Node.Dialog.Title=Edit Node - -treeview.add.doctype.node.label=Add Document Type Definition -treeview.add.element.node.label=Add Element Node -treeview.add.text.node.label=Add Text Node -treeview.add.cdata.node.label=Add CDATA Node -treeview.add.pi.node.label=Add Processing Instruction -treeview.add.comment.node.label=Add Comment Deleted: trunk/treeview/messages/messages.de =================================================================== --- trunk/treeview/messages/messages.de 2006-08-28 15:48:25 UTC (rev 1182) +++ trunk/treeview/messages/messages.de 2006-08-28 15:49:53 UTC (rev 1183) @@ -1,22 +0,0 @@ -# JSXE tree view German properties file -# $Id$ -# Maintained by Bianca Shöen -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -# ä Ä é ö Ö ü Ü ß - -TreeView.Options.Title=Tree View Optionen -TreeView.Options.Show.Comments=Kommentar Knoten anzeigen -TreeView.Options.Show.Comments.ToolTip=Beim Deaktivieren werden sämtliche Kommentare in der momentan geöffneten XML Datei ausgeblendet. -TreeView.Options.Continuous.Layout=Durchgängiges Layout für split-panes -TreeView.Options.Continuous.Layout.ToolTip=<HTML>Dies beeinflusst das Aussehen des vertikalen Balkens in der Mitte des jsXE Screens.<BR>Ist dieses Auswahlkästchen nicht ausgewählt während der vertikale Balken vor und zurück über den Screen <BR>gezogen wird, bewegt er sich ohne Umstände.<BR>Ist dieses Auswahlkästchen nicht aktiviert während der vertikale Balken verschoben wird, verändert er sich in <BR>eine dicke schwarze Linie.</HTML> -TreeView.Options.Show.Attributes=Show element attributes in tree: -TreeView.Options.Show.Attributes.ToolTip=<HTML>Diese Option verlaubt es, die XML Datei auf verschiedene Arten anzuzeigen. <ul><li><strong>Keine</strong> - blendet alle Attribut-Informationen der Datei aus. </li><li><strong>Nur ID</strong> - nur Attribut-Informationen, die zu einem XML Element mit ID gehören, werden angezeigt.</li><li><strong>Alle</strong> - alle Attribut-Informationen werden angezeigt.</li></ul><HTML> -TreeView.RenameNode=Knoten umbenennen -TreeView.RemoveNode=Knoten entfernen -TreeView.AddAttribute=Attribut hinzufügen -TreeView.RemoveAttribute=Attribut entfernen -TreeView.EditNode=Knoten bearbeiten -Edit.Node.Dialog.Title=Knoten bearbeitenn Deleted: trunk/treeview/messages/messages.ja =================================================================== --- trunk/treeview/messages/messages.ja 2006-08-28 15:48:25 UTC (rev 1182) +++ trunk/treeview/messages/messages.ja 2006-08-28 15:49:53 UTC (rev 1183) @@ -1,29 +0,0 @@ -# JSXE tree view Japanese properties file -# $Id$ -# Maintained by Ian Lewis -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -TreeView.Options.Title=ツリー表示 - -TreeView.Options.Show.Comments=コメントノードを表示する -TreeView.Options.Show.Attributes=要素の属性を表示する: -Show.Attributes.None=なし -Show.Attributes.ID.Only=IDだけ -Show.Attributes.All=全て - -treeview.rename.node.label=ノードをリネーム -treeview.remove.node.label=ノードを削除 -treeview.add.attribute.label=属性を追加 -treeview.remove.attribute.label=属性を削除 -treeview.add.doctype.node.label=DTDを追加 -treeview.edit.node.label=ノードを編集 -TreeView.EditDocType.Title=DTDを編集 -Edit.Node.Dialog.Title=ノードを編集 - -treeview.add.element.node.label=要素を追加 -treeview.add.text.node.label=テキストを追加 -treeview.add.cdata.node.label=CDATA セクションを追加 -treeview.add.pi.node.label=処理命令を追加 -treeview.add.comment.node.label=コメントを追加 Copied: trunk/treeview/messages/messages.properties (from rev 1181, trunk/treeview/messages/messages) =================================================================== --- trunk/treeview/messages/messages.properties (rev 0) +++ trunk/treeview/messages/messages.properties 2006-08-28 15:49:53 UTC (rev 1183) @@ -0,0 +1,34 @@ +# JSXE tree view English properties file +# $Id$ +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +TreeView.Options.Title=Tree View + +TreeView.Options.Show.Comments=Show comment nodes +TreeView.Options.Show.Comments.ToolTip=If this checkbox is checked then comment nodes will be shown in the tree. +TreeView.Options.Continuous.Layout=Continuous layout for split-panes +TreeView.Options.Continuous.Layout.ToolTip=<html>If this checkbox is checked then split panes will continuously repaint as you resize them.<br>Otherwise a black line is drawn to show the resize.</html> +TreeView.Options.Show.Attributes=Show element attributes in tree: +TreeView.Options.Show.Attributes.ToolTip=<html>This option specifies what attributes are shown in the tree.<ul><li><strong>None</strong> - No attrributes are shown.</li><li><strong>ID only</strong> - Only the attribute specified as the ID is shown.</li><li><strong>All</strong> - All attributes are shown.</li></ul></html> +Show.Attributes.None=None +Show.Attributes.ID.Only=ID only +Show.Attributes.All=All + +treeview.document.root=Document Root + +treeview.rename.node.label=Rename Node +treeview.remove.node.label=Remove Node +treeview.add.attribute.label=Add Attribute +treeview.remove.attribute.label=Remove Attribute +treeview.edit.node.label=Edit Node +TreeView.EditDocType.Title=Edit Document Type Definition +Edit.Node.Dialog.Title=Edit Node + +treeview.add.doctype.node.label=Add Document Type Definition +treeview.add.element.node.label=Add Element Node +treeview.add.text.node.label=Add Text Node +treeview.add.cdata.node.label=Add CDATA Node +treeview.add.pi.node.label=Add Processing Instruction +treeview.add.comment.node.label=Add Comment Deleted: trunk/treeview/messages/messages.ru =================================================================== --- trunk/treeview/messages/messages.ru 2006-08-28 15:48:25 UTC (rev 1182) +++ trunk/treeview/messages/messages.ru 2006-08-28 15:49:53 UTC (rev 1183) @@ -1,35 +0,0 @@ -# JSXE tree view English properties file -# $Id: messages 1101 2006-08-03 15:40:34Z ian_lewis $ -# Maintained by Alexandr Gridnev (ale...@ya...) -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -TreeView.Options.Title=Отображение деревом - -TreeView.Options.Show.Comments=Показывать узлы-комментарии -TreeView.Options.Show.Comments.ToolTip=Если это выбрано - то узлы-комментарии будут отображаться в дереве -TreeView.Options.Continuous.Layout=При движении разделителей - сразу перерисовывать -TreeView.Options.Continuous.Layout.ToolTip=<html>Если выбрано - то при перемещении разделителей то что они разделяют будет сразу перерисовываться.<br>Если не выбрано - то положение линии будет отображаться черной полоской, а перерисовано все будет после того как вы отпустите мышару.</html> -TreeView.Options.Show.Attributes=Показывать элементы атрибутов в дереве: -TreeView.Options.Show.Attributes.ToolTip=<html>Эта опция определяет какие атрибуты элементов будут отображены в дереве.<ul><li><strong>Никаких</strong> - Атрибутов не покажут.</li><li><strong>только ID </strong> - Покажут только атрибут, определенный как ID.</li><li><strong>Все</strong> - Покажут все что есть.</li></ul></html> -Show.Attributes.None=Никаких -Show.Attributes.ID.Only=Только ID -Show.Attributes.All=Все - -treeview.document.root=Это корень документа - -treeview.rename.node.label=Переименовать узел -treeview.remove.node.label=Удалить узел -treeview.add.attribute.label=Добавить атрибут -treeview.remove.attribute.label=Удалить атрибут -treeview.edit.node.label=Редактировать узел -TreeView.EditDocType.Title=Редактировать определение типа документа (DTD) -Edit.Node.Dialog.Title=Редактирование узла - -treeview.add.doctype.node.label=Добавить определение типа документа (DTD) -treeview.add.element.node.label=Добавить узел-элемент -treeview.add.text.node.label=Добавить узел-текст -treeview.add.cdata.node.label=Добавиь узел-CDATA -treeview.add.pi.node.label=Добавить правило обработки -treeview.add.comment.node.label=Добавить комментарий Deleted: trunk/treeview/messages/messages.sv =================================================================== --- trunk/treeview/messages/messages.sv 2006-08-28 15:48:25 UTC (rev 1182) +++ trunk/treeview/messages/messages.sv 2006-08-28 15:49:53 UTC (rev 1183) @@ -1,12 +0,0 @@ -# JSXE tree view Swedish properties file -# $Id$ -# Currently maintained by Patrik Johansson <pa...@it...> -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -TreeView.RenameNode=Ta bort nod -TreeView.RemoveNode=Ta bort nod -TreeView.AddAttribute=Lägg till attribut -TreeView.RemoveAttribute=Ta bort attribut -TreeView.EditNode=Redigera nod Copied: trunk/treeview/messages/messages_de.properties (from rev 1130, trunk/treeview/messages/messages.de) =================================================================== --- trunk/treeview/messages/messages_de.properties (rev 0) +++ trunk/treeview/messages/messages_de.properties 2006-08-28 15:49:53 UTC (rev 1183) @@ -0,0 +1,22 @@ +# JSXE tree view German properties file +# $Id$ +# Maintained by Bianca Shöen +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +# ä Ä é ö Ö ü Ü ß + +TreeView.Options.Title=Tree View Optionen +TreeView.Options.Show.Comments=Kommentar Knoten anzeigen +TreeView.Options.Show.Comments.ToolTip=Beim Deaktivieren werden sämtliche Kommentare in der momentan geöffneten XML Datei ausgeblendet. +TreeView.Options.Continuous.Layout=Durchgängiges Layout für split-panes +TreeView.Options.Continuous.Layout.ToolTip=<HTML>Dies beeinflusst das Aussehen des vertikalen Balkens in der Mitte des jsXE Screens.<BR>Ist dieses Auswahlkästchen nicht ausgewählt während der vertikale Balken vor und zurück über den Screen <BR>gezogen wird, bewegt er sich ohne Umstände.<BR>Ist dieses Auswahlkästchen nicht aktiviert während der vertikale Balken verschoben wird, verändert er sich in <BR>eine dicke schwarze Linie.</HTML> +TreeView.Options.Show.Attributes=Show element attributes in tree: +TreeView.Options.Show.Attributes.ToolTip=<HTML>Diese Option verlaubt es, die XML Datei auf verschiedene Arten anzuzeigen. <ul><li><strong>Keine</strong> - blendet alle Attribut-Informationen der Datei aus. </li><li><strong>Nur ID</strong> - nur Attribut-Informationen, die zu einem XML Element mit ID gehören, werden angezeigt.</li><li><strong>Alle</strong> - alle Attribut-Informationen werden angezeigt.</li></ul><HTML> +TreeView.RenameNode=Knoten umbenennen +TreeView.RemoveNode=Knoten entfernen +TreeView.AddAttribute=Attribut hinzufügen +TreeView.RemoveAttribute=Attribut entfernen +TreeView.EditNode=Knoten bearbeiten +Edit.Node.Dialog.Title=Knoten bearbeitenn Copied: trunk/treeview/messages/messages_ja.properties (from rev 1181, trunk/treeview/messages/messages.ja) =================================================================== --- trunk/treeview/messages/messages_ja.properties (rev 0) +++ trunk/treeview/messages/messages_ja.properties 2006-08-28 15:49:53 UTC (rev 1183) @@ -0,0 +1,29 @@ +# JSXE tree view Japanese properties file +# $Id$ +# Maintained by Ian Lewis +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +TreeView.Options.Title=ツリー表示 + +TreeView.Options.Show.Comments=コメントノードを表示する +TreeView.Options.Show.Attributes=要素の属性を表示する: +Show.Attributes.None=なし +Show.Attributes.ID.Only=IDだけ +Show.Attributes.All=全て + +treeview.rename.node.label=ノードをリネーム +treeview.remove.node.label=ノードを削除 +treeview.add.attribute.label=属性を追加 +treeview.remove.attribute.label=属性を削除 +treeview.add.doctype.node.label=DTDを追加 +treeview.edit.node.label=ノードを編集 +TreeView.EditDocType.Title=DTDを編集 +Edit.Node.Dialog.Title=ノードを編集 + +treeview.add.element.node.label=要素を追加 +treeview.add.text.node.label=テキストを追加 +treeview.add.cdata.node.label=CDATA セクションを追加 +treeview.add.pi.node.label=処理命令を追加 +treeview.add.comment.node.label=コメントを追加 Copied: trunk/treeview/messages/messages_ru.properties (from rev 1181, trunk/treeview/messages/messages.ru) =================================================================== --- trunk/treeview/messages/messages_ru.properties (rev 0) +++ trunk/treeview/messages/messages_ru.properties 2006-08-28 15:49:53 UTC (rev 1183) @@ -0,0 +1,35 @@ +# JSXE tree view English properties file +# $Id: messages 1101 2006-08-03 15:40:34Z ian_lewis $ +# Maintained by Alexandr Gridnev (ale...@ya...) +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +TreeView.Options.Title=Отображение деревом + +TreeView.Options.Show.Comments=Показывать узлы-комментарии +TreeView.Options.Show.Comments.ToolTip=Если это выбрано - то узлы-комментарии будут отображаться в дереве +TreeView.Options.Continuous.Layout=При движении разделителей - сразу перерисовывать +TreeView.Options.Continuous.Layout.ToolTip=<html>Если выбрано - то при перемещении разделителей то что они разделяют будет сразу перерисовываться.<br>Если не выбрано - то положение линии будет отображаться черной полоской, а перерисовано все будет после того как вы отпустите мышару.</html> +TreeView.Options.Show.Attributes=Показывать элементы атрибутов в дереве: +TreeView.Options.Show.Attributes.ToolTip=<html>Эта опция определяет какие атрибуты элементов будут отображены в дереве.<ul><li><strong>Никаких</strong> - Атрибутов не покажут.</li><li><strong>только ID </strong> - Покажут только атрибут, определенный как ID.</li><li><strong>Все</strong> - Покажут все что есть.</li></ul></html> +Show.Attributes.None=Никаких +Show.Attributes.ID.Only=Только ID +Show.Attributes.All=Все + +treeview.document.root=Это корень документа + +treeview.rename.node.label=Переименовать узел +treeview.remove.node.label=Удалить узел +treeview.add.attribute.label=Добавить атрибут +treeview.remove.attribute.label=Удалить атрибут +treeview.edit.node.label=Редактировать узел +TreeView.EditDocType.Title=Редактировать определение типа документа (DTD) +Edit.Node.Dialog.Title=Редактирование узла + +treeview.add.doctype.node.label=Добавить определение типа документа (DTD) +treeview.add.element.node.label=Добавить узел-элемент +treeview.add.text.node.label=Добавить узел-текст +treeview.add.cdata.node.label=Добавиь узел-CDATA +treeview.add.pi.node.label=Добавить правило обработки +treeview.add.comment.node.label=Добавить комментарий Copied: trunk/treeview/messages/messages_sv.properties (from rev 1130, trunk/treeview/messages/messages.sv) =================================================================== --- trunk/treeview/messages/messages_sv.properties (rev 0) +++ trunk/treeview/messages/messages_sv.properties 2006-08-28 15:49:53 UTC (rev 1183) @@ -0,0 +1,12 @@ +# JSXE tree view Swedish properties file +# $Id$ +# Currently maintained by Patrik Johansson <pa...@it...> +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +TreeView.RenameNode=Ta bort nod +TreeView.RemoveNode=Ta bort nod +TreeView.AddAttribute=Lägg till attribut +TreeView.RemoveAttribute=Ta bort attribut +TreeView.EditNode=Redigera nod This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 15:48:41
|
Revision: 1182 Author: ian_lewis Date: 2006-08-28 08:48:25 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1182&view=rev Log Message: ----------- Updated the messages files to me named the standard ResourceBundle way Modified Paths: -------------- trunk/jsxe/Changelog trunk/jsxe/src/net/sourceforge/jsxe/gui/Messages.java Added Paths: ----------- trunk/jsxe/messages/messages.properties trunk/jsxe/messages/messages_de.properties trunk/jsxe/messages/messages_ja.properties trunk/jsxe/messages/messages_ru.properties trunk/jsxe/messages/messages_sv.properties Removed Paths: ------------- trunk/jsxe/messages/messages trunk/jsxe/messages/messages.de trunk/jsxe/messages/messages.ja trunk/jsxe/messages/messages.ru trunk/jsxe/messages/messages.sv Modified: trunk/jsxe/Changelog =================================================================== --- trunk/jsxe/Changelog 2006-08-28 04:04:14 UTC (rev 1181) +++ trunk/jsxe/Changelog 2006-08-28 15:48:25 UTC (rev 1182) @@ -1,3 +1,7 @@ +08/28/2006 Ian Lewis <Ian...@me...> + + * Changed the messages files to be named the standard ResourceBundle way. + 08/27/2006 Ian Lewis <Ian...@me...> * Updated the launch4j script to set the absolute path of the lib directory Deleted: trunk/jsxe/messages/messages =================================================================== --- trunk/jsxe/messages/messages 2006-08-28 04:04:14 UTC (rev 1181) +++ trunk/jsxe/messages/messages 2006-08-28 15:48:25 UTC (rev 1182) @@ -1,300 +0,0 @@ -# JSXE English properties file -# $Id$ -# Maintained by Ian Lewis -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -#{{{ common properties - -common.ok=OK -common.cancel=Cancel -common.open=Open -common.save=Save -common.save.as=Save As -common.close=Close -common.apply=Apply -common.more=More -common.insert=Insert -common.add=Add -common.remove=Remove -common.moveUp=Move Up -common.moveDown=Move Down -common.find=Find - -common.ctrl=Ctrl -common.alt=Alt -common.shift=Shift -common.meta=Meta - -#}}} - -#{{{ XML Terminology - -#{{{ XML Node Types -xml.element=Element -xml.processing.instruction=Processing Instruction -xml.cdata=CDATA Section -xml.text=Text -xml.entity.reference=Entity Reference -xml.declaration=Element Declaration -xml.notation=Notation -xml.entity=Entity Declaration -xml.comment=Comment -xml.attribute=Attribute -xml.doctype=Document Type -#}}} - -xml.attribute.value.short=Value -xml.attribute.value=Attribute Value -xml.document=XML Document -xml.namespace=Namespace -xml.namespace.prefix=Namespace Prefix -xml.namespace.prefix.short=Prefix -xml.namespace.decl=Namespace Declaration -xml.doctypedef=Document Type Definition -xml.doctype.name=Name -xml.doctype.public=Public Id -xml.doctype.system=System Id -xml.schema=XML Schema -#}}} - -#{{{ Global Options -Global.Options.Dialog.Title=Global Options -Global.Options.Title=General -Global.Options.Max.Recent.Files=Recent files to remember: -Global.Options.Max.Recent.Files.ToolTip=The maximum number of files that jsXe remembers in the recent files menu. -Global.Options.Recent.Files.Show.Full.Path=Show full path in Recent Files menu -Global.Options.Recent.Files.Show.Full.Path.ToolTip=If this checkbox is checked then the full path will be shown for files in the recent files menu. -Global.Options.network-off=Always cache without asking -Global.Options.network-cache=Ask first, then cache remote files -Global.Options.network-always=Always download without asking -Global.Options.network=DTD and schema downloading: -Global.Options.Menu.Spill.Over=Number of items before menus spill over: -Global.Options.Undos.To.Remember=Number of undos to remember: -Global.Options.Undos.To.Remember.ToolTip=<HTML>jsXe will remember this number of undo operations in memory.<BR> However, it cannot remember undo operations after switching views</HTML> - -Shortcuts.Options.Title=Shortcuts -Shortcuts.Options.Select.Label=Edit Shortcuts: -Shortcuts.Options.Shortcut=Shortcut -Shortcuts.Options.Command=Command - -Grab.Key.title=Specify Shortcut -Grab.Key.caption=Press the desired shortcut for "{0}", then click OK. -Grab.Key.keyboard-test=Input the key strokes that are causing problems. -Grab.Key.assigned-to=Currently assigned to: {0} -Grab.Key.assigned-to.none=<none> -Grab.Key.clear=Clear -Grab.Key.remove=Remove Current - -Grab.Key.remove-ask.title=Remove Shortcut? -Grab.Key.remove-ask.message=\ - You didn't specify a new shortcut.\n\ - Do you want to remove the current shortcut? - -Grab.Key.duplicate-alt-shortcut.title=Duplicate Shortcut -Grab.Key.duplicate-alt-shortcut.message=\ - The shortcut you selected duplicates the other\n\ - shortcut for this item. Please choose another. - -Grab.Key.duplicate-shortcut.title=Duplicate Shortcut -Grab.Key.duplicate-shortcut.message=\ - This shortcut is already assigned to\n\ - "{0}".\n\ - \n\ - Do you want to override this assignment? -#}}} - -#{{{ Document Options -Document.Options.Title=XML Document Options -Document.Options.Message=This dialog changes settings for the current\n document only. To change settings on an\n editor-wide basis, see the\n Tools->Global Options dialog box. -Document.Options.Line.Separator=Line Separator: -Document.Options.Line.Separator.ToolTip=The line separator. Usually you'll pick the line separator used by your operating system. -Document.Options.Encoding=Encoding: -Document.Options.Encoding.ToolTip=The encoding that jsXe uses to write the file. -Document.Options.Indent.Width=Indent width: -Document.Options.Indent.Width.ToolTip=The width used when formatting and displaying tab characters. -Document.Options.Format.XML=Format XML output -Document.Options.Format.XML.ToolTip=If this box is checked then XML will be formatted automatically. -Document.Options.Validate=Validate if DTD or Schema Available -Document.Options.Validate.ToolTip=If this box is checked jsXe will validate the XML document. -Document.Options.Soft.Tabs=Soft tabs (emulated with spaces) -Document.Options.Soft.Tabs.ToolTip=If this box is checked then tab characters are replaced by spaces. -#}}} - -#{{{ Plugin Manager -Plugin.Manager.Title=Plugin Manager -Plugin.Manager.Name.Column.Header=Name -Plugin.Manager.Version.Column.Header=Version -Plugin.Manager.Status.Column.Header=Status -Plugin.Manager.Loaded.Status=Loaded -Plugin.Manager.Not.Loaded.Status=Not Loaded -Plugin.Manager.Broken.Status=Error -#}}} - -#{{{ Menu Items - -File.Menu=File -Edit.Menu=Edit -View.Menu=View -Tools.Menu=Tools -Help.Menu=Help - - -#}}} - -#{{{ Action Labels -new-file.label=New -open-file.label=Open... -File.Recent=Recent Files -File.Recent.None=No Recent Files -save-file.label=Save -save-as.label=Save As... -reload-file.label=Reload -File.Recent=Recent Files -close-file.label=Close -close-all.label=Close All -exit.label=Exit - -undo.label=Undo -redo.label=Redo -cut.label=Cut -copy.label=Copy -paste.label=Paste -find.label=Find... -findnext.label=Find Next - -general-options.label=Global Options... -document-options.label=Document Options... -plugin-manager.label=Plugin Manager... -validation-errors.label=Validation Errors... -about-jsxe.label=About jsXe... - -#}}} - -#{{{ Messages - -DocumentView.Open.Message="Could not open buffer in any installed document views" - -#{0} file name -DocumentBuffer.Reload.Message={0} unsaved!\n You will lose all unsaved changes if you reload!\n\nContinue? -DocumentBuffer.Reload.Message.Title=Document Modified -DocumentBuffer.SaveAs.Message=The file {0} already exists. Are you sure you want to overwrite it? -DocumentBuffer.SaveAs.Message.Title=File Exists -DocumentBuffer.Close.Message={0} unsaved! Save it now? -DocumentBuffer.Close.Message.Title=Unsaved Changes - -#{0} file name -DocumentBuffer.Saved.Message={0} Saved -DocumentBuffer.Closed.Message={0} Closed -DocumentBuffer.Loaded.Message={0} Loaded -DocumentBuffer.Reloaded.Message={0} Reloaded - -#{0} plugin name -DocumentView.Not.Found=No plugin a with name of {0} exists. - -#{{{ Plugin Load Messages - -# {0} plugin name -Plugin.Error.title=Plugin Error -Plugin.Error.List.message=The following plugins could not be loaded: -Plugin.Load.Already.Loaded=Plugin {0} already loaded. -Plugin.Load.Wrong.Main.Class=Main class is not a plugin class. -Plugin.Load.No.Plugin.Class=No plugin class defined. -Plugin.Load.No.Plugin.Name=No plugin name defined. -Plugin.Load.No.Plugin.HR.Name=No plugin human-readable name defined. -Plugin.Load.No.Plugin.Version=No plugin version defined. - -# {0} plugin name -# {1} requirement name -# {2} required version -# {3} found version -Plugin.Dependency.Message={0} requires {1} version {2} but only version {3} was found. -# {0} plugin name -# {1} requirement name -# {2} required version -Plugin.Dependency.Not.Found={0} requires {1} version {2} but {1} was not found. -# {0} plugin name -# {1} requirement name -Plugin.Dependency.Not.Found2={0} requires {1} but {1} was not found. -# {0} plugin name -# {1} invalid dependency -Plugin.Dependency.Invalid={0} has an invalid dependency: {1} -# {0} invalid version -Plugin.Dependency.Invalid.jsXe.Version=Invalid jsXe version number: {0} -# {0} plugin name -# {1} requirement name -Plugin.Dependency.No.Version=Cannot load plugin {0}, {1} has no version. -# {0} plugin name -# {1} requirement name -Plugin.Dependency.Failed.Load={0} requires plugin {1} but {1} did not load properly. - -#}}} - -#{{{ Error Messages -No.Xerces.Error.message={0} not found. jsXe requires Apache {0}. -No.Xerces.Error.title={0} not found. -IO.Error.title=I/O Error -IO.Error.message=An I/O error has occurred -#}}} - -#}}} - -#{{{ Dialogs - -#{{{ Download resource dialog -xml.download-resource.title=Getting resource from remote server - -#{0} URL -xml.download-resource.message=This XML file depends on a resource which is stored at the following\n\ - Internet address:\n\ - \n\ - {0}\n\ - \n\ - Do you want the XML plugin to download the resource and cache it\n\ - for future use?\n\ - \n\ - If you want resources to be downloaded every time without prompting,\n\ - disable the resource cache in jsXe's global options. -#}}} - -#{{{ Dirty Files Dialog -DirtyFilesDialog.Dialog.Title=Unsaved Changes -DirtyFilesDialog.Dialog.Message=The following files have unsaved changes: -DirtyFilesDialog.Button.SelectAll.Title=Select All -#DirtyFilesDialog.Button.SelectAll.ToolTip=Select All -DirtyFilesDialog.Button.SaveSelected.Title=Save Selected -#DirtyFilesDialog.Button.SaveSelected.ToolTip=Save Selected -DirtyFilesDialog.Button.DiscardSelected.Title=Discard Selected -#DirtyFilesDialog.Button.DiscardSelected.ToolTip=Discard Selected -#}}} - -#{{{ Activity Log Dialog -activity-log.label = Activity Log -ActivityLogDialog.Dialog.Title = Activity Log -ActivityLogDialog.Dialog.Message = Activity Log contents: -#}}} - -#{{{ About dialag -about.title=About jsXe -about.message=Released under the terms of the GNU General Public License\n\n\ - Active Contributors:\n\ - \ \ \ \ Ian Lewis <Ian...@me...>\n\ - \ \ \ \ Trish Hartnett <tri...@us...>\n\n\ - Translators:\n\ - \ \ \ \ German (de) - Bianca Shöen\n\ - \ \ \ \ German (de) - Dieter Steiner <spo...@gm...>\n\ - \ \ \ \ Swedish (sv) - Patrik Johansson <pa...@it...>\n\ - \ \ \ \ Russian (ru) - Alexandr Gridnev <ale...@ya...>\n\n\ - Past Contributers:\n\ - \ \ \ \ Aaron Flatten <afl...@us...>\n\ - \ \ \ \ Bilel Remmache <rb...@us...>\n\n\ - Homepage: http://jsxe.sourceforge.net/ -#}}} - -#{{{ Validation Errors Dialog -ValidationErrors.title=Validation Errors -ValidationErrors.message=Validation Errors -#}}} - -#}}} \ No newline at end of file Deleted: trunk/jsxe/messages/messages.de =================================================================== (Binary files differ) Deleted: trunk/jsxe/messages/messages.ja =================================================================== --- trunk/jsxe/messages/messages.ja 2006-08-28 04:04:14 UTC (rev 1181) +++ trunk/jsxe/messages/messages.ja 2006-08-28 15:48:25 UTC (rev 1182) @@ -1,155 +0,0 @@ -# JSXE Japanese properties file -# $Id$ -# Maintained by Ian Lewis -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -#{{{ common properties - -common.ok=決定 -common.cancel=キャンセル -common.open=開く -common.save=保存 -common.save.as=名前を付けて保存 -common.close=閉じる -common.apply=適用 -common.more=次 -common.insert=インサート -common.add=追加 -common.remove=削除 -common.moveUp=上げる -common.moveDown=下げる - -#common.ctrl=Ctrl -#common.alt=Alt -#common.shift=Shift -#common.meta=Meta - -#}}} - -#{{{ XML Terminology - -#{{{ XML Node Types -xml.element=要素 -xml.processing.instruction=処理命令 -xml.cdata=CDATAセクション -xml.text=テキスト -xml.entity.reference=エンティティ参照 -#xml.declaration=Element Declaration -xml.notation=表記法 -xml.entity=エンティティ -#xml.entity=Entity Declaration -xml.comment=コメント -xml.attribute=属性 -xml.doctype=文書型 -#}}} - -xml.attribute.value.short=値 -xml.attribute.value=属性値 -xml.document=XMLドキュメント -xml.namespace=ネームスペース -xml.namespace.prefix=ネームスペース前置修飾子 -xml.namespace.prefix.short=前置修飾子 -#xml.namespace.decl=Namespace Declaration -xml.doctypedef=文書型 -xml.doctype.name=DTDの名前 -xml.doctype.public=公開識別子 -xml.doctype.system=システム識別子 -xml.schema=XMLスキーマ - -#}}} - -#{{{ Global Options -Global.Options.Dialog.Title=Global Options -Global.Options.Title=General -Global.Options.Max.Recent.Files=最近使用したドキュメント数: -Global.Options.Max.Recent.Files.ToolTip=最近使用したドキュメントのメニューに表示するドキュメントの数 -Global.Options.network-off=Always cache without asking -Global.Options.network-cache=Ask first, then cache remote files -Global.Options.network-always=Always download without asking -Global.Options.network=DTDとXMLスキーマ ダウンロード: -Global.Options.Menu.Spill.Over=Number of items before menus spill over: -Global.Options.Undos.To.Remember=元に戻す数: -Global.Options.Undos.To.Remember.ToolTip=<HTML>jsXeは元に戻すために、この操作数を覚える.<BR> しかし, ビューを変わったら、覚えることはできません。</HTML> - -Shortcuts.Options.Title=ショットカット -Shortcuts.Options.Select.Label=ショットカットを編集: -Shortcuts.Options.Shortcut=ショットカット -Shortcuts.Options.Command=コマンド - -Grab.Key.title=ショットカットを選択 -Grab.Key.caption="{0}" のショットカットを選択して、決定を押してくただい。 -Grab.Key.keyboard-test=Input the key strokes that are causing problems. -Grab.Key.assigned-to=今登録されたコマンド: {0} -Grab.Key.assigned-to.none=<なし> -Grab.Key.clear=クリア -Grab.Key.remove=今のショットカットを削除 - -Grab.Key.remove-ask.title=ショットカットを削除? -Grab.Key.remove-ask.message=\ - 新しいショットカットは選択されてなかった。\n\ - 今のショットカットを削除? -#}}} - -#{{{ Document Options -Document.Options.Title=ドキュメント設定 -Document.Options.Encoding=エンコーディング: -#}}} - -#{{{ Menu Items - -File.Menu=ファイル -Edit.Menu=編集 -Help.Menu=ヘルプ -Tools.Menu=ツール -View.Menu=表示 - -#{{{ Action Labels -new-file.label=新規作成 -open-file.label=開く... -File.Recent=最近使用したドキュメント -File.Recent.None=最近使用したドキュメントはありません -save-file.label=保存 -save-as.label=名前を付けて保存... -reload-file.label=再ロード -close-file.label=閉じる -close-all.label=すべて閉じる -exit.label=終了 - -undo.label=元に戻す -redo.label=やり直し -cut.label=切り取り -copy.label=コピー -paste.label=貼り付け -find.label=探索... -findnext.label=次を探索 - -document-options.label=ドキュメント設定... -plugin-manager.label=プラグインマネジャー... -about-jsxe.label=jsXeについて... -#}}} - -#}}} - -#{{{ Dialogs - -#{{{ About dialag -about.title=jsXeについて -about.message=Released under the terms of the GNU General Public License\n\n\ - Active Contributors:\n\ - \ \ \ \ Ian Lewis <Ian...@me...>\n\ - \ \ \ \ Trish Hartnett <tri...@us...>\n\n\ - 翻訳者:\n\ - \ \ \ \ ドイツ語 (de) - Bianca Shöen\n\ - \ \ \ \ ドイツ語 (de) - Dieter Steiner <spo...@gm...>\n\ - \ \ \ \ スウェーデン語 (sv) - Patrik Johansson <pa...@it...>\n\n\ - Past Contributers:\n\ - \ \ \ \ Aaron Flatten <afl...@us...>\n\ - \ \ \ \ Bilel Remmache <rb...@us...>\n\ - \ \ \ \ SVM <svm...@us...>\n\n\ - ホームページ: http://jsxe.sourceforge.net/ -#}}} - -#}}} - Copied: trunk/jsxe/messages/messages.properties (from rev 1179, trunk/jsxe/messages/messages) =================================================================== --- trunk/jsxe/messages/messages.properties (rev 0) +++ trunk/jsxe/messages/messages.properties 2006-08-28 15:48:25 UTC (rev 1182) @@ -0,0 +1,300 @@ +# JSXE English properties file +# $Id$ +# Maintained by Ian Lewis +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +#{{{ common properties + +common.ok=OK +common.cancel=Cancel +common.open=Open +common.save=Save +common.save.as=Save As +common.close=Close +common.apply=Apply +common.more=More +common.insert=Insert +common.add=Add +common.remove=Remove +common.moveUp=Move Up +common.moveDown=Move Down +common.find=Find + +common.ctrl=Ctrl +common.alt=Alt +common.shift=Shift +common.meta=Meta + +#}}} + +#{{{ XML Terminology + +#{{{ XML Node Types +xml.element=Element +xml.processing.instruction=Processing Instruction +xml.cdata=CDATA Section +xml.text=Text +xml.entity.reference=Entity Reference +xml.declaration=Element Declaration +xml.notation=Notation +xml.entity=Entity Declaration +xml.comment=Comment +xml.attribute=Attribute +xml.doctype=Document Type +#}}} + +xml.attribute.value.short=Value +xml.attribute.value=Attribute Value +xml.document=XML Document +xml.namespace=Namespace +xml.namespace.prefix=Namespace Prefix +xml.namespace.prefix.short=Prefix +xml.namespace.decl=Namespace Declaration +xml.doctypedef=Document Type Definition +xml.doctype.name=Name +xml.doctype.public=Public Id +xml.doctype.system=System Id +xml.schema=XML Schema +#}}} + +#{{{ Global Options +Global.Options.Dialog.Title=Global Options +Global.Options.Title=General +Global.Options.Max.Recent.Files=Recent files to remember: +Global.Options.Max.Recent.Files.ToolTip=The maximum number of files that jsXe remembers in the recent files menu. +Global.Options.Recent.Files.Show.Full.Path=Show full path in Recent Files menu +Global.Options.Recent.Files.Show.Full.Path.ToolTip=If this checkbox is checked then the full path will be shown for files in the recent files menu. +Global.Options.network-off=Always cache without asking +Global.Options.network-cache=Ask first, then cache remote files +Global.Options.network-always=Always download without asking +Global.Options.network=DTD and schema downloading: +Global.Options.Menu.Spill.Over=Number of items before menus spill over: +Global.Options.Undos.To.Remember=Number of undos to remember: +Global.Options.Undos.To.Remember.ToolTip=<HTML>jsXe will remember this number of undo operations in memory.<BR> However, it cannot remember undo operations after switching views</HTML> + +Shortcuts.Options.Title=Shortcuts +Shortcuts.Options.Select.Label=Edit Shortcuts: +Shortcuts.Options.Shortcut=Shortcut +Shortcuts.Options.Command=Command + +Grab.Key.title=Specify Shortcut +Grab.Key.caption=Press the desired shortcut for "{0}", then click OK. +Grab.Key.keyboard-test=Input the key strokes that are causing problems. +Grab.Key.assigned-to=Currently assigned to: {0} +Grab.Key.assigned-to.none=<none> +Grab.Key.clear=Clear +Grab.Key.remove=Remove Current + +Grab.Key.remove-ask.title=Remove Shortcut? +Grab.Key.remove-ask.message=\ + You didn't specify a new shortcut.\n\ + Do you want to remove the current shortcut? + +Grab.Key.duplicate-alt-shortcut.title=Duplicate Shortcut +Grab.Key.duplicate-alt-shortcut.message=\ + The shortcut you selected duplicates the other\n\ + shortcut for this item. Please choose another. + +Grab.Key.duplicate-shortcut.title=Duplicate Shortcut +Grab.Key.duplicate-shortcut.message=\ + This shortcut is already assigned to\n\ + "{0}".\n\ + \n\ + Do you want to override this assignment? +#}}} + +#{{{ Document Options +Document.Options.Title=XML Document Options +Document.Options.Message=This dialog changes settings for the current\n document only. To change settings on an\n editor-wide basis, see the\n Tools->Global Options dialog box. +Document.Options.Line.Separator=Line Separator: +Document.Options.Line.Separator.ToolTip=The line separator. Usually you'll pick the line separator used by your operating system. +Document.Options.Encoding=Encoding: +Document.Options.Encoding.ToolTip=The encoding that jsXe uses to write the file. +Document.Options.Indent.Width=Indent width: +Document.Options.Indent.Width.ToolTip=The width used when formatting and displaying tab characters. +Document.Options.Format.XML=Format XML output +Document.Options.Format.XML.ToolTip=If this box is checked then XML will be formatted automatically. +Document.Options.Validate=Validate if DTD or Schema Available +Document.Options.Validate.ToolTip=If this box is checked jsXe will validate the XML document. +Document.Options.Soft.Tabs=Soft tabs (emulated with spaces) +Document.Options.Soft.Tabs.ToolTip=If this box is checked then tab characters are replaced by spaces. +#}}} + +#{{{ Plugin Manager +Plugin.Manager.Title=Plugin Manager +Plugin.Manager.Name.Column.Header=Name +Plugin.Manager.Version.Column.Header=Version +Plugin.Manager.Status.Column.Header=Status +Plugin.Manager.Loaded.Status=Loaded +Plugin.Manager.Not.Loaded.Status=Not Loaded +Plugin.Manager.Broken.Status=Error +#}}} + +#{{{ Menu Items + +File.Menu=File +Edit.Menu=Edit +View.Menu=View +Tools.Menu=Tools +Help.Menu=Help + + +#}}} + +#{{{ Action Labels +new-file.label=New +open-file.label=Open... +File.Recent=Recent Files +File.Recent.None=No Recent Files +save-file.label=Save +save-as.label=Save As... +reload-file.label=Reload +File.Recent=Recent Files +close-file.label=Close +close-all.label=Close All +exit.label=Exit + +undo.label=Undo +redo.label=Redo +cut.label=Cut +copy.label=Copy +paste.label=Paste +find.label=Find... +findnext.label=Find Next + +general-options.label=Global Options... +document-options.label=Document Options... +plugin-manager.label=Plugin Manager... +validation-errors.label=Validation Errors... +about-jsxe.label=About jsXe... + +#}}} + +#{{{ Messages + +DocumentView.Open.Message="Could not open buffer in any installed document views" + +#{0} file name +DocumentBuffer.Reload.Message={0} unsaved!\n You will lose all unsaved changes if you reload!\n\nContinue? +DocumentBuffer.Reload.Message.Title=Document Modified +DocumentBuffer.SaveAs.Message=The file {0} already exists. Are you sure you want to overwrite it? +DocumentBuffer.SaveAs.Message.Title=File Exists +DocumentBuffer.Close.Message={0} unsaved! Save it now? +DocumentBuffer.Close.Message.Title=Unsaved Changes + +#{0} file name +DocumentBuffer.Saved.Message={0} Saved +DocumentBuffer.Closed.Message={0} Closed +DocumentBuffer.Loaded.Message={0} Loaded +DocumentBuffer.Reloaded.Message={0} Reloaded + +#{0} plugin name +DocumentView.Not.Found=No plugin a with name of {0} exists. + +#{{{ Plugin Load Messages + +# {0} plugin name +Plugin.Error.title=Plugin Error +Plugin.Error.List.message=The following plugins could not be loaded: +Plugin.Load.Already.Loaded=Plugin {0} already loaded. +Plugin.Load.Wrong.Main.Class=Main class is not a plugin class. +Plugin.Load.No.Plugin.Class=No plugin class defined. +Plugin.Load.No.Plugin.Name=No plugin name defined. +Plugin.Load.No.Plugin.HR.Name=No plugin human-readable name defined. +Plugin.Load.No.Plugin.Version=No plugin version defined. + +# {0} plugin name +# {1} requirement name +# {2} required version +# {3} found version +Plugin.Dependency.Message={0} requires {1} version {2} but only version {3} was found. +# {0} plugin name +# {1} requirement name +# {2} required version +Plugin.Dependency.Not.Found={0} requires {1} version {2} but {1} was not found. +# {0} plugin name +# {1} requirement name +Plugin.Dependency.Not.Found2={0} requires {1} but {1} was not found. +# {0} plugin name +# {1} invalid dependency +Plugin.Dependency.Invalid={0} has an invalid dependency: {1} +# {0} invalid version +Plugin.Dependency.Invalid.jsXe.Version=Invalid jsXe version number: {0} +# {0} plugin name +# {1} requirement name +Plugin.Dependency.No.Version=Cannot load plugin {0}, {1} has no version. +# {0} plugin name +# {1} requirement name +Plugin.Dependency.Failed.Load={0} requires plugin {1} but {1} did not load properly. + +#}}} + +#{{{ Error Messages +No.Xerces.Error.message={0} not found. jsXe requires Apache {0}. +No.Xerces.Error.title={0} not found. +IO.Error.title=I/O Error +IO.Error.message=An I/O error has occurred +#}}} + +#}}} + +#{{{ Dialogs + +#{{{ Download resource dialog +xml.download-resource.title=Getting resource from remote server + +#{0} URL +xml.download-resource.message=This XML file depends on a resource which is stored at the following\n\ + Internet address:\n\ + \n\ + {0}\n\ + \n\ + Do you want the XML plugin to download the resource and cache it\n\ + for future use?\n\ + \n\ + If you want resources to be downloaded every time without prompting,\n\ + disable the resource cache in jsXe's global options. +#}}} + +#{{{ Dirty Files Dialog +DirtyFilesDialog.Dialog.Title=Unsaved Changes +DirtyFilesDialog.Dialog.Message=The following files have unsaved changes: +DirtyFilesDialog.Button.SelectAll.Title=Select All +#DirtyFilesDialog.Button.SelectAll.ToolTip=Select All +DirtyFilesDialog.Button.SaveSelected.Title=Save Selected +#DirtyFilesDialog.Button.SaveSelected.ToolTip=Save Selected +DirtyFilesDialog.Button.DiscardSelected.Title=Discard Selected +#DirtyFilesDialog.Button.DiscardSelected.ToolTip=Discard Selected +#}}} + +#{{{ Activity Log Dialog +activity-log.label = Activity Log +ActivityLogDialog.Dialog.Title = Activity Log +ActivityLogDialog.Dialog.Message = Activity Log contents: +#}}} + +#{{{ About dialag +about.title=About jsXe +about.message=Released under the terms of the GNU General Public License\n\n\ + Active Contributors:\n\ + \ \ \ \ Ian Lewis <Ian...@me...>\n\ + \ \ \ \ Trish Hartnett <tri...@us...>\n\n\ + Translators:\n\ + \ \ \ \ German (de) - Bianca Shöen\n\ + \ \ \ \ German (de) - Dieter Steiner <spo...@gm...>\n\ + \ \ \ \ Swedish (sv) - Patrik Johansson <pa...@it...>\n\ + \ \ \ \ Russian (ru) - Alexandr Gridnev <ale...@ya...>\n\n\ + Past Contributers:\n\ + \ \ \ \ Aaron Flatten <afl...@us...>\n\ + \ \ \ \ Bilel Remmache <rb...@us...>\n\n\ + Homepage: http://jsxe.sourceforge.net/ +#}}} + +#{{{ Validation Errors Dialog +ValidationErrors.title=Validation Errors +ValidationErrors.message=Validation Errors +#}}} + +#}}} \ No newline at end of file Deleted: trunk/jsxe/messages/messages.ru =================================================================== --- trunk/jsxe/messages/messages.ru 2006-08-28 04:04:14 UTC (rev 1181) +++ trunk/jsxe/messages/messages.ru 2006-08-28 15:48:25 UTC (rev 1182) @@ -1,298 +0,0 @@ -# JSXE English properties file -# $Id: messages 1158 2006-08-18 18:42:18Z ian_lewis $ -# Maintained by Alexandr Gridnev (ale...@ya...) -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -#{{{ common properties - -common.ok=Принять -common.cancel=Отменить -common.open=Открыть -common.save=Сохранить -common.save.as=Сохранить как -common.close=Закрыть -common.apply=Применить -common.more=Еще -common.insert=Вставить -common.add=Добавить -common.remove=Удалить -common.moveUp=Поднять -common.moveDown=Опустить -common.find=Искать - -common.ctrl=Ctrl -common.alt=Alt -common.shift=Shift -common.meta=Meta - -#}}} - -#{{{ XML Terminology - -#{{{ XML Node Types -xml.element=Элемент -xml.processing.instruction=Правило обработки -xml.cdata=Секция CDATA -xml.text=Текст -xml.entity.reference=Ссылка на сущность -xml.declaration=Объявление элемента -xml.notation=Замечание -xml.entity=Объявление сущности -xml.comment=Комментарий -xml.attribute=Свойство -xml.doctype=Тип документа -#}}} - -xml.attribute.value.short=Значение -xml.attribute.value=Значение свойства -xml.document=документ XML -xml.namespace=Пространство имен -xml.namespace.prefix=Префикс пространства имен -xml.namespace.prefix.short=Префикс -xml.namespace.decl=Объявление пространства имен -xml.doctypedef=Определение типа документа (DTD) -xml.doctype.name=Имя -xml.doctype.public=Публичный Id -xml.doctype.system=Системный Id -xml.schema=Схема XML -#}}} - -#{{{ Global Options -Global.Options.Dialog.Title=Глобальные опции -Global.Options.Title=Главное -Global.Options.Max.Recent.Files=Помнить ранее открытых файлов: -Global.Options.Max.Recent.Files.ToolTip=Максимальное количество ранее открытых файлов, про которые jsXe помнит и отображает в меню Файл->Ранее открытые файлы -Global.Options.network-off=Кешировать всегда, без спросу -Global.Options.network-cache=Кешировать удаленные файлы только спросив разрешения -Global.Options.network-always=Скачивать всегда, без спросу -Global.Options.network=Скачивание DTD и схемы: -Global.Options.Menu.Spill.Over=Меню выпадают после: -Global.Options.Undos.To.Remember=Запомнить действий: -Global.Options.Undos.To.Remember.ToolTip=<HTML>jsXe запомнит столько действий и потом их можно будет отменить.<BR> Однако он не может запомнить действия, выполненные после переключения видов</HTML> - -Shortcuts.Options.Title=Горячие клавиши -Shortcuts.Options.Select.Label=Редактировать горячие клавиши: -Shortcuts.Options.Shortcut=Горячая клавиша -Shortcuts.Options.Command=Команда - -Grab.Key.title=Нажмите клавишу -Grab.Key.caption=Нажмите клавишу для команды "{0}", а котом нажмите Принять. -Grab.Key.keyboard-test=Input the key strokes that are causing problems. -Grab.Key.assigned-to=Уже назначено для: {0} -Grab.Key.assigned-to.none=<ничего> -Grab.Key.clear=Очистить -Grab.Key.remove=Удалить текущее - -Grab.Key.remove-ask.title=Удалить клавишу? -Grab.Key.remove-ask.message=\ - Вы не назначили новую клавишу.\n\ - Вы что, всеръез решили лишить команду клавиши, правда? - -Grab.Key.duplicate-alt-shortcut.title=Две команды на клавишу -Grab.Key.duplicate-alt-shortcut.message=\ - Клавиша которую вы назначили уже занята за другой командой\n\ - Просьба выбрать другую, ато они подерутся. - -Grab.Key.duplicate-shortcut.title=Две команды на клавишу -Grab.Key.duplicate-shortcut.message=\ - Эта клавиша уже занята за\n\ - "{0}".\n\ - \n\ - Вы хотите отвергнуть это назначение? -#}}} - -#{{{ Document Options -Document.Options.Title=Опции документа XML -Document.Options.Message=Этот диалог управляет настройками только\n текущего документа. Чтобы изменить\n базовые настройки лезте в\n Инструменты->Глобальные опции. -Document.Options.Line.Separator=Разделитель строк: -Document.Options.Line.Separator.ToolTip=Разделитель строк. По умолчанию выбирается традиционный для вашей операционной системы. -Document.Options.Encoding=Кодировка: -Document.Options.Encoding.ToolTip=Кодировка, которую jsXe использует для записи текстовой инфы в файл. -Document.Options.Indent.Width=Ширина отступа: -Document.Options.Indent.Width.ToolTip=Ширина используемая при форматировании и отображении символов табуляции. -Document.Options.Format.XML=Форматировать выводимый XML -Document.Options.Format.XML.ToolTip=Если это выбрано, XML будет форматироваться автоматически. -Document.Options.Validate=Подтв. если доступны DTD или Схема -Document.Options.Validate.ToolTip=Если это выбрано, jsXe будет подтверждать (проверять?) документ XML. -Document.Options.Soft.Tabs=Мягкие табуляции (эмуляция пробелами) -Document.Options.Soft.Tabs.ToolTip=Если это выбрано, символы табуляции будут заменены пробелами. -#}}} - -#{{{ Plugin Manager -Plugin.Manager.Title=Менеджер плагинов -Plugin.Manager.Name.Column.Header=Имя -Plugin.Manager.Version.Column.Header=Версия -Plugin.Manager.Status.Column.Header=Статус -Plugin.Manager.Loaded.Status=Загружен -Plugin.Manager.Not.Loaded.Status=Не загружен -Plugin.Manager.Broken.Status=Ошибка -#}}} - -#{{{ Menu Items - -File.Menu=Файл -Edit.Menu=Правка -View.Menu=Вид -Tools.Menu=Инструменты -Help.Menu=Справка - - -#}}} - -#{{{ Action Labels -new-file.label=Новый -open-file.label=Открыть... -File.Recent=Ранее открытые файлы -File.Recent.None=Нэма нифигга -save-file.label=Сохранить -save-as.label=Сохранить как... -reload-file.label=Открыть еще раз -File.Recent=Ранее открытые файлы -close-file.label=Закрыть -close-all.label=Закрыть все -exit.label=Выход - -undo.label=Отменить -redo.label=Повторить -cut.label=Вырезать -copy.label=Копировать -paste.label=Вставить -find.label=Искать... -findnext.label=Искать далее - -general-options.label=Глобальные опции... -document-options.label=Опции документа... -plugin-manager.label=Менеджер плагинов... -validation-errors.label=Ошибки подтверждения... -about-jsxe.label=О программе jsXe... - -#}}} - -#{{{ Messages - -DocumentView.Open.Message="Не могу открыть буффер в каком-либо из установленных document view-ов" - -#{0} file name -DocumentBuffer.Reload.Message={0} не сохранен!\n Вы потеряете все несохраненные изменения если продолжите!\n\n Продолжить? Вам не нужны эти несохраненные данные, в самом деле? -DocumentBuffer.Reload.Message.Title=Документ был изменен -DocumentBuffer.SaveAs.Message=Файл {0} уже существует. Записать новый файл поверх, зверски убив старый? -DocumentBuffer.SaveAs.Message.Title=Файл уже существует -DocumentBuffer.Close.Message={0} Не сохранен! Сохранить его прямо сейчас? -DocumentBuffer.Close.Message.Title=Несохраненные изменения - -#{0} file name -DocumentBuffer.Saved.Message={0} Сохранен -DocumentBuffer.Closed.Message={0} Закрыт -DocumentBuffer.Loaded.Message={0} Загружен -DocumentBuffer.Reloaded.Message={0} Загружен заново - -#{0} plugin name -DocumentView.Not.Found=Нету такого плагина со странным именем "{0}". - -#{{{ Plugin Load Messages - -# {0} plugin name -Plugin.Error.title=Ошибка плагина -Plugin.Error.List.message=Следующие плагины не могут быть загружены: -Plugin.Load.Already.Loaded=Плагин {0} уже загружен. -Plugin.Load.Wrong.Main.Class=Главный класс не является классом плагина. -Plugin.Load.No.Plugin.Class=Класс плагина не был определен. -Plugin.Load.No.Plugin.Name=Имя плагина не было определено. -Plugin.Load.No.Plugin.HR.Name=Для плагина не было определено такого имени,/n чтоб его мог прочитать нормальный человек (human-readable name). -Plugin.Load.No.Plugin.Version=Версия плагина не была определена. - -# {0} plugin name -# {1} requirement name -# {2} required version -# {3} found version -Plugin.Dependency.Message={0} требует {1} версии {2}, но обнаружена только версия {3}. -# {0} plugin name -# {1} requirement name -# {2} required version -Plugin.Dependency.Not.Found={0} требует {1} версии {2}, но {1} не удалось найти. -# {0} plugin name -# {1} requirement name -Plugin.Dependency.Not.Found2={0} требует {1} но {1} нигде не видать. -# {0} plugin name -# {1} invalid dependency -Plugin.Dependency.Invalid=У {0} есть неправильная зависимость: {1} -# {0} invalid version -Plugin.Dependency.Invalid.jsXe.Version=Неправильный номер версии jsXe: {0} -# {0} plugin name -# {1} requirement name -Plugin.Dependency.No.Version=Не могу загрузить плагин {0}, потому что у {1} не подписана версия. -# {0} plugin name -# {1} requirement name -Plugin.Dependency.Failed.Load={0} Требует плагин {1}, но этот самый {1} так и не удалось загрузить. - -#}}} - -#{{{ Error Messages -No.Xerces.Error.message={0} не обнаружен. jsXe требует Apache {0}. -No.Xerces.Error.title={0} не обнаружен. -IO.Error.title=ошибка ввода/вывода (I/O Error) -IO.Error.message=Произошла ошибка ввода/вывода -#}}} - -#}}} - -#{{{ Dialogs - -#{{{ Download resource dialog -xml.download-resource.title=Выкачиваем ресурсы с удаленного сервера... - -#{0} URL -xml.download-resource.message=Этот XML-файл зависит от ресурсов, которые расколожены\n\ - по следующему адресу в интернете:\n\ - \n\ - {0}\n\ - \n\ - Хотите ли вы чтобы плагин XML скачал ресурсы и закешировал их\n\ - для последующего использования?\n\ - \n\ - Если вы хотите соизволить разрешить мне скачивать ресурсы без спросу,\n\ - то отключите кеширование ресурсов в глобальных опциях jsXe. -#}}} - -#{{{ Dirty Files Dialog -DirtyFilesDialog.Dialog.Title=Несохраненные изменения -DirtyFilesDialog.Dialog.Message=В следующих файлах есть несохраненные изменения: -DirtyFilesDialog.Button.SelectAll.Title=Выбрать все -#DirtyFilesDialog.Button.SelectAll.ToolTip=Взять их фсехх! -DirtyFilesDialog.Button.SaveSelected.Title=Сохранить выбранные -#DirtyFilesDialog.Button.SaveSelected.ToolTip=Сохраняет, что тут еще можно сказать... те что выбраны, да... -DirtyFilesDialog.Button.DiscardSelected.Title=Убрать выделение -#DirtyFilesDialog.Button.DiscardSelected.ToolTip=Убирает выделение ;) -#}}} - -#{{{ Activity Log Dialog -activity-log.label = Лог активности -ActivityLogDialog.Dialog.Title = Лог активности -ActivityLogDialog.Dialog.Message = Содержимое лога активности: -#}}} - -#{{{ About dialag -about.title=О программе jsXe -about.message=Распространяется на условиях GNU General Public License\n\n\ - Активные разработчики:\n\ - \ \ \ \ Ian Lewis <Ian...@me...>\n\ - \ \ \ \ Trish Hartnett <tri...@us...>\n\n\ - Переводчики:\n\ - \ \ \ \ German (de) - Bianca Sh\u00f6en\n\ - \ \ \ \ German (de) - Dieter Steiner <spo...@gm...>\n\ - \ \ \ \ Swedish (sv) - Patrik Johansson <pa...@it...>\n\n\ - В прошлом учавствовали в разработке:\n\ - \ \ \ \ Aaron Flatten <afl...@us...>\n\ - \ \ \ \ Bilel Remmache <rb...@us...>\n\ - \ \ \ \ SVM <svm...@us...>\n\n\ - Страница проекта: http://jsxe.sourceforge.net/ -#}}} - -#{{{ Validation Errors Dialog -ValidationErrors.title=Ошибки подтверждения -ValidationErrors.message=Ошибки подтверждения -#}}} - -#}}} Deleted: trunk/jsxe/messages/messages.sv =================================================================== --- trunk/jsxe/messages/messages.sv 2006-08-28 04:04:14 UTC (rev 1181) +++ trunk/jsxe/messages/messages.sv 2006-08-28 15:48:25 UTC (rev 1182) @@ -1,48 +0,0 @@ -# JSXE Swedish properties file -# $Id$ -# Currently maintained by Patrik Johansson <pa...@it...> -#:mode=properties: -#:tabSize=4:indentSize=4:noTabs=true: -#:folding=explicit:collapseFolds=1: - -#{{{ common properties - -common.ok=OK -common.cancel=Avbryt -common.close=Stäng -common.apply=Verkställ -common.more=Mer -common.insert=Infoga -common.add=Lägg till -common.remove=Ta bort -common.moveUp=Flytta upp -common.moveDown=Flytta ner -common.cut=Klipp ut -common.copy=Kopiera -common.paste=Klistra in -common.find=Sök... -common.findnext=Sök nästa - -#}}} - -#{{{ Global Options -global.options.title=Globala inställningar -#}}} - -#{{{ File Menu Items -File.New=Ny -File.Open=Öppna... -File.Recent=Senaste filer -File.Save=Spara -File.SaveAs=Spara som... -File.Reload=Läs om -File.Recent=Senaste filer -File.Close=Stäng -File.CloseAll=Stäng alla -File.Exit=Avsluta -#}}} - -Tools.Options=Inställningar... -Tools.Plugin=Hanterare för insticksprogram... -Plugin.Manager.Title=Hanterare för insticksprogram -Help.About=Om jsXe... Copied: trunk/jsxe/messages/messages_de.properties (from rev 1176, trunk/jsxe/messages/messages.de) =================================================================== (Binary files differ) Copied: trunk/jsxe/messages/messages_ja.properties (from rev 1176, trunk/jsxe/messages/messages.ja) =================================================================== --- trunk/jsxe/messages/messages_ja.properties (rev 0) +++ trunk/jsxe/messages/messages_ja.properties 2006-08-28 15:48:25 UTC (rev 1182) @@ -0,0 +1,155 @@ +# JSXE Japanese properties file +# $Id$ +# Maintained by Ian Lewis +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +#{{{ common properties + +common.ok=決定 +common.cancel=キャンセル +common.open=開く +common.save=保存 +common.save.as=名前を付けて保存 +common.close=閉じる +common.apply=適用 +common.more=次 +common.insert=インサート +common.add=追加 +common.remove=削除 +common.moveUp=上げる +common.moveDown=下げる + +#common.ctrl=Ctrl +#common.alt=Alt +#common.shift=Shift +#common.meta=Meta + +#}}} + +#{{{ XML Terminology + +#{{{ XML Node Types +xml.element=要素 +xml.processing.instruction=処理命令 +xml.cdata=CDATAセクション +xml.text=テキスト +xml.entity.reference=エンティティ参照 +#xml.declaration=Element Declaration +xml.notation=表記法 +xml.entity=エンティティ +#xml.entity=Entity Declaration +xml.comment=コメント +xml.attribute=属性 +xml.doctype=文書型 +#}}} + +xml.attribute.value.short=値 +xml.attribute.value=属性値 +xml.document=XMLドキュメント +xml.namespace=ネームスペース +xml.namespace.prefix=ネームスペース前置修飾子 +xml.namespace.prefix.short=前置修飾子 +#xml.namespace.decl=Namespace Declaration +xml.doctypedef=文書型 +xml.doctype.name=DTDの名前 +xml.doctype.public=公開識別子 +xml.doctype.system=システム識別子 +xml.schema=XMLスキーマ + +#}}} + +#{{{ Global Options +Global.Options.Dialog.Title=Global Options +Global.Options.Title=General +Global.Options.Max.Recent.Files=最近使用したドキュメント数: +Global.Options.Max.Recent.Files.ToolTip=最近使用したドキュメントのメニューに表示するドキュメントの数 +Global.Options.network-off=Always cache without asking +Global.Options.network-cache=Ask first, then cache remote files +Global.Options.network-always=Always download without asking +Global.Options.network=DTDとXMLスキーマ ダウンロード: +Global.Options.Menu.Spill.Over=Number of items before menus spill over: +Global.Options.Undos.To.Remember=元に戻す数: +Global.Options.Undos.To.Remember.ToolTip=<HTML>jsXeは元に戻すために、この操作数を覚える.<BR> しかし, ビューを変わったら、覚えることはできません。</HTML> + +Shortcuts.Options.Title=ショットカット +Shortcuts.Options.Select.Label=ショットカットを編集: +Shortcuts.Options.Shortcut=ショットカット +Shortcuts.Options.Command=コマンド + +Grab.Key.title=ショットカットを選択 +Grab.Key.caption="{0}" のショットカットを選択して、決定を押してくただい。 +Grab.Key.keyboard-test=Input the key strokes that are causing problems. +Grab.Key.assigned-to=今登録されたコマンド: {0} +Grab.Key.assigned-to.none=<なし> +Grab.Key.clear=クリア +Grab.Key.remove=今のショットカットを削除 + +Grab.Key.remove-ask.title=ショットカットを削除? +Grab.Key.remove-ask.message=\ + 新しいショットカットは選択されてなかった。\n\ + 今のショットカットを削除? +#}}} + +#{{{ Document Options +Document.Options.Title=ドキュメント設定 +Document.Options.Encoding=エンコーディング: +#}}} + +#{{{ Menu Items + +File.Menu=ファイル +Edit.Menu=編集 +Help.Menu=ヘルプ +Tools.Menu=ツール +View.Menu=表示 + +#{{{ Action Labels +new-file.label=新規作成 +open-file.label=開く... +File.Recent=最近使用したドキュメント +File.Recent.None=最近使用したドキュメントはありません +save-file.label=保存 +save-as.label=名前を付けて保存... +reload-file.label=再ロード +close-file.label=閉じる +close-all.label=すべて閉じる +exit.label=終了 + +undo.label=元に戻す +redo.label=やり直し +cut.label=切り取り +copy.label=コピー +paste.label=貼り付け +find.label=探索... +findnext.label=次を探索 + +document-options.label=ドキュメント設定... +plugin-manager.label=プラグインマネジャー... +about-jsxe.label=jsXeについて... +#}}} + +#}}} + +#{{{ Dialogs + +#{{{ About dialag +about.title=jsXeについて +about.message=Released under the terms of the GNU General Public License\n\n\ + Active Contributors:\n\ + \ \ \ \ Ian Lewis <Ian...@me...>\n\ + \ \ \ \ Trish Hartnett <tri...@us...>\n\n\ + 翻訳者:\n\ + \ \ \ \ ドイツ語 (de) - Bianca Shöen\n\ + \ \ \ \ ドイツ語 (de) - Dieter Steiner <spo...@gm...>\n\ + \ \ \ \ スウェーデン語 (sv) - Patrik Johansson <pa...@it...>\n\n\ + Past Contributers:\n\ + \ \ \ \ Aaron Flatten <afl...@us...>\n\ + \ \ \ \ Bilel Remmache <rb...@us...>\n\ + \ \ \ \ SVM <svm...@us...>\n\n\ + ホームページ: http://jsxe.sourceforge.net/ +#}}} + +#}}} + Copied: trunk/jsxe/messages/messages_ru.properties (from rev 1176, trunk/jsxe/messages/messages.ru) =================================================================== --- trunk/jsxe/messages/messages_ru.properties (rev 0) +++ trunk/jsxe/messages/messages_ru.properties 2006-08-28 15:48:25 UTC (rev 1182) @@ -0,0 +1,298 @@ +# JSXE English properties file +# $Id: messages 1158 2006-08-18 18:42:18Z ian_lewis $ +# Maintained by Alexandr Gridnev (ale...@ya...) +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +#{{{ common properties + +common.ok=Принять +common.cancel=Отменить +common.open=Открыть +common.save=Сохранить +common.save.as=Сохранить как +common.close=Закрыть +common.apply=Применить +common.more=Еще +common.insert=Вставить +common.add=Добавить +common.remove=Удалить +common.moveUp=Поднять +common.moveDown=Опустить +common.find=Искать + +common.ctrl=Ctrl +common.alt=Alt +common.shift=Shift +common.meta=Meta + +#}}} + +#{{{ XML Terminology + +#{{{ XML Node Types +xml.element=Элемент +xml.processing.instruction=Правило обработки +xml.cdata=Секция CDATA +xml.text=Текст +xml.entity.reference=Ссылка на сущность +xml.declaration=Объявление элемента +xml.notation=Замечание +xml.entity=Объявление сущности +xml.comment=Комментарий +xml.attribute=Свойство +xml.doctype=Тип документа +#}}} + +xml.attribute.value.short=Значение +xml.attribute.value=Значение свойства +xml.document=документ XML +xml.namespace=Пространство имен +xml.namespace.prefix=Префикс пространства имен +xml.namespace.prefix.short=Префикс +xml.namespace.decl=Объявление пространства имен +xml.doctypedef=Определение типа документа (DTD) +xml.doctype.name=Имя +xml.doctype.public=Публичный Id +xml.doctype.system=Системный Id +xml.schema=Схема XML +#}}} + +#{{{ Global Options +Global.Options.Dialog.Title=Глобальные опции +Global.Options.Title=Главное +Global.Options.Max.Recent.Files=Помнить ранее открытых файлов: +Global.Options.Max.Recent.Files.ToolTip=Максимальное количество ранее открытых файлов, про которые jsXe помнит и отображает в меню Файл->Ранее открытые файлы +Global.Options.network-off=Кешировать всегда, без спросу +Global.Options.network-cache=Кешировать удаленные файлы только спросив разрешения +Global.Options.network-always=Скачивать всегда, без спросу +Global.Options.network=Скачивание DTD и схемы: +Global.Options.Menu.Spill.Over=Меню выпадают после: +Global.Options.Undos.To.Remember=Запомнить действий: +Global.Options.Undos.To.Remember.ToolTip=<HTML>jsXe запомнит столько действий и потом их можно будет отменить.<BR> Однако он не может запомнить действия, выполненные после переключения видов</HTML> + +Shortcuts.Options.Title=Горячие клавиши +Shortcuts.Options.Select.Label=Редактировать горячие клавиши: +Shortcuts.Options.Shortcut=Горячая клавиша +Shortcuts.Options.Command=Команда + +Grab.Key.title=Нажмите клавишу +Grab.Key.caption=Нажмите клавишу для команды "{0}", а котом нажмите Принять. +Grab.Key.keyboard-test=Input the key strokes that are causing problems. +Grab.Key.assigned-to=Уже назначено для: {0} +Grab.Key.assigned-to.none=<ничего> +Grab.Key.clear=Очистить +Grab.Key.remove=Удалить текущее + +Grab.Key.remove-ask.title=Удалить клавишу? +Grab.Key.remove-ask.message=\ + Вы не назначили новую клавишу.\n\ + Вы что, всеръез решили лишить команду клавиши, правда? + +Grab.Key.duplicate-alt-shortcut.title=Две команды на клавишу +Grab.Key.duplicate-alt-shortcut.message=\ + Клавиша которую вы назначили уже занята за другой командой\n\ + Просьба выбрать другую, ато они подерутся. + +Grab.Key.duplicate-shortcut.title=Две команды на клавишу +Grab.Key.duplicate-shortcut.message=\ + Эта клавиша уже занята за\n\ + "{0}".\n\ + \n\ + Вы хотите отвергнуть это назначение? +#}}} + +#{{{ Document Options +Document.Options.Title=Опции документа XML +Document.Options.Message=Этот диалог управляет настройками только\n текущего документа. Чтобы изменить\n базовые настройки лезте в\n Инструменты->Глобальные опции. +Document.Options.Line.Separator=Разделитель строк: +Document.Options.Line.Separator.ToolTip=Разделитель строк. По умолчанию выбирается традиционный для вашей операционной системы. +Document.Options.Encoding=Кодировка: +Document.Options.Encoding.ToolTip=Кодировка, которую jsXe использует для записи текстовой инфы в файл. +Document.Options.Indent.Width=Ширина отступа: +Document.Options.Indent.Width.ToolTip=Ширина используемая при форматировании и отображении символов табуляции. +Document.Options.Format.XML=Форматировать выводимый XML +Document.Options.Format.XML.ToolTip=Если это выбрано, XML будет форматироваться автоматически. +Document.Options.Validate=Подтв. если доступны DTD или Схема +Document.Options.Validate.ToolTip=Если это выбрано, jsXe будет подтверждать (проверять?) документ XML. +Document.Options.Soft.Tabs=Мягкие табуляции (эмуляция пробелами) +Document.Options.Soft.Tabs.ToolTip=Если это выбрано, символы табуляции будут заменены пробелами. +#}}} + +#{{{ Plugin Manager +Plugin.Manager.Title=Менеджер плагинов +Plugin.Manager.Name.Column.Header=Имя +Plugin.Manager.Version.Column.Header=Версия +Plugin.Manager.Status.Column.Header=Статус +Plugin.Manager.Loaded.Status=Загружен +Plugin.Manager.Not.Loaded.Status=Не загружен +Plugin.Manager.Broken.Status=Ошибка +#}}} + +#{{{ Menu Items + +File.Menu=Файл +Edit.Menu=Правка +View.Menu=Вид +Tools.Menu=Инструменты +Help.Menu=Справка + + +#}}} + +#{{{ Action Labels +new-file.label=Новый +open-file.label=Открыть... +File.Recent=Ранее открытые файлы +File.Recent.None=Нэма нифигга +save-file.label=Сохранить +save-as.label=Сохранить как... +reload-file.label=Открыть еще раз +File.Recent=Ранее открытые файлы +close-file.label=Закрыть +close-all.label=Закрыть все +exit.label=Выход + +undo.label=Отменить +redo.label=Повторить +cut.label=Вырезать +copy.label=Копировать +paste.label=Вставить +find.label=Искать... +findnext.label=Искать далее + +general-options.label=Глобальные опции... +document-options.label=Опции документа... +plugin-manager.label=Менеджер плагинов... +validation-errors.label=Ошибки подтверждения... +about-jsxe.label=О программе jsXe... + +#}}} + +#{{{ Messages + +DocumentView.Open.Message="Не могу открыть буффер в каком-либо из установленных document view-ов" + +#{0} file name +DocumentBuffer.Reload.Message={0} не сохранен!\n Вы потеряете все несохраненные изменения если продолжите!\n\n Продолжить? Вам не нужны эти несохраненные данные, в самом деле? +DocumentBuffer.Reload.Message.Title=Документ был изменен +DocumentBuffer.SaveAs.Message=Файл {0} уже существует. Записать новый файл поверх, зверски убив старый? +DocumentBuffer.SaveAs.Message.Title=Файл уже существует +DocumentBuffer.Close.Message={0} Не сохранен! Сохранить его прямо сейчас? +DocumentBuffer.Close.Message.Title=Несохраненные изменения + +#{0} file name +DocumentBuffer.Saved.Message={0} Сохранен +DocumentBuffer.Closed.Message={0} Закрыт +DocumentBuffer.Loaded.Message={0} Загружен +DocumentBuffer.Reloaded.Message={0} Загружен заново + +#{0} plugin name +DocumentView.Not.Found=Нету такого плагина со странным именем "{0}". + +#{{{ Plugin Load Messages + +# {0} plugin name +Plugin.Error.title=Ошибка плагина +Plugin.Error.List.message=Следующие плагины не могут быть загружены: +Plugin.Load.Already.Loaded=Плагин {0} уже загружен. +Plugin.Load.Wrong.Main.Class=Главный класс не является классом плагина. +Plugin.Load.No.Plugin.Class=Класс плагина не был определен. +Plugin.Load.No.Plugin.Name=Имя плагина не было определено. +Plugin.Load.No.Plugin.HR.Name=Для плагина не было определено такого имени,/n чтоб его мог прочитать нормальный человек (human-readable name). +Plugin.Load.No.Plugin.Version=Версия плагина не была определена. + +# {0} plugin name +# {1} requirement name +# {2} required version +# {3} found version +Plugin.Dependency.Message={0} требует {1} версии {2}, но обнаружена только версия {3}. +# {0} plugin name +# {1} requirement name +# {2} required version +Plugin.Dependency.Not.Found={0} требует {1} версии {2}, но {1} не удалось найти. +# {0} plugin name +# {1} requirement name +Plugin.Dependency.Not.Found2={0} требует {1} но {1} нигде не видать. +# {0} plugin name +# {1} invalid dependency +Plugin.Dependency.Invalid=У {0} есть неправильная зависимость: {1} +# {0} invalid version +Plugin.Dependency.Invalid.jsXe.Version=Неправильный номер версии jsXe: {0} +# {0} plugin name +# {1} requirement name +Plugin.Dependency.No.Version=Не могу загрузить плагин {0}, потому что у {1} не подписана версия. +# {0} plugin name +# {1} requirement name +Plugin.Dependency.Failed.Load={0} Требует плагин {1}, но этот самый {1} так и не удалось загрузить. + +#}}} + +#{{{ Error Messages +No.Xerces.Error.message={0} не обнаружен. jsXe требует Apache {0}. +No.Xerces.Error.title={0} не обнаружен. +IO.Error.title=ошибка ввода/вывода (I/O Error) +IO.Error.message=Произошла ошибка ввода/вывода +#}}} + +#}}} + +#{{{ Dialogs + +#{{{ Download resource dialog +xml.download-resource.title=Выкачиваем ресурсы с удаленного сервера... + +#{0} URL +xml.download-resource.message=Этот XML-файл зависит от ресурсов, которые расколожены\n\ + по следующему адресу в интернете:\n\ + \n\ + {0}\n\ + \n\ + Хотите ли вы чтобы плагин XML скачал ресурсы и закешировал их\n\ + для последующего использования?\n\ + \n\ + Если вы хотите соизволить разрешить мне скачивать ресурсы без спросу,\n\ + то отключите кеширование ресурсов в глобальных опциях jsXe. +#}}} + +#{{{ Dirty Files Dialog +DirtyFilesDialog.Dialog.Title=Несохраненные изменения +DirtyFilesDialog.Dialog.Message=В следующих файлах есть несохраненные изменения: +DirtyFilesDialog.Button.SelectAll.Title=Выбрать все +#DirtyFilesDialog.Button.SelectAll.ToolTip=Взять их фсехх! +DirtyFilesDialog.Button.SaveSelected.Title=Сохранить выбранные +#DirtyFilesDialog.Button.SaveSelected.ToolTip=Сохраняет, что тут еще можно сказать... те что выбраны, да... +DirtyFilesDialog.Button.DiscardSelected.Title=Убрать выделение +#DirtyFilesDialog.Button.DiscardSelected.ToolTip=Убирает выделение ;) +#}}} + +#{{{ Activity Log Dialog +activity-log.label = Лог активности +ActivityLogDialog.Dialog.Title = Лог активности +ActivityLogDialog.Dialog.Message = Содержимое лога активности: +#}}} + +#{{{ About dialag +about.title=О программе jsXe +about.message=Распространяется на условиях GNU General Public License\n\n\ + Активные разработчики:\n\ + \ \ \ \ Ian Lewis <Ian...@me...>\n\ + \ \ \ \ Trish Hartnett <tri...@us...>\n\n\ + Переводчики:\n\ + \ \ \ \ German (de) - Bianca Sh\u00f6en\n\ + \ \ \ \ German (de) - Dieter Steiner <spo...@gm...>\n\ + \ \ \ \ Swedish (sv) - Patrik Johansson <pa...@it...>\n\n\ + В прошлом учавствовали в разработке:\n\ + \ \ \ \ Aaron Flatten <afl...@us...>\n\ + \ \ \ \ Bilel Remmache <rb...@us...>\n\ + \ \ \ \ SVM <svm...@us...>\n\n\ + Страница проекта: http://jsxe.sourceforge.net/ +#}}} + +#{{{ Validation Errors Dialog +ValidationErrors.title=Ошибки подтверждения +ValidationErrors.message=Ошибки подтверждения +#}}} + +#}}} Copied: trunk/jsxe/messages/messages_sv.properties (from rev 1176, trunk/jsxe/messages/messages.sv) =================================================================== --- trunk/jsxe/messages/messages_sv.properties (rev 0) +++ trunk/jsxe/messages/messages_sv.properties 2006-08-28 15:48:25 UTC (rev 1182) @@ -0,0 +1,48 @@ +# JSXE Swedish properties file +# $Id$ +# Currently maintained by Patrik Johansson <pa...@it...> +#:mode=properties: +#:tabSize=4:indentSize=4:noTabs=true: +#:folding=explicit:collapseFolds=1: + +#{{{ common properties + +common.ok=OK +common.cancel=Avbryt +common.close=Stäng +common.apply=Verkställ +common.more=Mer +common.insert=Infoga +common.add=Lägg till +common.remove=Ta bort +common.moveUp=Flytta upp +common.moveDown=Flytta ner +common.cut=Klipp ut +common.copy=Kopiera +common.paste=Klistra in +common.find=Sök... +common.findnext=Sök nästa + +#}}} + +#{{{ Global Options +global.options.title=Globala inställningar +#}}} + +#{{{ File Menu Items +File.New=Ny +File.Open=Öppna... +File.Recent=Senaste filer +File.Save=Spara +File.SaveAs=Spara som... +File.Reload=Läs om +File.Recent=Senaste filer +File.Close=Stäng +File.CloseAll=Stäng alla +File.Exit=Avsluta +#}}} + +Tools.Options=Inställningar... +Tools.Plugin=Hanterare för insticksprogram... +Plugin.Manager.Title=Hanterare för insticksprogram +Help.About=Om jsXe... Modified: trunk/jsxe/src/net/sourceforge/jsxe/gui/Messages.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/gui/Messages.java 2006-08-28 04:04:14 UTC (rev 1181) +++ trunk/jsxe/src/net/sourceforge/jsxe/gui/Messages.java 2006-08-28 15:48:25 UTC (rev 1182) @@ -66,10 +66,10 @@ * <code>Properties</code> class. * * <ul> - * <li>messages.<code>language</code>_<code>country</code>_<code>variant</code></li> - * <li>messages.<code>language</code>_<code>country</code></li> - * <li>messages.<code>language</code></li> - * <li>messages</li> + * <li>messages_<code>language</code>_<code>country</code>_<code>variant</code>.properties</li> + * <li>messages_<code>language</code>_<code>country</code>.properties</li> + * <li>messages_<code>language</code>.properties</li> + * <li>messages.properties</li> * </ul> * * @author Trish Hartnett (<a href="mailto:tri...@me...">tri...@me...</a>) @@ -107,23 +107,12 @@ StringBuffer messagesFile = new StringBuffer("messages"); if (locale != null) { - messagesFile.append(".").append(locale.toString()); - // String language = locale.getLanguage(); - // if (language != null && !language.equals("")) { - // messagesFile.append(".").append(language); - - // String country = locale.getCountry(); - // if (country != null && !country.equals("")) { - // messagesFile.append(".").append(country); - - // String variant = locale.getVariant(); - // if (variant != null && !variant.equals("")) { - // messagesFile.append(".").append(variant); - // } - // } - // } + //locale is language[_country[_variant]] + messagesFile.append("_").append(locale.toString()); } + messagesFile.append(".properties"); + return messagesFile.toString(); }//}}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ... [truncated message content] |
From: <ian...@us...> - 2006-08-28 04:04:18
|
Revision: 1181 Author: ian_lewis Date: 2006-08-27 21:04:14 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1181&view=rev Log Message: ----------- added version info to the help system planned feature Modified Paths: -------------- trunk/web/htdocs/features.php Modified: trunk/web/htdocs/features.php =================================================================== --- trunk/web/htdocs/features.php 2006-08-28 03:55:50 UTC (rev 1180) +++ trunk/web/htdocs/features.php 2006-08-28 04:04:14 UTC (rev 1181) @@ -73,7 +73,7 @@ <li>Support for Unlimited Undo (version 0.5 beta)</li> <li>Tag completion using DTD/Schema introspection (version 0.5 beta)</li> <li>Automatic insertion of closing tags (version 0.5 beta)</li> - <li>A help system using <a href="http://aurigadoc.sourceforge.net/">AurigaDoc</a> or <a href="http://docbook.sourceforge.net/">Docbook</a></li> + <li>A help system using <a href="http://aurigadoc.sourceforge.net/">AurigaDoc</a> or <a href="http://docbook.sourceforge.net/">Docbook</a> (version 0.6 beta)</li> </ul> <?php include("footer.php") ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 03:55:56
|
Revision: 1180 Author: ian_lewis Date: 2006-08-27 20:55:50 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1180&view=rev Log Message: ----------- Added index.html with redirect to preserve old urls Modified Paths: -------------- trunk/web/htdocs/.htaccess Added Paths: ----------- trunk/web/htdocs/index.html Modified: trunk/web/htdocs/.htaccess =================================================================== --- trunk/web/htdocs/.htaccess 2006-08-28 02:40:08 UTC (rev 1179) +++ trunk/web/htdocs/.htaccess 2006-08-28 03:55:50 UTC (rev 1180) @@ -1,8 +1 @@ -#DirectoryIndex index.xhtml -#RewriteEngine on -#RewriteBase / -#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml -#RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml\s*;\s*q=0 -#RewriteCond %{REQUEST_URI} \.html$ -#RewriteCond %{THE_REQUEST} HTTP/1\.1 -#RewriteRule .* - [T=application/xhtml+xml] \ No newline at end of file +DirectoryIndex index.php \ No newline at end of file Added: trunk/web/htdocs/index.html =================================================================== --- trunk/web/htdocs/index.html (rev 0) +++ trunk/web/htdocs/index.html 2006-08-28 03:55:50 UTC (rev 1180) @@ -0,0 +1,9 @@ +<html> +<head> +<SCRIPT LANGUAGE="JavaScript"> +window.location="http://jsxe.sourceforge.net/"; +</script> +</head> +<body> +If you were not redirected please click <a href="http://jsxe.sourceforge.net/">here</a> +</body> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 02:40:22
|
Revision: 1179 Author: ian_lewis Date: 2006-08-27 19:40:08 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1179&view=rev Log Message: ----------- Added option to show the full path to a file in the recent files menu Modified Paths: -------------- trunk/jsxe/Changelog trunk/jsxe/messages/messages trunk/jsxe/src/net/sourceforge/jsxe/action/OpenRecentFileAction.java trunk/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java trunk/jsxe/src/net/sourceforge/jsxe/options/GeneralOptionPane.java trunk/jsxe/src/net/sourceforge/jsxe/properties Modified: trunk/jsxe/Changelog =================================================================== --- trunk/jsxe/Changelog 2006-08-28 02:08:14 UTC (rev 1178) +++ trunk/jsxe/Changelog 2006-08-28 02:40:08 UTC (rev 1179) @@ -7,6 +7,8 @@ * Updated the installer to create a script file in unix that uses the java in the environment path and use the HotSpot server so that jsXe runs faster at the cost of startup time and memory footprint. + * Added an option to display the full path to a file in the recent files + menu. Feature Request #1546371 08/21/2006 Ian Lewis <Ian...@me...> Modified: trunk/jsxe/messages/messages =================================================================== --- trunk/jsxe/messages/messages 2006-08-28 02:08:14 UTC (rev 1178) +++ trunk/jsxe/messages/messages 2006-08-28 02:40:08 UTC (rev 1179) @@ -64,6 +64,8 @@ Global.Options.Title=General Global.Options.Max.Recent.Files=Recent files to remember: Global.Options.Max.Recent.Files.ToolTip=The maximum number of files that jsXe remembers in the recent files menu. +Global.Options.Recent.Files.Show.Full.Path=Show full path in Recent Files menu +Global.Options.Recent.Files.Show.Full.Path.ToolTip=If this checkbox is checked then the full path will be shown for files in the recent files menu. Global.Options.network-off=Always cache without asking Global.Options.network-cache=Ask first, then cache remote files Global.Options.network-always=Always download without asking Modified: trunk/jsxe/src/net/sourceforge/jsxe/action/OpenRecentFileAction.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/action/OpenRecentFileAction.java 2006-08-28 02:08:14 UTC (rev 1178) +++ trunk/jsxe/src/net/sourceforge/jsxe/action/OpenRecentFileAction.java 2006-08-28 02:40:08 UTC (rev 1179) @@ -68,11 +68,13 @@ //{{{ OpenRecentFileAction constructor public OpenRecentFileAction(TabbedView parent, BufferHistory.BufferHistoryEntry entry) { String path = entry.getPath(); - String fileName = path.substring(path.lastIndexOf(System.getProperty("file.separator"))+1); + String fileName = path; + if (!jsXe.getBooleanProperty("recent.files.show.full.path", false)) { + fileName = path.substring(path.lastIndexOf(System.getProperty("file.separator"))+1); + } if (fileName.equals("")) { fileName = path; - } - putValue(Action.NAME, fileName); + }putValue(Action.NAME, fileName); m_view = parent; m_entry = entry; }//}}} Modified: trunk/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java 2006-08-28 02:08:14 UTC (rev 1178) +++ trunk/jsxe/src/net/sourceforge/jsxe/gui/TabbedView.java 2006-08-28 02:40:08 UTC (rev 1179) @@ -556,6 +556,10 @@ createDefaultMenuItems(); updateMenuBar(); } + + if (msg.getKey().equals("recent.files.show.full.path")) { + updateRecentFilesMenu(); + } } /* Modified: trunk/jsxe/src/net/sourceforge/jsxe/options/GeneralOptionPane.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/options/GeneralOptionPane.java 2006-08-28 02:08:14 UTC (rev 1178) +++ trunk/jsxe/src/net/sourceforge/jsxe/options/GeneralOptionPane.java 2006-08-28 02:40:08 UTC (rev 1179) @@ -29,6 +29,7 @@ import net.sourceforge.jsxe.CatalogManager; import net.sourceforge.jsxe.gui.Messages; import javax.swing.JComboBox; +import javax.swing.JCheckBox; import javax.swing.JTextField; import java.util.Vector; //}}} @@ -123,6 +124,15 @@ //}}} + //{{{ Recent files full path + + boolean showFullPath = jsXe.getBooleanProperty("recent.files.show.full.path", false); + m_showFullPathCheckBox = new JCheckBox(Messages.getMessage("Global.Options.Recent.Files.Show.Full.Path"),showFullPath); + + addComponent(m_showFullPathCheckBox, Messages.getMessage("Global.Options.Recent.Files.Show.Full.Path")); + + //}}} + }//}}} //{{{ _save() @@ -143,6 +153,7 @@ //Bad input, don't save. } jsXe.setIntegerProperty("xml.cache",network.getSelectedIndex()); + jsXe.setBooleanProperty("recent.files.show.full.path", m_showFullPathCheckBox.isSelected()); CatalogManager.propertiesChanged(); }//}}} @@ -155,6 +166,7 @@ private JComboBox menuSpillOverComboBox; private JComboBox maxRecentFilesComboBox; private JTextField m_undosToRemember; + private JCheckBox m_showFullPathCheckBox; private JComboBox network; //}}} Modified: trunk/jsxe/src/net/sourceforge/jsxe/properties =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/properties 2006-08-28 02:08:14 UTC (rev 1178) +++ trunk/jsxe/src/net/sourceforge/jsxe/properties 2006-08-28 02:40:08 UTC (rev 1179) @@ -15,6 +15,8 @@ undo.limit=100 +recent.files.show.full.path=false + #{{{ Plugin Manager Default Dimensions #pluginmgr.x=100 #pluginmgr.y=100 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 02:08:19
|
Revision: 1178 Author: ian_lewis Date: 2006-08-27 19:08:14 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1178&view=rev Log Message: ----------- correct path to DTD Modified Paths: -------------- trunk/test/xml.xml Modified: trunk/test/xml.xml =================================================================== --- trunk/test/xml.xml 2006-08-27 23:19:52 UTC (rev 1177) +++ trunk/test/xml.xml 2006-08-28 02:08:14 UTC (rev 1178) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE MODE SYSTEM "file:/home/okaasan/src/jsxe/test/xmode.dtd"> +<!DOCTYPE MODE SYSTEM "xmode.dtd"> <MODE> <PROPS> <PROPERTY NAME="commentStart" VALUE="<!--"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-27 23:20:02
|
Revision: 1177 Author: ian_lewis Date: 2006-08-27 16:19:52 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1177&view=rev Log Message: ----------- Merge from 05pre3 branch Modified Paths: -------------- trunk/jsxe/Changelog trunk/jsxe/installer/src/installer/OperatingSystem.java Modified: trunk/jsxe/Changelog =================================================================== --- trunk/jsxe/Changelog 2006-08-27 23:16:56 UTC (rev 1176) +++ trunk/jsxe/Changelog 2006-08-27 23:19:52 UTC (rev 1177) @@ -4,6 +4,9 @@ in the jre option to set the endorsed dirs. This will allow jsXe to be launched from anywhere and still be able to find the right version of Xerces. + * Updated the installer to create a script file in unix that uses the java + in the environment path and use the HotSpot server so that jsXe runs + faster at the cost of startup time and memory footprint. 08/21/2006 Ian Lewis <Ian...@me...> Modified: trunk/jsxe/installer/src/installer/OperatingSystem.java =================================================================== --- trunk/jsxe/installer/src/installer/OperatingSystem.java 2006-08-27 23:16:56 UTC (rev 1176) +++ trunk/jsxe/installer/src/installer/OperatingSystem.java 2006-08-27 23:19:52 UTC (rev 1177) @@ -170,15 +170,18 @@ out.write("#!/bin/sh\n"); out.write("# Java heap size, in megabytes\n"); out.write("JAVA_HEAP_SIZE=32\n"); - out.write("DEFAULT_JAVA_HOME=\"" + out.write("#DEFAULT_JAVA_HOME=\"" + System.getProperty("java.home") + "\"\n"); - out.write("if [ \"$JAVA_HOME\" = \"\" ]; then\n"); - out.write("JAVA_HOME=\"$DEFAULT_JAVA_HOME\"\n"); - out.write("fi\n"); + out.write("#if [ \"$JAVA_HOME\" = \"\" ]; then\n"); + out.write("#JAVA_HOME=\"$DEFAULT_JAVA_HOME\"\n"); + out.write("#fi\n"); - out.write("exec \"$JAVA_HOME" - + "/bin/java\" -mx${JAVA_HEAP_SIZE}m "+vmArgs+" ${" + // out.write("exec \"$JAVA_HOME" + // + "/bin/java\" -mx${JAVA_HEAP_SIZE}m "+vmArgs+" ${" + // + name.toUpperCase() + "} "); + // use java in the path and run using the HotSpot server + out.write("exec java -server -mx${JAVA_HEAP_SIZE}m "+vmArgs+" ${" + name.toUpperCase() + "} "); // String jar = installDir + File.separator This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-27 23:17:07
|
Revision: 1176 Author: ian_lewis Date: 2006-08-27 16:16:56 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1176&view=rev Log Message: ----------- Updated unix installer script to use java that is in the environment path Modified Paths: -------------- tags/05pre3/jsxe/Changelog tags/05pre3/jsxe/installer/src/installer/OperatingSystem.java Modified: tags/05pre3/jsxe/Changelog =================================================================== --- tags/05pre3/jsxe/Changelog 2006-08-27 20:20:25 UTC (rev 1175) +++ tags/05pre3/jsxe/Changelog 2006-08-27 23:16:56 UTC (rev 1176) @@ -4,6 +4,9 @@ in the jre option to set the endorsed dirs. This will allow jsXe to be launched from anywhere and still be able to find the right version of Xerces. + * Updated the installer to create a script file in unix that uses the java + in the environment path and use the HotSpot server so that jsXe runs + faster at the cost of startup time and memory footprint. 08/21/2006 Ian Lewis <Ian...@me...> Modified: tags/05pre3/jsxe/installer/src/installer/OperatingSystem.java =================================================================== --- tags/05pre3/jsxe/installer/src/installer/OperatingSystem.java 2006-08-27 20:20:25 UTC (rev 1175) +++ tags/05pre3/jsxe/installer/src/installer/OperatingSystem.java 2006-08-27 23:16:56 UTC (rev 1176) @@ -170,15 +170,18 @@ out.write("#!/bin/sh\n"); out.write("# Java heap size, in megabytes\n"); out.write("JAVA_HEAP_SIZE=32\n"); - out.write("DEFAULT_JAVA_HOME=\"" + out.write("#DEFAULT_JAVA_HOME=\"" + System.getProperty("java.home") + "\"\n"); - out.write("if [ \"$JAVA_HOME\" = \"\" ]; then\n"); - out.write("JAVA_HOME=\"$DEFAULT_JAVA_HOME\"\n"); - out.write("fi\n"); + out.write("#if [ \"$JAVA_HOME\" = \"\" ]; then\n"); + out.write("#JAVA_HOME=\"$DEFAULT_JAVA_HOME\"\n"); + out.write("#fi\n"); - out.write("exec \"$JAVA_HOME" - + "/bin/java\" -mx${JAVA_HEAP_SIZE}m "+vmArgs+" ${" + // out.write("exec \"$JAVA_HOME" + // + "/bin/java\" -mx${JAVA_HEAP_SIZE}m "+vmArgs+" ${" + // + name.toUpperCase() + "} "); + // use java in the path and run using the HotSpot server + out.write("exec java -server -mx${JAVA_HEAP_SIZE}m "+vmArgs+" ${" + name.toUpperCase() + "} "); // String jar = installDir + File.separator This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-27 20:20:38
|
Revision: 1175 Author: ian_lewis Date: 2006-08-27 13:20:25 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1175&view=rev Log Message: ----------- Fixed a few more errors Modified Paths: -------------- branches/jsxe2/src/net/sourceforge/jsxe/dom2/ls/XMLDocumentIORequest.java branches/jsxe2/src/net/sourceforge/jsxe/io/VFS.java Modified: branches/jsxe2/src/net/sourceforge/jsxe/dom2/ls/XMLDocumentIORequest.java =================================================================== --- branches/jsxe2/src/net/sourceforge/jsxe/dom2/ls/XMLDocumentIORequest.java 2006-08-27 20:09:13 UTC (rev 1174) +++ branches/jsxe2/src/net/sourceforge/jsxe/dom2/ls/XMLDocumentIORequest.java 2006-08-27 20:20:25 UTC (rev 1175) @@ -180,7 +180,7 @@ //{{{ Instance variables private int type; - private View view; + private TabbedView view; private XMLDocument buffer; private Object session; private VFS vfs; Modified: branches/jsxe2/src/net/sourceforge/jsxe/io/VFS.java =================================================================== --- branches/jsxe2/src/net/sourceforge/jsxe/io/VFS.java 2006-08-27 20:09:13 UTC (rev 1174) +++ branches/jsxe2/src/net/sourceforge/jsxe/io/VFS.java 2006-08-27 20:20:25 UTC (rev 1175) @@ -31,11 +31,14 @@ import java.awt.Component; import java.io.*; import java.util.*; -import net.sourceforge.jsxe.msg.PropertiesChanged; + +import net.sourceforge.jsxe.msg.PropertyChanged; import net.sourceforge.jsxe.util.Log; import net.sourceforge.jsxe.util.MiscUtilities; +import net.sourceforge.jsxe.dom2.XMLDocument; import net.sourceforge.jsxe.dom2.ls.XMLDocumentIORequest; import net.sourceforge.jsxe.gui.Messages; +import net.sourceforge.jsxe.gui.TabbedView; //}}} /** @@ -827,7 +830,7 @@ // static { // EditBus.addToBus(new EBListener() { // public void handleMessage(EBMessage msg) { - // if (msg instanceof PropertiesChanged) { + // if (msg instanceof PropertyChanged) { // synchronized(lock) { // colors = null; // } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-27 20:09:22
|
Revision: 1174 Author: ian_lewis Date: 2006-08-27 13:09:13 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1174&view=rev Log Message: ----------- Added a PropertyChangeEvent class for when properties change in the XMLDocument Modified Paths: -------------- branches/jsxe2/build.xml branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/XMLDocumentEvent.java branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/XMLDocumentListener.java Added Paths: ----------- branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/PropertyChangeEvent.java Modified: branches/jsxe2/build.xml =================================================================== --- branches/jsxe2/build.xml 2006-08-27 18:55:21 UTC (rev 1173) +++ branches/jsxe2/build.xml 2006-08-27 20:09:13 UTC (rev 1174) @@ -141,8 +141,8 @@ <include name="**/*.png"/> <!-- files in the source directory to ignore --> - <exclude name="net/sourceforge/jsxe/dom2/**/*"/> - <exclude name="net/sourceforge/jsxe/io/**/*"/> + <!--<exclude name="net/sourceforge/jsxe/dom2/**/*"/> + <exclude name="net/sourceforge/jsxe/io/**/*"/>--> </fileset> </copy> <mkdir dir="${build.plugin}"/> Added: branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/PropertyChangeEvent.java =================================================================== --- branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/PropertyChangeEvent.java (rev 0) +++ branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/PropertyChangeEvent.java 2006-08-27 20:09:13 UTC (rev 1174) @@ -0,0 +1,88 @@ +/* +PropertyChangedEvent.java +:tabSize=4:indentSize=4:noTabs=true: +:folding=explicit:collapseFolds=1: + +Copyright (C) 2006 Ian Lewis (Ian...@me...) + +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 the Free Software Foundation; either version 2 +of the License, or (at your option) any later version.e + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +Optionally, you may find a copy of the GNU General Public License +from http://www.fsf.org/copyleft/gpl.txt +*/ + +package net.sourceforge.jsxe.dom2.event; + +import net.sourceforge.jsxe.dom2.*; +import java.util.EventObject; + +/** + * PropertyChangedEvents occur when a property in the XMLDocument is changed. + * + * @author Ian Lewis (<a href="mailto:Ian...@me...">Ian...@me...</a>) + * @version $Id$ + * @see XMLDocument + * @since jsXe XX.XX + */ +public class PropertyChangeEvent extends EventObject { + + private XMLDocument m_document; + private String m_oldValue; + private String m_newValue; + private String m_key; + + //{{{ PropertyChangeEvent constructor + /** + * Creates a new PropertyChangeEvent. + */ + public PropertyChangeEvent(XMLDocument doc, String name, String oldValue, String newValue) { + super(doc); + m_key = name; + m_oldValue = oldValue; + m_newValue = newValue; + }//}}} + + //{{{ getDocument() + /** + * Gets the document that was updated. + */ + public XMLDocument getDocument() { + return (XMLDocument)getSource(); + }//}}} + + //{{{ getOldValue() + /** + * Gets the old value of the property. + */ + public String getOldValue() { + return m_oldValue; + }//}}} + + //{{{ getNewValue() + /** + * Gets the new value of the property. + */ + public String getNewValue() { + return m_newValue; + }//}}} + + //{{{ getName() + /** + * Gets the name of the property that was changed. + */ + public String getName() { + return m_key; + }//}}} + +} \ No newline at end of file Modified: branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/XMLDocumentEvent.java =================================================================== --- branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/XMLDocumentEvent.java 2006-08-27 18:55:21 UTC (rev 1173) +++ branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/XMLDocumentEvent.java 2006-08-27 20:09:13 UTC (rev 1174) @@ -34,7 +34,7 @@ * @author Ian Lewis (<a href="mailto:Ian...@me...">Ian...@me...</a>) * @version $Id$ * @see XMLDocument - * @since jsXe 0.5 pre3 + * @since jsXe XX.XX */ public class XMLDocumentEvent extends EventObject { Modified: branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/XMLDocumentListener.java =================================================================== --- branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/XMLDocumentListener.java 2006-08-27 18:55:21 UTC (rev 1173) +++ branches/jsxe2/src/net/sourceforge/jsxe/dom2/event/XMLDocumentListener.java 2006-08-27 20:09:13 UTC (rev 1174) @@ -27,9 +27,19 @@ import net.sourceforge.jsxe.dom2.*; import java.util.EventListener; +/** + * An XMLDocumentListener listens for changes to an XMLDocument. Components + * that need to recieve notification when the document changes should implement + * this interface. + * + * @author Ian Lewis (<a href="mailto:Ian...@me...">Ian...@me...</a>) + * @version $Id$ + * @see XMLDocument + * @since jsXe XX.XX + */ public interface XMLDocumentListener extends EventListener { - public void propertyChanged(PropertyChangedEvent event); + public void propertyChanged(PropertyChangeEvent event); public void insertUpdate(XMLDocumentEvent event); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-27 18:55:55
|
Revision: 1173 Author: ian_lewis Date: 2006-08-27 11:55:21 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1173&view=rev Log Message: ----------- Merge from 05pre3 branch rev. 1172 Modified Paths: -------------- trunk/jsxe/launch4j.xml Modified: trunk/jsxe/launch4j.xml =================================================================== --- trunk/jsxe/launch4j.xml 2006-08-27 18:53:17 UTC (rev 1172) +++ trunk/jsxe/launch4j.xml 2006-08-27 18:55:21 UTC (rev 1173) @@ -14,6 +14,6 @@ <dontUsePrivateJres>false</dontUsePrivateJres> <initialHeapSize>16</initialHeapSize> <maxHeapSize>64</maxHeapSize> - <opt>-Dlaunch4j.exedir="%EXEDIR%"</opt> + <opt>-Djava.endorsed.dirs="%EXEDIR%\\lib"</opt> </jre> </launch4jConfig> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |