[pgadmin-hackers] Oh no!!

2003-07-15 Thread Andreas Pflug
This message popping up every time a query finishes in query window is 
completely annoying. I hated it with pgadmin2, and it was one reason for 
me to write pgadmin3. And people in the same room working with you will 
soon hate it too, unless you remove your speaker or beep device
I removed it.
Additionally, the message page is not a mere logging window, but 
receives the messages and notices for the currently executed query (we 
already have a logging mechanism...). That's why it has to be cleared 
before each execution. The query being executed is in the query page, so 
why repeat it? If you're repeatedly executing many big queries, like I 
do, you won't see any more what's really important.

Regards,
Andreas
---(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


Re: [pgadmin-hackers] Oh no!!

2003-07-15 Thread Dave Page


 -Original Message-
 From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
 Sent: 15 July 2003 08:07
 To: pgadmin-hackers; Dave Page
 Subject: Oh no!!
 
 
 This message popping up every time a query finishes in query 
 window is 
 completely annoying. I hated it with pgadmin2, and it was one 
 reason for 
 me to write pgadmin3. And people in the same room working 
 with you will 
 soon hate it too, unless you remove your speaker or beep 
 device I removed it. 

Please put it back with an option to switch it off if you dislike it so
much. I hate running non-queries and not seeing that they have obviously
completed.

 Additionally, the message page is 
 not a mere logging window, but 
 receives the messages and notices for the currently executed 
 query (we 
 already have a logging mechanism...). That's why it has to be cleared 
 before each execution. The query being executed is in the 
 query page, so 
 why repeat it? If you're repeatedly executing many big 
 queries, like I 
 do, you won't see any more what's really important.

It shows the history of what you've been doing and waht happened -
particularly useful when fine tuning queries etc. The current log window
has never shown more than 3 lines to me, and that could easily be
reduced without losing content. I would far rather see a rolling history
of what I've done and what the result was, than a couple of lines of
text that might just as well be in the status bar.

Again, please put it back, and add a 'verbose' output option for those
of us that want to see that sort of thing.

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


Re: [pgadmin-hackers] CVS notification (Path algorithms)

2003-07-15 Thread Dave Page


 -Original Message-
 From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
 Sent: 14 July 2003 17:18
 To: Dave Page
 Cc: pgadmin-hackers
 Subject: Re: CVS notification (Path algorithms)
 
 
 I needed some time until I could check Linux on this, and it 
 works for me. 

Sorry, I should have said - I'm on Win32, Release Unicode build on XP.
It works OK on Linux for me as well. On XP though I see just a blank
page. I *don't* get an error message any more though, so I think this is
a display issue now rather than file location one.

Does it work on your Win32 system? What wx are you running there?

Regards, Dave.

---(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] pgadmin/pgsql logo

2003-07-15 Thread Dave Page


 -Original Message-
 From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
 Sent: 14 July 2003 17:39
 To: Dave Page
 Cc: pgadmin-hackers
 Subject: pgadmin/pgsql logo
 
 
 Hi Dave,
 
 I like the new splash screen!

Thanks. The old one didn't really mean much, and besides, it didn't
match the website!

 We're hopefully becoming THE graphical 
 front end to pgsql, and should proudly show the elephant.
 I created a new icon file for Windows and a new icon for the 
 system menu.

Cool, looks good.

Regards, Dave.

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

   http://archives.postgresql.org


Re: [pgadmin-hackers] CVS notification (Path algorithms)

2003-07-15 Thread Andreas Pflug
Dave Page wrote:

 

-Original Message-
From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
Sent: 14 July 2003 17:18
To: Dave Page
Cc: pgadmin-hackers
Subject: Re: CVS notification (Path algorithms)

   

I needed some time until I could check Linux on this, and it 
works for me. 
   

Sorry, I should have said - I'm on Win32, Release Unicode build on XP.
It works OK on Linux for me as well. On XP though I see just a blank
page. I *don't* get an error message any more though, so I think this is
a display issue now rather than file location one.
Does it work on your Win32 system? What wx are you running there?

 

Yes it does, most changes I commit are originating from w32.
It's wx2.5, of course.
Regards,
Andreas
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


Re: [pgadmin-hackers] SystemObject show patch

2003-07-15 Thread Andreas Pflug
Dave Page wrote:

Thanks, patch applied.
 

I'm just in the middle of applying them. While in general Hiroshi is 
right, there are som bad implementations in it. Casting a pgCast to a 
pgServer is a very bad idea...

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


Re: [pgadmin-hackers] CVS notification (Path algorithms)

2003-07-15 Thread Dave Page


 -Original Message-
 From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
 Sent: 15 July 2003 09:01
 To: Dave Page
 Cc: pgadmin-hackers
 Subject: Re: [pgadmin-hackers] CVS notification (Path algorithms)
  
 
 Yes it does, most changes I commit are originating from w32. 
 It's wx2.5, of course.

Yeah, but what CVS date? The one one snake?

Regards, Dave.

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


Re: [pgadmin-hackers] CVS notification (Path algorithms)

2003-07-15 Thread Andreas Pflug
Dave Page wrote:

 

-Original Message-
From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
Sent: 15 July 2003 09:01
To: Dave Page
Cc: pgadmin-hackers
Subject: Re: [pgadmin-hackers] CVS notification (Path algorithms)

   

Yes it does, most changes I commit are originating from w32. 
It's wx2.5, of course.
   

Yeah, but what CVS date? The one one snake?

 

Something around June 10, not from snake. I didn't use stick option then 
so I'm not totally sure. But I don't think that there were changes for HTML.

Regards,
Andreas
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


Re: [pgadmin-hackers] Oh no!!

2003-07-15 Thread Andreas Pflug
Dave Page wrote:

 

-Original Message-
From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
Sent: 15 July 2003 08:07
To: pgadmin-hackers; Dave Page
Subject: Oh no!!

This message popping up every time a query finishes in query 
window is 
completely annoying. I hated it with pgadmin2, and it was one 
reason for 
me to write pgadmin3. And people in the same room working 
with you will 
soon hate it too, unless you remove your speaker or beep 
device I removed it. 
   

Please put it back with an option to switch it off if you dislike it so
much. I hate running non-queries and not seeing that they have obviously
completed.
Later we might add some animations (spinning thing in right side of the 
toolbar, and vacuum needs something too)
The idea behind the query window is that all input is in the upper half, 
and all output is in the lower. Messages are mostly duplicated now, 
(message page and status line), and triplicated with that msgwindow. I 
just changed frmQuery so that in case no result set is returned the 
message page is selected.

 

Additionally, the message page is 
not a mere logging window, but 
receives the messages and notices for the currently executed 
query (we 
already have a logging mechanism...). That's why it has to be cleared 
before each execution. The query being executed is in the 
query page, so 
why repeat it? If you're repeatedly executing many big 
queries, like I 
do, you won't see any more what's really important.
   

It shows the history of what you've been doing and waht happened -
particularly useful when fine tuning queries etc. The current log window
has never shown more than 3 lines to me, and that could easily be
reduced without losing content. I would far rather see a rolling history
of what I've done and what the result was, than a couple of lines of
text that might just as well be in the status bar.
Again, please put it back, and add a 'verbose' output option for those
of us that want to see that sort of thing.
 

This is becoming quite an option grave Don't like that either. It 
looks as if we couldn't decide what's working and what's not. Options 
should merely be for dividing beginners from advanced users. I'd really 
like to stick to a consistent behaviour.
You might complain that the logging facility isn't sufficient for you, 
but that may not mean that the message window doesn't reflect what's 
going on with the *current* query. Then we'd need an additional logging 
page. And the possibility to save it to disk. And a clear option. And ...?

Regards,
Andreas


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


Re: [pgadmin-hackers] Compilation problems under SuSE 8.2

2003-07-15 Thread Jean-Michel POURE
Dear all,

ln -s /usr/lib/wx/include/gtk2ud-2.5/wx/setup.h /usr/include/wx/setup.h
solved the problem. Will include it in wxGTK2ud packages.

Cheers,
Jean-Michel


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


Re: [pgadmin-hackers] Oh no!!

2003-07-15 Thread Dave Page


 -Original Message-
 From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
 Sent: 15 July 2003 09:33
 To: Dave Page
 Cc: pgadmin-hackers
 Subject: Re: [pgadmin-hackers] Oh no!!
 
 
 Dave Page wrote:
 
   
 
 -Original Message-
 From: Andreas Pflug [mailto:[EMAIL PROTECTED]
 Sent: 15 July 2003 08:07
 To: pgadmin-hackers; Dave Page
 Subject: Oh no!!
 
 
 This message popping up every time a query finishes in query
 window is 
 completely annoying. I hated it with pgadmin2, and it was one 
 reason for 
 me to write pgadmin3. And people in the same room working 
 with you will 
 soon hate it too, unless you remove your speaker or beep 
 device I removed it. 
 
 
 
 Please put it back with an option to switch it off if you 
 dislike it so 
 much. I hate running non-queries and not seeing that they have 
 obviously completed.
 
 Later we might add some animations (spinning thing in right 
 side of the 
 toolbar, and vacuum needs something too)
 The idea behind the query window is that all input is in the 
 upper half, 
 and all output is in the lower. Messages are mostly duplicated now, 
 (message page and status line), and triplicated with that 
 msgwindow. I 
 just changed frmQuery so that in case no result set is returned the 
 message page is selected.

Mmmpph. Still doesn't make it obvious to me that a long running query
has completed. I'll try it out, but if I find it's no good then the
message box goes in with an option to enable/disable it.

 This is becoming quite an option grave Don't like that either. It 
 looks as if we couldn't decide what's working and what's not. Options 
 should merely be for dividing beginners from advanced users. 
 I'd really 
 like to stick to a consistent behaviour.
 You might complain that the logging facility isn't sufficient 
 for you, 
 but that may not mean that the message window doesn't reflect what's 
 going on with the *current* query. Then we'd need an 
 additional logging 
 page. And the possibility to save it to disk. And a clear 
 option. And ...?

And? That sounds good to me though the save to disk and clear options
are unnecessary (yes, I realise you were being sarcastic). We are trying
to build feature rich software after all. Session logging is a useful
feature that's been in both previous versions of pgAdmin. pgAdmin II
even added a query recorder option to allow logs of sessions to be
maintained in a useful format.

Regards, Dave.

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


[pgadmin-hackers] Missing strings in pgadmin3.pot

2003-07-15 Thread Brage Førland
There seems to be some strings missing i pgadmin3.pot:

1. 
  ./src/ui/dlgProperty.cpp:1019: stGroup-SetLabel(wxT(Group/User));

2. 
  Most strings in the 'Export data' dialogue from the Query Tool.
  
  
How unstable is the Query Builder? Could we have a test build for win32 just
to get contexts for the translation strings?

-- 
Brage Førland

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

   http://archives.postgresql.org


Re: [pgadmin-hackers] pgadmin/pgsql logo

2003-07-15 Thread Andreas Pflug
Dave Page wrote:

 

-Original Message-
From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
Sent: 14 July 2003 17:39
To: Dave Page
Cc: pgadmin-hackers
Subject: pgadmin/pgsql logo

Hi Dave,

I like the new splash screen!
   

Thanks. The old one didn't really mean much, and besides, it didn't
match the website!
 

While you're mentioning the website...
The visibility of pgadmin3 should become better until Beta announcement. 
We're not even existent on gborg! Can you do something about that? When 
will the CMS on www.pgadmin.org be available?

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


[pgadmin-hackers] Suggestion for improvement: easier procedural language addition

2003-07-15 Thread Troels Arvin
Hello,

When using PostgreSQL from the command line, it's easy to add pgpgsql
support to a database: createlang  I don't know how to accomplish
the same thing in pgadmin III. I have found the place to do it, but I
find it cryptic to fill out the right parameters.

It would be great if pgadmin III offered a way to add a procedural
language which were as easy as using the createlang PostgreSQL
helper-program: Perhaps a drop-down with the most usual procedural
languaguages (plpgsql, perl and perhaps tcl or python).

-- 
Greetings from Troels Arvin, Copenhagen, Denmark

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


Re: [pgadmin-hackers] New debian uploads

2003-07-15 Thread Jean-Michel POURE
On Thursday 03 July 2003 00:58, Raphal Enrici wrote:
 I also added a developers' section describing howto rebuild the debian
 package from scratch in the README.Debian.
 When you'll have some time, can you incorporate these changes in
 snapshot.html (it should be the right place, isn't it) ?

Done 5 minutes ago. Could you check if it suits you?
Cheers, Jean-Michel


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


Re: [pgadmin-hackers] Suggestion for improvement: easier procedural language addition

2003-07-15 Thread Jean-Michel POURE
On Tuesday 15 July 2003 13:06, Troels Arvin wrote:
 It would be great if pgadmin III offered a way to add a procedural
 language which were as easy as using the createlang PostgreSQL
 helper-program: Perhaps a drop-down with the most usual procedural
 languaguages (plpgsql, perl and perhaps tcl or python).

It would also be nice to be able to add these languages in template1 to make 
them available at database system level.

Cheers,
Jean-Michel


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


Re: [pgadmin-hackers] SystemObject show patch

2003-07-15 Thread Hiroshi Saito
Hi Andreas.

From: Andreas Pflug [EMAIL PROTECTED]
 Dave Page wrote:
(snip)
 I'm just in the middle of applying them. While in general Hiroshi is
 right, there are som bad implementations in it. Casting a pgCast to a
 pgServer is a very bad idea...

It was seen.
-
bool GetSystemObject() const { return GetOid() =
GetConnection()-GetLastSystemOID(); }
--
Indeed is good.
I'm study more...,Aiming at you.

Regards,
Hiroshi-Saito




---(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


Re: [pgadmin-hackers] pgadmin/pgsql logo

2003-07-15 Thread Dave Page


 -Original Message-
 From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
 Sent: 15 July 2003 12:58
 To: pgadmin-hackers
 Cc: Dave Page; Andreas Pflug; Troels Arvin
 Subject: Re: [pgadmin-hackers] pgadmin/pgsql logo
 
 
 On Tuesday 15 July 2003 12:48, Dave Page wrote:
  I am (as we speak) tweaking the current in-house CMS used on the 
  existing site for a slightly different look and new content: 
  http://www.pgadmin.org/pgadmin3/pgadmin3.php. comment 
 welcome, though 
  I'm not exactly flush with time right now and Mark has real 
 work to do 
  again :-(
 
 Dear Friends,
 
 Agreed, a few pages are enough. Just two remarks, could you 
 add links to the:
 - snapshot.html and unix_compilation.html pages.
 - translation pages.

I have done any content yet. What's there is merely for testing.

 If you don't mind, I would prefer PHP static pages, because 
 we will be able to 
 migrate them to PHP gettext system. A complete multilingual 
 web site will 
 give us more exposure.

It runs from a database to allow easy content managment. GNU Gettext for
a website seems a little pointless as virtually the whole of each
document would need to be editted. I would favour adding a locale flag
to the database and allowing each content page to be stored in multiple
languages. The PHP code them simply loads the correct language.

 If needed, I will be available on Thursday and Friday to work 
 on a simple web 
 site design. 

Feel free, but we won't be messing about with a new site whilst we are
trying to go through beta and then to release - the infrastructure needs
to remain stable.

Once that's all out of the way, I'm happy to look at redesigning the
site in depth.

Regards, Dave.

---(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] pgadmin/pgsql logo

2003-07-15 Thread Jean-Michel POURE
 It runs from a database to allow easy content managment. GNU Gettext for
 a website seems a little pointless as virtually the whole of each
 document would need to be editted. I would favour adding a locale flag
 to the database and allowing each content page to be stored in multiple
 languages. The PHP code them simply loads the correct language.

Php gettext support is really nice and easy to implement. Wait.

 Feel free, but we won't be messing about with a new site whilst we are
 trying to go through beta and then to release - the infrastructure needs
 to remain stable.

Thanks. I plan to propose several designs to the team based on existing free 
software websites. Then, we can discuss and vote for the best solution.

Cheers,
Jean-Michel


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


[pgadmin-hackers] Linking error under SuSE 8.2

2003-07-15 Thread Jean-Michel POURE
Do you why the linker does not have the right links:
/var/tmp/wxGTK2ud-root/usr/lib/libwx_gtk2ud-2.5.a
should be 
/usr/lib/...

I ran ldconfig. Any idea?
Cheers, Jean-Michel

***
g++ -DDATA_DIR=\/usr/share/pgadmin3/\ -Wall -g -I../src/include -I -Wall -g 
-O0  -L/usr/lib -L/usr/lib -o pgadmin3  pgAdmin3.o pgConn.o pgSet.o 
pgAggregate.o pgCast.o pgCheck.o pgCollection.o pgColumn.o pgConstraints.o 
pgConversion.o pgDatabase.o pgDomain.o pgForeignKey.o pgFunction.o pgGroup.o 
pgIndex.o pgIndexConstraint.o pgLanguage.o pgObject.o pgOperator.o 
pgOperatorClass.o pgRule.o pgSchema.o pgSequence.o pgServer.o pgTable.o 
pgTrigger.o pgType.o pgUser.o pgView.o pgDatatype.o ctlSQLBox.o 
ctlSQLResult.o frmExport.o dlgAddTableView.o events.o frmAbout.o 
frmChildTableViewFrame.o frmConnect.o frmMain.o frmOptions.o frmPassword.o 
frmQuery.o frmQueryBuilder.o frmHelp.o frmQBJoin.o frmSplash.o frmVacuum.o 
frmEditGrid.o dlgProperty.o dlgUser.o dlgGroup.o dlgDatabase.o dlgLanguage.o 
dlgSchema.o dlgDomain.o dlgTable.o dlgColumn.o dlgIndex.o dlgFunction.o 
dlgView.o dlgRule.o dlgOperator.o dlgAggregate.o dlgCast.o dlgConversion.o 
dlgIndexConstraint.o dlgForeignKey.o dlgSequence.o dlgTrigger.o dlgType.o 
dlgCheck.o frmStatus.o misc.o sysLogger.o sysSettings.o  -lssl -lcrypto 
/usr/lib/libpq.a -lcrypt /usr/lib/libwx_gtk2ud_stc-2.5.a 
/usr/lib/libwx_gtk2ud_xrc-2.5.a -L/var/tmp/wxGTK2ud-root/usr/lib -pthread
/var/tmp/wxGTK2ud-root/usr/lib/libwx_gtk2ud-2.5.a -Wl,--export-dynamic 
-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lgthread-2.0 -lglib-2.0 -lpng -ljpeg -ltiff -lz -Wl,--export-dynamic 
-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm



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


Re: [pgadmin-hackers] Trouble with wxWindows (XRC and STC linking

2003-07-15 Thread Adam H. Pendleton
This new acinclude.m4 file looks fine to me.  I'm going to submit a 
cleaner version later this week, but the functionality of the two will 
be the same.

ahp

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


Re: [pgadmin-hackers] Linking error under SuSE 8.2

2003-07-15 Thread Jean-Michel POURE
On Tuesday 15 July 2003 14:32, Jean-Michel POURE wrote:
 Do you why the linker does not have the right links:
 /var/tmp/wxGTK2ud-root/usr/lib/libwx_gtk2ud-2.5.a
 should be
 /usr/lib/...

Dear all,

I answer my own message. Sorry for the confusion. The SuSE problem is fixed. 
For some unknown reason, my wxGTK2ud installation was broken. Fixed now.

pgAdmin3 and poEdit latest versions will be released within hours.

Cheers,
Jean-Michel


---(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


Re: [pgadmin-hackers] Linking error under SuSE 8.2

2003-07-15 Thread Andreas Pflug
Jean-Michel POURE wrote:

On Tuesday 15 July 2003 14:32, Jean-Michel POURE wrote:
 

Do you why the linker does not have the right links:
/var/tmp/wxGTK2ud-root/usr/lib/libwx_gtk2ud-2.5.a
should be
/usr/lib/...
   

Dear all,

I answer my own message. Sorry for the confusion. The SuSE problem is fixed. 
For some unknown reason, my wxGTK2ud installation was broken. Fixed now.
 

Ah yes I knew that. pgAdmin3 has self-fixing code included. We just need 
to wait until the problem vanishes...
;-)

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


Re: [pgadmin-hackers] Trouble with wxWindows (XRC and STC linking

2003-07-15 Thread Darko Prenosil

- Original Message -
From: Adam H. Pendleton [EMAIL PROTECTED]
To: Darko Prenosil [EMAIL PROTECTED]
Cc: Dave Page [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 5:36 PM
Subject: Re: [pgadmin-hackers] Trouble with wxWindows (XRC and STC linking


 This new acinclude.m4 file looks fine to me.  I'm going to submit a
 cleaner version later this week, but the functionality of the two will
 be the same.

 ahp

No, it is not OK !!!
I messed up the order of contrib libs and the base wx lib.
It should be first xrc  stc and after that base wx lib (just as for gtk),
otherwise it won't link correctly.
For example:
*libwx_msw-*)
LIBS=$LIBS $WX_NEW_LDFLAGS
LIBS=$LIBS
${WX_HOME}/lib/libwx_msw_stc-${WX_VERSION}.a
${WX_HOME}/lib/libwx_msw_xrc-${WX_VERSION}.a
must be:
*libwx_msw-*)
LIBS=$LIBS
${WX_HOME}/lib/libwx_msw_stc-${WX_VERSION}.a
${WX_HOME}/lib/libwx_msw_xrc-${WX_VERSION}.a
LIBS=$LIBS $WX_NEW_LDFLAGS

All of those linking errors I mentioned in prev. mails were because of this
error.
(Thanks to Vaclav Slavik from wxWindows list, that helped me to solve this
problem)

Today I finally compiled and linked pgadmin3 with MinGW.

There are few problems left:
1. paths for make install in Makefile must be fixed for WIN32 because
of internal directory structure of resource and  doc files. (They are not
same for win and *nix)
That should be easy enough.
2. From some reason XRC resources are not loaded at all. I got message
like :
Cannot load resources from file
'D:\MinGW\local\pgadmin3\bin\ui\common\frmVacuum.xrc'.
File is there, but can't be loaded from some reason. I suspect that
this is slash-backslash problem with file paths. I'll try to examine it
more closely.
So, for now I can only start pgadmin and see it's main window, but
nothing else.
3. When starting pgadmin, there is that old command prompt window,
like it is a DOS program.
I have some samples here that are using a whole bunch of additional
compiler flags, but I do not know which one tells to compiler/linker that it
should be a WIN32 program.
I'll try to figure out.
4. I started this whole story, because I wanted to compile pgadmin
without GTK and Microsoft VC, and there is still no easy way to compile
libpq with MinGW.
Maybe we can create branch for libpq, inside of pgadmin, and
correct the makefiles as we find appropriate. (There is branch for whole
wxWindows, libpq is no that big )
The efforts to make WIN32 port of PostgreSQL, are using MinGW, so
it should be easy enough.
I tried to compile whole PostgreSQL on MinGW and it can be done,
there are known problems with linking (fork - IPC), but build system does
his job well.

I already wasted few hours on this, I'm prepared to spend few more, but
don't have much experience with wxWindows and MinGW, so any help is
appreciated.
I think it would be great to compile FREE admin tool for FREE SQL server on
FREE compiler.

Regards !



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


Re: [pgadmin-hackers] Missing strings in pgadmin3.pot

2003-07-15 Thread Andreas Pflug
Brage Førland wrote:

On Tue, Jul 15, 2003 at 12:23:47PM +0200, Andreas Pflug wrote:
 

Dave Page wrote:
   

 

 ERROR: parse error in line 1. Reread input and take appropriate 
action. 

All translatable strings from QB are already included in the pot file.
   

That is the problem. They are in the pot file, but since the snapshots
doesn't include the QueryBuilder the translators cannot check their
translations using the snapshots.
 

Hi Brage,
it seems that QB won't make its way into the first release of pgAdmin3. 
At the moment, the status of QB is quite uncertain, so the strings are 
likely to change until QB really is used.
If you want to try it, you can compile it under windows, defining the 
macro __DEBUG_QUERYBUILDER__ which will switch on the menu entry in 
frmMain.cpp.

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])


[pgadmin-hackers] Some help

2003-07-15 Thread Andreas Pflug
TV program wasn't exiting (as usual), and so I did some typing.
I launched a html workshop skeleton file, and enabled support for it. 
There are still some problems, stylesheet sometimes ignored, keywords 
missing, ...

Dave, please make some more screen shots. We should keep the screen 
shots in the same optics, and your's are really attractive. Win32 is 
boring... :-)
And please look at my English, I'm neither a native speaker nor an author.

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] Problem with Scintilla

2003-07-15 Thread Hiroshi Saito
Hi Andreas.
(B
(BThere is Scintill which can't be controlled by a po file to translate.
(B
(BFor example it is this.
(B---ScintillaBase.cxx
(Bvoid ScintillaBase::ContextMenu(Point pt) {
(Bif (displayPopupMenu) {
(Bbool writable = !WndProc(SCI_GETREADONLY, 0, 0);
(Bpopup.CreatePopUp();
(BAddToPopUp("Undo", idcmdUndo, writable  pdoc-CanUndo());
(BAddToPopUp("Redo", idcmdRedo, writable  pdoc-CanRedo());
(BAddToPopUp("");
(BAddToPopUp("Cut", idcmdCut, writable  currentPos !=
(Banchor);
(BAddToPopUp("Copy", idcmdCopy, currentPos != anchor);
(BAddToPopUp("Paste", idcmdPaste, writable 
(BWndProc(SCI_CANPASTE
(B, 0, 0));
(BAddToPopUp("Delete", idcmdDelete, writable  currentPos !=
(Banch
(Bor);
(BAddToPopUp("");
(BAddToPopUp("Select All", idcmdSelectAll);
(Bpopup.Show(pt, wMain);
(B}
(B}
(BEND
(B
(BI don't think that it is a substitution simply with wxT("xx").
(BIt was the modification point with stc.xpp, *.h as well.
(BAnd, the base of Scintilla is outside.
(BI don't have a definite answer.
(B
(BAre there any ideas?
(B
(BRegards,
(BHiroshi-Saito
(B
(B
(B---(end of broadcast)---
(BTIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

[pgadmin-hackers] Translation: Languages

2003-07-15 Thread Þórhallur Hálfdánarson
Hi

I thought this was discussed a few days back, but couldn't find the thread and wanted 
to verify.  Should language names be translated? (IMO: no)

CVS snapshot since... two nights ago (?) indicates some to and some do not translate 
it.

0 tolli:[EMAIL PROTECTED] ui $ grep Jam */pgadmin3.po
de_DE/pgadmin3.po:msgid English (Jamaica)
de_DE/pgadmin3.po:msgstr Englisch (Jamaika)
fr_FR/pgadmin3.po:msgid English (Jamaica)
fr_FR/pgadmin3.po:msgstr Anglais (Jamaique)
hr_HR/pgadmin3.po:msgid English (Jamaica)
hr_HR/pgadmin3.po:msgstr English (Jamaica)
it_IT/pgadmin3.po:msgid English (Jamaica)
ja_JP/pgadmin3.po:msgid English (Jamaica)
pl_PL/pgadmin3.po:msgid English (Jamaica)
pl_PL/pgadmin3.po:msgstr Angielski (Jamajka)
tr_TR/pgadmin3.po:msgid English (Jamaica)
tr_TR/pgadmin3.po:msgstr English (Jamaica)
zh_CN/pgadmin3.po:msgid English (Jamaica)

Perhaps a nota about this should be added to the translation guidelines?


-- 
Tolli
[EMAIL PROTECTED]

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


Re: [pgadmin-hackers] Translation: Languages

2003-07-15 Thread Hiroshi Saito
Dear friend.

From: Þórhallur Hálfdánarson [EMAIL PROTECTED]

 Hi

 I thought this was discussed a few days back, but couldn't find the thread
and wanted to verify.  Should language names be translated? (IMO: no)

 CVS snapshot since... two nights ago (?) indicates some to and some do not
translate it.
(snip)

 Perhaps a nota about this should be added to the translation guidelines?

The thought of me who is not a guidelines.
I didn't think that there was a problem in the beginning
in Japan from the viewpoint of one for the custom with the alphabet
indication.
And, it was there though it thought that it hardly became a problem
on the surface because the locale decision of the early value was smart.

But, UNICODE has a very good future.
pgAdmin3 will satisfy a requirement when it wants to operate it about the
one except for the language which one has.
An expression changes by the use after the choice. A user must understand
the language expression chosen at that time.
At that time, it thought whether a handled person had to understand English
of the base.

up did a translation again for the reason with ja_JP.

Regards,
Hiroshi-Saito



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

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


[pgadmin-hackers] SystemObject show patch more.

2003-07-15 Thread Hiroshi Saito
Hi Andreas.

The SystemObject expression of pgTable
It is OK?

Regards,
Hiroshi-Saito



pgadmin3_patch6
Description: Binary data

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