source: trunk/third/yelp/ChangeLog @ 18675

Revision 18675, 88.5 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18674, which included commits to RCS files with non-trunk default branches.
Line 
12003-01-20  Mikael Hallendal  <micke@codefactory.se>
2
3        * Release 2.2.0
4
5        * configure.in: Bumped version to 2.2.0
6
7        * NEWS: Update for 2.2.0
8       
92003-01-15  Pablo Saratxaga  <pablo@mandrakesoft.com>
10
11        * configure.in: Added Vietnamese (vi), Arabic (ar),
12        Finnish (fi) and Macedonian (mk) to ALL_LINGUAS.
13
142003-01-13  Richard Hult  <rhult@codefactory.se>
15
16        * Release 2.1.5.
17
18        * NEWS: Update for 2.1.5.
19       
20        * configure.in: Bump version to 2.1.5.
21
222003-01-10  Fatih Demir <kabalak@gtranslator.org>
23
24        * configure.in: Added "ta" (Tamil) to the languages' list.
25
262002-01-09  Richard Hult  <rhult@codefactory.se>
27
28        * data/ui/yelp.glade: Hide unimplemented options in the find
29        dialog for now.
30       
312002-01-09  Padraig O'Briain  <padraig.obriain@sun.com>
32
33        * stylesheets/yelp-customization.xsl:
34        Add entry for body tag attributes so that the colour of the text is
35        obtained from the GTK theme. Addresses issue raised in bug #95190.
36
372002-01-07  Naba Kumar  <naba@gnome.org>
38
39        * configure.in: Added hi (hindi) in ALL_LINGUAS
40       
412003-01-06  Richard Hult  <rhult@codefactory.se>
42
43        * Release 2.1.4.
44
45        * NEWS: Updated for 2.1.4.
46
47        * configure.in: Bumped to 2.1.4.
48
492002-12-16  Richard Hult  <rhult@codefactory.se>
50
51        * Release 2.1.3
52       
53        * NEWS: Updated for 2.1.3
54       
55        * configure.in: Bumped to 2.1.3
56
57        * src/yelp-main.c: Fix warning.
58
592002-11-18  Fernando Herrera <fherrera@onirica.com>
60
61        * yelp.desktop.in: add X-GNOME-BUGZILLA stuff
62
632002-11-08  Mark McLoughlin  <mark@skynet.ie>
64
65        * src/yelp-main.c: (main): register yelp with
66        bonobo-activation server on a per-display basis
67        so that we get a new instace per display/screen.
68        Fixes #91983.
69
702002-11-03  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
71
72        * configure.in: Added Belarusian to ALL_LINGUAS
73
742002-11-01  Mikael Hallendal  <micke@codefactory.se>
75
76        * Release 2.1.2
77
78        * NEWS: Updated for 2.1.2
79
80        * configure.in:
81        - Bumped to 2.1.2
82        - Require gtkhtml2 2.1.2
83
842002-10-29  Richard Hult  <rhult@codefactory.se>
85
86        * src/yelp-html-gtkhtml2.c (yelp_html_find): Implement find
87        backward.
88
89        * src/yelp-window.c (window_find_response_cb)
90        (window_find_delete_event_cb, window_find_cb): Use the find
91        dialog.
92        (window_find_again_cb): Implement.
93
94        * src/yelp-html-gtkhtml2.c (yelp_html_find): Implement find
95        forward.
96
97        * data/ui/yelp.glade: Steal galeons find dialog.
98
99        * configure.in: Add libglade dependency.
100
1012002-10-27  Richard Hult  <rhult@codefactory.se>
102
103        * src/yelp-pregenerate.c (main): Don't create GNodes with g_new,
104        use g_node_new. Fixes a crash.
105        (parse_section): Initialize variables and break out of loop when
106        we have a match.
107
1082002-10-26  Mikael Hallendal  <micke@codefactory.se>
109
110        * src/yelp-base.c: removed unused struct type.
111
1122002-10-21  Mikael Hallendal  <micke@codefactory.se>
113
114        * Released 2.1.1
115
116        * NEWS: updated for 2.1.1
117
118        * configure.in:
119        - bumped version to 2.1.1
120        - depend on gtkhtml2 2.1.1
121
1222002-10-21  Richard Hult  <rhult@codefactory.se>
123
124        * src/yelp-view-content.c (content_show_uri): Ditto.
125
126        * src/yelp-view-index.c (index_show_uri): Put head tag around meta
127        and title tags.
128
129        * src/yelp-main.c (main): Remove unused variable.
130        Include string.h to avoid warnings.
131
132        * src/yelp-view-content.c (content_show_uri): Don't try to set
133        focus on view, use view->widget.
134
135        * src/yelp-view-toc.c (toc_get_html):
136        * src/yelp-view-index.c (index_get_html):
137        * src/yelp-view.c (yelp_view_get_html): Implement
138        YelpView::get_html.
139
140        * src/yelp-view.h: Add virtual function get_html that returns the
141        YelpHtml used by the view.
142
143        * src/yelp-html-gtkhtml2.c (yelp_html_find_next): Implement.
144
145        * src/yelp-html.h (yelp_html_find_next): Add virtual function
146        find_next.
147
148        * src/yelp-window.c (window_find_cb): The start of find
149        functionality, needs more work.
150        (window_init): Remove unused view_current variable.
151
1522002-10-19  Mikael Hallendal  <micke@codefactory.se>
153
154        * src/yelp-db2html.c (main): trying to fix #93814 by checking the
155          return value from g_path_get_dirname.
156
157        * src/Makefile.am (yelp_LDADD): link with POPT_LIBS.
158
159        * configure.in: Check for popt, fixes #96168
160
161        * src/yelp-uri.c (yelp_uri_no_path): added, support to easy check
162          if URI is of type 'index:' without any path.
163
164        * src/yelp-view-index.c (index_show_uri): Don't try loading if URI
165          is just 'index:'. Fixes #95877
166
1672002-10-19  Mikael Hallendal  <micke@codefactory.se>
168
169        * src/yelp-reader.c:
170        (reader_start): no need to check for YELP_URI_TYPE_GHELP_OTHER
171          since it will never get here with that URI type.
172        (yelp_reader_start): Check for file, unknown and ghelp_other and
173          display it with gnome_uri_show, fixes #95181, thanks Paolo for
174          investigating this.
175
1762002-10-08  Paolo Maggi <maggi@athena.polito.it>
177
178        * src/yelp-window.[ch]: YelpWindow is now inherited from GnomeApp.
179          The window title is now "title - Help Browser", instead of 
180          "Help Browser:title", in this way you can see in the tasklist
181          applet the name of the loaded page. Removed the gconf stuff
182          since is no more needed. Note that Yelp still does not monitor
183          menus_have_icons gconf key
184
185        * src/yelp-view-content.c (content_show_uri): set the loading page
186          title to "Loading...", instead of ".."
187
188        * src/yelp-view-index.c:
189        (index_show_uri): ditto
190        (set_relation): removed since no more needed
191        (yelp_view_index_new): add an accellerator to "Search for:"
192
1932002-10-04  Marius Andreiana <mandreiana@yahoo.com>
194
195        * stylesheets/yelp-customization.xsl: made translatable the
196          following strings: Next,Previous,Contents,About This Document
197        * stylesheets/l10n.xml: added strings Next,Previous,Contents
198       
1992002-10-04  Mikael Hallendal  <micke@codefactory.se>
200
201        * NEWS: updated for 2.1.0
202
203        * configure.in: bumped version to 2.1.0, did a large jump here to
204          reach GNOME version numbers.
205
206        * autogen.sh: don't use gnome-common
207
2082002-09-23  Mikael Hallendal  <micke@codefactory.se>
209
210        * src/yelp-db2html.c: Don't include libgnome and gnome-vfs stuff.
211
212        * configure.in: Added DB2HTML_* variables.
213
214        * src/Makefile.am (test_uri_LDADD): use special LIBS for
215          yelp-db2html.
216
2172002-09-23  Sander Vesik <sander.vesik@sun.com>
218
219        * stylesheets/yelp-customization.xsl:
220        - fix some cases of 'next' not leading anywhere on the TOC page
221        - fix user guide documents occasionaly having the 'Previous' link
222          point to nowhere in the chunk "following" TOC
223
2242002-09-20  Mikael Hallendal  <micke@codefactory.se>
225
226        * src/yelp-window.c: changed to reflect changes in the views.
227
228        * src/yelp-view.[ch]:
229        - added
230        - new super class of the views.
231       
232        * src/yelp-view-content.[ch]:
233        * src/yelp-view-index.[ch]:
234        * src/yelp-view-toc.[ch]:
235        - removed signals
236        - cleaning up and making it a YelpView subclass.
237
238        * src/yelp-view-content.c:
239        - removed signals
240        - cleaning up and making it a YelpView subclass.
241
242        * src/Makefile.am (yelp_SOURCES): added yelp-view.[ch]
243
2442002-09-03  Padraig O'Briain  <padraig.obriain@sun.com>
245 
246        * src/yelp-view-content.c (content_reader_finished_cb):
247        - Remove redundant call to gtk_tree_path_copy().
248        - Add casts to fix compiler warnings on Solaris.
249        - Do not focus HtmlView widget if we have a row in the content
250          tree. (Fixes #91708)
251
2522002-09-17  Narayana Pattipati  <narayana.pattipati@wipro.com>
253
254        * src/yelp-pregenerate.c (main): added an error message.
255
2562002-09-16  Sander Vesik <sander.vesik@sun.com>
257
258        * stylesheets/yelp-customization.xsl:
259        - initial support for <appendix>
260
2612002-09-16  Sander Vesik <sander.vesik@sun.com>
262
263        * stylesheets/yelp-customization.xsl:
264        - unindent copyright
265        - leave space inbetween the 'Copyright' header and copyright
266          holders
267        - emulate 'fine print' on licence text
268        - make <TT> use monospaced font (should go into gtkhtml2)
269        - give <variablelist>-s back internal spacing that was
270          originaly lost due to both <variablelist> and table of
271          contents resulting in the same html tags
272        - change nested ordered lists to use "lower-alpha" instead of
273          "lower-roman"
274        - yet more fighting with table borders
275        - make tables be consistently top aligned
276        - leave space before figures and figure titles inside lists
277
278        * stylesheets/yelp-custom.xsl:
279        - wrap legalnotice in <div class="legalnotice">...</div>
280
2812002-09-04  Mikael Hallendal  <micke@codefactory.se>
282
283        * Release 1.0.6
284
285        * NEWS: udpated for 1.0.6
286
287        * configure.in: 1.0.6
288
2892002-09-01  Marius Andreiana <mandreiana@yahoo.com>
290
291        * configure.in: added 'ro' to ALL_LINGUAS
292
2932002-08-29  Mikael Hallendal  <micke@codefactory.se>
294
295        * src/yelp-window.c: removed trailing comma in the enum. Fixes
296          #91789
297
2982002-08-28  Mikael Hallendal  <micke@codefactory.se>
299
300        * Release 1.0.5
301
302        * configure.in: 1.0.5
303
304        * NEWS: Updated for 1.0.5
305
3062002-08-27  Kristian Rietveld  <kris@gtk.org>
307
308        * src/yelp-view-content.c (content_reader_finished_cb): don't just
309          select that path, but set the cursor at that path (fixes
310          #91609).
311
3122002-08-23  Mikael Hallendal  <micke@codefactory.se>
313
314        * Release 1.0.4
315
316        * configure.in: 1.0.4, updated gtkhtml2 reqs to 2.0.2
317
318        * NEWS: Updated for 1.0.4
319       
320        * src/yelp-view-content.c:
321        (yelp_view_content_show_uri): Applied patch from Padraig to fix
322        focus handling. Fixes #90010.
323
3242002-08-22  Kristian Rietveld  <kris@gtk.org>
325 
326        * src/yelp-man.c:
327        (yelp_man_free_initial_tree): also free the node itself
328        (yelp_man_cleaup_initial_tree): free the initial tree structure of
329          the nodes we're freeing here.
330
3312002-08-21  Mikael Hallendal  <micke@codefactory.se>
332
333        * src/yelp-html-gtkhtml2.c (html_url_requested_cb):
334        - Don't use the full base-uri for resolving relative
335        links. Instead use the path part of the base-uri. Fixes #91199
336
3372002-08-20  Ross Burton  <ross@burtonini.com>
338 
339        * yelp.desktop.in:
340        - Fix the desktop file so that it validates correctly.
341       
3422002-08-16  Padraig O'Briain  <padraig.obriain@sun.com>
343
344        * src/yelp-html-gtkhtml1.c
345        * src/yelp-html-gtkhtml2.c
346        * src/yelp-view-content.c
347        * src/yelp-view-index.c
348        * stylesheets/docbook/html/docdbook.xsl
349        Remove reference to bgcolor being set to white (bug #89838)
350
3512002-08-13  Mikael Hallendal  <micke@codefactory.se>
352
353        * Release 1.0.3
354
355        * configure.in: Bumped to 1.0.3
356
357        * NEWS: Updated for 1.0.3
358
3592002-08-13  Mikael Hallendal  <micke@codefactory.se>
360 
361        * src/yelp-man.c:
362        (yelp_man_remove_duplicates_from_manpath):
363        - return a GSList instead
364        - Hopefully fixed #90385
365        (yelp_man_init): using a GSList for manpathes instead of gchar **.
366       
3672002-08-07  Mikael Hallendal  <micke@codefactory.se>
368
369        * src/yelp-view-toc.c:
370        - Removed the GNOME icon in the bottom
371        - Removed the text in the bottom.
372        - Removed the blue sidebar.
373
3742002-08-07  Narayana Pattipati <narayana.pattipati@wipro.com>
375
376        * src/yelp-reader.c (yelp_reader_start): Made changes to make yelp
377          read the cached HTML files. Fixes #85258
378        * src/yelp-pregenerate.c: new file. Creates yelp-pregenerate utility
379          which pre-generates HTML files from XML files.
380        * src/yelp-pregenerate.h: new file
381        * src/yelp-reader.h: Added prototype for look_for_html_help_file
382
3832002-08-05  Sander Vesik <sander.vesik@sun.com>
384        * stylesheets/yelp-customization.xsl:
385        - apply bold formating to guibuttons
386        - apply mono formating to commands
387        - fix left-margin instead of margin-left
388        - relief from table formating quirks
389        - leave space after inline media objects
390
3912002-08-05  Mikael Hallendal  <micke@codefactory.se>
392
393        * Release 1.0.2
394
395        * NEWS: updated for 1.0.2
396
397        * configure.in:
398        - Version updated to 1.0.2
399        - Requirement on libgnome to 2.0.2
400        - Requirement on gtkhtml2 to 1.99.10
401
4022002-08-05  Sander Vesik <sander.vesik@sun.com>
403        * src/yelp-db2html.c:
404        - include quotes around stylesheet path so its correctly passed in
405
406        * stylesheets/yelp-custom.xsl:
407        - move parameterisation of admonition graphics to
408          yelp-customization.xsl
409
410        * stylesheets/yelp-customization.xsl:
411        - make <b> create a consistent result
412        - make bulleted and numbered list items align consistently
413
4142002-08-04  Mikael Hallendal  <micke@codefactory.se>
415
416        * src/yelp-scrollkeeper.c (scrollkeeper_parse_index):
417        - Will probably solve #89431.
418
4192002-08-04  Padraig O'Briain  <padraig.obriain@sun.com>
420       
421        * src/yelp-reader.c (yelp_reader_start): Fixes #89038
422       
4232002-08-04  Mikael Hallendal  <micke@codefactory.se>
424
425
426        * src/yelp-info.c (yelp_info_read_info_dir):
427        - support info files that is named name.gz. Fixes #85324.
428        - Remove duplicates.
429
430        * src/yelp-window.c:
431        (window_init): don't automatically go to uri "toc:" in history.
432        (yelp_window_new): don't open "toc:", this is now done from
433          yelp_base_new_window
434        (yelp_window_open_uri): goto the uri in history, Fixes #86538.
435
436        * src/yelp-base.c:
437        (impl_Yelp_newWindow): don't show window and open_uri here. Do it in
438          yelp_base_new_window instead.
439        (yelp_base_new_window): added a uri argument. If it's passed it's
440          opened, otherwise "toc:" is opened.
441
4422002-08-04  Yogeesh MB <yogeeshappa.mathighatta@wipro.com>
443
444        * src/yelp-man.c: added function which removes multiple
445        man pathes, fixes bug #75728
446 
4472002-08-02  Sander Vesik <sander.vesik@sun.com>
448        * stylesheets/yelp-customization.xsl:
449        - make list items have some space around them
450        - make sublists have more consistent spacing
451        - change list styles inside sublists
452
4532002-08-01  Szabolcs Ban  <shooby@gnome.hu>
454
455        * configure.in: Added "hu" to ALL_LINGUAS. Finally :)
456
4572002-07-15  Mikael Hallendal  <micke@codefactory.se>
458
459        * src/yelp-view-toc.c (toc_start): Print with %% instead of % to
460          printf, I'm stupid :) Fixes 87972, thanks
461          mathew@fugue.jpl.nasa.gov for finding this.
462
4632002-07-11  Brian Cameron  <Brian.Cameron@sun.com>
464
465        * yelp/configure.in
466        * yelp/src/Makefile.am
467        * yelp/src/yelp-reader.c
468        Now support libgnome installing gnome2-man2html and gnome2-info2html
469        to libexec.
470
4712002-07-09  Mark McLoughlin  <mark@skynet.ie>
472
473        * yelp.desktop.in: use X-GNOME-DocPath instead of DocPath.
474
4752002-07-08  Mikael Hallendal  <micke@codefactory.se>
476
477        * src/yelp-info.c:
478        (yelp_info_read_info_dir): Removed possibility of buffer overflow
479          by using g_strdup_printf instead of strcpy. Fixes #87127. Thanks
480          to Laavanya K R for finding and proposing a solution.
481
4822002-07-07  Glynn Foster  <glynn.foster@sun.com>
483
484        * yelp.desktop.in (X-GNOME-DocPath):
485
4862002-07-06  Sander Vesik <sander.vesik@sun.com>
487        * stylesheets/yelp-customization.xsl
488        - make <part> and <chapter> have plain unstyled toc-s
489          until yelp.render.toc is sufficently advanced
490        - correctly pass in a string parameter when matching /book
491        - call correct titlepage template for <book>
492
4932002-07-05  Sander Vesik <sander.vesik@sun.com>
494        * stylesheets/yelp-customization.xsl
495        - make <book> support somewhat work
496
4972002-07-05  Sander Vesik <sander.vesik@sun.com>
498        * stylesheets/yelp-customization.xsl
499        - rationalize heading styles
500        - don't center title
501        - tweak list indenting
502
5032002-06-28  Mikael Hallendal  <micke@codefactory.se>
504
505        * src/yelp-info.c (yelp_info_init): sort info pages.
506
5072002-06-27  Mikael Hallendal  <micke@codefactory.se>
508
509        * src/yelp-window.c: added patch from Kang Jeong-Hee to support
510          toolbar style "both_horiz". Fixes #85529
511
512        * src/yelp-view-toc.c (toc_page_end):
513        - don't scale the gnome-button.
514        - mark some strings for translation. Fixes #84020
515
5162002-06-26  Mikael Hallendal  <micke@codefactory.se>
517
518        * src/yelp-window.c:
519        - Fixes #84713
520        (yelp_window_new): set icon on window.
521        (window_load_icon): added, loads the gnome-help.png icon.
522        (window_about_cb): set the icon in the about box.
523
524        * README: removed old information
525
526        * src/yelp-main.c: follow yelp style.
527
5282002-06-19  Mikael Hallendal  <micke@codefactory.se>
529
530        * Release 1.0.1
531
532        * NEWS: updated for 1.0.1
533
534        * configure.in: updated to 1.0.1
535
5362002-06-10  Mikael Hallendal  <micke@codefactory.se>
537
538        * Release 1.0
539
540        * configure.in: updated to 1.0
541
5422002-06-03  Mikael Hallendal  <micke@codefactory.se>
543
544        * Release 0.10
545
546        * NEWS: updated for 0.10
547
548        * configure.in: 0.10
549
550        * configure.in: bumped gtkhtml2 deps.
551
552        * src/yelp-window.c (window_handle_uri):
553        - let the index view handle it's own uri's
554
555        * src/yelp-view-content.c (content_reader_finished_cb):
556        - fixed a possible crash
557
558        * src/yelp-view-index.c:
559        - updated to the YelpReader stuff.
560        - reenable showing docs in the html view here instead of content
561          view.
562
563        * src/yelp-uri.c:
564        (yelp_uri_to_index): added, special treatment of index URI's.
565        (yelp_uri_from_index): same.
566        (yelp_uri_exists): handle index uri's correctly.
567
568        * src/yelp-db2html.c (main): load the DTD so that enteties works.
569
570        * src/yelp-view-content.c:
571        (content_find_path_from_uri): added, used to find the path to a
572          certain URI.
573        (content_tree_model_foreach): added, used by above function.
574        (content_reader_finished_cb): expand tree and select the correct
575          node. Fixes #80518
576
577        * src/yelp-reader.h: finish signal includes the URI which finished
578          loading.
579
580        * src/yelp-db2html.c: send path to the docbook stylesheets as a
581          parameter. Still doesn't seem to fix the path problem with the
582          images.
583
5842002-06-02  Mikael Hallendal  <micke@codefactory.se>
585
586        * Fixes #69047
587
588        * src/yelp-window.c (yelp_window_new): connect to title_changed
589          signal on content and TOC views.
590        (window_title_changed_cb): set the new title.
591
592        * src/yelp-view-toc.c: added title_changed signal. I soooo want
593          the views to inherit from the same base :) Will fix after 2.0.0
594        (toc_html_title_changed_cb): emit title changed signal.
595        (toc_page_start): take extra argument so that you can set title
596          and page header.
597
598        * src/yelp-view-content.c: added signal title_changed.
599        (content_html_title_changed_cb): emit title changed signal.
600
601        * src/yelp-html-gtkhtml2.c:
602        (html_title_changed_cb): emit title changed signal.
603
604        * src/yelp-html.h: added title_changed signal.
605
606        * src/yelp-html-gtkhtml1.c:
607        - started on emit title changed code. WIP.
608
609        * src/yelp-uri.c:
610        (uri_get_doc_type): set info:dir to be toc:info
611        (uri_get_doc_path): same
612
613        * src/yelp-db2html.c (main): use the shipped catalog file.
614
6152002-06-01  Mikael Hallendal  <micke@codefactory.se>
616
617        * src/yelp-uri.c (uri_get_path_from_relative): if URI can't get
618          resolved, set path to in-string.
619
620        * src/yelp-window.c (window_handle_uri): show error dialog if URI
621          doesn't exist.
622        (yelp_window_open_uri): don't return if URI doesn't exist.
623
624        * src/yelp-uri.c:
625        - Added a type YELP_URI_TYPE_GHELP_OTHER so that I can recreate a
626          URI for error messaging.
627        (yelp_uri_exists): do a check rather then just a look at the type.
628        (uri_get_doc_type): don't check if URI exists here.
629        (yelp_uri_to_string): handle GHELP_OTHER.
630
631        * src/yelp-reader.c (reader_start): return if URI doesn't exists,
632          shouldn't happen.
633
634        * src/yelp-uri.h: removed YELP_URI_TYPE_NON_EXIST, use
635          yelp_uri_exists.
636
637        * stylesheets/docbook/Makefile.am: Install the images
638
639        * stylesheets/docbook/images/*: Added some of the images from XSL
640          stylesheets.
641
642        * Fixes #83156
643
644        * src/yelp-index-model.c:
645        (yim_finalize): free the index list.
646        (yelp_index_model_set_words): copy the list and don't sort.
647
648        * src/yelp-base.c (yelp_base_new): sort the index list here.
649
650        * src/yelp-view-toc.c (toc_page_start): removed all of the CSS
651          used to get it to not render huge fonts, now handled by
652          Gtkhtml2.
653
654        * stylesheets/yelp-customization.xsl:
655        - don't hard code font size to 10pt. Use the font set by Gtkhtml2
656          (which is taken from the theme)
657
658        * src/yelp-db2html.c (main): don't load the DTD from the net.
659
660        * src/yelp-reader.c (reader_file_start): Fixed #83668
661
6622002-06-01  James Henstridge  <james@daa.com.au>
663
664        * src/yelp-db2html.c (main): perform XInclude processing on
665          Docbook/XML documents we load.
666
6672002-06-01  Jesus Bravo Alvarez  <jba@pobox.com>
668
669        * configure.in: Added "gl" (Galician) to ALL_LINGUAS
670
6712002-05-29  Radek Doulik  <rodo@ximian.com>
672
673        * src/yelp-html-gtkhtml1.c:
674        - removed #include "yelp-db2html.h"
675        (html_url_requested_cb): close gtkhtml stream
676
6772002-05-31  Mikael Hallendal  <micke@codefactory.se>
678
679        * configure.in (yelp): define yelplocaledir, Fixes #83639
680
681        * src/Makefile.am (INCLUDES): use yelplocaledir
682
6832002-05-31  Ross Burton  <ross@burtonini.com>
684
685        * src/yelp-window.c (window_about_cb): Tell the about dialog who
686          its parent is, so that it appears at the right location.
687
6882002-05-31  Yogeesh MB <yogeeshappa.mathighatta@wipro.com>
689
690        * src/yelp-main.c: fixes save session bug, #82605
691
6922002-05-31  Mikael Hallendal  <micke@codefactory.se>
693
694        * src/yelp-reader.c (reader_get_chunk):
695        - return the full document if finding the chunk comments
696          fail. This is better than just returning NULL. Also silence the
697          warnings for now.
698
699        * Release 0.9.1
700
701        * configure.in: bumped version to 0.9.1
702
703        * NEWS: updated for 0.9.1
704
705        * stylesheets/docbook/*:
706        - Added the 1.48 stylesheets until the stylesheet issues have been
707          sorted out. Norm has said that in the 1.50+ the changes between
708          the different versions will not cause breakage and we can then
709          use current instead of a certain version of these. Lots of
710          distributions don't ship 1.48 and this will cause lots of
711          troubles for the users.
712
713        * stylesheets/yelp-customization.xsl: use a relative link to
714          reference to the stylesheets.
715
716        * stylesheets/Makefile.am (SUBDIRS): added docbook
717
718        * configure.in: output stylesheet/docbook/Makefile
719
7202002-05-27  Mikael Hallendal  <micke@codefactory.se>
721
722        * Release 0.9
723
724        * src/Makefile.am: build fix for marshallers.
725
726        * NEWS: updated for 0.9
727
728        * configure.in:
729        - Bumped version to 0.9
730        - Updated libgnome deps to 1.117.2
731        - Updated gtkhtml2 deps to 1.99.8
732
733        * src/yelp-reader.c:
734        - removed old code.
735        - fixed a couple of warnings
736
737        * stylesheets/yelp-customization.xsl: don't include section names
738          on toc and title-page.
739
740        * src/yelp-view-content.c (yelp_view_content_show_uri):
741        - don't set "Loading..." if the doc is cached. It will only result
742          in flicker.
743
744        * src/yelp-reader.c:
745        (reader_man_info_start):
746        - make sure that section is not an empty string.
747        (yelp_reader_start):
748        - make sure that section is not an empty string.
749        - return a boolean to say if the document was cached or not.
750       
751        * src/yelp-reader.c:
752        (reader_get_chunk): added, used to get a chunk from a multi
753          chunked document.
754        (reader_man_info_start):
755        - now handles docbook too. will be renamed later.
756        - add docbook results in cache.
757        - get chunk from document if docbook.
758        (yelp_reader_start):
759        - check in cache if document is there, if so, just get the chunk
760          and signal.
761        - if not in cache, use g_timeout_add instead of idle.
762
763        * src/yelp-db2html.c:
764        - this is now it's own binary
765        - use multichunk
766        - don't use YelpURI so that we don't need to init gnome vfs
767
768        * src/yelp-db2html.h: removed
769       
770        * src/yelp-cache.c: first dummy implementation of cache.
771
772        * src/yelp-base.c (yelp_base_init): init the cache.
773
774        * src/Makefile.am:
775        (yelp_db2html_LDADD): added binary for db2html.
776        (yelp_SOURCES): added yelp-cache.[ch] and removed
777          yelp-db2html.[ch]
778
7792002-05-26  Mikael Hallendal  <micke@codefactory.se>
780
781        * stylesheets/yelp-customization.xsl:
782        - Don't include section name in end comment.
783        - put [] around the section name in start tag.
784       
7852002-05-26  Alessio Frusciante  <algol@firenze.linux.it>
786
787        * configure.in: added "it" to ALL_LINGUAS
788
7892002-05-23  Jacob Berkman  <jacob@ximian.com>
790
791        * src/Makefile.am (yelp-marshal-main.c): add explicit dependency
792        on yelp-marshal.c to make automake work
793
7942002-05-23  Mikael Hallendal  <micke@codefactory.se>
795
796        * src/yelp-view-content.c:
797        (yelp_view_content_new): shrink TOC-tree width
798
799        * src/yelp-html-gtkhtml1.c (html_link_clicked_cb):
800        - don't shortcut info
801
8022002-05-22  Sander Vesik <sander.vesik@sun.com>
803
804        * stylesheets/yelp/customization.xsl:
805        - fix whitespace around 'About This Document'
806        - whitespace reduction for headers
807        - try to fix table of contents links not showing up for Hallski
808        - the 'previous' link on a first sect2 of a sect1
809        - work on indirect previous links
810        - display the document title as a H1 on the TOC page instead of
811          having it in the navbar
812
8132002-05-23  Mikael Hallendal  <micke@codefactory.se>
814
815        * src/Makefile.am (yelp_SOURCES): use yelp-marshal-main.c instead
816          of yelp-marshal.c and yelp-marshal.h
817
818        * src/yelp-marshal-main.c: added to get rid of warnings in
819          yelp-marshal.c
820
8212002-05-22  Mikael Hallendal  <micke@codefactory.se>
822
823        * src/yelp-db2html.c (yelp_db2html_convert):
824        - use the new stylesheet parameter gdb_stylesheet_path.
825
826        * src/yelp-reader.c (reader_man_info_start): support chunked info.
827
828        * src/yelp-html-gtkhtml2.c
829        (html_link_clicked_cb): don't shortcut if info. it's now chunked.
830
831        * src/yelp-reader.c: use yelp-db2html again.
832
833        * src/yelp-db2html.c: use #define for stylesheet location instead
834          of creating a string with it.
835
836        * src/Makefile.am (yelp_SOURCES): don't include yelp-db2html.
837
838        * src/yelp-reader.c (reader_db_start):
839        - try to do the docbook-stuff here instead.
840
841        * src/yelp-view-toc.c (toc_page_end): updated footer some.
842
8432002-05-22  Richard Hult  <rhult@codefactory.se>
844
845        * src/yelp-view-toc.c:
846        (toc_man_emit): free return from yelp_uri_to_string.
847
848        * src/yelp-util.c (yelp_util_compose_path_url): free path
849
850        * src/yelp-man.c (yelp_man_init): free manpathes
851
8522002-05-22  Mikael Hallendal  <micke@codefactory.se>
853
854        * src/yelp-db2html.c:
855        - cleaning up
856        - made to use YelpURI instead of copying parts from it
857        - plugged leaks.
858
859        * src/test-reader.c (main): create reader without an argument.
860        * src/yelp-view-content.c (content_init): same
861
862        * src/yelp-reader.c: always be async, don't be optional.
863
864        * src/yelp-view-toc.c (toc_page_end): added a space, thanks rhult.
865
866        * src/yelp-window.c (window_about_cb):
867        - fixed copyright notice in about dialog. Thanks menthos.
868
869        * src/test-reader.c:
870        (main): call yelp_reader_new with TRUE for async.
871        (data_cb): swapped buffer and len arguments.
872
8732002-05-21  Mikael Hallendal  <micke@codefactory.se>
874
875        * src/yelp-reader.c:
876        (reader_db_write): don't return -1
877        (reader_db_close): same.
878
879        * Release 0.8
880
881        * NEWS: updated for 0.8
882
883        * configure.in: bumped version to 0.8
884
885        * src/yelp-reader.c: fixed compile warning.
886
887        * src/yelp-uri.c: fixed so that external links are working too.
888
889        * src/yelp-view-toc.c: implemented jimmac's mockups.
890
891        * src/yelp-uri.c: added support for file:
892
893        * src/Makefile.am (INCLUDES): added IMAGEDIR
894
895        * data/images/*: new files
896
897        * data/Makefile.am: new file
898
899        * configure.in:
900        - added data/Makefile, data/images/Makefile to AC_OUTPUT.
901
902        * Makefile.am (SUBDIRS): added data
903
9042002-05-20  Mikael Hallendal  <micke@codefactory.se>
905
906        * src/yelp-view-content.c:
907        - use YelpURI instead of docpath for current_uri.
908        (yelp_view_content_show_uri):
909        - Fixed a problem that if you viewed a man page and then switched
910          to a docbook with TOC you didn't get the TOC.
911        - Change cursor here.
912        - Write out "Loading..." to the html-view instead of showing old
913          data while reading.
914        (content_reader_data_cb): clear the "Loading..."-message first
915          time this is called.
916        (content_reader_finished_cb):
917        - Fixes #82363
918        - Give focus to html widget.
919
920        * src/yelp-man.c (yelp_man_populate_tree_for_subdir):
921        - Set the link to be page.secnum instead of page.section.
922          For example pages with foo.3pm should have the link foo.3, this
923          solves the problem where you get the error that page is not
924          found. Might fix #82346.
925
9262002-05-20  Sander Vesik <sander.vesik@sun.com>
927
928        * stylesheets/yelp-customization.xsl:
929        - render formal tables just like informal tables
930        - always leave some space between the bottom navbar and the text
931        - make notes and other admonitions to be unindented
932        - add whitespace for tables appearing within lists
933        - improve looks of complex tables
934
9352002-05-20  Mikael Hallendal  <micke@codefactory.se>
936
937        * src/yelp-reader.c: be ASYNC! :) and handle cancels. Starting to
938          be nice now.
939
940        * src/yelp-marshal.list: VOID:INT,STRING -> VOID:STRING,INT
941
942        * src/yelp-reader.c (yelp_reader_start): renamed from reader_read.
943
9442002-05-20  Sander Vesik <sander.vesik@sun.com
945
946        * stylesheets/yelp-custom.xsl, stylesheets/yelp-customization.xsl:
947          introduce a new parameter and use it so images distributed
948          with the stylesheet get picked up correctly
949
9502002-05-18  Mikael Hallendal  <micke@codefactory.se>
951
952        * src/yelp-info.c (yelp_info_init):
953        - Fixes #80981 (hopefully)
954        - Thanks to Stéphane Démurget for notifying where the error was.
955
956        * src/yelp-view-toc.c (toc_info): fixed mem leak.
957
958        * configure.in (YELP_IDL_INCLUDES): readded bzip2 check, doh!
959
960        * src/yelp-view-toc.c:
961        (toc_start): fixed mem leak
962        (toc_scrollkeeper): fixed mem leak
963
964        * src/yelp-view-toc.h: don't include gtkhtml2 headers.
965
966        * src/yelp-view-toc.c:
967        - include libxml/parser.h now that we don't include gtkhtml2
968          headers here any more.
969
970        * src/yelp-html-gtkhtml1:
971        - Added
972        - Makes yelp use GtkHTML1 for HTML rendering instead of GtkHTML2.
973       
974        * src/yelp-html-gtkhtml2: Renamed from yelp-html.c
975
976        * src/yelp-html.c: Moved to yelp-html-gtkhtml2.c
977
978        * src/Makefile.am (html_widget_impl): check for the correct
979          html-widget implementation.
980
981        * configure.in:
982        - added --with-html-widget switch which controls if GtkHTML1 or
983          GtkHTML2 should be used. Default is GtkHTML2
984        - Check for gtkhtml1 libraries and headers if that library should
985          be used.
986        - Removed bzip2-check, left over from when I tried to merge
987          man2html into yelp.
988
9892002-05-18  Richard Hult  <rhult@codefactory.se>
990
991        * src/yelp-window.c: Use stock item for about menu item.
992
9932002-05-18  Mikael Hallendal  <micke@codefactory.se>
994
995        * src/yelp-window.c:
996        - don't handle YelpViewTOC as a html view any more.
997        - use yelp_view_toc_get_widget when you need the widget.
998
999        * src/yelp-view-toc.c:
1000        - don't inherit HtmlView, instead be a GObject (make all the views
1001          a common base class).
1002        - Removed html view stuff and use YelpHtml instead.
1003        (toc_link_clicked_cb): removed
1004        (toc_open): removed, use yelp_html_clear
1005        (toc_close): removed, use yelp_html_close
1006        (toc_write): removed, use yelp_html_write
1007        (toc_printf): removed, use yelp_html_printf
1008        (yelp_view_toc_open_uri): don't try to set adjustment, not a html
1009          view any more
1010        (toc_uri_selected_cb): added, signal from YelpHtml, just proxy.
1011
1012        * src/yelp-html.c
1013        (yelp_html_new):
1014        - Just set the view to be white
1015        - Use the yelp_html_* functions instead of html_* directly.
1016        (yelp_html_write):
1017        - Swapped len and data arguments.
1018        - If len = -1, assume NULL terminated string and use strlen.
1019        (yelp_html_printf): added from yelp-view-toc.
1020
1021        * src/yelp-view-toc.c: conform with style.
1022        * src/yelp-window.c: same.
1023        * src/yelp-history.c: same.
1024        * src/yelp-scrollkeeper.c: same.
1025
1026        * src/yelp-view-index.c (yelp_view_index_show_uri):
1027        - commented out call to yelp_html_open_uri since it's been
1028          removed.
1029
1030        * src/yelp-view-content.c:
1031        - changed name on internal functions to conform with style.
1032        - moved functions from yelp-html.c
1033        - use the YelpReader to read the data instead of letting YelpHtml
1034          handle it.
1035        (yelp_view_content_stop): removed.
1036
1037        * src/yelp-html.c:
1038        (html_reader_start_cb): moved to yelp-view-content.c
1039        (html_reader_data_cb): same
1040        (html_reader_finished_cb): same
1041        (html_reader_error_cb): same
1042        (yelp_html_clear): added/impl.
1043        (yelp_html_write): added/impl.
1044        (yelp_html_close): added/impl.
1045        (yelp_html_cancel_loading): removed
1046        (yelp_html_open_uri): removed
1047        (yelp_html_set_base_uri): added/impl.
1048
1049        * src/yelp-reader.c:
1050        (reader_man_info_start): emit "start"-signal.
1051        (reader_io_watch_cb): do the right thing (hopefully) :)
1052
1053        * src/yelp-html.c:
1054        (html_do_write): removed
1055        (html_do_close): removed
1056        (html_do_docbook): removed
1057        (html_io_watch_cb): removed
1058        (html_reader_start_cb): added/implemented, temporary
1059        (html_reader_data_cb): added/implemented, temporary
1060        (html_reader_finished_cb): added/implemented, temporary
1061        (html_reader_error_cb): added/implemented, temporary
1062        (html_do_maninfo): removed
1063        (html_do_html): removed
1064        (html_init): connect to reader signals.
1065        (yelp_html_open_uri): removed lots of code and use YelpReader
1066          instead. This should be removed entirely later on.
1067
1068        * src/yelp-html.c:
1069        - renamed static functions to correspond to style.
1070
1071        * src/yelp-reader.h:
1072        - removed YelpReaderStatus.
1073
1074        * src/yelp-reader.c:
1075        - Now handles docbook, man, info, plain files, and external URI's.
1076        (reader_class_init):
1077        - added signals "start", "data", "finished" and "error".
1078        (reader_db_start): added/impl.
1079        (reader_db_write): added/impl.
1080        (reader_db_close): added/impl.
1081        (reader_man_info_start): added/impl.
1082        (reader_io_watch_cb): added/impl.
1083        (reader_file_start): added/impl.
1084        (yelp_reader_read): take reader as argument and implemented.
1085
1086        * src/yelp-marshal.list: added marshal needed by YelpReader.
1087
1088        * src/yelp-html.c (yelp_html_do_docbook):
1089        - take URI instead of text doc path and section.
1090
1091        * src/yelp-db2html.c (yelp_db2html_convert):
1092        - take a URI instead of text doc path and section.
1093        - don't close OutputBuffer here.
1094
1095        * src/test-reader.c:
1096        (start_cb): added
1097        (data_cb): added
1098        (finished_cb): added
1099        (main): start using the yelp-reader for testing.
1100
1101        * src/Makefile.am (test_reader_SOURCES):
1102        - added files needed for this test program.
1103
11042002-05-08  Mikael Hallendal  <micke@codefactory.se>
1105
1106        * src/test-reader.c: added, test file for the YelpReader.
1107
1108        * src/Makefile.am (yelp_SOURCES):
1109        (test_reader_SOURCES): added test-reader
1110        - added yelp-reader.[ch]
1111
1112        * src/yelp-uri.[ch]:
1113        - removed the YelpReader-stuff from here.
1114
1115        * src/yelp-reader.[ch]:
1116        - starting on this class that will take care of reading any given
1117          YelpURI *uri and signalling when there is something to read.
1118
11192002-05-07  Christophe Merlet  <christophe@merlet.net>
1120
1121        * src/Makefile.am: Really add ??!! $(DESTDIR) variable.
1122
11232002-05-07  Mikael Hallendal  <micke@codefactory.se>
1124
1125        * src/yelp-section.c:
1126        (yelp_section_new): check if name == NULL, hopefully fixes #80981.
1127
1128        * src/yelp-scrollkeeper.c:
1129        (ys_parse_index_item): reverted my own stupidity.
1130
11312002-05-06  Sander Vesik  <sander.vesik@sun.com>
1132
1133        * stylesheet/yelp-customization.xsl:
1134        - initial support for <part>
1135        - fix informaltable display
1136        - fix revhistory display
1137        - fix non-centering of 'Contents' in the footer navbar
1138        - fix display of copyright holders on title page
1139        - improvements to the Table of Contents page
1140
11412002-05-06  Mikael Hallendal  <micke@codefactory.se>
1142
1143        * NEWS: fixup
1144
1145        * configure.in (GNOMELOCALEDIR): updated libgtkhtml2 deps.
1146
1147        * Release 0.7
1148       
1149        * NEWS: updated for 0.7
1150
1151        * configure.in: bumped version to 0.7
1152
1153        * src/yelp-scrollkeeper.c:
1154        - Fixes #80800
1155        (ys_parse_index): silenced warning.
1156
1157        * src/yelp-window.c:
1158        - use YelpURI.
1159        (yw_handle_uri): somewhat cleaned up after YelpURI.
1160
1161        * src/yelp-view-toc.c:
1162        - use YelpURI.
1163        - Changed url_selected signal to uri_selected.
1164        - Send the links as man:... instead of path:..
1165
1166        * src/yelp-view-index.c:
1167        - use YelpURI.
1168        - Changed url_selected signal to uri_selected.
1169        - thinking about removing the html-view from this and only have it
1170          as a entry + list for now. Later on we can add full text search
1171          or more sofisticated searching.
1172
1173        * src/yelp-view-content.c:
1174        - use YelpURI.
1175        - Changed url_selected signal to uri_selected.
1176        (yelp_view_content_show_uri):
1177        - cleaned up A LOT since this became much much easier with
1178          YelpURI.
1179
1180        * src/yelp-util.c (yelp_util_is_url_relative):
1181        - made external and changed name from is_uri_relative.
1182        (yelp_util_resolve_relative_url):
1183        - chagned name from yelp_util_resolve_relative_url.
1184        (tree_find_node_uri): use YelpURI.
1185        (yelp_util_find_node_from_uri): same.
1186
1187        * src/yelp-uri.c:
1188        - Thinking of making the YelpURIType a bit mask so that I can add
1189          yelp_uri_is_type (YELP_URI_TYPE_MAN | YELP_URI_TYPE_INF) since
1190          that kind of usage is all over.
1191        - Support index: and path: (not sure if we need path:)
1192        (yelp_uri_copy): added/impl
1193        (yelp_uri_get_relative): added/impl
1194        (yelp_uri_equal): added/impl.
1195        (yelp_uri_equal_path): added/impl.
1196        (yelp_uri_equal_section): added/impl.
1197        (yelp_uri_to_string): added/impl.
1198
1199        * src/yelp-section.c:
1200        - use YelpURI.
1201        - Removed reference, scheme.
1202
1203        * src/yelp-scrollkeeper.c:
1204        - use YelpURI.
1205        - Don't create specific index:-uri's
1206        (ys_parse_index_item): this was actually broken and only inputed
1207          the last indexitem in the index-file. fixed.
1208
1209        * src/yelp-marshal.list (VOID:POINTER,BOOLEAN):
1210        - replaced VOID:STRING,STRING,BOOLEAN (the old
1211          url_selected-marshal).
1212
1213        * src/yelp-man.c:
1214        - use YelpURI
1215        - Don't create specific index:-uri's
1216        (yelp_info_init): don't translate string 'man' which we are
1217          trying to find with strcmp in yelp-view-toc.
1218
1219        * src/yelp-info.c:
1220        - use YelpURI
1221        - Don't create specific index:-uri's
1222        (yelp_info_init): don't translate string 'info' which we are
1223        trying to find with strcmp in yelp-view-toc.
1224
1225        * src/yelp-html.c:
1226        - Updated to use YelpURI.
1227        - changed signal from url_selected to uri_selected (emits YelpURI
1228          instead of base_uri + rel_uri).
1229        (yelp_html_do_maninfo): take a YelpURI instead of text uri + doc
1230          type.
1231        (yelp_html_open_uri):
1232        - take YelpURI instead of text uri.
1233        - this should later be moved into yelp_uri_{read,read_async}.
1234
1235        * src/yelp-history.c: Updated to use YelpURI.
1236
1237        * src/yelp-base.c (impl_Yelp_getWindows): use YelpURI.
1238
1239        * src/test-uri.c: test yelp_uri_to_string.
1240
12412002-05-06  Sander Vesik <sander.vesik@sun.com>
1242
1243        * stylesheets/yelp-customization.xsl: Initial multichunking code
1244
12452002-05-05  Mikael Hallendal  <micke@codefactory.se>
1246
1247        * src/yelp-uri.c (uri_get_doc_type):
1248        - Also handle toc:-uri's
1249        (yelp_uri_exists): return correct answer :)
1250
1251        - Now implements jrb's ghelp-uri scheme.
1252        - added doc_path-argument so that it doesn't have to be calculated
1253          twice when creating a YelpURI.
1254        (uri_get_path_from_relative): added/impl.
1255        (uri_locate_help_file): added/impl.
1256        (uri_locate_help_file_with_lang): added/impl.
1257        (yelp_uri_new): removed the GError-argument.
1258
1259        * src/test-uri.c (main):
1260        - be a GnomeProgram so that it can actually test something :)
1261
1262        * src/yelp-error.h: added YELP_ERROR_URI_NOT_EXIST
1263
1264        * src/yelp-uri.[ch]:
1265        - Added, this is functions for manipulating and working with the
1266          different uri-schemes possible.
1267
1268        * src/Makefile.am:
1269        - added test-uri.
1270        - added yelp-uri.[ch]
1271
12722002-05-04  Sander Vesik <sander.vesik@sun.com>
1273
1274        * stylesheets/yelp-customization.xsl: remove non-linking Next >>>
1275          and change the codition that triggers table of contents in hopes
1276          it fixes the bug where it is not displayed
1277
12782002-05-02  Sander Vesik <sander.vesik@sun.com>
1279
1280        * stylesheets/yelp-customization.xsl: add 'About This Document' link,
1281          change toc to contents, change prev to previous, fix whitespace in
1282          itemized lists and variable lists
1283
12842002-05-02  Jacob Berkman  <jacob@ximian.com>
1285
1286        * configure.in: bump version back to 0.6.99
1287
12882002-05-01  Sander Vesik <sander.vesik@sun.com>
1289
1290        * stylesheets/yelp-customization.xsl:   introduce css
1291
12922002-05-01  Mikael Hallendal  <micke@codefactory.se>
1293
1294        * src/yelp-view-toc.c (yelp_view_toc_start): translation fix
1295          reported by Jordi Mallach.
1296
12972002-04-29  Christophe Merlet  <christophe@merlet.net>
1298
1299        * src/Makefile.am: Added $(DESTDIR) variable.
1300
13012002-04-29  Mikael Hallendal  <micke@codefactory.se>
1302
1303        * Release 0.6.1
1304
1305        * configure.in: bumped version to 0.6.1
1306
1307        * NEWS: updated for 0.6.1
1308
13092002-04-28  Mikael Hallendal  <micke@codefactory.se>
1310
1311        * src/Makefile.am (INCLUDES): removed -I$(includedir).
1312
13132002-04-28  Pablo Saratxaga  <pablo@mandrakesoft.com>
1314
1315        * configure.in: Added "vi" entry to ALL_LINGUAS.
1316
13172002-04-27 John Fleck <jfleck@inkstain.net>
1318
1319        * yelp-db2html.c
1320          load/parse the DTD
1321
13222002-04-05 Jonathan Blandford  <jrb@redhat.com>
1323
1324        * src/yelp-info.c (yelp_info_read_info_dir): remove unneeded
1325          special case.
1326
13272002-04-23  Mikael Hallendal  <micke@codefactory.se>
1328
1329        * src/yelp-util.c (yelp_util_extract_docpath_from_uri):
1330        - some more fixes.
1331
1332        * src/yelp-view-toc.c: added lots of \n to the outputed html,
1333          makes it easier to read it.
1334
1335        * src/yelp-util.c (yelp_util_extract_docpath_from_uri):
1336        - make this return a string with all duplicate // printed as /.
1337        - This solves some IMPORTANT issues.
1338        - Though I did this in a lazy way (by calling gnome_vfs_uri_new
1339          and then back to string with gnome_vfs_uri_to_string. Should
1340          probably look into if there is a function in gnome-vfs that does
1341          this.
1342
1343        * src/yelp-html.c (yelp_html_io_watch_cb):
1344        - made this actually work as expected.
1345        - don't use g_io_channel_read, use g_io_channel_read_chars
1346          instead.
1347
13482002-04-22  Mikael Hallendal  <micke@codefactory.se>
1349
1350        * src/yelp-view-content.c (yelp_view_content_show_uri):
1351        - split the url and send the section in the correct way to
1352          yelp_html_open_uri.
1353
1354        * src/yelp-util.c (yelp_util_extract_docpath_from_uri):
1355        - don't include the section/anchor/reference in the returned
1356          string.
1357        (yelp_util_resolve_relative_uri): handle #-sections too (html).
1358
1359        * src/yelp-html.c:
1360        (yelp_html_do_html): added.
1361        (yelp_html_do_docbook): get the section too.
1362        (yelp_html_io_watch_cb):
1363        - also finish if we couldn't read as much as we wanted.
1364        - if section exists, jump to anchor.
1365        (yh_url_requested_cb): correctly handle relative url's.
1366        (yh_link_clicked_cb): don't shortcut if section is specified with
1367          '?' which means it's docbook (which are chunked, not one big
1368          document with anchors).
1369        (yelp_html_open_uri): handle html, fixes: 79015
1370
13712002-04-19  Sander Vesik <sander.vesik@sun.com>
1372        * stylesheets/yelp-customization.xsl: make "indirect" links work
1373          and make several beautification changes
1374
13752002-04-18  Sander Vesik <sander.vesik@sun.com>
1376        * stylesheets/yelp-customization.xsl: include yelp-custom.xsl
1377          instead of gnome-custom.xsl, "fix" whitespace, collect link
1378          cell drawing into their own templates, fix alignment of
1379          links in the navbars
1380
13812002-04-18  Changwoo Ryu  <cwryu@debian.org>
1382
1383        * configure.in (ALL_LINGUAS): Added ko (Korean).
1384
13852002-04-18  Mikael Hallendal  <micke@codefactory.se>
1386
1387        * src/yelp-html.c:
1388        - Use g_spawn_async_with_pipes and then io_watch to read the data
1389          in asynchronous.
1390
1391        * src/yelp-man.c (yelp_man_populate_tree_for_subdir): set the uri
1392          for man-pages to be man:name.section instead of full path. Seems
1393          to work much much better this way.
1394
1395        * src/yelp-html.c:
1396        - removed is_doc from read_data-struct, not used anymore
1397        - Don't use the GnomeVFS module, instead call the external
1398          programs directly with g_spawn.
1399        (yelp_html_do_non_docbook): removed, replaced by do_maninfo.
1400        (yelp_html_do_maninf): added. This will soon be rewritten to use
1401          g_spawn_async_with_pipes.
1402       
14032002-04-16  Abel Cheung  <maddog@linux.org.hk>
1404
1405        * configure.in: Added "zh_TW" to ALL_LINGUAS.
1406
14072002-04-15  Mikael Hallendal  <micke@codefactory.se>
1408
1409        * configure.in: bumped version to 0.6.99
1410
1411        * Release 0.6
1412
1413        * configure.in: bumped version to 0.6
1414
1415        * src/yelp-window.c: fixed a couple of warnings.
1416        (yw_handle_url): send the error correctly to gnome_url_show,
1417          thanks rhult :)
1418
1419        * configure.in: bumped gtkhtml2 requirements.
1420
1421        * src/yelp-html.c (yelp_html_do_non_docbook):
1422        - show error dialog if open fails.
1423
1424        * src/yelp-error.h (YELP_ERROR): added error for non-docbook
1425          documents.
1426
1427        * src/yelp-db2html.c (yelp_db2html_convert): use stylesheet from
1428          stylesheets/.
1429        (yelp_db2html_convert): updated to reflect changes in the
1430          stylesheet.
1431
1432        * stylesheets/*: Added, includs patch from sander to
1433          gnome-doc-list.
1434       
1435        * configure.in (AC_OUTPUT): added stylesheets/Makefile.
1436
1437        * Makefile.am (SUBDIRS): added stylesheets
1438
14392002-04-14  Mikael Hallendal  <micke@codefactory.se>
1440
1441        * src/yelp-view-toc.c: pretty-fied the sub-pages too.
1442
1443        * src/yelp-window.c (yw_handle_url): pass the error to
1444          gnome_url_show.
1445
1446        * src/yelp-db2html.c (yelp_db2html_convert): better
1447          error-handling.
1448
1449        * src/yelp-html.c:
1450        (yelp_html_idle_read_end): don't free the handle twice.
1451        (yelp_html_idle_read_end): reset pointer to normal.
1452        (yelp_html_open_uri): set cursor to watch.
1453
1454        * src/yelp-window.c (yw_handle_url): If error is set during
1455          set_uri, popup an error-dialog describing the error.
1456
1457        * src/yelp-html.c:
1458        - Added support for GError's
1459        * src/yelp-view-index.c: same.
1460        * src/yelp-view-content.c: same.
1461
1462        * src/yelp-db2html.c:
1463        - Include gnome-i18n.h
1464        - Mark the error messages for translation.
1465       
1466        (yelp_db2html_convert): revert a little, in wait for sanders new
1467          stylesheets.
1468        - use GError to signal errors while parsing document. Still needs
1469          to be added to above layers.
1470        - don't leek the stylesheet name.
1471
1472        * src/yelp-error.[ch]: added.
1473
1474        * src/yelp-view-content.c: added includes to fix warnings.
1475
1476        * src/yelp-view-index.c: same.
1477
1478        * src/yelp-util.c (yelp_util_extract_docpath_from_uri):
1479        - added support for man and info pages too.
1480
1481        * src/yelp-html.c:
1482        - loads of changes :)
1483        - don't use GnomeVFS Async calls.
1484        - Read non-docbook data in an idle
1485        - Shortcut the gnome vfs help module and call internal
1486          docbook2html code instead if document is xml/sgml docbook.
1487        - Needs more cleaning up and breaking out into another file/class.
1488        - Don't inherit HtmlView, instead inherit GObject and have a
1489          get_widget function.
1490
1491        * src/yelp-db2html.[ch]: added from libgnome. Use this in-proc
1492          instead of calling as external scripts.
1493
1494        * src/Makefile.am (yelp_SOURCES): added yelp-db2html.[ch]
1495
1496        * configure.in (GNOMELOCALEDIR): depend on libxslt for the
1497          docbook->html conversion.
1498
14992002-04-12  Mikael Hallendal  <micke@codefactory.se>
1500
1501        * src/yelp-view-toc.c (TOC_BLOCK_SEPARATOR): fixed string, thanks
1502          menthos.
1503
15042002-04-11  Mikael Hallendal  <micke@codefactory.se>
1505
1506        * src/yelp-view-toc.c (yelp_view_toc_start): changed the string
1507          "Get Help on..." to "Help Contents" by suggestion from Calum.
1508
1509        * configure.in (GETTEXT_PACKAGE): added ja to ALL_LINGUAS
1510
1511        * src/yelp-view-toc.c:
1512        - did some cleanups
1513        - make output in first page look nicer.
1514        - Changed a few strings, SORRY!! Fixes: #73439
1515
1516        * src/yelp-view-content.c (yelp_view_content_stop): added/impl.
1517
1518        * src/yelp-util.c:
1519        (tree_find_node_uri): renamed from tree_find_node.
1520        (yelp_util_find_node_from_name): added/impl.
1521        (tree_find_node_name): added/impl.
1522
1523        * src/yelp-html.c:
1524        (yh_init): set content-type to utf8 on the loading document.
1525        (yelp_html_cancel_loading): added, doesn't do anything yet.
1526
15272002-04-10  Richard Hult  <rhult@codefactory.se>
1528
1529        * src/yelp-view-index.c (yelp_view_index_new): Add a bit of
1530        padding around the search label.
1531        Put the index list in a frame with IN shadow.
1532
15332002-04-10  Padraig O'Briain  <padraig.obriain@sun.com>
1534
1535        * src/yelp-scrollkeeper.c (ys_parse_index):
1536        Fix small memory leak (#77733)
1537
15382002-04-04  Mikael Hallendal  <micke@codefactory.se>
1539
1540        * src/yelp-window.c: use GConf for the toolbar style.
1541
1542        * src/yelp-html.c: added a "Loading..." while loading the
1543          document. New string, sorry about that. This also needs a new
1544          change in gtkhtml2 so I'll update the reqs after the next
1545          release of gtkhtml2.
1546
1547        * configure.in (GNOMELOCALEDIR): added gconf-2.0
1548
15492002-04-03  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>
1550
1551        * configure.in (ALL_LINGUAS): Added pt_BR.
1552
15532002-03-25  Mikael Hallendal  <micke@codefactory.se>
1554
1555        * NEWS: updated (oops, missed 0.5 release).
1556
1557        * configure.in: bumped version to 0.5
1558
15592002-03-24  Zbigniew Chyla  <cyba@gnome.pl>
1560
1561        Fixes #72583
1562
1563        * src/yelp-view-toc.c (yelp_view_toc_write_header):
1564        Put <meta http-equiv="Content-Type" ...> _before_ <title> tag
1565        so that document's encoding is known before we encounter localized
1566        title (UTF-8 string).
1567
15682002-03-23  Mikael Hallendal  <micke@codefactory.se>
1569
1570        * src/yelp-info.c (yelp_info_init):
1571        - Fixed #75218
1572        - Read INFOPATH to locate path to info files.
1573
1574        * src/yelp-util.c:
1575        (yelp_util_extract_docpath_from_uri): reverted this to it's
1576          initial behaviour.
1577        (yelp_util_split_uri): added this instead which supports
1578          ghelp/man/info uri's. It also always have the type of uri
1579          prepended in the return uri.
1580
1581        * src/yelp-html.c (yelp_html_open_uri): this function is getting
1582          ugly, have to clean it up.
1583        (yelp_html_open_uri): use yelp_util_split_uri intead to get the
1584          docpath and the anchor (it supports man and info too, not just
1585          ghelp:-uri's. Fixes #72637).
1586
1587        * src/yelp-window.c: commented out the Quit-option, we might not
1588          want to have it around because you often use Yelp in another way
1589          (ie. klicking Help in an application). Fixes #75081
1590
1591        * src/yelp-view-toc.c (yelp_view_toc_open_url): scroll to the
1592          beginning of the document after reading it. Fixes #72965
1593
1594        * src/yelp-util.c:
1595        (yelp_util_extract_docpath_from_uri): added an argument if we want
1596          the return docpath to be prepended with "ghelp:" or not.
1597        (yelp_util_find_anchor_in_uri): added/impl.
1598
1599        * src/yelp-scrollkeeper.c (ys_parse_toc_section): use strstrip
1600          instead of strchomp to clean up the name.
1601
1602        * src/yelp-html.c:
1603        (yh_link_clicked_cb): also jump if the relative reference is ?foo
1604        (yelp_html_open_uri): don't reload the page if it's the same as
1605          already showing.
1606
16072002-03-20  Mikael Hallendal  <micke@codefactory.se>
1608
1609        * src/yelp-view-index.c (set_relation): style-fixes.
1610
16112002-03-20  Jagadeesh B. G  <jagadeesh.bana@wipro.com>
1612
1613        * src/yelp-view-index.c: Set atk relation for search entry and
1614          label as part of accessibility changes
1615
16162002-03-20  Padraig O'Briain  <padraig.obriain@sun.com>
1617
1618        * src/yelp-window.c (yw_handle_url): Call yelp_view-content)show_uri()
1619        before gtk_notebook_set_current_page() (#75570)
1620
16212002-03-20  Christophe Merlet  <redfox@eikonex.org>
1622
1623        * configure.in: Added fr to $ALL_LINGUAS.
1624
16252002-03-19  Mikael Hallendal  <micke@codefactory.se>
1626
1627        * configure.in: bumped version to 0.4.99
1628
1629        * Release 0.4
1630       
1631        * configure.in: updated to 0.4
1632
16332002-03-19  Sandeep V Honde  <sandeep.honde@wipro.com>
1634
1635        * src/yelp-main.c:
1636        - Session management support for multiple
1637          windows added.
1638          (yelp_save_session)    :modified.
1639          (yelp_restore_session) :added/impl.
1640
16412002-03-04  Mikael Hallendal  <micke@codefactory.se>
1642
1643        * configure.in: bumped version to 0.3.99
1644
1645        * Release 0.3
1646
1647        * configure.in:
1648        - updated version to 0.3
1649        - updated deps of libgnome and gtkhtml2
1650
1651        * NEWS: updated for 0.3
1652
16532002-03-05  Wang Jian  <lark@linux.net.cn>
1654
1655        * configure.in: Added "zh_CN" to ALL_LINGUAS.
1656
16572002-03-04  Pablo Saratxaga  <pablo@mandrakesoft.com>
1658
1659        * src/yelp-window.c: add a comment for translators
1660
16612002-03-03  Mikael Hallendal  <micke@codefactory.se>
1662
1663        * src/yelp-man.c:
1664        - Fixes #73292
1665        (yelp_man_populate_tree_for_subdir): add to section index list.
1666        (yelp_man_init): concat the man index list with the global.
1667
1668        * src/yelp-info.c (yelp_info_init): call strdown on the names
1669          before adding to index.
1670
1671        * src/yelp-index-model.c (yelp_index_model_filter): don't show all
1672          index-words by default. Only show the words matching the
1673          query. Not sure what is the best way to do this, but with all
1674          man and info pages in the index it got pretty crowded.
1675
1676        * src/yelp-base.c (yelp_base_new): pass index to man_init.
1677
1678        * src/yelp-window.c (yelp_window_new): fixed an error if you don't
1679          have an index installed (thanks rhult).
1680
1681        * src/yelp-index-model.c: use the new YELP_SECTION-macro.
1682        * src/yelp-view-toc.c: same.
1683        * src/yelp-util.c: same.
1684        * src/yelp-scrollkeeper.c: same.
1685
1686        * src/yelp-section.h: added casting macro YELP_SECTION.
1687
1688        * src/yelp-base.c (yelp_base_new): pass index-list to info init.
1689
1690        * src/yelp-info.c (yelp_info_init):
1691        - Fixes #73291
1692        - added index-list to argument.
1693        - add info pages to index-list.
1694
1695        * src/yelp-view-toc.c (yelp_view_toc_start):
1696        - Fixes #72146
1697        - Don't show "Other documents" if neither man or info are
1698          installed.
1699        - Don't show "Manual pages" link if no man pages are installed
1700        - Don't show "Info pages" link of no info pages are installed.
1701
1702        * src/yelp-man.c (yelp_man_init):
1703        - return FALSE and don't create a topnode 'man' in the content
1704          tree if there weren't any man pages installed.
1705
1706        * src/yelp-info.c (yelp_info_init):
1707        - return FALSE if no info pages was found. Also don't create the
1708          topnode 'info' in the content-tree if there weren't any pages.
1709
1710        * src/yelp-html.c: removed commeted code.
1711
1712        * src/yelp-base.c (yelp_base_new): don't care about the result for
1713          now.
1714
1715        * src/yelp-info.c:
1716        - Fixes #73270
1717        (yelp_info_read_info_dir): renamed from
1718          yelp_info_populate_tree_for_subdir. It not takes a list instead.
1719        (yelp_info_init): First read the sections into a list, sort it and
1720          append it to the GNode.
1721
1722        * src/yelp-info.c: conform with the Yelp coding style.
1723        * src/yelp-man.c: same
1724
1725        * configure.in (GNOMELOCALEDIR): depend on a certain number of
1726          libgnome, will update this when new libgnome get's released.
1727
1728        * src/yelp-window.c:
1729        - Fixes #73056
1730        (yelp_window_new): don't create index view if no index is
1731          available. 
1732        (yw_create_toolbar): don't add index-button if index is not
1733          available.
1734        (yw_populate): don't insert index page in notebook if index is not
1735          present.
1736
1737        * src/yelp-base.c:
1738        (impl_Yelp_getWindows): added/impl.
1739        (yelp_base_class_init): use getWindows.
1740
1741        * idl/GNOME_Yelp.idl (GNOME):
1742        - Added getWindows which returns a sequence of strings with the
1743          URL's of all open windows. This is needed to save the
1744          session-state. (Fixes #73184).
1745
1746        * src/yelp-window.c:
1747        (yelp_window_get_current_uri): added, needed for session
1748          management.
1749
1750        * src/yelp-html.c (yh_free_stream_data): removed debug printout.
1751
1752        * src/yelp-view-index.c:
1753        - Fixed #67954
1754        (yvi_html_url_selected_cb): implemented.
1755        (yelp_view_index_show_uri): fixed compile warning.
1756
1757        * src/yelp-window.c:
1758        (yw_handle_url): check if url starts with index:, if so, let
1759          YelpViewIndex handle it.
1760        (yelp_window_new): connect to url_selected on YelpViewIndex.
1761
1762        * src/yelp-view-index.c:
1763        - added URL_SELECTED signal.
1764        (yvi_index_selection_changed_cb): emit url_selected.
1765        (yvi_entry_activated_cb): fixed warning.
1766        (yvi_filter_idle): same.
1767        (yelp_view_index_show_uri): added/impl.
1768
1769        * src/yelp-view-content.c: removed the title-changed signal for
1770          now. I should really make all views derive from the same
1771          object. Lots of things are similar. (at least for YelpViewIndex
1772          and YelpViewContent.
1773
1774        * src/yelp-scrollkeeper.c:
1775        (ys_parse_index_item):
1776        - add a ? before the link.
1777        - add a index: before the uri
1778          The uri will now be index:ghelp:... (not soo nice but it's to
1779          make the window know which view it is).
1780
17812002-03-02  Mikael Hallendal  <micke@codefactory.se>
1782
1783        * src/yelp-view-index.c:
1784        - removed lots of debug output.
1785        (yvi_entry_changed_cb): implemented. call filter from idle.
1786        (yvi_filter_idle): added/impl.
1787        (yvi_search): removed.
1788
1789        * src/yelp-section.c:
1790        (yelp_section_compare): take the arguments as gconstpointer so the
1791          function doesn't have to be cast everytime used.
1792
1793        * src/yelp-scrollkeeper.c:
1794        (ys_parse_index_item):
1795        - don't add title if it's not valid utf8. Is this check needed?
1796        - call strdown on all title's in the index-terms.
1797
1798        * src/yelp-index-model.c:
1799        (yelp_index_model_filter): added/impl.
1800
1801        * src/yelp-view-index.c:
1802        (yvi_index_selection_changed_cb): use the column-enum to specify
1803          columns.
1804
1805        * src/yelp-index-model.c:
1806        (yim_init): initially set index_words to NULL.
1807        (yim_get_column_type): return the correct type.
1808        (yim_get_value): add support for the extra hidden section column.
1809        (yelp_index_model_set_words): inform that new lines have been
1810          added to the model.
1811
1812        * src/yelp-index-model.h: added a column-enum
1813
1814        * src/Makefile.am: removed gtktreemodelfilter
1815
1816        * src/gtktreemodelfilter.[ch]: removed, not used and _kris_ is
1817          doing the development in libegg now.
1818
1819        * src/yelp-view-index.c:
1820        - replaced the old ListStore with the new YelpIndexModel.
1821        (yvi_index_term_add): removed, not needed when using own model.
1822        (yvi_setup_index_view): removed.
1823       
1824        * src/yelp-index-model.[ch]: missed some copy&paste-changes when
1825          copying the model from MrProject :)
1826        (yelp_index_model_set_words): added.
1827
1828        * src/yelp-view-index.c:
1829        - in-the-middle-commit on index search stuff.
1830        (yvi_entry_changed_cb): added
1831        (yvi_entry_activated_cb): added
1832        (yvi_entry_text_inserted_cb): added
1833        (yvi_search): added
1834        (yvi_complete_idle): added
1835        (yvi_complete_func): added
1836        (yelp_view_index_new): connect to signals in the entry.
1837
1838        * src/yelp-scrollkeeper.c: removed debug variable.
1839
1840        * src/yelp-index-model.[ch]: added model for the index.
1841
1842        * configure.in: added compile warnings.
1843
18442002-02-28  Mikael Hallendal  <micke@codefactory.se>
1845
1846        * src/yelp-window.c:
1847        (yw_about_cb): added translator-credits to about-box.
1848        - #72636 fixed.
1849        - added GtkItemFactory to priv-struct.
1850        - added a Go-menu with the actions from the toolbar in it.
1851        - removed accelerators from toolbar items.
1852        - renamed some functions that made it easier to add the Go-menu.
1853
18542002-02-28  Sandeep V Honde <sandeep.honde@wipro.com>
1855
1856        * src/yelp-main.c :
1857        - Basic support for Session Management.
1858        (yelp_save_session): added/impl.
1859        (yelp_client_die)  : added/impl. 
1860
18612002-02-28  Mikael Hallendal  <micke@codefactory.se>
1862
1863        * src/yelp-view-index.c:
1864        (yelp_view_index_new): Added "Search for:" label in fron of the
1865          search entry. Fixes #72643
1866
1867        * src/yelp-window.c:
1868        (yw_create_toolbar):
1869        - Update string, fixes #72634
1870        - Update string, fixes #72635
1871
1872        * src/yelp-view-toc.c:
1873        (yelp_view_toc_man_1): Update string, fixes #72638
1874        (yelp_view_toc_start): Update string, fixes #72632
1875
18762002-02-25  Mikael Hallendal  <micke@codefactory.se>
1877
1878        * src/yelp-view-index.c:
1879        (yvi_index_term_add): added/impl.
1880        (yvi_setup_index_view): added/impl.
1881        (yelp_view_index_new): call yvi_setup_index_view.
1882
1883        * src/yelp-scrollkeeper.c: removed some debug printouts.
1884
1885        * src/yelp-window.c:
1886        (yelp_window_new): added index-list to arguments.
1887
1888        * src/yelp-view-index.c: started to fix (was a copy&paste from
1889          yelp-view-content.
1890
1891        * src/yelp-section.h: added YELP_SECTION_INDEX to YelpSectionType.
1892
1893        * src/yelp-section.c: include string.h, fixes compile warning.
1894
1895        * src/yelp-scrollkeeper.c:
1896        - Basic support for ScrollKeeper index added
1897        - use g_ascii_strcasecmp instead of depricated g_strcasecmp.
1898          Thanks to the wipro guys for notifying.
1899        (ys_parse_index): added/impl.
1900        (ys_parse_index_file): added/impl.
1901        (ys_parse_index_item): added/impl.
1902        (yelp_scrollkeeper_init):
1903        - added GList **index to arguments.
1904
1905        * src/yelp-main.c:
1906        (yelp_main_open_new_window): use g_error
1907        (yelp_main_start): same.
1908
1909        * src/yelp-history.c: include string.h, fixes compile warning.
1910
1911        * src/yelp-base.c: added index-list to priv-struct
1912        (yelp_base_new): call scrollkeeper_init with index-list
1913        (yelp_base_new_window): send the index-list to the new window.
1914
19152002-02-22  Kjartan Maraas  <kmaraas@gnome.org>
1916
1917        * src/yelp-main.c: Remove unsupported #ifdef ENABLE_NLS stuff.
1918       
19192002-02-20  Simos Xenitellis  <simos@hellug.gr>
1920
1921        * configure.in: Added "el" to ALL_LINGUAS.
1922
19232002-02-18  Mikael Hallendal  <micke@codefactory.se>
1924
1925        * src/yelp-history.c (yelp_history_goto): don't add entry to
1926          history list if it's the same as the current.
1927
1928        * src/yelp-window.c (yw_home_button_clicked): Notify the history
1929          list that we have moved.
1930
1931        * src/yelp-view-index.c (yvi_tree_selection_changed_cb): call
1932          yelp_html_open_uri instead of yelp_html_open_section.
1933
1934        * src/yelp-html.[ch] (yelp_html_open_uri): renamed from
1935          yelp_html_open_sectoin. It now takes an uri and a reference
1936          instead of a YelpSection.
1937
1938        * src/yelp-view-content.c (yelp_view_content_show_uri): call
1939          yelp_html_open_uri instead of creating a temporary YelpSection.
1940
1941        * src/yelp-view-toc.c (yelp_view_toc_man_2): don't send html for
1942          translations, reported by Christian Rose
1943
1944        * src/yelp-window.c (yw_init): make the default size smaller.
1945
1946        * src/yelp-view-toc.c: typedef the YelpImportantDocsSection struct
1947        (yelp_view_toc_start): only write section topic for important
1948          documents if there is any documents installed in that section.
1949
1950        * src/yelp-util.c (yelp_util_extract_docpath_from_uri):
1951        - Also work for sgml documents.
1952
19532002-02-18  Gediminas Paulauskas <menesis@delfi.lt>
1954
1955        * configure.in: remove GNOME_COMMON_INIT, GNOME_PLATFORM_GNOME_2
1956
19572002-02-17  Tõivo Leedjärv  <leedjarv@interest.ee>
1958
1959        * configure.in: Added et to ALL_LINGUAS.
1960
19612002-02-13  jacob berkman  <jacob@ximian.com>
1962
1963        * src/Makefile.am (install-exec-local): rename install-local since
1964        automake doesn't like it
1965
19662002-02-13  Alex Larsson  <alexl@redhat.com>
1967
1968        * src/yelp-view-toc.c (yelp_view_toc_write, yelp_view_toc_close,
1969        yelp_view_toc_open):
1970        Implement buffering writes for generated html.
1971
19722002-02-13  Alex Larsson  <alexl@redhat.com>
1973
1974        * src/Makefile.am (install-local):
1975        Remove old gnome-help binary, if any.
1976       
19772002-02-13  Alex Larsson  <alexl@redhat.com>
1978
1979        * src/Makefile.am (install-local):
1980        Install a gnome-help symlink
1981
19822002-02-13  Mikael Hallendal  <micke@codefactory.se>
1983       
1984        * configure.in: release 0.2.1
1985
1986        * reverted binary name change.
1987
1988        * src/yelp-main.c (main): initiate url to empty string instead of
1989          NULL. Fixed #71350
1990       
1991        * src/yelp-base.c (impl_Yelp_newWindow): check if url is empty
1992          before trying to open it.
1993
19942002-02-12  Alex Larsson  <alexl@redhat.com>
1995
1996        * important_docs.xml:
1997        * src/yelp-view-toc.c:
1998        Add sections to the important docs file
1999        Consistently call it "Manual pages" instead of "Man pages".
2000        Add link back to toc:man from the secondary level man page indexes.
2001
20022002-02-10  Mikael Hallendal  <micke@codefactory.se>
2003
2004        * src/*.c: cleaned up includes
2005               
2006        * src/yelp-util.c (yelp_util_extract_docpath_from_uri): remove
2007          warning.
2008       
2009        * src/yelp-window.c (yw_handle_url): show external URL's in
2010          external viewer. #67962
2011
20122002-02-06  Alex Larsson  <alexl@redhat.com>
2013
2014        * src/yelp-util.c (yelp_util_extract_docpath_from_uri):
2015        Correctly handle the case when gnome_vfs_uri_new() fails.
2016
20172002-01-31  Satan  <snickell@stanford.edu>
2018
2019        * Makefile.am:
2020        * gnome-help.desktop.in:
2021        * src/Makefile.am:
2022        * yelp.desktop.in:
2023
2024        Renname stuff to "gnome-help".
2025
2026        Because I'm a boring kind of guy.
2027       
20282002-01-31  Roy-Magne Mo  <rmo@sunnmore.net>
2029
2030        * configure.in: Added nn to ALL_LINGUAS.
2031
20322002-01-30  Zbigniew Chyla  <cyba@gnome.pl>
2033
2034        * configure.in (ALL_LINGUAS): Added pl (Polish).
2035
20362002-01-30  Mikael Hallendal  <micke@codefactory.se>
2037
2038        * configure.in: bumped version to 0.2.99
2039
2040        * Release 0.2
2041
2042        * src/yelp-view-toc.c (yelp_view_toc_write_header): added encoding
2043          utf-8 to html header.
2044
2045        * README: updated
2046
2047        * configure.in: bumped version.
2048       
2049        * src/yelp-util.c: removed debug printouts.
2050
2051        * src/yelp-html.c: hide debug printouts.
2052
2053        * src/yelp-view-content.c: same.
2054
2055        * src/yelp-window.c: same.
2056       
2057        * src/yelp-window.c (yw_populate): translate strings from item
2058          factory.
2059
2060        * src/yelp-view-toc.c
2061        (yelp_view_toc_start): marked strings for translation.
2062        (yelp_view_toc_start): same.
2063        (yelp_view_toc_man_2): same.
2064        (yelp_view_toc_man_1): same.
2065        (yelp_view_toc_info): same.
2066        (yelp_view_toc_scrollkeeper): same.
2067
2068        * src/yelp-window.c:
2069        (yw_url_selected_cb):
2070        - if both base_url and url is set call resolve_relative_url to get
2071          the absolute url.
2072        - if only one of them is set, use that one.
2073
2074        * src/yelp-view-content.c:
2075        - moved the scrolled window for the tree into the priv-class.
2076        (yvc_tree_selection_changed_cb): emit url-selected signal.
2077        (yelp_view_content_show_path): removed, unused.
2078        (yelp_view_content_show_uri):
2079        - hide the tree if: man, info or xml/sgml document without TOC.
2080        - don't reload the tree if it's the same document that's going to
2081          be showed again.
2082        - Retrieve the ScrollKeeper tree based on fullpath uri to file,
2083          relative link stripped.
2084
2085        * src/yelp-util.c:
2086        (yelp_util_contents_add_section): removed, unused.
2087        (yelp_util_resolve_relative_uri): if uri starts with ? just concat
2088          the base_uri with the relative link.
2089        (tree_find_node): Search a tree to find a node that matches an
2090          uri.
2091        (yelp_util_find_node_from_uri): traverse the tree to find the node
2092          for a certain URI.
2093        (yelp_util_extract_docpath_from_uri): added, helper function that
2094          takes a URI and calculates an absolute path to the document
2095          (without anchors). This is used to find the TOC tree for that
2096          document. This function needs some tweaking.
2097
2098        * src/yelp-scrollkeeper.[ch]
2099        (yelp_scrollkeeper_get_toc_tree): renamed from
2100          ..._get_toc_tree_model.
2101
21022002-01-29  Seth Nickell  <snickell@stanford.edu>
2103
2104        * yelp.desktop.in:
2105
2106        Tweak comment.
2107
21082002-01-27  Mikael Hallendal  <micke@codefactory.se>
2109
2110        * src/yelp-view-content.c: added title-changed signal. Shouldn't
2111          perhaps be here. Will perhaps remove it and do it all from
2112          YelpWindow.
2113       
2114        * src/yelp-util.[ch] (yelp_util_find_node_from_uri): added
2115          unimpl.
2116
2117        * src/yelp-marshal.list: added VOID:STRING
2118
2119        * src/yelp-main.c (main): look if an extra argument was passed, if
2120          it was send it to yelp_main_start.
2121        (yelp_main_idle_start): take url as argument
2122        (yelp_main_start): dito
2123        (yelp_main_open_new_window): send url to GNOME_Yelp_newWindow
2124
2125        * src/yelp-base.c (impl_Yelp_newWindow): take a url argument. If
2126          it's not NULL it will open the window with that URI showing.
2127
2128        * idl/GNOME_Yelp.idl (GNOME): newWindow now takes a url-argument.
2129
2130        * src/yelp-view-content.c (yelp_view_content_show_uri):
2131        - if uri starts with ghelp:, try to find the TOC for that document
2132          in scrollkeeper. If it's found, display it in the tree widget.
2133
2134        * src/yelp-scrollkeeper.c:
2135        - Removed old stuff outcommented and unused code.
2136        (ys_parse_toc_section): fill a GNode tree instead of GtkTreeStore.
2137        (yelp_scrollkeeper_get_toc_tree_model): use GNode instead of
2138          GtkTreeStore.
2139
2140        * src/yelp-html.c (yelp_html_open_section): NULL-terminate list of
2141          strings to g_strconcat.
2142
2143        * src/yelp-scrollkeeper.c:
2144        (yelp_parse_toc): removed, code moved to
2145          yelp_scrollkeeper_get_toc_tree_model
2146        (yelp_scrollkeeper_get_toc_tree_model): moved the code from
2147          yelp_parse_toc.
2148
2149        * src/yelp-main.c (yelp_main_start): give an error if we can't
2150          active the yelp-base, might solve #69134. Not the cause but the
2151          segfault.
2152        (yelp_main_idle_start): dito.
2153
21542002-01-26  Mikael Hallendal  <micke@codefactory.se>
2155
2156        * src/Makefile.am: removed BUILD_SOURCES since it seems to create
2157          problems with automake 1.4.
2158
2159        * Thanks to Laszlo PETER <Laszlo.Peter@ireland.sun.com> for the
2160          following patches.
2161       
2162        * src/yelp-view-toc.c:
2163        (yelp_view_toc_write_header): buildfixes when not using gcc.
2164        (yelp_view_toc_start): dito
2165
2166        * src/yelp-html.c: build fixes when not using glibc.
2167
2168        * configure.in: make yelp build with other compilers than GCC.
2169
2170        * src/yelp-window.c:
2171        - Fixed history
2172        (yw_handle_url): added, broke out code from
2173          yw_url_selected_cb. Called from history_button_clicked too. 
2174        (yw_url_selected_cb): call yw_handle_url instead of parsing the
2175          url internally. If yw_handle_url returns TRUE, add the url in
2176          the history.
2177
21782002-01-25  Alex Larsson  <alexl@redhat.com>
2179
2180        * important_docs.xml:
2181        New file.
2182       
2183        * Makefile.am:
2184        Install important_docs.xml
2185
2186        * src/yelp-view-toc.c:
2187        Parse important_docs.xml instead of hardcoding them
2188       
2189        * configure.in:
2190        Remove "hu" from ALL_LINGUAS, as it breaks the build.
2191
21922002-01-25  Ole Laursen  <olau@hardworking.dk>
2193
2194        * configure.in: Added "da" to ALL_LINGUAS.
2195
21962002-01-25  Szabolcs Ban  <shooby@gnome.hu>
2197
2198        * po/hu.po: Added Hungarian translations from Emese Kovacs
2199        <emese@gnome.hu>, cvs troubles solved, sorry for that
2200
2201Fri Jan 25 12:43:19 2002  Owen Taylor  <otaylor@redhat.com>
2202
2203        * configure.in: Remove 'hu' from ALL_LINGUAS since
2204        the po file wasn't actually added.
2205
22062002-01-25  Szabolcs Ban  <shooby@gnome.hu>
2207
2208        * po/hu.po: Added Hungarian translations from Emese Kovacs
2209        <emese@gnome.hu>
2210
22112002-01-24  Alex Larsson  <alexl@redhat.com>
2212
2213        * src/yelp-util.[ch]:
2214        Add yelp_util_find_toplevel().
2215       
2216        * src/yelp-view-content.[ch]:
2217        Add some tree support.
2218
2219        * src/yelp-view-toc.c:
2220        Add scrollkeeper support.
2221
2222        * src/yelp-window.c:
2223        Remove old crap, make content view work again.
2224       
22252002-01-24  Alex Larsson  <alexl@redhat.com>
2226
2227        * src/yelp-view-toc.c:
2228        Add initial scrollkeeper support.
2229
22302002-01-24  Alexander Shopov  <al_shopov@web.bg>
2231
2232        * configure.in (ALL_LINGUAS): added "bg"
2233
22342002-01-23  Alex Larsson  <alexl@redhat.com>
2235
2236        * src/yelp-scrollkeeper.[ch]:
2237        Implement seriesid lookup.
2238
2239        * src/yelp-view-toc.c:
2240        Fix the startpage to contain the seriesid docs, and
2241        be more dynamic.
2242
22432002-01-23  Alex Larsson  <alexl@redhat.com>
2244
2245        * src/yelp-util.c:
2246        Change path separator to '/'.
2247
2248        * src/yelp-view-toc.c:
2249        Implement simple toc:info URL handler.
2250
22512002-01-23  Alex Larsson  <alexl@redhat.com>
2252
2253        * src/yelp-util.c:
2254        Clean up section->name usage
2255       
2256        * src/yelp-view-toc.c:
2257        Clean up and fix double free in yelp_view_toc_full_path_name()
2258
22592002-01-22  Alex Larsson  <alexl@redhat.com>
2260
2261        * src/yelp-man.c (yelp_man_push_initial_tree):
2262        Fix silly bug.
2263
2264        * src/yelp-util.[ch]:
2265        Add functions to go between Nodes in the doc tree and
2266        string paths.
2267
2268        * src/yelp-view-toc.c:
2269        Update man handling to GNodes.
2270
22712002-01-23  Mikael Hallendal  <micke@codefactory.se>
2272
2273        * src/yelp-window.c (yw_history_button_clicked):
2274        - use string instead of YelpSection with history.
2275
2276        * src/yelp-history.[ch]: work with strings instead of
2277          YelpSection.
2278
22792002-01-22  Hasbullah Bin Pit <sebol@ikhlas.com>
2280
2281        * configure.in: Added ms to ALL_LINGUAS.
2282        * po/ms.po: Added Malay Translation by
2283          Mohamad Afifi Omar <mr_mohd_afifi@yahoo.com> and me.
2284
22852002-01-22  Mikael Hallendal  <micke@codefactory.se>
2286
2287        * src/yelp-view-toc.c: started to rewrite to use GNode-tree
2288          instead of GtkTreeStore.
2289
2290        * src/yelp-base.c: use a GNode-tree instead of the GtkTreeStore.
2291
2292        * src/yelp-window.c: dito.
2293
2294        * src/yelp-scrollkeeper.[ch]: dito.
2295
2296        * src/yelp-man.[ch]: dito.
2297
2298        * src/yelp-info.[ch]: dito.
2299
2300        * src/yelp-window.c: use stock items for menu.
2301
23022002-01-21  Alex Larsson  <alexl@redhat.com>
2303
2304        * src/yelp-marshal.list:
2305        Add a boolean the the marshaller needed for url_selected
2306
2307        * src/yelp-section.h:
2308        Fix typo in #endif
2309       
2310        * src/yelp-html.[ch]:
2311        Change section_selected to url_selected
2312       
2313        * src/yelp-view-content.[ch]:
2314        Add url_selected signal that proxies YelpHtml::url_selected
2315        Implement yelp_view_content_show_uri.
2316
2317        * src/yelp-view-index.c:
2318        Change section_selected to url_selected
2319
2320        * src/yelp-view-toc.[ch]:
2321        Change path_selected to url_selected
2322        More man index work.
2323        Moved startpage to it's own function.
2324        Exported yelp_view_toc_open_url().
2325
2326        * src/yelp-window.c:
2327        Common way to follow link is now the url_selected signal
2328        on views.
2329
23302002-01-21  jacob berkman  <jacob@ximian.com>
2331
2332        * src/Makefile.am (EXTRA_DIST): the .list file has a -
2333
23342002-01-21  Seth Nickell  <snickell@stanford.edu>
2335
2336        * yelp.desktop.in:
2337
2338        Call it "Help".
2339
23402002-01-19  Mikael Hallendal  <micke@codefactory.se>
2341
2342        * src/yelp-base.c
2343        (yelp_base_window_finalized_cb): added/impl.
2344          quit the bonobo-main when last window is destroyed.
2345        (yelp_base_new_window): add a weak ref to the new window. used to
2346          be able to quit bonobo-main when last window is destroyed.
2347
2348        * src/yelp-info.c (yelp_info_init):
2349        - check if /usr/share/info and /usr/info is the same before adding
2350        both.
2351
2352        * src/yelp-man.c (yelp_man_init):
2353        - Use g_spawn_command_line_sync instead of popen.
2354        - if 'manpath' command is not found, look for MANPATH env. before
2355          using /usr/man and /usr/share/man
2356        - cleaned up a little to better fit into Yelp code.
2357
2358        * src/yelp-html.c (yelp_html_new): remove the temp printout. just
2359          print Yelp for now.
2360
2361        * src/yelp-man.c (yelp_man_init):
2362          check that /usr/man and /usr/share/man doesn't point to the same
2363          place.
2364
2365        * src/yelp-scrollkeeper.c:
2366        (ys_strip_scheme): rewrote to
2367        - accept NULL instead of scheme
2368        - return the new string instead of breaking down the one passed
2369          in.
2370        - use strstr instead of g_strstr_len with the entire string as
2371          len.
2372        (ys_parse_doc):
2373        - send NULL to ys_strip_scheme since we are not interested in the
2374          scheme for now. Also clean up that stuff a bit.
2375        - call xmlFree on the xml-strings instead of g_free.
2376        - don't free docsource before it's last use :)
2377
23782002-01-19  Alexander Larsson  <alla@lysator.liu.se>
2379
2380        * src/yelp-scrollkeeper.c (ys_strip_scheme):
2381        Set *scheme, not scheme on error
2382
23832002-01-18  Alex Larsson  <alexl@redhat.com>
2384
2385        * configure.in:
2386        Add AM_PATH_GLIB_2_0 to get GLIB_GENMARSHAL
2387
2388        * src/yelp-marshal.list
2389        * src/Makefile.am:
2390        Generate marshaller files
2391       
2392        * src/yelp-view-toc.[ch]:
2393        New url_selected signal.
2394
2395        * src/yelp-scrollkeeper.c:
2396        Fix leak
2397       
23982002-01-17  Alex Larsson  <alexl@redhat.com>
2399
2400        * src/yelp-window.c (yw_populate):
2401        Make TOC view scrolled window policy AUTO.
2402       
2403         * yelp-view-toc.c:
2404         More initial man work.
2405         
24062002-01-16  Seth Nickell  <snickell@stanford.edu>
2407
2408        * Makefile.am:
2409        * yelp.desktop.in:
2410
2411        Install .desktop file into the proper location, and fix
2412        its Categories field. Use the gnome-help.png icon.
2413       
24142002-01-15  Alex Larsson  <alexl@redhat.com>
2415
2416        * src/yelp-view-toc.c:
2417        Initial work on sane html generation, including some
2418        man index work.
2419
2420        * yelp-info.c:
2421        * yelp-man.c:
2422        * yelp-scrollkeeper.c:
2423        Rename the toplevel nodes to "man", "info" and "scrollkeeper".
2424       
2425Tue Jan 15 23:27:44 2002  Kristian Rietveld  <kris@gtk.org>
2426
2427        * src/gtktreemodelfilter.[ch]: update
2428
24292002-01-14  Alex Larsson  <alexl@redhat.com>
2430
2431        * yelp-section.[ch]:
2432        Add section type to section.
2433
2434        * src/yelp-html.c:
2435        * src/yelp-info.c:
2436        * src/yelp-man.c:
2437        Update for the section type change.
2438
2439        * src/yelp-scrollkeeper.c:
2440        Update for the section type change.
2441        Make a scrollkeeper toplevel node.
2442
24432002-01-14  Mikael Hallendal  <micke@codefactory.se>
2444
2445        * src/yelp-view-toc.[ch]: renamed from YelpViewHome.
2446
2447        * src/yelp-window.c: use YelpViewTOC instead of YelpViewHome.
2448
2449        * AUTHORS: added Alexander Larsson
2450
2451        * src/yelp-window.c (yw_about_cb): added Alexander Larsson to
2452        authors.
2453
2454        * configure.in: bumped version to 0.1.99
2455
24562002-01-11  Alex Larsson  <alexl@redhat.com>
2457
2458        * src/yelp-html.c (yh_link_clicked_cb):
2459        Shortcut pure relative links.
2460        (yelp_html_open_section): If there is a fragment
2461        in the uri, put that in sdata->anchor so that we
2462        jump to the anchor on load.
2463
24642002-01-11  Alex Larsson  <alexl@redhat.com>
2465
2466        * src/yelp-util.[ch]:
2467        Add yelp_util_resolve_relative_uri() that resolves
2468        relative text uris. Taken from Gnome VFS. We can't use
2469        the Gnome-vfs one, since gnome_vfs_uri_new() expands
2470        the uris.
2471       
2472        * src/yelp-html.c (yh_link_clicked_cb):
2473        Correctly follow relative URIs.
2474
24752002-01-11  Mikael Hallendal  <micke@codefactory.se>
2476
2477        * src/yelp-window.c (yw_create_toolbar): don't include help-on in
2478          the toolbar.
2479
24802002-01-10  Mikael Hallendal  <micke@codefactory.se>
2481
2482        * src/yelp-view-content.c:
2483        - use the new GtkTreeModelFilter.
2484        (yvc_tree_selection_changed_cb): get the model from the actual
2485          tree and use it to get the section selected.
2486        (yelp_view_content_new): don't set the model here, use the
2487          filtered model in content_show_path instead.
2488        (yelp_view_content_show_path): set the model to a filtered model
2489          with virtual root set to the selected path.
2490
2491        * src/yelp-util.c (yelp_util_contents_add_section): set third
2492          hidden filter-column to always TRUE (always visible).
2493
2494        * src/yelp-base.c (yelp_base_init): added boolean hidden column
2495          needed by the filtering.
2496
2497        * src/gtktreemodelfilter.[ch]: added GtkTreeModelFilter from
2498          Kristian Rietval, this is temporaray until this makes it into
2499          Gtk+ or some extra library.
2500
2501        * src/Makefile.am:
2502        (yelp_LDADD): added libgtktreemodelfilter
2503        (noinst_LTLIBRARIES): added libgtktreemodelfilter.
2504
25052002-01-10  Christian Rose  <menthos@menthos.com>
2506
2507        * configure.in: Added "nl" to ALL_LINGUAS.
2508
25092002-01-09  Alex Larsson  <alexl@redhat.com>
2510
2511        * acconfig.h:
2512        * configure.in:
2513        Look for libbz2
2514
2515        * src/Makefile.am
2516        * src/yelp-man.[ch]:
2517        * src/yelp-info.[ch]:
2518        New files
2519
2520        * src/yelp-base.c (yelp_base_new):
2521        Call yelp_man_init() and yelp_info_init().
2522
2523        * src/yelp-section.[ch]:
2524        Add yelp_section_compare for sorting by name.
2525
25262002-01-09  Mikael Hallendal  <micke@codefactory.se>
2527
2528        * src/yelp-base.[ch]: use BonoboObject instead of BonoboXObject,
2529          thanks rhult for notifying me.
2530
25312002-01-06  Christian Rose  <menthos@menthos.com>
2532
2533        * configure.in: Added "es" to ALL_LINGUAS.
2534
25352002-01-06  Fatih Demir <kabalak@gtranslator.org>
2536
2537        * configure.in: Added "tr" to the languages list.
2538
25392002-01-06  Germán Poo-Caamaño <gpoo@ubiobio.cl>
2540
2541        * configure.in: Added spanish (es) to ALL_LINGUAS
2542
25432002-01-05  Mikael Hallendal  <micke@codefactory.se>
2544
2545        * src/yelp-window.c (yw_exit_cb): use bonobo_main_quit instead of
2546          gtk_main_quit. This should be moved to yelp-base instead.
2547
2548        * src/yelp-view-content.c:
2549        (yelp_view_content_show_uri): added, not impl.
2550
2551        * src/yelp-main.c:
2552        - uses bonobo-activation to start Yelp and connect to an already
2553          running instance.
2554        (yelp_base_factory): added. the factory-function.
2555        (yelp_main_activate_base): added, gets an CORBA_Object reference
2556          to the YelpBase.
2557        (yelp_main_open_new_window): added, calls GNOME_Yelp_newWindow on
2558          the CORBA_Object to open a new window.
2559        (yelp_main_start): added, called if another instance is already
2560          running.
2561        (yelp_main_idle_start): called from an idle function if this is
2562          the first instance.
2563        (main): start the factory. and call yelp_main_start or
2564          yelp_main_idle_start depending on if it's the first instance.
2565
2566        * src/yelp-base.[ch]:
2567        - Made a BonoboXObject instead of GObject.
2568        (impl_Yelp_newWindow): added, implemented GNOME_Yelp_newWindow.
2569        (yelp_base_class_init): initialize the epv-functions.
2570       
2571
2572        * src/Makefile.am: updated for idl and .server
2573          generation.
2574
2575        * src/GNOME_Yelp.server.in: added for bonobo-activation.
2576
2577        * idl/GNOME_Yelp.idl: Added. Yelp-interface (might be a module
2578          eventaully).
2579
2580        * configure.in: updated for use with bonobo.
2581
2582        * Makefile.am (EXTRA_DIST): added idl/GNOME_Yelp.idl
2583
25842002-01-04  Mikael Hallendal  <micke@codefactory.se>
2585
2586        * src/yelp-main.c (main): removed setlocale
2587
25882002-01-04  Jody Goldberg <jody@gnome.org>
2589
2590        * configure.in (CFLAGS) : do no use continuation characters.  It
2591          irritates auto*/sed on my system.
2592
25932002-01-04  Mikael Hallendal  <micke@codefactory.se>
2594
2595        * TODO: updated, moved issues to bugzilla.
2596
25972001-12-27  Duarte Loreto <happyguy_pt@hotmail.com>
2598
2599        * configure.in: Added portuguese to ALL_LINGUAS
2600
26012001-12-22  Mikael Hallendal  <micke@codefactory.se>
2602
2603        * src/yelp-window.c:
2604        (yw_close_window_cb): added. yelp-base should listen to
2605          destroy-signal of all windows, so it knows when to quit.
2606        - Added Close window in File menu
2607
26082001-12-12  Mikael Hallendal  <micke@codefactory.se>
2609
2610        * src/yelp-window.c (yw_populate): add Accel group.
2611        (yw_create_toolbar): added tooltips, needs update
2612
26132001-12-11  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
2614
2615        * configure.in: Adde "sk" to ALL_LINGUAS.
2616
26172001-12-10  Kjartan Maraas  <kmaraas@gnome.org>
2618
2619        * configure.in: Added "no" to ALL_LINGUAS.
2620       
26212001-12-10  Mikael Hallendal  <micke@codefactory.se>
2622
2623        * src/yelp-window.c (yw_class_init): added signal for new window.
2624        (yw_new_window_cb): amit new_window_requested-signal
2625
2626        * src/yelp-base.c:
2627        (yelp_base_new_window_cb): added, listens for new_window_requested
2628          from windows.
2629        (yelp_base_new_window): connect to signal in gtk-window.
2630
2631        * TODO (FEATURES): updated
2632       
2633
2634        * src/yelp-window.c: Some fixes after discussion with seth.
2635        (yw_init): Yelp: GNOME Help Browser -> Help Browser.
2636        (yw_populate): readded the menu
2637        (yw_close_cb): removed
2638        (yw_new_window_cb): readded
2639        (yw_exit_cb): readded
2640        (yw_about_cb): readded
2641        (yw_create_toolbar): removed the Close-button
2642
2643        * configure.in: changed Yelp->yelp in AM_INIT_AUTOMAKE.
2644
2645        * src/yelp-view-home.c (yelp_view_home_new):
2646        - updated color to white background, less difference between the
2647          views now.
2648
2649        * src/yelp-window.c:
2650        - cleaned up a little.
2651        - now has tree views (home/content/index) in a Notebook
2652        - First shows the Home-page, when click a link in it, swap to
2653          content-view.
2654        (yw_populate): only set up the notebook, other code moved to the
2655          three views.
2656        (yw_create_toolbar): new function, creates the toolbar.
2657
2658        * src/yelp-view-index.[ch]:
2659        - added
2660        - this handles the index view (with index-term searching to the
2661          left).
2662        - not finished.
2663
2664        * src/yelp-view-home.[ch]:
2665        - Now draws an test-page. This should be made nicer.
2666        - The HTML-stuff is _not_ finished.
2667        - Signals path_selected when a user press a link.
2668       
2669        * src/yelp-view-doc.[ch]: removed, I must have been tired when
2670          commiting this :)
2671
2672        * src/yelp-view-content.[ch]:
2673        - added
2674        - takes care of the content-view (the one with the tree to the
2675          left).
2676        - This view is accessed from the home-view.
2677       
2678        * src/yelp-toc.[ch]: removed, now handled inside
2679          yelp-view-content.[ch].
2680       
2681        * src/yelp-scrollkeeper.c:
2682        (ys_parse_book): only parse if Toplevel == GNOME.
2683
2684        * src/yelp-index.[ch]: removed, this is now handled inside
2685          yelp-view-index.c
2686       
2687        * src/yelp-view.[ch]: moved to yelp-html, yelp-view-* is the
2688          various main-views.
2689
2690        * src/yelp-html.[ch]: added, this is the previous yelp-view.[ch]
2691
2692        * src/yelp-base.c: priv->bookshelf -> content_store.
2693        (yelp_base_get_bookshelf): removed, was used by YelpWindow, but
2694          YelpWindow shouldn't know anything about YelpBase.
2695        (yelp_base_new_window): send the content_store to yelp_window_new
2696          instead.
2697
2698        * src/Makefile.am (yelp_SOURCES): updated to reflect the current
2699          files.
2700
27012001-12-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
2702
2703        * configure.in: Added "az" entry to ALL_LINGUAS.
2704
27052001-12-09  Mikael Hallendal  <micke@codefactory.se>
2706
2707        * src/yelp-view-home.c: added, will be the Home-view.
2708
2709        * src/yelp-doc-view.[ch]: moved to yelp-view-doc.[ch]
2710       
2711        * src/Makefile.am (yelp_SOURCES): use yelp-view* instead of
2712          yelp-*-view.
2713
27142001-12-08  Mikael Hallendal  <micke@codefactory.se>
2715
2716        * src/yelp-main.c (main): cast the window to YELP_WINDOW.
2717
2718        * src/yelp-index.c:
2719        - don't include yelp-keyword-db.h
2720        - cleaned up some comments.
2721
2722        * src/yelp-base.c:
2723        - don't include yelp-keyword-db.h
2724        - removed keyword_db from priv-struct.
2725
2726        * src/yelp-keyword-db.[ch]: removed, should use only a GCompletion
2727          plus the eventual support for ModelFilter in GtkTreeView.
2728       
2729        * src/Makefile.am (yelp_SOURCES): removed yelp-keyword-db.[ch].
2730
2731        * TODO (FEATURES): updated.
2732
2733        * src/yelp-util.c: removed the outcommented menu-code.
2734        - No menu will be used, only the toolbar.
2735        - The window-generating code should probably be moved to glade
2736          later.
2737
2738        * src/yelp-util.[ch]: added, moved the insert-into-tree function
2739          from yelp-section.[ch] here.
2740
2741        * src/yelp-toc.c:
2742        (yelp_toc_open): removed, unused and unimplemented. Can add it
2743          back when I need it.
2744
2745        * src/yelp-section.[ch]:
2746        (yelp_section_add_sub): removed, functionality moved to
2747          yelp-util.[ch]
2748
2749        * src/yelp-scrollkeeper.[ch]:
2750        - renamed from scrollkeeper-parser.[ch]
2751        - cleaned up, don't use the metadata-parser interface.
2752        - insert into the GtkTreeStore directly.
2753
2754        * src/yelp-main.c: include yelp-window.h
2755
2756        * src/yelp-base.c:
2757        (yelp_base_new_book_cb): removed
2758        (yelp_base_insert_node): removed
2759        (yelp_base_section_foreach): removed
2760        (yelp_base_new): don't connect to parser signals, parser gets the
2761          GtkTreeStore and can insert directly into it.
2762
2763        * src/scrollkeeper-parser.[ch]: moved to yelp-scrollkeeper.[ch]
2764
2765        * src/metadata.h: removed, was used to help including all the
2766          metadata-parsers.
2767
2768        * src/main.c: moved to yelp-main.c
2769
2770        * src/metadata-parser.[ch]: removed, no need for this interface.
2771
2772        * src/devhelp-parser.[ch]: removed, don't need to support this and
2773          want the source to be as clean as possible.
2774       
2775        * src/Makefile.am (yelp_SOURCES): changed to build the correct
2776          files after the move-around.
2777
2778        * configure.in: changed AC_INIT argument to src/yelp-main.
2779
2780        * autogen.sh (PKG_NAME): changed test for srcdir/main to
2781          srcdir/yelp-main.
2782
27832001-12-07  Mikael Hallendal  <micke@codefactory.se>
2784
2785        * src/Makefile.am (yelp_SOURCES): yelp-view -> yelp-doc-view.
2786
2787        * src/yelp-window.c:
2788        - use yelp-doc-view instead of yelp-view.
2789        - update GUI after inspiration from M$ help.
2790
2791        * src/yelp-doc-view.[ch]: renamed from yelp-view.[ch]
2792
27932001-12-05  Malcolm Tredinnick <malcolm@commsecure.com.au>
2794        * src/yelp-section.[ch]:
2795        - add a scheme member to YelpSection. Will usually be NULL,
2796          except when adding URIs from Scrollkeeper.
2797        (yelp_section_new): pass in scheme as the last param.
2798        (yelp_section_copy): pass in extra param to yelp_section_new.
2799
2800        * src/devhelp-parser.c, src/yelp-window.c: pass extra param in
2801        calls to yelp_section_new().
2802
2803        * src/scrollkeeper-parser.c:
2804        - parse extra param to yelp_section_new().
2805        (sp_parse_doc): strip off the scheme from ScrollKeeper (usually
2806        "file:") before adding "ghelp:" to the URI. But save it in case
2807        we want act based on this scheme later.
2808        (sp_strip_scheme): new function to strip schemes.
2809
2810        * docs/help-parsing.txt: New file, describing what we have to
2811          handle. Mostly because I keep forgetting.
2812
28132001-12-04  Christian Meyer  <chrisime@gnome.org>
2814
2815        * configure.in: Added "de" entry to ALL_LINGUAS.
2816
28172001-12-04  Malcolm Tredinnick <malcolm@commsecure.com.au>
2818        * src/yelp-window.c:
2819        remove obsolete include of ghelp-uri.h.
2820        (yelp_window_section_select_cb): There are YelpSections that
2821        don't have uris (section headings). Don't try to open them.
2822
28232001-12-04  Mikael Hallendal  <micke@codefactory.se>
2824
2825        * src/ghelp-uri.[ch]: removed, old junk
2826
2827        * src/ghelp-main.[c]: likewise
2828
2829        * src/yelp-window.c:
2830        (yelp_window_populate): connect the history buttons.
2831        (yelp_window_history_button_pressed): added/impl.
2832        - use yelp_view_open_section instead.
2833
2834        * src/yelp-view.c:
2835        (yelp_view_open_section): renamed from yelp_view_open_uri. Now
2836          takes a section as argument instead.
2837
2838        * src/yelp-section.c (yelp_section_new): allow name == NULL
2839
2840        * src/yelp-window.c (yelp_window_populate): connect to the correct
2841          button.
2842        (yelp_window_section_selected_cb): notify the history that we are
2843          moving.
2844       
2845        * src/yelp-history.c (yelp_history_maybe_emit): no details when
2846          emitting.
2847
2848        * src/yelp-window.c:
2849        - added forward/back-buttons to priv struct.
2850        - connect the buttons to forward/back-exists-toggled signals in
2851          history.
2852        (yelp_window_toggle_history_buttons): added/impl. will handle when
2853          forward/back signals are emitted from YelpHistory.
2854
2855        * src/yelp-toc.h: YelpBook->GNode
2856
2857        * src/yelp-section.[ch]: added to replace yelp-book.[ch]
2858       
2859        * src/yelp-history.[ch]:
2860        - use YelpSections instead of strings.
2861        - renamed all functions to yelp_history instead of help_history.
2862
2863        * src/yelp-book[ch]: removed, replaced with yelp-section.
2864
2865        * src/yelp-base.c (yelp_base_new_book_cb): YelpBook->GNode
2866
2867        * src/scrollkeeper-parser.c:
2868        - lots of updates to stop using YelpBook.
2869        - YelpBook -> GNode
2870        - return GNode instead of YelpBook.
2871        - Use GNode insternaly instead of YelpBook.
2872        - now use yelp_section_add_sub instead of yelp_book_add_section.
2873        - also, yelp_section_new to get a new section to call
2874          yelp_book_add_section with.
2875       
2876        * src/metadata.h: yelp-book.h -> yelp-section.h
2877
2878        * src/metadata-parser.h: use a GNode in the new_book signal
2879          instead of a YelpBook. I might remove this signal entirely and
2880          instead use a function that might return the root-node.
2881
2882        * src/devhelp-parser.c: semi-updated, disabled for now
2883
2884        * src/Makefile.am (yelp_SOURCES):
2885        - don't compile devhelp-parser,
2886        - rename yelp-book to yelp-section
2887
28882001-12-02  Malcolm Tredinnick <malcolm@commsecure.com.au>
2889        * src/main.c (main): pass in GNOME_PROGRAM_STANDARD_PROPERTIES to
2890          gnome_program_init().
2891
2892        * src/Makefile.am: Add some defines for the install paths.
2893
28942001-12-01  Mikael Hallendal  <micke@codefactory.se>
2895
2896        * src/scrollkeeper-parser.c:
2897        (sp_parse_toc_section): prepend ? to the anchor and chomp it.
2898
2899        * src/yelp-view.c (yelp_view_open_uri): open the anchor if
2900          present.
2901
2902        * src/yelp-window.c: removed comments left from the removal of
2903          the uri-entry.
2904       
29052001-12-01  Richard Hult  <rhult@codefactory.se>
2906
2907        * src/main.c (main): Exit when the window is closed.
2908
2909        * src/*.c: Mark strings as translatable.
2910
2911        * src/main.c (main): Init gettext.
2912
2913        * acconfig.h: Add.
2914
2915        * configure.in: Gettextize and intltoolize.
2916
2917        * autogen.sh: Redirect to the installed one for gnome 2.
2918
2919        * yelp.desktop.in: Desktop file.
2920
2921        * Makefile.am: Add a desktop file and intltool rule for it.
2922
29232001-12-01  Mikael Hallendal  <micke@codefactory.se>
2924
2925        * src/scrollkeeper-parser.c: path uri's as strings instead of
2926          GnomeVFSURI's
2927
2928        * src/yelp-window.c: likewise
2929
2930        * src/yelp-view.c: likewise
2931
2932        * src/yelp-toc.c: likewise
2933
2934        * src/yelp-index.c: likewise
2935
2936        * src/yelp-book.c: likewise
2937
2938        * src/yelp-base.c: likewise
2939
2940        * TODO: updated.
2941
2942        * src/yelp-window.c (yelp_window_populate):
2943        - removed the uri-entry
2944        - added a toolbar
2945
2946        * TODO: updated.
2947
2948        * src/scrollkeeper-parser.c:
2949        (sp_parse_toc_section): chomp the name (otherwise it contains a
2950        newline).
2951
29522001-11-30  Mikael Hallendal  <micke@codefactory.se>
2953
2954        * src/scrollkeeper-parser.c:
2955        Now handles TOC parsing, needs some fixing with the internal
2956        links.
2957        include yelp-book.h
2958        (sp_get_xml_tree_of_locale): removed
2959        (sp_parse_toc): renamed from sp_parse_doc_toc., implemented to now
2960          parse the toc.
2961        (sp_parse_toc_section): added, impl.
2962        (sp_parse_section): renamed from sp_tree_parse_section.
2963        (sp_parse_doc): renamed from sp_tree_parse_doc
2964        (sp_parse_doc_toc): added (not impl. yet).
2965        (sp_get_xml_docpath): added. Handles retrieving the xml doc path
2966         from a scrollkeeper-* output.
2967        (sp_get_xml_tree_of_locale): moved the
2968         scrollkeeper-get-content-list stuff to sp_get_xml_docpath. Now use
2969         it instead.
2970
2971        * src/main.c (main): don't run gtk_init, using gnome-program.
2972
2973        * src/scrollkeeper-parser.c: renamed internal functions to sp_ to
2974          get the names shorter.
2975
29762001-11-27  Richard Hult  <rhult@codefactory.se>
2977
2978        * src/scrollkeeper-parser.c: Include string.h to get rid of a
2979        warning.
2980
2981        * src/*.h: Fix build by including glib-object.h instead of
2982        gobject/gobject.h everywhere.
2983
29842001-11-16    <micke@codefactory.se>
2985
2986        * vfs-help-module: removed, included in platform now.
2987       
2988        * configure.in: don't build vfs-help-module, it's now in libgnome.
2989
2990        * Makefile.am (SUBDIRS): dito
2991
2992        * src/yelp-view.c (yelp_view_url_requested_cb): GNOME_VFS_PRIORITY
2993          fixed to work with resent changes in API.
2994        (yelp_view_open_uri): dito.
2995
29962001-10-29  Mikael Hallendal  <micke@codefactory.se>
2997
2998        * src/main.c (main): if argument is passed, pass that argument to
2999          yelp_window_open_uri.
3000
3001        * src/yelp-window.c (yelp_window_open_uri): added/impl.
3002
30032001-10-28  Mikael Hallendal  <micke@codefactory.se>
3004
3005        * src/yelp-window.c (yelp_window_uri_selected_cb): don't segfault
3006        if uri == NULL.
3007       
3008        * src/yelp-base.c (yelp_base_new): use the scrollkeeper parser
3009        instead of devhelp.
3010
3011        * src/scrollkeeper-parser.c:
3012        (scrollkeeper_parser_parse): call _trim_ with doc->xmlRootNode.
3013        (scrollkeeper_parser_trim_empty_branches): now actually works.
3014        (scrollkeeper_parser_parse_book): don't call ..._tree_empty. All
3015        empty branches has been removed.
3016        (scrollkeeper_parser_tree_parse_section): dito.
3017
3018        * src/yelp-book.c (yelp_book_section_new): accept uri == NULL and
3019        don't ref it, if it is.
3020        (yelp_book_add_section): accept uri == NULL.
3021
3022        * src/scrollkeeper-parser.c: started work on building index from
3023        Scrollkeeper.
3024
3025        * src/devhelp-parser.c (devhelp_parser_parse_book): use xmlChar
3026        instead of gchar.
3027
3028        * vfs-help-module/help-method.c
3029        (help_name_to_local_path): gnome_i18n_get_language_list returns
3030        const GList.
3031
30322001-10-27  Mikael Hallendal  <micke@codefactory.se>
3033
3034        * src/yelp-view.c (yelp_view_open_uri): set the document to show
3035          the beginning.
3036
3037        * src/Makefile.am:
3038        - Don't build ghelp-test.
3039        (yelp_SOURCES): don't include ghelp-uri.[ch].
3040
Note: See TracBrowser for help on using the repository browser.