Skip to content

docs(IP2Country): drop reference to non-existent "enabled options" log line - #845

Merged
mrjimenez merged 1 commit into
amule-project:masterfrom
got3nks:docs/ip2country-drop-bogus-log-line
Jun 4, 2026
Merged

docs(IP2Country): drop reference to non-existent "enabled options" log line#845
mrjimenez merged 1 commit into
amule-project:masterfrom
got3nks:docs/ip2country-drop-bogus-log-line

Conversation

@got3nks

@got3nks got3nks commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

The troubleshooting list in docs/IP2Country.md pointed users at a startup log line aMule enabled options: … to verify ENABLE_IP2COUNTRY was on. That line does not exist in the code — the only startup banner emitted by CamuleAppCommon::Initialize is Initialising aMule … (amuleAppCommon.cpp:416) with no build-flag summary.

Replace the bullet with a more accurate signal: the visibility of the Show country flags for clients checkbox and the IP2Country settings page in Preferences are both #ifdef ENABLE_IP2COUNTRY-gated, so their presence in the UI is the build-time confirmation the user actually wants.

Surfaced via #844.

…g line

The troubleshooting list pointed users at a startup log line
`aMule enabled options: …` to verify ENABLE_IP2COUNTRY was on.
That line does not exist in the code — the only startup banner
emitted by amuleAppCommon::Initialize is `Initialising aMule …`
without any build-flag summary.

Replace the bullet with a more accurate signal: the presence of
the `Show country flags for clients` checkbox and the `IP2Country`
settings page in Preferences both come from #ifdef ENABLE_IP2COUNTRY,
so their visibility is the actual build-time confirmation.

Reported in amule-project#844.
@got3nks got3nks mentioned this pull request Jun 4, 2026
@mrjimenez
mrjimenez merged commit 4454f17 into amule-project:master Jun 4, 2026
7 checks passed
got3nks added a commit to got3nks/amule that referenced this pull request Jun 4, 2026
…ndex

Adds 55+ merged PRs to the 3.0.0 changelog since the last update
(amule-project#747, 2026-05-27). Narrative additions cover:

- Packaging: expanded the top list to include the macOS per-arch .app
  bundles and the Windows NSIS installer alongside the existing
  AppImage / Flatpak / .dmg / .zip entries. New bullets for amule-project#785
  (alc/alcc/cas/wxcas everywhere + Windows amuleweb), amule-project#794 (.dmg
  amuleweb path), amule-project#789 (<OS>-<arch> artifact naming), amule-project#780 / amule-project#796
  (Windows DPI + comctl32 manifest), amule-project#784 (FHS share/amule paths).

