Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-31 Thread Dave Page
Thanks - applied. /D On 31/1/06 19:46, "Magnus Hagander" <[EMAIL PROTECTED]> wrote: >> - select * from pg_c> However, the popup will show the same problem as on Windows, >> remaining on top of all windows. > > This patch fixes the problem on Windows. Don't have a linux box around > to test the

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-31 Thread Magnus Hagander
> - select * from pg_c However, the popup will show the same problem as on Windows, > remaining on top of all windows. This patch fixes the problem on Windows. Don't have a linux box around to test there, sorry. The patch is simple enough, I think it *should* work... //Magnus autocomplete_popu

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-30 Thread Magnus Hagander
> - On Linux, pg_cast will appear instead of the popup. Doesn't happen for me. I get the full popup. > - On Linux, every will insert two \n, i.e. an > additional empty line that can't be addressed with the > cursor. This is also true if autotabcomplete is disabled > (doesn't happen when read

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-30 Thread Andreas Pflug
Dave Page wrote: Thanks, patch applied with minor tweaking re: trailing spaces as discussed on IM, and documentation. More problems on Linux: - select * from pg_cpopup will show the same problem as on Windows, remaining on top of all windows. - All ctrl keys were executed twice, fixed in sv

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-30 Thread Andreas Pflug
Dave Page wrote: Thanks, patch applied with minor tweaking re: trailing spaces as discussed on IM, and documentation. I eyeballed the multibyte handling, it looks ok to me. But I found some nasty misbehaviours: select * from pg_c - On Windows, a popup will appear. If you activate a differen

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-30 Thread Dave Page
o: pgadmin-hackers@postgresql.org > Subject: Re: [pgadmin-hackers] Query tool: Autocompletion > > Dave tells me the list silently eats large mails, so here is the mail > again without the patch. The patch is now on > http://www.hagander.net/pgsql/patches/pgadmin_autocomplete.patch > > /

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-26 Thread Magnus Hagander
> > >>I've spent several hours now to get the beast compiled, > > still no go. > > >>It's a nightmare I don't like to spend more time on. > > > > > > > > > Hmm, I got it going in 5 minutes in VC6. Works quite well. > > > > Not in Linux. > > Due to the longer building times, yes, it tok longer

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-26 Thread Dave Page
> -Original Message- > From: Magnus Hagander [mailto:[EMAIL PROTECTED] > Sent: 26 January 2006 11:37 > To: Dave Page; Andreas Pflug > Cc: pgadmin-hackers@postgresql.org > Subject: RE: [pgadmin-hackers] Query tool: Autocompletion > > > > Don't know

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-26 Thread Magnus Hagander
> > Don't know enough about the classes to really comment. They > can't be > > built on-demand somehow? > > Yeah, but my point is that typing in the query tool might > trigger a DB connect followed by a deep build of the tree > which might be very expensive. That might outweigh the > benefits

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-26 Thread Dave Page
> -Original Message- > From: Magnus Hagander [mailto:[EMAIL PROTECTED] > Sent: 26 January 2006 10:04 > To: Dave Page; Andreas Pflug > Cc: pgadmin-hackers@postgresql.org > Subject: RE: [pgadmin-hackers] Query tool: Autocompletion > > Don't know enoug

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-26 Thread Magnus Hagander
> > I've spent several hours now to get the beast compiled, > still no go. > > It's a nightmare I don't like to spend more time on. > > Hmm, I got it going in 5 minutes in VC6. Works quite well. That's about how long it took me as well to apply it to a different machine and run there. Only done

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-26 Thread Andreas Pflug
Dave Page wrote: -Original Message- From: Andreas Pflug [mailto:[EMAIL PROTECTED] Sent: 26 January 2006 00:06 To: Magnus Hagander Cc: Dave Page; pgadmin-hackers@postgresql.org Subject: Re: [pgadmin-hackers] Query tool: Autocompletion I've spent several hours now to get the

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-26 Thread Dave Page
> -Original Message- > From: Andreas Pflug [mailto:[EMAIL PROTECTED] > Sent: 26 January 2006 00:06 > To: Magnus Hagander > Cc: Dave Page; pgadmin-hackers@postgresql.org > Subject: Re: [pgadmin-hackers] Query tool: Autocompletion > > I've spent sever

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-25 Thread Andreas Pflug
I've spent several hours now to get the beast compiled, still no go. It's a nightmare I don't like to spend more time on. Dave, if you succeed hacking something workable that doesn't try to call more core pgsql includes from somewhere (!), commit it. Note: pgsql copied stuff should go to src/d

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-22 Thread Andreas Pflug
Dave Page wrote: Andreas; have you had a chance to look at this yet? No, not yet. Regards, Andreas ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-22 Thread Dave Page
Andreas; have you had a chance to look at this yet? Regards, Dave. > -Original Message- > From: Magnus Hagander [mailto:[EMAIL PROTECTED] > Sent: 15 January 2006 17:30 > To: Dave Page; pgadmin-hackers@postgresql.org > Subject: RE: [pgadmin-hackers] Query tool:

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-18 Thread Magnus Hagander
> > I'd like Andreas to look at this before applying - particularly the > > encoding bits which are still largely a mystery to me as well. > > Um, nicely spoken :-) > I'll have a tight look at it, esp. the disable option. I'd be > positively surprised if the feature can cope with my less > than

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-18 Thread Andreas Pflug
Dave Page wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magnus Hagander Sent: 08 January 2006 15:05 To: pgadmin-hackers@postgresql.org Subject: Re: [pgadmin-hackers] Query tool: Autocompletion Attached is a first attempt at

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-15 Thread Magnus Hagander
> > > So. Thoughts, and comments? > > Nice, it works quite well. Some thoughts: Here's an updated version. No change in the actual "psql-emulation" logic, so no new .inc file needed. > - My main concern is that I do use tab, which this prevents - > as per your comment in the source I think we

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-09 Thread Dave Page
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Magnus Hagander > Sent: 08 January 2006 15:05 > To: pgadmin-hackers@postgresql.org > Subject: Re: [pgadmin-hackers] Query tool: Autocompletion > > >

Re: [pgadmin-hackers] Query tool: Autocompletion

2006-01-08 Thread Magnus Hagander
Dave tells me the list silently eats large mails, so here is the mail again without the patch. The patch is now on http://www.hagander.net/pgsql/patches/pgadmin_autocomplete.patch //Magnus > -Original Message- > From: Magnus Hagander > Sent: Saturday, January 07, 2006 6:33 PM > To: pgad