miércoles, 29 de mayo de 2013

OS/2 Warp and eComStation Architecture by Component.

I had modified the OS/2 Warp - eComStation Archicture by components graphics.

This time I had removed the TCP/IP, MPTS and MMPM/2 applications, just to show it more general, since sometimes MPTS can run without Presentation Manager and was not complete correct.


The file in ODG format can be downloaded here.  Any suggestion on how to improve the graphic is welcome.

martes, 21 de mayo de 2013

Workplace Shell Architecture

Any plan on starting with Workplace Shell will need some understanding of the architecture.

From what I saw on EDM/2 WPS articles every one points that WPS is a set of classes constructed over SOM.

The classes of Warp 4 with their hierarchy are:

 SOMObject

There is also an API that has WPS related functions like WinCreateObject and a lot more, but those are part of the Presentation Manager API (I think).

My next steps is trying to understand more about WPS to solve this questions:

1) If we have an open source replacement for all this WPS Classes can we say that we have a 100% WorkplaceShell open source clone?

2) What will be the effort of replacing all this classes based on what it had been done in the XWorkplace project.?

lunes, 13 de mayo de 2013

Starting with Workplace Shell

If I will start with the idea to "Top-to-Down" to make an OS/2 clone  the first step will be to try to clone OS/2 Warp's WorkplaceShell.

Goal: A 100% open source replacement for Workplace Shell.

Reuse: XWorkplace components (GNU GPL V2).

Project Requirements:
  • The WorkplaceShell clone should run on top of OS/2 Warp 4.52 or eComStation 2.x which means that the WorkplaceShell clone should run over IBM's SOM and IBM's PM. 
  • Replicate as much of the original WorkplaceShell functionality as possible. Strange stuff (classes) that are not used may not be cloned. 
  • Open source under the GNU GPL license, since XWorkplace has a lot of work and derivative works should be done under the same license. 
  • Try to replace dependencies on VisualAge for C++ 3 which is used by XWorkplace and try to use GCC compiler. SOM compiler will remain the IBM one.
Pitfalls:
  • Developers... I don't have (yet) no one interested on the project. It is also hard to find developers with WPS and SOM skills.
  • Money. It will be very hard to find someone for free.
  • Any strange behavior (quirks) on IBM SOM will need to be supported until IBM's SOM can be cloned.
  • After a working clone of  WorkplaceShell is created, it will require future re-works/tweaking when the SOM and PM clones gets created. 
Other open source code that can be checked for this project:
Next Steps:
This are the first steps that I have pending to understand more this possibility. 
  • Know more about WorkplaceShell architecture to understand the work items that need to be procedure. 
  •  Try to assess with developer(s) what can be re-used from XWorkplace and  time efforts to accomplish a 100% WPS clone.

viernes, 10 de mayo de 2013

An open source proposal

Alex Taylor shared with me some of his ideas for an Open Source OS/2 clone. This document is dated from September 2004.
 Excellent documents that is worthy reading. 

Starting with Top-to-Down

After some thinking I started to play with the idea of starting "Top-to-Down" on creating an open source OS/2 Warp clone. By "Top-to-Down" I mean starting from the components on the top like Workplace Shell and go moving down from there.

The "Top-to-Down" idea will mean to create replacement for:
  • Workplace Shell
  • System Object Model (SOM)
  • Presentation Manager (PM)
There are a few open source projects that had started to create a replacement for it, but none of them still an complete 100% replacement for the IBM code:
  • Workplace Shell  - XWorkplace - GNU GPL V2
  • System Object Model (SOM) - SOMFree - GNU GPL and LGPL V3
  • Presentation Manager (PM) - FreePM - BSD License
By completing this three projects, it may be possible that that the main "soul" of OS/2 Warp can be cloned.  Of course that it still will not be a full operating system but it will give a strong start on the right direction.

The idea of starting "Top-to-Down" is to be able to put more open source replacements over a working OS/2 Warp 4.52 or eComStation 2.1. Even that both products are still commercial, it will be a good start to run this components on the top of this OSes.

lunes, 25 de marzo de 2013

OS/2 Architecture - Where to start?

Maybe we should take a look at OS/2 Warp 4.5x architecture first.  (at a high level)


(I understand this graphics is not perfect)

There are two ways on how I see it to try to make an open source clone of OS/2 Warp.
1) Bottom-Up
2) Top-Down. 

Bottom-Up is the way every developer wants to approach to create an OS/2 Warp clone. Lets start first with the more low level stuff and keep raising the level from there.  So lets start with the kernel, OS2Loader and keep building in top of this.

Pitfall: No user understand/supports this project. Regular users sees OS/2 kernel, loader and other components working fine. So, if you replace them the loader or kernel for an open source alternative (even that it is better to have the source code) they do not see it as a advantage.

Pitfall: If, as a developer,  you see on the OS/2 kernel and loader something that is old, the developer fall into the temptation to fix it or use a newer/better practice, that may turn the kernel incompatible with OS/2.

Top-Down is a way to replace the things on top of OS/2 Warp. OS/2's architecture has many layers, so going from replacing Workplace first, later SOM and PM it is also a good idea. But sometime it is not preferred by developers.

Pitfall: There are some strange behavior that needs to be replicated just to have compatibility with the things on their base. For example, WorkplaceShell (WPS) coding depends on SOM, if there is a strange behavior in SOM, a work around most be coded on WPS. When the day comes to replace SOM, it will have to be done re-work on WPS to fix the strange behavior.


So, what to do?

I personally like the idea to go after an open source clone "Top-Down" since we still have in the market eComStation and Mensys is open to include components in top of OS/2 architecture in their product. But what about a both side approach?



Joking aside it may work but I don't think we have enough resources on the community to go both ways the same time, but it looks like if we put focus on WPS, SOM and PM clones first, there can be more options on which things to mount the platform (kernel/architecture).

For example there are ideas of mounting WPS, SOM and PM on a Linux kernel, or following the idea of IBM's Workplace OS.... but wait, I can no longer dream on this direction since we don't have an open souce clone of WPS, SOM and PM.

eComStation 2.2 Beta relased

Today Mensys relased eComStation 2.2 beta (ISO, not the demo LiveCD).
http://www.ecomstation.com/support/ecs22beta.phtml

I'm very happy that Mensys keeps embracing open source software inside eComStation. Qt4, OpenJDK, AHCI drivers are some of the projects that Mensys had supported under this platform.

This are very valuable assets to reach the open source OS/2 clone goal eventually.