Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 20th, 2009, 03:31 AM
u_hafeez u_hafeez is offline
-Python-Perl-C-Asm-kid
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Bradford,London,Portsmouth
Posts: 197 u_hafeez Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 Day 10 h 29 m 36 sec
Reputation Power: 0
Jahshaka

I am intrested in the above mentioned project and would love to start understanding the code.

They have a trac based project management site at:
http://trac.jahshaka.org/browser

Quote:
The structure of the tree is as follows:

|-- jahplayer
|-- jahtools
| `-- jplayer
`-- jahwidgets
|-- src
| `-- qt3
| |-- python
| |-- themes
| | `-- superg
| | |-- pixmaps
| | `-- style
| |-- widgets
| `-- wrapper
`-- test

The jahplayer, jahshaka and jahtools directories contain python only. The jahwidgets directory provides a custom python module and designer plugin per qt version wrapped (currently only qt3 is supported).



But it seams they are using C++ variant (Visual Studio or BOOST IDE) rather than python.

Am i missing something ?

What would you say is the min req. foundation knowledge to contribute to such a project?

It seams for one, that I don't currently have is QT3


e.g. http://trac.jahshaka.org/browser/trunk/jahwidgets/src/qt3/python/application.cpp:


Code:
// Copyright (C) 2006 Editopia Inc. 
// Released under the LGPL. 
// For more information, see http://www.jahshaka.org. 
  
 // boost 
#include "python.hpp" 
  
// wrapper 
 #include "application.hpp" 
  
 // qt 
 #include <qstring.h> 
  
 namespace py  = boost::python; 
 namespace jw = jahwidgets::qt3; 
  
 namespace jahwidgets { namespace qt3 { 
  
 // Create the delegate to properly support virtual functions... 
 class _application : public application,  
                      public py::wrapper< application > 
 { 
   public: 
     _application( ) : application() { } 
     virtual ~_application( ) { } 
  
     void aboutToQuit() { 
         py::override override = get_override( "aboutToQuit" ); 
         if ( override ) override(); 
     } 
  
     bool processEventsCallback() { 
         py::override override = get_override( "processEventsCallback" ); 
         if ( override )  
             return py::call<bool>( override.ptr() ); 
  
         return application::processEventsCallback(); 
     } 

Reply With Quote
  #2  
Old February 20th, 2009, 05:02 AM
Oler1s Oler1s is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2006
Posts: 2,270 Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 4 Days 15 h 34 m 57 sec
Reputation Power: 1735
Quote:
The jahplayer, jahshaka and jahtools directories contain python only.
No. Look carefully. They've opted to have as much in Python as feasible, but C++ is the host language. Python is embedded.

Quote:
But it seams they are using C++ variant (Visual Studio or BOOST IDE) rather than python.
I have no idea what you mean by C++ variant. Visual Studio is an IDE, so it doesn't really make sense to compare that to Python. And Boost is a set of libraries for C++.

Quote:
What would you say is the min req. foundation knowledge to contribute to such a project?
In what way do you imagine yourself contributing? That's what you should ask yourself. Do you know what they do? How can you contribute to then? What skillset do you have?
__________________
When you ask a question, be prepared to tell us: what have you tried? If you think you don't need to try anything, we will never be interested in helping you. If you agree with the link, and you refuse to answer that question, you are being a hypocrite.

Need help with broken code? Your question should be like a good bug report: (1) It has the smallest number of steps to reproduce the problem you see (2) It tells us precisely what you expected to see and (3) It tells us what you saw and how it differed from what you expected. We need all three to help you.
Want better answers? Tell us what you Googled for and what steps you took to answer your own question.

Reply With Quote
  #3  
Old February 20th, 2009, 03:04 PM
u_hafeez u_hafeez is offline
-Python-Perl-C-Asm-kid
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Bradford,London,Portsmouth
Posts: 197 u_hafeez Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 Day 10 h 29 m 36 sec
Reputation Power: 0
since i have no exp with visual c or boost libraries, clueless ..

(and still an immature ammateur pythonster)

actually... my contract is coming to an end. and since i have been devloping test scripts in python, i want a way to add to my portfolio.

(and jahshaka is something i want as a tool to use)

at leat the team at jah have replied to me and plus your guidance, i can probably start with some tutorial on embedded python and end with their suggestion on tutorial on their tools after i play around a bit

(from them)
Quote:
Jahshaka is the a Video Editing/Compositing/... Tool but it is paused till the OpenLibraries are on a stage. This means at least
- No Compile Errors/Warnings
- Distributale layout (There are a few path issues on Linux Distros)

Optional and suggested
- A better Documentation and a Tutorial
- And Py support.


I still think i don't really have a skillset yet.. I mean i started programming python 2-3 months ago (and turbo c before that) commercially and i programmed before but i think i lack the "programmers aptitude" and this in my opinion can only be gained by trying to undertake practical real world projects rather than going through a programming book. Rather than contribute, I want to use it to add to my skillset and even if write a few lines of code.

Meanwhile i found another project http://www.freenet.org.nz/dvedit/ which is also interesting but it says its temporarily withdrawn... (and jahshaka seams to be bigger challenge and more exciting)..

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Jahshaka

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap