[pgadmin-hackers] pgadmin4: sleep api

2015-10-28 Thread Prasad Somwanshi
Hi,   sleep api used in pgAdmin4.cpp doesn't seem cross-platform(used from POSIX specific C header). Either need to be replaced by C++11 equivalent or Qt one. QThread::sleep seem appropriate to me.   thanks and regards, Prasad Somwanshi diff --git a/runtime/pgAdmin4.cpp b/runtime/pgA

Re: [pgadmin-hackers] Running pgAdmin4

2015-10-24 Thread Prasad Somwanshi
Ofcourse, it's fixed now. thanks, Prasad     Sent: Saturday, October 24, 2015 at 6:45 AM From: "Ashesh Vashi" To: "Prasad Somwanshi" Cc: pgadmin-hackers Subject: Re: [pgadmin-hackers] Running pgAdmin4 Hi Prasad,  Please check the current code.     -- Thanks &a

Re: [pgadmin-hackers] Running pgAdmin4

2015-10-23 Thread Prasad Somwanshi
gards, Prasad Somwanshi     Sent: Friday, October 02, 2015 at 8:13 AM From: "Prasad Somwanshi" To: pgadmin-hackers Subject: Re: [pgadmin-hackers] Running pgAdmin4 Ok, in that case, probably it's broken. Error mean, it doesn't like running python code in separate thread.

Re: [pgadmin-hackers] Running pgAdmin4

2015-10-02 Thread Prasad Somwanshi
Ok, in that case, probably it's broken. Error mean, it doesn't like running python code in separate thread. regards, Prasad     Sent: Friday, October 02, 2015 at 7:54 AM From: "Dave Page" 't To: "Prasad Somwanshi" Cc: pgadmin-hackers Subject: Re: [pga

Re: [pgadmin-hackers] Running pgAdmin4

2015-10-01 Thread Prasad Somwanshi
Has anybody encountered this ? Or it's just me ? regards, Prasad     Sent: Thursday, October 01, 2015 at 10:09 AM From: "Prasad Somwanshi" To: pgadmin-hackers Subject: Re: [pgadmin-hackers] Running pgAdmin4 I think, I did. Is there any specific settings I might have missed t

Re: [pgadmin-hackers] Running pgAdmin4

2015-10-01 Thread Prasad Somwanshi
I think, I did. Is there any specific settings I might have missed there ? regards, Prasad     Sent: Thursday, October 01, 2015 at 6:34 AM From: "Ashesh Vashi" To: "Prasad Somwanshi" Cc: pgadmin-hackers Subject: Re: [pgadmin-hackers] Running pgAdmin4 On Thu, Oct 1, 201

[pgadmin-hackers] Running pgAdmin4

