tn5250j/src/org/tn5250j My5250.java,1.34,1.35 tnvt.java,1.42,1.43 Screen5250.java,1.60,1.61

Barry van Someren <[email protected]> Fri, 02 Jul 2004 13:52:10 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1388/src/org/tn5250j

Modified Files:
	My5250.java tnvt.java Screen5250.java 
Log Message:
The first Tn5250jFramework commit, please don't hurt me..
This release provides:
-Enabling JAR based plugins to Tn5250j
-Receiving screen data with plugins.
-Start sessions from plugins

Index: tnvt.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/tnvt.java,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** tnvt.java	30 Jun 2004 06:18:56 -0000	1.42
--- tnvt.java	2 Jul 2004 13:52:07 -0000	1.43
***************
*** 1,3249 ****
  package org.tn5250j;
  /**
!  * Title: tn5250J
!  * Copyright:   Copyright (c) 2001
!  * Company:
!  * @author  Kenneth J. Pouncey
   * @version 0.5
!  *
   * Description:
!  *
[...6528 lines suppressed...]
+ 
+ 	private static final byte INFO = (byte) 2; // 2
+ 
+ 	private static final byte VAR = (byte) 0; // 0
+ 
+ 	private static final byte VALUE = (byte) 1; // 1
+ 
+ 	private static final byte NEGOTIATE_ESC = (byte) 2; // 2
+ 
+ 	private static final byte USERVAR = (byte) 3; // 3
+ 
+ 	// miscellaneous
+ 	private static final byte ESC = 0x04; // 04
+ 
+ 	private static final char char0 = 0;
+ 
+ 	//   private static final byte CMD_READ_IMMEDIATE_ALT = (byte)0x83; // 131
  
  }
\ No newline at end of file

Index: My5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/My5250.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** My5250.java	30 Jun 2004 06:18:56 -0000	1.34
--- My5250.java	2 Jul 2004 13:52:07 -0000	1.35
***************
*** 38,41 ****
--- 38,42 ----
  import org.tn5250j.tools.system.OperatingSystem;
  import org.tn5250j.event.*;
+ import org.tn5250j.framework.Tn5250jController;
  import org.tn5250j.gui.TN5250jSplashScreen;
  import org.tn5250j.interfaces.GUIViewInterface;
***************
*** 86,90 ****
        manager = SessionManager.instance();
        splash.updateProgress(++step);
! 
     }
  
--- 87,91 ----
        manager = SessionManager.instance();
        splash.updateProgress(++step);
!       Tn5250jController.getCurrent();
     }
  

Index: Screen5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Screen5250.java,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -d -r1.60 -r1.61
*** Screen5250.java	30 Jun 2004 07:29:44 -0000	1.60
--- Screen5250.java	2 Jul 2004 13:52:07 -0000	1.61
***************
*** 1,23 ****
  /**
!  *
!  * <p>Title: Screen5250.jar</p>
!  * <p>Description: Main interface to draw the graphical image of the screen</p>
!  * <p>Copyright: Copyright (c) 2000 - 2002</p>
   * <p>
!  * 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, or (at your option)
!  * any later version.
[...9839 lines suppressed...]
! 	 */
! 	public final void printMe() {
! 
! 		Thread printerThread = new PrinterThread(screen, font, numCols,
! 				numRows, colorBg, defaultPrinter, (Session) gui);
! 
! 		printerThread.start();
! 
! 	}
! 
! 	// ADDED BY BARRY
! 	public ScreenChar[] getCharacters() {
! 		return this.screen;
! 	}
! 
! 	public Gui5250 getGui() {
! 		return this.gui;
! 	}
! }
\ No newline at end of file



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com