Closed
Bug 245009
Opened 21 years ago
Closed 21 years ago
Kill C++ urlbar history
Categories
(Core Graveyard :: History: Global, defect)
Core Graveyard
History: Global
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Unassigned)
Details
(Keywords: memory-footprint)
Attachments
(3 files)
|
3.16 KB,
patch
|
axel
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
|
34.13 KB,
patch
|
benjamin
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
|
2.02 KB,
patch
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•21 years ago
|
||
| Reporter | ||
Updated•21 years ago
|
Attachment #149647 -
Flags: review?(axel)
Comment 2•21 years ago
|
||
Updated•21 years ago
|
Attachment #149652 -
Flags: review?(neil.parkwaycc.co.uk)
| Reporter | ||
Updated•21 years ago
|
Attachment #149652 -
Flags: review?(neil.parkwaycc.co.uk) → review?(bsmedberg)
Comment 3•21 years ago
|
||
Comment on attachment 149647 [details] [diff] [review]
Part 1 - FE
not really my bucket. But anyway, r=me
Attachment #149647 -
Flags: review?(axel) → review+
| Reporter | ||
Updated•21 years ago
|
Attachment #149647 -
Flags: superreview?(alecf)
Comment 4•21 years ago
|
||
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+
Updated•21 years ago
|
Attachment #149652 -
Flags: superreview?(alecf)
Comment 5•21 years ago
|
||
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 6•21 years ago
|
||
Comment on attachment 149652 [details] [diff] [review]
Part 2 - BE
sr=alecf
Attachment #149652 -
Flags: superreview?(alecf) → superreview+
| Reporter | ||
Comment 7•21 years ago
|
||
(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...
Comment 8•21 years ago
|
||
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.
Comment 9•21 years ago
|
||
c++ part checked in, marking fixed
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 10•21 years ago
|
||
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.
Comment 11•21 years ago
|
||
(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...)
Comment 12•21 years ago
|
||
>(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'
Comment 13•21 years ago
|
||
Comment 14•21 years ago
|
||
(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
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•