Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
generated
*.o
.genio
2 changes: 1 addition & 1 deletion src-beam/BmBodyPartView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ void BmBodyPartView::MessageReceived( BMessage* msg) {
= dynamic_cast<BmBodyPartItem*>( FullListItemAt( index));
if (!bodyPartItem)
break;
BmRef<BmListModelItem> modelItemRef( );
BmRef<BmListModelItem> modelItemRef;
BmBodyPart* bodyPart( bodyPartItem->ModelItem());
if (!bodyPart)
break;
Expand Down
4 changes: 4 additions & 0 deletions src-beam/BmMailAddrCompleter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
#include "BmTextControl.h"
#include "BmToolbarButton.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
// #pragma mark - MailAddrChoiceModel
/*------------------------------------------------------------------------------*\
()
Expand Down
5 changes: 5 additions & 0 deletions src-beam/BmMailFolderView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
#include "BmResources.h"
#include "BmUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

/********************************************************************************\
BmMailFolderItem
\********************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions src-beam/BmMailHeaderView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ using namespace regexx;
#include "BmPrefs.h"
#include "BmResources.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

static const float addrMenuWidth = 7;

Expand Down
4 changes: 4 additions & 0 deletions src-beam/BmMailRefFilterControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#include "BmMailRefView.h"
#include "BmMenuController.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

const char* const BmMailRefFilterControl::MSG_TIME_SPAN_LABEL = "bm:timsp";

Expand Down
5 changes: 5 additions & 0 deletions src-beam/BmMailView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ using namespace regexx;
#include "BmRulerView.h"
#include "BmSignature.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

#undef BM_LOGNAME
#define BM_LOGNAME "MailParser"

Expand Down
5 changes: 5 additions & 0 deletions src-beam/BmPeople.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ using namespace regexx;
#include "BmStorageUtil.h"
#include "BmUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

/********************************************************************************\
BmPersonInfo
\********************************************************************************/
Expand Down
6 changes: 6 additions & 0 deletions src-bmBase/BmLogHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
#include "BmBasics.h"
#include "BmLogHandler.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wformat="

/*------------------------------------------------------------------------------*\
ShowAlert( text)
- pops up an Alert showing the passed (error-)text
Expand Down
5 changes: 5 additions & 0 deletions src-bmBase/BmMemIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
#include "BmBasics.h"
#include "BmMemIO.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

/********************************************************************************\
BmMemFilter
\********************************************************************************/
Expand Down
6 changes: 6 additions & 0 deletions src-bmBase/BmString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
#include "BmString.h"
#include "BmMemIO.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wformat="

char* strcasestr(const char *s, const char *find);

BmString BM_DEFAULT_STRING;
Expand Down
5 changes: 5 additions & 0 deletions src-bmDaemon/BmImapNestedStringList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@

#include "BmImapNestedStringList.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

static BmImapNestedStringList EmptyStringList;

/*------------------------------------------------------------------------------*\
Expand Down
2 changes: 1 addition & 1 deletion src-bmDaemon/BmNetEndpointRoster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ status_t BmNetEndpointRoster::GetEncryptionInfo(BMessage* encryptionInfo)
_InitializeIfNeeded();
if (!encryptionInfo)
return B_BAD_VALUE;
*encryptionInfo = mEncryptionInfo;
*encryptionInfo = mEncryptionInfo;
return B_OK;
}

Expand Down
5 changes: 5 additions & 0 deletions src-bmDaemon/src-netendpoint-addons/BmOpenSslNetEndpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
#include <openssl/pkcs12.h>
#include <openssl/x509v3.h>

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
/*------------------------------------------------------------------------------*\
()
-
Expand Down
6 changes: 6 additions & 0 deletions src-bmGuiBase/BubbleHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
#include "BubbleHelper.h"
#include "Colors.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wnonnull-compare"

int32 BubbleHelper::runcount=0;
BubbleHelper* TheBubbleHelper = NULL;

Expand Down
6 changes: 6 additions & 0 deletions src-bmGuiBase/CLVColumn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
#include "CLVColumnLabelView.h"
#include "NewStrings.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wint-in-bool-context"

//******************************************************************************************************
//**** CLVColumn CLASS DEFINITION
//******************************************************************************************************
Expand Down
6 changes: 6 additions & 0 deletions src-bmGuiBase/ColumnListView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
#include "CLVColumn.h"
#include "CLVListItem.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wint-to-pointer-cast"

const char* const ColumnListView::MSG_DISPLAYORDER = "bm:dsplord";
const char* const ColumnListView::MSG_NUMSORTKEYS = "bm:nsort";
const char* const ColumnListView::MSG_SORTKEY = "bm:sortk";
Expand Down
6 changes: 6 additions & 0 deletions src-bmGuiBase/ImageAboutWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@

#include "BmGuiBase.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wattributes"
#pragma GCC diagnostic ignored "-Wconversion"

//******************************************************************************************************
//**** Forward name declarations
//******************************************************************************************************
Expand Down
6 changes: 6 additions & 0 deletions src-bmGuiBase/NewStrings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@

#include "NewStrings.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"

float GetStringsMaxWidth(const char** strings, int32 num_strings, const BFont* font,
float* string_widths)
//Fills the stringsWidths array with the width of each individual string in the array using
Expand Down
4 changes: 4 additions & 0 deletions src-bmGuiBase/TextEntryAlert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
#include "Colors.h"
#include "NewStrings.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

//******************************************************************************************************
//**** Constants
Expand Down
5 changes: 5 additions & 0 deletions src-bmGuiBase/UserResizeSplitView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
#include "Colors.h"
#include "ColumnListView.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

static const int32 Thickness = 4;


Expand Down
6 changes: 6 additions & 0 deletions src-bmGuiBase/WrappingTextView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
#include "Colors.h"
#include "WrappingTextView.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wclass-memaccess"

WrappingTextView::UndoInfo::UndoInfo()
: text_runs( NULL)
{
Expand Down
6 changes: 6 additions & 0 deletions src-bmMailKit/BmBodyPartList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ using namespace regexx;
#include "BmStorageUtil.h"
#include "BmUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wformat="

#undef BM_LOGNAME
#define BM_LOGNAME "MailParser"

Expand Down
4 changes: 4 additions & 0 deletions src-bmMailKit/BmDataModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
#include "BmStorageUtil.h"
#include "BmUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

// #pragma mark - BmDataModel

Expand Down
7 changes: 7 additions & 0 deletions src-bmMailKit/BmDataModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
#ifndef _BmDataModel_h
#define _BmDataModel_h

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wmismatched-new-delete"
#pragma GCC diagnostic ignored "-Wattributes"

#include "BmMailKit.h"

#include <map>
Expand Down
5 changes: 5 additions & 0 deletions src-bmMailKit/BmEncoding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ using namespace BmEncoding;
#include "BmPrefs.h"
#include "BmUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

#undef BM_LOGNAME
#define BM_LOGNAME "MailParser"

Expand Down
6 changes: 6 additions & 0 deletions src-bmMailKit/BmMail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ using namespace regexx;
#include "BmSmtpAccount.h"
#include "BmStorageUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wsign-compare"

#undef BM_LOGNAME
#define BM_LOGNAME "MailParser"

Expand Down
5 changes: 5 additions & 0 deletions src-bmMailKit/BmMailFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
#include "BmSmtpAccount.h"
#include "BmUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

// standard logfile-name for this class:
#undef BM_LOGNAME
#define BM_LOGNAME "Filter"
Expand Down
5 changes: 5 additions & 0 deletions src-bmMailKit/BmMailFolder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
#include "BmStorageUtil.h"
#include "BmUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

BLocker BmMailFolder::nRefListLocker( "RefListLocker");

const char* const BmMailFolder::MSG_ENTRYREF = "bm:eref";
Expand Down
5 changes: 5 additions & 0 deletions src-bmMailKit/BmMailHeader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ using namespace regexx;
#include "BmRosterBase.h"
#include "BmSmtpAccount.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

#undef BM_LOGNAME
#define BM_LOGNAME "MailParser"

Expand Down
5 changes: 5 additions & 0 deletions src-bmMailKit/BmMailMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
#include "BmStorageUtil.h"
#include "BmUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

using std::deque;
using std::map;
using std::pair;
Expand Down
5 changes: 5 additions & 0 deletions src-bmMailKit/BmMailRef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
#include "BmStorageUtil.h"
#include "BmUtil.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

static BmString BM_REFKEYSTAT( const struct stat& x)
{
return BmString() << x.st_ino;
Expand Down
5 changes: 5 additions & 0 deletions src-bmMailKit/BmMailRefFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
#include "BmMailRefFilter.h"
#include "BmMailRef.h"

// NOTE: The pragma(s) below do not change any functionality in the code. They only hide those
// warnings when building. At some point, the lines that produce the(se) warning(s), should be
// reviewed to confirm, whether there is something that needs to be "fixed".
#pragma GCC diagnostic ignored "-Wconversion"

/*------------------------------------------------------------------------------*\
BmMailRefFilter
-
Expand Down
Loading