- Bug Fixes & Stability: post-amule-project#744 fixes including EC notification
  leak (amule-project#797), big-library scaling (amule-project#736, amule-project#840 superseding amule-project#728),
  amulegui ghost entries (amule-project#810, amule-project#819, amule-project#841, amule-project#824, amule-project#830, amule-project#760),
  PartFile early hash (amule-project#762), server protocol fixes (amule-project#835, amule-project#788,
  amule-project#721, amule-project#787), crypto stream UB (amule-project#779), UAF prevention (amule-project#756),
  Kad rotation (amule-project#795, amule-project#799/amule-project#805), GTK warning silencing (amule-project#833,
  amule-project#826/amule-project#836), and the clang-tidy worklist (amule-project#770, amule-project#772-amule-project#774).

- Translations: late-cycle wave covering French/Turkish manpages
  (amule-project#753/amule-project#754/amule-project#776), Galician (amule-project#763), Slovenian (amule-project#771), pt-BR
  (amule-project#768/amule-project#775/amule-project#812), French (amule-project#811), plus man-page tooling for
  date+version drift (amule-project#802).

- Contributors: added ngosang for UX feedback on the late-3.0
  cycle (amule-project#817/amule-project#818/amule-project#821/amule-project#828/amule-project#844) and ongoing work on the
  user-facing manual at amule-org.github.io.

- Merged PRs flat index: extended with amule-project#746-amule-project#845 + amule-project#841.
got3nks added a commit to got3nks/amule that referenced this pull request Jun 4, 2026
…ndex

Adds 55+ merged PRs to the 3.0.0 changelog since the last update
(amule-project#747, 2026-05-27). Narrative additions cover:

- Packaging: expanded the top list to include the macOS per-arch .app
  bundles and the Windows NSIS installer alongside the existing
  AppImage / Flatpak / .dmg / .zip entries. New bullets for amule-project#785
  (alc/alcc/cas/wxcas everywhere + Windows amuleweb), amule-project#794 (.dmg
  amuleweb path), amule-project#789 (<OS>-<arch> artifact naming), amule-project#780 / amule-project#796
  (Windows DPI + comctl32 manifest), amule-project#784 (FHS share/amule paths).

- Bug Fixes & Stability: post-amule-project#744 fixes including EC notification
  leak (amule-project#797), big-library scaling (amule-project#736, amule-project#840 superseding amule-project#728),
  amulegui ghost entries (amule-project#810, amule-project#819, amule-project#841, amule-project#824, amule-project#830, amule-project#760),
  PartFile early hash (amule-project#762), server protocol fixes (amule-project#835, amule-project#788,
  amule-project#721, amule-project#787), crypto stream UB (amule-project#779), UAF prevention (amule-project#756),
  Kad rotation (amule-project#795, amule-project#799/amule-project#805), GTK warning silencing (amule-project#833,
  amule-project#826/amule-project#836), and the clang-tidy worklist (amule-project#770, amule-project#772-amule-project#774).

- Translations: late-cycle wave covering French/Turkish manpages
  (amule-project#753/amule-project#754/amule-project#776), Galician (amule-project#763), Slovenian (amule-project#771), pt-BR
  (amule-project#768/amule-project#775/amule-project#812), French (amule-project#811), plus man-page tooling for
  date+version drift (amule-project#802).

- Contributors: added ngosang for UX feedback on the late-3.0
  cycle (amule-project#817/amule-project#818/amule-project#821/amule-project#828/amule-project#844) and ongoing work on the
  user-facing manual at amule-org.github.io.

- Merged PRs flat index: extended with amule-project#746-amule-project#845 + amule-project#841.
mrjimenez pushed a commit that referenced this pull request Jun 4, 2026
Adds 55+ merged PRs to the 3.0.0 changelog since the last update
(#747, 2026-05-27). Narrative additions cover:

- Packaging: expanded the top list to include the macOS per-arch .app
  bundles and the Windows NSIS installer alongside the existing
  AppImage / Flatpak / .dmg / .zip entries. New bullets for #785
  (alc/alcc/cas/wxcas everywhere + Windows amuleweb), #794 (.dmg
  amuleweb path), #789 (<OS>-<arch> artifact naming), #780 / #796
  (Windows DPI + comctl32 manifest), #784 (FHS share/amule paths).

- Bug Fixes & Stability: post-#744 fixes including EC notification
  leak (#797), big-library scaling (#736, #840 superseding #728),
  amulegui ghost entries (#810, #819, #841, #824, #830, #760),
  PartFile early hash (#762), server protocol fixes (#835, #788,
  #721, #787), crypto stream UB (#779), UAF prevention (#756),
  Kad rotation (#795, #799/#805), GTK warning silencing (#833,
  #826/#836), and the clang-tidy worklist (#770, #772-#774).

- Translations: late-cycle wave covering French/Turkish manpages
  (#753/#754/#776), Galician (#763), Slovenian (#771), pt-BR
  (#768/#775/#812), French (#811), plus man-page tooling for
  date+version drift (#802).

- Contributors: added ngosang for UX feedback on the late-3.0
  cycle (#817/#818/#821/#828/#844) and ongoing work on the
  user-facing manual at amule-org.github.io.

- Merged PRs flat index: extended with #746-#845 + #841.
@got3nks
got3nks deleted the docs/ip2country-drop-bogus-log-line branch June 5, 2026 22:35
mrjimenez pushed a commit to mrjimenez/amule that referenced this pull request Aug 8, 2026
…mule-project#845)

Queueing a search result makes it known, and since the wxDataViewCtrl port
every result update marks the model dirty and flushes a full Cleared(), so
the filter predicate re-runs straight away. With "Hide Known Files" on, the
row the user just double-clicked is gone by the next idle -- before the
colour that confirms the download was added has ever been on screen, and
with nothing left to say which results were taken. Users who keep the
option on permanently lose any feedback that adding worked (amule-project#756).

Before the port UpdateResult() patched the row's cells in place and had no
path that could remove it, so a result that became known simply recoloured
and stayed. Restoring that by making updates incremental again is not
available: ItemChanged() and delete+re-add were both tried during the port
and neither made GTK/MSW re-derive container-ness on group formation, which
is why every change became a coalesced reset.

So exempt the results the user queued from this list instead. They are
recorded by hash in DownloadSelected() -- grouping only ever pairs results
whose hashes match, so one insert covers a group and its variants -- and
IsFiltered() skips the known test for them. SetFilter() and ShowResults()
clear the set, so re-filtering or a new search collapses the kept rows away.
Results that were already known are still hidden by the same live status
test as before.

Keyed on the user's action rather than on when a result became known,
because those differ between the two GUIs: amulegui constructs every result
NEW and only learns the real status from a later poll
(CSearchListRem::ProcessItemUpdate), so "already known on arrival" is not a
question it can answer, while the monolithic build computes it up front in
CSearchFile::SetDownloadStatus(). Hooking the GUI action keeps one code
path correct for both.
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.

2 participants