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

Separate CTranslationInterface from CClientUIInterface #6022

Merged
merged 1 commit into from Apr 30, 2015

Conversation

jtimon
Copy link
Contributor

@jtimon jtimon commented Apr 16, 2015

Otherwise anything that wants to use _() for translations has to depend on ui_interface.h

@laanwj
Copy link
Member

laanwj commented Apr 23, 2015

utACK

@theuni
Copy link
Member

theuni commented Apr 23, 2015

briefly tested ACK. looks good, passes local tests.

@laanwj laanwj merged commit b74dcb3 into bitcoin:master Apr 30, 2015
laanwj added a commit that referenced this pull request Apr 30, 2015
b74dcb3 Separate CTranslationInterface from CClientUIInterface (Jorge Timón)
random-zebra added a commit to PIVX-Project/PIVX that referenced this pull request Dec 17, 2020
…ound

97a85eb [GUI] Connect alert signal (furszy)
ce58263 Move GetWarnings() into its own file. (furszy)
3fee808 util GetWarnings, adding "gui" parameter type. (furszy)
e074feb Eliminate data races for strMiscWarning and fLargeWork*Found. This moves all access to these datastructures through accessor functions and protects them with a lock. (furszy)
5fdd73e Make QT runawayException call GetWarnings instead of directly access strMiscWarning. (furszy)
c684718 Separate CTranslationInterface from CClientUIInterface (furszy)
0b62015 [Cleanup] Remove unused global fields from util.h/cpp (furszy)

Pull request description:

  Back ported two different PRs from upstream to solve possible races over the `strMiscWarning` and `fLargeWork*Found` global fields plus some small cleanup.

  bitcoin#6022: to not depend on `guiinterface.h` every time that a back end text needs translations.
  bitcoin#9236: eliminating data races for strMiscWarning and fLargeWork*Found and making QT `runawayException` call `GetWarnings("gui")` instead of directly access `strMiscWarning`.

  Extra information:
  This work is part of a larger rabbit hole that i'm working on to be able to solve #1973 current issues and compile the project in macOS again (solving the newer boost version errors).

ACKs for top commit:
  Fuzzbawls:
    ACK 97a85eb
  random-zebra:
    utACK 97a85eb and merging...

Tree-SHA512: 0a2549f19ecadff1c3e275649599e9cf043404a213f8418e85cc009d7f56c98c704de53f3700a88acd9cdaf1e5ff73bc3b1d9951d76469c7283d2e7cfaaf6628
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants