Change Log
Change Log
===============================================================================
ADD: Support for inserting APL color codes in SEU - Thanks to Tomasz Krajewski
FIX: ArrayIndexOutOfBoundsException when opening certain type of window - Thanks to
Roi Mor ([email protected])
FIX: Trailing spaces to RTL fields. Without it, spaces needs to be added manually
to each RTL field - Thanks to Roi Mor ([email protected])
FIX: Initial default key bindung was broken - Thanks to Roi Mor
([email protected])
ADD: Improved tab bar with SSL enabled icon (JSE6 only)
ADD: Nimbus theme as default (JSE6 only)
ADD: Multiple icons in different sizes (JSE6 only)
ADD: Saving last connected session at user's preference store, preselecting
last selected session on startup
ADD: Sessions table, sorting by session name ignoring case
ADD: Sessions table, sorting by host/ip is possible
ADD: Screen export: concat a '.txt' to the exported file name, if no extension
was given
ADD: Screen export: set the file filter '*.txt' as default
ADD: New icon set (sf-patchid: 2110159)
ADD: About dialog/tab
ADD: Saving last selected session in user's system preferences
ADD: Send keyboard type, codepage and charset to configure display device
(correct CCSID)
ADD: feature request "Confirm on tab close" (feature request id: 2714023,
3085825), contributor: Craig Duncan (duncan3dc)
FIX: IndexOutOfBoundsException, when trying to reorder a single tab
FIX: NullPointerExceptions when trying to transmit no file to/from AS400
FIX: ClassCastException when using MDI mode (sf-patchid: 2555604)
FIX: SSL connecting problem since Java5 (sf-patchid: 2555362)
FIX: NPE when using console logger
FIX: Codepage converter 1147, 1148, 870, 871, 1025, 1026, 1112
FIX: Dialog for SysReq is not centered within the main window
(sf-bugid: 2842807)
FIX: Instantiating Inflater/Deflater causes OutOfMemoryError;
finalizers not called promptly enough (JVM bug 4797189)
CHG: Update log4j-1.2.15
CHG: Renamed the applet to "org.tn5250j.My5250Applet" to avoid confusing
with 'Application'
CHG: Reworked some codepages (277,280,284,285,297,500)
CHG: lot of internal code reworked
---------------------------------------------------------------------------------
05/09/2002 Lots of clean up for bounding area selection.
Fixed for Tabs when closing a session to set focus on the next
session instead of always first one. Next is MDI. Hopefully
fixes problem with bug report 595892
Fixed for MDI when closing a session to set focus on the next
session instead of always first one. Hopefully
fixes problem with bug report 595892
15/08/2002 Fix a problem with splash screen and painting a looking better.
12/08/2002 Fixed the NULL error problem with keys strokes FOR REAL!!!!
07/08/2002 Fixed the NULL error problem with keys strokes I think.
04/08/2002 Added to send via e-mail where if the smtp configuration file
already exists then the option will read edit config instead of
always config
02/08/2002 Fixed a problem with the keybuffering where when there is an error
it will clear the buffer and lock the keyboard.
31/07/2002 Fixed a problem with gui windows not restoring the screen correctly.
Added support for multiple macros running at the same time for
different sessions.
30/07/2002 Fixed a problem with error line again.
25/07/2002 Add the macros in ascending order. This and the session sorting
have been needed for a long time. Thanks Roy for the request.
23/07/2002 Added all predefined short cuts to a short cuts menu off of the
keyboard menu item.
22/07/2002 Added changes from Maurizio to add an all-dep build target to the
ant build.xml file.
19/07/2002 Added short cuts to key mapping screen so now you are able to remap
these keys as well.
15/07/2002 Added a message area for option message text to be attached to the
e-mail.
12/07/2002 Made the connection dialog highlight the default session selection
if one is specified.
Fixed another problem with sys request dialog pane where the default
option was not responding to key strokes. I have now tested this on
windows 1.3.0 through 1.4.0 and linux 1.4.0. Thanks Irene for the
report.
11/07/2002 Fixed a problem when changing the colors the separator line in the
Operator Information Area was not being repainted.
10/07/2002 Added support for two new keys - dup and new line. Thanks for the
request Roy. You will have to map these two keys if you already
have a keymap.
Added new popup menu item "keyboard" that has the following special
key shortcuts:
Attention;Error reset;Sys Req;Dup field;help;erase eof;field plus
field minus;new line;host print
display messages is now here as well if there are messages waiting
Fixed a problem with reset key resetting the emulator and unlocking
the keyboard when there was a process running instead of an error
condition.
04/07/2002 Fixed a problem with focus on system request text box. The text box
now gets the focus on all jdk versions. Thanks for report wolfgang.
28/06/2002 Fixed another problem with restore of changed fields after a popup
not being recognized as being change. Thanks for the report, again,
James
Tweaked the interface one more time for long running jobs where the
interface was not very responsive at all.
26/06/2002 Added two new Radio Buttons to the connection screen to choose
between Tab or MDI session presentation. This can be overridden
by the -MDI command line switch.
20/06/2002 Fixed a hang on the file transfer dialog for multiple member files.
Fixed a dump that was being caused by the java e-mail apis not being
available. It will now display a message notifying that it is not
found and the document to read to install these api's.
12/06/2002 Fixed some problems with the Multiple Document Interface sessions.
Added jdk1.3 socket option for keep alive. This means that you can
not use jdk1.2 versions anymore.
06/06/2002 Fixed a problem with restore of changed fields after a popup not
being recognized as being change. Thanks for the report James
23/5/2002 Added new color schema from Alessandro Casassa named Asso from
http:\\www.teknosw.it [email protected]
Added new command line argument for testing of MDI interface instead
of tabs.
Command Line Option Description
-MDI Uses JInternalFrames instead of tabs
to represent the sessions.
13/5/2002 Fixed a problem in screen print. It will now only print what was on
the screen at the time of initiating the print dialog. If the user
udated the screen the print thread would print what is on the
current screen instead of what was there when the print was initiated.
08/5/2002 Fixed a problem with the connect dialog not showing up under some
versions of the JDK. I changed the JDialog to be resizable instead
of non resizable and it worked as it should. @#$@%@#$@#$
05/5/2002 Added Enter key as command key to connect that session from the
session connection dialog. You can now select the connect button
or just hit the enter key.
01/5/2002 Added SMTP configuration dialog for Send via E-mail. Now the
configuration can be done by selecting Configure button from
Send via E-mail dialog.
29/4/2002 Added another parameter for column separators. Now they are as
follows:
Line - Full height line
Dot - A dot like Rumba/Extra
Short Line - like Client Access.
27/4/2002 CVS checkin notifications, updates and bug fixes. Test CVS again
26/4/2002 Fixed a problem that was happening when sending data to the host.
on a READ_MDT_FIELDS command 0x52 when should send blanks instead of
a field with no length. I was saying truncate all letters less than
or equal to spaces. Now it is all characters less than spacess.
17/4/2002 Fixed a problem with the boot strap deamon. The writers were not
being flushed and sockets were not be shutdown correctly thus
causing problems at times.
Fixed a problem with string index out of bounds for signed numeric
fields. Where the hell did that come from?????
16/4/2002 Changed some color attributes for turquoise and yellow to be inline
with client access. CA does not follow the document definitions but
after a few questions of why they are different from client access
I decided to change to be exactly like client access.
For more information about these command line options please read
secion 2a. of README.txt file.
15/4/2002 Started work on opening sessions in their own frames. This can be
accomplished by a new command line parameter of -noembed.
11/4/2002 Fixed a problem where the program would never end if there are no
sessions active and the session connection dialog is cancelled.
05/4/2002 Added new attribute for cursor ruler. It was always there with
the alt-L to toggle through them but now you can specify a
default ruler line. The alt-L option is still available.
02/4/2002 Actually fixed the bug for reading fields from screen with
CMD_READ_MDT_IMMEDIATE
CMD_READ_MDT_IMMEDIATE_ALT
Fixed a problem with fields returning values when really there were
no values returned. This was a fix for a reported bug. Thank you
for the report.
15/3/2002 Lots of code re-arrangement. Hopefully this makes the user interface
a little more responsive.
- Added new tab to specify a socks proxy host. I have not heard
any feedback on this so went ahead and added it.
- Added new command line parameter -usp which specifies whether
to use the socks proxy or not. This is specified on the proxy
tab mentioned above and is a check box.
13/3/2002 Added double click of mouse to send enter. I will need to add a
flag to the session attributes screen to turn this on and off.
11/3/2002 Fixed a problem with the host print function. It was causing a
crash/error from some screens.
7/3/2002 Added codepages 277 for dk and no. Thank you for the request.
22/2/2002 Added code for default session selection. It was on the session
configuration panel but it is now on the table selection as a
check box.
18/2/2002 Added an ant build how-to document and included a build.xml for
building the emulator.
05/2/2002 Fixed an infinate loop on next field and prev field. It only
happened in certain instances and found it while fixing the
previous problem of null pointer. Never saw it before.
Fixed a keying problem for windows users. With all the keyboard
work that was done I missed something really important.
04/2/2002 Fixed problem with null pointer exception on tab keystroke when
no fields are defined.
28/1/2002 Fixed problem with keymapping configuration screen not showing the
correct language literals for the option buttons.
Fixed problem with the save as file dialog not showing itself
correctly. It was cutting off some of the buttons on the right.
24/1/2002 Fixed a problem with file transfer hanging up the emulator if there
was an error transfering the file.
15/1/2002 Added a new field for fixed point size for 27X132 to the sessions
attribute screen.
Changed key handling to not interpret the Alt-Gr for the emulators
keybindings. This was causing problems with entering special
characters for languages such as Polish.
19/12/2001 Add font scaling fields to the Session Attributes screen when
selecting font. This works for 27X132 for now until I get
feedback if it works or not.
17/12/2001 Fixed some more focus problems with linux dialogs. Almost all now.
I am getting closer.
14/12/2001 Fixed a problem with bounding rectangle not disappearing after copy
when selected with Shift + arrow keys.
13/12/2001 I got tired of loosing the emulator when a dialog was displayed.
Now the dialogs and the main emulator stay together when switching
between applications
Fixed some more focus problems with linux dialogs. All accept from
the new session dialog.
05/12/2001 Added support for codepage 280 - italian. Thank you for the request.
Added option to transfer screen to select which text to use for the
field descriptions. Internal text or Full text.
29/11/2001 Fixed problem with downloads showing zero records transferred when
there were actually records transferred.
20/11/2001 Ok got the excel file filter to output all rows but now the numeric
are not formatted correctly.
Got it working for the first time over an intranet after figuring
out the signing/certificate acceptance stuff for Applets.
14/11/2001 Created a feeble attempt at an Excell file filter. It works but can
not figure out for the life of me how to get it to create more than
256 rows.
13/11/2001 Added vertical scroll bar support. Need to implement horizontal but
first need to figure out how to create one.
09/11/2001 Added file transfer for KSpreadSheet and OpenOffice 6## formats.
Great thanks goes to Patrick Bielen for all the testing and reporting
of bugs for this release.
*** Note *** for the filters if the numbers do not show up correctly
try transferring with a different decimal separator.
08/11/2001 Added Code Page 285. Thank you Gordon for the request.
02/11/2001 Added key assignment option for mapping keys to macros. This can
be accessed from the Map Keys option. There is a combo box with
keys and macros. Choosing Macros will list all the defined macros
for selection.
29/10/2001 Changed the 27*132 mode to scale the fonts. The scale seems
to be different on different JDK versions. At this time it is set
at 1.2 to scale the height of the characters.
Added a KDE KSpread file output filter for file transfers from the
AS/400.
Added a new color to the color list. The new color is to set
the color of the column separator.
18/10/2001 Fixed a lot of startup problems with command line parameters. They
should work as decribed in the readme.txt file. Thanks to
Patrick Beilen and his incesant testing and feedback I think I got
all of them.
After marking a bounded area you can use copy - Alt-c - or copy from
the popup menu - right click of mouse.
These are mapped as dead keys - not used - if there is already a key
map generated. You will have to map these four new keys so that they
will function.
16/10/2001 Enhanced logging to log all streams when turned on until turned off.
11/10/2001 Added a sum area function to allow the summing of a column of numbers
that have been selected by the mouse. This option will only show
up if there was a bounded area selected for example copy and paste.
You can select two different formats to parse numbers. The Grouping
separator as ',' and a '.' as Decimal Separator, #,###.## or
the grouping seaparator as '.' and a ',' as Decimal Separator,
#.###,## .
10/10/2001 Fixed a problem with cut and paste on last line of screen. When
trying to copy from last line of screen only it was not correctly
calculating the rows and columns thus not cutting correctly.
Hopefully fixed some focus problems under linux and JDK1.4 beta under
windows.
09/10/2001 Fixed a problem when the host resets the connection to the emulator.
This was causing the connections to never end and taking up 100%
of the cpu. This would happen during an IPL or host cutting the
socket for some reason.
07/10/2001 Added new command line option for device name. * NOTE * This is
test code and may not work. I have been experiencing problems with
it on linux.
For example:
-dn DEVICEUSER
25/09/2001 Added new options to start "poor mans deamon mode" for checking for
other instances of the emulator. This was the default but after
feedback from Martin Reising he suggested a switch to start this.
-d ---> Startup BootStrap deamon.
Added new key map entry for sending the attention key. You will have
to map the key as it will be mapped as a non functioning key if you
have already run the emulator once.
24/09/2001 Added new options to not check for other instances of a JVM
-nc ---> no check for other tn5250j instances that are running
23/09/2001 Added socks proxy support. The new command line options are:
-sph ---> Socks Proxy Host
-spp ---> Socks Proxy Port
** NOTE *** This does not work under JDK 1.4 beta 2. I will need to
check the bug reports or maybe I have to set another property now.
** NOTE *** This is considered test code. I can not guarantee that
it will work on all machines at this time.
21/09/2001 Added support to start a new session within the same JVM. Still in
test.
20/09/2001 Fixed the screen resizing again. This time for good!! Well at least
until I mess with the painting code again :-)
Spanish Translation
Added new frame icon. I wish it was something exotic and/or beautiful
but this is what I came up with. If someone artistic can create
another one please do so and send it to me.
18/09/2001 Added new codepage 500-ch for switzerland. Thank you Mr. Graenacher
for the request. I hope I got the correct one.
Added new key binding Alt-q for closing a session and removing it
from the session panel.
16/09/2001 Added support for signed numeric that was not in the first release
of file transfer.
Tested against the JDK 1.4 beta 2 on windows and linux. Linux has a
problem with the key events or something. I will be debugging that
later.
15/09/2001 Added progress monitor and interactive text area for ouput to file
downloads.
30/08/2001 Fixed a problem with sticky keys between sessions. The keys would
seem to remap from the other sessions.
29/08/2001 Added option to popup menu to close down the session and remove it
from the tab pane.
24/08/2001 Added file transfer to emulator. It can be selected from the popup
or by pressing Alt + T.
21/08/2001 Fixed a problem when a macro is the first macro added. It was not
showing up.
16/08/2001 Macros record fucntion added. It is not complete but does work.
15/08/2001 Macros where added. I will add a record function for interactive
creation in the future. Read the macros.txt file for how to use this
functionality.
08/08/2001 Changed the option buttons to flow left to right instead of top to
bottom. Per request by feedback of Martin Reising.
[copy]=67,false,false,true
[paste]=86,false,false,true
06/08/2001 Added a new color to the color attributes panel to change the color
of the cursor.
[fldext]=10,false,false,false
10 = keyCode for Enter key
false = Shift key is not pressed
false = Control key is not pressed
false = Alternate key is pressed
If you want to change this to the Enter key as enter and Shift + Enter
as Field Exit then change to the following:
[enter]=10,false,false,false
10 = keyCode for Enter key
false = Shift key is not pressed
false = Control key is not pressed
false = Alternate key is not pressed
[fldext]=10,true,false,false
10 = keyCode for Enter key
true = Shift key is pressed
false = Control key is not pressed
false = Alternate key is pressed
28/06/2001 Added code to resize application frame to last size when closed.
27/06/2001 Added check box to make session the default session but no code
behind it yet.
27/06/2001 Added field copy. If there is a popup in a field and there is no
area selected previously then the option copy is to copy the data
that is contained in the field. Paste and Paste Special work the
same in both popups.
25/06/2001 Fixed problem when high values are sent in data stream. 0xFF is
not a valid character but we found some cases where they are being
sent in the data stream. This caused two problems. One; the screen
would seem to hang and doing sysreq and 2 would get you out of it
but you could not display screens with this data. Two; the value of
the length of the stream data was not really what was being passed
as the length of the data stream thus throwing my parsing off.
If there was a 0xFF in the data stream then it was always followed
by another 0xFF. So the length I was receiving was always off by +1
or as many of these combinations as occurred in the data stream / 2.
Sorry to bore you with the details but I could not find this
anywhere in the documentation. It only says that 0xFF is not valid
so I assumed this would not be sent. Great documentation!!!!!!
22/06/2001 Fixed bug with restore of screen when switching between 24 and 27
row displays.
22/06/2001 Fixed problem with original error line being over written if there
were multilple errors.
22/06/2001 Fixed problem with error messages not showing up in 27*132 mode.
The error row is passed differently in this mode, go figure. It is
always one row larger than the number of screen rows if it is the
last row of the screen. Why???????
21/06/2001 27*132 support. You can specify this on the configuration screen
not the attributes screen.
*** NOTE *** I consider this test (in other words I can not
guarantee that this works) code. Use at your own risk for now.
20/06/2001 Key Buffer again. Still not perfect but better I think
20/06/2001 Fixed gui fields not showing up as gui fields after restore.
13/06/2001 Fixed a really annoying problem with the last character typed in the
the last column of a field that is at the last colum of the screen.
The !@#$ thing now shows up!!!!!!!!!!!!!!!!!!!!
13/06/2001 Cleaned up the code of the configuration screen. Put comments not
Javadoc documentation but comments.
12/06/2001 Finished configuration screen. The code is dirty and will clean
it up later but it does work. You can add, edit and delete
sessions. I will get to translating as time permits. If anyone
would like to do this please change the files for your locale and
I will update the files. It is not the prettiest but it does work.
08/06/2001 Fixed a restore screen field problem where when a screen was
restored the field linkages were not being updated for next and
previous fields. This was a large problem with cursor progression
fields.
07/06/2001 Added new color attribute for input fields when gui is enabled.
28/05/2001 Changed the keypad back to JButtons and made them display better.
This is a bug fix release because the mixing of Heavyweight and
Lightweight components was causing major focus problems on Linux.
25/05/2001 Fixed a focus problem on linux. When the attributes screen is shown
the focus was not returning back to the screen.
24/05/2001 Started the long overdue Internationalization. I will start Spanish,
French, Portuguese and Catalane tommorrow.
24/05/2001 Added hotspot for http:// there is not code behind it yet it just
just writes a message to stdout.
23/05/2001 Changed the keypad button from JButtons to Buttons. I did not like
the way the JButtons where being displayed with the text. For those
that want to see what the JButtons look like I have left the code
there but commented out. Change the Button to JButton, change all
setLabel to setText, uncomment the code the private static variables
and paintComponent, recompile. I started to implement my own button
but decided not to and took the easy way out. Hope this does not
cause problems with mixing lightweight and heavyweight controls. So
far so good. Maybe add a feature to select which one you want in
the future.
23/05/2001 Fixed problem of the note for 22/05/2001 for the keypad and resizing
the screen.
23/05/2001 Added the Hotspot assignments for More... and Bottom to the hotspot
attribute screen. For other languages besides English you can put
the string literal for More... in the field that is provided. The
same for bottom. For example French is "A suivre..." so I would
place this in the field next to the label More... For Bottom it is
"Fin" so this would be typed in the field labeled Bottom. I have
tested this on french and spanish.
22/05/2001 Added More... and Bottom for hotspots. Clicking More... will do
a page down. Clicking Bottom will do a page up. Sorry only
English at this time until I can figure out a nice way to implement
a multi-lingual version. Any suggestion can be sent to
[email protected] or posted on sourceforge.
22/05/2001 Added a keypad feature that displays the PF keys and other at the
bottom of the screen. This is a work in progress because I have
other ideas for it. Also added this to the Attibutes screen under
Key Pad.
14/05/2001 Changed the save and restore again to not transfers so much data
also fixed a couple more memory problems which I was not letting
go of for garbage collection.
10/05/2001 Changed the save and restore screen to use the AS400 as a repository
for the save data. This generates more traffic but it will allow
tn5250j to reserve more memory by not storing saved screen data in
memory as objects.
09/05/2001 Fixed a problem with cursor positioning (again) when I send an error
to the screen. This was because of the change on 01/05/2001 for
getting the error messages from the AS400.
04/05/2001 Added code page 273 for German. Thank you for your request.
27/04/2001 Fixed a problem with the interface hanging when connecting with the
connect and disconnect options from popup or ALT + x
24/04/2001 Cleaned up the hotspot code a little more to keep from getting
non hotspot links (whew what a pain). Added hotspots to menu
entries and screens for selections. Still have a few hotspots
show up that are really not hotspots. Displayed numbers are one
of them. Can not figure a way to get rid of them yet but they
are fewer from the previous release. Enjoy.
23/04/2001 Fixed bug in hotspot code that caused an error when trying to access
a part of the screen past the number of columns defined.
22/04/2001 Added -t flag to command parameters to use the text from the session
list instead of the host name. See readme.txt file for use.
19/04/2001 Added etched border for gui windows and cleaned up the painting of
fields to look more like gui fields.
19/04/2001 Fixed bug 416934. Took the socket.KeepAlive() out of program
this is available for JDK1.3 and above and really does not need to
be in the code. The part about the "M at the end of the lines of
the tnvt.java module I can not reproduce. Thanks to bmcully for
reporting this problem. You should be able to compile now.
18/04/2001 Added scroll bars to attributes page for users that have 800/600
screens. *** Note **** I do not like it and am planning to revamp
it when I get the time. I get complaints about it all the time.
18/04/2001 Added GUI enhancements and flag -gui to command line to enable this.
updated readme.txt file to reflect these changes
17/04/2001 Took the changelog, readme, and copying files out of the jar file.
I figure that they are delivered in the main zip file so should not
be put in the jar file for distribution purposes.
16/04/2001 Split the readme file into two parts, readme and changelog, and
added them to the jar file as well.
16/04/2001 Fixed the status line not showing up when the screen is resized.
13/04/2001 Support for Delete and backspace key in continued edit fields and or
masked fields ( *** NOTE *** I made it work like Client Access in that
when the first column of a continued edit field or masked edit field
is reached then an error is generated if the user tries to backspace
beyond the first column of the field or backspace over an mask
character. Maybe this should not be let me know.)
12/04/2001 Fixed a threading problem between sessions again (I hope this time).
11/04/2001 Fixed screen attribute painting for enhanced and normal. This was
major in my opinion so I moved the version from 0.2 to 0.3 after
testers feedback.
04/04/2001 Fixed field exit on continued edit end masked edit fields.
04/04/2001 Added next and previous field support for continued edit fields when
tabbing, field exit, field plus and field subtract. It was not
positioning on the next field but on the next segment of the
continued entry field. According to the documentation a continued
edit field or masked edit field should be treated as one whole field.
Comments, questions, bug reports and patches are much appreciated - please
subscribe to the list and post them there if at all possible at sourceforge.net.
Sourceforge at https://sourceforge.net/projects/tn5250j/
Enjoy!