[pgadmin-hackers] Some trouble with building in Windows

2010-07-31 Thread 韦春阳
Hi,
I'm a beginner and i have some trouble with building pgAdmin source in
Windows. I build the source follow the step in
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=blob_plain;f=INSTALL;hb=REL-1_10_0_PATCHES

1. Is the windows 2003 R2 Platform SDK be needed? How can I check if I have
it on my computer?
2.When I run the

 xtra/wx-build/build-wxmsw.bat
There is an error with the vcbuild, how can I solve it?
3.When I build it in Visual C++, there is an error:
1>d:\pgadmin3-1.10.3-1\pgadmin\include\db\pgconn.h(19) : fatal error C1083:
Cannot open include file: 'libpq-fe.h': No such file or directory
Thanks all~


Bessie


Re: [pgadmin-hackers] Some trouble with building in Windows

2010-07-31 Thread Luis Ochoa
Hi, you can check at:
http://wiki.postgresql.org/wiki/PgAdmin_Internals#Windows

On Sat, Jul 31, 2010 at 4:43 AM, 韦春阳  wrote:

> Hi,
> I'm a beginner and i have some trouble with building pgAdmin source in
> Windows. I build the source follow the step in
> http://git.postgresql.org/gitweb?p=pgadmin3.git;a=blob_plain;f=INSTALL;hb=REL-1_10_0_PATCHES
>
> 1. Is the windows 2003 R2 Platform SDK be needed? How can I check if I have
> it on my computer?
> 2.When I run the
>
>  xtra/wx-build/build-wxmsw.bat
> There is an error with the vcbuild, how can I solve it?
> 3.When I build it in Visual C++, there is an error:
> 1>d:\pgadmin3-1.10.3-1\pgadmin\include\db\pgconn.h(19) : fatal error C1083:
> Cannot open include file: 'libpq-fe.h': No such file or directory
> Thanks all~
>
>
> Bessie
>


Regards, Luis.


[pgadmin-hackers] [pgAdmin III] #220: Show/hide columns in frmStatus's reports

2010-07-31 Thread pgAdmin Trac
#220: Show/hide columns in frmStatus's reports
--+-
 Reporter:  gleu  |   Owner:  gleu 
 Type:  feature   |  Status:  new  
 Priority:  minor |   Milestone:   
Component:  pgadmin   | Version:  trunk
 Keywords:  serverstatus  |Platform:  all  
--+-
 A right click on the columns' header would show a popmenu. Each item of
 this menu will be a column's name. Each checked item will be visible.

 The status of each column (visible/not visible, width) is stored in the
 prefs file.

-- 
Ticket URL: 
pgAdmin III 
pgAdmin III

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] Ticket 220: Show/hide columns in frmStatus reports

2010-07-31 Thread Guillaume Lelarge
Hi,

This patch allows a user to select which columns are visible in each
pane (but not the log one). The user only needs to right click on the
list's header, and it will show him a popupmenu with all the columns'
names displayed as checkable items. The unchecked ones aren't displayed
in the list. The state of the columns and their widths are stored in the
preferences file, so that they can be restored when the user will launch
the server status window later on.

Patch attached.

Comments?


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com
>From 32fb87caf13757a24b4087691459c4eb526e0219 Mon Sep 17 00:00:00 2001
From: Guillaume Lelarge 
Date: Sat, 31 Jul 2010 19:16:05 +0200
Subject: [PATCH] Show/hide columns in frmStatus's reports.

---
 pgadmin/frm/frmStatus.cpp   |  274 +--
 pgadmin/include/frm/frmStatus.h |   18 +++
 2 files changed, 254 insertions(+), 38 deletions(-)

diff --git a/pgadmin/frm/frmStatus.cpp b/pgadmin/frm/frmStatus.cpp
index 928a968..1fabed9 100644
--- a/pgadmin/frm/frmStatus.cpp
+++ b/pgadmin/frm/frmStatus.cpp
@@ -57,50 +57,56 @@ BEGIN_EVENT_TABLE(frmStatus, pgFrame)
 EVT_MENU(MNU_COPY,   frmStatus::OnCopy)
 EVT_MENU(MNU_COPY_QUERY,   frmStatus::OnCopyQuery)
 
