Re: [pgadmin-hackers] problem compiling, error while checking for wx

2005-10-20 Thread Dave Page
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Miha Radej
 Sent: 20 October 2005 00:46
 To: pgadmin-hackers@postgresql.org
 Subject: [pgadmin-hackers] problem compiling, error while 
 checking for wx
 
 i've successfully used the above pgadmin configure command 
 until a few 
 days ago. configure goes through and pgadmin compiles ok with the 
 following parameters:
 ./configure --prefix=/usr/local/pgadmin-svn --enable-debug 
 --enable-static
 
 is it necessary to explicitly add these two parameters now?

Yes - previously it was pretty undertermined - in fact you pretty much
always got a debug build (this was more apparent on Mac where the
resulting executable was around 128MB!).

It will default now to dynamic linking, non-debug, and if you don't have
an appropriately configured wx installation to match you'll get the
errors you see. So, you can either:

- Pass the configure options to pgAdmin to tell it to build correctly
with your wx installation
- Rebuild wx with the right configuration to match pgAdmin. This is
perhaps the better option because you can build all 4 possible
combinations and install them over the top of each other. Don't forget
the 'make clean' before each build though, otherwise bad things will
happen.

Regards, Dave

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly


Re: [pgadmin-hackers] link problem on pgadmin3 beta web page

2005-10-20 Thread Dave Page
Thanks, fixed in svn.

Regards, Dave 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Miha Radej
 Sent: 20 October 2005 01:34
 To: pgadmin-hackers@postgresql.org
 Subject: [pgadmin-hackers] link problem on pgadmin3 beta web page
 
 hi!
 
 there is a problem on the pgadmin3 beta web page, 
 http://pgadmin.org/beta.php
 
 the links pointing to the download center have an extra 
 double-quote 
 character included which is causing problems.
 
 cheers,
 Miha
 

---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org


[pgadmin-hackers] SVN Commit by dpage: r4574 - trunk/www/pgadmin3/cnt

2005-10-20 Thread svn
Author: dpage
Date: 2005-10-20 08:19:54 +0100 (Thu, 20 Oct 2005)
New Revision: 4574

Modified:
   trunk/www/pgadmin3/cnt/cnt_beta.php
Log:
Fix URLs in beta page per Miha Radej

Modified: trunk/www/pgadmin3/cnt/cnt_beta.php
===
--- trunk/www/pgadmin3/cnt/cnt_beta.php 2005-10-19 20:56:32 UTC (rev 4573)
+++ trunk/www/pgadmin3/cnt/cnt_beta.php 2005-10-20 07:19:54 UTC (rev 4574)
@@ -8,7 +8,7 @@
 2005-10-12
 p
 Beta-2 of pgAdmin 1.4, the graphical PostgreSQL administration tool for 
Windows, Linux, FreeBSD and Solaris is now available for download from
- a href='http://www.postgresql.org/ftp/pgadmin3/beta'postgresql.org 
download center/a.
+ a href=http://www.postgresql.org/ftp/pgadmin3/beta;postgresql.org download 
center/a.
 /pp
 This new beta version is made available publicly together with PostgreSQL 8.1 
Beta-3, and includes some minor fixes to annoying bugs, esp. a crash when
 showing a table's properties.
@@ -17,7 +17,7 @@
 2004-10-05
 p
 Beta-1 of pgAdmin 1.4, the graphical PostgreSQL administration tool for 
Windows, Linux, FreeBSD and Solaris is now available for download from
- a href='http://www.postgresql.org/ftp/pgadmin3/beta'postgresql.org 
download center/a.
+ a href=http://www.postgresql.org/ftp/pgadmin3/beta;postgresql.org download 
center/a.
 /pp
 V1.4.0 contains a number of new features including:
 ul
@@ -45,4 +45,4 @@
 Please take some time to test the new beta and report any bugs
 to the a href=mailto:pgadmin-support@postgresql.org;pgAdmin-support mailing 
