Skip to content

Commit

Permalink
2004-05-06 Pierre-Luc Paour <gallery@paour.com> (1.4-b7)
Browse files Browse the repository at this point in the history
	* Added support for cropping before upload! This is done in
	  the preview window. For best performance, this needs the
	  patched version of jpegtran that adds a -crop option for
	  lessless cropping.
	* Fixed New Album and Move Album.
	* Added support for pre-downloading all pictures in slideshow.

	This version is ready to replace 1.3.3 as the default branch
	Saving is still disabled, though. Be careful.
	Also on my machine, GR stalls without a message on Linux, both
	on Blackdown and Sun VMs.
  • Loading branch information
Pierre-Luc Paour committed May 7, 2004
1 parent d4a7a17 commit 5baab02
Show file tree
Hide file tree
Showing 23 changed files with 564 additions and 289 deletions.
14 changes: 14 additions & 0 deletions ChangeLog
@@ -1,3 +1,17 @@
2004-05-06 Pierre-Luc Paour <gallery@paour.com> (1.4-b7)

* Added support for cropping before upload! This is done in
the preview window. For best performance, this needs the
patched version of jpegtran that adds a -crop option for
lessless cropping.
* Fixed New Album and Move Album.
* Added support for pre-downloading all pictures in slideshow.

This version is ready to replace 1.3.3 as the default branch
Saving is still disabled, though. Be careful.
Also on my machine, GR stalls without a message on Linux, both
on Blackdown and Sun VMs.

2004-04-28 Pierre-Luc Paour <gallery@paour.com> (1.4-b6)

* Added GeekLog support.
Expand Down
10 changes: 7 additions & 3 deletions com/gallery/GalleryRemote/AlbumInspector.java
Expand Up @@ -241,9 +241,13 @@ public void actionPerformed(ActionEvent e) {
} else if (source == jApply) {
// todo
} else if (source == jMove) {
//MoveAlbumDialog mad = new MoveAlbumDialog(mf, album.getGallery(), album);
//album.moveAlbumTo(GalleryRemote._().getCore().getMainStatusUpdate(), mad.getNewParent());
album.moveAlbumTo(null, null);
MoveAlbumDialog mad = new MoveAlbumDialog(mf, album.getGallery(), album);
album.moveAlbumTo(GalleryRemote._().getCore().getMainStatusUpdate(), mad.getNewParent());

// todo: this is too drastic...
album.getGallery().reload();

//album.moveAlbumTo(null, null);
} else if (source == jSlideshow) {
mf.slideshow();
} else {
Expand Down
12 changes: 6 additions & 6 deletions com/gallery/GalleryRemote/GRApplet.java
Expand Up @@ -97,12 +97,12 @@ protected AppletInfo getGRAppletInfo() {

info.albumName = getParameter("gr_album");

Log.log(Log.LEVEL_TRACE, MODULE, "Applet parameters:");
Log.log(Log.LEVEL_TRACE, MODULE, "gr_url:" + url);
Log.log(Log.LEVEL_TRACE, MODULE, "gr_cookie_name:" + cookieName);
Log.log(Log.LEVEL_TRACE, MODULE, "gr_cookie_domain:" + cookieDomain);
Log.log(Log.LEVEL_TRACE, MODULE, "gr_cookie_path:" + cookiePath);
Log.log(Log.LEVEL_TRACE, MODULE, "gr_album:" + info.albumName);
Log.log(Log.LEVEL_TRACE, MODULE, "Applet parameters: ");
Log.log(Log.LEVEL_TRACE, MODULE, "gr_url: " + url);
Log.log(Log.LEVEL_TRACE, MODULE, "gr_cookie_name: " + cookieName);
Log.log(Log.LEVEL_TRACE, MODULE, "gr_cookie_domain: " + cookieDomain);
Log.log(Log.LEVEL_TRACE, MODULE, "gr_cookie_path: " + cookiePath);
Log.log(Log.LEVEL_TRACE, MODULE, "gr_album: " + info.albumName);

if (cookieDomain == null || cookieDomain.length() < 1) {
try {
Expand Down
1 change: 0 additions & 1 deletion com/gallery/GalleryRemote/GRAppletSlideshow.java
Expand Up @@ -54,7 +54,6 @@ public void startup() {
ImageUtils.deferredTasks();

album = new Album(gallery);
//album.setSuppressEvents(true);
album.setName(info.albumName);
album.addListDataListener(this);

Expand Down
2 changes: 1 addition & 1 deletion com/gallery/GalleryRemote/MoveAlbumDialog.java
Expand Up @@ -101,7 +101,7 @@ private void jbInit() {
jAlbum = new JComboBox(albums);
jAlbum.setFont(UIManager.getFont("Label.font"));

jCancel.setText(GRI18n.getString("Common", "cancel"));
jCancel.setText(GRI18n.getString("Common", "Cancel"));
jCancel.setActionCommand("Cancel");
jOk.setText(GRI18n.getString("Common", "OK"));
jOk.setActionCommand("OK");
Expand Down
2 changes: 1 addition & 1 deletion com/gallery/GalleryRemote/NewAlbumDialog.java
Expand Up @@ -106,7 +106,7 @@ private void jbInit() {
jAlbum.setSelectedItem(defaultAlbum);
}

jCancel.setText(GRI18n.getString("Common", "cancel"));
jCancel.setText(GRI18n.getString("Common", "Cancel"));
jCancel.setActionCommand("Cancel");
jDescription.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED, Color.white, Color.lightGray, Color.darkGray, Color.gray));
jDescription.setLineWrap(true);
Expand Down

0 comments on commit 5baab02

Please sign in to comment.