Betterbird / thunderbird-patches

Betterbird is a fork of Mozilla Thunderbird. Here are the patches that provide all the goodness.
Other
468 stars 20 forks source link

Feature request - New retention policy: Always keep unread messages #324

Open MonoS opened 1 month ago

MonoS commented 1 month ago

As the title says, a new retention policy option to not delete unread message. I've already checked inside the codebase, downloaded here https://hg.mozilla.org/comm-central/archive/tip.zip , so here some pointers:

From my research that should be all, i hope to not have missed something

Betterbird commented 1 month ago

Why don't you browse the code at: https://searchfox.org/comm-central/source

MonoS commented 1 month ago

Because i didn't know it existed, i've downloaded the code and searched with np++ so I guess is kind of the same thing? maybe i've searched the latest commit instead of a specific version

Betterbird commented 1 month ago

Searchfox is much more convenient, it has cross references, history, logs, etc.

MonoS commented 1 month ago

Oh, nice, i'll recheck everything with it and edit my post with new finding then, thanks.

Betterbird commented 1 month ago

From my research that should be all, i hope to not have missed something

It would be easier if you submitted a patch. Looks like you also need to add some strings for the UI. BTW, IDL files define interfaces, they are not auto-generated, but include files are generated from them.

MonoS commented 1 month ago

It would be easier if you submitted a patch

I could do that, i just hope I won't struggle with the build system like all the time :)

Betterbird commented 1 month ago

Depending on your OS, the one-liner ./build.sh 128 might just work. README.md has a bit of information. Also, you don't necessarily need to build it. Just make the code changes you described and submit a patch.

MonoS commented 1 month ago

Depending on your OS, the one-liner ./build.sh 128 might just work.

Well, what i'm most interested in is downloading the correct version, would this download the correct version i should diff to? BTW i'm on windows.

Betterbird commented 1 month ago

You should follow https://github.com/Betterbird/thunderbird-patches/blob/main/README.md for Windows.

At the end you can issue ./build.sh 128 apply. That just makes the source code ready without compiling it.

Betterbird commented 1 month ago

If you don't want to build, you can just download the comm-central or comm-esr128 repository. That's much smaller than the Mozilla repository which you need to build.