You can subscribe to this list here.
| 2002 |
Jan
(45) |
Feb
(22) |
Mar
|
Apr
(1) |
May
|
Jun
(8) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(35) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-20 13:09:37
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer
In directory usw-pr-cvs1:/tmp/cvs-serv9463/apps/jprojecttimer
Modified Files:
GanttDiagram.java JProjectTimer.java MainWindow.java Makefile
Task.java TaskEditDialog.java TaskListPane.java
TaskListTableModel.java
Removed Files:
Resource.java
Log Message:
Moved de.cgarbs.apps.jprojecttimer.Resource to de.cgarbs.util.Resource
Index: GanttDiagram.java
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/GanttDiagram.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** GanttDiagram.java 2002/01/19 10:56:05 1.4
--- GanttDiagram.java 2002/01/20 13:09:33 1.5
***************
*** 11,14 ****
--- 11,15 ----
package de.cgarbs.apps.jprojecttimer;
+ import de.cgarbs.util.Resource;
import java.awt.Color;
import java.awt.Component;
Index: JProjectTimer.java
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/JProjectTimer.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** JProjectTimer.java 2001/03/20 22:17:38 1.1.1.1
--- JProjectTimer.java 2002/01/20 13:09:34 1.2
***************
*** 2,6 ****
* $Id$
*
! * 2001 (C) by Christian Garbs <mi...@un...>
*
* Licensed under GNU GPL (see COPYING for details)
--- 2,6 ----
* $Id$
*
! * 2001,2002 (C) by Christian Garbs <mi...@cg...>
*
* Licensed under GNU GPL (see COPYING for details)
***************
*** 10,13 ****
--- 10,14 ----
package de.cgarbs.apps.jprojecttimer;
+ import de.cgarbs.util.Resource;
import java.applet.Applet;
***************
*** 21,24 ****
--- 22,26 ----
public static void main(String argv[])
{
+ Resource.setResourceFile("JProjectTimerResource");
Project p = new Project();
p.readFromStream(new java.io.File("/home/mitch/DEMO1"));
Index: MainWindow.java
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/MainWindow.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MainWindow.java 2002/01/11 20:31:16 1.3
--- MainWindow.java 2002/01/20 13:09:34 1.4
***************
*** 10,13 ****
--- 10,14 ----
package de.cgarbs.apps.jprojecttimer;
+ import de.cgarbs.util.Resource;
import java.awt.BorderLayout;
import java.awt.Component;
Index: Makefile
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile 2002/01/20 12:01:29 1.2
--- Makefile 2002/01/20 13:09:34 1.3
***************
*** 9,13 ****
Project.class \
ProjectPane.class \
- Resource.class \
TaskEditDialog.class \
TaskList.class \
--- 9,12 ----
Index: Task.java
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/Task.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Task.java 2001/03/20 22:17:40 1.1.1.1
--- Task.java 2002/01/20 13:09:34 1.2
***************
*** 10,13 ****
--- 10,14 ----
package de.cgarbs.apps.jprojecttimer;
+ import de.cgarbs.util.Resource;
import java.awt.Color;
import java.awt.Graphics;
Index: TaskEditDialog.java
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/TaskEditDialog.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** TaskEditDialog.java 2001/03/20 22:17:41 1.1.1.1
--- TaskEditDialog.java 2002/01/20 13:09:34 1.2
***************
*** 10,13 ****
--- 10,14 ----
package de.cgarbs.apps.jprojecttimer;
+ import de.cgarbs.util.Resource;
import java.awt.BorderLayout;
import java.awt.Component;
Index: TaskListPane.java
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/TaskListPane.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TaskListPane.java 2002/01/15 22:18:10 1.3
--- TaskListPane.java 2002/01/20 13:09:34 1.4
***************
*** 11,14 ****
--- 11,15 ----
package de.cgarbs.apps.jprojecttimer;
+ import de.cgarbs.util.Resource;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
Index: TaskListTableModel.java
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/TaskListTableModel.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** TaskListTableModel.java 2001/03/20 22:17:42 1.1.1.1
--- TaskListTableModel.java 2002/01/20 13:09:34 1.2
***************
*** 10,13 ****
--- 10,14 ----
package de.cgarbs.apps.jprojecttimer;
+ import de.cgarbs.util.Resource;
import java.util.Enumeration;
import javax.swing.table.AbstractTableModel;
--- Resource.java DELETED ---
|
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-20 13:09:37
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/util
In directory usw-pr-cvs1:/tmp/cvs-serv9463/util
Added Files:
Makefile Resource.java
Log Message:
Moved de.cgarbs.apps.jprojecttimer.Resource to de.cgarbs.util.Resource
--- NEW FILE: Makefile ---
# $Id: Makefile,v 1.1 2002/01/20 13:09:34 mastermitch Exp $
# these classes are built in this directory
CLASSES=Resource.class
# # # # # # # # # # # # # # # # # # # # # #
ifeq (0, ${MAKELEVEL})
MAKECLASSPATH=./:${CLASSPATH}
else
MAKECLASSPATH:=../${MAKECLASSPATH}
endif
export MAKECLASSPATH
JFLAGS=-classpath $(MAKECLASSPATH)
.SUFFIXES: .java .class
.java.class:
javac $(JFLAGS) $*.java
all: $(CLASSES)
for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \
test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all; \
done;true
clean:
for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \
test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean; \
done;true
rm -f *~
rm -f *.class
rm -f *.BAK
rm -f *.jar
atonce:
for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \
test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce; \
done;true
-javac $(JFLAGS) *.java
--- NEW FILE: Resource.java ---
/*
* $Id: Resource.java,v 1.1 2002/01/20 13:09:34 mastermitch Exp $
*
* 2001,2002 (C) by Christian Garbs <mi...@cg...>
*
* Licensed under GNU GPL (see COPYING for details)
*
*/
package de.cgarbs.util;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class Resource
{
static String resourceFile = "NO RESOURCE FILE GIVEN!";
static Locale currentLocale;
static ResourceBundle messages;
public static void setResourceFile(String resourceFile)
{
Resource.resourceFile = resourceFile;
}
public static void setLocale(Locale newLocale)
{
currentLocale = newLocale;
System.err.println("Current locale is: " + currentLocale);
}
public static String get(String key)
{
if (messages == null) {
if (currentLocale == null) {
setLocale(Locale.getDefault());
}
try {
messages = ResourceBundle.getBundle(resourceFile, currentLocale);
System.err.println("Resource file maintained by: " + Resource.get("MAINTAINER"));
} catch ( MissingResourceException e ) {
System.err.println(e);
System.err.println("No resource file found. This is bad!");
System.exit(1);
}
}
try {
return messages.getString(key);
} catch (MissingResourceException e) {
System.err.println(e);
return "???";
}
}
}
|
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-20 12:59:36
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/util In directory usw-pr-cvs1:/tmp/cvs-serv6617/util Log Message: Directory /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/util added to the repository |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-20 12:01:33
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps In directory usw-pr-cvs1:/tmp/cvs-serv17443/de/cgarbs/apps Modified Files: Makefile Log Message: Multiple subdirectories are traversed correctly. Index: Makefile =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Makefile 2001/03/20 22:17:38 1.1.1.1 --- Makefile 2002/01/20 12:01:29 1.2 *************** *** 23,32 **** all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all; \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean; \ done;true rm -f *~ --- 23,32 ---- all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all) \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean) \ done;true rm -f *~ *************** *** 37,41 **** atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce; \ done;true -javac $(JFLAGS) *.java --- 37,41 ---- atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce) \ done;true -javac $(JFLAGS) *.java |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-20 12:01:33
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv17443/de/cgarbs/apps/jprojecttimer Modified Files: Makefile Log Message: Multiple subdirectories are traversed correctly. Index: Makefile =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Makefile 2001/03/20 22:17:42 1.1.1.1 --- Makefile 2002/01/20 12:01:29 1.2 *************** *** 35,44 **** all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all; \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean; \ done;true rm -f *~ --- 35,44 ---- all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all) \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean) \ done;true rm -f *~ *************** *** 49,53 **** atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce; \ done;true -javac $(JFLAGS) *.java --- 49,53 ---- atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce) \ done;true -javac $(JFLAGS) *.java |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-20 12:01:33
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de In directory usw-pr-cvs1:/tmp/cvs-serv17443/de Modified Files: Makefile Log Message: Multiple subdirectories are traversed correctly. Index: Makefile =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Makefile 2001/03/20 22:17:37 1.1.1.1 --- Makefile 2002/01/20 12:01:29 1.2 *************** *** 23,32 **** all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all; \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean; \ done;true rm -f *~ --- 23,32 ---- all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all) \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean) \ done;true rm -f *~ *************** *** 37,41 **** atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce; \ done;true -javac $(JFLAGS) *.java --- 37,41 ---- atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce) \ done;true -javac $(JFLAGS) *.java |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-20 12:01:33
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs In directory usw-pr-cvs1:/tmp/cvs-serv17443/de/cgarbs Modified Files: Makefile Log Message: Multiple subdirectories are traversed correctly. Index: Makefile =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Makefile 2001/03/20 22:17:37 1.1.1.1 --- Makefile 2002/01/20 12:01:29 1.2 *************** *** 23,32 **** all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all; \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean; \ done;true rm -f *~ --- 23,32 ---- all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all) \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean) \ done;true rm -f *~ *************** *** 37,41 **** atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce; \ done;true -javac $(JFLAGS) *.java --- 37,41 ---- atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce) \ done;true -javac $(JFLAGS) *.java |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-20 12:01:33
|
Update of /cvsroot/jprojecttimer/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv17443 Modified Files: Makefile Log Message: Multiple subdirectories are traversed correctly. Index: Makefile =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Makefile 2002/01/19 10:38:22 1.7 --- Makefile 2002/01/20 12:01:29 1.8 *************** *** 55,64 **** all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all; \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean; \ done;true rm -f *~ --- 55,64 ---- all: $(CLASSES) for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) all) \ done;true clean: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) clean) \ done;true rm -f *~ *************** *** 70,74 **** atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce; \ done;true -javac $(JFLAGS) *.java --- 70,74 ---- atonce: for DIR in `find . -maxdepth 1 -mindepth 1 -type d`; do \ ! (test $$DIR != ./CVS && test -d $$DIR && cd $$DIR && $(MAKE) atonce) \ done;true -javac $(JFLAGS) *.java |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-19 10:56:08
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer
In directory usw-pr-cvs1:/tmp/cvs-serv20682/de/cgarbs/apps/jprojecttimer
Modified Files:
GanttDiagram.java
Log Message:
Fixed the div by zero bug again (bug was revived by the printing patch)
Index: GanttDiagram.java
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/GanttDiagram.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** GanttDiagram.java 2002/01/18 21:22:10 1.3
--- GanttDiagram.java 2002/01/19 10:56:05 1.4
***************
*** 52,55 ****
--- 52,59 ----
tasks.recalculate();
int cols = tasks.projectEnd();
+ if (cols == 0) {
+ // avoid div by zero
+ cols = 1;
+ }
// Header
***************
*** 63,66 ****
--- 67,75 ----
}
// Tasks
+ int size = tasks.size();
+ if (size == 0) {
+ // avoid div by zero
+ size = 1;
+ }
for (int row = 0; row < tasks.size(); row++) {
((Task) tasks.elementAt(row)).paint(g,
|
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-19 10:38:26
|
Update of /cvsroot/jprojecttimer/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv17513 Modified Files: Makefile Log Message: Task 46107: dist target creates a .zip, too Index: Makefile =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/Makefile,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Makefile 2002/01/18 21:41:12 1.6 --- Makefile 2002/01/19 10:38:22 1.7 *************** *** 31,34 **** --- 31,37 ---- # this is the name of the .tar.gz + ZIP=$(PREFIX).zip + + # this is the name of the source .tar.gz SRC=$(PREFIX)-src.tar.gz *************** *** 92,95 **** --- 95,99 ---- cp $(JAR) $(PREFIX) tar -c $(PREFIX) -zvf $(TGZ) + zip -r9 $(ZIP) $(PREFIX) rm -rf $(PREFIX) |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-18 21:42:20
|
Update of /cvsroot/jprojecttimer/jprojecttimer
In directory usw-pr-cvs1:/tmp/cvs-serv13911
Modified Files:
README
Log Message:
added Jochen Luell
Index: README
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/README,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** README 2002/01/15 22:36:17 1.3
--- README 2002/01/18 21:42:16 1.4
***************
*** 21,26 ****
French translation
Oliver Kalkofen <OKa...@we...>
! code submissions
Edward Haase <eh...@ga...>
--- 21,29 ----
French translation
+ Jochen Luell <jo...@lu...>
+ code submission
+
Oliver Kalkofen <OKa...@we...>
! code submission
Edward Haase <eh...@ga...>
|
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-18 21:41:18
|
Update of /cvsroot/jprojecttimer/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv13657 Modified Files: Makefile Log Message: =>v0.0.5 Index: Makefile =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile 2002/01/13 17:14:43 1.5 --- Makefile 2002/01/18 21:41:12 1.6 *************** *** 7,11 **** # this is the current version ! VERSION=0.0.5pre-2 # this is the main project class --- 7,11 ---- # this is the current version ! VERSION=0.0.5 # this is the main project class |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-18 21:39:48
|
Update of /cvsroot/jprojecttimer/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv13267 Added Files: Changelog Log Message: Initial source import. --- NEW FILE: Changelog --- v0.0.5: - Printing works - Projects with total duration of 0 don't cause "div by zero" exceptions any more - Deleting a task keeps dependencies between predecessing and following tasks - Creation of a new project works - Tasks can be edited by double-clicking on them |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-18 21:31:35
|
Update of /cvsroot/jprojecttimer/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv11122 Modified Files: checkTranslation.pl Log Message: Code cleanups, see patch #505289 Index: checkTranslation.pl =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/checkTranslation.pl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** checkTranslation.pl 2002/01/17 22:43:30 1.3 --- checkTranslation.pl 2002/01/18 21:31:30 1.4 *************** *** 4,8 **** # checks the translated properties for missing or double tags etc. # ! # 2001,2002 (c) by Christian Garbs <mi...@cg...> # # part of JProjectTimer - http://jprojecttimer.cgarbs.de --- 4,8 ---- # checks the translated properties for missing or double tags etc. # ! # 2001 (c) by Christian Garbs <mi...@un...> # # part of JProjectTimer - http://jprojecttimer.cgarbs.de *************** *** 14,45 **** use File::Find; ! sub wanted; # Default values that must be present even if not used in source code ! my %keywords = map { $_, 1 } ( ! 'CVS_TAG' ! ); print "reading all source files...\n"; - my @filelist; - find( sub { push @filelist, "$File::Find::dir/$_" if substr($_, -5) eq ".java" } , '.'); - - foreach my $source (@filelist) { - open IN, "<$source" or die "can't open $source: $!"; - my @lines = grep /Resource.get/, <IN>; - foreach my $line (@lines) { - while ($line =~ /Resource.get\(\"([^\"]*)\"\)/) { - $line =~ s/Resource.get\(\"([^\"]*)\"\)//; - $keywords{$1}++; - } - } - close IN or die "can't close $source: $!"; - } - - my $err = 0; print "reading all resources...\n"; ! foreach my $source (glob "JProjectTimerResource*.properties") { print "checking $source...\n"; --- 14,28 ---- use File::Find; ! sub scanfile; # Default values that must be present even if not used in source code ! my %keywords = ( 'CVS_TAG' => 1 ); print "reading all source files...\n"; + find( \&scanfile, '.'); print "reading all resources...\n"; ! my $err = 0; foreach my $source (glob "JProjectTimerResource*.properties") { print "checking $source...\n"; *************** *** 52,56 **** } close IN or die "can't close $source: $!"; ! print " multiple keys:\n"; foreach my $key (grep $file{$_} > 1, keys %file) { --- 35,39 ---- } close IN or die "can't close $source: $!"; ! print " multiple keys:\n"; foreach my $key (grep $file{$_} > 1, keys %file) { *************** *** 78,80 **** --- 61,79 ---- } else { print "everthing's ok\n\n"; + } + + exit $err; + + sub scanfile { + return unless substr($_, -5) eq ".java"; + my $source = "$File::Find::dir/$_"; + open IN, "<$_" or die "can't open $source: $!"; + my @lines = grep /Resource.get/, <IN>; + foreach my $line (@lines) { + while ($line =~ /Resource.get\(\"([^\"]*)\"\)/) { + $line =~ s/Resource.get\(\"([^\"]*)\"\)//; + $keywords{$1}++; + } + } + close IN or die "can't close $source: $!"; } |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-17 22:43:34
|
Update of /cvsroot/jprojecttimer/jprojecttimer
In directory usw-pr-cvs1:/tmp/cvs-serv18755
Modified Files:
checkTranslation.pl
Log Message:
Using File::Find instead of open("find |") -- now works under Windows, too
Index: checkTranslation.pl
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/checkTranslation.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** checkTranslation.pl 2001/08/10 23:06:48 1.2
--- checkTranslation.pl 2002/01/17 22:43:30 1.3
***************
*** 4,8 ****
# checks the translated properties for missing or double tags etc.
#
! # 2001 (c) by Christian Garbs <mi...@un...>
#
# part of JProjectTimer - http://jprojecttimer.cgarbs.de
--- 4,8 ----
# checks the translated properties for missing or double tags etc.
#
! # 2001,2002 (c) by Christian Garbs <mi...@cg...>
#
# part of JProjectTimer - http://jprojecttimer.cgarbs.de
***************
*** 12,23 ****
use strict;
! my %keywords;
! print "reading all resources...\n";
! open FILELIST, "find . -name *.java|" or die "can't read filelist: $!";
! my @filelist = <FILELIST>;
! close FILELIST or die "can't close filelist: $!";
foreach my $source (@filelist) {
--- 12,28 ----
use strict;
+ use File::Find;
! sub wanted;
! # Default values that must be present even if not used in source code
! my %keywords = map { $_, 1 } (
! 'CVS_TAG'
! );
! print "reading all source files...\n";
!
! my @filelist;
! find( sub { push @filelist, "$File::Find::dir/$_" if substr($_, -5) eq ".java" } , '.');
foreach my $source (@filelist) {
***************
*** 33,43 ****
}
- # CVS_TAG is not used in JProjectTimer, but it must be there, too:
- $keywords{CVS_TAG}++;
-
- print "\n";
-
my $err = 0;
foreach my $source (glob "JProjectTimerResource*.properties") {
print "checking $source...\n";
--- 38,45 ----
}
my $err = 0;
+ print "reading all resources...\n";
+
foreach my $source (glob "JProjectTimerResource*.properties") {
print "checking $source...\n";
***************
*** 77,79 ****
print "everthing's ok\n\n";
}
-
--- 79,80 ----
|
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-15 22:56:58
|
Update of /cvsroot/jprojecttimer/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv19987 Modified Files: README Log Message: added Oliver Kalkofen Index: README =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/README,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README 2002/01/11 20:43:47 1.2 --- README 2002/01/15 22:36:17 1.3 *************** *** 19,26 **** Pierre Wargnier <pie...@la...> ! French Translation Edward Haase <eh...@ga...> ! Bug Report $Id$ --- 19,29 ---- Pierre Wargnier <pie...@la...> ! French translation + Oliver Kalkofen <OKa...@we...> + code submissions + Edward Haase <eh...@ga...> ! bug reports, suggestions $Id$ |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-15 22:18:13
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer
In directory usw-pr-cvs1:/tmp/cvs-serv13552
Modified Files:
TaskListPane.java
Log Message:
Task 45750: Tasks can be edited by double-clicking on them. Code submission by Oliver Kalkofen <OKa...@we...>
Index: TaskListPane.java
===================================================================
RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/TaskListPane.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TaskListPane.java 2002/01/12 14:18:45 1.2
--- TaskListPane.java 2002/01/15 22:18:10 1.3
***************
*** 2,6 ****
* $Id$
*
! * 2001 (C) by Christian Garbs <mi...@un...>
*
* Licensed under GNU GPL (see COPYING for details)
--- 2,7 ----
* $Id$
*
! * 2001 (C) by Christian Garbs <mi...@cg...>
! * Oliver Kalkofen <OKa...@we...>
*
* Licensed under GNU GPL (see COPYING for details)
***************
*** 13,16 ****
--- 14,19 ----
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
+ import java.awt.event.MouseAdapter;
+ import java.awt.event.MouseEvent;
import java.util.Enumeration;
import javax.swing.JButton;
***************
*** 27,34 ****
--- 30,53 ----
public class TaskListPane extends JPanel implements ActionListener
{
+ /** Inner class MouseAdapter
+ * 2DO: BUTTON1_MASK -> just accept left double clicks
+ */
+ private MouseAdapter taskListMouseAdapter = new MouseAdapter()
+ {
+ public void mouseClicked(MouseEvent e) {
+ if (e.getClickCount() == 2) {
+ edit.doClick();
+ }
+ }
+ };
+
final static String NEW_BUTTON = "new";
final static String EDIT_BUTTON = "edit";
final static String DEL_BUTTON = "del";
+ private JButton add;
+ private JButton del;
+ private JButton edit;
+
/** */
JTable table;
***************
*** 48,55 ****
this.gui = gui;
- JButton add;
- JButton del;
- JButton edit;
-
model = new TaskListTableModel(tasks);
table = new JTable(model);
--- 67,70 ----
***************
*** 62,65 ****
--- 77,81 ----
table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
+ table.addMouseListener(taskListMouseAdapter);
JScrollPane scrollPane = new JScrollPane(table);
***************
*** 130,132 ****
--- 146,149 ----
model.fireTableDataChanged();
}
+
}
|
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-15 21:46:40
|
Update of /cvsroot/jprojecttimer/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv1266 Removed Files: 2DO Log Message: Tasks are now organized on the SourceForge project page. --- 2DO DELETED --- |
|
From: Christian G. [M. Mitch] <mas...@us...> - 2002-01-13 17:14:47
|
Update of /cvsroot/jprojecttimer/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv4252 Modified Files: Makefile Log Message: =>v0.0.5-pre2; run target causes a recompile Index: Makefile =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Makefile 2001/08/11 16:55:23 1.4 --- Makefile 2002/01/13 17:14:43 1.5 *************** *** 7,11 **** # this is the current version ! VERSION=0.0.4 # this is the main project class --- 7,11 ---- # this is the current version ! VERSION=0.0.5pre-2 # this is the main project class *************** *** 71,75 **** -javac $(JFLAGS) *.java ! run: java $(MAINCLASS) --- 71,75 ---- -javac $(JFLAGS) *.java ! run: all java $(MAINCLASS) |