2015-09-30 Thread Prasad Somwanshi
Hi, I'm trying to pgAdmin4. I'm able to run pgAdmin4.py in python shell. And server runs.And able to access using browser. Then I tried running desktop application, it throws following error, Traceback (most recent call last): File "/home/prasad/Development/pgadmin4/web/pgAdmi

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-22 Thread Prasad Somwanshi
Good. Still surprised that nobody encountered it so far. It would have nice, if I got a mention in commit log , :( regards, Prasad     Sent: Tuesday, September 22, 2015 at 6:50 AM From: "Ashesh Vashi" To: "Prasad Somwanshi" Cc: pgadmin-hackers Subject: Re: [pgadm

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-08 Thread Prasad Somwanshi
Yes, using flush does work. regards, Prasad Somwanshi     Sent: Tuesday, September 08, 2015 at 11:14 AM From: "Ashesh Vashi" To: "Ronan Dunklau" Cc: pgadmin-hackers , "Dave Page" , "Khushboo Vashi" , Prasad Subject: Re: [pgadmin-hackers] pgadmin4

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Prasad
I'd this issue on Ubuntu x64. And using Python editor IDLE to run setup.py   regards, Prasad Somwanshi     Sent: Monday, September 07, 2015 at 12:36 PM From: "Khushboo Vashi" To: "Dave Page" Cc: Prasad , pgadmin-hackers Subject: Re: [pgadmin-hackers] pgadmin4 set

[pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-05 Thread Prasad
r first two calls or creating role and user for add_role_to_user to work, Find attached patch for this. regards, Prasad Somwanshi diff --git a/web/setup.py b/web/setup.py index 0550862..067c753 100644 --- a/web/setup.py +++ b/web/setup.py @@ -54,6 +54,7 @@ def do_setup(app): db.crea

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-08-12 Thread prasad . s
It looks good to me. Is there anything else need to be done for this fix ?   regards, Prasad Somwanshi   Sent: Monday, July 06, 2015 at 9:56 AM From: "Sanket Mehta" To: Prasad Cc: pgadmin-hackers Subject: Re: [pgadmin-hackers] Patch : PGPASSFILE fix Hi,   While reviewing

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-04-22 Thread Prasad
Hi, Is there anything remained to be done for this patch ? thanks and regards, Prasad     Sent: Thursday, April 16, 2015 at 2:00 PM From: "Sanket Mehta" To: Prasad Cc: pgadmin-hackers Subject: Re: [pgadmin-hackers] Patch : PGPASSFILE fix Hi,   Below is my understanding of this pat

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-04-16 Thread Prasad
Yes, that's right. regards, Prasad    Sent: Thursday, April 16, 2015 at 2:00 PM From: "Sanket Mehta" To: Prasad Cc: pgadmin-hackers Subject: Re: [pgadmin-hackers] Patch : PGPASSFILE fix Hi,   Below is my understanding of this patch:   When checking for password file i

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-04-14 Thread Prasad
Ashesh, You able to review this patch ? regards, Prasad     Sent: Friday, April 03, 2015 at 11:46 PM From: Prasad To: pgadmin-hackers Subject: Re: [pgadmin-hackers] Patch : PGPASSFILE fix HI, Finally, able to finish it. wX has option to create recursive directories. Just needed to remember

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-04-03 Thread Prasad
HI, Finally, able to finish it. wX has option to create recursive directories. Just needed to remember first folder we are creating, so that can be deleted in case of error. Find attached patch. regards, Prasad     Sent: Wednesday, March 25, 2015 at 11:35 AM From: Prasad . To: pgadmin

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-03-25 Thread Prasad
I'm still looking in to this. Was busy with day work. Should have something by weekend. regards, Prasad     Sent: Wednesday, March 11, 2015 at 2:32 PM From: "Dave Page" To: "Ashesh Vashi" Cc: Prasad , pgadmin-hackers Subject: Re: [pgadmin-hackers] Patch : PGPASSFILE

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-03-11 Thread Prasad
eletion in case of failure. Option will be to use source for that API as it is. regards, Prasad     Sent: Wednesday, March 11, 2015 at 2:32 PM From: "Dave Page" To: "Ashesh Vashi" Cc: Prasad , pgadmin-hackers Subject: Re: [pgadmin-hackers] Peatch : PGPASSFILE fix On Wed, Ma

[pgadmin-hackers] TODO list

2015-03-11 Thread Prasad
Hi, How up to date is this list ? http://www.pgadmin.org/development/todo.php Had cursory glance, and second item in Essentials appear to be already done. regards, Prasad -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-03-11 Thread Prasad
I think, we need to agree what exactly solution should be. About creating parent directories.It's going to complicate solution, path can be of any depth. i.e. /a/b/c/d/e/.pgpass, and none of these folders could present. Are we going to keep on creating all folders ? regards, Prasad    

[pgadmin-hackers] PATCH: Treeview and arrow key navigation

2015-03-09 Thread Prasad
to first child. <--- key :- If item has no child, go to parent item. If it has children and expanded , collapse it. If it has children and already collapsed, go to parent item. Remaining two keys are working as they should be. regards, Prasad Somwanshidiff --git a/pgadmin/ctl/ctlTree.cpp b/p

[pgadmin-hackers] main treeview and arrow keys on Ubuntu

2015-03-09 Thread Prasad
t. Doesn't look complicated. regards, Prasad -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-03-04 Thread Prasad
ad, and not try to create or read file, otherwise , user will end up with multiple message boxes with same error. regards, Prasad     Sent: Wednesday, March 04, 2015 at 11:35 AM From: "Ashesh Vashi" , func To: "Dave Page" Cc: Prasad , pgadmin-hackers Subject: Re: [pgadmin

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-03-04 Thread Prasad
This is already done by somewhere in code by calling function. In this case we need to move file creation in this function. Will look in to it tonight or over weekend. regards, Prasad   Sent: Wednesday, March 04, 2015 at 10:39 AM From: "Dave Page" To: Prasad Cc: pgadmin-hackers

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-03-04 Thread Prasad
pecify anything in there. Some garbage value as well. If we don't do any validation there, user will automatically see error with complain about file ? thanks and regards, Prasad Sent: Wednesday, March 04, 2015 at 7:48 AM From: "Ashesh Vashi" To: Prasad Cc: pgadmin-hackers

Re: [pgadmin-hackers] Patch : PGPASSFILE fix

2015-03-03 Thread Prasad
validation is expected in this function. regards, Prasad Sent: Wednesday, March 04, 2015 at 7:15 AM From: "Ashesh Vashi" To: Prasad Cc: pgadmin-hackers Subject: Re: [pgadmin-hackers] Patch : PGPASSFILE fix Hi Prasad,  I see couple of issues with your patch.* Please generate the patch usi

Re: [pgadmin-hackers] assert "!IsAttached()" failed in SetInvokingWindow()

2015-03-01 Thread Prasad
Hi, It seems that, wxWidget has added some checks in PopupMenu API. We can just directly call DoPopupMenu instead. Find attached patch. Seems harmless to directly call DoPopupMenu.   regards, Prasad   Sent: Saturday, February 28, 2015 at 8:20 AM From: "Richard PALO" To: pgadm

[pgadmin-hackers] Patch : PGPASSFILE fix

2015-03-01 Thread Prasad
Hi,   Find attached fix for reading PGPASSFILE environment variable for pg password file.   regards, Prasaddiff --git pgadmin/utils/sysSettings.cpp pgadmin/utils/sysSettings.cpp index e9f270c..7301d53 100644 --- pgadmin/utils/sysSettings.cpp +++ pgadmin/utils/sysSettings.cpp @@ -2,7 +2,7 @@ //

[pgadmin-hackers] PGPASSFILE environment variable

2015-02-27 Thread Prasad
Hi, Is anybody working on following issue ? http://www.postgresql.org/message-id/cakk0mqzy5lxdayhu9kfapejramjl7ve-yhtccnxag4cvf1c...@mail.gmail.com Is there any particular reason, it's not implemented aleady? I may spend some time on it, if it's nice to be done. regards, Prasad --

Re: [pgadmin-hackers] pgAdmin4 query: config_local

2015-02-27 Thread Prasad
No, I'm not going to use it to connect to server. Just trying to be familiar with code, from contribution point of view.   thanks and regards, Prasad Sent: Friday, February 27, 2015 at 10:15 AM From: "Dave Page" To: Prasad Cc: pgadmin-hackers Subject: Re: [pgadmin-hackers]

[pgadmin-hackers] pgAdmin4 query: config_local

2015-02-27 Thread Prasad
Hi,   was just going through code to get it working on my system. There are references to config_local.py.   Is it supposed to be created by some process ??, I just renames config.py to go past that point. Am I missing something ?   regards, Prasad

[pgadmin-hackers] Patch for know bug

2015-02-23 Thread Prasad
Hi,   Please find patch for bug described in this link,   http://www.postgresql.org/message-id/54abf43a.7030...@ifortuna.cz   regards, Prasaddiff --git pgadmin/dlg/dlgServer.cpp pgadmin/dlg/dlgServer.cpp index f6b51e7..47bad68 100644 --- pgadmin/dlg/dlgServer.cpp +++ pgadmin/dlg/dlgServer.cp