[pgadmin-hackers] Snapshot Apache file names

2003-10-21 Thread Jean-Michel POURE
Hi Dave,

The display of file names in the Snapshots section of the web site, for 
example on http://www.pgadmin.org/snapshots/linux/redhat9, is cropped. Snake 
does not have this problem.

According to Apache doc on http://httpd.apache.org/docs-2.0/mod/
mod_autoindex.html#indexoptions, the following option should be set:

"NameWidth=*".

Cheers, Jean-Michel


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


Re: [pgadmin-hackers] Snapshot Apache file names

2003-10-21 Thread Dave Page
 

> -Original Message-
> From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
> Sent: 21 October 2003 08:28
> To: [EMAIL PROTECTED]
> Subject: [pgadmin-hackers] Snapshot Apache file names
> 
> Hi Dave,
> 
> The display of file names in the Snapshots section of the web 
> site, for example on 
> http://www.pgadmin.org/snapshots/linux/redhat9, is cropped. 
> Snake does not have this problem.
> 
> According to Apache doc on http://httpd.apache.org/docs-2.0/mod/
> mod_autoindex.html#indexoptions, the following option should be set:
> 
> "NameWidth=*".
> 

Hi Jean-Michel,

Should be OK now.

Regards, Dave.

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

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


[pgadmin-hackers] CVS compile error

2003-10-21 Thread Adam H. Pendleton
I am trying to look at Dave's GTK error, but I am getting the following 
CVS compile error:

ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox()':
ui/ctlSQLBox.cpp:308: error: no matching function for call to 
`wxStyledTextCtrl
  ::wxStyledTextCtrl()'
/usr/include/wx/stc/stc.h:1145: error: candidates are:
  wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&)
/usr/include/wx/stc/stc.h:1162: error:
  wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, int, const wxPoint&, const
  wxSize&, long int, const wxString&)
ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox(wxWindow*, int, const
  wxPoint&, const wxSize&, long int)':
ui/ctlSQLBox.cpp:314: error: no matching function for call to 
`wxStyledTextCtrl
  ::wxStyledTextCtrl()'
/usr/include/wx/stc/stc.h:1145: error: candidates are:
  wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&)
/usr/include/wx/stc/stc.h:1162: error:
  wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, int, const wxPoint&, const
  wxSize&, long int, const wxString&)

ahp

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


Re: [pgadmin-hackers] CVS compile error

2003-10-21 Thread Andreas Pflug
Adam H. Pendleton wrote:

I am trying to look at Dave's GTK error, but I am getting the 
following CVS compile error:

ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox()':
ui/ctlSQLBox.cpp:308: error: no matching function for call to 
`wxStyledTextCtrl
  ::wxStyledTextCtrl()'
/usr/include/wx/stc/stc.h:1145: error: candidates are:
  wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&)
/usr/include/wx/stc/stc.h:1162: error:
  wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, int, const wxPoint&, 
const
  wxSize&, long int, const wxString&)
ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox(wxWindow*, int, 
const
  wxPoint&, const wxSize&, long int)':
ui/ctlSQLBox.cpp:314: error: no matching function for call to 
`wxStyledTextCtrl
  ::wxStyledTextCtrl()'
/usr/include/wx/stc/stc.h:1145: error: candidates are:
  wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&)
/usr/include/wx/stc/stc.h:1162: error:
  wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, int, const wxPoint&, 
const
  wxSize&, long int, const wxString&)

ahp


My latest stc patch is missing.

Regards,
Andreas


---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
   (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])


Re: [pgadmin-hackers] CVS compile error

2003-10-21 Thread Jean-Michel POURE
Le Mardi 21 Octobre 2003 14:56, Andreas Pflug a écrit :
> My latest stc patch is missing.
Dear Adam,

You can download the patched tarball from here:
http://snake.pgadmin.org/snapshots/wxwindows/
wxWindows-pgAdmin3-20031010-3.tar.bz2

You can also install our RPMs:
http://snake.pgadmin.org/snapshots/wxwindows/redhat9/

But I guess it will not work in full-debugging mode as RH stips down the 
build.

Cheers,
Jean-Michel


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

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


[pgadmin-hackers] Debuging RPMs

2003-10-21 Thread Adam H. Pendleton
To start off let me just say how well the pgAdmin3 RPMs build and 
install on all my RH systems now!  Good work!!  I've run into a problem, 
however, and I don't know if it's something that I am doing wrong, or if 
there is a problem with the way the RPMs are built.  When trying to 
debug the pgadmin3 exectuable that gets installed with the RPM (this is 
on RedHat), gdb reports that there are now debug symbols in the executable.

