Re: [pgadmin-hackers] translation question volume 2 ;)

2004-09-17 Thread Dave Page
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Raphaël Enrici
 Sent: 16 September 2004 20:25
 To: [EMAIL PROTECTED]
 Subject: [pgadmin-hackers] translation question volume 2 ;)
 
 Dear all and in particular translators,
 
 Just trying to help with the french translation as 
 Jean-Michel is not available.
 I've seen some strings with ampersand behind a particular 
 caracter. I bet it has something to do with keyboard 
 shortcut... If yes, shall I respect the shortcut or is it 
 dynamically calculated at run time because of the ampersand 
 behind the caracter ?
 Example:
 Tip
 becomes Astuce in french. Shall I declare Astuce or must I 
 declare Astuce ?

Errr, good question. Do you know (or can you find out) what is the norm in Windows and 
other Microsoft software? When it comes to UI design, they are generally pretty good 
so following their lead makes sense.

Regards, Dave

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


Re: [pgadmin-hackers] english typo

2004-09-17 Thread Dave Page
 

 -Original Message-
 From: Raphaël Enrici [mailto:[EMAIL PROTECTED] 
 Sent: 16 September 2004 20:13
 To: Andreas Pflug; Dave Page
 Cc: [EMAIL PROTECTED]
 Subject: english typo 
 
 While translating pgA3 to french, I think I found a typo:
 
 Query inserted one rows with OID %d.\n
 shouldn't it be Query inserted one row with OID %d.\n ?
 
 Shall I modify the original string in poedit (I bet I 
 shouldn't but would like to be sure...) ?

No, not in poEdit. It needs to be done in the main source and then a string merge 
performed. I'm not sure if it's worth doing now though - it'll break all the 
translations which likely corrected it in their language anyway...

Regards, Dave.

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


[pgadmin-hackers] CVS Commit by andreas: translators update

2004-09-17 Thread cvs
Log Message:
---
translators update

Modified Files:
--
www/pgadmin3/cnt:
cnt_translation_status.php (r1.64 - r1.65)

Index: cnt_translation_status.php
===
RCS file: /projects/www/pgadmin3/cnt/cnt_translation_status.php,v
retrieving revision 1.64
retrieving revision 1.65
diff -Lpgadmin3/cnt/cnt_translation_status.php 
-Lpgadmin3/cnt/cnt_translation_status.php -u -w -r1.64 -r1.65
--- pgadmin3/cnt/cnt_translation_status.php
+++ pgadmin3/cnt/cnt_translation_status.php
@@ -21,10 +21,10 @@
   $translated-addLanguage (da_DK, Danish, Troels Arvin, [EMAIL PROTECTED], 
pgadmin3.po,src/ui/da_DK/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
   $translated-addLanguage (de_DE, German, Andreas Pflug, [EMAIL PROTECTED], 
pgadmin3.po, src/ui/de_DE/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
   $translated-addLanguage (el_GR, Greek, Γιάννης Παΐλας (Yiannis 
Pailas), [EMAIL PROTECTED], pgadmin3.po,src/ui/el_GR/pgadmin3.po, 
pgadmin3.pot, pgadmin3.pot);
-  $translated-addLanguage (es_ES, Spanish, Karim Mribti, [EMAIL PROTECTED], 
pgadmin3.po,src/ui/es_ES/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
+  $translated-addLanguage (es_ES, Spanish, Diego A. Gil, [EMAIL PROTECTED], 
pgadmin3.po,src/ui/es_ES/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
   $translated-addLanguage (fa_IR, Farsi, Abbas Izad, [EMAIL PROTECTED], 
pgadmin3.po, src/ui/fa_IR/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
   $translated-addLanguage (fi_FI, Finnish, Jori Luoto, [EMAIL PROTECTED], 
pgadmin3.po,src/ui/fi_FI/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
-  $translated-addLanguage (fr_FR, French, Jean-Michel Pouré, [EMAIL 
PROTECTED],  pgadmin3.po,src/ui/fr_FR/pgadmin3.po, pgadmin3.pot, 
pgadmin3.pot);
+  $translated-addLanguage (fr_FR, French, Raphaël Enrici, [EMAIL 
PROTECTED],  pgadmin3.po,src/ui/fr_FR/pgadmin3.po, pgadmin3.pot, 
pgadmin3.pot);
   $translated-addLanguage (gl_ES, Galician, Antonio Ricoy, [EMAIL 
PROTECTED], pgadmin3.po,src/ui/gl_ES/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
   $translated-addLanguage (hr_HR, Croatian, Finteh d.o.o., [EMAIL 
PROTECTED], pgadmin3.po, src/ui/hr_HR/pgadmin3.po, pgadmin3.pot, 
pgadmin3.pot);
   $translated-addLanguage (hu_HU, Hungarian, Zoltán Kovács, [EMAIL 
PROTECTED], pgadmin3.po,src/ui/hu_HU/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
@@ -52,4 +52,11 @@
   $pending-addLanguage (tl_PH, Filipino/Tagalog, Howard Bagcat, [EMAIL 
PROTECTED], pgadmin3.po,src/ui/tl_PH/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
   $pending-addLanguage (uk_UA, Ukrainian, Алексей 
Поторжинский (Alex Potorzhinsky), [EMAIL PROTECTED], 
pgadmin3.po,src/ui/uk_UA/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
   $pending-addLanguage (vi_VN, Vietnamese, Victor Ngoc Duc Vu, [EMAIL 
PROTECTED], pgadmin3.po,src/ui/vi_VN/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
+
+
+// previous translator
+//  $translated-addLanguage (fr_FR, French, Jean-Michel Pouré, [EMAIL 
PROTECTED],  pgadmin3.po,src/ui/fr_FR/pgadmin3.po, pgadmin3.pot, 
pgadmin3.pot);
+//  $translated-addLanguage (es_ES, Spanish, Karim Mribti, [EMAIL 
PROTECTED], pgadmin3.po,src/ui/es_ES/pgadmin3.po, pgadmin3.pot, pgadmin3.pot);
+
+
 ?
---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


[pgadmin-hackers] CVS Commit by andreas: packager mail

2004-09-17 Thread cvs
Log Message:
---
packager mail

Modified Files:
--
www/pgadmin3/cnt:
cnt_download.php (r1.65 - r1.66)

Index: cnt_download.php
===
RCS file: /projects/www/pgadmin3/cnt/cnt_download.php,v
retrieving revision 1.65
retrieving revision 1.66
diff -Lpgadmin3/cnt/cnt_download.php -Lpgadmin3/cnt/cnt_download.php -u -w -r1.65 
-r1.66
--- pgadmin3/cnt/cnt_download.php
+++ pgadmin3/cnt/cnt_download.php
@@ -20,7 +20,7 @@
   h1 id=debian?php echo _(Debian packages)?/h1
   dl
 dt
-  ?php echo  sprintf(_(Packager: %s), Raphaël Enrici);?
+  ?php echo  sprintf(_(Packager: %s), a href='mailto:[EMAIL 
PROTECTED]'Raphaël Enrici/A);?
 /dt
 
 dd
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


[pgadmin-hackers] CVS Commit by andreas: Translator team update

2004-09-17 Thread cvs
Log Message:
---
Translator team update

Modified Files:
--
pgadmin3/docs/en_US:
translation_team.html (r1.83 - r1.84)

Index: translation_team.html
===
RCS file: /projects/pgadmin3/docs/en_US/translation_team.html,v
retrieving revision 1.83
retrieving revision 1.84
diff -Ldocs/en_US/translation_team.html -Ldocs/en_US/translation_team.html -u -w 
-r1.83 -r1.84
--- docs/en_US/translation_team.html
+++ docs/en_US/translation_team.html
@@ -1,73 +1,116 @@
 html
-
 head
+   titleTranslation team/title
 meta http-equiv=Content-Type content=text/html; charset=windows-1252
 link rel=STYLESHEET type=text/css href=pgadmin3.css
-titleTranslation team/title
 /head
-
 body
-
 H3Translation team/H3
-PWe are very grateful to those who commit time to translating
-pgAdmin3. Here is the list of translators, ordered by language code: 
+   PWe are very grateful to those who commit time to translating 
pgAdmin3. Here is 
+   the list of translators, ordered by language code:
 /P
 P
 /P
 UL
-  LIaf_ZA (Afrikaans) by A HREF=mailto:[EMAIL PROTECTED]Petri 
Jooste/A 
-   LIar_SA (Arabic) by A HREF=mailto:[EMAIL PROTECTED]Ossama Mohammad 
Khayat/A 
-   LIbg_BG (Bulgarian) by A HREF=mailto:[EMAIL 
PROTECTED]#1051;#1098;#1095;#1077;#1079;#1072;#1088;
+   LI
+   af_ZA (Afrikaans) by A HREF=mailto:[EMAIL 
PROTECTED]Petri Jooste/A
+   LI
+   ar_SA (Arabic) by A HREF=mailto:[EMAIL 
PROTECTED]Ossama Mohammad Khayat/A
+   LI
+   bg_BG (Bulgarian) by A HREF=mailto:[EMAIL 
PROTECTED]#1051;#1098;#1095;#1077;#1079;#1072;#1088; 
 #1050;#1086;#1089;#1090;#1086;#1074; (Latchezar Kostov)/A 
-  LIca_ES (Catalan) by A HREF=mailto:[EMAIL PROTECTED]Carme Cerdà 
Torres/A
-   LIcs_CZ (Czech) by A HREF=mailto:[EMAIL PROTECTED]Daniel Horaacute;k/A
-   LIda_DK (Danish) by A HREF=mailto:[EMAIL PROTECTED]Troels Arvin/A
+   LI
+   ca_ES (Catalan) by A HREF=mailto:[EMAIL 
PROTECTED]Carme Cerdà Torres/A
+   LI
+   cs_CZ (Czech) by A HREF=mailto:[EMAIL 
PROTECTED]Daniel Horák/A
+   LI
+   da_DK (Danish) by A HREF=mailto:[EMAIL 
PROTECTED]Troels Arvin/A
 !--   LIde_CH (German Switzerland) by A HREF=mailto:[EMAIL PROTECTED]Marc 
Balmer/A  --
-   LIde_DE (German) by A HREF=mailto:[EMAIL PROTECTED]Andreas Pflug/A 
-  LIel_GR (Greek) by A HREF=mailto:[EMAIL 
PROTECTED]#915;#953;#940;#957;#957;#951;#962;
+   LI
+   de_DE (German) by A HREF=mailto:[EMAIL 
PROTECTED]Andreas Pflug/A
+   LI
+   el_GR (Greek) by A HREF=mailto:[EMAIL 
PROTECTED]#915;#953;#940;#957;#957;#951;#962; 
   #928;#945;#912;#955;#945;#962; (Yiannis Pailas)/A
-   LIes_ES (Spanish) by A HREF=mailto:[EMAIL PROTECTED]Karim Mribti/A 
-   LIfa_IR (Persian) by SPAN LANG=A HREF=mailto:[EMAIL 
PROTECTED]#1593;#1576;#1575;#1587;
-   #1575;#1610;#1586;#1583; /A/SPANA HREF=mailto:[EMAIL 
PROTECTED](Abbas Izad)/A
-   LIfi_FI (Finnish) by A HREF=mailto:[EMAIL PROTECTED]Jori Juoto/A
-  LIfr_FR (French) by A HREF=mailto:[EMAIL PROTECTED]Jean-Michel 
Poureacute;/A
-  LIgl_ES (Galician) by A HREF=mailto:[EMAIL PROTECTED]Antonio Ricoy/A
+   LI
+   es_ES (Spanish) by A HREF=mailto:[EMAIL 
PROTECTED]Karim Mribti/A and 
+   A HREF=mailto:[EMAIL PROTECTED]Diego A. Gil/A
+   LI
+   fa_IR (Persian) by
+   SPAN LANG=
+   A HREF=mailto:[EMAIL 
PROTECTED]#1593;#1576;#1575;#1587; 
+   #1575;#1610;#1586;#1583; /A
+   /SPANA HREF=mailto:[EMAIL PROTECTED](Abbas 
Izad)/A
+   LI
+   fi_FI (Finnish) by A HREF=mailto:[EMAIL 
PROTECTED]Jori Juoto/A
+   LI
+   fr_FR (French) by A HREF=mailto:[EMAIL 
PROTECTED]Jean-Michel Pouré/A and
+   A href=mailto:[EMAIL PROTECTED]Raphaël Enrici/A
+   LI
+   gl_ES (Galician) by A HREF=mailto:[EMAIL 
PROTECTED]Antonio Ricoy/A
 !--  LIgu_IN (Gujarati) by A HREF=mailto:[EMAIL PROTECTED]Bhavin 
Choksi/A --
 !--  LIhi_IN (Hindi) by A HREF=mailto:[EMAIL PROTECTED]Guntupalli 
Karunakar/A --
-   LIhr_HR (Croatian) by A HREF=mailto:[EMAIL PROTECTED]Darko 
Prenosil/Finteh d.o.o./A
-   LIhu_HU (Hungarian) by A HREF=mailto:[EMAIL PROTECTED]Zoltan 
Kovaacute;cs/A 
- 

Re: [pgadmin-hackers] french translation

2004-09-17 Thread Andreas Pflug
Raphaël Enrici wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Andreas,
please apply so that we don't loose the job... It remains 25 fuzzy
strings and 25 strings to translate.
Applied.
Regards,
Andreas
---(end of broadcast)---
TIP 3: 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


[pgadmin-hackers] CVS Commit by andreas: Translator team update

2004-09-17 Thread cvs
Log Message:
---
Translator team update

Modified Files:
--
pgadmin3/docs/en_US:
translation_team.html (r1.84 - r1.85)

Index: translation_team.html
===
RCS file: /projects/pgadmin3/docs/en_US/translation_team.html,v
retrieving revision 1.84
retrieving revision 1.85
diff -Ldocs/en_US/translation_team.html -Ldocs/en_US/translation_team.html -u -w 
-r1.84 -r1.85
--- docs/en_US/translation_team.html
+++ docs/en_US/translation_team.html
@@ -44,7 +44,7 @@
fi_FI (Finnish) by A HREF=mailto:[EMAIL 
PROTECTED]Jori Juoto/A
LI
fr_FR (French) by A HREF=mailto:[EMAIL 
PROTECTED]Jean-Michel Pouré/A and
-   A href=mailto:[EMAIL PROTECTED]Raphaël Enrici/A
+   A href=mailto:[EMAIL PROTECTED]Raphaël Enrici/A
LI
gl_ES (Galician) by A HREF=mailto:[EMAIL 
PROTECTED]Antonio Ricoy/A
!--  LIgu_IN (Gujarati) by A HREF=mailto:[EMAIL 
PROTECTED]Bhavin Choksi/A --
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])


[pgadmin-hackers] CVS Commit by andreas: mail typo

2004-09-17 Thread cvs
Log Message:
---
mail typo

Modified Files:
--
www/pgadmin3/cnt:
cnt_download.php (r1.66 - r1.67)

Index: cnt_download.php
===
RCS file: /projects/www/pgadmin3/cnt/cnt_download.php,v
retrieving revision 1.66
retrieving revision 1.67
diff -Lpgadmin3/cnt/cnt_download.php -Lpgadmin3/cnt/cnt_download.php -u -w -r1.66 
-r1.67
--- pgadmin3/cnt/cnt_download.php
+++ pgadmin3/cnt/cnt_download.php
@@ -20,7 +20,7 @@
   h1 id=debian?php echo _(Debian packages)?/h1
   dl
 dt
-  ?php echo  sprintf(_(Packager: %s), a href='mailto:[EMAIL 
PROTECTED]'Raphaël Enrici/A);?
+  ?php echo  sprintf(_(Packager: %s), a href='mailto:[EMAIL 
PROTECTED]'Raphaël Enrici/A);?
 /dt
 
 dd
---(end of broadcast)---
TIP 8: explain analyze is your friend


[pgadmin-hackers] CVS Commit by andreas: Fedora FC2 download

2004-09-17 Thread cvs
Log Message:
---
Fedora FC2 download

Modified Files:
--
www/pgadmin3/cnt:
cnt_download.php (r1.67 - r1.68)

Index: cnt_download.php
===
RCS file: /projects/www/pgadmin3/cnt/cnt_download.php,v
retrieving revision 1.67
retrieving revision 1.68
diff -Lpgadmin3/cnt/cnt_download.php -Lpgadmin3/cnt/cnt_download.php -u -w -r1.67 
-r1.68
--- pgadmin3/cnt/cnt_download.php
+++ pgadmin3/cnt/cnt_download.php
@@ -133,7 +133,7 @@
 dt?php echo  sprintf(_(Packager: %s), a href='mailto:[EMAIL 
PROTECTED]'Jean-Michel Pouré/a / a href='mailto:[EMAIL PROTECTED]'Devrim 
Gündüz/a );?/dt
 
 dd
-?php echo sprintf(_(pgAdmin III RPM packages are available for several 
GNU/Linux distributions, including Fedora %s, Mandrake %s, RedHat %s and SuSE %s.), 
RC1, 9.1, 9, 8.2);?
+?php echo sprintf(_(pgAdmin III RPM packages are available for several 
GNU/Linux distributions, including Fedora %s, Mandrake %s, RedHat %s and SuSE %s.), 
FC1 and FC2, 9.1, 9, 8.2);?
  /dd
 
   dd
@@ -149,9 +149,15 @@
   /tr
 
   tr bgcolor=lightyellow
+td[MIRROR URL]/pgadmin3/release/FC2/td
+td/td
+td?php echo sprintf(_(pgAdmin III binary packages for %s), GNU/Linux 
Fedora FC2)?/td
+  /tr
+
+  tr bgcolor=lightyellow
 td[MIRROR URL]/pgadmin3/release/FC1/td
 td/td
-td?php echo sprintf(_(pgAdmin III binary packages for %s), GNU/Linux 
Fedora)?/td
+td?php echo sprintf(_(pgAdmin III binary packages for %s), GNU/Linux 
Fedora FC1)?/td
   /tr
 
   tr bgcolor=lightyellow
---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


[pgadmin-hackers] CVS Commit by andreas: bugs update

2004-09-17 Thread cvs
Log Message:
---
bugs update

Modified Files:
--
pgadmin3:
BUGS.txt (r1.54 - r1.55)

Index: BUGS.txt
===
RCS file: /projects/pgadmin3/BUGS.txt,v
retrieving revision 1.54
retrieving revision 1.55
diff -LBUGS.txt -LBUGS.txt -u -w -r1.54 -r1.55
--- BUGS.txt
+++ BUGS.txt
@@ -5,6 +5,7 @@
 liKnown wxWindows issues
 ul
li[Object Tree] Scrollbar doesn't scroll page by page under gtk
+   li[Scintilla lexer] doesn't know about escaping quotes
li[Main listview] Background behind the tabs doesn't redraw on Win XP and 
2003.
li[gtk] FindFocus reports bogus controls. Symptom: select a menu or toolbar, 
but nothing happens.
li[gtk] combobox positioning when height is not specified; current 
workaround: fixed 12d height
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


[pgadmin-hackers] CVS Commit by dpage: Update snapshot download links.

2004-09-17 Thread cvs
Log Message:
---
Update snapshot download links.

Modified Files:
--
www/pgadmin3/cnt:
cnt_download.php (r1.68 - r1.69)

Index: cnt_download.php
===
RCS file: /projects/www/pgadmin3/cnt/cnt_download.php,v
retrieving revision 1.68
retrieving revision 1.69
diff -Lpgadmin3/cnt/cnt_download.php -Lpgadmin3/cnt/cnt_download.php -u -w -r1.68 
-r1.69
--- pgadmin3/cnt/cnt_download.php
+++ pgadmin3/cnt/cnt_download.php
@@ -454,10 +454,10 @@
 ?php echo _(Download pgAdmin III snapshots here:);?
 ul
   liGNU Linux a 
href=http://www.pgadmin.org/snapshots/linux/debian;Debian/a |
-  a href=http://www.pgadmin.org/snapshots/linux/FC1;Fedora FC1/a |
+  a href=http://www.pgadmin.org/snapshots/linux/FC2;Fedora FC2/a |
   a href=http://www.pgadmin.org/snapshots/linux/mandrake91;Mandrake 9.1/a |
   a href=http://www.pgadmin.org/snapshots/linux/redhat9;RedHat 9/a |
-  a href=http://www.pgadmin.org/snapshots/linux/slackware9;Slackware 9.0/a |
+  a href=http://www.pgadmin.org/snapshots/linux/slackware91;Slackware 9.1/a |
   a href=http://www.pgadmin.org/snapshots/linux/suse82;SuSE 8.2/a
   br/
   lia href=http://www.pgadmin.org/snapshots/freeBSD;FreeBSD 5.1/abr/
---(end of broadcast)---
TIP 3: 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


[pgadmin-hackers] CVS Commit by dpage: Updated bugs list.

2004-09-17 Thread cvs
Log Message:
---
Updated bugs list.

Modified Files:
--
pgadmin3:
BUGS.txt (r1.55 - r1.56)

Index: BUGS.txt
===
RCS file: /projects/pgadmin3/BUGS.txt,v
retrieving revision 1.55
retrieving revision 1.56
diff -LBUGS.txt -LBUGS.txt -u -w -r1.55 -r1.56
--- BUGS.txt
+++ BUGS.txt
@@ -1,6 +1,7 @@
 ul
 liKnown issues
 ul
+liPermissions on functions are not included in generated SQL/li
 /ul
 liKnown wxWindows issues
 ul
---(end of broadcast)---
TIP 3: 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] english typo

2004-09-17 Thread Diego A. Gil
It was already corrected in spanish translation. I agree that it is not
worth it to touch sources.

Diego.

El vie, 17-09-2004 a las 04:39, Dave Page escribi:
  
  -Original Message-
  From: Raphal Enrici [mailto:[EMAIL PROTECTED] 
  Sent: 16 September 2004 20:13
  To: Andreas Pflug; Dave Page
  Cc: [EMAIL PROTECTED]
  Subject: english typo 
  
  While translating pgA3 to french, I think I found a typo:
  
  Query inserted one rows with OID %d.\n
  shouldn't it be Query inserted one row with OID %d.\n ?
  
  Shall I modify the original string in poedit (I bet I 
  shouldn't but would like to be sure...) ?
 
 No, not in poEdit. It needs to be done in the main source and then a string merge 
 performed. I'm not sure if it's worth doing now though - it'll break all the 
 translations which likely corrected it in their language anyway...
 
 Regards, Dave.
 
 ---(end of broadcast)---
 TIP 9: the planner will ignore your desire to choose an index scan if your
   joining column's datatypes do not match
 
 


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


[pgadmin-hackers] CVS Commit by andreas: GRANT for functions in reengineered SQL window

2004-09-17 Thread cvs
Log Message:
---
GRANT for functions in reengineered SQL window
1.2B2 Fix Database creation for 7.3/7.4 [Jona]

Modified Files:
--
pgadmin3:
BUGS.txt (r1.56 - r1.57)
CHANGELOG.txt (r1.136 - r1.137)
pgadmin3/src/include:
frmMain.h (r1.54 - r1.55)
pgadmin3/src/schema:
pgFunction.cpp (r1.38 - r1.39)
pgLanguage.cpp (r1.24 - r1.25)
pgObject.cpp (r1.72 - r1.73)
pgSchema.cpp (r1.35 - r1.36)
pgSequence.cpp (r1.26 - r1.27)
pgView.cpp (r1.32 - r1.33)
pgadmin3/src/ui:
dlgDatabase.cpp (r1.32 - r1.33)
dlgProperty.cpp (r1.94 - r1.95)
frmMain.cpp (r1.109 - r1.110)

Index: BUGS.txt
===
RCS file: /projects/pgadmin3/BUGS.txt,v
retrieving revision 1.56
retrieving revision 1.57
diff -LBUGS.txt -LBUGS.txt -u -w -r1.56 -r1.57
--- BUGS.txt
+++ BUGS.txt
@@ -1,7 +1,6 @@
 ul
 liKnown issues
 ul
-liPermissions on functions are not included in generated SQL/li
 /ul
 liKnown wxWindows issues
 ul
Index: CHANGELOG.txt
===
RCS file: /projects/pgadmin3/CHANGELOG.txt,v
retrieving revision 1.136
retrieving revision 1.137
diff -LCHANGELOG.txt -LCHANGELOG.txt -u -w -r1.136 -r1.137
--- CHANGELOG.txt
+++ CHANGELOG.txt
@@ -17,6 +17,8 @@
 /ul
 br
 ul
+li2004-09-17 AP  1.2B2 GRANT for functions in reengineered SQL window
+li2004-09-17 AP  1.2B2 Fix Database creation for 7.3/7.4 [Jona]
 li2004-09-16 AP  1.2B2 resources: use wxID_xxx IDs to enable GTK wxStockButtons
 li2004-09-16 AP  1.2B2 resources: use 12d height for comboboxes (GTK 
positioning issue)
 li2004-09-16 AP  1.2B2 rewrite of properties actions
Index: frmMain.h
===
RCS file: /projects/pgadmin3/src/include/frmMain.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -Lsrc/include/frmMain.h -Lsrc/include/frmMain.h -u -w -r1.54 -r1.55
--- src/include/frmMain.h
+++ src/include/frmMain.h
@@ -44,6 +44,7 @@
 void StartMsg(const wxString msg);
 void EndMsg();
 void SetStatusText(const wxString msg);
+void SetCurrentObject(pgObject *data) { currentObject = data; }
 
 void SetButtons(pgObject *obj=0);
 
Index: pgObject.cpp
===
RCS file: /projects/pgadmin3/src/schema/pgObject.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -Lsrc/schema/pgObject.cpp -Lsrc/schema/pgObject.cpp -u -w -r1.72 -r1.73
--- src/schema/pgObject.cpp
+++ src/schema/pgObject.cpp
@@ -533,15 +533,17 @@
 }
 
 
-wxString pgObject::GetGrant(const wxString allPattern, const wxString _grantOnType, 
bool noOwner)
+wxString pgObject::GetGrant(const wxString allPattern, const wxString _grantFor, 
bool noOwner)
 {
-wxString grant, str, user, grantOnType;
-if (_grantOnType.IsNull())
-grantOnType=GetTypeName();
+wxString grant, str, user, grantFor;
+if (_grantFor.IsNull())
+{
+grantFor = GetTypeName();
+grantFor.MakeUpper();
+grantFor += wxT( ) + GetQuotedFullIdentifier();
+}
 else
-grantOnType = _grantOnType;
-
-grantOnType.MakeUpper();
+grantFor = _grantFor;
 
 if (!acl.IsNull())
 {
@@ -564,7 +566,7 @@
 user = qtIdent(user);
 }
 
-grant += GetPrivileges(allPattern, str, grantOnType + wxT( ) + 
GetQuotedFullIdentifier(), user);
+grant += GetPrivileges(allPattern, str, grantFor, user);
 }
 }
 return grant;
Index: pgFunction.cpp
===
RCS file: /projects/pgadmin3/src/schema/pgFunction.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -Lsrc/schema/pgFunction.cpp -Lsrc/schema/pgFunction.cpp -u -w -r1.38 -r1.39
--- src/schema/pgFunction.cpp
+++ src/schema/pgFunction.cpp
@@ -50,10 +50,12 @@
 {
 if (sql.IsNull())
 {
-sql = wxT(-- Function: ) + GetQuotedFullIdentifier() + wxT(() + 
GetArgTypeNames() + wxT()\n\n)
-+ wxT(-- DROP FUNCTION ) + GetQuotedFullIdentifier()  + wxT(() + 
GetQuotedArgTypes() + wxT();)
-+ wxT(\n\nCREATE OR REPLACE FUNCTION ) + GetQuotedFullIdentifier() + 
wxT(() + GetQuotedArgTypeNames()
-+ wxT()\n  RETURNS );
+wxString qtName = wxT(FUNCTION ) + GetQuotedFullIdentifier()  + wxT(() + 
GetQuotedArgTypes() + wxT());
+
+sql = wxT(-- Function: ) + GetFullIdentifier() + wxT(() + 
GetArgTypeNames() + wxT()\n\n)
++ wxT(-- DROP ) + qtName + wxT(;)
++ wxT(\n\nCREATE OR REPLACE ) + qtName
++ wxT(\n  RETURNS );
 if (GetReturnAsSet())
 sql += wxT(SETOF );
 sql +=GetQuotedReturnType() 
@@ -76,11 +78,12 @@
 sql += wxT( STRICT);
 if (GetSecureDefiner())
 sql += wxT( SECURITY DEFINER);

[pgadmin-hackers] CVS Commit by andreas: bug page

2004-09-17 Thread cvs
Log Message:
---
bug page

Added Files:
---
www/pgadmin3:
bugs.php (r1.1)

--- /dev/null
+++ pgadmin3/bugs.php
@@ -0,0 +1,25 @@
+html xmlns=http://www.w3.org/1999/xhtml;  lang='en' xml:lang='en'
+  head
+   
+meta http-equiv=content-type content=application/xhtml+xml; charset=UTF-8 /
+link rel=stylesheet type=text/css href=css/bluehaze-latin1.css title=Blue 
Haze stylesheet /
+link rel=stylesheet type=text/css href=css/color-scheme.css title=Blue Haze 
stylesheet /
+titlepgAdmin III Bugs/title
+  /head
+
+ body 
+  h1?php echo _(Known bugs)?/h1
+  dd
+  table width=100% border=0 cellspacing=1 cellpadding=8 bgcolor=#efefef 
dir='ltr'
+  trtd
+?php echo _(The information displayed is extracted automatically from pgAdmin 
CVS.);?
+?php
+   $_file=$_SERVER[DOCUMENT_ROOT]./cvsroot/pgadmin3/BUGS.txt;
+   if (file_exists($_file)) {
+echo (brbr);
+   include_once ($_file);
+  }
+?
+/td/tr/table
+  /dd
+/body
---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


[pgadmin-hackers] CVS Commit by andreas: bugs site

2004-09-17 Thread cvs
Log Message:
---
bugs site

Modified Files:
--
www/pgadmin3:
bugs.php (r1.2 - r1.3)

Index: bugs.php
===
RCS file: /projects/www/pgadmin3/bugs.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lpgadmin3/bugs.php -Lpgadmin3/bugs.php -u -w -r1.2 -r1.3
--- pgadmin3/bugs.php
+++ pgadmin3/bugs.php
@@ -8,7 +8,7 @@
   /head
 
  body 
-  31?php echo _(Known bugs)?/h3
+  h1?php echo _(Known bugs)?/h1
   dd
   table width=100% border=0 cellspacing=1 cellpadding=8 bgcolor=#efefef 
dir='ltr'
   trtd
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])


[pgadmin-hackers] CVS Commit by andreas: BUGS.txt reformatting

2004-09-17 Thread cvs
Log Message:
---
BUGS.txt reformatting

Modified Files:
--
pgadmin3:
BUGS.txt (r1.57 - r1.58)

Index: BUGS.txt
===
RCS file: /projects/pgadmin3/BUGS.txt,v
retrieving revision 1.57
retrieving revision 1.58
diff -LBUGS.txt -LBUGS.txt -u -w -r1.57 -r1.58
--- BUGS.txt
+++ BUGS.txt
@@ -1,8 +1,7 @@
+bKnown issues/b
 ul
-liKnown issues
-ul
-/ul
-liKnown wxWindows issues
+/ulbr
+bKnown wxWindows issues/b
 ul
li[Object Tree] Scrollbar doesn't scroll page by page under gtk
li[Scintilla lexer] doesn't know about escaping quotes
@@ -11,15 +10,18 @@
li[gtk] combobox positioning when height is not specified; current 
workaround: fixed 12d height
li[Edit Grid] several platform-dependent misbehaviours when
starting editing a cell (F2 or any key): waiting for new 
wxGrid implementation
-/ul
-liKnown issues, but might stay unfixed
+/ulbr
+bKnown issues, but might stay unfixed/b
 ul
li[non-unicode build] Reading unicode files won't convert (wx not capable, 
use unicode build instead)
li[Object Tree] M$ Context menu key doesn't work in Windows (wxWindows bug?).
li[Object Tree] Dropped servers reappear when changing display system 
objects due to the disconnect/tree refresh.
-/ul
-liFixed issues
+/ulbr
+bFixed issues/b
 ul
+liAP 2004-09-17 [new Database] Name/Owner not editable for 7.3/7.4 servers 
[Jona]
+liDP 2004-09-16 [Server property] password visible when connecting to server 
[Ivan Nejgebauer]
+liAP 2004-09-10 [all] internal types like varchar are quoted when used as type
liAP 2004-08-15 [Windows] Alt+Tab Icon is system default.
liAP 2004-08-15 [Object Tree] Adding an unnamed constraint isn't reflected 
immediately in the tree.
liAP 2004-08-15 [Object Tree] missing schema for function return type if 
table type
@@ -45,6 +47,4 @@
liAP 2003-05-04 [Schema Browser]  OPERATOR CLASSES need work. Secondary 
(onclick) discovery SQL has an error.
liAP 2003-06-17 [Edit/Results Grids]Scrollbars often do not appear until 
the window is resized following data load.
liAP 2003-08-11 [Table Editor] Generates invalid SQL when table includes 
Foreign Key.
-/ul
-/ul
-
+/ulbr
\ No newline at end of file
---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


[pgadmin-hackers] CVS Commit by andreas: Resizing dlg to fit buttons

2004-09-17 Thread cvs
Log Message:
---
Resizing dlg to fit buttons

Modified Files:
--
pgadmin3/src/include:
dlgClasses.h (r1.10 - r1.11)
dlgProperty.h (r1.39 - r1.40)
pgadmin3/src/ui:
dlgClasses.cpp (r1.11 - r1.12)
dlgProperty.cpp (r1.95 - r1.96)
pgadmin3/src/ui/common:
dlgFunction.xrc (r1.18 - r1.19)
dlgRule.xrc (r1.9 - r1.10)
dlgStep.xrc (r1.4 - r1.5)
dlgView.xrc (r1.12 - r1.13)

Index: dlgProperty.h
===
RCS file: /projects/pgadmin3/src/include/dlgProperty.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -Lsrc/include/dlgProperty.h -Lsrc/include/dlgProperty.h -u -w -r1.39 -r1.40
--- src/include/dlgProperty.h
+++ src/include/dlgProperty.h
@@ -92,8 +92,6 @@
 
 wxTextValidator numericValidator;
 
-wxTextCtrl *statusBox;
-wxStatusBar *statusBar;
 wxNotebook *nbNotebook;
 wxTextCtrl *txtName, *txtOid, *txtComment;
 ctlComboBox *cbOwner;
Index: dlgClasses.h
===
RCS file: /projects/pgadmin3/src/include/dlgClasses.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -Lsrc/include/dlgClasses.h -Lsrc/include/dlgClasses.h -u -w -r1.10 -r1.11
--- src/include/dlgClasses.h
+++ src/include/dlgClasses.h
@@ -27,6 +27,7 @@
 class pgDialog : public wxDialog
 {
 public:
+pgDialog() { statusBar = 0; }
 void RestorePosition(int defaultX=-1, int defaultY=-1, int defaultW=-1, int 
defaultH=-1, int minW=100, int minH=70);
 void SavePosition();
 void LoadResource(wxWindow *parent, const wxChar *name=0);
@@ -35,7 +36,9 @@
 void OnCancel(wxCommandEvent ev);
 void OnClose(wxCloseEvent event);
 
+void PostCreation();
 wxString dlgName;
+wxStatusBar *statusBar;
 
 DECLARE_EVENT_TABLE();
 };
Index: dlgClasses.cpp
===
RCS file: /projects/pgadmin3/src/ui/dlgClasses.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -Lsrc/ui/dlgClasses.cpp -Lsrc/ui/dlgClasses.cpp -u -w -r1.11 -r1.12
--- src/ui/dlgClasses.cpp
+++ src/ui/dlgClasses.cpp
@@ -29,6 +29,53 @@
 EVT_CLOSE(  pgDialog::OnClose)
 END_EVENT_TABLE()
 
+
+
+void pgDialog::PostCreation()
+{
+wxWindow *statusBarContainer=FindWindow(wxT(unkStatusBar_container));
+
+if (statusBarContainer)
+{
+statusBar = new wxStatusBar(this, -1, wxST_SIZEGRIP);
+wxXmlResource::Get()-AttachUnknownControl(wxT(unkStatusBar), statusBar);
+}
+if (GetWindowStyle()  wxTHICK_FRAME)   // is designed with sizers; don't change
+return;
+
+if (!btnCancel)
+return;
+
+wxSize  size = btnCancel-GetSize();
+wxPoint pos = btnCancel-GetPosition();
+int height = pos.y + size.GetHeight() + ConvertDialogToPixels(wxSize(0,3)).y;
+if (statusBar)
+height += statusBar-GetSize().GetHeight();
+
+int right = pos.x + ConvertDialogToPixels(wxSize(50,0)).x - size.GetWidth();
+btnCancel-Move(right, pos.y);
+
+if (btnOK)
+{
+size = btnOK-GetSize();
+right -= size.GetWidth() + ConvertDialogToPixels(wxSize(3,0)).x;
+btnOK-Move(right, pos.y);
+}
+if (btnApply)
+{
+size = btnApply-GetSize();
+right -= size.GetWidth() - ConvertDialogToPixels(wxSize(3,0)).x;
+btnApply-Move(right, pos.y);
+}
+
+int w, h;
+size=GetSize();
+GetClientSize(w, h);
+
+SetSize(size.GetWidth(), size.GetHeight() + height - h);
+}
+
+
 void pgDialog::RestorePosition(int defaultX, int defaultY, int defaultW, int 
defaultH, int minW, int minH)
 {
 wxPoint pos(settings-Read(dlgName, wxPoint(defaultX, defaultY)));
@@ -56,6 +103,7 @@
 if (name)
 dlgName = name;
 wxXmlResource::Get()-LoadDialog(this, parent, dlgName); 
+PostCreation();
 }
 
 
Index: dlgProperty.cpp
===
RCS file: /projects/pgadmin3/src/ui/dlgProperty.cpp,v
retrieving revision 1.95
retrieving revision 1.96
diff -Lsrc/ui/dlgProperty.cpp -Lsrc/ui/dlgProperty.cpp -u -w -r1.95 -r1.96
--- src/ui/dlgProperty.cpp
+++ src/ui/dlgProperty.cpp
@@ -102,46 +102,12 @@
 txtComment = CTRL_TEXT(txtComment);
 cbOwner = CTRL_COMBOBOX2(cbOwner);
 
-
-   //#ifdef  __WIN32__
-#if 1  // seems wxgtk now returns a usable page size
 wxNotebookPage *page=nbNotebook-GetPage(0);
 wxASSERT(page != NULL);
 page-GetClientSize(width, height);
-#else
-nbNotebook-GetClientSize(width, height);
-   height -= ConvertDialogToPixels(wxPoint(0, 20)).y;   // sizes of tabs
-#endif
 
 numericValidator.SetStyle(wxFILTER_NUMERIC);
 btnOK-Disable();
-
-wxSize size=GetSize();
-wxWindow *statusBarContainer=FindWindow(wxT(unkStatusBar_container));
-
-if (statusBarContainer)
-{
-statusBox = 0;
-statusBar = new wxStatusBar(this, -1, wxST_SIZEGRIP);
-  

[pgadmin-hackers] CVS Commit by andreas: Resizing dlg to fit buttons

2004-09-17 Thread cvs
Log Message:
---
Resizing dlg to fit buttons

Modified Files:
--
pgadmin3/src/include:
frmStatus.h (r1.17 - r1.18)
pgadmin3/src/ui:
frmStatus.cpp (r1.44 - r1.45)
pgadmin3/src/ui/common:
frmStatus.xrc (r1.15 - r1.16)
xrcDialogs.cpp (r1.45 - r1.46)

Index: frmStatus.h
===
RCS file: /projects/pgadmin3/src/include/frmStatus.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -Lsrc/include/frmStatus.h -Lsrc/include/frmStatus.h -u -w -r1.17 -r1.18
--- src/include/frmStatus.h
+++ src/include/frmStatus.h
@@ -59,7 +59,6 @@
void checkConnection();
 
 frmMain *mainForm;
-   wxStatusBar *statusBar;
 wxButton *btnCancelSt, *btnTerminateSt,*btnCancelLk, *btnTerminateLk;
 
 wxString logFormat;
Index: frmStatus.cpp
===
RCS file: /projects/pgadmin3/src/ui/frmStatus.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -Lsrc/ui/frmStatus.cpp -Lsrc/ui/frmStatus.cpp -u -w -r1.44 -r1.45
--- src/ui/frmStatus.cpp
+++ src/ui/frmStatus.cpp
@@ -83,8 +83,6 @@
 RestorePosition(-1, -1, 400, 240, 200, 150);
 SetTitle(_title);
 SetIcon(wxIcon(pgAdmin3_xpm));
-   statusBar = new  wxStatusBar(this, -1, wxST_SIZEGRIP);
-   wxXmlResource::Get()-AttachUnknownControl(wxT(unkStatusBar), statusBar);
 
 mainForm=form;
 timer=0;
Index: xrcDialogs.cpp
===
RCS file: /projects/pgadmin3/src/ui/common/xrcDialogs.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -Lsrc/ui/common/xrcDialogs.cpp -Lsrc/ui/common/xrcDialogs.cpp -u -w -r1.45 -r1.46
--- src/ui/common/xrcDialogs.cpp
+++ src/ui/common/xrcDialogs.cpp
@@ -7765,7 +7765,7 @@
 10,32,32,60,47,111,98,106,101,99,116,62,10,60,47,114,101,115,111,117,114,
 99,101,62,10};
 
-static size_t xml_res_size_39 = 7708;
+static size_t xml_res_size_39 = 7640;
 static unsigned char xml_res_file_39[] = {
 60,63,120,109,108,32,118,101,114,115,105,111,110,61,34,49,46,48,34,32,101,
 110,99,111,100,105,110,103,61,34,85,84,70,45,56,34,63,62,10,60,114,101,
@@ -8076,49 +8076,45 @@
 60,47,108,97,98,101,108,62,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
 60,100,101,102,97,117,108,116,62,49,60,47,100,101,102,97,117,108,116,62,
 10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,60,112,111,115,62,50,56,51,
-44,52,100,60,47,112,111,115,62,10,32,32,32,32,32,32,32,32,32,32,32,32,32,
-32,60,115,105,122,101,62,53,51,44,45,49,100,60,47,115,105,122,101,62,10,
-32,32,32,32,32,32,32,32,32,32,32,32,60,47,111,98,106,101,99,116,62,10,32,
-32,32,32,32,32,32,32,32,32,32,32,60,102,108,97,103,62,119,120,84,79,80,
-124,119,120,66,79,84,84,79,77,124,119,120,76,69,70,84,124,119,120,82,73,
-71,72,84,60,47,102,108,97,103,62,10,32,32,32,32,32,32,32,32,32,32,32,32,
-60,98,111,114,100,101,114,62,53,60,47,98,111,114,100,101,114,62,10,32,32,
-32,32,32,32,32,32,32,32,60,47,111,98,106,101,99,116,62,10,32,32,32,32,32,
-32,32,32,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,115,
-105,122,101,114,105,116,101,109,34,62,10,32,32,32,32,32,32,32,32,32,32,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,117,
-116,116,111,110,34,32,110,97,109,101,61,34,119,120,73,68,95,67,76,79,83,
-69,34,62,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,60,108,97,98,101,
-108,62,67,108,111,115,101,60,47,108,97,98,101,108,62,10,32,32,32,32,32,
-32,32,32,32,32,32,32,32,32,60,112,111,115,62,51,52,50,44,52,100,60,47,112,
-111,115,62,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,60,115,105,122,
-101,62,53,51,44,45,49,100,60,47,115,105,122,101,62,10,32,32,32,32,32,32,
-32,32,32,32,32,32,60,47,111,98,106,101,99,116,62,10,32,32,32,32,32,32,32,
-32,32,32,32,32,60,102,108,97,103,62,119,120,76,69,70,84,124,119,120,82,
-73,71,72,84,124,119,120,65,76,73,71,78,95,67,69,78,84,82,69,95,86,69,82,
-84,73,67,65,76,60,47,102,108,97,103,62,10,32,32,32,32,32,32,32,32,32,32,
-32,32,60,98,111,114,100,101,114,62,51,60,47,98,111,114,100,101,114,62,10,
-32,32,32,32,32,32,32,32,32,32,60,47,111,98,106,101,99,116,62,10,32,32,32,
-32,32,32,32,32,32,32,60,103,114,111,119,97,98,108,101,99,111,108,115,62,
-50,60,47,103,114,111,119,97,98,108,101,99,111,108,115,62,10,32,32,32,32,
-32,32,32,32,60,47,111,98,106,101,99,116,62,10,32,32,32,32,32,32,32,32,60,
-102,108,97,103,62,119,120,84,79,80,124,119,120,69,88,80,65,78,68,124,119,
-120,71,82,79,87,60,47,102,108,97,103,62,10,32,32,32,32,32,32,60,47,111,
-98,106,101,99,116,62,10,32,32,32,32,32,32,60,103,114,111,119,97,98,108,
-101,99,111,108,115,62,48,60,47,103,114,111,119,97,98,108,101,99,111,108,
-115,62,10,32,32,32,32,32,32,60,103,114,111,119,97,98,108,101,114,111,119,
-115,62,48,60,47,103,114,111,119,97,98,108,101,114,111,119,115,62,10,32,
-32,32,32,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,115,
-105,122,101,114,105,116,101,109,34,62,10,32,32,32,32,32,32,32,32,60,111,

[pgadmin-hackers] CVS Commit by andreas: Resizing dlg to fit buttons

2004-09-17 Thread cvs
Log Message:
---
Resizing dlg to fit buttons

Modified Files:
--
pgadmin3/src/ui/common:
dlgTable.xrc (r1.15 - r1.16)

Index: dlgTable.xrc
===
RCS file: /projects/pgadmin3/src/ui/common/dlgTable.xrc,v
retrieving revision 1.15
retrieving revision 1.16
diff -Lsrc/ui/common/dlgTable.xrc -Lsrc/ui/common/dlgTable.xrc -u -w -r1.15 -r1.16
--- src/ui/common/dlgTable.xrc
+++ src/ui/common/dlgTable.xrc
@@ -94,21 +94,55 @@
   object class=notebookpage
 labelColumns/label
 object class=wxPanel name=pnlColumns
+  object class=wxBoxSizer
+orientwxHORIZONTAL/orient
+object class=spacer
+  size3,3d/size
+/object
+object class=sizeritem
+  object class=wxFlexGridSizer
+cols1/cols
+growablecols0/growablecols
+object class=spacer
+  size2,2d/size
+/object
+object class=sizeritem
   object class=wxListCtrl name=lstColumns
 pos2,2d/pos
-size270,240d/size
+size270,-1d/size
 stylewxLC_REPORT|wxLC_SINGLE_SEL/style
   /object
+  flagwxGROW/flag
+/object
+object class=spacer
+  size3,3d/size
+/object
+object class=sizeritem
+  object class=wxFlexGridSizer
+cols6/cols
+object class=spacer/
+object class=sizeritem
   object class=wxButton name=btnChangeCol
 labelChange/label
 pos116,245d/pos
 size50,-1d/size
   /object
+/object
+growablecols0/growablecols
+object class=spacer
+  size3,3d/size
+/object
+object class=sizeritem
   object class=wxButton name=btnAddCol
 labelAdd/label
 pos169,245d/pos
 size50,-1d/size
   /object
+/object
+object class=spacer
+  size3,3d/size
+/object
+object class=sizeritem
   object class=wxButton name=btnRemoveCol
 labelRemove/label
 pos222,245d/pos
@@ -116,29 +150,87 @@
   /object
 /object
   /object
+  flagwxGROW/flag
+/object
+object class=spacer
+  size2,2d/size
+/object
+growablerows1/growablerows
+  /object
+  flagwxGROW/flag
+/object
+  /object
+/object
+  /object
   object class=notebookpage
 labelConstraints/label
 object class=wxPanel name=pnlConstraints
+  object class=wxBoxSizer
+orientwxHORIZONTAL/orient
+object class=spacer
+  size3,3d/size
+/object
+object class=sizeritem
+  object class=wxFlexGridSizer
+cols1/cols
+growablerows1/growablerows
+growablecols0/growablecols
+object class=spacer
+  size2,2d/size
+/object
+object class=sizeritem
   object class=wxListCtrl name=lstConstraints
 pos2,2d/pos
-size270,240d/size
+size270,-1d/size
 stylewxLC_REPORT|wxLC_SINGLE_SEL/style
   /object
+  flagwxGROW/flag
+/object
+object class=spacer
+  size3,3d/size
+/object
+object class=sizeritem
+  object class=wxFlexGridSizer
+cols6/cols
+object class=spacer
+  size0,0/size
+/object
+object class=sizeritem
   object class=wxComboBox name=cbConstrType
 content/
 pos2,246d/pos
-size145,-1d/size
 stylewxCB_READONLY|wxCB_DROPDOWN/style
   /object
+  flagwxGROW/flag
+/object
+object class=spacer
+  size3,3d/size
+/object
+object class=sizeritem
   object class=wxButton name=btnAddConstr
 labelAdd/label
 pos169,245d/pos
-size50,-1d/size
   /object
+/object
+object class=spacer
+  size3,3d/size
+/object
+object class=sizeritem
   object class=wxButton name=btnRemoveConstr
 labelRemove/label
 pos222,245d/pos
- 

[pgadmin-hackers] CVS Commit by andreas: Resizing dlg to fit buttons

2004-09-17 Thread cvs
Log Message:
---
Resizing dlg to fit buttons

Modified Files:
--
pgadmin3/src/ui/common:
dlgTable.xrc (r1.16 - r1.17)

Index: dlgTable.xrc
===
RCS file: /projects/pgadmin3/src/ui/common/dlgTable.xrc,v
retrieving revision 1.16
retrieving revision 1.17
diff -Lsrc/ui/common/dlgTable.xrc -Lsrc/ui/common/dlgTable.xrc -u -w -r1.16 -r1.17
--- src/ui/common/dlgTable.xrc
+++ src/ui/common/dlgTable.xrc
@@ -63,15 +63,32 @@
 pos70,91d/pos
 size200,43d/size
   /object
+  object class=wxFlexGridSizer
+object class=spacer
+  size10,148d/size
+/object
+object class=sizeritem
+  object class=wxFlexGridSizer
+cols1/cols
+object class=sizeritem
   object class=wxButton name=btnRemoveTable
 labelRemove/label
 pos13,115d/pos
-size50,-1d/size
   /object
+/object
+object class=spacer
+  size3,3d/size
+/object
+object class=sizeritem
   object class=wxButton name=btnAddTable
 labelAdd/label
 pos13,133d/pos
-size50,-1d/size
+  /object
+/object
+  /object
+  flagwxALIGN_BOTTOM/flag
+/object
+cols2/cols
   /object
   object class=ctlComboBox name=cbTables
 content/
---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match