Re: File Formats (was SVG)

2003-03-29 Thread John Palmieri
On Sat, 2003-03-29 at 14:20, John Palmieri wrote: > > > > > Dia was using XML well before it became a key technology, and SVG was used > > > significantly. > > > > > > Seperating presentation and information as Dia does now is a real plus - > > >

Re: File Formats (was SVG)

2003-03-29 Thread John Palmieri
> > > Dia was using XML well before it became a key technology, and SVG was used > > significantly. > > > > Seperating presentation and information as Dia does now is a real plus - > > have a look at the adbomnination that is argouml's xml file format and you > > will see why you don't use somethi

Re: Adding sheets and shapes, pulling hair out...

2002-02-13 Thread John Palmieri
On Wed, 2002-02-13 at 12:26, Al Banks wrote: > Thanks, Cyrille! > > Warning: I'm an XML neophyte > > I added the xmlns parameters back into the tags, same result. > > Is there anything I need to change in those tags? Should I go back to > adding this object to an existing sheet? > > He

Re: Import Visio2002 document

2001-09-10 Thread John Palmieri
Wow, perhaps using the XSTL to convert Visio XML documents to Dia documents and visa versa. Only problem would be the shapes. Since they are not exactly the same, documents would look different between Visio and Dia. Well it is a start. As for well-formedness (is that a word?) any data

Re: Rotate Objects

2001-08-09 Thread John Palmieri
Cyrille Chepelov wrote: >Le mer, aoû 08, 2001, à 10:11:13 -0400, Gary James a écrit: > >>Is there any way to rotate an object 90 degrees. I tried to rotate an XOR >>gate so that it points to the right and I can't figure out how to do that. >> > >FAQ. In the current code, no way. We are slowly tak

Re: Dia-0.88.1 on HPUX

2001-08-08 Thread John Palmieri
Cyrille Chepelov wrote: >Le mer, aoû 08, 2001, à 01:37:08 +0100, M. Lavasani a écrit: > >>Hi >> >>I 've compiled "Dia-0.88.1" on HPUX version 11.00. The program compiled without >>any problem. But when I try to run the program: >> >> ./run_dia.sh or ./dia >> >>The proram start with d

Re: UrShapes

