Fix Factory build by explicitly specifying python3 binary for udisks build. - Update to 0.23+git20170810 - Upstream changes: Fixed TAG deletion behaviour while tag not selected. Implemented tags redo/undo support. Fixed part of #67, SEGV due Tags. Fixed Forward Search SEGV. Fixed recent mem leak patch. Delete existing buffers on allocation failure. - Update to 0.23+git20170316 - Upstream changes: Fixed file cut/deletion tag issues. #67 OBS-URL: https://build.opensuse.org/request/show/559574 OBS-URL: https://build.opensuse.org/package/show/editors/wxhexeditor?expand=0&rev=22
47 lines
1.8 KiB
Diff
47 lines
1.8 KiB
Diff
Description: Remove some debug printed on stdout.
|
||
|
||
Index: src/HexEditor.cpp
|
||
===================================================================
|
||
--- src/HexEditor.cpp.orig 2017-03-16 05:50:42.000000000 +0200
|
||
+++ src/HexEditor.cpp 2017-03-24 12:16:25.446978302 +0200
|
||
@@ -42,9 +42,11 @@ HexEditor::HexEditor( wxWindow* parent,
|
||
tagpanel(tagpanel_),
|
||
dasmpanel(dasmpanel_) {
|
||
ComparatorHexEditor=NULL;
|
||
+ #if 0
|
||
// Here, code praying to the GOD for protecting our open file from wxHexEditor's bugs and other things.
|
||
// This is really crucial step! Be adviced to not remove it, even if you don't believer.
|
||
printf("Rahman ve Rahim olan Allah'ın adıyla.\n");
|
||
+ #endif
|
||
myfile = NULL;
|
||
#ifndef DO_NOT_USE_THREAD_FOR_SCROLL
|
||
myscrollthread = NULL;
|
||
Index: src/HexEditorCtrl/HexEditorCtrl.h
|
||
===================================================================
|
||
--- src/HexEditorCtrl/HexEditorCtrl.h.orig 2017-03-16 05:50:42.000000000 +0200
|
||
+++ src/HexEditorCtrl/HexEditorCtrl.h 2017-03-24 12:16:25.446978302 +0200
|
||
@@ -66,7 +66,9 @@ class Select{ //for using EventHandler
|
||
void SetState( bool new_state ){
|
||
state = new_state;
|
||
|
||
+ #if 0
|
||
std::cout << "Send UpdateUI Event" << std::endl;
|
||
+ #endif
|
||
wxUpdateUIEvent event;
|
||
if( new_state )
|
||
event.SetString( wxT("Selected") );
|
||
Index: src/HexEditorFrame.cpp
|
||
===================================================================
|
||
--- src/HexEditorFrame.cpp.orig 2017-03-16 05:50:42.000000000 +0200
|
||
+++ src/HexEditorFrame.cpp 2017-03-24 12:16:25.446978302 +0200
|
||
@@ -510,7 +510,9 @@ HexEditor* HexEditorFrame::GetActiveHexE
|
||
}
|
||
|
||
void HexEditorFrame::OnMenuEvent( wxCommandEvent& event ){
|
||
+ #if 0
|
||
std::cout << "OnMenuEvent: " << event.GetId() << std::endl;
|
||
+ #endif
|
||
if( event.GetId() == wxID_NEW ){ //GetFile Lenght, Save file as, Create file, Open file as RW
|
||
wxString lngt;
|
||
long unsigned int size=0;
|