list/a.
 With your help we can make this the most bug free release possible.
-/p
\ No newline at end of file
+/p


---(end of broadcast)---
TIP 6: explain analyze is your friend


[pgadmin-hackers] SVN Commit by dpage: r4575 - trunk/www/pgadmin3/cnt

2005-10-20 Thread svn
Author: dpage
Date: 2005-10-20 08:38:58 +0100 (Thu, 20 Oct 2005)
New Revision: 4575

Modified:
   trunk/www/pgadmin3/cnt/cnt_beta.php
Log:
Update for Beta 3

Modified: trunk/www/pgadmin3/cnt/cnt_beta.php
===
--- trunk/www/pgadmin3/cnt/cnt_beta.php 2005-10-20 07:19:54 UTC (rev 4574)
+++ trunk/www/pgadmin3/cnt/cnt_beta.php 2005-10-20 07:38:58 UTC (rev 4575)
@@ -4,6 +4,15 @@
 a href=#beta1Beta-1/a
 /div
 div id=bodyText
+h1 id=beta2?php echo _(Beta-3 of pgAdmin III V1.4 released);?/h1
+2005-10-20
+p
+Beta-3 of pgAdmin 1.4, the graphical PostgreSQL administration tool for 
Windows, Linux, FreeBSD, Mac OS X and Solaris is now available for download from
+ a href=http://www.postgresql.org/ftp/pgadmin3/beta;postgresql.org download 
center/a.
+/pp
+This new beta version fixes various issues in the *nix build system and 
includes much tighter configuration error detection than previous releases. In 
+addition a number of Mac related fixes are included.
+/p
 h1 id=beta2?php echo _(Beta-2 of pgAdmin III V1.4 released);?/h1
 2005-10-12
 p


---(end of broadcast)---
TIP 6: explain analyze is your friend


[pgadmin-hackers] pgAdmin III v1.4.0 Beta 3 released for testing

2005-10-20 Thread Dave Page
Beta 3 of pgAdmin 1.4.0, the graphical PostgreSQL administration tool
for Windows, Linux, FreeBSD and Solaris is now available for download
from http://www.postgresql.org/ftp/pgadmin3/beta/

This new beta version fixes various issues in the *nix build system and
includes much tighter configuration error detection than previous
releases. In addition a number of Mac related fixes are included.

V1.4.0 contains a number of new features including:

- Slony-I support
- An SQL/shell job scheduling agent
- PostgreSQL 8.1 support
- Autovacuum administration
- Roles
- Stored procedures (ie. Functions with OUT parameters)
- Prepared transactions
- Allow server registration without connect
- Allow connection selection in the query tool
- Major source tree and architecture overhaul to allow further
extensibility
- Unix domain socket support
- 'Guru Hints' to help new users
- Password can be stored in .pgass/pgpass.conf files
- New graphics throughout
- Alert the user when a query finishes in the query tool if the window
is not active
- Graphical EXPLAIN
- Support for Asynchronous Notifications in the query tool

As well as many other tweaks, improvements and bug fixes.

Please take some time to test the new beta and report any bugs to
[EMAIL PROTECTED] With your help we can make this the most
bug free release possible.

Regards, Dave

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


[pgadmin-hackers] SVN Commit by andreas: r4576 - trunk/pgadmin3/src/include/images

2005-10-20 Thread svn
Author: andreas
Date: 2005-10-20 13:06:06 +0100 (Thu, 20 Oct 2005)
New Revision: 4576

Modified:
   trunk/pgadmin3/src/include/images/delete.xpm
   trunk/pgadmin3/src/include/images/drop.xpm
Log:
less misleading delete/drop graphics

