Lines Matching full:nil
1408 (QFont::setFamily): Set _pitch to Unknown when setting _NSFont to nil.
2240 * khtml/xml/dom2_eventsimpl.cpp: (MouseRelatedEventImpl::computeLayerPos): Added nil check.
5455 This regression was introduced by the fix for <rdar://problem/4084029>. It was just missing a nil check.
5457 * khtml/html/htmlparser.cpp: (KHTMLParser::finished): added nil check for current.
8272 Nil check checker.
8283 * kwq/KWQTextField.mm: (-[KWQTextFieldController setHasFocus:]): added nil check for widget, since it can get deleted during an event.
11109 (DOM::AtomicString::equal): Add some nil checks, now that the equal this calls
11110 no longer checks for nil.
15183 - nil check the node being showTree'd
15190 - nil check the node
15195 - nil check the node
15465 The old code would just do a nil-deref.
15697 (KHTMLPart::handleFallbackContent): check for nil
15998 new window is a dialog. Also fixed the early return case for when the bridge returns nil.
16027 - fixed bug where any function taking an event parameter would crash with a nil-deref
16140 (KJS::Window::get): Added nil check for document.
16249 Nil-check result of VisiblePosition previous() and next().
16832 * khtml/rendering/render_form.cpp: (RenderLineEdit::handleFocusOut): added nil check for element
17344 * khtml/html/html_imageimpl.cpp: (HTMLImageLoader::updateFromElement): added a nil check for the document
18692 * khtml/html/html_elementimpl.cpp: (HTMLElementImpl::setOuterHTML): added nil check.
20131 Nil-check node variable instead of rechecking document variable.
20142 Added nil check.
20279 * khtml/rendering/render_layer.cpp: (RenderLayer::scrollToOffset): Check canvas for nil.
20451 - fixed <rdar://problem/4058740> Crash (nil-deref) editing Mail reply
20456 Add nil check to loop. It shouldn't be necessary, but this crash trace seems to be
20633 (-[WebCoreBridge canLoadURL:fromReferrer:hideReferrer:]): Check always came back false when callers would send a nil NSURL to this method. Now we allow the empty url cases, eg., <frame src="">
20784 Add non nil style() check.
20838 Check part for nil before trying to ref. This was probably a longstanding code flaw revealed by
20853 * khtml/html/htmltokenizer.h: Added loadStopped flag. Changed the view pointer from a standard pointer to a QGuardedPtr. This fixes the crash. Now the tokenizer's handle to the view will now automatically nil-out and never dangle.
20867 Also fixes crash by adding nil check.
20871 Check the node for nil.
20943 Nil check checker.
21016 (khtml::HTMLTokenizer::write): Simple nil check against the view.
21018 handle to the view will now automatically nil-out and never dangle.
21138 Nil check checker.
21575 Additional nil check from fix for 4040749.
21582 Additional nil check from fix for 4040749.
21728 Added missing nil check.
21736 * khtml/xml/dom_docimpl.cpp: (widgetForNode): Check for nil before going from node to renderer.
21793 Check for nil startNode, not just nil renderer.
22038 Added more nil checks to the widget implementations. Anywhere a widget pointer is used, do a nil check,
22042 because this just avoids nil-dereferencing.
22563 Added more nil checking and ASSERTS.
23212 <rdar://problem/3980209> Mail crashed when I pressed Cmd-Shift-[ (nil-deref in ApplyStyleCommand::addBlockStyleIfNeeded)
23493 nil check.
23846 * khtml/dom/dom_string.cpp: (DOM::DOMString::operator += ): prevent nil dereference when DOMString being added is nil
24747 * khtml/khtml_part.cpp: (KHTMLPart::slotLoaderRequestDone): Check if doc is nil before calling
25179 Prevent nil dereference in debug code.
25241 - fixed <rdar://problem/3981759> nil-deref and crash when pasting just a paragraph break
25252 not added when pasting an entire paragraph into the end of a document (from test case in 3949790). Added nil check before
25305 (NodeImpl::detach): Add a missing nil check.
26549 Add nil check to return nil rather than crash when child node not found.
26800 (HTMLElementImpl::setOuterHTML): Added a nil check for fragments who don't have parents.
27168 Fixed: <rdar://problem/3936879> nil-deref, crash in InlineFlowBox::nodeAtPoint closing DHTML menus at hrweb.apple.com
27171 (khtml::RenderBlock::fillInlineSelectionGaps): Added a nil check. If there is no selection, don't try to get the selection's containing block. If we do, we'll crash.
27293 <rdar://problem/3935390> Tiger 8A341: nil deref crash in DOM::NodeImpl::traverseNextNode
27296 (HTMLCollectionImpl::traverseNextItem): Assert that the starting point is not nil,
27299 nil, meaning the end to avoid triggering above assert (formerly crash).
27748 * kwq/KWQFoundationExtras.h: (KWQCFAutorelease): Added nil check.
28272 - added a bunch of missing nil checks; our old version of inherits used to work for nil (by accident)
28275 (RenderPart::~RenderPart): Check widget for nil.
28687 a nil description, which isn't ideal, but is in keeping with the way the rest of these attributes
29177 Added nil check before calling scheduleRelayout. This is new code so the nil-dereference is a recent regression.
29259 added missing nil check
29379 (-[KWQResourceLoader cancel]): pass nil for data
29668 (-[KWQButton sendConsumedMouseUpIfNeeded]): Check button for nil instead of checking target.
29675 (QButton::~QButton): Call detachQButton instead of setTarget:nil.
31718 same as a nil range - setting an empty marked range should clear
31840 (WindowFunc::tryCall): Added a nil check in the case of an empty document lacking a baseURL().
32624 needed a nil check to handle empty document case
33109 check for nil m_renderer
33738 (HTMLBodyElementImpl::insertedIntoDocument): Check for nil document case.
33787 Added nil check.
34603 (nil-deref in NodeImpl::dispatchEvent)
34607 guard against document or document->document() being nil
34686 * khtml/xml/dom2_rangeimpl.cpp: (DOM::RangeImpl::processContents): Added some nil
35429 (khtml::TextIterator::range): Handle case where m_endContainer is nil.
35433 (DOM::RangeImpl::startNode): Added check for nil start container and use offsetInCharacters.
35464 - fixed nil-deref happening often in Mail when I delete
35466 * khtml/rendering/render_br.cpp: (RenderBR::selectionRect): Check for nil lastLeafChild.
35467 Dave may want to figure out why it's nil and do a different fix later.
35649 * khtml/rendering/render_replaced.cpp: (RenderWidget::setSelectionState): Added nil check for the
35658 * khtml/ecma/kjs_window.cpp: (WindowFunc::tryCall): Add nil checks for the document.
35659 The nil check prevents the crash but there's still a bug here; I filed 3807059 about that.
36636 a check for nil. Together, these two changes fix a few cases I ran into during testing.
37357 (QListBox::clearCachedTextRenderers): Release global text renderers and nil out the globals.
38464 (KHTMLView::viewportMouseMoveEvent): Add a nil check and an
38573 (QListBox::~QListBox): Nil out the pointer from the KWQTableView back to the widget by calling
38576 source to nil, so we don't need nil checks in delegate and data source methods.
38577 (-[KWQTableView mouseDown:]): Add nil check.
38578 (-[KWQTableView keyDown:]): Add nil check.
38579 (-[KWQTableView keyUp:]): Add nil check.
38580 (-[KWQTableView becomeFirstResponder]): Add nil check.
38581 (-[KWQTableView resignFirstResponder]): Add nil check.
38582 (-[KWQTableView canBecomeKeyView]): Add nil check.
38583 (-[KWQTableView tableViewSelectionDidChange:]): Add nil checks, even though this is a delegate
38586 (-[KWQTableView drawRow:clipRect:]): Add nil check.
38587 (-[KWQTableView _accessibilityTableCell:tableColumn:]): Add nil check.
39016 2) code trying to get to view after view was detached from part, caused nil-deref
39017 3) signals sent to parent after child was no longer in the parent's frames list, caused nil-deref
39027 (KHTMLPart::slotFinishedParsing): Add another check for a nil m_view, after the call to
39097 (InlineTextBox::paintSelection): Add nil check.
39289 <rdar://problem/3748537> crash due to nil node passed into parentNode in computeTypingStyle deleting text
39772 Added a check for nil.
40696 Check for nil originalString() before dereffing
41137 Fixed <rdar://problem/3698867> setting the canvas or parent to display:none and updating the causes a nil-deref
41470 (-[DOMTreeWalker dealloc]): Removed unneeded nil check.
41567 (KWQRetain): Cover for CFRetain that is tolerant of nil.
41568 (KWQRelease): Cover for CFRelease that is tolerant of nil.
41569 (KWQRetainNSRelease): Combination of a CFRetain and an -[NSObject release] that is tolerant of nil.
42437 paintingRoot, or nil if we are the root (so kids draw normally).
44336 - fixed <rdar://problem/3661918>: "repro nil-deref in RenderImage::paint (www.codepoetry.net)"
44339 nil before dereferencing it.
44344 nil before dereferencing it.
44569 nil root object. This was causing a crash in DB. Still need to
44570 address root cause of nil root object.
45358 nil-deref in KHTMLPart::setFocusNodeIfNeeded inside triple click code after repeatedly click/drag selecting text"
45373 (KHTMLPart::setFocusNodeIfNeeded): Add a check for nil; this is the fix for 364030.
45434 return nil if no renderer, otherwise return NSFont
45533 - fixed <rdar://problem/3636673>: "unrepro nil-deref crash in KHTMLPart::frameDetached() (espn.com)"
45535 * kwq/KWQKHTMLPart.mm: (KHTMLPart::frameDetached): Check for nil.
45839 - fixed <rdar://problem/3636261>: "nil-deref in selectedStylesheetSet iterating through properties in a non-view document"
45842 (DocumentImpl::selectedStylesheetSet): Add nil check.
45925 (QComboBox::QComboBox): Initializes _labelFont to nil.
46006 - fixed <rdar://problem/3634145>: "REGRESSION: nil-deref in QTextCodec::toUnicode every time loading page at wiki.wordpress.org"
46009 (KURL::KURL): Simplify check for nil that defaults to UTF-8.
46276 added nil check
46438 if the passed-in renderer is nil. This helps to make clicking in empty blocks work.
48069 - fixed <rdar://problem/3606146>: repro nil-deref in QWidget::move (www.stoltoffshore.com)
48190 * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::passWidgetMouseDownEventToWidget): Pass nil for fromView
48521 (-[KWQFileButtonAdapter filenameChanged:]): Check for nil.
49463 Make the AXLinkUIElements attribute always return an array (never return nil).
49779 <rdar://problem/3514733>: nil-deref in createHTMLEventListener at skiset.com
49780 <rdar://problem/3510676>: nil-deref of view in DocumentImpl::createHTMLEventListener at kirotv.com
50183 <rdar://problem/3552346>: REGRESSION 100-125: nil-dereference in KHTMLPart::isPointInsideSelection (progz.ru, many other sites)
51215 (-[KWQTableView tableView:objectValueForTableColumn:row:]): Return nil becase we don't want to
52296 * kwq/KWQColor.mm: (QColor::getNSColor): Fix bug where we would return nil for RGBA of 0.
53235 - fixed 3529943: REGRESSION (119-120): nil-deref in KHTMLPart::javaEnabled when hitting back button
53238 Add missing nil check that the other call to javaEnabled has.
53395 Removed nodeimpl == nil test that was preventing button/link clicks
53480 return nil string rather than dummy string for the cases where we don't have a value attribute.
53663 fixed <rdar://problem/3482852>: oft-seen, non-repro, nil-deref in
53733 - fixed 3458937: nil-deref in timed layout
53735 * khtml/khtmlview.cpp: (KHTMLView::layout): Add a nil check for m_part.
53885 Move a few lines inside an existing nil check to prevent nil dereference.
54093 - fixed 3506739: nil-deref in DocumentImpl::setSelection triple clicking (generated content)
54316 - fixed 3505277: nil-deref in ownerElement after choosing item from menu at projectnissan.com
54318 * khtml/xml/dom_nodeimpl.cpp: (NodeImpl::dispatchWindowEvent): Add check for nil.
54519 Check for nil RenderApplet before dereferencing rather than after.
54833 nil-deref in bidi code. Need to null-check strings with no length.
54842 Fix for 3495746, nil deref of containing block (frame inside frameset).
54909 - fixed 3496960: nil-deref in idFromNode inside elementDoesAutoComplete:
54912 (inputElementFromDOMElement): Added nil check.
54913 (formElementFromDOMElement): Added nil check.
57974 to get at a child node. We don't want to set startNode or endNode to nil in any case. If the end
57975 node is set to nil, we end up copying the entire remainder of the page.