Skip to content

Commit

Permalink
2023.12.15 (1.54h; Release version)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasband committed Dec 15, 2023
1 parent bf22ede commit 7c00dc5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ij/ImageJ.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class ImageJ extends Frame implements ActionListener,

/** Plugins should call IJ.getVersion() or IJ.getFullVersion() to get the version string. */
public static final String VERSION = "1.54h";
public static final String BUILD = "20";
public static final String BUILD = ""; //21
public static Color backgroundColor = new Color(237,237,237);
/** SansSerif, 12-point, plain font. */
public static final Font SansSerif12 = new Font("SansSerif", Font.PLAIN, 12);
Expand Down
4 changes: 4 additions & 0 deletions ij/gui/YesNoCancelDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ public YesNoCancelDialog(Frame parent, String title, String msg) {

public YesNoCancelDialog(Frame parent, String title, String msg, String yesLabel, String noLabel) {
super(parent, title, true);
//if (msg.contains("[NON_BLOCKING]")) {
// setModal(false);
// msg = msg.replace("[NON_BLOCKING]", "");
//}
setLayout(new BorderLayout());
Panel panel = new Panel();
panel.setLayout(new FlowLayout(FlowLayout.LEFT, 10, 10));
Expand Down
9 changes: 4 additions & 5 deletions ij/macro/Functions.java
Original file line number Diff line number Diff line change
Expand Up @@ -4110,8 +4110,7 @@ String doDialog() {
interp.getParens();
gd.addToSameRow();
} else if (name.equals("enableYesNoCancel")) {
interp.getParens();
gd.enableYesNoCancel(" Yes ", " No ");
gd.enableYesNoCancel(getFirstString(), getLastString());
} else if (name.equals("setLocation")) {
gd.setLocation((int)getFirstArg(), (int)getLastArg());
} else if (name.equals("getLocation")) {
Expand Down Expand Up @@ -4152,9 +4151,9 @@ String doDialog() {
interp.getParens();
String result = "no";
if (gd.wasCanceled())
result = "cancel";
else if (gd.wasOKed())
result = "yes";
result = "cancel";
else if (gd.wasOKed())
result = "yes";
return result;
} else
interp.error("Unrecognized Dialog function "+name);
Expand Down
1 change: 0 additions & 1 deletion ij/plugin/URLOpener.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public class URLOpener implements PlugIn {
a file name, opens the image with that name from the 'images.location'
URL in IJ_Props.txt. If it is blank, prompts for an image
URL and open the specified image.
http://co3d-icc-review-progqi.oss.eu-west-0.prod-cloud-ocb.orange-business.com/gaston.jpeg?AWSAccessKeyId=S3BC6CQHTB5IZNVBAR8P&Expires=1702508400&Signature=%2BjZBuG6gArIByiyDOVNZvnFnqtg%3D
*/
public void run(String urlOrName) {
if (IJ.debugMode) IJ.log("URLOpener.run: "+urlOrName);
Expand Down
10 changes: 5 additions & 5 deletions release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</head>
<body>

<li> <u>1.54h20 14 December 2023</u>
<li> <u>1.54h 15 December 2023</u>
<ul>
<li> Thanks to Michael Schmid, improved the fidelity of
the RGB to indexed color conversion done by
the RGB to indexed color conversion done by the
<i>Image&gt;Type&gt;8-bit Color</i> command.
<li> Thanks to Michael Ellis, added the ImageListenerAdapter
class, which supports notification when an ImagePlus
Expand All @@ -18,16 +18,16 @@
when its running in batch mode.
<li> Thanks to Philippe Carl, added the Dialog.enableYesNoCancel
and Dialog.getYesNoCancel macro functions
(<a href="http://wsr.imagej.net/macros/YesNoCancelDialog.ijm">example</a>,
(<a href="http://wsr.imagej.net/macros/YesNoCancelDialog.ijm">example</a>).
<li> Thanks to Michael Schmid, the Plot.update() macro function
now works for plots that are not under construction.
<li> Thanks to Stein Rorvik, fixed bug where use of a modifier key
in the text editor caused isKeyDown() calls to be stuck
returning 'true' for that modifier.
<li> Thanks to 'IztokD', fixed bugs with the Plot.getValues() macro
functio not working in batch mode.
function not working in batch mode.
<li> Thanks to 'Fijipuff', fixed bug with making montages of multi-channel
COMPOSITE mode images.
"Composite" mode images.
<li> Thanks to Michael Schmid, fixed exceptions that occurred
with Plot.addLabel() and with the <i>Image&gt;Color&gt;Show LUT</i>
command.
Expand Down

0 comments on commit 7c00dc5

Please sign in to comment.