File: SAFARI_MERGE

package info (click to toggle)
kdelibs 4%3A3.5.10.dfsg.1-5%2Bdeb6u1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 98,764 kB
  • ctags: 76,783
  • sloc: cpp: 578,944; xml: 117,726; ansic: 28,321; sh: 11,188; perl: 6,290; java: 4,069; makefile: 3,795; yacc: 2,437; lex: 643; ruby: 329; asm: 166; jsp: 128; haskell: 116; f90: 99; ml: 75; awk: 71; tcl: 29; lisp: 24; php: 9
file content (161 lines) | stat: -rw-r--r-- 5,964 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161

This is a short document with the progress of patches in the Safari codebase
being merged into khtml. 

its ordered by directory and by files. Add here the parts that cannot be
immediately merged and need further negotiation. 

Its recommended to add a //FIXME_SAFARI comment to places which need merging
in the khtml sourcecode. 

===========================================================================
# css
===========================================================================

- the font changes (except for the konq-body property) are still not merged.
 They are partly not easily portable and I don't understand some parts of them.
 a small part is merged but still unused (separate font sizes for fixed fonts)

- The Apple specific parts with their DPI settings.

- most of the html4.css changes are not in. I have already added the
  @konq-quirks part

===========================================================================
# dom
===========================================================================

- dom_doc.cpp / .h: preferred Stylesheet stuff. how does this correlate
  to the changes in css_stylesheet.h / cpp ? <- It's independent (lars).
  requires merging of the impl in xml/html first

- css_stylesheet.cpp / .h addition of preferredStyleSheet et all, but
  appears to be unused

- weird change in dom_doc.cpp: doctype()

- dom_string.h: removal of virtual destructor can't be merged, BIC. 
  doesn't make sense anyway, as one might want to inherit from it. 
  if it is a speed problem more stuff has to be handled with DOMStringImpl*

- html_document.cpp / .h setPolicyBaseURL for cookie handling. euhm?

===========================================================================
# ecma
===========================================================================

TODO:
- ScriptInterpreter domObjectsPerDocument + getDOMDocumentNode

To investigate:
- kjs_navigator (PluginBase refcount ; ProductSub)
   hmm, why is e.g. the ref/deref stuff in APPLE_CHANGES?
- scope changes  (kjs_events.cpp, DOMNode::pushEventHandlerScope)
- Image object: DOM::Document doc -> QGuardedPtr<DOM::DocumentImpl> doc;
  (why? Or rather: should this also be done in all other domobject-wrappers?)
- window.scroll == scrollto or scrollby ?? 
- ScheduledAction: ObjectImp -> Object. Sounds good - why did we have an imp? refcount problem?

Needs other stuff before it can be applied:
- Identifier change (needs kjs2) (includes lengthPropertyName change)

===========================================================================
# html
===========================================================================

- dtd.cpp: changes regareding ID_TEXT, ID_FORM, A and FONT left out

- html_formimpl.cpp/.h: many changes skipped. will need to integrate the
  "activate first submit" button part. 

- html_headimpl.cpp:  changes for FOUC in external style loading

- html_image/html_form: name / id lookup cache skipped. want to do that
  for all elements. 

- html_miscimpl.cpp: case insensitive name / id matching

- html_parser: reapplying of dropped attributes. reported to be obsolete

===========================================================================
# misc
===========================================================================

- decoder.cpp/.h: changes in APPLE_CHANGES #ifdef that make decoder
  being a null wrapper just using unicode directly instead of working
  on charset specific 8bit data. 

- htmltags.in: removal of <-konqblock>, not sure if that should ever
  be merged. 

===========================================================================
# rendering
===========================================================================

done so far: 

- RenderArena support. Usage of the arena is disabled for now. Needs
  testing before I'll enable it.

- renamed print methods to paint

- RendeLayer code is used. Needs to be updated to apples latest version.

- Handling of block within inlines via continuations is done.

changes that need to be merged:

- bidi.h/cpp: lot's of changes to white space handling and others.
   probably needs the merge of the tokenizer.

- font.cpp/h: some apple specific changes. Addition of a genericFamily enum,
  IMO to speed up style stuff. Should IMO be separated out into a font_mac.cpp
  and font_x11.cpp

- repaint has gotten a bool immediate

- render_applet.cpp: small #ifdef APPLE changes

- render_box.cpp:
	paintBackground has some fixes for background position in
	table cells and repeat handling. Need to examine in detail

	calcWidth has some code for min and max width constraints
	calcHeight has a hack for "height: 100%". Not sure I understand it.
	
- render_container:
	some hack to avoid an infinite recursion on one of the evil tests.
	Since I fixed anonymous table insertion, I doubt it is still needed. Needs testing.

....


===========================================================================
# xml
===========================================================================

- dom2_eventsimpl.cpp: computeLayerPos, requires mering of rendering/

- dom2_rangeimpl.cpp: crateContextualFragmet.. merging needed

- dom_docimpl.cpp: 
    renderArena support.. merging needed. 
    lowercase attribute names.. requires confirmation
    preferred style sheet / delay recalcing style selector till
    all external stylesheets are loaded. 

- dom_nodeimpl.cpp: rendererNeedsClose. I don't fully understand this
  seems to be only required for the avoid-unstyled-elements-flicker
  restoreState -> QStringList change. will merge. 
  setLayouted(false) calls in attach(). this should imho be handled
  in the rendering tree. needs feedback. 

- dom_nodeimpl.cpp / .h: setMalformed() hack. 
  isInline() fixes. 
  previous/nextrenderer addition

- dom_stringimpl.cpp: toLengthArray alternative implementation not merged

- dom_textimpl.cpp: setNodeValue: whitespace nuking needs merged!!

- xml_tokenizer.cpp/.h: completely skipped. unfinished work.