2001-08-06 Thread John Palmieri
Andre Kloss wrote: >Hi, John, hi Cyrille, hi everyone! > >I would really like to see the changes, alas I lack a usable dev >platform, since my notebook has ceased working and I have only windoze >boxes around (They are not my own, or they'd run Linux!). >All I can do now is to have a look at the

UrShapes & UTF 8

2001-08-04 Thread John Palmieri
Hey Cyrille. I saw your post about the UML changes and it occured to me that I'm not doing much in UrShapes to support UTF8. Actualy I have done nothing because I am not totaly shure how Gnome/GTK+/Dia handles UTF8. First, can you point me to the docs and second can you briefly go over

UrShapes in CVS

2001-08-01 Thread John Palmieri
Ok folks, the moment you have all been waiting for is here. Ok, the moment some of you have been waiting for. UrShapes is now in cvs at cvs.con-struct.sourceforge.net/con-struct in module dia-0.88.1_urshape_fork. I tried to create a patch and for some reason the resulting patch wouldn't patch

Re: RLD Shapes / UrShapes

2001-07-29 Thread John Palmieri
I can speak for UrShapes. It is way far from being done and the code I have been working on has yet to be released though that will change within the coming week. To give you and idea of how far I have gotten I am up to the point where the infrastructure is there and am now working on loading t

UrShapes coding update

2001-07-27 Thread John Palmieri
Finally my e-mail is working properly. For some reason, sending via external mail agents (netscape, outlook, etc.) would become a crap shoot whether or not the mail would actually send or if it would show up 12 hours later. My web mail and telnet clients worked fine. Kinda weird but I uninstall

Re: UrShape coding update

2001-07-26 Thread John Palmieri
Lars Clausen wrote: > On Thu, 26 Jul 2001, John Palmieri wrote: > > > --I sent this earlier but I am not sure if it got through > > > > Well I've got a skeleton compiling, and installing. Dia is loading the > > library but it doesn't seem to show up

UrShape coding update

2001-07-26 Thread John Palmieri
--I sent this earlier but I am not sure if it got through Well I've got a skeleton compiling, and installing. Dia is loading the library but it doesn't seem to show up on the sheet. Here is the code I am using to register it: DIA_PLUGIN_CHECK_INIT PluginInitResult dia_plugin_init(PluginInfo

UrShapes coding

2001-07-25 Thread John Palmieri
Well, I have started to set up my system so that I can start coding the UrShapes. I am working with the 0.88.1 sources and have created a directory under objects called urshapes. I have also modified the build system to recognize this directory and the sources within them. I am going to start b

Re: UML Diagram Questions

2001-07-17 Thread John Palmieri
We are working on new Shapes code called UrShapes that will make it easier in the future to create interactive shapes. One of my goals with this project is to create new UML shapes that are easier to work with and allow for scripts to manipulate shapes. Once finished it will be easy for someone

Re: UrShape: Definition by controversy, CVS ready

2001-07-16 Thread John Palmieri
Sorry, I've been busy lately in my job search. My network is coming along great. The biggest problem is going to be the electrical. We need to place an outlet in the basement for the switch and firewall. After that I can start being productive in terms of coding. Can anyone recommend the best

Re: UrShape: Definition by controversy

2001-07-09 Thread John Palmieri
Ok, well here is my take on the UrShape. I rearanged the structures to be a bit more object oriented. I havent put in the behaviors yet. This is just a skeleton. The gist of it is that everything is a UrShape with global ur functions to manipulate the tree. UrContainers inherit from UrShape a

Re: UrShape: Definition by controversy

2001-07-05 Thread John Palmieri
The "normal" UrContainer should have just layout behaviors same as the Drag n' Drop ones without allowing Drag n' Drop. Perhaps we should make DnD an attribute instead of a separate type of container. A note on HORIZANTAL_ARRAY, VERTICAL_ARRAY containers. Perhaps these should be VBOX and HBOX t

Re: UrShape Layout controversy

2001-07-03 Thread John Palmieri
Andre Kloss wrote: > Hi, folks. > > Let's pull the pieces together: > > Lars writes: > > > You will also need a way to get UrShapes out of UrContainers. > That a UrShape snaps to a UrContainer doesn't mean it can't be dragged > out of it anymore. Now I see what Chapin Charts are. Very nice.

Re: UrShape definition Part IV: Full header (?)

2001-07-03 Thread John Palmieri
Hehe. Well lets see if I can clarify what I was thinking. Andre Kloss wrote: > Hi again. John, you raised some points I dislike, so here's what I > think: > > > > How can UrShapes interact? If a UrShape is dragged over a (free) > > > UrContainer, it should snap into it until dragged out again.

Re: UrShape definition Part IV: Full header (?)

2001-07-02 Thread John Palmieri
Andre Kloss wrote: > Hi folks, especially John and Cyrille, since you two seem to give the > most constructive feedback. > > As you may (or may not) know, time is of the essence for my purpose, > so I'm seeking help _fast_. The UrShape is now somehow defined, but > still far from implementation

Re: UrShape definition Part I

2001-06-27 Thread John Palmieri
Hey Andre, check out my UrShape and GObject post. I think this will solve a lot. They are basically non-gui Gtk objects. Andre Kloss wrote: > Hi again. > > > Could someone give a brief overview of what the ObjectOps and ObjectType > > stuff do? Is this still used or is it depricated in the Std

UrShape and GObject

2001-06-27 Thread John Palmieri
Well I just got finished reading about GObject and am convinced they are the way to go. They OO and provide for signal and slots which solves the callback stuff. The only problem is that to use them requires GLib-2.0 and GTK+ 2.0 which may cause your systems to become unstable. Bleeding edge bab

Re: UrShape definition Part I

2001-06-27 Thread John Palmieri
Andre Kloss wrote: > Hi, there. > > Since I don't see anyone providing a basic UrShape definition, I'll > try to write one myself. It is far from complete, but I need to > advance with this project, since my profesor will stop me from using > dia if I don't have a "working draft" of a UrShape b

Re: UrShape XML parser

2001-06-24 Thread John Palmieri
Oh, you do want to use C++. Ouch, I just thought you were just thinking in C++. As much as I love C++ I think that forcing the maintainers to switch might not be a good thing. If I have learned anything for developing with Open Source is to always follow the coding practices of the original dev

Re: XML Schema

2001-06-24 Thread John Palmieri
James Henstridge wrote: > On Sat, 23 Jun 2001, John Palmieri wrote: > > > Sorry for double posting but my computer's clock was messed up. > > > > I'm getting a little bit of a feel for XML Schema's. The documentation > > islittered with new term

Re: XML Schema

2001-06-24 Thread John Palmieri
that using them will have any negative impact. However if you think that having a DTD around would be good I can do it both ways. -J5 "James K. Lowden" wrote: > John Palmieri wrote: > > > I'm getting a little bit of a feel for XML Schema's. ... I think they are

Relax-NG(was XML Schema)

2001-06-23 Thread John Palmieri
mbination of TREX and RELAX has the attention of some heavy > hitters in the XML parsing world (e.g., James Clark, Norm Walsh). > > Further if procedural/functional definition is needed, consider > XEXPR: > http://www.w3.org/TR/xexpr/ > > > On Sun, 02 Jan 2000, John

XML Schema

2001-06-23 Thread John Palmieri
Sorry for double posting but my computer's clock was messed up. I'm getting a little bit of a feel for XML Schema's. The documentation islittered with new terminology that takes a bit getting use to. The examples look straight forward. I think they are a better way to represent the shapes inst

XML Schema

2001-06-23 Thread John Palmieri
I'm getting a little bit of a feel for XML Schema's. The documentation is littered with new terminology that takes a bit getting use to. The examples look straight forward. I think they are a better way to represent the shapes instead of DTD's. I will work on moving the widget.dtd to UrShape.s

Re: Shapes layout proposal

2001-06-21 Thread John Palmieri
Lennon Day-Reynolds wrote: > John/James L./Andre: > > I like (and have argued for) the idea of a 'mini-DOM' API, based on a > subset of SVG, being used as the internal structure of these Ur-Shapes. > For the arbirary additional properties, we need a portable, > language-agnostic set of datatype

Re: UrShape XML parser (Was: Shapes layout proposal)

2001-06-21 Thread John Palmieri
> That's what I thought of. But the interface will have some extensions > of which some might not be in a DOM (i.e. integer handling). The > tree-handling interface would be as close as possible to libxml-DOM. > Great! > > > Since we are building our own tree then yes SAX is the way to go. > One

Re: UrShape XML parser (Was: Shapes layout proposal)

2001-06-21 Thread John Palmieri
Andre, I think the general consensus is to use libxml for loading and saving only since libxml only supports text data and no way to attach extra data to nodes. We also want to build a mini-DOM interface for accessing UrShapes. Comments inline: > > Time for a few more thoughts: > James has writ

Re: Shapes layout proposal

2001-06-21 Thread John Palmieri
James, Ok, good we are on the right track now. What I need from everyone is a short description on how they want to help out in this effort so we can assign tasks and not duplicate each other work. I can basically manage this effort for right now - write the DTD's, assign tasks, code reviews

Re: Shapes layout proposal

2001-06-17 Thread John Palmieri
Ok well I'm just going to comment on the points I have some knowledge on. Comments are inline: "James K. Lowden" wrote: > Recap > > > There is some controversy over just how far the generic Shape property & behavior can > be carried. As James said, "hand coding a property dialog for a few shape

Widget DTD

2001-06-14 Thread John Palmieri
Ok here is a start of the widget DTD which is much like shapes but with the added boxcontainer. I left out the SVG stuff which should be able to be added by some sort of include statement and placed into a separate file. I didn't find a way to do that in my docs so if there isn't a way I will ju

Re: Shapes layout proposal

2001-06-14 Thread John Palmieri
> > The latter, in my mind. While the looks of the UML object can be made with > the above-mentioned SVG extension, the functionality of the attributes, > operations and interfaces are more complex than would be workable in XML. > > The rework that would be nice at some point (probably after GTK

Re: My proposal (Was: Shapes layout proposal)

2001-06-14 Thread John Palmieri
Andre, that is exactly what we want to add. Ok, well here is a new proposal that should make most people happy for the time being. All the SVG extensions will be handled by a new shape code and will not effect the core of dia. I think the SVG stuff is handled by the generic shape. Am I correct

Re: Shapes layout proposal

2001-06-13 Thread John Palmieri
Lars Clausen wrote: > On Wed, 13 Jun 2001, Lennon Day-Reynolds wrote: > > > Okay, I just have to weigh in here...this looks like too much fun. > > > > Cyrille Chepelov wrote > > > > > Anyway, if you prove me wrong with working code (I've got a P133 to > > > check the speed side...), then alri

Re: Shapes layout proposal

2001-06-12 Thread John Palmieri
so that I can address them and perhaps use the feedback in the design. -J5 Cyrille Chepelov wrote: > Le mar, jun 12, 2001, à 03:59:25 +0100, John Palmieri a écrit: > > > While this doesn't answer all layout questions it seems like a good > > start

Re: Shapes layout proposal

2001-06-12 Thread John Palmieri
Hmm, ascii art doesn't seem to work well. Hopefully you get the idea. -J5 ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list

Shapes layout proposal

2001-06-12 Thread John Palmieri
Well, I was racking my head for a simple algorithm that could be used for layouts involving dynamic shapes (ie UML shapes that "grow" when data is placed in them). I hadn't realized how simple the algorithm could be. First off I must introduce the concept of a container shape. Container shapes w

Re: Expanding the Shapes dtd

2001-06-12 Thread John Palmieri
Ok, well I sent this reply to the list as well as to you James. We should keep the discussion there so people can be free to comment or ignore us as we go along. I can't code much now because I have no real access to CVS (Just graduated and am relegated to using my parents AOL connection until I

Expanding the Shapes dtd

2001-06-07 Thread John Palmieri
Hi, I'm new to the list so don't shoot me for asking stupid questions that may have already been asked. I was looking through the dia cvs stuff - actually looking for an easy way to script/extend Dia. My first place to go was the dtd files since I needed to manipulate the shapes directly and I