-EVT_MENU(MNU_HELP,   frmStatus::OnHelp)
-EVT_MENU(MNU_STATUSPAGE,frmStatus::OnToggleStatusPane)
-EVT_MENU(MNU_LOCKPAGE,frmStatus::OnToggleLockPane)
-EVT_MENU(MNU_XACTPAGE, frmStatus::OnToggleXactPane)
-EVT_MENU(MNU_LOGPAGE, frmStatus::OnToggleLogPane)
-EVT_MENU(MNU_TOOLBAR, frmStatus::OnToggleToolBar)
-EVT_MENU(MNU_DEFAULTVIEW,frmStatus::OnDefaultView)
-EVT_MENU(MNU_HIGHLIGHTSTATUS,frmStatus::OnHighlightStatus)
-
-EVT_AUI_PANE_CLOSE( frmStatus::OnPaneClose)
+EVT_MENU(MNU_HELP,frmStatus::OnHelp)
+EVT_MENU(MNU_STATUSPAGE,  frmStatus::OnToggleStatusPane)
+EVT_MENU(MNU_LOCKPAGE,frmStatus::OnToggleLockPane)
+EVT_MENU(MNU_XACTPAGE,frmStatus::OnToggleXactPane)
+EVT_MENU(MNU_LOGPAGE, frmStatus::OnToggleLogPane)
+EVT_MENU(MNU_TOOLBAR, frmStatus::OnToggleToolBar)
+EVT_MENU(MNU_DEFAULTVIEW, frmStatus::OnDefaultView)
+EVT_MENU(MNU_HIGHLIGHTSTATUS, frmStatus::OnHighlightStatus)
+
+EVT_AUI_PANE_CLOSE(   frmStatus::OnPaneClose)
 
-EVT_COMBOBOX(CTL_RATECBO,   frmStatus::OnRateChange)
-EVT_MENU(MNU_REFRESH, frmStatus::OnRefresh)
-EVT_MENU(MNU_CANCEL, frmStatus::OnCancelBtn)
-EVT_MENU(MNU_TERMINATE,  frmStatus::OnTerminateBtn)
-EVT_MENU(MNU_COMMIT,frmStatus::OnCommit)
-EVT_MENU(MNU_ROLLBACK,frmStatus::OnRollback)
-EVT_COMBOBOX(CTL_LOGCBO,frmStatus::OnLoadLogfile)
-EVT_BUTTON(CTL_ROTATEBTN,   frmStatus::OnRotateLogfile)
+EVT_COMBOBOX(CTL_RATECBO, frmStatus::OnRateChange)
+EVT_MENU(MNU_REFRESH, frmStatus::OnRefresh)
+EVT_MENU(MNU_CANCEL,  frmStatus::OnCancelBtn)
+EVT_MENU(MNU_TERMINATE,   frmStatus::OnTerminateBtn)
+EVT_MENU(MNU_COMMIT,  frmStatus::OnCommit)
+EVT_MENU(MNU_ROLLBACK,frmStatus::OnRollback)
+EVT_COMBOBOX(CTL_LOGCBO,  frmStatus::OnLoadLogfile)
+EVT_BUTTON(CTL_ROTATEBTN, frmStatus::OnRotateLogfile)
 
-EVT_TIMER(TIMER_REFRESHUI_ID,frmStatus::OnRefreshUITimer)
-
-EVT_TIMER(TIMER_STATUS_ID,frmStatus::OnRefreshStatusTimer)
-EVT_LIST_ITEM_SELECTED(CTL_STATUSLIST,frmStatus::OnSelStatusItem)
-EVT_LIST_ITEM_DESELECTED(CTL_STATUSLIST,frmStatus::OnSelStatusItem)
-EVT_LIST_COL_CLICK(CTL_STATUSLIST,  frmStatus::OnSortStatusGrid)
+EVT_TIMER(TIMER_REFRESHUI_ID, frmStatus::OnRefreshUITimer)
+
+EVT_TIMER(TIMER_STATUS_ID,frmStatus::OnRefreshStatusTimer)
+EVT_LIST_ITEM_SELECTED(CTL_STATUSLIST,frmStatus::OnSelStatusItem)
+EVT_LIST_ITEM_DESELECTED(CTL_STATUSLIST,  frmStatus::OnSelStatusItem)
+EVT_LIST_COL_CLICK(CTL_STATUSLIST,frmStatus::OnSortStatusGrid)
+EVT_LIST_COL_RIGHT_CLICK(CTL_STATUSLIST,  frmStatus::OnRightClickStatusGrid)
+EVT_LIST_COL_END_DRAG(CTL_STATUSLIST, frmStatus::OnChgColSizeStatusGrid)
   

Re: [pgadmin-hackers] [pgAdmin III] #220: Show/hide columns in frmStatus's reports

2010-07-31 Thread pgAdmin Trac
#220: Show/hide columns in frmStatus's reports
--+-
 Reporter:  gleu  |   Owner:  gleu 
 Type:  feature   |  Status:  new  
 Priority:  minor |   Milestone:  1.14 
Component:  pgadmin   | Version:  trunk
 Keywords:  serverstatus  |Platform:  all  
--+-
Changes (by gleu):

  * milestone:  => 1.14


-- 
Ticket URL: 
pgAdmin III 
pgAdmin III

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers