阅读:34937回复:241
dongyuanxun和Lawliet如果再编译9.0,能否加入这个patch
https://bugzilla.mozilla.org/show_bug.cgi?id=692153
这个bug不算严重,但影响百度贴吧,现在用贴吧的人也不少 登陆贴吧之后(不登陆浏览贴吧没问题),不能在content menu里选“复制”,也不能用Home、End键或鼠标手势控制跳到页首页尾,就像那个testcase表现得一样 如果再编译,顺手打个这个小补丁吧 |
|
1楼#
发布于:2011-12-27 13:45
支持
希望能打上这个补丁 这样我也不用去追nightly了 |
|
2楼#
发布于:2011-12-27 13:45
It affects Fx9+(current beta), if we don't fix it in Fx11, users have to wait at least 3*6=18 weeks before thay can copy text in those page again...
看这意思,至少要在ff11里才能修正 不要指望官方在ff9 ff10里修正了 |
|
3楼#
发布于:2011-12-27 13:45
如果10没打的话,我可以打,10的代码还没看,不知道是否相容
我的电脑不太好,所以不可能做到频繁编译 我先记录下这个patch |
|
4楼#
发布于:2011-12-27 13:45
|
|
5楼#
发布于:2011-12-27 13:45
dongyuanxun:如果10没打的话,我可以打,10的代码还没看,不知道是否相容 好的,谢谢 |
|
6楼#
发布于:2011-12-27 13:45
如果你们不急的话,我会在明天或者后天重编译9.01的X86版打上这个补丁。
因为时间关系,我就不重编译X64版了。 另外有几个默认开关的推荐我征求下大家的意见,看看是否需要有所改动(Palemoon和老pigfoot遵循这样的改动) 稍后我放出想要变更的地方给大家看看,因为我不是web程序员,对FF的开关了解也不太多,所以css/连接这相关的我也不太明白。 |
|
7楼#
发布于:2011-12-27 13:45
browser.css的改动
diff -ruNa mozilla-release/browser/base/content/browser.css palemoon-8.0-source/browser/base/content/browser.css --- mozilla-release/browser/base/content/browser.css Sat Nov 5 05:33:52 2011 +++ palemoon-8.0-source/browser/base/content/browser.css Mon Nov 7 05:15:22 2011 @@ -29,8 +29,8 @@ max-width: 250px; min-width: 100px; width: 0; - -moz-transition: min-width 200ms ease-out, - max-width 250ms ease-out, + -moz-transition: min-width 100ms ease-out, + max-width 125ms ease-out, opacity 50ms ease-out 20ms /* hide the tab for the first 20ms of the max-width transition */; } @@ -38,9 +38,9 @@ max-width: 0.1px; min-width: 0.1px; opacity: 0 !important; - -moz-transition: min-width 200ms ease-out, - max-width 250ms ease-out, - opacity 50ms ease-out 100ms /* hide the tab for the last 100ms of the max-width transition */; + -moz-transition: min-width 100ms ease-out, + max-width 125ms ease-out, + opacity 30ms ease-out 50ms /* hide the tab for the last 100ms of the max-width transition */; } .tab-throbber:not([fadein]):not([pinned]), @@ -54,7 +54,7 @@ .tab-label, .tab-icon-image, .tab-close-button { - -moz-transition: opacity 250ms; + -moz-transition: opacity 125ms; } .tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] { 这个对体验有什么影响么? |
|
8楼#
发布于:2011-12-27 13:45
默认开关Palemoon改动
+//Palemoon tweaks +pref("network.prefetch-next", false); //prefetching engine off by default! +pref("network.http.pipelining" , true); //pipelining on by default, haven't seen any issues +pref("network.http.pipelining.ssl" , true); +pref("network.http.proxy.pipelining", false); // pipeline proxy requests - breaks some proxies! (406) +pref("network.http.pipelining.maxrequests" , 12); // Max number of requests in the pipeline + +pref("browser.tabs.insertRelatedAfterCurrent", false); //use old method of tabbed browsing instead of "Chrome" style +pref("general.warnOnAboutConfig", false); //about:config warning. annoying. I don't give warranty. +pref("browser.download.useDownloadDir", false); //don't use default download location as standard. ASK. + +//Fix useragent for annoying websites +pref("general.useragent.compatMode.firefox", true); + +//Ctrl-Tab page previews (361) +pref("browser.ctrlTab.previews", true); +//All Tabs previews (3615/400) +pref("browser.allTabs.previews", true); + +//Downloadmanager (361) +pref("browser.download.manager.flashCount", 10); +pref("browser.download.manager.scanWhenDone", false); + +//plugin kill timeout (366) +pref("dom.ipc.plugins.timeoutSecs", 20); + + +//DNS handling (368) +pref("network.dnsCacheEntries", 1024); //cache 1024 instead of 20 +pref("network.dnsCacheExpiration", 3600); //TTL 1 hour + +//Slightly lower default initial rendering delay (368) +pref("nglayout.initialpaint.delay", 150); + +//webGL (4.0) +pref("webgl.prefer-native-gl", true); +//enable it even if ANGLE isn't built. Will disable anyway if no driver present. +pref("webgl.force-enabled", true); + + +//JIT the chrome! (402) +pref("javascript.options.jitprofiling.chrome", true); +pref("javascript.options.methodjit.chrome", true); +pref("javascript.options.methodjit_always", true); + +//Add-on window fixes (368) +pref("extensions.getAddons.maxResults", 10); + +//Pale Moon 7 specific +pref("browser.urlbar.trimURLs", false); //stop being a derp, Mozilla! + +//Pale Moon 8 specific + +//cache handling 1GB -> 100MB by default, disable automatic +//max element size 5MB -> 2MB/1MB, caching anything larger is not recommended +pref("browser.cache.disk.smart_size.enabled",false); +pref("browser.cache.disk.capacity",102400); +pref("browser.cache.disk.max_entry_size",2048); +pref("browser.cache.memory.capacity",32768); +pref("browser.cache.memory.max_entry_size",1024); + +//image RAM cache size for *decoded* images; 256MB should be enough here; +pref("image.cache.size",256000); + pigfoot的改动 +// pigfoot's tweaks +pref("general.useragent.extra.pigfoot", "(pigfoot,__pigfoot_useragent_arch__)"); +pref("app.update.url", "https://update.pigfoot.org/__pigfoot_arch__/2/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/update.xml"); +pref("browser.enable_automatic_image_resizing", false); +pref("network.http.max-connections", 48); +pref("network.http.max-connections-per-server", 16); +pref("network.http.max-persistent-connections-per-proxy", 16); +pref("network.http.max-persistent-connections-per-server", 8); +pref("network.http.pipelining", true); +pref("network.http.proxy.pipelining", true); +pref("network.http.pipelining.maxrequests", 8); +pref("plugin.expose_full_path", true); +pref("config.trim_on_minimize", true); +pref("privacy.donottrackheader.enabled", true); +pref("extensions.checkCompatibility.6.0", false); // Bug521905 + +//http://www.junauza.com/2010/05/hacks-to-make-firefox-faster-than.html +pref("nglayout.initialpaint.delay", 0); +pref("content.notify.interval", 500000); +pref("content.notify.ontimer", true); +pref("content.switch.threshold", 250000); +pref("content.interrupt.parsing", false); 这些开关,哪些修正比较好,哪些修改会有不良影响? |
|
9楼#
发布于:2011-12-27 13:45
大家可以跟帖说明,最好说明原因,很多开关我都不知道什么意思
|
|
10楼#
发布于:2011-12-27 13:45
dongyuanxun:如果你们不急的话,我会在明天或者后天重编译9.01的X86版打上这个补丁。 好,全看你的安排,那个bug也不是很急 我对web一点都不了解,browser.css那个似乎是缩短过渡动画的时间,从而节省一点点cpu 不知道猜的对不对 |
|
11楼#
发布于:2011-12-27 13:45
Palemoon还有个对下载管理器的改动
diff -ruNa mozilla-release/toolkit/components/downloads/nsDownloadManager.h palemoon-8.0-source/toolkit/components/downloads/nsDownloadManager.h --- mozilla-release/toolkit/components/downloads/nsDownloadManager.h Sat Nov 5 05:34:18 2011 +++ palemoon-8.0-source/toolkit/components/downloads/nsDownloadManager.h Mon Nov 7 04:30:34 2011 @@ -45,8 +45,9 @@ #define downloadmanager___h___ #if defined(XP_WIN) && (MOZ_WINSDK_TARGETVER >= MOZ_NTDDI_LONGHORN) -#define DOWNLOAD_SCANNER +// #define DOWNLOAD_SCANNER #endif +#undef DOWNLOAD_SCANNER #include "nsIDownload.h" #include "nsIDownloadManager.h" 貌似是禁用了下载后扫描,这个补丁打上如何? |
|
12楼#
发布于:2011-12-27 13:45
palemoon把dnsCacheEntries dnsCacheExpiration改大发了
![]() 好多我也不明白,就算知道是干嘛的也不知道是怎么实现的 所以建议about:config保持默认,让懂的自己去改吧 至于下载后扫描,去不去都行,全按你的使用习惯,我们客随主便嘛 |
|
13楼#
发布于:2011-12-27 13:45
下载后扫描在about:config 里面有选项可以关闭的,这个补丁不必打吧。
|
|
|
14楼#
发布于:2011-12-27 13:45
那我就先把他那个browser.css改了
其他先不改,如果大家有强烈要求的开关加入,我也会考虑 |
|
上一页
下一页