#jogamp @ irc.freenode.net - 20131122 05:05:54 (UTC)


20131122 05:05:54 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20131121050553.html
20131122 05:05:54 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20131122050554.html
20131122 08:14:14 * eclesia (husky@anon) has joined #jogamp
20131122 08:26:29 * monsieur_max (~maxime@anon) has joined #jogamp
20131122 09:12:18 * xranby (~xranby@anon) Quit (Read error: Operation timed out)
20131122 09:29:42 * xranby (~xranby@anon) has joined #jogamp
20131122 09:40:27 * hija (~hija@anon) Quit (Quit: hija)
20131122 09:48:53 * xranby (~xranby@anon) Quit (Ping timeout: 245 seconds)
20131122 09:51:32 * xranby (~xranby@anon) has joined #jogamp
20131122 10:09:37 * hija (~hija@anon) has joined #jogamp
20131122 10:37:38 * xranby (~xranby@anon) Quit (Ping timeout: 245 seconds)
20131122 10:40:44 * xranby (~xranby@anon) has joined #jogamp
20131122 10:42:59 * sgothel (~sven@anon) has joined #jogamp
20131122 12:57:54 <hija> I am going crazy here... every time I change something in jogl, save and run it builds gluegen!
20131122 12:57:58 <hija> any ideas?
20131122 12:59:20 <hija> this is in eclipse
20131122 13:09:05 <sgothel> disable auto-build
20131122 13:09:24 <sgothel> I solely build manually
20131122 13:09:37 <sgothel> however .. it shall not rebuild gluegen all the time .. hmm
20131122 13:11:34 <masterzen> sgothel: I will send you the logcat in the afternoon as soon as I can get access to the given device
20131122 13:26:10 <hija> it does not rebuild jogl
20131122 13:26:13 <hija> only gluegen
20131122 13:26:38 <hija> I just need a pointer as to the possible location of the problem
20131122 13:45:59 * hija (~hija@anon) Quit (Quit: hija)
20131122 15:58:28 * xranby (~xranby@anon) Quit (Ping timeout: 245 seconds)
20131122 16:01:55 * xranby (~xranby@anon) has joined #jogamp
20131122 16:25:25 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20131122 16:28:53 * bbbruce (~bx@anon) Quit (Ping timeout: 252 seconds)
20131122 17:04:10 * eclesia (husky@anon) has left #jogamp
20131122 17:20:23 <sgothel> openjdk/icedtea-web AWT-EDT issues ..
20131122 17:20:34 <sgothel> AWT-EventQueue-0, isAWT-EDT false ; AWT-EventQueue-1, isAWT-EDT true
20131122 17:20:44 <sgothel> somebody here knows about it ?
20131122 17:46:01 * hija (~hija@anon) has joined #jogamp
20131122 17:47:24 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=910
20131122 17:48:52 <hija> sgothel: may I bombard you with some questions if you have the time?
20131122 17:50:40 <sgothel> go ahead
20131122 17:53:07 <hija> here or pm?
20131122 17:53:42 <sgothel> as you wish
20131122 17:53:48 <hija> ok
20131122 17:54:08 <sgothel> if it is private .. private .. otherwise .. here is fine, but you choose :)
20131122 17:54:48 <hija> 1. as long as I have a reason to change something while fixing a bug and as long as it doesnt break anything else I can change as many lines as I want?
20131122 17:54:53 <hija> and as many features?
20131122 17:55:41 <sgothel> thats already a big IFF .. but yes, thats sort of the idea - sure, don't attach another full blown OS :)
20131122 17:55:49 <hija> haha
20131122 17:56:02 * hharrison (~chatzilla@anon) has joined #jogamp
20131122 17:56:07 <hija> keep each commit to a limited perspective?
20131122 17:56:22 <sgothel> don't you worry, I will complain if something is odd .. and we discuss then
20131122 17:56:26 <hija> ok
20131122 17:56:26 <sgothel> that is desired
20131122 17:56:38 <sgothel> sometimes .. it doesn't work w/o too much work ..
20131122 17:56:56 <sgothel> so .. sure, try to keep it semantical intact if possible
20131122 17:57:07 <sgothel> i.e. one feature/fix per patch would be great
20131122 17:57:34 <hija> 2. In the class I am trying to fix you are extending the "Canvas" class from swt
20131122 17:57:39 <sgothel> it's me who fails here sometimes, especially when not committing often enough .. or something comes inbetween
20131122 17:57:47 <sgothel> yup
20131122 17:58:00 <hija> from searching in the swt source the canvas class seems to be a thin layer over composite
20131122 17:58:00 <hharrison> And if you have to move stuff around, but can move it first without changing functionality...those are nice as separate bits
20131122 17:58:27 <hharrison> sgothel: I'll have to tech you how to use git add -p one of these days ;-)
20131122 17:58:39 <sgothel> :)
20131122 17:58:48 <hija> so should I switch the extension to Composite instead of Canvas?
20131122 17:59:08 <hija> it does not seem to break anything, but I probably need to test more
20131122 17:59:19 <sgothel> whats the benefit ?
20131122 17:59:41 <hija> removing one layer of extensions
20131122 17:59:44 <sgothel> if you have a technical reason ..
20131122 17:59:54 <hija> there is no bug there
20131122 17:59:55 <sgothel> SWT Canvas is an extension ?
20131122 18:00:02 <hija> yes of the SWT Composite
20131122 18:00:15 <sgothel> so it's in SWT core .. but a derived class ..
20131122 18:00:20 <hija> yes
20131122 18:00:23 <sgothel> well .. I have no opinion here :)
20131122 18:00:43 <hija> sorry I meant it extends another class not "its in a different plug-in / extension"
20131122 18:00:48 <sgothel> sure you will break things if others use it like: Canvas c = new NewtCanvasSWT(..);
20131122 18:00:59 <hija> hmm
20131122 18:01:06 <hija> that makes sense
20131122 18:01:09 <sgothel> plus .. we call it Newt*Canvas*SWT() :)
20131122 18:01:26 <hija> :P
20131122 18:01:41 <sgothel> if it's not too important, maybe leave that decision for later, i.e. 2.2.0
20131122 18:02:02 <sgothel> maybe send an email to forum .. etc - again: I don't care too much here
20131122 18:02:19 <sgothel> have you sent me your email for wiki ? so you can become the SWT maintainer ?
20131122 18:02:32 <hija> no, I prefer the semantic connection and the possibilty of Canvas c = NewtCanvasSWT()
20131122 18:02:33 <sgothel> for this task: best to focus on the bug fix 1st ..
20131122 18:02:55 <hija> ok
20131122 18:03:00 <hija> so for the bug
20131122 18:03:05 <sgothel> Composite is a looong word .. right :)
20131122 18:03:23 <hija> I need to submit a commit with the changes in the class and a new test
20131122 18:03:31 <sgothel> would be great!
20131122 18:03:52 <sgothel> try to be verbose in the description
20131122 18:04:38 <hija> I don't need to make any changes any other parts of the code, just because its a Mac OSX bug
20131122 18:04:40 <hija> ?
20131122 18:04:49 <hija> (like in a build.xml) file?
20131122 18:05:00 <sgothel> and magic stuff in source code - pls add some description/comments
20131122 18:05:12 <sgothel> sure not
20131122 18:05:13 <hija> in the source class?
20131122 18:05:39 <hija> ok so I just use NativeWindowFactory.getNativeWindowType(false) to get osx
20131122 18:05:42 <sgothel> comments in source code - if it's 'magic' - yes
20131122 18:05:55 <sgothel> as it is there already, as you pointed out
20131122 18:06:01 <hija> yes
20131122 18:06:05 <hija> if its magic?
20131122 18:06:12 <hija> if it is no explainable in that spot?
20131122 18:06:16 <sgothel> 'magic' here means: something not expected .. or a workaround for another bug .. etc
20131122 18:06:21 <hija> hmm
20131122 18:06:27 <hija> ok good to know
20131122 18:06:45 <sgothel> b/c next year when you fix it again, you will ask yourself 'heck, what have I done here' :)
20131122 18:06:46 <hija> lets see
20131122 18:06:52 <hija> haha yes
20131122 18:07:16 <sgothel> so we like to add 'FIXME' or 'TODO' comments
20131122 18:07:23 <hija> so the last time you asked me to add some annotations in the bug report for anyone else to fix it, I suppose you just meant some notes about what to do?
20131122 18:07:29 <sgothel> which usually gets marked in the IDE
20131122 18:07:49 <sgothel> right .. and your findings in general
20131122 18:08:01 <sgothel> so nothing gets lost
20131122 18:08:09 <hija> I mean, its not like a special button or form or type of text or anything
20131122 18:08:11 <hija> just comments
20131122 18:08:35 <sgothel> i.e. I try to document my tasks in a way, that if I die right now - you should be able to pick up the job ..
20131122 18:08:43 <hija> :P
20131122 18:08:47 <hija> fair enough
20131122 18:09:00 <sgothel> sure - can't make it all the time, but we try
20131122 18:09:01 <hija> I am (obviously) pretty new to the whole process
20131122 18:09:14 <sgothel> this actually goes from our server setup down to code
20131122 18:09:26 <sgothel> well - I am a bit anal here
20131122 18:09:38 <sgothel> mostly serving myself .. memory is limited
20131122 18:10:11 <sgothel> for example, we are able to pick a release / code / bug-number in no time, when we know a keyword
20131122 18:11:03 <sgothel> crossref git-sha1 <-> bug <-> release
20131122 18:11:26 <sgothel> so usually I add a bug before I make a commit
20131122 18:11:39 <sgothel> then add that bug to the release/roadmap page
20131122 18:12:00 <sgothel> when you work in security related environments .. you will get used to that
20131122 18:12:21 <hija> seems like a safe process
20131122 18:12:24 <sgothel> it sucks 1st - but later you are glad to have so many pointers :)
20131122 18:13:25 <sgothel> so I have no problem for example w/ Harvey or Mark or Xerxes .. taking over at this point!
20131122 18:14:05 <sgothel> hehe .. somebody might be scared now :)
20131122 18:14:11 <hija> :P
20131122 18:14:52 <hharrison> ;-)
20131122 18:14:59 <sgothel> so we are good ? more questions ?
20131122 18:15:52 <hija> I think that's all
20131122 18:16:40 <sgothel> great - happy that you contribute, thank you!
20131122 18:16:47 <hija> My main concern (asking too many noob question) has been resolved
20131122 18:16:57 <sgothel> that shall be of no concern!
20131122 18:17:28 <sgothel> better ask twice than be sorry later :) and we are here to help ofc
20131122 18:17:41 <hija> great!
20131122 18:18:21 <sgothel> (even though sometimes I start to sound harsh .. but you may understand when you see it - especially for circular arguments :)
20131122 18:18:49 <hija> I don't expect a soft treatment :P
20131122 18:18:59 <hija> I expect to understand how things are done properly
20131122 18:19:39 <sgothel> re Bug 910 - seems we have an AWT-EDT bug in icedtea web - Xerxes will hopefully pick it up w/ the team .. will CC him on it
20131122 18:19:49 <sgothel> have to think about a workaround .. hmm
20131122 18:21:23 <hija> oh last question if I understood correctly: newt is just to display the opengl window and graph is for making a user interface right?
20131122 18:21:40 <sgothel> yes
20131122 18:22:01 <sgothel> NEWT could be used for anything though, only GLWindow of NEWT is GL centric
20131122 18:22:23 <hija> for anything like?
20131122 18:22:41 <sgothel> well .. it's a simple windowing toolkit .. only
20131122 18:22:51 <sgothel> unlike AWT w/o all the UI stuff etc
20131122 18:23:20 <sgothel> if you must create another binding .. lets say D3D .. you could use NEWT as well
20131122 18:23:37 <sgothel> or use NEWT w/ LWJGL .. :)
20131122 18:23:50 <hija> and graph renders ui elements in the newt window?
20131122 18:24:00 <sgothel> graph uses JOGL ..
20131122 18:24:17 <sgothel> can use any NativeWindow .. which NEWT impl. but also GLCanvas .. etc
20131122 18:24:35 <sgothel> so NativeWindow/NativeSurface is our bottom windowing interface
20131122 18:24:43 <sgothel> which is used by JOGL
20131122 18:24:52 <sgothel> NEWT impl. it .. besides GLCanvas .. etc
20131122 18:24:56 <sgothel> (AWT or SWT)
20131122 18:25:21 <sgothel> http://jogamp.org/jogl/doc/uml/html/fig128069.png
20131122 18:25:33 <hija> scary
20131122 18:25:36 <sgothel> looks at GLDrawable!
20131122 18:26:04 <sgothel> http://jogamp.org/wiki/index.php/Jogl_Tutorial
20131122 18:26:10 <sgothel> http://jogamp.org/jogl/doc/NEWT-Overview.html
20131122 18:26:41 <hija> yeah I was reading those but I was more wondering ok, so you switch to newt
20131122 18:26:45 <hija> how do you make the gui?
20131122 18:27:27 <sgothel> both shall be separated - when 2.1.3 is done, I have time to update graph .. to make real UIs ..
20131122 18:27:29 <hija> and I guess no "platform native" gui unless you use swt/awt/swing?
20131122 18:27:37 <sgothel> there is also NiftyGUI .. etc
20131122 18:27:42 <sgothel> yes
20131122 18:28:21 <hija> then why not just make the gui with jogl?
20131122 18:28:54 <sgothel> graph _is_ using JOGL
20131122 18:29:48 <sgothel> the UI part just exist as unit tests .. core graph is about rendering curves via GPU and supporting TTF fonts
20131122 18:30:05 <sgothel> the graph-UI will be published later in a separate jar file
20131122 18:30:25 <sgothel> https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.2.0
20131122 18:30:32 <hija> ok now its clear
20131122 18:30:37 <sgothel> https://jogamp.org/bugzilla/showdependencytree.cgi?id=803&hide_resolved=0
20131122 18:30:44 <sgothel> Graph Cleanup and UI
20131122 18:34:31 <hija> maybe i'll do a tutorial when these basic elements they are out :P
20131122 18:37:11 <hija> is "TestGearsES2NewtCanvasSWTSashForm" a good name for a test?
20131122 18:37:56 <hija> oh another one.
20131122 18:40:17 <hija> Because the specific bug deals with the offset of the window within SWT elements should the test just display the window with the proper offset or assert something about the window like the x,y position not being zero anymore?
20131122 18:40:57 <sgothel> guess you can remove GearsES2 :)
20131122 18:41:16 <sgothel> TestBugxxxNewtCanvasAWTSash
20131122 18:41:29 <hija> I could test whether the window is at an absolute position but it seems to dependent on the SWT elements
20131122 18:41:56 <sgothel> I guess you need to make your decision here .. you are the expert
20131122 18:43:30 <hija> I guess there is no absolute here
20131122 18:43:55 <hija> and no truly strict test
20131122 18:44:49 <hija> I can check whether the opengl window has left the edge of the window but it won't fail if its not at the right position
20131122 18:45:46 <hija> I am trying to catch a possible future bug here I guess
20131122 18:45:49 <hija> unnecessary
20131122 18:58:12 <hija> another quick one
20131122 18:59:38 <hija> how do you trim the newt opengl window? I mean if it is bigger than what its in?
20131122 19:21:09 <sgothel> no such thing .. since content and NEWT window is independent
20131122 19:21:22 <sgothel> application can setSize(..) a newt window .. sure
20131122 19:21:43 <sgothel> so you decide who defines window size
20131122 19:22:22 * [Mike] (~Mike]@anon) has joined #jogamp
20131122 19:25:28 * monsieur_max (~maxime@anon) has joined #jogamp
20131122 20:04:53 * hija (~hija@anon) Quit (Quit: hija)
20131122 21:58:30 * sgothel (~sven@anon) Quit (Ping timeout: 246 seconds)
20131122 21:59:25 * sgothel (~sven@anon) has joined #jogamp
20131122 22:17:45 * sgothel (~sven@anon) Quit (Ping timeout: 246 seconds)
20131122 22:18:50 * sgothel (~sven@anon) has joined #jogamp
20131122 22:23:27 * sgothel (~sven@anon) Quit (Ping timeout: 272 seconds)
20131122 22:24:30 * sgothel (~sven@anon) has joined #jogamp
20131122 22:38:30 * hija (~hija@anon) has joined #jogamp
20131122 22:43:58 <sgothel> !whoami
20131122 22:44:03 <sgothel> :)
20131122 22:47:37 * sgothel (~sven@anon) Quit (Quit: Leaving.)
20131122 22:52:53 * sgothel (~sgothel@anon) has joined #jogamp
20131122 22:52:53 * ChanServ sets mode +v sgothel
20131122 23:09:56 * monsieur_max (~maxime@anon) has left #jogamp
20131122 23:10:54 * sgothel (~sgothel@anon) Quit (Quit: Leaving.)
20131122 23:11:06 * sgothel (~sgothel@anon) has joined #jogamp
20131122 23:11:06 * ChanServ sets mode +v sgothel
20131122 23:11:22 * sgothel (~sgothel@anon) Quit (Client Quit)
20131122 23:13:03 * sgothel (~sgothel@anon) has joined #jogamp
20131122 23:13:03 * ChanServ sets mode +v sgothel
20131122 23:14:07 <sgothel> //mode $me +x
20131122 23:14:19 <sgothel> doesn't work .. IRC newbie :)
20131122 23:14:25 <sgothel> ^^hide host
20131122 23:19:19 * sgothel (~sgothel@anon) Quit (Quit: Leaving.)
20131122 23:19:33 * sgothel (~sgothel@anon) has joined #jogamp
20131122 23:19:33 * ChanServ sets mode +v sgothel
20131122 23:28:19 * sgothel (~sgothel@anon) Quit (Changing host)
20131122 23:28:19 * sgothel (~sgothel@anon) has joined #jogamp
20131122 23:28:46 <hharrison> We have a winner!
20131122 23:29:03 <sgothel> :)
20131122 23:29:14 <sgothel> my new cloak .. or ?
20131122 23:29:18 <hharrison> yeah
20131122 23:29:56 <sgothel> for everybody else: http://freenode.net/faq.shtml#cloaks -> just ask @ #freenode w/ your registered nickserv account
20131122 23:31:17 <sgothel> I didn't realize .. there are really people doing this :)
20131122 23:31:34 <sgothel> browsing through the docs .. 'where is that command' ?
20131123 00:29:38 * hharrison (~chatzilla@anon) Quit (Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131118212339])
20131123 01:58:48 * kermyt (~kermyt@anon) Quit (Ping timeout: 272 seconds)
20131123 02:04:05 * kermyt (~kermyt@anon) has joined #jogamp
20131123 03:17:46 * hharrison (~chatzilla@anon) has joined #jogamp
20131123 05:05:54 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20131123050554.html