]> git.sur5r.net Git - bacula/bacula/commitdiff
Add wx-console bug fixes to patches directory.
authorNicolas Boichat <nicolas@boichat.ch>
Wed, 6 Apr 2005 14:47:02 +0000 (14:47 +0000)
committerNicolas Boichat <nicolas@boichat.ch>
Wed, 6 Apr 2005 14:47:02 +0000 (14:47 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1914 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/patches/1.36.2-wx-console-bugfixes.diff [new file with mode: 0644]
bacula/patches/patches-1.36.2

diff --git a/bacula/patches/1.36.2-wx-console-bugfixes.diff b/bacula/patches/1.36.2-wx-console-bugfixes.diff
new file mode 100644 (file)
index 0000000..26e385a
--- /dev/null
@@ -0,0 +1,123 @@
+Index: CHANGELOG
+===================================================================
+RCS file: /cvsroot/bacula/bacula/src/wx-console/CHANGELOG,v
+retrieving revision 1.42.8.2
+retrieving revision 1.42
+diff -r1.42.8.2 -r1.42
+1,9d0
+< 24-03-2005 :
+<  - wxbMainFrame : Fix a bug with GTK+-1.2 which caused wx-console to crash
+<    when starting.
+<  - wxbRestorePanel : Fix a major bug which caused wx-console to enter in an
+<    infinite loop which allocate a lot of memory and could make the system crash.
+< 
+< 10-03-2005 :
+<  - wxbMainFrame : Fix bug #0000221 (Debian 292517)
+< 
+Index: wxbmainframe.cpp
+===================================================================
+RCS file: /cvsroot/bacula/bacula/src/wx-console/wxbmainframe.cpp,v
+retrieving revision 1.30.6.2
+retrieving revision 1.30
+diff -r1.30.6.2 -r1.30
+7c7
+<  *    Version $Id$
+---
+>  *    Version $Id$
+210,211d209
+<    lockedbyconsole = false;
+<    
+317a316,317
+>    lockedbyconsole = false;
+>    
+650,651c650,651
+<             if (res == -1) { //Cancel pressed
+<                Send(".\n");
+---
+>             if (res == -1) {
+>                Send("\n");
+Index: wxbrestorepanel.cpp
+===================================================================
+RCS file: /cvsroot/bacula/bacula/src/wx-console/wxbrestorepanel.cpp,v
+retrieving revision 1.40.8.1
+retrieving revision 1.40
+diff -r1.40.8.1 -r1.40
+7c7
+<  *    Version $Id$
+---
+>  *    Version $Id$
+411c411
+<    markWhenCommandDone = false;
+---
+>    markWhenListingDone = false;
+1987a1988
+>       AddPendingEvent(event);
+1996a1998
+>       AddPendingEvent(event);
+2002a2005
+>       AddPendingEvent(event);
+2015a2019
+>       AddPendingEvent(event);
+2024c2028
+<    markWhenCommandDone = false;
+---
+>    markWhenListingDone = false;
+2028c2032
+<    if (markWhenCommandDone) {
+---
+>    if (markWhenListingDone) {
+2041a2046
+>    csprint("Tree marked", CS_DEBUG);
+2044c2049
+<          markWhenCommandDone = !markWhenCommandDone;
+---
+>          markWhenListingDone = !markWhenListingDone;
+2045a2051
+>       AddPendingEvent(event);
+2049d2054
+<    markWhenCommandDone = false;
+2051,2054c2056
+<    if (markWhenCommandDone) {
+<       CmdMark(event.GetItem(), NULL, 0);
+<       tree->Refresh();
+<    }
+---
+>    //event.Skip();
+2065a2068
+>       AddPendingEvent(event);
+2080a2084
+>       AddPendingEvent(event);
+2095a2100
+>       AddPendingEvent(event);
+2105a2111,2112
+>       AddPendingEvent(event);
+>       //event.Skip();
+2125c2132
+<    
+---
+>      
+2140a2148,2149
+>       AddPendingEvent(event);
+>       //event.Skip();
+2176a2186
+>       AddPendingEvent(event);
+2212a2223
+>       AddPendingEvent(event);
+2241a2253
+>       AddPendingEvent(event);
+2270a2283
+>       AddPendingEvent(event);
+Index: wxbrestorepanel.h
+===================================================================
+RCS file: /cvsroot/bacula/bacula/src/wx-console/wxbrestorepanel.h,v
+retrieving revision 1.19.10.1
+retrieving revision 1.19
+diff -r1.19.10.1 -r1.19
+7c7
+<  *    Version $Id$
+---
+>  *    Version $Id$
+154c154
+<       bool markWhenCommandDone; //If an item should be (un)marked after the current listing/marking is done
+---
+>       bool markWhenListingDone;
index 55d18b963355017b908f5f006ff4ec97bfb79446..05e2c487134acec58efc3c619ad76286d52d930c 100644 (file)
@@ -40,5 +40,8 @@
  The storage pointers were being released when they should not
  have been.
 
+24Mar05 1.36.2-wx-console-bugfixes.patch
+ Major wx-console fixes (see src/wx-console/CHANGELOG for details).
+
 28Mar05 1.36.2-tray-monitor-memleak.patch
  This patch should fix memory leaks in tray-monitor.