Camelia, the Perl 6 bug

IRC log for #cdk, 2007-09-02

| Channels | #cdk index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
03:44 CIA-1 jmol: hansonr * r8185 /branches/v11_2/Jmol/src/org/​jmol/util/ColorEncoder.java: 11.2.11 bug fix for unknown palette
04:07 CIA-1 jmol: hansonr * r8186 /trunk/Jmol/src/org/jmol/ (7 files in 3 dirs): (log message trimmed)
04:07 CIA-1 jmol: 11.3.14
04:07 CIA-1 jmol: # new feature: unlimited user-defined color schemes:
04:07 CIA-1 jmol: #
04:07 CIA-1 jmol: # select none;
04:07 CIA-1 jmol: # color "myname=[xff00ff] [xffff00] [xff00ff]"
04:07 CIA-1 jmol: #
04:13 CIA-1 jmol: hansonr * r8187 /trunk/Jmol/src/org/jmol/viewer/Jmol.properties: (log message trimmed)
04:13 CIA-1 jmol: version=11.3.14 -- ready for release
04:13 CIA-1 jmol: # bug fix: HDO not recognized as "water"
04:13 CIA-1 jmol: # bug fix: rotateSelected MOLECULAR not around {0 0 0}
04:13 CIA-1 jmol: # bug fix: -g ignored on -n option, even if -w is present
04:13 CIA-1 jmol: # bug fix: unknown color palette could cause error
04:13 CIA-1 jmol: # new feature: APPLICATION -q (quality) option
04:21 CIA-1 jmol: hansonr * r8188 /trunk/Jmol/src/org/jmol/modelset/Atom.java: 11.3.14 - last update - adds %l for labels (element number)
04:23 CIA-1 jmol: hansonr * r8189 /trunk/Jmol/src/org/jmol/viewer/Jmol.properties: 11.3.14 - last update - adds %l for labels (element number)
06:29 jbrefort joined #cdk
06:46 egonw joined #cdk
07:50 Nout joined #cdk
07:50 egonw hi Nout
07:51 Nout hey
07:54 egonw ok, let me grab a sandwhich...
07:54 egonw then we'll talk
07:54 egonw brb
07:54 Nout some food is a good idea yeh.. brb aswell :)
07:57 egonw back
08:04 * Nout too
08:05 egonw OK, let's write up a agenda...
08:07 Nout aight
08:10 egonw http://wiki.cubic.uni-koeln.de/cdk​wiki/doku.php?id=jcp_hack_20070902
08:10 lambdabot2 Title: The Chemistry Development Kit: jcp_hack_20070902, http://tinyurl.com/ywojgz
08:10 egonw feel free to edit this wiki page
08:11 egonw on the rendering feature side you have done enough to reach the project goals...
08:11 egonw it's not finished...
08:11 egonw but would be good if you could turn a bit towards the integration...
08:11 Nout yeh
08:11 egonw which should be the topic of todays session
08:12 egonw I'm hoping that Stefan might find some time to join in too
08:12 egonw maybe christoph
08:16 Nout so.. where do we start? :)
08:16 egonw the modularization of the controller and renderer, I would say
08:18 egonw just sent an annocnement for the eent
08:18 egonw event
08:18 Nout 0kay
08:19 egonw actually... let's start with the interface for the controller...
08:19 egonw did you have a look at the interfaces for mouse events for SWT and Swing?
08:19 egonw if they are compatible?
08:20 Nout yeah, looked a bit around, they are quite compatible as far as I have seen
08:21 egonw OK, can you write that up on the wiki page...
08:21 egonw which interfaces are relevent
08:21 egonw from both SWT and Swing...
08:21 egonw maybe make a short table which are equivalent
08:21 egonw and a third column for the new interface...
08:49 Nout sorry, got called away
08:50 egonw I expected something like that :)
08:51 neksa joined #cdk
08:51 egonw hi neksa
08:52 neksa hi egonw
08:52 egonw neksa: tried to do some strigi work yesterday
08:53 egonw but ran into a lot of problems
08:53 egonw lsat one:
08:53 egonw the plugins were not installed, and hence not loaded and not used
08:54 egonw_ joined #cdk
08:55 egonw_ a network split
08:55 Nout :/
08:55 neksa egonw_: after I updated my KDE4 environment yesterday it stopped working. It feels like eternal Monday
08:55 egonw_ ack
08:56 egonw_ neksa: if you can confirm that currently only sym links are installed for the strigi analyzers (from strigi itself), please talk to vandenoever
08:56 * neksa checking
08:59 neksa egonw_: true. a bug
08:59 egonw_ Nout: you can savely edit parts of the wiki page, by clicking an [Edit] for a particular section on the page
08:59 Nout ack
08:59 egonw_ neksa: ok, thanx for confirmation
09:00 egonw_ neksa: could you ask on kde-devel ?
09:00 egonw_ neksa: I'll be in a JChemPaint hack-a-thon today, so can;t do any strigi work today
09:00 egonw_ Nout: I'm looking into the modularization things...
09:00 egonw_ point 1 and 2
09:00 Nout 0kay
09:01 egonw_ if you can make that table for 3
09:02 neksa egonw_: why kde-devel? do you think bug traces to kde cmake-s?
09:02 neksa afaik strigi does not depend on KDE at all
09:04 egonw_ yes, I think it is a problem in the CMakefile.txt
09:05 egonw_ but have not had time to revert to older versions of that file...
09:05 egonw_ but there are patches in there for support for win platforms...
09:05 egonw_ and multi architectures...
09:05 egonw_ hence the symlink installs...
09:05 egonw_ which makes me think that something is wrong with installing the .so.0.0.bla files itself...
09:06 neksa egonw_: all right, will check Strigi cmake, but that has nothing to do with KDE libs
09:06 egonw_ true
09:07 egonw_ but it must have been a kde devel who edited that file
09:07 egonw_ which list would you ask on then?
09:09 neksa I will go through last week patches applied to strigi
09:11 egonw_ particular those of the cmake files
09:15 test joined #cdk
09:15 Topic for #cdkis now The Chemistry Development Kit (http://cdk.sf.net) | JUnit: 3597 test, 43 fails + 68 errors (3.09%) | CDK 1.0.x TODO: see http://cdk.sf.net/wiki/ | Logs at http://moritz.faui2k3.org/​irclog/out.pl?channel=cdk
09:15 Topic for #cdkis now The Chemistry Development Kit (http://cdk.sf.net) | JUnit: 3597 test, 43 fails + 68 errors (3.09%) | CDK 1.0.x TODO: see http://cdk.sf.net/wiki/ | Logs at http://moritz.faui2k3.org/​irclog/out.pl?channel=cdk
09:15 egonw test
09:16 Nout works
09:16 egonw what works?
09:16 egonw did you get test offline for a sec?
09:16 Nout the text test works :P
09:16 egonw text test?
09:16 Nout yeh, it was off for 5 secs
09:16 egonw how did you do that?
09:16 Nout euh, I didn't do anything
09:17 egonw then what works?
09:17 Nout the sending of the text 'test' from your client to be received by mine ;)
09:17 egonw hehehe
09:17 Nout sorry for the confusion :)
09:29 CIA-1 cdk: egonw * r8825 /trunk/cdk/src/org/openscience/cdk/controller/ (AbstractController2D.java Controller2DModel.java): Given the draw mode constants a DRAWMODE_ prefix, for easier identification.
09:32 egonw Nout: how is the wiki editing getting along?
09:34 Nout just creating some table
09:34 egonw ok, good
09:34 egonw I'm hacking up some infrastructure for the controller
09:41 egonw Nout: do you got a name for the interface?
09:41 egonw IMouseEventRelay maybe?
09:42 Nout hm that sounds like a decent name yeh
09:43 egonw good, might you submit a stub to SVN?
09:43 egonw just the Interface... without any methods yet
09:43 egonw but with license header and copy right line
09:43 Nout in the cdk.controller?
09:44 egonw with your name and email...
09:44 egonw yes, please
09:44 Nout oki
09:44 Nout added a little table to the wiki btw
09:45 egonw ok, thanx
09:45 egonw we'll talk about that after the interface commit
09:47 CIA-1 cdk: nielsout * r8826 /trunk/cdk/src/org/openscience/cdk​/controller/IMouseEventRelay.java: new Interface for both SWING and SWT mouse events
09:48 egonw ok, excellent
09:48 egonw ok, one sec
09:51 CIA-1 cdk: egonw * r8827 /trunk/cdk/src/org/openscience/cdk​/controller/IMouseEventRelay.java: Added correct copyright line; made it an interface.
09:51 egonw Nout: OK, two fixes:
09:51 egonw see r8827
09:53 Nout ack, it's still *too* early ;)
09:53 egonw :)
09:53 CIA-1 cdk: egonw * r8828 /trunk/cdk/src/org/openscience/cdk/controller/ (Controller2DHub.java IController2DModule.java): Added some controller stuff infrastructure.
09:54 egonw ok, here's the story about patch 8828:
09:54 egonw the hub is going to be instantiated by a JFrame or the SWT equivalent...
09:55 egonw a editor JFrame will setMouseEventRelay(aSwingMouseEventRelay)
09:55 egonw and, a SWT-frame will setMouseEventRelay(sSWTMouseEventRelay)
09:55 egonw the hub will also have a Controller2DModel
09:55 egonw which has the info on the current editing mode
09:55 Nout ack
09:56 egonw depending on this mode, the hub will further relay the mouse event to a IController2DModule
09:56 egonw each editing mode, the DRAWMODE_* values... some 20 of them, will only eat that mouse even it finds interesting, and convert it into some edit operation on a IChemFile
09:57 egonw each IController2DModule may extend another...
09:57 egonw so that some 'edit' mouse event are interpreted by all edit modes...
09:57 Nout that seems pretty logical all yeh :)
09:57 egonw such could be the mouse-scroll botton for zoom in and out
09:58 egonw just thinking about that...
09:58 egonw that won't work...
09:58 egonw because each module can only extend one other...
09:58 egonw that is
09:58 egonw the hub will need to have a stack of such general modules
09:59 Nout hm
09:59 egonw I can think of two right now:
09:59 egonw 1. this mouse scroll thing
09:59 egonw 2. the popup by right click
10:01 egonw OK, let's try to populate the IMouseEventRelay
10:01 egonw mouseMove, mouseEntered and MouseExited are clear
10:02 egonw mom, will edit the table a bit...
10:02 egonw ok?
10:02 Nout 0kay sure
10:02 carsten joined #cdk
10:02 egonw Nout: ok, please refresh
10:03 egonw oh, will make another edit
10:04 Nout ack
10:04 Nout ah that reads better yeh :)
10:06 egonw OK, check now
10:06 egonw or now :)
10:06 Nout ack :)
10:08 egonw OK, the next step is to make a similar table for the event thrown
10:08 egonw because Swing and SWT both have different event classes...
10:08 egonw so we also need a IMouseEvent
10:09 egonw Nout: can you make that table too?
10:09 egonw then I'll refactor the DRAWMODE stuff, to use classes instead of integers
10:09 Nout hmm can't we do the translation from screencoordinates to chem-coordinates in the 'ssWTMouseEventRelay things so we don't need the IMouseEvent?
10:10 Nout or am I still too sleepy? :D
10:10 egonw no sounds like a good idea
10:10 egonw please write that up in the wiki
10:10 Nout 0kay
10:15 jpansanel moin
10:15 Nout hi jpansanel
10:17 Nout http://wiki.cubic.uni-koeln.de/cdk​wiki/doku.php?id=jcp_hack_20070902 updated egonw
10:17 lambdabot2 Title: The Chemistry Development Kit: jcp_hack_20070902, http://tinyurl.com/ywojgz
10:18 egonw one comment
10:18 egonw in the current set up, it would be the Hub to do the back transformation...
10:18 egonw as the Hub has access to the rendererModel, which has the zoom etc...
10:18 egonw so, the relay would pass screen coordinates
10:19 egonw does that make sense?
10:19 Nout ah ok, that's cool yeah
10:19 egonw so, in IMouseEventRelay we get something like:
10:20 egonw mouseClickedUp(int screenCoordX, int screenCoordY)
10:20 egonw right?
10:20 Nout hm I think yes
10:21 Nout mouseClickedUp(int screenCoordX, int screenCoordY, int clickCount) was what I was thinking of
10:21 jpansanel egonw : I would add RDF to the  Chemical Structure project
10:22 egonw Nout: what would clickCount do?
10:22 egonw jpansanel: cool!
10:22 egonw jpansanel: let me know if you need help or comments
10:22 Nout number of clicks, in case of a double click
10:22 egonw Nout: I'd rather see those split up, as SWT does
10:22 egonw that will give cleaner code
10:22 Nout oki
10:23 Nout is double click used atm for jchempaint?
10:23 jpansanel egonw : could you give me back the link to your blog post on RDF ?
10:23 egonw Nout: not sure
10:23 egonw Nout: one more reason to have those split up :)
10:23 Nout yeah :)
10:23 egonw Nout: then I would have known
10:24 egonw jpansanel: RDF or RDFa ?
10:24 egonw http://chem-bla-ics.blogspot.com/search?q=RDF
10:24 lambdabot2 Title: chem-bla-ics: Search results for RDF
10:24 egonw and
10:25 egonw http://chemicalblogspace.blogspot.com/search?q=RDF
10:25 lambdabot2 Title: The Chemical blogspace Blog: Search results for RDF
10:25 Nout added mouseClickedUp / mouseClickekDown and Double to wiki
10:26 egonw moved, enters, exit you can do too
10:26 egonw the we come to mouseDragged...
10:28 Nout a mouse drag is basicly pressing mouse.. moving mouse.. releasing mouse right?
10:28 Nout and for lazy programs Swing made mouseDragged :)
10:30 jpansanel egonw : thx
10:31 Nout I suppose we keep track of the mouse location/state in the swt event to recognize if something is being dragged, so we can just use the mouseDragged for swing
10:32 egonw ack
10:34 Nout hm, if some object is being 'moved' over the screen without releasing it is that a drag operation?
10:34 egonw yes
10:35 Nout so drag can be either 'mouseDown - move mouse' and just *should* have an mouseUp at the end
10:38 egonw rigth
10:38 jpansanel egonw : I'll use RDF
10:39 egonw excellent
10:39 jpansanel (you added already RDFa tag into Chemical File website)
10:39 CIA-1 cdk: nielsout * r8829 /trunk/cdk/src/org/openscience/cdk​/controller/IMouseEventRelay.java:
10:40 Nout wiki also updated
10:40 egonw ok,
10:40 egonw I'm progressing with the DrawMode clean up
10:40 egonw had to learn some Java enum magic
10:41 Nout ok
10:42 egonw and I like it very, very much :)
10:42 tashiro_ joined #cdk
10:43 egonw hi tashiro_
10:43 egonw welcome to the JChemPaint hack-a-thon :)
10:43 tashiro_ hi egonw
10:43 egonw tashiro_: have you met Nout already?
10:43 tashiro_ ye; i just read your email
10:43 egonw he's a summer student working on the CDK rendering engine
10:43 tashiro_ No, I do think so
10:44 Nout hi :)
10:44 egonw Nout: tashiro wrote a editor too, proprietary so far
10:44 tashiro_ I stumbled across his blog, I think
10:44 tashiro_ hello Nout
10:46 tashiro_ BTW, I think I can now tell on what we are working on
10:46 egonw tashiro_: we are redesigning JChemPaint
10:46 egonw oh, sounds good
10:46 egonw tell me/us
10:46 egonw tashiro_: note that this channel is logged
10:46 tashiro_ But please don't hang it on the big bell ;-)
10:46 egonw so double check what you can tell and not tell
10:47 tashiro_ ok :-)
10:47 tashiro_ So, I currently write a CDX2Whatever converter
10:48 tashiro_ for example eps pdf etc.
10:48 * egonw just was told to go downstairs for lunch in 5mins
10:48 egonw eps/pdf to MDL molfile kind of thing?
10:48 tashiro_ perhaps later, yes
10:49 Nout hm I'm just being told we'll be leaving around 14:00 already because there is too much todo at siters home :|
10:49 tashiro_ but no ocr
10:49 tashiro_ just using Chemdraw file to create high quality graphics
10:49 egonw Nout: ack
10:49 egonw Nout: we'll try to get as much done now... and continue later this week
10:49 Nout yup
10:50 CIA-1 cdk: egonw * r8830 /trunk/cdk/src/org/openscience/cdk/ (6 files in 3 dirs): Made DRAWMODE a Java enum construct
10:50 Nout uni starting again tommorrow, but should have plenty of time in the afternoon/night/weekend
10:51 egonw Nout: ack
10:51 egonw tashiro_: ah, ic
10:51 tashiro_ So, I told because it might be interesting for you too.
10:51 egonw tashiro_: what about using the CDK for that? we got most in place
10:51 egonw except the CDX reader
10:52 tashiro_ CDX allows far more
10:52 egonw true
10:52 tashiro_ And you have not always a correct chem model
10:52 egonw ah, interesting
10:52 egonw please tell me where we do wrong
10:53 egonw but after lunch...
10:53 tashiro_ ok
10:53 egonw will go have something to eat first now
10:53 egonw will be back in some 20mins
10:53 tashiro_ me too
10:54 Nout ack
10:54 egonw Nout: we'll try to make a first module after lunch, OK?
10:54 egonw see if the current architecture holds...
10:55 egonw bbl
10:55 Nout aye cool
11:10 steinbeck joined #cdk
11:11 steinbeck moin
11:11 Nout yo steinbeck
11:13 steinbeck Nout: followed your work on Renderer via your blog. Looks great already.
11:14 Nout thanks :)
11:14 Nout steinbeck: we're talking a bit/writing about the controller today, see http://wiki.cubic.uni-koeln.de/cdk​wiki/doku.php?id=jcp_hack_20070902
11:14 lambdabot2 Title: The Chemistry Development Kit: jcp_hack_20070902, http://tinyurl.com/ywojgz
11:15 steinbeck Nout: ack. I'll follow
11:17 Nout egonw is at lunch atm, i'll find myself a sandwich aswell.. brb
11:30 Nout bleh parents wanting me to have a lunch with whole fam pff
11:30 * Nout hopes to be back within 20 min
11:37 JontheA joined #cdk
11:38 JontheA joined #cdk
11:40 * egonw is back
11:41 jonalv joined #cdk
11:42 egonw steinbeck: I think I got backups of the homepages on almost: cdk, jchempaint, jrg,
11:44 egonw steinbeck: just 60MB
11:44 egonw I'll check what the limit is of CDK shell at SF
11:45 egonw if OK, I'll copy it there
11:47 steinbeck_ joined #cdk
11:47 egonw [2007-09-02 13:42:00] <egonw> steinbeck: I think I got backups of the homepages on almost: cdk, jchempaint, jrg,
11:47 egonw [2007-09-02 13:44:10] <egonw> steinbeck: just 60MB
11:47 egonw [2007-09-02 13:44:29] <egonw> I'll check what the limit is of CDK shell at SF
11:47 egonw [2007-09-02 13:44:39] <egonw> if OK, I'll copy it there
11:49 CIA-1 cdk: egonw * r8831 /trunk/cdk/src/org/openscience/cdk/renderer/progz/ (IJava2DRenderer.java Java2DRenderer.java TestRenderer.java): Added missing license headers.
11:51 CIA-1 cdk: egonw * r8832 /trunk/cdk/src/org/openscience/cd​k/renderer/progz/TestEditor.java: Added class for testing the new editor set up.
11:53 tashiro_ egonw
11:53 egonw yes?
11:53 tashiro_ why do you use Graphics2D for IRenderer2D
11:53 tashiro_ ?
11:54 egonw there are some things that Graphics does not have
11:54 egonw like antialiasing
11:54 tashiro_ I thought that IRenderer2D should be an abstration layer to use SWT also
11:54 egonw to some extend yes
11:54 egonw but SWT 2D drawing API is quite different
11:54 tashiro_ Yes, in some aspects
11:54 egonw we could add a chem draw API layer
11:55 egonw but for now we'll convert the AWT image to a SWT image
11:55 egonw unless you can contribute a 2D chem drawing API
11:55 tashiro_ You draw into an AWT image and then you convert it to a SWT image?
11:56 egonw yes
11:56 tashiro_ ohh
11:56 egonw mom, let me check...
11:57 egonw see http://bioclipse.svn.sf.net/svnroot/bioclipse/trun​k/playground/plugins/net.bioclipse.cdk.progz/src/n​et/bioclipse/plugins/views/Java2DRendererView.java
11:57 lambdabot2 http://tinyurl.com/27d7a7
11:57 egonw but that code does not quite work yet
11:57 egonw the dimension of the SWT widget is not yet propagated...
11:57 egonw resulting in nothing shown visibly
11:57 egonw it's a bit dirty...
11:58 egonw but the best we can do at this moment, I think...
11:58 egonw we'll need another student to get that part properly worked out
11:58 tashiro_ Hmm, okay. This is not cheap, but works
11:59 tashiro_ I k
11:59 tashiro_ think currently about a similar abstraction layer
11:59 tashiro_ for my own project
12:00 egonw let's keep each other informed...
12:00 tashiro_ I use a different approach. For all things I use an abstract path. A line is a path. Texts are closed paths etc.
12:00 egonw a community appraoch would be best
12:00 * Nout is back too now
12:01 egonw how do you define 'path' ?
12:01 egonw joined #cdk
12:01 tashiro_ A path is like a SWT Path or a AWT GeneralPath
12:01 egonw ok, would have to look at that
12:02 tashiro_ If you have only paths then the abstraction layer gets really small
12:02 egonw Nout: I uploaded a TestEditor to renderer.progz
12:02 Nout noticed yeh egonw, just read back :)
12:02 egonw where we can do the ControllerHub stuff...
12:02 egonw Nout: how time do you have left?
12:02 egonw tashiro_: indeed
12:02 Nout well, don't really know
12:02 Nout might be 10 min, might be an hour
12:02 egonw Nout: ok, let's continue than as if we have all afternoon
12:02 egonw and see where that gets us...
12:03 egonw Nout: might you make a IMouseEventRelay impl for Swing?
12:03 egonw first an empty class, with empty methods...
12:03 Nout oki, yeh
12:03 egonw then I can hack up the TestEditor to use the Controller2DHub
12:04 tashiro_ egonw: BTW, have you also evaluated GEF for an editor?
12:04 egonw no
12:04 egonw that might actually be better than native SWT
12:04 egonw I know of the existence...
12:04 egonw Miguel Rojas used it for his Bioclipse plugin
12:04 tashiro_ Its a really good framework, but has some backdraws
12:05 egonw important is that we keep compatibility with Swing...
12:05 egonw we need that for the applet version of JCP
12:05 tashiro_ Nice concepts
12:05 tashiro_ Yes, GEF has also an abstraction layer.
12:06 egonw I might look into that... but not now
12:06 tashiro_ ok
12:06 egonw tashiro_: btw, I am making progress with atom typing
12:06 egonw tashiro_: I'm setting up a new atom type list, super set of the lists we had in CDK
12:07 tashiro_ For what do you use atom types?
12:07 CIA-1 cdk: nielsout * r8833 /trunk/cdk/src/org/openscience/cdk/​renderer/progz/Java2DRenderer.java: minor changes here and there
12:08 tashiro_ MM?
12:08 egonw that's one application
12:08 egonw hydrogen adding, double bond deduction, ...
12:08 egonw possibly the SDF in the future...
12:10 CIA-1 cdk: egonw * r8834 /trunk/cdk/src/org/openscience/cd​k/renderer/progz/TestEditor.java: Cleaned up code, prior to refactoring to use Controller2DHub.
12:10 egonw SDG that is
12:11 egonw not SDF
12:12 tashiro_ Depending atom types not on the context and are useless in a different context?
12:13 egonw not all applications will use all atom type features
12:14 tashiro_ ok
12:16 egonw Nout: around?
12:16 Nout yup
12:16 egonw I just realized that we need to pass the Controller2DHub to the IMouseEventRelay...
12:17 egonw or so...
12:17 Nout hmn
12:18 Nout I just figured implementing IMouseEventRelay for both swing and swt would be weird.. as it should be the other way around somewhat
12:18 Nout ie.. get the Swing/swt input, and call the correct IMouseEventRelay method for that right?
12:18 egonw mom, let me commit the TestEditor changes...
12:19 Nout so imo there should be one implementation of IMouseEventRelay which isn't depending on swt/swing
12:19 egonw the relay only converts mouse event calls
12:19 egonw does not act on them...
12:23 Nout hmz
12:24 CIA-1 cdk: egonw * r8835 /trunk/cdk/src/org/openscience/cd​k/renderer/progz/TestEditor.java: Niels, check line 73. It's outcommented now, pending your Swing relay implementation.
12:24 * Nout looks
12:28 Nout yeh.. so SwingMouseEventRelay is just implementing the MouseListener things
12:29 egonw yes, and maybe one or two other Swing MouseListener interfaces
12:29 egonw I saw something about MouseScrollListeners
12:29 egonw scroll button is useful for zooming in and out
12:30 Nout MouseAdapter has it all implemented
12:30 egonw but, I guess the hover over functionality is something we should try first...
12:30 egonw what is MouseAdapter?
12:30 Nout http://java.sun.com/javase/6/docs/a​pi/java/awt/event/MouseAdapter.html
12:30 lambdabot2 Title: MouseAdapter (Java Platform SE 6), http://tinyurl.com/2ynrqv
12:30 Nout it's a class which has constructers for ~all mouse things
12:31 Nout so you only need one listener class
12:31 egonw right... SwingMouseEventRelay should extend this abstract class
12:31 Nout yeh
12:31 Nout bleh, my time is up :/
12:32 egonw OK, please commit whatever you have now
12:32 Nout well what I have in the swingmouseventrelay now is wrong, so no need to commit that ;)
12:33 egonw OK, I will hack something up then...
12:33 Nout^gone ok good luck
12:33 Nout^gone i'll be back late tonight prolly ;)
12:35 egonw oh, crap... I'm with you on that interface question earlier...
12:35 egonw it's indeed the other way around...
12:35 egonw Nout^gone: we were saying the same thing...
12:35 egonw will fix that
13:01 egonw joined #cdk
13:02 egonw my X11 session crashed
13:24 CIA-1 cdk: egonw * r8836 /trunk/cdk/src/org/openscience/cdk/ (3 files in 2 dirs): Added a draft Swing adapter
13:36 CIA-1 cdk: egonw * r8837 /trunk/cdk/src/org/openscience/cdk/renderer/progz/ (IJava2DRenderer.java Java2DRenderer.java TestRenderer.java): Matched IJava2DRenderer API with IMouseEventRelay: take two ints as screen coordinates
13:48 jbrefort joined #cdk
14:04 CIA-1 jmol: hansonr * r8190 /trunk/Jmol/src/org/jmol/ (3 files in 3 dirs): 11.3.14 - minor adjustment for color scheme definition
14:15 CIA-1 jmol: hansonr * r8191 /trunk/Jmol/src/org/jmol/util/ColorEncoder.java: 11.3.14 - minor adjustment for color scheme definition
14:22 CIA-1 cdk: rajarshi * r8838 /branches/cdk-1.0.x/tools/nightly.py: Added latest version of nightly to this branch
14:56 egonw Yes !!!!
14:56 egonw the architecture works :)
15:01 CIA-1 cdk: egonw * r8839 /trunk/cdk/src/org/openscience/cdk​/controller/IChemModelRelay.java:
15:01 CIA-1 cdk: Added an interface to extract model info from the Controller2DHub: this ensures
15:01 CIA-1 cdk: that the ControllerModule can only make abstract calls on the model. This is
15:01 CIA-1 cdk: basically what Tashiro and I were talking about earlier in the chat channel.
15:01 CIA-1 cdk: Though the API will likely be fairly large, it does make a better separation
15:01 CIA-1 cdk: between controller and model
15:02 CIA-1 cdk: egonw * r8840 /trunk/cdk/src/org/openscience/cdk/renderer/​progz/DumpClosestObjectToSTDOUTModule.java: Added a first demo IController2DModule
15:03 CIA-1 cdk: egonw * r8841 /trunk/cdk/src/org/openscience/cdk/c​ontroller/IController2DModule.java: Defined the interface. All mouse events on this level act on world coordinate, just the way we like it
15:05 CIA-1 cdk: egonw * r8842 /trunk/cdk/src/org/openscience/cdk​/controller/Controller2DHub.java: Functionalized the hub: it now relays messages between the players
15:06 CIA-1 cdk: egonw * r8843 /trunk/cdk/src/org/openscience/cd​k/renderer/progz/TestEditor.java: The demo: hovering events are throw to STDOUT by the DumpClosestObjectToSTDOUTModule :)
15:06 egonw time for something to drink
15:30 egonw updated the wiki page at: http://wiki.cubic.uni-koeln.de/cdk​wiki/doku.php?id=jcp_hack_20070902
15:30 lambdabot2 Title: The Chemistry Development Kit: jcp_hack_20070902, http://tinyurl.com/ywojgz
15:31 egonw more than 50% done, not bad :)
15:31 egonw ==== Hack-a-thon finished ====
15:53 CIA-1 cdk: rajarshi * r8844 /trunk/cdk/tools/nightly.py: Added a runtime paraeter for Ant libs
16:06 egonw dinner time
16:28 carsten joined #cdk
16:43 CIA-1 cdk: shk3 * r8845 /branches/cdk-1.0.x/src/org/openscience/cdk/appl​ications/jchempaint/JChemPaintEditorPanel.java: image no longer upside down
16:44 CIA-1 cdk: shk3 * r8846 /trunk/cdk/src/org/openscience/cdk/applicat​ions/jchempaint/JChemPaintEditorPanel.java: image no longer upside down
17:51 * egonw is going to relocate to a different machine
18:10 egonw joined #cdk
18:24 egonw_ joined #cdk
18:55 shk3 joined #cdk
18:56 shk3 hi egonw
18:56 egonw hi shk3
18:56 egonw saw your patches...
18:56 shk3 just submitting cmlspect paper comments
18:56 egonw good
18:56 shk3 did you have a look at the toc entry
18:56 shk3 ?
18:56 egonw yes
18:56 shk3 should be ok, I think
18:56 egonw yes, thought so too
18:56 shk3 great
18:57 shk3 do you have an idea how long it will take for the final version?
18:58 egonw two weeks or so
18:58 shk3 btw, this CONTOURS, SVG, etc. was in peter's text
18:59 shk3 I asked for the meaning several times
18:59 shk3 it can go
18:59 shk3 I think
18:59 egonw yes, seemed weird
18:59 egonw no idea what it was supposed to say
18:59 egonw did not look like a full sentence anyway
19:05 shk3 I am a bit struggling with the sort of English they want in the SI
19:06 shk3 with all these () and []
19:06 egonw It looked quite elaborate
19:07 shk3 unfortunately the JSpecView things need to be changed - so I have to change it
19:07 egonw how so?
19:07 egonw this is not the time for that...
19:07 egonw you can only make minor changes at this moment
19:07 egonw like small typo's
19:08 shk3 hm
19:08 shk3 JSpecView now considers namespaces, so change name to .cml is no longer needed
19:08 shk3 says robert
19:08 egonw no worry about that
19:08 egonw software always evolves...
19:08 egonw he should have made that patch earlier...
19:08 egonw it's too late for this article
19:08 shk3 so I leave it unchanged?
19:08 egonw but really nothing to worry about...
19:08 egonw yes
19:09 egonw the type setting is done...
19:09 egonw they do not like changes which mean longer or smaller sentences
19:09 egonw there is some flexibility... but not much
19:09 egonw no reader will complain about it...
19:11 shk3 but robert will...
19:18 * Nout^gone is back
19:18 Nout so the new controller interface works.. nice egonw!
19:18 egonw yes, I'm quite happy with the outcome
19:18 egonw read my blog
19:19 egonw I summarized the new architecture there...
19:19 Nout ack will read that as soon as i'm done with all the new e-mails ;)
19:19 egonw :)
19:20 egonw shk3: please let me know if you are interested in our today's work too
19:20 shk3 I trust you :-)
19:21 shk3 do you think this is ok:
19:21 shk3 because it is inside a <spectrum> element
19:21 shk3 or should it be
19:21 shk3 inside of a
19:21 shk3 ?
19:22 egonw shk3: mom, will be back in 5 minutes
19:34 shk3 Nout?
19:35 Nout shk3?
19:35 shk3 do you think "inside a" is correct English?
19:35 shk3 or must it be "inside of a" or so
19:35 shk3 ?
19:35 Nout hmm i've no clue
19:35 Nout both sound ok to me
19:35 shk3 will ask some web pages
19:36 Nout 'inside a' gives 35M google hits, 'inside of a' just 2M
19:37 egonw shk3: my wife says inside a
19:37 shk3 ok
19:37 egonw 'the inside of a house' is something else
19:37 shk3 ok
19:37 shk3 going to submit
19:38 egonw joined #cdk
19:38 shk3 done
19:39 shk3 so what about your work?
19:39 shk3 hm, terrifying question
19:39 egonw joined #cdk
19:45 egonw shk3: where did you sent it?
19:46 shk3 the comments?
19:47 shk3 I used that form on this paragonplus system
19:47 egonw oh, ic...
19:47 egonw no I asked if you could forward roberts email with comments...
19:47 egonw you said 'done' so I thought you had sent it...
19:48 shk3 missed that, sorry
19:48 shk3 still interested?
19:49 egonw yes
19:50 shk3 done
19:51 CIA-1 jmol: hansonr * r8192 /trunk/Jmol/ (10 files in 5 dirs):
19:51 CIA-1 jmol: version=11.3.14
19:51 CIA-1 jmol: # new feature: fully customizable popup menu -- see file jmol.mnu
19:51 CIA-1 jmol: #
19:51 CIA-1 jmol: # load menu jmol.mnu
19:51 CIA-1 jmol: #
19:51 CIA-1 jmol: # largely untested
19:52 egonw shk3: OK, I think it's fine... removing a full sentence is outside the scope of correcting a proof
19:56 CIA-1 jmol: nicove * r8193 /trunk/Jmol-FAH/projects/ (p2963.xyz.gz p3850.xyz.gz): Folding@Home
20:00 CIA-1 jmol: nicove * r8194 /trunk/Jmol/src/org/jmol/pop​up/PopupResourceBundle.java: Warning
20:21 CIA-1 jmol: nicove * r8195 /trunk/Jmol/src/org/jmol/translation/Jmol/ (11 files): Update of .po files
20:23 CIA-1 jmol: nicove * r8196 /trunk/Jmol/src/org/jmol/viewer/Jmol.properties: Version
20:29 Nout egonw read your blog and checked the code a bit.. seems all kinda coolish! :)
20:29 Nout I guess I can go further implement SwingMouseEventRelay to start with?
20:36 egonw yes, for example...
20:36 egonw most work will be in porting the AbstractController2D and SimpleController2D
20:36 egonw because that will require to extend this IChemModelRelay thingy
20:42 Nout ack
20:44 egonw but there are a few simple 'draw' modes
20:44 egonw like for moving things around
20:45 egonw btw, those modules should go into cdk.controller.module
20:46 Nout oki
21:27 egonw joined #cdk
22:31 neksa_ joined #cdk
22:46 CIA-1 jmol: hansonr * r8197 /trunk/Jmol/src/org/jmol/ (3 files in 3 dirs): (log message trimmed)
22:46 CIA-1 jmol: version=11.3.15_dev
22:46 CIA-1 jmol: # new feature: fully customizable popup menu -- see file jmol.mnu
22:46 CIA-1 jmol: #
22:46 CIA-1 jmol: # load menu jmol.mnu
22:46 CIA-1 jmol: #
22:46 CIA-1 jmol: # applet parameter param=menuFile value="jmol.mnu"
23:08 LaserJock joined #cdk

| Channels | #cdk index | Today | | Search | Google Search | Plain-Text | summary