Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme, #3038, #3041 #3042

Closed
wants to merge 16 commits into from
Closed

Conversation

JeanPaulLucien
Copy link

While I have no idea ho to make a several PRs. You can select what to accept.

  1. Fixed in Readme, added some Russian.
  2. Disabled
  3. Jabber: don't tell to server about Miranda version and OS by default #3038

Copy link
Author

@JeanPaulLucien JeanPaulLucien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's lucky, it works.

@tweimer
Copy link
Member

tweimer commented Feb 15, 2022

If it's lucky, it works.

Lucky? Did you compile it successfully and test your changes or not?

@tweimer
Copy link
Member

tweimer commented Feb 15, 2022

While I have no idea ho to make a several PRs. You can select what to accept.

Well, you need to make a separate branch for each PR, and make one PR per branch.

Copy link
Member

@tweimer tweimer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once again, please compile and test your changes locally, otherwilse this PR will get closed.

@@ -394,7 +394,7 @@ bool CJabberProto::HandleCapsInfoRequest(const TiXmlElement *, CJabberIqInfo *pI

CJabberClientPartialCaps *pCaps = g_clientCapsManager.GetPartialCaps(JABBER_CAPS_MIRANDA_NODE, m_szFeaturesCrc);
if (pCaps) {
if (m_bShowOSVersion) {
if (m_bShowOSVersion == true) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why that change?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tweimer this to increase code stability.
@Ghazan able to not accept this change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see how it increases code stability.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is it supposed to increase code stability?
It is just unnecessary.

In general, you better don't change code formatting on pull requests.
You better focus on the actual changes..

@@ -41,7 +41,7 @@ bool CJabberProto::OnIqRequestVersion(const TiXmlElement*, CJabberIqInfo *pInfo)
query << XCHILD("name", "Miranda NG Jabber");
query << XCHILD("version", szCoreVersion);

if (m_bShowOSVersion) {
if (m_bShowOSVersion == true) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why that change?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above.

@@ -339,7 +339,8 @@ class CDlgOptAccount : public CJabberDlgBase
CCtrlCombo m_cbResource;
CCtrlCheck m_chkUseHostnameAsResource;
CCtrlCheck m_chkUseDomainLogin;
CCtrlCombo m_cbServer;
CCtrlEdit m_txtServer; // "Domain/server" input
CCtrlCombo m_cbServer; // Stay it here to don't get many errors
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove it if it is no longer needed, and all other code that belongs to it.

protocols/JabberG/src/jabber_opt.cpp Outdated Show resolved Hide resolved
@@ -39,6 +39,7 @@ BEGIN
PUSHBUTTON "Cancel",IDCANCEL,223,207,50,14
END

// GUI in Main Menu, Accounts...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not useful to put a comment there, as Visual studio overrides it with auto-generated resource.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is right way to add comment?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just don't add one. I never saw one in the entire code.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tweimer you comment looks like a personal opinion.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tweimer you comment looks like a personal opinion.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's not. Do you see any other resource file in this repository with hand written comments?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tweimer I asked you about argues, but you continue to ask questions to me. You joined to code review (https://en.wikipedia.org/wiki/Code_review).

You hold 10 strings about 2 weeks without argues about code. We did not improve Miranda, we did not know new about code. We did nothing (excluding @dartraiden who post helpful comments)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did give you an argument in the very first comment about this. It's not useful to put a comment there, as Visual studio overrides it with auto-generated resource. Also, I did give you some helpful comments on how to improve your pull request.

If you prefer to argue instead of fixing those points, I will close here.

Copy link
Member

@georgehazan georgehazan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert this please

Copy link
Member

@georgehazan georgehazan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m_bAllowVersionRequests has nothing to do with that
another fix is already applied

@georgehazan
Copy link
Member

@JeanPaulLucien please separate code commits from langpack changes

@@ -126,7 +126,7 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) :
m_bRosterSync(this, "RosterSync", false),
m_bSavePassword(this, "SavePassword", true),
m_bShowForeignResourceInMirVer(this, "ShowForeignResourceInMirVer", false),
m_bShowOSVersion(this, "ShowOSVersion", true),
m_bShowOSVersion(this, "ShowOSVersion", false),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That change is already done in e9dd5c1

Fixed losses letters.
New function for the future optimization.
Some cheats to avoid errors.
@tweimer
Copy link
Member

tweimer commented Feb 23, 2022

Closing because:

  • You need to make a separate branch for each PR, and make one PR per branch. Don't add all commits to the same branch. There are a lot of helpful resources on google on how to do so.
  • You need to download Visual Studio and make sure your code compiles before submitting a pull request. There are obvious compile error which you see without even using a compiler. That just shows you did not put too much effort into your pull rerquest, It is not our job to fix your broken code.

@tweimer tweimer closed this Feb 23, 2022
@JeanPaulLucien
Copy link
Author

There are obvious compile error which you see without even using a compiler. That just shows you did not put too much effort into your pull rerquest, It is not our job to fix your broken code.

@tweimer
So "obvious error" that you didn't say it. You are right about job. QA, research, code review and write code for Miranda is not my job. Farewell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants