Closed Bug 245009 Opened 21 years ago Closed 21 years ago

Kill C++ urlbar history

Categories

(Core Graveyard :: History: Global, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Unassigned)

Details

(Keywords: memory-footprint)

Attachments

(3 files)

The C++ urlbar history code is almost superfluous. Most of it was reimplemented in JS in sessionHistoryUI.js, so once pref-history.xul has been converted to pure JS/RDF the C++ version can me removed. CCing people who can drum up volunteers.
Attached patch Part 1 - FESplinter Review
Attachment #149647 - Flags: review?(axel)
Attachment #149652 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #149652 - Flags: review?(neil.parkwaycc.co.uk) → review?(bsmedberg)
Comment on attachment 149647 [details] [diff] [review] Part 1 - FE not really my bucket. But anyway, r=me
Attachment #149647 - Flags: review?(axel) → review+
Attachment #149647 - Flags: superreview?(alecf)
Comment on attachment 149652 [details] [diff] [review] Part 2 - BE r=me for what appears to be a mindless build-config change
Attachment #149652 - Flags: review?(bsmedberg) → review+
Comment on attachment 149647 [details] [diff] [review] Part 1 - FE wow, thats simple. Scary simple. I really wish we would just hook this up to global history though.. we already know which URLs should go into URLBar History, because they have the "typed" attribute set. sr=alecf
Attachment #149647 - Flags: superreview?(alecf) → superreview+
Comment on attachment 149652 [details] [diff] [review] Part 2 - BE sr=alecf
Attachment #149652 - Flags: superreview?(alecf) → superreview+
(In reply to comment #5) >I really wish we would just hook this up to global history though.. we already >know which URLs should go into URLBar History, because they have the "typed" >attribute set. Although URLBar history does expect them to stay in order...
sure, but we could mimic that in history by looking for all typed urls, sorted by date-most-recently-visited and we'd get more or less the same list in the same order.
c++ part checked in, marking fixed
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
The next file is referred to by the project file of Camino. mozilla/camino/Camino.xcode/project.pbxproj line: 11212 - 11219 xpfe/components/urlbarhistory/public/_xpidlgen/urlbarhistory.xpt For this reason, an error occurs in build of Camino. Please remove this entry.
(In reply to comment #10) > The next file is referred to by the project file of Camino. > mozilla/camino/Camino.xcode/project.pbxproj > line: 11212 - 11219 > xpfe/components/urlbarhistory/public/_xpidlgen/urlbarhistory.xpt > > For this reason, an error occurs in build of Camino. > Please remove this entry. I'm not familiar with pbxproj files... it seems a bit nontrivial to remove this entry... can someone who knows this file do this? (strangely, the camino tinderboxes are all green...)
>(strangely, the camino tinderboxes are all green...) I think that it is because it is not building in the really clean state. The following is an error log. PBXCp build/Camino.app/Contents/MacOS/components/urlbarhistory.xpt /Users/sek/Documents/mozilla-current/camino/mozilla/xpfe/components/urlbarhistory/public/_xpidlgen/urlbarhistory.xpt cd /Users/sek/Documents/mozilla-current/camino/mozilla/camino /Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS -strip-debug-symbols -resolve-src-symlinks /Users/sek/Documents/mozilla-current/camino/mozilla/xpfe/components/urlbarhistory/public/_xpidlgen/urlbarhistory.xpt /Users/sek/Documents/mozilla-current/camino/mozilla/camino/build/Camino.app/Contents/MacOS/components /Users/sek/Documents/mozilla-current/camino/mozilla/xpfe/components/urlbarhistory/public/_xpidlgen: No such file or directory ** BUILD FAILED ** make[2]: *** [libs] Error 1 make[2]: Leaving directory `/Users/sek/Documents/mozilla-current/camino/mozilla/camino'
Attached patch quick fix patchSplinter Review
(In reply to comment #13) > Created an attachment (id=150075) > quick fix patch > Thanks - I checked this patch in Checking in camino/Camino.xcode/project.pbxproj; /cvsroot/mozilla/camino/Camino.xcode/project.pbxproj,v <-- project.pbxproj new revision: 1.17; previous revision: 1.16 done
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: