Welcome to the Project Developers' Table

Moderator: Rathinagiri

User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

Code: Select all

2011-05-23 16:20 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
  ! include/hmg.ch
  ! samples/graph/demo_5.prg
  ! source/graph.prg
  ! source/window.prg
    ! Removed graph stuff from Window class and crated Graph objects class.
[[]] Mauricio Ventura Faria
User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

Hi Rathinagiri !

Browse is crashing, without messages.
And it tries to generate a hb_out.log but it has 0 length.
Testing with samples\browse\demo_2.prg.
I found that the code crashes between this 2 lines in browse.prg:

Code: Select all

   ::QAbstractItemModel := HBQAbstractItemModel( {| t, r, x, y| ::OnQueryData( ::aStruct , t, r, x, y ) } )
   ::oQTObject:setModel( ::QAbstractItemModel )
But I was unable to go further...
[[]] Mauricio Ventura Faria
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Hi,

Today I had installed latest Harbour Nightly build and everything works fine.

Don't worry about 'Browse'. I am just working on the grid to have 'data' mode and 'array' mode to accommodate browse, grid and virtual grid. It will be ready soon.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

Hi !

Image of samples\everything\demo_1 in Linux Ubuntu 11.04

Image
[[]] Mauricio Ventura Faria
Carlos Britos
Posts: 245
Joined: Sat Aug 02, 2008 5:03 pm

Re: Welcome to the Project Developers' Table

Post by Carlos Britos »

Code: Select all

2011-05-25 19:20 UTC-0300 Carlos Britos ( <bcd12a(a_t)yahoo.com.ar> )
  + source/layout.prg
  + samples/layout
  + samples/layout/build.bat
  + samples/layout/hbmk.hbm
  + samples/layout/qt.conf
  + samples/layout/demo_1.prg
  + samples/layout/demo_2.prg
  + samples/layout/demo_3.prg
  + samples/layout/demo_4.prg
    * Added source, demos and utilities for layouts.

  ! include/hmg.ch
    * Added constants for layouts.

  ! hmg.hbp
    * Added layout.prg to the list.

  ! doc/txt/en/properties_t2u.txt
  ! doc/txt/en/slider.txt
    ! Updated texts.
Just the first steps on it.
Need more work, test, command names, etc...
Regards/Saludos, Carlos (bcd12a)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Hi Carlos,

Layout implementation is very cool. I think Francesco insisted and even created samples on this.

Now, we have to find out new semi-oop commands (like DEFINE LAYOUT.... END LAYOUT) for this.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Algernon
Posts: 55
Joined: Sat Mar 20, 2010 10:36 am
DBs Used: DBF
Location: Arucas, Gran Canaria, Canary Islands

Re: Welcome to the Project Developers' Table

Post by Algernon »

What about Linux version, Is last version 05/09/2010?

Javier Suárez

La obra humana más bella es la de ser útil al prójimo. (Sófocles)
The most beautiful work of man is to be useful to others. (Sófocles)
User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

Algernon wrote:What about Linux version, Is last version 05/09/2010?
This is a mini HowTo Build from source on latest Ubuntu 11.04 clean install.

Based on information found in http://www.elart.it/links/harbourhowto_deb_en.php.

Open terminal and copy and paste :

Code: Select all

sudo apt-get update; sudo apt-get install subversion wget rcs build-essential ncurses-dev libslang2-dev tk8.3-dev unixodbc-dev libncurses-dev libx11-dev libgpm-dev firebird2.1-dev libfreeimage-dev libmysqlclient15-dev libpq-dev libqt3-mt-dev liballegro4.2-dev wine dosemu-freedos mingw32 zlib1g-dev libpcre3-dev libncurses-dev libslang2-dev libx11-dev libgpmg1-dev unixodbc-dev libcurl4-gnutls-dev firebird2.1-dev libgd2-xpm-dev libsqlite3-dev libqt4-dev libwxbase2.8-dev libwxgtk2.8-dev wx-common libwebkit-dev libqt4-core
This will take some time...
Then set some qt4 related system default, typing this commands:

Code: Select all

sudo update-alternatives --set uic /usr/bin/uic-qt4  
sudo update-alternatives --set moc /usr/bin/moc-qt4  
sudo update-alternatives --set lupdate /usr/bin/lupdate-qt4  
sudo update-alternatives --set lrelease /usr/bin/lrelease-qt4  
sudo update-alternatives --set designer /usr/bin/designer-qt4
Get Harbour source and compile from SVN trunk

Code: Select all

mkdir $HOME/src  
cd $HOME/src  
svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour harbour
This will take some time...

Code: Select all

cd $HOME/src/harbour   
export HB_BIN_INSTALL=/usr/bin   
export HB_INSTALL_PREFIX=/usr/bin   
export HB_LIB_INSTALL=/usr/lib/harbour   
export HB_INC_INSTALL=/usr/include/harbour   
export HB_DOC_INSTALL=/usr/share/doc/harbour   
export HB_ETC_INSTALL=/etc/harbour   
export HB_CONTRIBLIBS="hbqt hbct hbqtutils hbhpdf xhb h  xml hbmzip hbzip hbxbp hbtip hbgd hbpgsql hbcurl hbmysql hbsqlit3 hbssl hbodbc rddsql gtqtc hbmisc hbcups hbziparc"
export HB_BUILD_SHARED=no   
make clean   
make
Install Harbour into system wide binary type:

Code: Select all

sudo -E make install
It's not strictly need to install Harbour binaries into system files, to use Harbour without install it simply add to your
PATH enviroment variable the current path of your harbour binary, type:

Code: Select all

cd 
nano .bashrc
and append this row:

Code: Select all

export PATH=$PATH:$HOME/src/harbour/bin/linux/gcc
Then to force the read of env type:

Code: Select all

source $HOME/.bashrc
To download and build HMG4 :

Code: Select all

cd $HOME/src 
svn co https://hmg.svn.sourceforge.net/svnroot/hmg hmg4
cd hmg4
hbmk2 hmg.hbp
To build the everything demo:

Code: Select all

cd samples/everything
hbmk2 demo_1
./demo_1
To run the hbide type:

Code: Select all

$HOME/src/harbour/bin/linux/gcc/./hbide
Last edited by concentra on Thu May 26, 2011 6:09 pm, edited 3 times in total.
[[]] Mauricio Ventura Faria
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Code: Select all

2011-05-26 21:55 UTC+0530 Rathinagiri ( <srgiri@dataone.in> )
  * include/hmg.ch
  * source/virtualgrid.prg
  * samples/virtualgrid/demo_*.prg
    * Removed ::lCreated code in various methods which where already commented.
	* Implemented DATA_MODE and ARRAY_MODE to incorporate both 'Grid' and 'Browse'. It's the first step to group grid/virtualgrid/browse.
  + samples/virtualgrid/browse_demo_*.prg
  + samples/virtualgrid/demo*.dbf
  + samples/virtualgrid/*.png
    + DATA_MODE samples implemented.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Line number 635 virtualgrid.prg seems not working. Can somebody check and tell me?

Code: Select all

   ::oQHeaderView:connect( "sectionClicked(int)",{|i| if( valtype( ::bOnHeadClick[i+1] ) == 'B' , Eval( ::bOnHeadClick[i+1] ),nil ) } )
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply