summaryrefslogtreecommitdiff
path: root/libyelp/yelp-mallard-document.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix up issues with reload, including reloading on theme changeShaun McCance2022-01-111-3/+33
| | | | Addresses part of https://gitlab.gnome.org/GNOME/yelp/-/issues/188
* mallard-document: fix crash when reloading documentmcatanzaro/#122Michael Catanzaro2020-10-291-0/+1
| | | | | | | | | libxml memory management is quite uncleary, but I believe priv->cache has ownership of priv->mallard_ns, so the later is invalidated when the former is freed. We need to recreate it here. Reportedly fixes #122 for Shaun. (I was still seeing another crash, but it's probably a separate issue.)
* Remove deprecated method of doing private structs on gobjectsShaun McCance2020-03-091-24/+25
|
* Check variable before dereferencing itTomas Popela2019-01-211-1/+1
| | | | | yelp-3.28.1/libyelp/yelp-mallard-document.c:341: var_compare_op: Comparing "path" to null implies that "path" might be null. yelp-3.28.1/libyelp/yelp-mallard-document.c:346: var_deref_op: Dereferencing null pointer "path".
* Check whether the index variable is valid before dereferencing itTomas Popela2019-01-211-2/+1
| | | | | yelp-3.28.1/libyelp/yelp-mallard-document.c:1002: deref_ptr: Directly dereferencing pointer "index". yelp-3.28.1/libyelp/yelp-mallard-document.c:1073: check_after_deref: Null-checking "index" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
* Support for keywords in search results for Mallard and DocBookShaun McCance2018-12-031-3/+32
|
* Fix build with GCC 8Michael Catanzaro2018-05-181-3/+3
| | | | | | Yelp enables -Werror by default, so it's responsible for predicting and fixing future compiler warnings that only an oracle could know about. In this case, that turned out to be -Werror=cast-function-type.
* Remove debug line I accidentally committedShaun McCance2018-02-191-1/+0
|
* Fix namespace on internal Mallard cacheShaun McCance2017-10-021-10/+15
| | | | | Yelp has used the wrong namespace on the cache element since forever. yelp-xsl didn't care before. Now it does.
* document: add destroy notify to page callbackChristian Hergert2017-02-071-3/+6
| | | | | | | | | This ensures that we only free the async data struct when the document is guaranteed to be done calling our callback. Without this, we risk potentially accessing the async request data after we have freed it when a mallard document reloads. https://bugzilla.gnome.org/show_bug.cgi?id=778258
* libyelp: Fix some uninitialized variablesYosef Or Boczko2015-07-161-3/+3
| | | | This fix errors build with last gcc.
* yelp-document: Make document-uri property a YelpUriCarlos Garcia Campos2015-06-221-14/+10
| | | | | | | | All implementations of YelpDocument except YelpSimpleDocument keep a reference to the YelpUri, so move it to the parent class and add a getter to use the YelpUri from derived classes. This is also useful to get the YelpUri directly from the document, instead of getting the document uri string, create a YelpUri and resolve it.
* Fix variable shadowing warningsDavid King2015-02-091-11/+10
|
* Fix warnings about discarding constDavid King2015-02-091-1/+1
|
* Fix switch missing default case warningsDavid King2015-02-091-1/+4
|
* Fix pointer sign warningsDavid King2015-02-091-15/+15
|
* Fix unused variable warningsDavid King2015-02-091-3/+1
|
* Remove libyelp redundant declarationsDavid King2015-02-091-2/+0
|
* Remove redundant extra semicolonsDavid King2015-02-091-1/+1
|
* Fix implicit funcation declaration warningDavid King2015-02-091-0/+1
|
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* Updates for some deprecated thread APIsShaun McCance2013-08-181-17/+20
|
* yelp-mallard-document: Fix use of uninitialized variableCarlos Garcia Campos2012-11-201-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683100
* yelp-mallard-document: Pass all extensions into the cacheShaun McCance2012-02-201-5/+4
|
* libyelp: Auto-reload Mallard documentsShaun McCance2012-01-191-0/+83
|
* Fixed search crash on 64-bit, didn't #include headerShaun McCance2011-06-241-0/+1
| | | | | If you don't #include the header, the default return type is int, which truncates the pointer on 64-bit systems, which crashes.
* yelp-mallard-document: Don't start transform if runningShaun McCance2011-05-061-0/+5
|
* Don't crash when g-i-t-symbolic not installed, use symbolic properlyShaun McCance2011-04-101-6/+6
|
* Finishing up work on symbolic iconsShaun McCance2011-02-211-6/+10
|
* yelp-mallard-document: Don't index <comment> elementsShaun McCance2011-02-131-1/+2
|
* yelp-mallard-document.c: Add desc to the full text indexShaun McCance2011-02-111-2/+2
|
* Store and retrieve root title in storage for search resultsShaun McCance2011-02-111-0/+3
|
* yelp-mallard-document: Added indexing code for MallardShaun McCance2011-02-101-36/+257
|
* libyelp: All the hooks in place for search stuffShaun McCance2011-02-081-1/+6
|
* Lots of minor code tidyups.Rupert Swarbrick2011-01-101-1/+1
| | | | | The problems fixed here were found by running with CFLAGS='-Wall' and also using cppcheck.
* Fix some issues with previous/next linksShaun McCance2011-01-061-14/+46
|
* [libyelp/yelp-mallard-document] Support for Mallard Facets extensionShaun McCance2010-12-161-9/+31
|
* [yelp-mallard-document] Fix dropping of sections from the cacheShaun McCance2010-08-101-2/+5
| | | | | If a section has a bare ID that's equal to an existing page ID, it ran afoul of the duplicate-page-ID check, which of course should only check *page* IDs.
* [yelp-mallard-document] Don't double-add pages, also fixes #621398Shaun McCance2010-06-261-1/+7
|
* [yelp-mallard-document] Use entire search path when loading Mallard docsShaun McCance2010-06-071-43/+49
|
* [yelp-mallard-document] Cache revision tags in editor modeShaun McCance2010-04-011-0/+4
| | | | | Revision tags are necessary for linkdiv badges, so we put them into the internal cache structure in editor mode.
* [yelp-mallard-document] Show .page.stub files in editor modeShaun McCance2010-04-011-2/+13
|
* Adding icons for page stylesShaun McCance2010-03-311-0/+29
|
* [yelp-mallard-document] Do XInclude on Mallard pagesShaun McCance2010-03-261-0/+5
|
* [libyelp/yelp-mallard-document] Use the real id when looking up page datasShaun McCance2010-03-211-1/+1
|
* Set the window title based on the root page titleShaun McCance2010-03-211-0/+2
|
* [libyelp/yelp-mallard-document] Doing page titles and descs for MallardShaun McCance2010-03-121-4/+56
|
* [yelp-settings] Adding yelp_settings_get_all_params for XSLT parametersShaun McCance2009-11-131-23/+2
|
* [yelp-transform] Clean API a bit, put IO and errors in the threadShaun McCance2009-11-121-10/+3
|
* [libyelp] Various race conditions and premature frees fixed.Shaun McCance2009-10-271-0/+3
| | | | | | It's hard, but not impossible, for a human to trigger these under normal circumstances. I know there's at least one more hiding somewhere. Try double-clicking links.