[EMAIL PROTECTED] fmonkey]$ gdb pgadmin3
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".
(no debugging symbols found)...
(gdb)

There is a debuginfo package installed:

[EMAIL PROTECTED] fmonkey]$ rpm -qa pgadmin3*
pgadmin3-1.1.0-cvs20031014
pgadmin3-debuginfo-1.1.0-cvs20031014
[EMAIL PROTECTED] fmonkey]$
and the debuginfo file exists:

[EMAIL PROTECTED] fmonkey]$ ls -l /usr/lib/debug/usr/bin/pgadmin3.debug
-rwxr-xr-x1 root root  1284116 Oct 21 09:00 
/usr/lib/debug/usr/bin/pgadmin3.debug
[EMAIL PROTECTED] fmonkey]$

Running gdb, specifying the symbol file explicitly doesn't change the 
behavior.  Loooking at the SPEC file, I see that 'configure' is run with 
the '--enable-debug' option, but that later int he SPEC file, the 
following command is run:

strip --strip-debug %{buildroot}/%{_bindir}/%{name}

Removing this command from the SPEC file allows the RPM to build with 
the proper debug information.  I don't know how the old RH systems work, 
but on mine, the /usr/bin/pgadmin3 file gets stripped, and all the debug 
information gets stored in a separate file, so we get the benefit of the 
stripped executable, but the advantage of being able to distribute a 
pgadmin3-debuginfo RPM for debugging users.

ahp







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


[pgadmin-hackers] font problem of the calendar

2003-10-21 Thread Hiroshi Saito
Hi Andreas.

I have a font problem of the calendar in Japanese on W2K.
See.
http://cre-ent.skcapi.co.jp/~saito/pgadmin3/pgadmin3_calendar_Before.jpg

Take it into consideration though you can solve it with this patch?
http://cre-ent.skcapi.co.jp/~saito/pgadmin3/pgadmin3_calendar_After.jpg

regards,
Hiroshi Saito

Calender_patch
Description: Binary data

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


Re: [pgadmin-hackers] Debuging RPMs

2003-10-21 Thread Jean-Michel POURE
Le Mardi 21 Octobre 2003 15:34, Adam H. Pendleton a écrit :
> When trying to
> debug the pgadmin3 exectuable that gets installed with the RPM (this is
> on RedHat), gdb reports that there are now debug symbols in the executable.

Dear Adam,

RH9 stips off debugging symbols by default.

For consistency, I stripped Mandrake and Suse builds too using:
strip --strip-debug %{buildroot}/%{_bindir}/%{name}

Maybe I can unset the default stripping in RH and then remove this line. But 
will you be able to debug enough knowing that wxWindows is stripped too?

This is a real problem. Tell me what I should do...
Best regards, Jean-Michel


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


[pgadmin-hackers] New wx patches

2003-10-21 Thread Andreas Pflug
I posted two new wx patches. One of them is vital, because it adds a 
missing method to wxCalendarEvent. If you can't compile calbox.cpp, 
don't complain until you applied this patch. :-)

Regards,
Andreas
---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] font problem of the calendar

2003-10-21 Thread Andreas Pflug
Hiroshi Saito wrote:

Hi Andreas.

I have a font problem of the calendar in Japanese on W2K.
See.
http://cre-ent.skcapi.co.jp/~saito/pgadmin3/pgadmin3_calendar_Before.jpg
Take it into consideration though you can solve it with this patch?
http://cre-ent.skcapi.co.jp/~saito/pgadmin3/pgadmin3_calendar_After.jpg
 

Your patch only scratches the surface; you replaced one evil (hard-coded 
font) with another (hard-coded font).
The wxCalendarCtrl lacks font inheritance, I just posted a fix that works.
There's also some pgAdmin stuff updated.

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


Re: [pgadmin-hackers] New wx patches

2003-10-21 Thread Hiroshi Saito
From: "Andreas Pflug" <[EMAIL PROTECTED]>


> I posted two new wx patches. One of them is vital, because it adds a 
> missing method to wxCalendarEvent. If you can't compile calbox.cpp, 
> don't complain until you applied this patch. :-)
> 
> Regards,
> Andreas

It is nice recover.:-)
I am try it.
Very Good.

BTW,
The end of the line of patch is CRLF, and a condition isn't fine.:-(
Is it anything means?

regards,
Hiroshi Saito

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])