Modified: trunk/pgadmin3/src/include/images/delete.xpm
===
--- trunk/pgadmin3/src/include/images/delete.xpm2005-10-20 07:38:58 UTC 
(rev 4575)
+++ trunk/pgadmin3/src/include/images/delete.xpm2005-10-20 12:06:06 UTC 
(rev 4576)
@@ -1,151 +1,168 @@
 /* XPM */
-static char *delete_xpm[] = {
-/* columns rows colors chars-per-pixel */
-16 16 129 2,
-   c #F1F1F1,
-.  c #CA1414,
-X  c gray92,
-o  c #CD6969,
-O  c gray97,
-+  c #C86551,
-@  c #ECECEC,
-#  c gray91,
-$  c gray93,
-%  c #FD6934,
-  c #F4F4F4,
-*  c #EFEFEF,
-=  c #CD8282,
--  c #F4865F,
-;  c #C9644F,
-:  c #CA604A,
-  c #C76957,
-,  c #FA5C24,
-  c #EE,
-1  c #CA1616,
-2  c gray96,
-3  c #CA5F48,
-4  c #FC6A36,
-5  c #CA2C2C,
-6  c #CC5B42,
-7  c #FB703F,
-8  c #FB6E3C,
-9  c #CD6C6C,
-0  c #FEFEFE,
-q  c #FB5A20,
-w  c #D7261B,
-e  c #C86652,
-r  c #F3724C,
-t  c #FD6933,
-y  c #F4855E,
-u  c #FB6D3A,
-i  c #CB5D45,
-p  c #F97445,
-a  c #ED6A4B,
-s  c #FA5C23,
-d  c #F86437,
-f  c #F68055,
-g  c #F4835B,
-h  c #F4845D,
-j  c #F48760,
-k  c gray95,
-l  c #F87A4D,
-z  c #F27D53,
-x  c #EB7458,
-c  c #C86450,
-v  c gray99,
-b  c #C9624C,
-n  c gray98,
-m  c #FB5A21,
-M  c #F46F40,
-N  c #D82215,
-B  c #FBFBFB,
-V  c #CA5E47,
-C  c #CA5F49,
-Z  c #CB5C44,
-A  c #CB5C43,
-S  c #F3F3F3,
-D  c #F38962,
-F  c #F96537,
-G  c #F95F28,
-H  c #D52319,
-J  c #F57048,
-K  c #F47040,
-L  c #FA7342,
-P  c #D4261E,
-I  c #F47142,
-U  c #F58056,
-Y  c #FA7241,
-T  c #F77C4F,
-R  c #F4835C,
-E  c #F47650,
-W  c #F37345,
-Q  c #F8F8F8,
-!  c #F56D3C,
-~  c #F08364,
-^  c #F86835,
-/  c #C96450,
-(  c #E4E4E4,
-)  c #C76754,
-_  c #FB581E,
-`  c #CA5E46,
-'  c #C9624D,
-]  c #F56D3D,
-[  c #F67D52,
-{  c #C86653,
-}  c #FB6C38,
-|  c #F48359,
- . c #FD6832,
-.. c #F57F55,
-X. c #FD581D,
-o. c #F46F3F,
-O. c #FC6C38,
-+. c #F95E27,
-@. c #FD6732,
-#. c #F38964,
-$. c #C76855,
-%. c gray94,
-. c #F66F3E,
-*. c #F9774A,
-=. c #F37143,
--. c #CA6049,
-;. c #EAEAEA,
-:. c #F58157,
-. c gray89,
-,. c #F58258,
-. c #A95F5F,
-1. c #C9,
-2. c #D0D0D0,
-3. c black,
-4. c black,
-5. c black,
-6. c black,
-7. c black,
-8. c black,
-9. c black,
-0. c black,
-q. c black,
-w. c black,
-e. c black,
-r. c black,
-t. c black,
-y. c black,
-u. c black,
-i. c None,
-/* pixels */
-i.= 5 1.1.1.1.1.1.1.1.1.5 = i.i.,
-o P x #.j - y R | :.U f a H o i.,
-. ~ z  .$.W =.K + ./ .E . i.,
-1.D  .@ .{ M + .  .' *.1.i.,
-1.- .$ .# .+ .$ @  .p 1.i.,
-1.h ) .# ( X . X   .: Y 1.i.,
-1.g I e .@ # ;.$ k .-.G 7 1.i.,
-1.,.o.] c .X X * .C +., 8 1.i.,
-1...! ; .   %.S O .` m } 1.i.,
-1.[ ; .  *  .O O n .Z 4 1.i.,
-1.T .2   2 .3 .B v 0 .% 1.i.,
-1.l b .Q .3 , i .0 .6 t 1.i.,
-1 r ^ : .V s q _ A .6 X.d 1 i.,
-9 w J L 7 8 u O.4 % @. .F N 9 i.,
-i.o . 1.1.1.1.1.1.1.1.1.. o i.i.,
-i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.
-};
+static char * delete_xpm[] = {
+16 16 149 2,
+  c None,
+. c #E7E3E7,
++ c #CED3CE,
+@ c #CEC7CE,
+# c #C6CBCE,
+$ c #D6D3D6,
+% c #BDBEC6,
+ c #ADB6B5,
+* c #B5B2BD,
+= c #B5B6BD,
+- c #D6D7D6,
+; c #9C9E9C,
+ c #8C928C,
+, c #949294,
+' c #8C8A8C,
+) c #7B8284,
+! c #84868C,
+~ c #94969C,
+{ c #ADAEBD,
+] c #A59EA5,
+^ c #B5B2B5,
+/ c #A5A6AD,
+( c #8C8E94,
+_ c #9CA2AD,
+: c #9CA2B5,
+ c #949AA5,
+[ c #8C8A9C,
+} c #737D84,
+| c #6B6D73,
+1 c #7B7984,
+2 c #7B797B,
+3 c #A5A2A5,
+4 c #9C969C,
+5 c #BDBAC6,
+6 c #C6C7CE,
+7 c #BDB6C6,
+8 c #ADAEB5,
+9 c #9C9AA5,
+0 c #9492A5,
+a c #ADAABD,
+b c #B5BAC6,
+c c #847D84,
+d c #52555A,
+e c #738AAD,
+f c #8C8EAD,
+g c #84828C,
+h c #7B7D7B,
+i c #7B757B,
+j c #6B6D6B,
+k c #5A5D63,
+l c #63616B,
+m c #63697B,
+n c #73869C,
+o c #8C96B5,
+p c #5A6573,
+q c #7B8EBD,
+r c #B5D3F7,
+s c #D6E7FF,
+t c #F7F7FF,
+u c #DEEFFF,
+v c #C6D7FF,
+w c #ADC3F7,
+x c #8CAEDE,
+y c #94AEE7,
+z c #ADC7F7,
+A c #949ECE,
+B c #6B717B,
+C c #737DAD,
+D c #BDD3FF,
+E c #DEE7FF,
+F c #CED7DE,
+G c #7B7D94,
+H c #5A6173,
+I c #5A697B,
+J c #94B2E7,
+K c #ADC7FF,
+L c #7B8EB5,
+M c #7B82AD,
+N c #BDD7FF,
+O c #CED7EF,
+P c #636D7B,
+Q c #84869C,
+R c #D6A9BE,
+S c #AA96B8,
+T c #4A5163,
+U c #84A2C6,
+V c #ADCBFF,
+W c #6B7DA5,
+X c #848EA5,
+Y c #BDCFFF,
+Z c #9CA6BD,
+` c #B597A0,
+ .c #7B86A5,
+..c #C3A1C0,
++.c #887895,
+@.c #63758C,
+#.c #B5CBFF,
+$.c #5A6584,
+%.c #9CA2BD,
+.c #ADC7E7,
+*.c #949AAD,
+=.c #FF787B,
+-.c #6B718C,
+;.c #6B7D9C,
+.   

Re: [pgadmin-hackers] does this string need correction?

2005-10-20 Thread Andreas Pflug

Miha Radej wrote:

hi!

in src/main/events.cpp, line 145 contains the following string:
Maybe your proxy option setting need adjustment.

a am not a native english speaker, but there's a feeling i have this 
should be either

Maybe your proxy option settings need adjustment.
or
Maybe your proxy option setting needs adjustment.


This is the right version; corrected in SVN.
(BTW still not in use, since online update isn't finished and thus disabled)

Regards,
Andreas

---(end of broadcast)---
TIP 4: Have you searched our list archives?

  http://archives.postgresql.org


Re: [pgadmin-hackers] incomplete window title in guru hints

2005-10-20 Thread Andreas Pflug

Miha Radej wrote:

hi!

guess who (needs sleep) :)

i connect to a server. from the tools menu option i select server 
status and a guru hint pops up. the title of this window with the hint 
contains pgAdmin III Guru Hint - . according to frm/frmHint.cpp, line 
207 says something ought to get appended also, namely

wxGetTranslation(hintArray[currentHint].hintCaption)
but it doesn't. any ideas?


Ooops...
Missed some strings while coding.
Adding them now, resulting in some additional strings to translate.

Regards,
Andreas

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [pgadmin-hackers] recent file list in conf editor doesn't seem

2005-10-20 Thread Andreas Pflug

Miha Radej wrote:

hi!

i'm sorry for the mass of emails today but i'm working on the 
translation atm and am reporting/asking stuff as i go along. sorry for 
being a nuisance :)


Just go on testing, if you don't report bugs now it will stay unfixed!


i have compiled pgadmin3 on suse linux 9.3, from a fresh cvs checkout 
and i have downloaded beta3 for windows. in the server (access) 
configuration editor, the recent files list seems to remain empty, no 
matter how many files i open/close/save. the recent files entry is 
clickable, but no file list appears.


Can't reproduce this; works ok for me in win32 and linux.

Regards,
Andreas

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [pgadmin-hackers] recent file list in conf editor doesn't seem

2005-10-20 Thread Dave Page
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Andreas Pflug
 Sent: 20 October 2005 13:55
 To: Miha Radej
 Cc: pgadmin-hackers
 Subject: Re: [pgadmin-hackers] recent file list in conf 
 editor doesn't seem
 
 Miha Radej wrote:
  hi!
  
  i'm sorry for the mass of emails today but i'm working on the 
  translation atm and am reporting/asking stuff as i go 
 along. sorry for 
  being a nuisance :)
 
 Just go on testing, if you don't report bugs now it will stay unfixed!
 
  i have compiled pgadmin3 on suse linux 9.3, from a fresh 
 cvs checkout 
  and i have downloaded beta3 for windows. in the server (access) 
  configuration editor, the recent files list seems to remain 
 empty, no 
  matter how many files i open/close/save. the recent files 
 entry is 
  clickable, but no file list appears.
 
 Can't reproduce this; works ok for me in win32 and linux.

I can, on Windows and Mac. Make sure the RecentFiles registry key is
deleted first, then try.

Regards, Dave.

---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org


[pgadmin-hackers] SVN Commit by dpage: r4577 - in trunk/pgadmin3: . src/frm

2005-10-20 Thread svn
Author: dpage
Date: 2005-10-20 14:54:51 +0100 (Thu, 20 Oct 2005)
New Revision: 4577

Modified:
   trunk/pgadmin3/CHANGELOG.txt
   trunk/pgadmin3/src/frm/frmConfig.cpp
Log:
Fix the recent files list on the config file editor.

Modified: trunk/pgadmin3/CHANGELOG.txt
===
--- trunk/pgadmin3/CHANGELOG.txt2005-10-20 12:06:06 UTC (rev 4576)
+++ trunk/pgadmin3/CHANGELOG.txt2005-10-20 13:54:51 UTC (rev 4577)
@@ -17,13 +17,14 @@
 /ul
 br
 ul
+li2005-10-20 DP  1.4B4 Fix the recent files list on the config file 
editor.
 li2005-10-18 DP  1.4B3 Correct font size on Splash and About forms on 
Mac.
 li2005-10-18 AP  1.4B3 Prevent refresh of the servers treeview node
 li2005-10-18 DP  1.4B3 Fix the autoconf code to ensure the debug and 
static options do what they should, and that a unicode wx build is used 
 li2005-10-18 DP  1.4B3 Ensure strings can be editted in the data grid on 
Mac.
 li2005-10-14 DP  1.4B3 Prevent errors in the logger causing crashes
 li2005-10-14 DP  1.4B3 Use a sensible default location for the logfile
-   li2005-10-12 AP  1.4B3 Fix 'ambiguous proname column' bug for servers 
 8.0
+li2005-10-12 AP  1.4B3 Fix 'ambiguous proname column' bug for servers  
8.0
 li2005-10-12 AP  1.4B3 Fix count crash on tables (r: Merlin Moncure)
 li2005-10-12 AP  1.4B3 Fix slony detection on tables for pgsql7.x
 li2005-10-08 AP  1.4B2 Fix New context menu crash on disconnected 
server (r: Tomasz Rybak)

Modified: trunk/pgadmin3/src/frm/frmConfig.cpp
===
--- trunk/pgadmin3/src/frm/frmConfig.cpp2005-10-20 12:06:06 UTC (rev 
4576)
+++ trunk/pgadmin3/src/frm/frmConfig.cpp2005-10-20 13:54:51 UTC (rev 
4577)
@@ -258,6 +258,7 @@
 lastDir = dlg.GetDirectory();
 lastPath = dlg.GetPath();
 OpenLastFile();
+UpdateRecentFiles();
 }
 }
 


---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org


Re: [pgadmin-hackers] recent file list in conf editor doesn't seem

2005-10-20 Thread Dave Page
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dave Page
 Sent: 20 October 2005 14:08
 To: Andreas Pflug; Miha Radej
 Cc: pgadmin-hackers
 Subject: Re: [pgadmin-hackers] recent file list in conf 
 editor doesn't seem
 
  
   i have compiled pgadmin3 on suse linux 9.3, from a fresh 
  cvs checkout 
   and i have downloaded beta3 for windows. in the server (access) 
   configuration editor, the recent files list seems to remain 
  empty, no 
   matter how many files i open/close/save. the recent files 
  entry is 
   clickable, but no file list appears.
  
  Can't reproduce this; works ok for me in win32 and linux.
 
 I can, on Windows and Mac. Make sure the RecentFiles registry key is
 deleted first, then try.

Fixed in SVN.

Regards, Dave.

---(end of broadcast)---
TIP 6: explain analyze is your friend


[pgadmin-hackers] SVN Commit by andreas: r4580 - trunk/pgadmin3/src/include

2005-10-20 Thread svn
Author: andreas
Date: 2005-10-20 15:12:45 +0100 (Thu, 20 Oct 2005)
New Revision: 4580

Modified:
   trunk/pgadmin3/src/include/version.h
Log:
svn version

Modified: trunk/pgadmin3/src/include/version.h
===
--- trunk/pgadmin3/src/include/version.h2005-10-20 14:07:47 UTC (rev 
4579)
+++ trunk/pgadmin3/src/include/version.h2005-10-20 14:12:45 UTC (rev 
4580)
@@ -14,7 +14,7 @@
 #define VERSION_STR wxT(1.4 post-Beta3)
 #define VERSION_NUM 1,4,0,99
 #define VERSION_PACKAGE 1.4-postbeta3
-#define VERSION_SVN wxT($Version: $)
+#define VERSION_SVN wxT($Rev$)
 
 #define PRERELEASE 1
 // #define BUILD ...


---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faq


[pgadmin-hackers] SVN Commit by andreas: r4582 - in trunk/pgadmin3: . src/schema

2005-10-20 Thread svn
Author: andreas
Date: 2005-10-20 15:35:22 +0100 (Thu, 20 Oct 2005)
New Revision: 4582

Modified:
   trunk/pgadmin3/CHANGELOG.txt
   trunk/pgadmin3/src/schema/pgDatabase.cpp
Log:
Fix Unicode/pgsql80win32 hint

Modified: trunk/pgadmin3/CHANGELOG.txt
===
--- trunk/pgadmin3/CHANGELOG.txt2005-10-20 14:25:35 UTC (rev 4581)
+++ trunk/pgadmin3/CHANGELOG.txt2005-10-20 14:35:22 UTC (rev 4582)
@@ -17,7 +17,7 @@
 /ul
 br
 ul
- .mine
+li2005-10-20 AP  1.4B4 Fix Unicode/pgsql80win32 hint (r: Oryza Triznyak)
 li2005-10-20 DP  1.4B4 Ensure the user can cancel the maintenance 
dialogue when it is running.
 li2005-10-20 DP  1.4B4 Fix the recent files list on the config file 
editor. (r: Miha Radej)
 li2005-10-18 DP  1.4B3 Correct font size on Splash and About forms on 
Mac.

Modified: trunk/pgadmin3/src/schema/pgDatabase.cpp
===
--- trunk/pgadmin3/src/schema/pgDatabase.cpp2005-10-20 14:25:35 UTC (rev 
4581)
+++ trunk/pgadmin3/src/schema/pgDatabase.cpp2005-10-20 14:35:22 UTC (rev 
4582)
@@ -138,7 +138,7 @@
 if (encoding == wxT(UNICODE))
 {
 wxString ver=GetServer()-GetVersionString();
-if (ver.Find(wxT(mingw32))  0  ver.Find(wxT(SQL 8.0.)  0))
+if (ver.Find(wxT(mingw32))  0  ver.Find(wxT(SQL 8.0.))  0)
 return true;
 }
 
@@ -158,7 +158,11 @@
 if (encoding == wxT(SQL_ASCII))
 hints.Add(HINT_ENCODING_ASCII);
 else if (encoding == wxT(UNICODE))
-hints.Add(HINT_ENCODING_UNICODE);
+{
+wxString ver=GetServer()-GetVersionString();
+if (ver.Find(wxT(mingw32))  0  ver.Find(wxT(SQL 8.0.))  0)
+hints.Add(HINT_ENCODING_UNICODE);
+}
 
 if (GetServer()-GetConnection() == GetConnection()  
 GetConnection()-BackendMinimumVersion(8,0)  


---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org


[pgadmin-hackers] SVN Commit by andreas: r4583 - in trunk/pgadmin3: . src/frm src/include

2005-10-20 Thread svn
Author: andreas
Date: 2005-10-20 15:49:49 +0100 (Thu, 20 Oct 2005)
New Revision: 4583

Modified:
   trunk/pgadmin3/CHANGELOG.txt
   trunk/pgadmin3/src/frm/frmQuery.cpp
   trunk/pgadmin3/src/include/pgDatabase.h
Log:
Fix Maintenance crash of disconnected DBs

Modified: trunk/pgadmin3/CHANGELOG.txt
===
--- trunk/pgadmin3/CHANGELOG.txt2005-10-20 14:35:22 UTC (rev 4582)
+++ trunk/pgadmin3/CHANGELOG.txt2005-10-20 14:49:49 UTC (rev 4583)
@@ -17,6 +17,7 @@
 /ul
 br
 ul
+li2005-10-20 AP  1.4B4 Fix Maintenance crash of disconnected DBs (r: 
A.J.Langereis)
 li2005-10-20 AP  1.4B4 Fix Unicode/pgsql80win32 hint (r: Oryza Triznyak)
 li2005-10-20 DP  1.4B4 Ensure the user can cancel the maintenance 
dialogue when it is running.
 li2005-10-20 DP  1.4B4 Fix the recent files list on the config file 
editor. (r: Miha Radej)

Modified: trunk/pgadmin3/src/frm/frmQuery.cpp
===
--- trunk/pgadmin3/src/frm/frmQuery.cpp 2005-10-20 14:35:22 UTC (rev 4582)
+++ trunk/pgadmin3/src/frm/frmQuery.cpp 2005-10-20 14:49:49 UTC (rev 4583)
@@ -1301,5 +1301,5 @@
 
 bool queryToolFactory::CheckEnable(pgObject *obj)
 {
-return obj  obj-GetDatabase() != 0;
+return obj  obj-GetDatabase()  obj-GetDatabase()-GetConnected();
 }

Modified: trunk/pgadmin3/src/include/pgDatabase.h
===
--- trunk/pgadmin3/src/include/pgDatabase.h 2005-10-20 14:35:22 UTC (rev 
4582)
+++ trunk/pgadmin3/src/include/pgDatabase.h 2005-10-20 14:49:49 UTC (rev 
4583)
@@ -73,7 +73,7 @@
 wxArrayString GetSlonyClusters(ctlTree *browser);
 
 bool DropObject(wxFrame *frame, ctlTree *browser, bool cascaded);
-bool CanMaintenance() { return true; }
+bool CanMaintenance() { return GetConnected(); }
 bool CanBackup() { return connected; }
 bool CanRestore() { return connected; }
 bool GetCanHint();


---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


[pgadmin-hackers] SVN Commit by andreas: r4584 - trunk/pgadmin3

2005-10-20 Thread svn
Author: andreas
Date: 2005-10-20 15:59:33 +0100 (Thu, 20 Oct 2005)
New Revision: 4584

Modified:
   trunk/pgadmin3/BUGS.txt
Log:
remember bytea edit bug

Modified: trunk/pgadmin3/BUGS.txt
===
--- trunk/pgadmin3/BUGS.txt 2005-10-20 14:49:49 UTC (rev 4583)
+++ trunk/pgadmin3/BUGS.txt 2005-10-20 14:59:33 UTC (rev 4584)
@@ -1,5 +1,6 @@
 bKnown issues/b
 ul
+   li[Edit grid] Editing very large columns freezes (might be restricted 
to bytea)
li[Edit grid] bool editing doesn't know NULL; major redesign needed
li[Edit grid] sqlGridTextEditor is broken on Mac. We're currently 
using wxGridCellAutoWrapStringEditor which works but isn't overly user friendly
li[Unix build] --enable-debug tries to use wx-config which hasn't 
been found yet


---(end of broadcast)---
TIP 6: explain analyze is your friend


[pgadmin-hackers] SVN Commit by dpage: r4585 - trunk/pgadmin3/src/main

2005-10-20 Thread svn
Author: dpage
Date: 2005-10-20 16:35:27 +0100 (Thu, 20 Oct 2005)
New Revision: 4585

Modified:
   trunk/pgadmin3/src/main/dlgClasses.cpp
Log:
Use wxYield instead of wxSafeYield in the maintenance dialogue.

Modified: trunk/pgadmin3/src/main/dlgClasses.cpp
===
--- trunk/pgadmin3/src/main/dlgClasses.cpp  2005-10-20 14:59:33 UTC (rev 
4584)
+++ trunk/pgadmin3/src/main/dlgClasses.cpp  2005-10-20 15:35:27 UTC (rev 
4585)
@@ -449,7 +449,7 @@
 // here could be the animation
 if (txtMessages)
 txtMessages-AppendText(thread-GetMessagesAndClear());
-wxSafeYield(this);
+wxYield();
 }
 
 if (thread)


---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org